HNHacker News
TopNewBestAskShowJobs

hwc

240 karma · joined June 7, 2013

submissionscomments
hwc··on Making memcpy(NULL, NULL, 0) well-defined
Well, that seems like something that should have been there from the beginning .
hwc··on AI company that made robots for children went bust and now the robots are dying
if they owe debt, they may not be legally able to open source their software, since it could still theoretically be sold to someone to pay off debts. is there an expert in bankruptcy law that knows for sure?
hwc··on AI Company That Made Robots for Children Went Bust and Now the Robots Are Dying
yeah, be aware that many things you buy today depend on some cloud service that may go away.

for example, a computer system that routinely checks for updates will hopefully still function if the update server goes away. and you can always install another operating system.

since I listen to most music via a streaming service these days, I don't consider the music owned and don't mind moving to another service (which I have gone twice, losing playlists in the process).

the worst is "digital copies" of movies. I try not to buy these, but occasionally do. I'm pretty sure that Blu-rays I buy today will work until the media degrades, but have no such confidence in digital copies.

hwc··on Debian opens a can of username worms
Or someone got tired of typing long paths.
hwc··on Debian opens a can of username worms
My work machine uses my complete email address as a user machine (this was a done by someone in the IT department). Vim gets confused when I use the `gf` command to open a path that contains an '@' character in it.
hwc··on Next stop: Miami
Also, contracting out the menial labor makes Waymo's labor practices look much better. They can tell their engineers that all employees make a living wage and get excellent health insurance.

When the actual labor is done by part-timers with no health insurance making not much over minimum wage.

hwc··on Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node
I did a little work on a C API for Skia a long time ago. We didn't have a good use case at the time, so the project was dropped.
hwc··on What's New in POSIX 2024
Now do that with all whitespace!
hwc··on In the US, regenerative farming practices require unlearning past advice
instead of mining rocks thousands of miles away, crushing them, and then spreading the result in your fields, convince local fungi to do all that work locally!
hwc··on Show HN: Chebyshev approximation calculator
Chebyshev is black magic, and I say that even having seen the derivation in a graduate-level course.
hwc··on Brazil blocks Starlink bank accounts
that's the idea of "limited liability". it has a lot of downsides in practice.
hwc··on Google Pixel 9 Pro
I still can't justify spending more than about $500 on a phone when the perfectly good Pixel 8a is available.

I'm still using my Pixel 6a and will probably continue until it fails or the battery life gets really bad.

hwc··on I have no constructor, and I must initialize
I'm so glad I use Go more than C++ these days. In Go, all values are always zero-initialized if you don't explicitly assign a value. If you need a constructor, you write a regular function that returns an explicitly assigned object.

I like keeping the rules of the language simple enough that there is never any confusion.

hwc··on Rotation curves: still flat after a million light-years
it _does_ mess it up, but near the gravitational source, not way out like the problems with the galactic gravity.
hwc··on Rotation curves: still flat after a million light-years
that is very surprising.
hwc··on We just broke ground on America's first next-gen nuclear facility
liquid sodium is worse than that. it will suck the water out of concrete and react violently.
hwc··on Apple unveils 'Passwords' manager app at WWDC 2024
I've been using Bitwarden for a few years. It seems to do everything I need, and is cross-platform.

I have a soft spot in my heart for `pass` (http://www.passwordstore.org/), but it's a pain to access it from my phone.

hwc··on Super Heavy has splashed down in The Gulf of Mexico
This looks like one of the earlier prototype ships, when they were still working out the tile geometry, but still also wanted to do a dry run of stacking it.
hwc··on Why No Roman Industrial Revolution? (2022)
I always wondered how far technology can go without advanced metallurgy. Clearly steam engines require good metallurgy, but the spinning jenny and the flying shuttle don't, do they? How much would those advances have changed the Roman world?
hwc··on The Pen Hospital in Kolkata will nurse your broken fountain pen back
I would love a class on taking care of my fountain pens. Maybe I'll find something on YouTube.
hwc··on Harvard University removes human skin binding from book
the book itself was re-bound.
hwc··on Why are most sofas so bad?
I would rather have a hardwood bench with good thick cushions tied on. Then instead of reupholstering, you just replace the cushions.
hwc··on Tesla FSD Timeline
I would like to see Mr Musk removed from decision-making positions at Tesla and SpaceX. He is making both companies, which have much to be proud of, look bad.

If he wants to kill Twitter, that's fine by me. I prefer a more decentralized internet anyway.

hwc··on The worst thing about Jenkins is that it works (2019)
I agree with most of this. I end up with a lot of

      sh 'make all'
      sh 'make test'
In my `Jenkinsfile`, but there's not a great way to test things locally.
hwc··on An ex-Googler's guide to dev tools (2020)
> "Read code ..... Your editor"

For reading code, I tend to use `highlight -O xterm256 "$1"|less -R` or `source-highlight -f esc -o STDOUT -i "$1"|less -R` in a shell function.

hwc··on test, [, and [[ (2020)

    if [ a = b ] || grep -q ^hello$ /usr/share/dict/words; then
      echo "test failed and grep succeeded"
    fi
> “You pick whether to be amused or horrified. I don’t know how exactly my coworker reacted when I hinted at this during a recent code review I did for them.”

Isn't that normal everyday shell use?

hwc··on HTML First
I agree.

I also really like writing software that builds HTML to be served as a static page. E.g. https://gist.github.com/HalCanary/61276afbab042e204e54268f6a... Then that complexity is hidden from the client.

hwc··on How to legally pirate every font
if the nocopy flag is set on a font, Chrome will not embed that font into a PDF when you do "print to PDF". instead, the shapes are used to create a type3 font. This is a way the author can get the vector shape of the glyphs without touching the TTF files.

(or that was true back when I worked on that code, two jobs back!)

hwc··on ZeroMQ – Relicense from LGPL3 and exceptions to MPL 2.0
Could one have a kind of CLA where a contributor licenses their work under ANY license that meets the open source definition?
hwc··on One Revolution per Minute [video]
or capture a small comet!
← PreviousPage 2 of 5Next →