HNHacker News
TopNewBestAskShowJobs

dpc_01234

542 karma · joined March 24, 2023

submissionscomments
dpc_01234··on Navigating a Broken Dev Culture
I think you confuse "good" with "trendy", as the list of things you want is a bit of a mixed bag.

Testing is almost unquestionably a benefit (at least to a point) and is something that can be introduced with minimum initial investments and right away gives big benefits. I'd start with that for low effort, big impact.

Then CI (but not CD) is like that too. Just have the test executed on every commit/PR to gain some confidence.

CD requires a whole culture around it, and not everything fits into this culture.

There's really nothing wrong with deploying stuff via SSH. It's not most fashionable, but if done via script and works, it's OK. No need to fight it.

Docker can be great, but people often shove it where it is not needed. E.g. if I was deploying Java (standardized VM) or Go (static bin), I might not bother. It really was invented for Python, where it is impossible to get the Python app running on anything but the developer's computer.

k8s ... mixed bag. Hefty price in complexity, for some benefits that are sometimes important, sometimes not.

dpc_01234··on Elon Musk's DOGE team may need a crash course in COBOL
> To be fair, usage has likely dropped commensurate with staffing!

The profit, which is what actually matters is up.

> I'm not sure a few 19 year olds are going to do better than this organization. It's hard work.

The problem was never technical. Ever tried to get stuff done in a bloated corporation full of incompetent people that just want to keep their jobs and don't want you to expose how relatively incompetent they are, especially the management? Things that a competent engineer in a startup could do in a day, are impossible to do. And in a government it's probably 1000-fold so.

Dumping some data from legacy system to a modern one is not a problem. The problem is firing people that can't deal with change. "You don't know what you're doing. Everything is sooo complex. You're going to break it. I've been doing it for 50 years, I know what's right."

dpc_01234··on Elon Musk's DOGE team may need a crash course in COBOL
"Massive", "behemoths". The same words you'll hear when you ask a man about their manhood, or their biggest catch. First hand source, so must be true.

I also trust government workers to give fair representation of their work. And what you SWE write on their resumes or what OKRs when filling time to justify paycheck. :D

They're a couple of database "tables" and formulas, what else they would supposed to be, think about it. They might be archaic, they might gnarly, limited etc. but they are no match for a modern next.js with react, in a docker container on a VM, running in a AWS datacenter, managed by Terraform, yadaydayda...

dpc_01234··on Elon Musk's DOGE team may need a crash course in COBOL
As someone that actually wrote some assembly, including graphics in the 90s, I assure you that these games were waaaaay simpler than anything modern, also by necessity.
dpc_01234··on Elon Musk's DOGE team may need a crash course in COBOL
> In 2024, X (formerly Twitter) reported profits of $1.25 billion, which is about double its highest previous profit of $682 million in 2021.

People believing what they want to belive.

Not to mention that you talk about revenue and users, because it's hard to deny that technically Twitter is still working just fine, and now even has some new features, while in the past they were coasting tweaking their html for years.

On this very websites, all the "experts" in the industry were bidding how quickly Twitter will collapse after Musk fired all these "irreplaceable" people. Same ones that after 15 year still don't understand how Bitcoin works, or how it can have beneficial impact on the energy market.

dpc_01234··on Is NixOS truly reproducible?
At this point almost all major package managers try to not introduce any non-reproducibility, so it comes down to package itself building deterministically. Nix just have an architectural sandboxing and isolation that enforces is maybe a bit better. But the moment e.g. ArchLinux devs fix determinism and upstream it in certain package, it will become deterministic in NixOS and others, and vice versa, so there is not going to be a lot of differences between distros at this point. Everyone agrees that deterministic builds are a good thing.
dpc_01234··on You Don't Need a Terminal Multiplexer on Your Desktop
Arrogant and pointless? You want to use a GUI, go for it.

To me, just because most of my workflow doesn't need to change irrespective if I'm working locally or via ssh, is already making terminal multiplexer a win.

Also, there's something to be said about terminal just being a more productive way to work with computers. The constrains that a terminal puts on software used in it, make the individual pieces compose with each other way better, precisely because text composes better than graphic interfaces. (That's why "visual programming" will always suck.)

My workflow for decades now is entirely terminal with terminal multiplexer and a browser window. The graphical interface works better for exploratory work when I'm mostly navigating and consuming information, like clicking around the web, the textual interface works better for actual precise control and interaction with software. The "GUI" for me is just for changing if my browser/terminal are displayed side by side or maximized and switching between them.

dpc_01234··on The state of Rust trying to catch up with Ada [video]
BTW. What's the best way to go over/keep track of all available FOSDEM talks videos?
dpc_01234··on Common mistakes in architecture diagrams (2020)
I keep seeing such diagram, keep people making and presenting them, and I'm not sure if it's just me or they are generally counterproductive?

Let's the take one from #5 in the article. If someone instead of painting this diagram wrote: "Drupal Load Balancer inside Drupal VPC load-balances traffic between Drupal Instances inside two Availability Zones: AZ1 and AZ2" it's way faster to read, more precise, and leaves me without a doubt that I misunderstood or missed some detail.

It's even worse on more complex and busy diagrams. Takes me a while to just visually parse everything, figure out relations between elements, arrows, and even after I scan everything I'm not sure if I understood everything.

On top of it, just creating and later maintaining them is such a hassle, comparing to just editing text.

dpc_01234··on Zig; what I think after months of using it
Shadowing is a feature. It's very common that given value transforms its shape and previous versions become irrelevant. Keeping old versions under different names would be just confusing. With type system there is no room for accidental misuse. I write Rust professionally for > 2 years, and years before that I was using it my own projects. I don't think shadowing ever backfired on me, while being very ergonomic.
dpc_01234··on No-Panic Rust: A Nice Technique for Systems Programming
https://doc.rust-lang.org/book/ch09-01-unrecoverable-errors-...

``` [profile.release] panic = 'abort' ```

dpc_01234··on Rust: Investigating an Out of Memory Error
Yeap, just recently discovered that pretty much any long living app in Rust should switch jemalloc for this reason.
dpc_01234··on Nation-scale Matrix deployments will fail using the community version of Synapse
I don't see a problem with that.

A lot of FOSS users conflate freedom with "I get free shit in perpetuity forever" and then whine when they see something that they don't get for free, even if nothing was taken away from them.

Best wishes to the Matrix project.

dpc_01234··on Milei shuts down museums memorializing victims of Argentine dictatorship
World Socialist Web Site? :D

> In a warning to workers internationally, since the fascist Milei’s government (...)

:D

:D

:D

dpc_01234··on How rqlite is tested
It's very common mistake in SWE to generalize and extrapolate from own situation.

The way things to do things is very dependent on the project. They way one maintain, debug, test e.g. a math library vs embedded sw vs a video game vs a database vs a enterprise app vs a service in a distributed system are all just different.

Almost all advice should be qualified by "in this domain, one this type of project ...".

dpc_01234··on Why is C the safest language? [pdf]
SWE version of Flat Earth theory.
dpc_01234··on The Future of Htmx
If you haven't started your dev journey with React or some other framework like it, you actually know for a fact that they are not necessary an probably an overkill for a lot of web apps. Websites were built with interactivity, were lighter and worked better, before the dawn of slop-assisted SPAs and developers who don't even know how the browser and hypermedia actually works.
dpc_01234··on Property-Based Testing for the People
Would be very valuable if someone could write a summary of novel ideas for practitioners (if there are any).
dpc_01234··on 87.4% of population experienced a decline in freedom from 2020 to 2022
People didn't switch because of stability problems with gold standard. That's just propaganda and fiat apologetics. As a matter of fact gold standard seen fastest and most stable growth in the history of human kind. Gold is hard to transport, secure and divide so ledgers were used instead which allowed government to just end goal standards to fund WW1 efforts, which also shows the magnitude of destruction and statist largese this enabled.

I recommend Broken Money for history and analysis how it came to be that things are how they are.

dpc_01234··on CLI tool to insert spacers when command output stops
Next level: Make it a wrapper `spacers ... cmd ...`. This way you can allocate PTY, and make the app believe it is still talking to the terminal and the use colors and alter its output in more fancy ways.

BTW. Somewhat similiar (better sometimes) result can be achieved simply with:

(echo "first"; sleep 1; echo "second"; sleep 0.5; echo "third") | ts -i "%.S"

00.000004 first

00.987787 second

00.501363 third

dpc_01234··on Error Stacking in Rust
Probably also worth mentioning: https://crates.io/crates/error-stack
dpc_01234··on A Single Pudgy Penguins NFT Now Costs More Than a Bitcoin
On the blockchain nobody knows you have "sold" an NFT to your own self.
dpc_01234··on Egoless Engineering
First, I have no idea if he's a "utter egotistical asshole". Never met the guy, and I assume that most people hating on him formed opinion of him by consuming heavily negatively biased sources.

However, I assume he is some type of an "asshole". And "he'd be even more successful" if he wasn't is just very wrong, IMO. From my experience the top of any organization is completely overrun by assholes. Some smart, some dumb, some more moral, some less, but generally assholes. Being an asshole is selected for in hierarchical organizations and simply required. Part of the reason why leftists dream about some socialist utopia, when attempted in practice is ruined by some asshole(s) taking over power and turning the social utopia into totalitarian distopia.

dpc_01234··on Egoless Engineering
Lean and focused execution, quick iteration, over promise and under deliver (yes, in business it pays as much as engineers hate it), most people are actually a drag to productivity. Specifically with Twitter he drastically cut the head count and cost and all the people swearing how irreplaceable people being fired were and his Twitter is going to collapse any minute now were all wrong.

Unlike most people praising the idea of egoless I don't need to like the guy to learn from him.

dpc_01234··on Egoless Engineering
It has nothing to do with the rest of generally good article. It's just a forced personal stab at disliked public figure. Ironically quite the opposite of egoless. Your politics are a big chunk of your ego. If you can't leave them aside and when dealing with technical stuff, then it's very much egocentric. Which surprise surprise is typically the case.
dpc_01234··on Egoless Engineering
Microsoft was doing all sorts of immoral anti-competitive stuff, and trying to strife free and open source movements to protect their monopoly. They deserved the hate. They came around and complaining about them mostly stopped.
dpc_01234··on Egoless Engineering
The stab at Musk seems out of place. You might not like him, or his politics, but he took over and reformed a slow and bloated place, and despite all the doomsayers Twitter is still working and IMO better than before. And he has a solid track record of delivering: finance app, electric cars, rockets. Sure he over-promises and under-delivers, sometimes borderline lies, etc. but there is a huge amount of wisdom behind what he's doing, and you're doing yourself a huge disservice by just dismissing one of the most successful technical entrepreneur of our times.
dpc_01234··on Every board game rulebook is awful [pdf]
TL;DR? Seems interesting and worth keeping in mind for other types of documentation.
dpc_01234··on The PGP Problem (2019)
Give me hardware device that supports the stuff that yubikey's gpg support can do, and I'll switch. Please! I want to switch.
dpc_01234··on Man arrested for attempting to destroy Nashville power site
Encouraging someone to commit a crime seems quite immoral to me. Somehow the government always find a way to justify their immoral behavior, and I don't buy it.
← PreviousPage 5 of 8Next →