HNHacker News
TopNewBestAskShowJobs

numeromancer

1,217 karma · joined November 6, 2009

submissionscomments
numeromancer··on Xmake: A cross-platform build utility based on Lua
That's what I meant: the first you can do, the second, not.
numeromancer··on Xmake: A cross-platform build utility based on Lua
I think the creators did it a disservice to xmake when they tried to unluaize the syntax. You can also do:

    target("foo", {
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    })
which suits Lua better. Unfortunately you cannot do

    target {
      name = "foo",
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    }
which would be the lua-est lua of all.
numeromancer··on Dead Internet Theory
"photos of giants that built the pyramids in Egypt, all the way to short videos of pretty girls saying that the EU is bad for Poland."

Those sound funny; why would they make you sad?

numeromancer··on Ask HN: What projects do you donate to?
I focus on peer-to-peer services, as I think it is the most important focus for free software:

- Radicle - IPFS - torrents and magnet links - i2p - syncthing - PeerTube/ActivityPub

&al

numeromancer··on Ask HN: Who is hiring? (May 2025)
"allows them to have more resources to invest in patient care" LOL
numeromancer··on I create buildings from mushroom components
PW;DR: Pay-Walled; Didn't Read. But...

Will this be the stuff of the housing of tomorrowind?

numeromancer··on Long division verified via Hoare logic
> will likely not be a major boost for software productivity

You can make plastic knives much faster and cheaper than metal ones. Production!

numeromancer··on Nvidia Security Team: “What if we just stopped using C?” (2022)
It failed to catch on outside the defense industry because that is where is started. It was long sneered at as a "language designed by committee".

In one programming class, in college, we used a text-book called "Oh my, Modula 3!". On the back they explained the title, saying "better 'Oh my, Modula 3!' than 'Oh no, Ada!'".

numeromancer··on Markdown's Big Brother: Say Hello to AsciiDoc
ASCII makes up 90% of all digital text; UTF-8 makes up the other 90%.
numeromancer··on Understanding Memory Management, Part 1: C
Just no.

    address = X
    length = *X
    address = address + 1
    while length > 0 {
        address = address + 1
        print *address
    }
numeromancer··on Janet for Mortals (2023)
I am not waiting for Janet for Ethereals. Once it ships, it will always have been available.
numeromancer··on C Until It Is No Longer C
No.
numeromancer··on A book Stanley Kubrick didn’t want anyone to read is being published
Stanley Kubrick was one of that kind of people who cannot take criticism of anything they do.
numeromancer··on Ask HN: What nonfiction books do you keep rereading?
The Abolition of Man - C. S. Lewis

All Things Considered - G. K. Chesterton

Some others I daren't mention.

Category Theory for Programmers - Bartosz Milewski

The Design of Relational Databases - Heikki Mannila, Kari-Jouko Raiha

numeromancer··on VC Says Half of Google Staff Do 'No Real Work'
Whenever you extrapolate the "corporate vision" of these VC pontificators, you see a company all of whose revenue goes to investor share-grabbers, and whose projects are all funded by employees who are paid nothing.
numeromancer··on The NSA is just days away from taking over the internet
The Deep State treats human rights as damage, and routes around it.
numeromancer··on Gerbil Scheme – A Lisp for the 21st Century
I think we'll be led by a programmer from another language who comes and unites the tribes against the languages that now dominate, a voice from the outer world. The "Lispan al-Gaib", if you will.
numeromancer··on How do lava lamps help with Internet encryption?
Is this a trial run for an April 1 article?
numeromancer··on A quantitative test of Diamond’s axis of orientation hypothesis
A detailed criticism of Diamond's hypothesis:

https://www.youtube.com/watch?v=dFECyeihuZY

numeromancer··on Command line interface guidelines (2021)
We ran so much faster when we didn't have to run with shoes on.
numeromancer··on Command line interface guidelines (2021)
> Any invocation of an external program can fail for a variety of reasons, and the shell doesn't provide adequate mechanisms for dealing with it, apart from exit codes and filtering error text output.

True, handling multiple sub-processes is difficult in most Unix shells. This is a function where Powershell could have done so much better, but didn't. It is somewhat better than bash&co, but could have been much more so. Python does it much better than Powershell does.

numeromancer··on Two File Descriptors for Sockets
He built several utilities for doing what is described here.

https://cr.yp.to/ucspi-tcp.html

These are great for duct-taping connections. I created a whole suite of utilities for another programs for uploading firmware updates. I was able to create one program for handling the uploads with several different comms protocols and devices, without having to handle details of tcp connections, serial connections, UDP, etc. socat is another great tool for this.

numeromancer··on Battery-free self-powered sensor harvests magnetic energy
This company creates sensors for monitoring power-grid lines which are powered from line induction:

https://www.gridsentry.us/

numeromancer··on Today Is One of the Biggest Surveillance Votes. Will the FBI Stop Spying?
Worsidge's headline:

"Can this headline be answered by the word 'no'?"

numeromancer··on Setenv Is Not Thread Safe and C Doesn't Want to Fix It
The text implies that any second call to getenv invalidates the returned value of any prior call to getenv; even without threads, without calling setenv, a second call to the function invalidates the return from an earlier call. I re-affirm my conclusion, without qualification: BROKEN.
numeromancer··on Setenv Is Not Thread Safe and C Doesn't Want to Fix It
It says more than that:

"The returned string pointer might be invalidated or the string content might be overwritten by a subsequent call to getenv()"

You don't even need threads for this to be unsafe; another call to the same function may invalidate earlier-gotten pointers. I don't see how to interpret this as anything but broken.

numeromancer··on Good times create weak men (2019)
I wonder if anyone has done a study of the relation of market share to software quality. It seems as though there is an inflection point of the market share measure above which software quality declines significantly because the fear of being outdone is diminished.
numeromancer··on Movie piracy is strongly linked to box office revenue
Or, perhaps, piracy measurement is link to box office revenue.
numeromancer··on What if OpenDocument used SQLite? (2014)
How much work does it take to go from an engine that can read standard XML to one that can read an ODT document's XML and do something useful with it? At what point of complexity does that engine create a de facto standard?
numeromancer··on Petition to stop France from forcing browsers like Firefox to censor websites
This is far too possible to be funny.
Page 1 of 9Next →