skysight-inc/HackerNews huggingface dataset:
Even if a project can choose some specific feature(s) to switch to C++ for, it'd severely reduce the barrier for adding reliance on more features; why did feature X get a pass, but not this other one? And C++ has a lot of such potential features that are harmless and easy to justify at their best, but can become headaches when used more broadly, requiring everyone and everything to deal with them.
> clear to me the state government is going to relax regulation on insurance companies

Interesting thesis. So premiums will keep going up, but insurers will be allowed to cut coverage to maintain margins. This would work until the next disaster hit, which could well be a few years away.

Question is why lenders would go along with the charade.
We should just use fucking normal plastic straws. This is environmental priority number 1,000,000, it just appeals to people instead of vastly more impactful interventions because roughly 50% of the environmental movement is looking for minor inconveniences that they can personally endure so they get a feeling of atonement.
Can you share an example of a pre-launch announcement so I know what they hope to learn? I haven't seen anything about any upcoming test's goals as they approach, but I also don't know where I would look.
Basically, it seems like they wanted to facilitate the use case of "if the string is truncated, then realloc() the buffer to make it fit using the value convienently returned from strlcpy()".

(note: the following code is probably buggy with off by one errors and doesn't check return value properly)

copied_bytes = strlcpy(dst, src, size);
if ( copied_bytes >= size )
{
realloc(dst, copied_bytes);
size = strlcat(dst, src + size, copied_bytes);
}

I can appreciate that sentiment, but I think it was a mistake. That behavior is still possible where it makes sense by using strlen() first, but I'd argue that in most cases if this is possible then strdup() was the better solution all along. Basically they made a tradeoff that makes one relatively uncommon use case easier at the expense of making the function explode in other cases.

You don't need strlen() to check for truncation:

if ( strscpy(path, homedir, sizeof(path) == sizeof(path) ) return (ENAMETOOLONG);

strscat() would have a similar syntax. Return values would be the same, including returning the size parameter in the case of truncation, making it easy to check.

if ( strscat(path, "/", sizeof(path) == sizeof(path) ) return (ENAMETOOLONG);

On a side note I always cringe when I see people using sizeof() on strings in C. I left them in here to make the comparison easier, but I wouldn't normally do it this way. That's a gun pointed directly at your foot when this bit of code gets refactored out to a function and that string degrades to a pointer.
Ok. So then it's just on par with an ESP32...later this year possibly.
I use yabai on Mac, coming from AwesomeWM on Linux. Never tried Rectangle, any idea how it compares?
Looks like all the UIs are made with iced, a new UI library. My question, is this missing all the accessibility features found in uikits like Gtk and Qt? Does each app respect my system theme?
Isn't Deutche Telekom one of the main reasons why Germany's broadband and internet coverage is abysmal in comparison to even significantly poorer countries in Europe these days?
I'm actually boggled that it's not illegal in things like food containers and eating utensils. I'm generally not a "trust the government to get things done" type of person but this seemed like such an obvious and easy political win considering how much air time PFAS has been getting in the last decade.
Depends on your complexity, if the business is standard logistic process. Then there are plenty of ERP products to choose. Let the ERP company do the work, it won't be cost more than have your own team.
I think Euler by himself competes pretty well with all that on behalf of the Swiss.
Well there's the UNO-R4 Renasas I suppose, but this would be much cooler indeed. There's also the 2040 Connect in the Nano form factor with the extra IMU.
I’m really not seeing it. A rod of any kind in the mouth is very dangerous - as can be seen by the thousands of toothbrush injuries every year.

Glass, unless it’s a wine glass, most likely just gives you a bunch of cuts. Might need surgery, but better than paralysis!

Steel straws aren’t an option. All it takes is one kid getting a steel rod through their face, a $10 million ad campaign, and giving your child one will be likened to child abuse. This is easily foreseeable.
Yeah, anyone who remembers 1990s knows that MSFT is not to be trusted. I am appalled to see how they lured thousands of programmers to use VSCode.

How are people so naive to think that a colossal corporation with a capitalization comparable to the GDP of Germany is spending an enormous amount of resources to build "a free" code editor, and that they are doing so with absolutely the best and benevolent intentions?
Most groceries stores DO offer wheelchairs, either powered or manual, to their customers.
I mean, Bezos, Cook and Buffett rarely uncritically spread far-right propaganda, so there’s that.

Like “why don’t people give attention to these people for doing a thing they don’t do” is a weird take.
I had never heard of it. Thanks!
> No one followed up on the jetcd issue, and it was automatically closed as stale.

Another excellent outcome from those GH automations
> Nazi Germany and Japan weren't deterred at all by military strength either

Oh, yes they were! Hitler thought the Soviet Army was rotten from top to bottom, thought the British were weak and could be defeated by the Luftwaffe, and thought the US would never fight.

He was right on all three counts, but the Soviets, British, and the US turned themselves into powerhouses.

The Japanese were afraid of the US, and thought they could get the US to stay on the sidelines by knockout out the carriers in Pearl. How wrong they were.
Just one note on Elton John's Cold Heart: its reappearance on the chart was due to a remix that featured the (very current) Dua Lipa [1].

I liken this kind of prolonged success as similary to winning the lottery twice. It happens. But it's a lot more common to only win once.

With music you never really know what's going to resonate with audience. It can be a complete accident. It could be a song being featured in a movie or TV show that completely blows up. It could be used in a Tiktok that goes viral.

There are many enduring artists from the 1960s through 1980s. I'm talking the Beatles, the Rolling Stones, Elvis Presley, Michael Jackson, Queen, Elton John, Billy Joel, Fleetwood Mac, Prince and so on. In their times they dominated the airwaves in a way that doesn't really exist anymore.

It's a bit like how TV used to be a shared cultural experience because it was broadcast at the same time before streaming. Non 21st century TV show has hit (or will probably ever hit) the kind of numbers you saw from Seinfeld, MASH, Cheers and the like..

Taylor Swift is obviously massive. But she's the outlier among outliers, almost the exception that proves the rule. And even though Taylor Swift has incredibly popular music, she doesn't produce enduring "hits" in the way the aforementioned artists did. Will current music have the same cultural power in 50 years that Bohemian Rhapsody or Billie Jean?

My thesis is that we don't have the same shared cultural experiences anymore because of the Internet and I suspect this will make the likely duration of a music artist even shorter.

[1]: https://www.youtube.com/watch?v=qod03PVTLqk
FWIW, cuckoo clocks originated in the Black Forest, southern Germany.

https://en.wikipedia.org/wiki/Cuckoo_clock

But it reminds me of the famous quote from Bertrand Russell

> My own view on religion is that of Lucretius. I regard it as a disease born of fear and as a source of untold misery to the human race. I cannot, however, deny that it has made some contributions to civilization. It helped in early days to fix the calendar, and it caused Egyptian priests to chronicle eclipses with such care that in time they became able to predict them. These two services I am prepared to acknowledge, but I do not know of any others.

(Bertrand Russell / 1872-1970 / Has Religion Made Useful Contributions to Civilization? / 1930)

http://atheisme.free.fr/Quotes/Russell.htm
As a Principal Engineer in FAANG, I’d caution against bringing software development in-house without someone who deeply understands how software is built at the leadership level within your company.

Software can be intangible, making it difficult to manage budgets and timelines. You might find yourself asking, ‘We’re spending all this money, but what exactly are we getting for it?’ What’s the point of all this CapEx?

Moreover, it’s easy to place unrealistic demands on software development. If you, the business, change your mind every two weeks about what the software should be or do, the constant churn in feature requests can bog down the code and hinder development—through no fault of the developers.

While you don’t necessarily need a CTO, it’s crucial to have someone you trust, even when the answers you receive aren’t what you want to hear.

Is it possible to find a new outside vendor?
You can do all that, including the YubiKeys, with 1Password for Teams, the Web UI to manage vaults with RBAC, the 1Password CLI and SSH Agent on machines, etc. See also the shell plugins.

https://developer.1password.com/docs/ssh/agent/security

https://developer.1password.com/docs/secrets-automation/#com...

https://1password.com/developer-security

https://1password.com/product/enterprise-password-manager

Or, depending on your use cases, check out Doppler:

https://docs.doppler.com/docs/workplace-team

https://community.doppler.com/t/generating-authorized-keys-f...
But isnt this where PureData, Max and Supercollider shine? It is possible to create very exotic interfaces with them and many people use it for that purpose. The user communities of the 3 tools is small but very knowledgable.
Might want to get an eye exam first.
A new report finds Boeing's rockets are built with an unqualified work force
The mode that opens all links from one pane in the other pane is useful at times, and wouldn't really be achievable with just separate windows
What if you could ask an octopus the same, and it suggested that dying after breeding is best for society to prevent the problems of overpopulation [1]? Unlike your hypothetical aliens, octopodes live in the same resource-constrained world we do.

[1]: https://en.wikipedia.org/wiki/Octopus#Lifespan
There is a comment purporting to show a difference between compilation speeds in C and C++ which uses iostream for the C++ example, which completely misses the point. Sure C++ has a lot of warts, but in terms of compilation speed it should be completely reasonable to use a few simple template functions.
“Warning: its 8pm on a friday night and half the cars you see from here on out are drunk”
For anyone else who wanted to see the Challenger+ board's specs/price (for some reason the rpi page only links to a photo of it): https://ilabs.se/product/challenger-rp2350-wifi-ble/?&curren...
I really hope Ladybird is able to stay relatively small and approachable, it would be wonderful to have as a truly customizable open-source browser that's not a massive codebase that takes forever to compile and develop.
We're Applying the Lessons of the Covid Pandemic to Bird Flu
Looking at the stories here in the last two days, lots in HN are more worried with the location of Twitter headquarters...( Will never mention that letter...)
Companies Hiring Now in Localization and Translation: A Growing Demand
It's not a window manager, but a tool for doing various things to windows triggered by hotkeys.
Look at the adafruit metro then. They just announced the rp2350 version
US power has (so far) prevented WW3. Biden's weakness in Afghanistan emboldened Putin to attack the Ukraine.
Because it isn't taking RAM for its own use.
I imagine it's the same thing that caused the comment here about not liking it. I don't care if it "tested well", I don't like it.

And yes, I watch Sasuke when I get a chance. Also, Australian Ninja Warrior. The British one isn't as good, IMO, but we watch that, too.
A nice data science ccc talk about German trains https://youtu.be/0rb9CfOvojk?si=dZLY7exrC0SiDxje
Apparently (this is news to me), you can also choose to run 1+1 Arm/RISC-V, you don't have to switch both cores either/or.

Eben Upton: "They're selectable at boot time: Each port into the bus fabric can be connected either to an M33 or a Hazard3 via a mux. You can even, if you're feeling obtuse, run with one of each."

Source: https://www.theregister.com/2024/08/08/pi_pico_2_risc_v/
One of the problems lies in the way RLHF is often performed: presenting a human with several different responses and having them choose one. The goal here is to create the most human-like output, but the process is instead creating outputs humans like the most, which can seriously limit the model. For example, most recent diffusion-based image generators use the same process to improve their outputs, relying on volunteers to select which outputs are preferable. This has lead to models that are comically incapable of generating ugly or average people, because the volunteers systematically rate those outputs lower.
I had no idea about this history, but explains the prominent presence of a UNiSYS office complex at Sheppard and the 404 in Toronto.
The first pointer-sized chunk of the string structure is a pointer to the C-string representation. So the cast works as written.
Global Alliance for Responsible Media is 'discontinuing' after X filed a lawsuit
Look, I realise it is tradition, on this here website, not to actually read the article, but in this case you, er, apparently read a bit of it but ignored the screenshot of the offending tweet, complete with fake news piece? Like, come on.

EDIT: Though, actually, the thing you quote doesn’t appear in the article at all. Are you commenting on the wrong article or something?
> some of the changes to the macros made some developers (including Bergmann) nervous

These macros are now so complex that they're reluctant to touch them. Seems like there is a clear need for some thorough tests here? This is exactly the sort of thing that is eminently testable.
I'm not opposed to stock market reforms, I'm sure there's good that could be done there. Even with today's stock market setup and companies' fiduciary obligations, if a company could be meaningfully financially by legal actions they would think twice.

Take CrowdStrike for example. If the company and its leadership wasn't so well shielded from financial and legal liability they likely wouldn't have had a process that allowed rolling out an untested update to the entire world at once. Instead, they have a CEO that did effectively the same thing at McAfee before allowing it at CrowdStrike and the company will likely get little more than a financial slap of the wrist.

Would it solve everything? Absolutely not, and other actions like changes to the stock market could help. But it surely would make a difference if leadership and companies knew they could actually be ruined if they are provably negligent or culpable in damages caused.
It was also confirmed by Eben Upton in an interview in The Register[1], and I believe Adafruit's livestream also mentioned it.

[1] https://www.theregister.com/2024/08/08/pi_pico_2_risc_v/
This is one of the worst parts of European train travel these days - while airlines are forced to find you replacement connection, give you hotel and even pay you a fee if they're late, there's nothing like that for trains.

So you can end up with a blame game of "well, you bought a ticket from DB, but OBB fscked up, good luck being stuck in the middle of nowhere!" situation that makes you wish you took a plane.
Sorry for the hassle Sam. We're seeing decreasing error rates on the API now. This was painful -- appreciate your patience while we work through the issue with one of our infra providers.
Location: NYC

Remote: Yes

Willing to relocate: No

Technologies: Experienced ML, backend software engineer seeking Senior or Staff roles. NYC or remote (travel ok). // Golang, Node.js, Python, Typescript, Scala, Redis, Elasticsearch, AWS Stack, Git, Jenkins, Tensorflow, Flink, Cloudformation, GraphQL, Terraform, Docker, Airflow, React, PostgreSQL, Celery, Ansible, Kubernetes, Neo4j, PyTorch

Résumé/CV: https://www.linkedin.com/in/daniel-telatnik-74bb9955/ // Resume available upon request

Email: HN@telatnik.com
https://x.com/wren6991/status/1821582405188350417

Supposedly it didn’t require any measurable amount of additional die space, because other things constrained the minimum size of the die (like the I/O pads), according to one of the Raspberry Pi engineers.

An additional ARM core would have required significant changes to the crossbar. Right now, only two cores can be active, not three.
Fairly recently (maybe in the last five years or so), Greyhound in some cities has been selling their city-center land and moving their stations to much less convenient places. Near me it's a side-of-the-highway industrial area with occasional local buses downtown.
I've also never seen glass used in takeaway/disposable containers.
> How do you know that change happens all the time?

Because ... it does? Things move. The kettle boils and then cools. There's a grey hair that wasn't there yesterday.

> By limiting the question of consciousness purely to the observed, physical world, you're making the evidence criteria arbitrarily and impossibly narrow, in a way that you wouldn't for many other types of question.

But we attribute consciousness to other human beings in the first place precisely because of physical evidence: their behaviours, expressions, speech acts, etc., and the apparent correlates of those in measured brain activity; and the lack of such evidence is why we don't (usually) attribute consciousness to, say, stuffed toys or mannequins.

If it is irrational to assume (provisionally, and pending the possible discovery of further evidence to the contrary) that dead people are not conscious because they don't exhibit such physical evidence, it is presumably also irrational to assume the same of stuffed toys: after all, absence of evidence is not evidence of absence.
Those airplanes were not safe. They were designed for maximum performance, not safety.
I think the target here is low-power peripherals rather than speedy peripherals, and the price is very nice for that :)
> they are one of 2 companies that have the capability to launch people into orbit

This is currently, actively, under question.

I'm sticking to my guns here -- Boeing and NASA being in this position is not an excuse to go easy on them, cut corners, or otherwise lower any standards. If the US wants to use taxpayer money to prop up the crewed spaceflight sector (which I would agree with in principle despite it not being my tax dollars -- this is IMO an investment in the future and a way to stay competitive on the world stage), then they should reevaluate their approach to a public sector crewed spaceflight option where fewer parts of the process are profit driven.

SLS was a flop but that doesn't mean that the next thing has to be, and while public spaceflight projects absolutely do subcontract work out when it comes to building components, there are big, traditionally-expensive parts of the project that can be offloaded to public agencies where profit isn't a consideration.
> A site that allows speaking freely is full of disinformation and hate speech?

You'd expect that, for some definition of "full". If you don't filter everything that people put up, these will definitely be in higher proportion than in ordinary public discourse.
By the way they decided to fire 30k employees to save costs just a couple days ago.

Enjoy it while it lasts... it is going to be much worse very soon. Some renovation plans are completely bonkers, they will close important railways for years without any replacement.
They're working on a profile switcher: https://connect.mozilla.org/t5/discussions/here-s-what-we-re...
I've just updated my Firefox and I got the options in about:config to enable vertical tabs.

sidebar.revamp and sidebar.verticalTabs need to be set to true.
Ask HN: Balancing SaaS and Hardware Skills–Experiences and Tips?
Hi HN, I’m a software engineer with 10 years of experience who’s recently started learning hardware through a 4-month electronics course. I’d love to hear how others have combined software and hardware skills, both for professional growth and personal enjoyment. Any advice or experiences to share?
The first bug is a great reminder that even strict serializability doesn't imply idempotency. If you're doing non-idempotent operations like unconditional writes, you've got to think very carefully before you add any retries to a system. Even with conditional writes, you need to think carefully about ABA bugs.

Both of these bugs are a great reminder that distributed system behavior includes clients. From the application's perspective bugs like this being introduced by the client isn't any practically different from them being introduced by the server - the same badness happens. A database needs to consider it's properties end-to-end from the application API.

It's also a great reminder that APIs that make it hard for clients to do the right thing will likely lead to bugs like this. Failures happen, and a good API needs to be designed in a way that allows the client to do something sensible following a failure. A great API makes it easy for a client to do something sensible, and hard for a client to do the wrong thing. Perhaps my favorite non-distributed example of this is AES-GCM, the ubiquitous AEAD crypto primitive: one tiny bug (reusing an IV) completely blows up the whole scheme.

And, as always, this is great stuff from Kyle. His Jepsen work has been moving the industry forward for years, and it's great to see him continue it (and continue to put the effort into writing up his findings so clearly).
Yeah, I gave an honest shot at using vertical tabs for a few months because it frankly does seem like a more logical use of screen real estate. Web pages don't tend to take up much horizontal space, so you might as well put a bigger list of tabs there where they can all show more text.

For one thing I could just never get used to my normal tab-switching shortcuts moving me up and down compared to left and right. And all my other apps with tabs still use horizontal tabs, so I couldn't fully switch over to that model in my head. Additionally the URL is still at the top so it was more work to glance back and forth between the left of my browser for the tab and the URL at the top which in my mind are more "closely linked" for that to make sense.

But you also highlighted a good point, the limited space of traditional tabs does keep my organization in check. Once I get around the 20-tab mark and I'm unable to see any text beyond the website's favicon, I start feeling dirty and it gives me some incentive to clean up.
yes I find the crowd behind them to be obnoxious and overwhelmingly skewed towards one side of the political spectrum.
Selling parts for a profit is inconsistent with an order limit of 7 parts per repair shop per quarter. A likely explanation is that Samsung hopes people who cannot get their old Samsung device repaired will buy a new Samsung device.

Samsung seems insufficiently concerned customers will hold Samsung responsible for the problem and buy a device from another manufacturer. I call this behavior market leader syndrome.
I am not sure if there’s evidence. But reading more about physics and the cosmos and the events of the universe happening 13.8 billion years ago only increases my faith that there is more to our “random” existence.

Too little science leads away from God, while too much science leads back to Him". So said Louis Pasteur.
Scaling human LLM Evals with open source crowdlab
Nova Launcher has laid off many people working on the launcher