skysight-inc/HackerNews huggingface dataset:
I just wrote a longer piece, but deleted it because I realized what I was thinking.

I think this is the right way around, because I lean towards the "technically correct" side here. "Technically correct" always carries a bit of an ivory tower snobby attitude to me.

After all, the tech I'm working with has proven and working client side load balancing and retries, so there is no server side load balancing necessary. That's technically correct if you observe the system in isolation. And it's also correct that the bad software interfacing with it should fix their implementation.

It's just not correct in practice if terrible software, implementation bugs, or all manner of things beyond a simple, correct implementation start interfacing with the system. Then even a technically or clinically or theoretically correct system will fall apart because there's mud in places where mud shouldn't be able to get to. After all, a patch in a month won't help me with a preventable outage tomorrow.
Nah. That little slice of their P&L also includes a lot more than App Store revenue. AppleCare, Apple Music/TV purchases, rentals and subscriptions, Books, Apple Pay fees, Google Search revenue and whatever else you can plausibly call a service under umbrella in addition to App Store revenue.

They don’t break out the exact mixture, but we know the Google Search deal is an enormous chunk of it.
Part of that is because starlink shells are lower down than many other satellites. You are never going to have a GPS satellite or a GEO stationary one be the nearest to you because there is always going to be lower satellites nearer.
> i think you're romanticising things.

I don't think I am. As a user, I could use Pidgin or Gaim and talk to my friends across every service I used. This only stopped when companies started consciously working against these efforts. Discord explicitly and openly banned third party clients. They didn't have to do so. It has nothing to do with standards and everything to do with companies becoming aggressively and openly hostile towards anything that isn't directly under their control.
Thanks for the tip! Need to take a look.
The last time I used it for serving multiple WordPress sites and realise having lengthy YAML can be hard to maintain, and I read that mruby can impacts the performance. Their alternative, picohttpparser that V langauge uses on Techempower benchmark is fast but not useful for real world.
Brokered transaction with a known counterparty.
The "train" is only visible for a week or two after launch. Once the satellites get to their operational orbits they are not visible. So you'll never see the thousands of satellites that are up there; they can't possibly ruin your view of the night sky.
They might get the name to fit in that field but what are you going to do about date of birth??
I don't understand this line of thinking. Even if Apple were to build an iMessage client for Android, do you really believe that the average Android user would install it just to have conversations with those particular users? How would they even know that a user is on iMessage without it already being their default SMS app? Is Apple then really obligated to build an Android app that can facilitate base-level SMS conversations? How is that good for their business or valuable to their customer base?
Could be very large, even close to 1, depending on how you react to it
I guess while we're talking about useful CLI options for chrome, developers and hackers might enjoy this one... You can disable CORS in Chrome if you launch it from the command line with this switch: --disable-web-security

That's handy for when you're developing a front end and IT/devops hasn't approved/enabled the the CORS settings on the backend yet, or if you're just hacking around and want to get data from somewhere that doesn't allow cross domain requests.
FTX to Sell Two-Thirds of Anthropic Stake for $884M
Houdini and the Art of Escape (2020)
Let’s say there’s a hypothetical world where Safari had 90% market share like Chrome does. Would the fact that WebKit is open source make a difference? Chrome is to Chromium as Safari is to WebKit after all.
Principal Skinner: Superintendent, I hope you're ready for mouth-watering hamburgers.
Superintendent Chalmers: I thought we were having steamed clams.
Principal Skinner: Oh, no, I said, "steamed hams." That's what I call hamburgers.
Superintendent Chalmers: You call hamburgers steamed hams.
Principal Skinner: Yes, it's a regional dialect.
Superintendent Chalmers: Uh-huh. What region?
Principal Skinner: Uh, upstate New York.
Superintendent Chalmers: Really. Well, I'm from Utica and I never heard anyone use the phrase, "steamed hams."
Principal Skinner: Oh, not in Utica, no; it's an Albany expression.
Superintendent Chalmers: I see.
Rolling versions: A new standard for API versioning
> I'm honestly having a difficult time creating a steel man js sample that exhibits data races

I can give you a real-life example I've encountered:

const CACHE_EXPIRY = 1000; // Cache expiry time in milliseconds

let cache = {}; // Shared cache object

function getFromCache(key) {
const cachedData = cache[key];
if (cachedData && Date.now() - cachedData.timestamp < CACHE_EXPIRY) {
return cachedData.data;
}
return null; // Cache entry expired or not found
}

function updateCache(key, data) {
cache[key] = {
data,
timestamp: Date.now(),
};
}

var mockFetchCount = 0;

// simulate web request shorter than cache time
async function mockFetch(url) {
await new Promise(resolve => setTimeout(resolve, 100));
mockFetchCount += 1;
return `result from ${url}`;
}

async function fetchDataAndUpdateCache(key) {
const cachedData = getFromCache(key);
if (cachedData) {
return cachedData;
}

// Simulate fetching data from an external source
const newData = await mockFetch(`https://example.com/data/${key}`); // Placeholder fetch

updateCache(key, newData);
return newData;
}

// Race condition:
(async () => {
const key = 'myData';

// Fetch data twice in a sequence - OK
await fetchDataAndUpdateCache(key);
await fetchDataAndUpdateCache(key);
console.log('mockFetchCount should be 1:', mockFetchCount);

// Reset counter and wait cache expiry
mockFetchCount = 0;
await new Promise(resolve => setTimeout(resolve, CACHE_EXPIRY));

// Fetch data twice concurrently - we executed fetch twice!
await Promise.all([fetchDataAndUpdateCache(key), fetchDataAndUpdateCache(key)]);
console.log('mockFetchCount should be 1:', mockFetchCount);
})();

This is what happens when you convince programmers that concurrency is not a problem in JavaScript. Even though this cache works for sequential fetching and will pass trivial testing, as soon as you have concurrent fetching, the program will execute multiple fetches in parallel. If server implements some rate-limiting, or is simply not capable of handling too many parallel connections, you're going to have a really bad time.

Now, out of curiosity, how would you implement this kind of cache in idiomatic, lock-free javascript?
> There was a mentality years ago that the iPhone was the good hardware plus a bunch of apps -- but over time many of the most important apps have been built in apps / services from Apple directly

I don't think this was ever correct. The iPhone has always been strong on good hardware and software working together.

The "wows" of the original iPhone announcement were things like slide to unlock, pinch to zoom on images, and rotating the iPod app to get cover flow.
I’d argue you’re vastly over complicating it.

There’s already mechanisms to side load, and install IPAs..

Why would it be more complicated?
Imagine if, say, English people normally wrote an open ‘g’ and French normally wrote a looped ‘g’, and you have the essence of the Han Unification debates.
Yes, I eventually had it give answers for each of LEO, MEO, and GEO just because it got extremely boring having "STARLINK" almost always be the answer.
It might have something to do with the shape of Earth's magnetic field lines and the way they extend away from the sun but are compressed toward the sun. Aurora, in turn, is caused by the spiraling of charged particles that are captured in these field lines and since the field is stronger on the dark side of earth it seems reasonable that you would see more particles on the dark side. We're casting a wider net there.
> Or there is another reason? Maybe muscles are not completely functional?

People using the device probably haven't been able to use the muscle in question for months or years.
"He who breaks a thing to find out what it is has left the path of wisdom." — Gandalf speaking to Saruman
"Expecting basic programming ability" isn't elitism, sorry
The Future of Computer Science (2018)
In the context of Condorcet's jury theorem, the percentages refer to the chance of voting for the correct outcome. Think of a legal trial and there is no ambiguity about the meaning of "50%" is.
I would guess that the majority of Services revenue is from the App Store, and the majority of that is casino games for children.
As an observer who has used async/await in other languages (Javascript, Swift) I'm really confused why this is such a contentious topic in Rust. swift-concurrency has had its issues as well, but almost everyone I know finds it way more ergonomic and useful than how things were done before. As someone currently learning Rust, is there something particular about the language compared to how Swift did it? Outside of HN I would not know this is such a controversial topic.
The semiconductor industry hinges on a quartz factory in North Carolina
Show HN: A tool for multimodal model evaluations
We make it easy to run and share evaluations of multimodal models.

Most tools focus on language models (LLMs); multimodal models deserve their own evaluation tools. We believe it should be easy to compare models & publicly share evaluations.
Secular? I mean, it's not conventional 19th century cathedral design, certainly, but it has more religious symbolism than you can shake a stick at.

Gaudi himself was deeply religious; this wasn't just the church commissioning a famous architect for the sake of it or anything. It was very much a labour of love for him, AIUI.
> feel free to have different versions of python installed side-by-side with some "main" version preferably symlinked as `python` and `python3`

This is what pyenv does.
Or just standardise the alphabet...
I agree that a marketplace of ideas is indeed the solution to the information asymmetry problem. I think we need to change the web so that nobody but the user has authority over which data is displayed in context with which other data such that platforms cannot prevent critical annotations from appearing next to content (or annotations that simply remove that content)... supposing the user has opted into those annotations. I'm working on such a protocol.

As for the incentive problem... Imagine that I'm a grocer and I live in a place whose ground water is being poisoned by a nearby mining operation. The mining company employees are showing up in my grocery store and expecting that they can exchange their salaries for food. But it's not in my interests to give them that food because it's going to enable them to stick around and continue poisoning my tap water. Maybe their behavior is illegal, but I can't really wait the years that it would take for the legal system to get around to doing something about it. Or maybe I live in a place where I don't trust the legal system to actually do that, I dunno.

Pardon the contrived scenario, it's just easier to talk about hazards like this if you've got characters to reference.

So I'm this grocer and my tap water is now poisonous, and there's only so much bottled water in town and I need immediate recourse which ideally doesn't involve violence. So I get together with the other people in town and we track down the entity/loan which issued the money which these miners are trying to use to buy groceries with, and... here's the answer to...

> what's your alternative?

...we disable that money for all uses except getting the hell out of town. We just collectively refuse to accept it. It would be like how nations wield sanctions against each other, except anybody can do it. It would be like, a wallet setting or something.

It's sort of like how we currently ship operating systems with a pre-populated list of certificate authorities, but maybe we could instead leave it to the user to populate that list based on who they actually trust. Except instead of the validity of SSL certificates we're talking about the validity of money. Instead of certificate authorities it would be governments or banks or publicly traded companies, or cryptocurrencies or issuers of collectible playing cards, I don't know... assets.

Being sanctioned by the masses would be a disaster for such entities, so this would create incentives against issuing money-like abstractions to people who are going to use it for evil. It's a way to get the banks to take some responsibility for their actions which does not create incentives to find things that should be illegal but aren't yet and exploit them asap.
In turbulent times, the tallest grass gets chopped first.

But also, a few megacorps increasingly occupy increasingly numerous facets of lives of billions of people and should be carefully monitored so that they don't abuse their power.
Probably an easier argument to sub out the acquisition of WhatsApp instead.
"Just call the dropTab() function and watch as your webpage transforms into a brilliant galaxy of colors and sounds!"
I don't know... the ability to write code to solve an otherwise ill-suited problem seems pretty general to me. It seems like a big step in a concrete direction, as opposed to a lot of Goedelian navel-gazing about arithmetic and Peano axioms and whatnot.

Agreed that generalized architectures will ultimately win out over hand-tweaked ones. But the patent wars that will eventually be fought over this stuff are where the real bitter lessons will come into play. At some point, we'll be forced back into the hand-optimization business because someone like OpenAI (or another Microsoft proxy) will have locked down a lot of powerful basic techniques.
If someone cracked Bitcoin, why would they publish a press release? What's to market? Just make the money directly. It's like selling bitcoin mining machines. If they could possibly make money (depending on $/kW), it makes no sense to sell them.
I worked with a fairly large code base which leveraged threads to avoid having to use callbacks in a C++ code base. This allowed the engineers to use the more familiar linear programming style to make blocking network calls which would stall one thread, while others were unblocked to proceed as responses were received. The threads would interoperate with each other using a similar blocking rpc system.

But what ended up happening was that the system would tend to block unnecessarily across all threads, particularly in cross thread communication. These were due to many external network calls being performed sequentially when they could have been performed in parallel, and likewise cross-thread communication constantly blocking due to sequential calls. The end result was a system who'd performance was just fundamentally hobbled by threads that were constantly waiting on other threads or series of external calls, and it was very difficult to understand the nature of the gordian knot of blocking behavior that was causing these issues.

The main problem with using threads is that the moment you introduce a different cpu into the mix you need to deal with synchronization primitives around your state, and this means that engineers will use fewer threads (at least in our case) than necessary to reduce the complexity of the synchronization work needed to be done which means that you lose the advantage of asynchronous parallelism. Or at least that is what happened in this particular case.

The cost of engineering synchronization for async/await is zero, because this parallelism happens on a single thread. Since the cpu "work" to be done for async/io is relatively small, this argues for using single threaded 'callback' style solutions where you maximize the amount of parallelism and decrease the amount of potential blocking as well as minimizing the complexity of thread synchronization as much as possible. In cases where you want to leverage as many cpu's as possible, it's often the case that you can better benefit from cpu parallelism by simply forking your process on multiple cores.
> In general terms, I would think it’s possible to not calculate the entire hash to see if it starts with the required numbers of 0 for bitcoin but to break early and thus save time/energy.

... no? That's the point of the hash function, that you can't compute it without computing all of it. This statement is equivalent to breaking the hash function (very severely), which lots of thought has gone into.

Granted, if you do have a break for SHA-256, arguably one of the best ways to commercialize it would be to secretly mine Bitcoin much faster than others.
What are your favorite changes?
> I guess exaggeration is what "influencers" do, and that's what he is at least trying to be now.

Regardless of the rest of your story, this made me chuckle a bit - since Dave went from signing off his YouTube video’s from “I’m only here for likes and subs” to “I’m mostly here for the likes and subs” and started accepting sponsored products.
We deploy little apps internally. Users have low latency on the network - even home users we steer to use ISPs we know have low latency. I've found that speed can make a difference in user like for an app. Even going out to google etc I'm currently at 5-6 ms.

Some things we might have 1000+ checkboxs to work through on a checklist (cut down by some initial tailoring steps). Even things with a small wait on a click etc are frustrating. If you can drive using a keyboard shortcut and get very immediate response you can really move through things.
Loved the fly!
I really and truly do wish this wasn't true, but it is. Part of this is because we've built an expectation that the only thing one needs to pay for to use services connected on the Internet is access, and once access is paid for, the problem is solved.

But that's not the case. Products cost money, and we've established a pattern of free to play to freemium for much of the most popular services. This could change, but it would take the major players to flip the script, and they've invested so much into ad systems that they'd be hard pressed to abandon it.
When getting a new part, just have that conversation with the supplier that it's good to plug in with the cables you have. Of course this is on EVGA and I'm not saying this isn't lack of due diligence but being paranoid might have helped this guy keep his data and he'd have an extra paper trail.
General Motors was nationalized at the time.
Exactly. The proof they did not actually crack Bitcoin is the fact they said they did.
For what it’s worth, this is an excerpt from a book, not a piece by a journalist say, summarizing someone’s study.

The author (Toomey) is Professor of English at the University of Massachusetts, Amherst, where he teaches courses in writing and in the history of science.
GOOD! About time!
It’s kinda far from Detroit but I thought Ann Arbor was one of the nicest college towns I’ve ever been to.
I wouldn't say the brain has no checkpoints. Certain events (like concussions or stroke) can knock out memories or habits and result in roughly what was some months or years ago. Also, certain things like Dissociative Identity Disorder can result in past/younger versions of yourself splitting off and halting development for years or more. Then they can come back up later.

With that said, I don't think anyone really has control over this. I'm a DID system and I have some sort of limited control but my time skips are usually on the order of days or weeks, not years.
on Mac OS I just do

brew install python@3.8
brew install python@3.12

and pick whichever one I want symlinked as `python` and `python3` (I think the last one you install is the one that gets symlinked, but you could always change those links yourself manually)

on Linux it should be just as easy to have multiple versions side-by-side

it's been a while since I've done something similar on Windows but it's also possible (although I think I would prefer to use WSL if I were on Windows these days)
I dropped Windows instead. I decided to splurge on RAM when I built my PC a couple years ago, because I like to run lots of VMs simultaneously to test things out. I also use source based package managers which can use a lot of RAM when compiling things in parallel. I have half as much RAM as you, and it feels endless.
Nice! I was going to say that using experimental headless mode with the "User-Agent Switcher for Chrome" plugin might work too.
I rarely download apps these days, but the ones I do are important: my car app, bank security code app, spotify app, Sonos app, just things I need for devices I own but are otherwise free.

I would be perfectly happy with a device control ecosystem rather than an app store. It might actually be a better experience.

I'm surprised the US didn't go after airtags. This, to me, is the number one reason for owning an iPhone, and something that can't be replicated on Android. Apple is really leveraging their market share here in a way that Android doesn't (for some reason, they totally could and should).
> Even if Apple were to build an iMessage client for Android, do you really believe that the average Android user would install it just to have conversations with those particular users?

Absolutely yes. Apple could also make the Android iMessage app fall back to SMS (IIRC the Android FB Messenger app does something similar) if the user wasn’t on iMessage if they wanted to.
"Company claims they can beat the market. Just needs a small up-front investment to start winning big."

Clearly if this company had a way to generate bitcoins more cheaply than anyone else, they'd just mine the bitcoins.
"Hosted cloud-ish deployment for people who don't want to be their own sysadmin" would, one would hope, be of interest to a bunch of the target market.

Whether that's a viable business or not, search me, bub.
Show HN: Versatile email infrastructure on AWS serverless
It's a self-hosted mailbox for all emails coming to your own domains, with Web interface and CLI included.

Notes:

- all emails share the same inbox, as long as set your DNS correctly

- Web client via self-hosted Docker or Cloudflare Pages

- need additional access controls, may use Basic Auth or Forward Auth with Cloudflare deployment
High Risk AI and GDPR
Ensuring fairness means measuring fairness: how should we balance data collection in the name of ethics?
I'm interested in the notion of identifying "critical" CSS that should be inlined rather than live in its own stylesheet.

I was hoping there was some principled way of identifying critical and non-critical CSS (e.g. user interaction effects like :hover would always be considered non-critical), but it looks like the library it's using just tries to render your page and do a best-effort detection on which rules are considered critical, which IMO is a little unsatisfying: https://github.com/GoogleChromeLabs/critters
It boils down to the DoJ wants to force "Super Apps" like WeChat. That is something I absolutely don't want because then everyone will be forced to use it, like in China. Super Apps are what's intrinsically anticompetitive.
Did you use Multi User Forth?
there are 4tb sd cards now.... I paid like 200 bucks for an 8mb usb stick 20 something years ago.
Most of the population lives below 53 deg. It makes sense to put the satellites there instead of having them bunch up near the poles. They also have 70 deg planes that cover most population centers. In future, they are planning planes at 42 and 48 deg that can better cover lower latitudes.