HNHacker News
TopNewBestAskShowJobs

docandrew

1,512 karma · joined October 24, 2017

submissionscomments
docandrew··on Legalizing sports gambling was a mistake
The tax stuff is total bullshit. If it wasn’t the schools in Las Vegas would be the best in the country and the teachers there would be the best paid. They aren’t by a long shot.
docandrew··on Eliminating Memory Safety Vulnerabilities at the Source
It’s possible to write unsafe code in either but it’s also much easier to write safe code in both Pascal and Ada than C/C++. And it’s easier to write safe code in C++ than C. Memory safety exists in a spectrum, it’s not all or nothing.
docandrew··on On finishing projects
I needed this. I have so many half-finished projects, it’s nice to think that there’s still a way to make them valuable in some way.
docandrew··on Types as Interfaces
With SPARK mode you can check them at compile-time with provers and elide the runtime checks. You can do _very_ sophisticated type predicates this way.
docandrew··on Using S3 as a Container Registry
Java?
docandrew··on Metal thieves in America's cities
When they put hidden cameras inside packages to catch porch pirates, plenty of thieves have a decent apartment, big screen TV. They’re not stealing groceries, they’re stealing things to fence.
docandrew··on Bare metal can come back, says Gartner, citing VMware prices
The advantage to virtualization is having an API that can be used to spin up new k8s nodes. Bare metal provisioning is still a mess of PXE, badly-supported firmware, finicky DHCP and network settings and poor tooling. Server vendors could do a lot better here IMO.
docandrew··on The Windows Console gets support for Sixel images
There are some fun things you can do with it like terminal image viewing, etc. The notcurses library uses it, some of their demo videos are really neat.
docandrew··on Why "Structure and Interpretation of Computer Programs" matters (2011)
CPUs are imperative.
docandrew··on Is there ever a good reason to disable swap?
Yup, first-class support has been coming: https://kubernetes.io/blog/2023/08/24/swap-linux-beta/
docandrew··on Is there ever a good reason to disable swap?
Disabling swap is recommended on k8s nodes, since the idea there is to schedule workloads to use up the actual RAM/CPU of the box.
docandrew··on Serious Sam handled massive amounts of enemies on 56k modem connections
Serious Sam was such a fun game - this was a really interesting write up too. I wish this kind of dedication to low latency and efficiency was more widespread.
docandrew··on Nvidia CEO Jensen Huang: "I discourage 1-on-1s"
Nvidia didn’t start there - they took down a lot of established competitors in the GPU space, and a lot of other big companies are gunning for their position. I’d say their business operations and leadership are definitely worth studying.
docandrew··on The most talented person in the world
It’s always hallucinating… but sometimes the hallucinations are of things that actually happened.
docandrew··on Using ARG in a Dockerfile – beware the gotcha
My team is also in the process of refactoring a number of shell script CI pipelines into Go. With `go run` it might as well be interpreted, from a UX standpoint it’s as easy to call as a shell script but with the benefit of static types and a robust ecosystem of supporting libraries and not having to sed/awk your way through command output.
docandrew··on A leadership crisis in the Nix community
You could make the reverse argument - that the conference organizers think what defense contractors are doing is purely bad and could in no way be thought of as being good. Ultimately it’s up to _us_ (proxied through our elected officials) to use software tools for good or bad purposes, the creation of a tool in itself isn’t the problem. I think most defense contractors are keenly aware of the implications of their work.
docandrew··on What if null was an Object in Java?
I proposed something similar for D a long time ago, I didn’t realize though that there was prior art there with Smalltalk!
docandrew··on When teaching computer architecture, why are universities using obscure CPUs?
We do - Ada!
docandrew··on How to actually use the notes you take
I’m a prodigious note-taker with pen and paper, and have made peace with the idea that I’ll never reference 99% of the notes I write. Same with webpages I bookmark for later. But for me, just the act of writing helps me to stay more focused on whatever or whoever I’m reading/watching/listening to. If it’s something that I may actually need again (usually a code snippet or command flags) then it goes in a Markdown file.
docandrew··on Man pleads guilty to genetically engineering giant hybrid sheep
I read the article, I still think it’s overly harsh punishment.
docandrew··on Man pleads guilty to genetically engineering giant hybrid sheep
I was kinda wondering the same thing. I guess importing non-native species can be bad, but cross-breeding is something we’ve done for millenia. Seems like his real crime was doing this while not being an employee of Monsanto.
docandrew··on Intel Continues Prepping the Linux Kernel for X86S
Hopefully this comes to fruition (with AMD on board too). I wonder if it might spur some more hobbyist OS research.
docandrew··on Single dose of LSD provides immediate and lasting relief from anxiety, study say
I think that’s the GP’s point though. 70 years from now are we going to look back on these studies and think “what the heck were we thinking?”
docandrew··on Single dose of LSD provides immediate and lasting relief from anxiety, study say
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1933933/?page=1
docandrew··on GoboLinux
I seem to recall that Gobo turned on case-insensitive shell tab-completions by default so in practice it was a non-issue.
docandrew··on GoboLinux
I ran Gobo for a while and really enjoyed some of their ideas. It was started by Hisham Muhammad, the author of htop.

It’s a shame that it didn’t get more traction. We probably wouldn’t have needed Docker or any of the gazillion package managers that are proliferating today if it had.

docandrew··on DMD Compiler as a Library: A Call to Arms
Given how fast the D compiler is, this might be a nice alternative to something like LuaJIT for an embedded scripting language in other apps.
docandrew··on Google to pause Gemini image generation of people after issues
It’s not untrustworthy because it’s offensive, it’s offensive because it’s untrustworthy. If people think that Google is trying to rewrite history or hide “misinformation” or enforce censorship to appease actual or perceived powers, they’re going to go elsewhere.
docandrew··on Nvidia is now more valuable than Amazon and Google
Have they actually engaged in anticompetitive behavior or are they just the only player?
docandrew··on DJGPP
Is it easier now? Back then you could learn C++ in 21 days, nowadays it takes years and years and you’re still just scratching the surface. :)
← PreviousPage 2 of 9Next →