News for hackers. Stuff that matters.

Klugistiono

Re:Chromebooks will get 10 years of automatic updates on Monday September 18, 2023 @04:56AM (#37553837)
Waldorf school have a nazi like base idea that you can evaluate people/kids based on their head forms (no joke)

Pls try not to support something like this :(

Re:Chromebooks will get 10 years of automatic updates on Thursday September 14, 2023 @02:13PM (#37512646)
ah yes of course why should a school teach kids not relevant knowledge like computer?

Perhaps to make sure that poor kids can never learn it or what is your logic behind this?

Re:We built the fastest CI in the world and it failed on Wednesday September 13, 2023 @06:12PM (#37502399)
I build enough pipelines in GitLab way to be able to tell you that GitHub Actions is much easier for me to implement.

Its much closer than if you would have a second system like jenkins, i already have access to git and the packages.

I do use much more container images than i did 6 or 10 years ago, that might have something to do with it but nonetheless, i do prefer GitHub Actions.

I also stoped liking GitLab though. The Autodevops was horrendes, the security issues is concerning and plenty of ideas or features are half done. this is also something which changed. I liked GitLab much more than i do now. But looking at the year, i haven't looked at GitLab for at least 2 years now.

Re:We built the fastest CI in the world and it failed on Wednesday September 13, 2023 @05:59PM (#37502302)
I introduced ArgoCD to a project with 20 teams and the acceptance from developers was very high.

What they had befor was a terraform based pipeline (i would argue similiar to a deploy.sh) and they struggled with those scripts hard.

ArgoCD with dex is easily integrated in your auth system and you don't need to write some scripts to handle issues like login errors, timeouts etc.

I have seen plenty of bash scripts which do exactly what they should do with 0 error handling and it was always a pain in the ass to analyse and fix those scripts.

Re:We built the fastest CI in the world and it failed on Wednesday September 13, 2023 @05:56PM (#37502268)
Very weird that you have such an strong opinion of having some self written deploy script over a argocd setup.

ArgoCD is super easy to setup, has a declarative setup and is a great platform tool.

I introduced it to big systems and i really can't imagine how we would struggle if we would deploy those infra components with some bash scripts.

Could you be more specific?

Like assume you have some monitoring stack (kube-stack or grafana etc.) and either as a helm chart or as something else: What do you do when a CRD needs to be replaced? You write it in your deploy.sh script through some bash magic? Handling error cases in there?

What do you do when you want to see what you have deployed? Like checking if your test setup is rolled back? You always use kubectl to check some helm values? Or do you always annotate all pods with git commits which you then c&p?

A basic ArgoCD declarative setup takes perhaps a few hours if you do it for the first time, than you can give teams access to namespaces, they have log access, exec access if you provide a platform that is, in my opinion, quite a big advantage over just letting them use kubectl. Most developers i know do struggle with kubectl.

And for my own infra ( i also even setup argocd at home ) the dev cycle is much faster for me.

What "crappy cloud architecture" problem are you talking about specificly argocd apparently solves?

How do you test components? Like we have a test cluster and everyone uses argocd to just switch to a dev branch for a few days while testing. This works really well and you can switch back to main in argocd. And due to Argocd App Def you can even see all apps out of sync due to testing.

Re:We built the fastest CI in the world and it failed on Tuesday September 12, 2023 @05:46PM (#37488937)
Most paralization is a junit configuration or parallel jobs. Which is super easy in Github Actions.
Re:We built the fastest CI in the world and it failed on Tuesday September 12, 2023 @05:44PM (#37488912)
Have you ever used ArgoCD?

No one EVER should run deploy.sh like how you propose it.

ArgoCD abstracts away access to a k8s cluster (login through dex).

It has strategies of how to deploy k8s resources like through retry, replace (which you would need to write manually in your deploy.sh).

It gives you debug output for your deploy process (yes thats a thing, you do not assume every deploy just works).

ArgoCD also can and should be used to reference secerts from secret store like vault.

And it gives you a history/audit.

Re:We built the fastest CI in the world and it failed on Tuesday September 12, 2023 @05:40PM (#37488848)
I'm quite passioned about CI/CD and working in this field for the last 7 years.

I'm keeping a close eye on jenkins, tekton, circleci, travis, github actions, gitlab etc. and never ever heard about earthly.

Btw. one thing the person doesn't get: Everyone wants to have fast and reliable builds but no one cares.

No one.

CI/CD Systems in a developers eye are blackboxes. They don't care.

And its already a solved problem somehow. I was waiting for Jenkins X to happen (something like jenkins working nicely in a cloud native way because Jenkins Plugins!) but that didn't happen.

What happend instead is Github Actions. Holy shit are Github Actions good. Srsly.

GitLab stuff was slow and effort. GitHub Actions just do what they should do 99% of the time.

If you do not have a huge build, you will not care about your CI/CD System and everyone who has real build issues, has to solve it by another strategy than just switching the build system.

Re:iPhone 15 and iPhone 15 Plus on Tuesday September 12, 2023 @05:31PM (#37488724)
Laptops (Work MacBook and a Thinkpad) and i do not use the magic thingy for charging. My phone and my switch. And i used those things on travels surprisingly often.

Do you use lightning for charging your phone when traveling and mag save for your macbook?

Re:iPhone 15 and iPhone 15 Plus on Tuesday September 12, 2023 @05:26PM (#37488664)
Doesn't really matter. I would even argue that its more environmentally friendly to switch expensive phones more often.

(of course just a thought but!)

IF people can buy a cheap phone or an expensive but older phone, the older phone still works often better than a new cheap phone. So when he 'upgrades' the old phone gets reused and saves one cheap phone.

Re:After 118 days, GPT Unicorn has produced a unicorn on Thursday August 10, 2023 @07:38AM (#37074817)
The 'random noise' from a prompt "Draw a unicorn in svg" should still return Unicorns.

This is absolutly fine and it should start showing unicorn like drawings over a longer period and potentially finetuned ones over a longer period of time when the model changes.