HNHacker News
TopNewBestAskShowJobs

shadycuz

212 karma · joined April 25, 2018

submissionscomments
shadycuz··on Ubuntu Desktop 24.04 LTS: Noble Numbat
The container image for 24.04 is different from that of 22.04 and 20.04. The 24.04 container includes a "ubuntu" user with a UID of 1000, where the previous containers shipped with only a "root" user. The "ubuntu" user does not have sudo turned on by default.

This gave me issues with my vscode devcontainer setup. You can see my work around here https://github.com/DontShaveTheYak/cf2tf/pull/288/files

shadycuz··on Recording and visualising the 20k system calls it takes to "import seaborn"
I also wrote a somewhat similar tool. I call it deep-ast. It's pretty flexible in what it can track. I used it when refactoring some code in urllib3, to see what Exceptions could get raised along a given code path.

https://github.com/DontShaveTheYak/deep-ast

shadycuz··on 3D Printer Auto Bed Leveling Mesh Visualizer
Some 3d printers have automatic bed leveling. Which is a process where the printer will touch the print bed in many places with a probe. This allows the printer to detect peaks and valleys, which it can then compensate for. The website above allows you to visualize that data.
shadycuz··on Pipe Dreams: The life and times of Yahoo Pipes
Interesting, worked fine for me. Also using chrome on Pixel 7.
shadycuz··on The worst thing about Jenkins is that it works (2019)
I wasn't judging the tools. I use several of them and with 0 complaints.

I'm judging the article for being incorrect about it's specific points and for focusing on a single tool while the alternatives also suffer from the exact same issues.

shadycuz··on GPT-4 Can Almost Perfectly Handle Unnatural Scrambled Text
Did you look at the search results? I didn't see anything resembling the text in any of the search results. I don't think this lines comes from a famous literary source. Likely google just has logic to handle missing whitespace.
shadycuz··on The worst thing about Jenkins is that it works (2019)
> On a previous team I had used Concourse CI to some extent, but I wasn’t really blown away by the experience. Travis and Circle were mentioned. I was a fool. I should have committed to seriously researching some of the contenders and making a more informed decision, but I lacked the willpower and the discernment.

The whole post can be summed up as he had very little CICD experience. Made lots of beginner mistakes, which is easy to do in Jenkins. Then decided to write a post where all his complaints about Jenkins are not only wrong but are the issues that plague all the other CICD tools.

> So instead of writing Bash directly, you’re writing Bash inside Groovy

Why are you doing that? You have a fully featured programming language and you are running `sh('npm install')`. You could do this instead https://github.com/DontShaveTheYak/jenkins-std-lib/blob/mast... . How is bash inside of YAML better?

> The trouble is: Groovy is a much, much worse language for executing commands than Bash. Bash is interpreted, has a REPL that is great for experimentation, does require a ton of imports, and has lightweight syntax. Groovy has none of these things.

Groovy has a language server, linters and a vscode IDE plugins. They are probably not as stable or full featured as the bash ones, but they are available and very few take advantage of them. Again, how is YAML+Bash better?

> The way that developers test their Groovy steps is by triggering a job on the remote Jenkins server to run them. The feedback loop is 2 orders of magnitude slower than it is for just executing Bash locally.

This is a rookie mistake. For about 60-75% of pipelines you can run them locally in a docker container on your local machine. You can even set up hot code reload so as you change your pipeline the Jenkins reloads it. You can also configure the job to kick off a build when it reloads the code. When Jenkins is configured correctly it has the fastest feedback loop of any CICD tool on the market. GitHub actions comes in a close second since it can also be run locally but you cant run a "clone" of what you run in production, like having the same secrets, so it gets second place. Beside Jenkins and GitHub actions, I dont know of any solutions for the other tools.

You can run a GitHub action on Jenkins. It's a very deep and complex system. It's like an iceberg and so many engineers dont leave the surface before deciding it sucks and one of the YAML CICD tools is better. Sure the YAML alternatives are EASY to get started with and to do basic stuff with. But they are Terrible at anything complex. While Jenkins is not easy to get started with, once mastered, you can build complex pipelines with ease.

I get that I'm a Jenkins fanboy. Most of the things I mentioned above, I either contribute to or I'm the author of. I know Jenkins has issues. I know it has hurt lots of people, I read the complaints online. But it's still the best out there. The best software in the world is not written in bash or yaml and the same is true of the best CICD pipelines in the world. It's a shame very few people get to see/use those pipelines.

shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
Not sure. We have lambdas in this account, but not that have triggered in a several months.

I'm not sure if we use Private DNS. We have some custom resolvers and rules. I see now they are calling it network issues.

shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
yup, finally seeing it on my health page.
shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
Just for those following along. Even after I login, I still have 0 issues. I'm not sure how AWS determines when to hide a outage from a user.
shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
Thanks for the tip... that is mildly infuriating =/
shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
I'm seeing issues with SSHing into new ec2 instances and getting those new instances to reach apt to fetch packages. I'm using packer. My last successful build was 4 hours ago. This is in us-west-2. AWS service health dashboard doesn't show anything for me.

EDIT: Health dashboard shows all services as green, not that the dashboard is down.

shadycuz··on Tell HN: AWS outage in us-west-2 AND us-east-1
I feel ya, I use this now https://downdetector.com/status/aws-amazon-web-services/
shadycuz··on Cython and pyyaml is breaking many builds
I struggled with the name of the post, sorry =/

Edit: I had originally wanted to go with something more dramatic like "cython and pyyaml breaks the python ecosystem" but decided on something more realistic. I have never seen a issue get upvoted so fast. In 40mins it had 100+ upvotes. Thought the HN community would enjoy a shortcut to the problem and the work-around fix.

shadycuz··on Hundreds of millions of stars turned into a map of GitHub projects
I also experienced this looking up DontShaveTheYak
shadycuz··on Pulumi Insights – AI generated IaC programs
Yeah but ChatGPT can already write Terraform and Cloudformation really well. So this doesn't seem that special besides it's already baked into the pulumi eco system.
shadycuz··on “Inside-out Wankel” rotary engine delivers 5X the power of a diesel
The engine is the size of a push mower.

> XTS-210 is about the size of a basketball, weighs in at 19 kg (42 lb), and displaces 210 cc.

So you are talking about a 26HP lawn mower.

While the Camry might make more power at its normal size. It would not if you scaled it down to the size of a basketball. I'm guessing it would make 1-3HP at that size.

shadycuz··on Testing multiple Python versions with nox and pyenv
That has also been my experience, could you please elaborate on a solution?
shadycuz··on Podman 4.4
I got my simple docker files working with podman but my more advanced ones didn't. This was about 8 months ago. After running podman for about 2-3 weeks on my dev machine, I went back to docker.
shadycuz··on Breaking up with Python
I always recommend the hyper modern guide to python. https://medium.com/@cjolowicz/hypermodern-python-d44485d9d76...
shadycuz··on Binance freezes withdrawals of stablecoin USDC as investors pull $2B
Looking forward to the Matt Levine break down in his daily news letter. Only way I can understand most of these finance things.
shadycuz··on Python 3.12.0 is to remove long-deprecated items
I love pyenv but hate that it forces me to specify the patch version when installing python. Most of the time I wish I could just enter 3.9 and have it give me the latest.
shadycuz··on Ask HN: What are your “scratch own itch” projects?
DevOps tools https://github.com/DontShaveTheYak
shadycuz··on AWS doesn't make sense for scientific computing
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placemen...
shadycuz··on Goal: Pass all 4259065 tests in sqllogictest in 1 week
I'm interested as well.
shadycuz··on The anatomy of an ML-powered stock picking engine
I'm a self proclaimed world class DevOps engineer. Can I help contribute in order to get access to the model?
shadycuz··on Accidental complexity, essential complexity, and Kubernetes
I have been using Kubernetes for my side projects and personal home services for almost 5 years now. I only ever have 1 pod per service and I deploy pretty infrequently.

For me its because how much easier Kubernetes makes my life. I'm using digital ocean's managed kubernetes offering. This means I don't have to worry about the cluster. The OS and updates and all that are managed for me. Same thing with cluster scaling. I just keep adding or removing services and they make sure the cluster is right sized. Basically I just dont ever have to worry about infra.

The next nice thing is the community support. Do I want a load balancer/reverse proxy with auto certificate renewal? It's a simple install command away from running. How about a HA database? MFA? Block storage? It's like magic.

The third thing is that most services are going to have a pretty similar deployment/testing strategy. So when I want to stand up a new one. I can copy 2 or 3 files from another repo, do a find and replace on the App name and port number and deploy a new service with just one command. Again, its like magic.

While I dont use this feature, I like the fact that I know I can move my setup to anywhere I want. Move my cluster into my house? on another cloud provider? This would be really easy to lift and shift.

shadycuz··on Google Pixel 6 still freezes when calling Emergency Services
Oh, so that's why my Pixel 6 always thinks I'm 50 feet to the right of my current location.
shadycuz··on Cast iron leet
When I have really stubborn stuck items to my cast iron. I boil salt in it.
shadycuz··on Crimes with Python's pattern matching
Well to me the "gotcha" wasn't that you could control the match from the abstract class, it was all the silly things that you could do. Which for me was the point of the article. I mean the first palindrome example was pretty cool no?
Page 1 of 4Next →