skysight-inc/HackerNews huggingface dataset:
Titus Winters leading the google abseil library eventually came to the conclusion that the only sane way to manage a large scale C++ system is to "live at head" [1] -- that is, libraries should live at the head production version of their dependencies.

This is patchworked around in more easygoing languages with dependency management systems, docker containers, etc. etc. but if you can enforce living at head from the start it makes everyone's life easier.

https://abseil.io/about/philosophy#we-recommend-that-you-cho...
Why not? The link here is demonstrating just that
Java's Cover – Why Java will not be successful (2001)
I had an experience in another industry similar to what printers are doing. We used to use standard, easy-to-source-from-3rd-party 6-port valves on one of our instruments. Customers loved it, since the valve would need servicing now and then with replacement parts but the company president only saw lost recurring service and support revenue. To complement that perception, the VP Engineering decided "our systems should use our parts". So we embarked on "designing" our own new 6-port valves... Which consisted of putting the original 6-port in a welded box with a manifold and calling it our own. Since it was "new" we charged more, while paying less, and obviously telling people that to not use the new system was to void the warranty, and oh by the way, only we can service it. Naturally it came with a firmware that would be recognized as "official". When one of the clients discovered the truth, and provided our support team with evidence proving the new, more expensive valve system gave a slightly poorer performance, management's answer was to threaten to sue. They sold their instrument and went to the competition.

So yeah, it's an anecdotal n of 1, but I would say mostly perceived loss of income, publicly justified as better design
Removing the cap would not fix the system, it would only buy us additional time.
> Homebrew is an example of a simple piece of software. It just works.

But, it doesn't. I've had many packages fail to build from homebrew. Also there's a recent quote I remember:

> At some point I got frustrated with homebrew because I felt like it was spending too much time upgrading when I installed new packages, and so I thought – maybe I’ll try the nix package manager!

from https://jvns.ca/blog/2023/02/28/some-notes-on-using-nix/

> If you make a mistake, you can put it in a completely broken state. That is not a simple piece of software. Its overengineered and brittle.

Do you have any examples?
It has lived longer and therefore observed (for some definition of observed) more. Its rings encode atmospheric carbon and drought metrics for centuries, for example.
it’s more intricate than this. There is store shelf specific plans to define how inventory should be stocked at the SKU level on a given shelf. The distance between the price tags determine the actual shelf space facings usually, in addition to end-caps, which are very premium spaces.

Most large grocers outsource all of this management to intermediary firms that “manage” shelf space for chains, selling and updating their retail merchandising based on marketing campaigns and sales data.

You may find good pricing on brands/products on the lowest shelf, as they tend to be smaller firms that compete with the large players that pay premium for shelf-space, which is sustained by higher pricing.
And then you get sued
Baffles me that he didn't just say at the start: "Sorry - I've found your email now and will reply." Instead he can't suppress the urge to try and embarrass anyone who doesn't bow to him.

I know it fits Twitter and the outrage cycle, but this idea that everything needs to be combative is so silly. The employee contacted HR and tried privately contacting Musk. Pretty reasonable behaviour, surely?
> useEffect is a side effect and if you use it you're gonna have a bad time.

Right.. but then you can't really use React for building serious UI.
> My understanding is passive house comes from a German project. It shouldn't surprise anyone that strategies which work well in Germany differ from strategies that work in warmer climates.

It actually started in North America around the time of the oil embargo as a mechanism to reduce energy costs. (See the history section of https://en.m.wikipedia.org/wiki/Passive_house). Once that shock passed, people went back to not caring.

Even at the time, and still today, most write ups are focused on harsh climates like New England or Canada in Winter, because it's harder. It's also the case that in milder climates, the cost to make your home passive has historically been higher than just paying the subsidized bills (and/or requires capital). So most of the US hasn't cared (again) until recently.
What happens when it decides that the human interfering in the example is the source of the problem and needs to be eliminated?
In 1980 the Soviet Union managed to launch variants of its R-7 workhorse rocket 64 times in one calendar year. 61 of those launches were successful. [1]

For same launch vehicle type, the previous record was held by Soyuz-U, which had 47 launches (45 successful) in 1979. [2]

[1] https://www.teslarati.com/spacex-ties-42-year-old-record-las...

[2] https://en.wikipedia.org/wiki/Falcon_9#Launch_history
The payroll tax is an income tax with the following brackets:

0-147k: 12.4%

147k+: 0%

The number goes down at the higher income bracket, which means you pay less % of your money in payroll taxes the more you make. That is the very definition of regressive.
Are the user-hostile features you're talking about different than the third-party tracking that almost every Web site includes (selling out their users' privacy)?
Think you're gonna have a bad time. Should be something like:

function handleChange(e){

getAutoSuggestions()

setLoadingState(true)

}

^ Side effects happen in response to user input

function getAutoSuggestionsCallback(resp){

setSuggestions(resp)

setLoadingState(false)

}

^ No side effects
That is just one part of the same legacy technology problem. As part of moving away from fossil fuels in general, we want to electrify transport and transform the grid to renewables or greener alternatives to fossil fuels.

Not everywhere is doing well at the second part of the problem, but Germany's grid is already at 30% renewables, and has time to transform toward renewables while we attempt to electrify the vehicles.

You can also shortcut the process if you own a house, by putting solar on your roof and charging from that. Places like California and South Australia have immense deployments of rooftop solar generation that have rocketed the states toward their renewables goals. South Australia generates over 70% of it's power from renewables. It went from 1% renewable to 70%+ in just 15 years.
I'm surprised to see "GCC as shipped by RHEL 7" used as an argument downthread. If you need to use an older GCC then you can equally well use an older Boost.
The problem with this approach is that:

1) No static typing
2) Updating the logic requires migrations
3) You put the logic into the place which is the hardest to scale and many times a single point of failure
4) Cannot compose the code effectively and general verbosity

It's one of those ideas that sounds great on paper and maybe works in some smaller problems but as you go up in complexity things get worse and worse
exactly, now we can use less plastic and properly reuse our paper bags
Right, the problem with React is it has no global answer for application state, instead it provides a toolbox with which it is possible to set up your own state handling but frequently you face structural instability where a small change in your app’s functionality require large architectural changes.
Yeah, I know it feels bad and that's not the intention - we just have to do what we can to try to prevent this place from experiencing the default internet outcome (self-immolation), or at least to stave that off for a little longer.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
As far as I’m aware the only “robots” we have at the moment that are capable of large scale physical damage, without direct human involvement while the damage is occurring, are military drones and missiles.

And neither missiles nor drones are capable of functioning totally independent with both requiring large amounts of weapon systems infrastructure. You may be able to argue missiles could be deployed almost independently if failsafes are circumvented but that would require modernization of missile weapon systems which is about as likely as the colonization of space.

At present I’d be more worried about network and social engineering attacks using LLM which I’m sure is already happening and will continuously increase.
This is a great article on the frankenstein (neither OOP nor functional) that is hooks:
https://medium.com/codex/can-we-all-just-admit-react-hooks-w...
https://github.com/ronakganatra/awesome-marketing

https://github.com/paulbradish/awesome-digital-marketing

https://github.com/vkoul/awesome-Marketing-Analytics ( see "Courses" )

https://github.com/ronakganatra/awesome-developer-marketing
Needlessly unpleasant. It appears that his intention is for it to exist in his image. Outrage and insult and misinformation. Instead of just replying to the employee's email!
“Immediately” is not the word. As the phone is answered, it’s trying to automatically switch. Pressing that key while it’s in the process of auto switch just confuses it, and typically stops the switch process altogether. Then you have to do it again.

Fwiw, this seemed to work smoothly two years ago. And then… updates. AirPod firmware updates. iPhone updates. macOS updates. Nothing works the same as it did 2 years ago for maybe … 2 months or so. And there’s no going back. :(
The Dark Side of Europe’s Green Energy Transition
Many many single family lots are turning into 6 townhouses in Seattle and selling quite well.
Ask HN: Does anybody remember a post about optimizing load times at YouTube?
I swear that this existed, but I can't find it anywhere. It was a engineering blogpost where the author (a YouTube employee) talked about optimizing page load times at YouTube, where the unexpected result was that average page load times actually went up because more people with bad internet connections started using YouTube.

I would love to cite this in a talk, but I can't find the dang thing anywhere. It's the perfect case study for one of my points, but I've completely failed at finding it.
It Turns Out Money Does Buy Happiness, at Least Up to $500k
All I could think of watching that video was I would not want to be that guy.
I'd argue there's still some interesting math going on there.

PC hardware is still very much an industry of "I'll ask the enthusiast kid down the street what to buy"-- the sort of business where souring a small number of power users can blow back with a lot of lost mainstream consumer sales.

Do they assume that the "enthusiast kid down the street" is already a lost cause and figure he's never even going to buy a HP printer, let alone express his dismay about it to all his friends?
But if we cut down the tree next to it then we can know just those same things, but the tree doesn't have youtube so I guess its a toss up.
The linked article doesn’t convince me, instead it shows a misunderstanding of react and hooks.

> But then they added hooks and useState and useEffect and so on, which made the functions impure. The problem with hooks is that they “hook into” React state and lifecycle features, which means it is modifying global state.

React components don’t update the dom every time they run, they update the fiber tree / virtual DOM.

Only in the commit phase is the DOM updated and side-effects are run.

My rough understanding is that:

Hooks, excepting useEffect, all run in the render phase.

UseState hooks store data in the component in the fiber tree, and capture a sequential list of updates when you call setState.

Algebraic effects can seem a bit odd at first, but it’s really like a generalised try/catch. Instead of storing state in the function itself, you reach out up the stack to the component and store it there. And every hook you call from your hook stores it there too.

It’s why call order is important, because it’s how they know which is which.

You don’t modify any global state though.

The actual component function needs to be able to be called multiple times in the render phase (which just updates the vdom), and must have the same output each time, if the inputs/props are the same.

Every now and then, the tender phase can be interrupted to run the commit phase, which synchronously brakes a snapshot of the vdom and applies all the needed updates to the outside world.

Perhaps it’s better to think of as

render: f(props) -> descriptionOfUI
commit: apply(descriptionOfUI)

I would absolutely say components and hooks are functional, with algebraic effects. And that the resulting data struct from those components, is what’s used to produce side effects.

Even useEffect, is a description of a side effect to run, it doesn’t run in your hook, it runs on commit with all the other side effects.

There’s a ton of optimisations under the hood but that’s roughly my understanding of how it works.
Let's imagine we have a ton of people try to come up with interesting numbers.

Half of them try this keysmash method, and half of them try to come up with numbers without such randomness.

Then we have them each vote for a number they find interesting.

In that case, numbers like the above will get one vote. Lots of other numbers in these sequences will have tens, hundreds, thousands of votes.

Are the votes wrong? Is your number really the most interesting? Is it even the most interesting number between n-10 and n+10?

Throwing out half the resumes you get won't help you pick a candidate with better luck. Happening to randomly generate a number once doesn't make it interesting.

Nothing in this discussion is specific to that number. All the interestingness of this discussion should be split trillions of ways across all the similar keysmash numbers.
Wow... I didn't expect to get so many panties knotted up with that observation, but I think those who down voted it prove my observation.

What bugs me most about ChatGPT is that it doesn't attribute where it got the results it offers. For example, I asked it: "how to save a document with PouchDB" and it showed me the code, and while I didn't compare it, it looks like a copy and paste from PouchDB.com, and that should be referenced with a link in the response if that's the case, but it was not.
Now that Elon apologized is it ok to ask why Twitter paid a design firm at least 100 million for an acquisition when presumably they already had a design department and team that was internal to Twitter?
Both of those things are already possible with CPython. For the former, I'd recommend PyO3; for the latter, pyodide. These projects take CPython as a dependency (though pyodide has to apply a few patches on top) and automate the annoying finicky FFI parts of getting it to talk to Rust or JavaScript.
That aged like a fine glass of milk.
> They won't even help the U.S government make autonomous weapons.

This is a good thing.
A reader who's actually interested in getting the source, might try Googling for "2070.43", or even "2070.43 million wifi". I must admit, I wasn't serious enough about my comment to spend $3,250 on the whole report, and had to go off of the public preview. Since you seem to be more serious, maybe you could pay the $4,400 for a multi-user licensed copy of the report and share the PDF with me? I'd love to read more of the analysis.

So, I mean, I dunno, 2 billion dollars seems serious to me, but maybe we just have different barometers for what counts as "serious amounts of money". Especially considering these devices that are like $300.

Finally, might I remind you of the guidelines? in particular:

> When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

https://news.ycombinator.com/newsguidelines.html
Less air polution in cities will be an amazing change, I think people underestimate it since they either don't live in it or they are used to it. Countless studies regale the impact of local car polution on citizens. That EVs produce none while stopped in traffic, and significantly less overall is amazing, especially in the denser parts of a city.

Anecdotally whenever I return home from time out in rural Australia, it takes me a while to adjust to the air pollution while near roads, and we have some of the cleanest air of any city.
Another trouble with Erythitol is what it can do to the untrained stomach.
> The old and conservative make too powerful a voting block, and it perpetuates every corporate, oligarchic, xenophobic greed cycle one could point to as a rot in our system. I don't think old people are bad because they're just taking government money and have big fancy houses, but largely they do vote the same way and that way they are voting is causing problems.

You must have missed the part where they referred to human beings who they disagree with as "a rot in our system". The fact that you're apparently blind to such toxic rhetoric isn't surprising--it is increasingly common among progressives.
>could be defeated by making a 1 pixel change to any photos a pedo would hide on their phone (since any changes to the image would totally change the hash).

This isn't the way those hashes work. A 1 pixel change would still hash similar enough to be matched. Maybe there are adversarial 1 pixel changes that could break the hashing, but I doubt it.

Even cropping, watermarks and other manipulations like that would still match. "Perceptual hashing", very different to cryptographic hashing. It's basically checking if an image looks "similar enough".

I believe this is why they needed multiple matches, because otherwise there must have been too many false positives.

This may be too oversimplified, but imagine that in a series of CSAM images, there might be, for example, a wall or furniture or something, that could appear similar enough to a wall in one of your own photos. That's a match, off to the gulag with you!
You could simply have the LLM emit a formal language that is interpreted by the robot as instructions.
They're cleaner, no doubt. But are they clean enough that a 1-1 replacement could avert massive ecological destruction à la global warming? No they are not.

They are a bridge towards lowering emissions but they cannot get us to zero or negative emissions. For as long as they are in use cars will simply remain "part of the problem". Acutely, personal vehicles used for quotidian trips are a large part of the contribution towards carbon emissions and can easily be phased out with improved urban and residential design patterns, public/collective transport infrastructure, and low-tech solutions like bikes, draft animals, etc .
> How am I going to express the expectation that something is prime? With the following closed API:

Obviously not a closed API since the playground only gives you one module, but I wrote an example on the Haskell playground:

https://play.haskell.org/saved/gRsNcCGo
I asked ChatGPT, it said: "Uhhh it depends."
Chinchilla paper proposes the following empirical scaling power law

Loss= (N0/N)^a+(D0/D)^b

Where N is number of parameters, D is number of examples, a,b are exponents. N0,D0 are scaling factors.
I just upgraded my computer and now my older Brother can’t scan anymore because Brother isn’t supporting it anymore. (And the app they point you to for scanning also doesn’t support it.) There are some 3rd party tools you can install apparently, but I don’t know if I want to be bothered with how much time that’s likely to take. I don’t want to support them anymore now that they’ve added a chip to their newer models, and I don’t want to have to buy another used one every few years because I keep hitting the end of the support timeframe for those models. It’s a bit frustrating. I’ll probably try the 3rd party software, but that comes with its own issues.
It's less about wealth of the oldest generation and more about the fact that we don't have a good replacement rate from reproduction or immigration. Birth rates around the world are not even at replacement rates. The entire retirement system is built on the idea that younger workers will chip in to pay for the elderly, but...we can't do that at scale, because there won't be enough people. There are still a lot of older poor people now, and caring for them and end of life care is incredibly expensive. Even "rich" people now will be poor by the time they die, especially in the US. A huge portion of US inheritance will evaporate paying for parents aging.
This is more of a lighting controller while QLab is a show controller. These are typically viewed as different layers of the stack: a show control system controls the light control system.

I don't know much about BlindersKitten but the page says it can receive OSC. OSC was originally for sound applications but is common as a show control protocol today due to being fairly simple and open (much like MIDI-SC, a formerly common show control protocol based on MIDI). So conceptually OSC is likely how a show control system would send commands (cues) to BlindersKitten.
Mostly money - We're in the midst of implementing a new payment model. It makes us (the programmers etc) uncomfortable, but generally these sorts of things come from up high, usually with the intent of extracting more profit.

By and large I expect most workers know and dislike that, but ultimately it's a small compromise for them personally - in most cases they may not even use the product they work on. The best they can do usually is object to it, but if people want it done then it'll be done; after all, that's what you're getting paid for.
The household robot that can cook will be able to use a knife to cut anything it arbitrarily thinks needs to be cut which could lead to it being directed to assist with serious criminal acts. Self-driving cars out on the streets have already killed people, but those were just bugs, not intentional behavior, as might occur if they were driven by LLMs.
Where A,B,C are empirical constants,

Loss = A/parameters + B/dataset_size + C

Just read the chinchilla paper.
If by "this" you mean today's Elon drama, I've already answered that at length:

https://news.ycombinator.com/item?id=35060935

https://news.ycombinator.com/item?id=35061369

https://news.ycombinator.com/item?id=35061343

https://news.ycombinator.com/item?id=35060863
I remember once there was a method to use BitTorrent to deploy images/packages in intranet.
I always figured the key was to cut the treadmill.

There's very little difference in how I use a printer today versus 10, 20 years ago, so why can't they just sell me the same basic printer?

I'm sure there's someone on the "edge" of the printer space-- maybe a firm that formerly offered laser printers but moved out of the home market (does Okidata still sell those LED-based printers?) where you could probably buy the rights to a proven design and firmware, maybe even the tooling itself, for basically scrap cost. Polish it up a little- fix the known issues on a 20-year-old design-- and restart the line with an advertised guarantee of long-term availability.
The simpletons around my neck of the woods call this “badvertising.”
Early American "superinsulated houses" (the term-of-art at the time) used 12+ inches of foam, but often forgot about humidity and ventilation. As a result, many early examples became mushroom food.

Modern passive houses use HRV/ERV technology, so they achieve high efficiency while avoiding moisture and mold.

As usual, it's the early adopters that find the problems.
I’m not quite sure this article is really going to help “normies”. It seems to fall into the classic trap of “I’m going to explain something in simple terms that you will understand. But, I still want you to think I’m really clever so I’m going to make sure you still don’t really understand”
> seems like nature-worship

Why not?