skysight-inc/HackerNews huggingface dataset:
That particular implementation seems inconsistent with the following requirement:

> The fsync() function shall request that all data for the open file descriptor named by fildes is to be transferred to the storage device associated with the file described by fildes.

If I wrote that requirement in a classroom programming assignment and you presented me with that code, you'd get a failing grade. Similarly, if I were a product manager and put that in the spec and you submitted the above code, it wouldn't be merged.

> You are quoting the non-normative informative part

Indeed, I am! It is important. Context matters, both in law and in programming. As a legal analogy, if you study Supreme Court rulings, you will find that in addition to examining the text of legislation or regulatory rules, the court frequently looks to legislative history, including Congressional findings and statements by regulators and legislators in order to figure out how to best interpret the law - especially when the text is ambiguous.
They're also welcome to change this decision at any time if enough of the electorate demands it, or if it becomes obvious it will lead to impacts to the policy stakeholders.
It's an easy fix. The poor and the middle class need a bailout. They're too big to fail.
> move fast and break things

Is better represented as "move fast and break important things" but what kind of management is going to sign up to that.

In essence it becomes "move fast", which becomes another way of saying, "get things done faster or you're not meeting company values and we can blame you for that." Yay for management doublespeak
If more than one person asks me the same thing, then it's because I need to document it :-)
HA is nice, and I've been running it on RPi for a few years, mainly to make my air purifiers work in the way I want, plus some light switches and a motion detector

The only annoying thing are random breaking changes which make me overhaul my configs a couple of times per year
I absolutely do. I want some parity with Linux so I also install gnu coreutils via brew and alias with bashrc.

which bash
/usr/local/bin/bash

which ls
/usr/local/opt/coreutils/libexec/gnubin/ls
>Making zoning a state issue would probably help a lot, but it would piss off home owners.

Given the current situation in many state governments, this would have huge ramifications. You might live in a mid-size city and have the wingnut state government refuse to let you build any more homo-muslim-crack housing anywhere in the city center. Or the rural/exurb dominated state house will only let you build a unit in downtown if it comes with 3 parking spots large enough for lifted Ford F350s.

Personally, I live in the South in a city where local politics are dominated by the suburbs and it's bad enough already. "Not enough parking downtown" because you might have to walk 3 blocks to the nearest street parking lot, so of course more lots must be subsidized. Huge portions of downtown taken up by 6-lane corridors impossible for pedestrians to cross so that suburbanites can zoom through at 50 MPH. And that's set up by people who live and work 20 minutes away! Imagine the situation if zoning and city planning was primarily determined by car dealership scions who will never come here in their lives.
Very interesting post. The best results I knew of for static ordered search [1] were from the 2015 Khuong-Morin paper [2], which is not cited in the article but the author cites it in the previous post, and in their benchmarks Eytzinger+prefeching performed best. The improvement on top of that is pretty impressive. At the larger sizes, the latencies are basically 1 cache miss (~50ns).

However, I have some comment on the benchmark, the iterations have no loop dependency on the previous result, so the CPU is allowed to pipeline some loads. This is rarely representative of real workloads, where the key being searched comes from other computations, so this is more a measure of highest possible reciprocal throughput than actual latency. Would be interesting to see what happens if they make the key being searched a function of the result of the previous lookup. (EDIT: as gfd below points out, the article actually discusses this!)

Also some of the tricks only work for 32-bit keys, which allow the vectorized search in nodes. For larger keys, different layouts may still be preferable.

[1] Ordered search is when you need to look up keys that are not in the dataset, and find predecessor/successor. If you only do exact lookups, a hashtable will almost certainly perform better, though it would require a bit more space.

[2] https://arxiv.org/pdf/1509.05053.pdf
> But overall customization is in fact a major time sink

I think that depends on what you're trying to accomplish, since "customization" doesn't really have a limit. If it's just exposing your smart devices so you can access them with your iPhone, it's easy. If it's having your lights turn to 5% brightness if you enter the kitchen at 3am, to get some milk, but then slowly ramp up the brightness to 15% when you linger around to make pancakes, then sure. You'll need to write an automation for that.

Having my HomePod remind me that my car charger isn't plugged in at 8:30pm required an automation that involved selecting things from some dropdown boxes.
We had to show the pass to get into Walmart and Costco here in quebec. And also for the state owned liquor stores, and any mall/shopping center
> Decades of entrenchment of the political class saw this role refined, distilled, and now it's practically impossible to remove the layers and layers of ossified process that has corrupted anything we do.

I would love to see a federal regulation stating that any housing construction permit that isn't reviewed within ten business days is automatically approved.
> It's become basically impossible to buy a house as a normal person, even on a higher tech salary.

In the highest demand cities. Move somewhere that is either 1) Building a crap ton or 2) in lower demand
I've been learning the ins and outs of the major 3 providers cloud billing setups for the last year, and I'm just getting started. This is not a 1 hour job, but you're right that someone in your team needs to understand it.
If an operating business has utility, then owning a fraction of that operating business has utility.
That sounds like genius. Is the a detailed explanation of this system in English?
This sounds incredibly fascinating. Do you have a link to the specific episode or a title?
That class of objection is defeatist. Selling unregulated pharmaceuticals is illegal because of the harm is causes. While people may break the law, they at least face consequences and groups that pursue that business are criminal by definition, and face much lower access to capital markets and ability to cause harm.
I mean it's still all open source, so what if they want to monetise some hardware and cloud connectivity? Worst that will happen is they will drive more and more into paid plans, a fork may or may not happen and there will be a community split, but for my place personally I don't see much of a risk there when most of my stuff just uses the MQTT integration.

Hopefully with money coming in they can improve the core itself, because at the moment the real value of Home Assistant is the huge community around it and 3rd party integrations.
That's missed the beat a bit.. you are supposed to let the tests drive that design out, not big-design upfront and then fill out tests.
I don't know if it is true that quality today is worse, but they used way more wood for heating back then. So maybe they picked the nice trees for wood work and lit up the rest.

Trees on plantation are straighter than wild trees.
There's a case for these, but it's not as broad as needing 16 million publicly usable IPs for IBM alone.
> Because it'll only offer passwords for sites that match the entry, defaulting (most often) to being the same domain, if you come across a phish then it won't offer the site at all.

The Bitwarden browser extension does this. When you add a login, it also adds the URI of the website, so the login info and auto-fill will only show up when you're on the same domain. Of course you can edit and add or remove your own URIs for logins. You can also change the URI matching behaviour.
> Because farmers depend heavily on software engineers to create and maintain highly complex software for their automated GPS navigated tractors.

Yes, farmers need Software engineers to make complex GPS software, which is why we didn't have farmers until after software engineers became a profession. Before software engineers made gps for tractors we were all hunter-gatherers.

The first part of your comment is so absurd I legitimately can't tell if you're serious.
> With enough different sensors, there's quite a bit of information to be found in mining their undefined behavior.

It sounds like you would need to be exceptionally careful that your meta-process didn't "find" some signal in pure noise (via re-using test sets and so on).
its a lot more than an hour, in my experience
Mozilla has (had?) an agreement with Google to make their search engine the default one in exchange for no less than $400 million/year. The agreement would last until some time in 2023, so (if that's the reason) it could be a decision from Google to stop paying.

https://www.zdnet.com/article/sources-mozilla-extends-its-go...
Yep, same here. So yeah, definitely not arguing for a total separation of "tech" and "politics". That's probably not possible. But I do wish HN could move away from the more generic "politics with a tenuous (at best) connection to tech" and "general world news" stuff a bit.
I had a business professor joke that his house that was off the beach would be worth a fortune for his grand kids because it would end up being waterfront.
One feature of 1Password (and other password managers with browser integration) that has saved me at least twice by now: The browser extensions will autofill only for matching domains. If autofill doesn't work on a site I have credentials in 1Password for, chances are it's a phishing attack. That's a last line of defence against well-crafted phishing attacks that I wouldn't want to give up.
From the wording of your registration, I could sign up as @dang?

(I presume some enterprising soul has already done this)
My concern isn't square footage, it's safety, efficiency, and quality. Please point me to a place in the Denver metro where a properly built high-efficiency house (let's say blower door ACH50 1.5 or lower) can be purchased for $600k. I'll buy today.
This inspired me to count mine - my 1Password has 1,492 records now!
>But shouldn't a job paying 6 figures have decent insurance?

Parent said he/she isn't from the US where this would be the norm.

Here in the EU (Austria), in most cases you get no extra private insurance even with a high salary, just your public one, which in some cases may not be enough, especially if you optimize for quality doctors/therapists with short waiting times, which are all private, so you end up having to dig into your savings if you care about your health (who doesn't?).

Still, at least even the poor and unemployed have access to half decent healthcare without going bankrupt so there's at least one silver lining.
As the author of the filter, I strongly agree with you. However, I believe it would be too tedious for most people to update the filter "by hand". I think I'm going to add this important security information in the README.
There's no reason it cant be both, and that both cant be addressed.

I think this is a "Yes, and..." situation
> Do we know what part lack of financial literacy or simply "living above one's means" play here in the grand scheme of things?

Well, if your job is somewhere in an extremely HCOL area, you only have two options: rent (or buy) somewhere extremely expensive, or rent/buy for slightly less and spend a boatload of money on transportation.

A large part of the H part in HCOL is, by the way, that banks and other investors (both domestic and, worse, foreign) have been scooping up rental real estate for way over a decade now - it began after the "fire sales" of the 2008ff crisis and now hit record highs in 2022 [1]. If politicians want to combat the poverty crisis, getting rents and real estate prices under control is one of the most important things.

As for "financial literacy" - no amount of that can help you if you get sick or, worse, if you depend with your life on epi-pens or insulin. Both saw exploding prices over the last decade.

[1]: https://news.ycombinator.com/item?id=30374372
Columbo is often described as a "how catchem" instead of a "who dunnit".
As a slight extension of this line of thinking:

Every document is either "live" or a "snapshot".

Live documents have an expiry.

Documents are snapshots by default.
If our species declared Total War Against The Lack of a Martian Magnetosphere, I could see that happening. However, that implies that our species are in a state of development and coordination that would largely obviate the existential need to create a "Planet B" as people imagine it.

Thanks for the link to the blog post, I enjoyed it.
I trust hosted Bitwarden because it is open source and uses zero-access/end-to-end encryption.
In my experience, "AI can extract more information from sensors" is mostly a myth.

An example is the SCIO sensor ( https://nocamels.com/2019/03/scio-kickstarter-darling-promis... ) which was a cheap handheld spectrometer that claimed to accurately determine the nutritional information of any food you pointed it at.

One good way to debunk this is to measure raw sensor output and compute Mutual Information (which incorporates sensor noise/variability). If the sensor only produces X bits of information, no algorithm will be able to extract more classes than that. In the SCIO case it was just under 8 bits total of information. So something like a poor color sensor. You could train on apples and oranges and maybe do an investor demo, but it's not actually going to do anything useful (as the Kickstarter crowd soon learned).
But actually git does use diff and patch. It just doesn't store objects as diffs and patches. Whenever you do a cherry pick operation or rebase operation it synthesises patches. You can try yourself by cherry-picking a merge commit. What even does this mean? Well, git doesn't know either because it can't figure out how to synthesise the patch unless you tell it.

> If anything the lesson from git's success should be that the aurhor's approach (the diff/patch way of Subversion etc.) is exactly the wrong one.

The problem with subversion was not the mechanism of storage of objects. And the strength of git doesn't lie here either. It's rather the very flexible nature of its commit metadata and it's design which builds on the idea of multiple masters. This was what was stifling in subversion.

The method of storage whether of the deltas, or the individual states is trivially equivalent. You can inter-convert them if you'd like, so clearly this can't be a game changer.

But even if it were and git's approach was "The Right Thing", this would not be a lesson to learn from git when dealing with data storage because it scales poorly.

Every state transition would have to re-represent the entire state of the database. This will work fine for code, but for databases with tons of objects changing and being extended all the time it would be crazy. It makes a lot more sense to store the differences.
How about listing which fucking search engines are affected?

Guess that'd be too easy for Mozilla.
Decent insurance generally requires the purchaser to have either high premium or high deductible.
I also have definitely had this on my 2021 Intel 16” MBP but NOT on my M1 MBP. Intel is on Big Sur due to software compatibility, M1 is on Monterey.
Maybe. I don't invest enough time and emotion here to have anything substantial to lose.

I consider myself a tradesman who, naively or not time will tell, leverages a rarified skill set at market rate trying to deliever value to clients as best as I can.

Millenial enough to have no expectations of a charmed future, despite earning an annual income in the top decile, but not jaded enough to put a price tag on my soul, principles nor well-being.
I'm the only one from my immediate family that 'escaped' the poverty so about half of my gross income goes for healthcare and living expenses for my parents and sometimes siblings depending.

I won't be taking questions or entertaining discussions about the appropriateness of this arrangement. But it's not that rare and it's why I don't meaningfully save.
Like I wrote for us it was a one-off job to find and remove 6+ year old build artifacts that would never be needed again. I just looked for the cheapest solution of getting rid of them. I couldn't do it by prefix alone (prod files mixed in the same structure as the build artifacts) which is why delete.py supports patterns (the `--aws-s3-pattern` arg takes a regex).

If AWS' own tools work for you it's surely the better solution than my scripts. Esp. if you need something on an ongoing bases.
> Does GTK4 provide any viable model of development if one doesn't want to target GNOME or elementary?

It's possible to make apps using GTK3 without libhandy, so I don't see why you couldn't make apps using GTK4 without libadwaita.

Technically, libadwaita is just a bunch of widgets. Apparently it's a very useful bunch of widgets.

> Even LibreOffice has now decided to use libadwaita. Does that mean LibreOffice's GTK version is only intended for GNOME?

I guess so. Either that, or they're intending to use libadwaita in an “off-label” way.

> If yes, GTK4 is basically a toolkit for GNOME masquerading as a general purpose toolkit.

The whole reason libadwaita's widgets are not just part of GTK is so that GTK doesn't have to cater to GNOME, and can be a more general-purpose toolkit. Libadwaita 1.0 was just released last month, so presumably it will take some time for that to come to fruition.
Been using KeePassXC and syncing on iCloud / OneDrive and has been working quite well.

Using the Apple Silicon version on the MBP14" works great!
But obviously if you're an excellent janitor, you're not breaking the rule, right?

Also, I don't see anything wrong with choosing to mop the floor - especially if you're really good at it.
When choosing whether to do A or B, "this game is fun" usually leads to "why not both?".

> I feel like concentrating on the game being fun would help avoid repetitive mechanics that would be tiresome or tedious (inventory management), frequent non-skippable dialogue, etc.

These things are fun to many people. Just not you. Sometimes they are fun to me, usually not. I think "this game is fun" would lead to including more of this stuff, not less.

YouTubers in particular seem to like this kind of stuff.
I use Home Assistant in my new house, and it kind of works.
But the amount of effort needed to control a cheap wifi on/off plug did not impress me positively. It is basically one bit of information, but it goes through who knows how many layers of software and configurations. Took me a couple of hours to make it work..

I also use the standard thermostat component, which is basic beyond belief. The kind of control that is implemented in the cheapest hw thermostat you can buy. I mean, this is pure software, with 20 more lines of code you could implement a pid controller or smth. I looked into developing my own component, but the documentation for HA development also seems lacking at a quick look.
This has probably already been brought up in this thread, but you can track responses to your replies via the unofficial HN API.
Because if 1Password (to pick an example) were to be found to NOT be using encryption sensibly, the bad publicity would likely sink their company.

Security researchers pay a lot of attention to password managers.
Hey Graham -- great post! The Medtronic / Guardian sensor combo is generally disliked by patients, though (in the US) the Medtronic 770G is FDA approved for ages 2+.

Most prefer the t:slim X2 with "Control-IQ" (their hybrid closed-loop: https://www.tandemdiabetes.com/products/t-slim-x2-insulin-pu...), which is FDA approved for ages 6+, and works great.

The bleeding edge is the Beta Bionics (https://www.betabionics.com/) bi-hormonal system (insulin + glucagon), currently in clinical trials for ages 6+.
AWS has an inventory capability for S3: https://docs.aws.amazon.com/AmazonS3/latest/userguide/storag...
Russia is in control whether or when they attack. The United States was not wrong disclosing their intel. Most of the Russian military is at the border, so the threat of invasion is present. Ukraine is surrounded by more than 150,000 troops. I hope it's a bluff, but it's sure an expensive and aggressive one.
How does the Canadian government know the wallet addresses?

My assumption is that they are actively searching the financials of donors who transferred money to those addresses?

However, on the bitcoin side, what stops you from transferring your balance to a new address that isn't on the list? So this is about as effective as an ashtray on a motorcycle?
That's not at all what's described in the OP.

> If you have shared and private vaults on 1Password
A husband and wife can't be tried for the same crime!
Early Jonathan Creek is a masterpiece. In particular, the "Black Canary" special is possibly the finest two hours of television ever constructed. I often think if they had released it as a movie it would have been a hit.

I agree with you about the picture quality. Black Canary from the DVD is really very noisy and grainy - to the point where I actually made my own "remastered" version by doing some basic color correction and digital noise reduction. It looks a lot better.

Some modern televisions have pretty good built-in modes for doing noise reduction and improving the color, try experimenting with those. (Just don't leave it on all the time.)
I will recommend folks take the time to go and read the O.G. book on TDD[1] to really get a feel for what it was intended to be originally and form their opinion from there. Most of the time when I see people talk about TDD they are either cargo cultists or uninformed people.

[1] https://www.goodreads.com/book/show/387190.Test_Driven_Devel...
David Hockney’s Fruitful Isolation
For what it's worth, 1Password has a longstanding $100k bounty for capturing a flag inside a publicly available encrypted vault.

https://bugcrowd.com/agilebits
That's fair.

I guess the interesting part is that many of the people in the US want public healthcare and generally think that the international examples cover everything.
Mildly related but your love of 'illusion' like here

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

makes me think of this (possibly too glamorous) video of how I imagine HN moderation goes:

https://www.youtube.com/watch?v=uY4cVhXxW64
I had a friend with this issue on a new Intel MBP and it ultimately required a mainboard swap to fix. They covered it under warranty, however as the machine was <1 year old.