HNHacker News
TopNewBestAskShowJobs

humanrebar

12,138 karma · joined February 8, 2013

submissionscomments
humanrebar··on What will enter the public domain in 2024?
I always thought it would be establishing "Willie" as precisely a trademark to invoke that side of IP law.
humanrebar··on D Programming Language
Rust is loved and has momentum. I'm not sure it's universally adopted by pragmatists, partly because it requires replacing pip, Maven, node, yum, or whatnot with cargo.

Cargo is great if you're starting from nothing, but it's not very pragmatic to ignore all your existing code and experience and form another ecosystem within your organization. There's probably a limit to how many code ecosystems you want in your org, even in large and well-funded ones.

humanrebar··on "Useless Ruby sugar": Endless (one-line) methods
Counterpoint: if you want tools to help you edit your code, like linters that supply fixes or smarter autocomplete tools, you need algorithmic code formatting.

You can't code taste into every tool that might want to help you edit your source code.

That being said, almost all formatters have ways to tell them to go away in especially important stretches of code, with the tradeoff being ugly generated code fixups for that need hand massaging every time.

humanrebar··on Compiler Options Hardening Guide for C and C++
The deprecated attribute is useless when -Werror and -Wall are both on. You can't land the attribute if any uses exist because any use is now a compiler error. You might as well just delete the entity and sort things out from there.
humanrebar··on Rust without crates.io
...except pip/npm often build C or C++ while packages install, at least in some cases.

And Rust has the same issues, at least when shipping or consuming libraries with C APIs is in the picture.

humanrebar··on A C Compiler that fits in the 512 byte boot sector of an x86 machine
Agreed. It's a cool project, but it's a compiler for a DSL that is a subset of C.
humanrebar··on Home schooling's rise from fringe to fastest-growing form of education
For what it's worth my bar is higher. Can we expect every teacher to design a top-tier curriculum independently?

Or, in other words, do we need hundreds of thousands of curricula? Doesn't that leave a lot of by definition below average curricula. Would selecting among even dozens of well-designed options make sense instead?

humanrebar··on Home schooling's rise from fringe to fastest-growing form of education
Lots of adults have underachieving coworkers, have no say in the matter, and have to figure out how to deal with that both professionally and emotionally.
humanrebar··on Home schooling's rise from fringe to fastest-growing form of education
> It's also unsteady ground, as the Bible should be study as literature as well as religious tome, but that can lead to kids thinking about the humans who wrote the bible and what rhetorical outcome they were reaching towards.

This is where public schooling is hypocritical. There are various forms of education about race, gender, etc., but almost no mandatory education on religion?

I'm not saying indoctrination, but education. Shouldn't everyone have a basic understanding of the history and tenets of Buddhism? Atheism? Hinduism? And so on? I think so. Even if the prism of importance is postmodern and focuses on respect fo others' self-identification, religion is clearly a major aspect in self-identification or we wouldn't treat the subject as controversial.

humanrebar··on Home schooling's rise from fringe to fastest-growing form of education
Nothing about Evolution disproves Adam and Eve. If an all powerful person is in the story, it's a theological and metaphysical question how Evolution and Creation fit together.

It's also kind of a boring question because there's no experiment we could run to explain how creation miracles worked. It's definitely a fountain of controversy, though.

humanrebar··on Ask HN: PG's 'Do Things That Don't Scale' manual examples?
Maybe we need to agree to disagree, but I find dishonesty scummy. And I would find invented discussions less engaging.
humanrebar··on Americans' confidence in technology firms has dropped
But Trump is still the frontrunner for the Republican nomination, and he is clearly not a small government conservative or libertarian.
humanrebar··on Americans' confidence in technology firms has dropped
I'm not sure the right wing is all that libertarian and small government these days. It all seems pretty team red versus team blue with plenty of dog whistling all around. But not many principles.
humanrebar··on The Problem with Jon Stewart cancellation highlights a problem for Apple content
In that reality, what is the real life analog of TTY logic? What about whitespace escaping?

Point being, the Unix philosophy has its own issues, especially around the foundations of how it all glues together.

humanrebar··on The Problem with Jon Stewart cancellation highlights a problem for Apple content
I don't like blaming people for taking a chance on someone or something. Especially if the stakes are as low as a cancelled show.

So I guess both Stewart and Apple get some credit there. But Apple isn't making it clear who is deciding Stewart crossed a line and how that happened. Maybe it's a government? Maybe it's an exec? I can fault them for that.

humanrebar··on Amazon to managers: You can now sack employees who won't come 3 times a week
Yeah, Anderson over in Accounts has the same concerns but seemed to make the new arrangement work without missing our Q1 KPIs.
humanrebar··on Amazon to managers: You can now sack employees who won't come 3 times a week
There's no real way to measure productivity to start with. There's no logic underpinning any of this. It's all instinct and bias, and nobody want to say that out loud.
humanrebar··on Implication for C++ [pdf]
Yeah, I'd lean towards a more obvious spelling, but most bikeshedding conversations bore me very quickly.
humanrebar··on C++ Modules: Packaging Story
Again, the build system and compiler are often on different systems. The design has a specific drawback in that respect. Even for machine local caching, there are advantages to having the communication with the compiler be unidirectional.
humanrebar··on C++ Modules: Packaging Story
Same goes for C++. And successor languages will have limited reach as long as that don't get this requirement by, for instance, exclusively servicing a language specific packaging solution.
humanrebar··on C++ Modules: Packaging Story
I still think the p1689 is a more robust implementation, but I'll stand corrected on the technical details of the build2 implementation of modules.

Viable designs to support header units was still up in the air until six months ago or so. I don't see significant investment for that happening in GCC or Clang still, especially with respect to how build systems are supposed to understand how to invalidate BMIs and such. Current trajectory is that we'll consider header units a niche technology or even an unfinished idea.

humanrebar··on C++ Modules: Packaging Story
https://wg21.link/p1689

Well, the daemon-based approach won't really work with certain kinds of distributed build and caching systems. I suspect it will work for a lot of use cases though. It's also problematic if you want to parse code without a build system as such. Does every analysis tool and IDE need to add support for that GCC specific API?

But the p1689 approach is implemented the same way for all three major compilers. And it should be reasonably adoptable by anything else that might want to work with CMake and other build systems that choose to support p1689.

humanrebar··on C++ Modules: Packaging Story
Conan, Spack, Nix, vcpkg, not to mention the OS specific ones. All are actively maintained. Modern means different things to different people, so I expect some people will still be looking for more answers.
humanrebar··on C++ Modules: Packaging Story
No. The BMI is more like an object file. It's not likely anyone would ship one.

The lib is still the lib. The header files are replaced with module interfaces. It's just that those are probably going to be shipped with some parsing instructions, like required preprocessor flags, the C++ version used, and that sort of thing.

humanrebar··on C++ Modules: Packaging Story
Portable in what dimensions? There's no portable way to describe how to build an archive containing C++ source code.
humanrebar··on C++ Modules: Packaging Story
There is a proposal for this: https://github.com/microsoft/ifc-spec

Only Microsoft implements that so far. I gather EDG (which powers IntelliSense) has been at least researching support for consuming IFC files.

I'm not aware of anyone sponsoring work in Clang or GCC to add IFC support.

humanrebar··on C++ Modules: Packaging Story
There's no way build2 did exactly this back in 2021 given communication APIs for GCC just landed in its main branch a month ago. Clang and GCC, only a year ago or so.

How does build2 understand module dependencies without that?

humanrebar··on C Is Not a Low-level Language (2018)
LLVM IR
humanrebar··on Trying out C++20's modules with Clang and Make
Tools like `cargo --fix` do exist. Such as clang-tidy. They have to be more opinionated to be viable for things like this, but if you're the is passionate about it, try starting a project like that.
humanrebar··on Trying out C++20's modules with Clang and Make
Also bug fixes. And there are still major headaches around when names are provided both through textual inclusion and import statements.

But integration and tooling is required for any major amount of adoption. IntelliSense has to work. Existing LSPs have to work.

← PreviousPage 4 of 34Next →