2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions
comment 1y ago · link · parent
Maybe the the problem with CI is that it's over there. As soon as it stops being something that I could set up and run quickly on my laptop over and over, the frog is already boiled.
The comparison to build systems is apt. I can and occasionally do build the database that I work on locally on my laptop without any remote caching. It takes a very long time, but not too long, and it doesn't fail with the error "people who maintain this system haven't tried this."
The CI system, forget it.
Part of the problem, maybe the whole problem, is that we could get it all working and portable and optimized for non-blessed environments, but it still will only be expected to work over there, and so the frog keeps boiling.
I bet it's not an easy problem to solve. Today's grand unified solution might be tomorrow's legacy tar pit. But that's just software.
comment 1y ago · link · parent
When I started thinking of vector calculus in terms of multiplying both vector components and the corresponding basis vectors, there was a nice unification of ordinary vector operations, jacobians, and the metric tensor.
comment 1y ago · link · parent
I was looking for a full time remote or hybrid non-AI job in New York. I'm not against working on AI, but this being a startup forum I felt like listings were dominated by shiny new thing startups, whereas I was looking for a more "boring" job.
Anyway, here's:
- a graph: https://home.davidgoffredo.com/hn-whos-hiring-stats.html
- the filtered listings: https://home.davidgoffredo.com/hn-whos-hiring.html
- the code: https://github.com/dgoffredo/hn-whos-hiring
comment 1y ago · link · parent
When I moved to New York I was surprised to find a dentist whose practice was much the same, though he did have a few computers around. He retired recently.
Computers no doubt can improve things; a lot of it seems like a no-brainer. But I'm starting to doubt that they're there to improve things.
comment 1y ago · link · parent
Good, but I think what happens is there are people on the bleeding edge of C++, usually writing libraries that ship with new code. Each new feature is a godsend for them -- it's the reason why the features are proposed in the first place. It allows you to write libraries more simply, more generally, more safely, and more efficiently.
The rest of us are dealing with old code that is a hodgepodge of older standards and toolchains, that has to run in multiple environments, mostly old ones. It's like yeah, this C++26 feature will come in handy for me someday, but if that day comes then it will be in 2036, and I might not be writing C++ by then.
comment 1y ago · link · parent
What, precisely, is thing? I'm not a lawyer.
Anyway, yeah we know when women are menstruating now so let's cash out. What was the issue, though? Is the idea "I use this to track my own schedule, not to be sold out to strangers"?
Because, I'm sorry, but whether it's menstruation, palpation, or childbirth, if you put it in an app then the whole point was to sell you out.
Good that class action is questioning this, but I wonder how much is law and how much is posturing feels.
comment 1y ago · link · parent
comment 1y ago · link · parent
Ublock origin and Sponserblock on Firefox. I also have an extension (forget the name) that blocks recommendations after a video. Disable autoplay.
There are also extensions that replace the home page with the subscriptions page.
But really, if BS exists on the internet, either your kids will find it or it will be shown to them. There's nothing you can do.
comment 1y ago · link · parent
He met Ken Thompson and saw beautiful C code for the first time because he had encountered a performance problem in a service. The service had to choose a policy to enforce (or something) based on the incoming request. It was taking too long to match the criteria of each potential policy against the request.
Ken wrote a finite automata based pattern matcher that would simultaneously advance through all of the policies' predicates. It was perfect, and it was much faster than the existing code.
Then somebody noticed that 99.9% of requests matched a particular policy, so they changed the existing code to just check that predicate first, and the code sped up a zillion times, much more than with Ken's solution.
comment 1y ago · link · parent
- A component is a collection of related code.
- The component has an interface and an implementation.
- The interface is a header file (e.g. *.h) that is included (but at most once!) using a preprocessor directive in each dependent component.
- The header file contains only declarations, templates, and explicitly inline definitions.
- The implementation is one or more source files (e.g. *.cpp) that provide the definitions for what is declared in the header, and other unexposed implementation details.
- Component implementations are compiled separately (usually).
- The linker finds compiled definitions for everything a component depends upon, transitively, to produce the resulting program/dll.
So much can go wrong! If only there were a notion of components in the language itself. This way we could just write what we mean ("this is a component, here is what it exports, here are the definitions, here is what it imports"). Then compiler toolchains could implement it however they like, and hopefully optimize it.