skysight-inc/HackerNews huggingface dataset:
> the vision behind the mammoth enterprise is “a world of exchange, rather than a world of conflict.” An inconceivable world, by the standards of Western imperialism, which takes the stage a century later.

I have a lot of skepticism about this story. For one, the whole idea of a man with no naval or ocean experience being put in change of shipbuilding for the largest navy ever assembled consisting of the biggest ships ever assembled. It makes no sense whatsoever

But secondly, "western imperialists" of the time would have happily told you of how their fleets sailed the seas to create a "world of exchange". East india trading company? the spice islands? the whole idea was establishing trade networks. Turns out that is pretty brutal when it gets to extremes.

More likely this is a game of chinese whispers stemming from what probably was a magnificent voyage of a rather more modest fleet consisting of rather more modest ships (eight masts, really?), similar to those understaken by roman traders to what they called golden cathay (the malaysian peninsula).

You can read a more interesting comparison of accounts here https://en.wikipedia.org/wiki/Chinese_treasure_ship

Something like the seafaring tradition and expertise to create even a tiny fraction of what is claimed here simply cannot be removed from history as thoughroughly as people are claiming it to have been
There were quite some experiments in that direction, but using music. I don't recall the name or have a link to such a study at hand (and I do question and never researched how scientific it was done) but the plants seemed to prefer Ravi Shankar instead of Heavy Metal.
Humans can also feel empathetic embarrassment, and a full range of other emotions, towards lumps of clay, ink marks on paper and things that don't exist.
> In it he describes how a parsed clang AST regularly consumes 50x more memory than the original source code!

I guess that seems like a lot but the context I'm missing is - how good could it get? I mean, if you want to preserve source locations of each token and you need to encode enough information in the AST to properly recover, what's the ideal growth factor over the original? 1.5x? 15x?
> their own employees were actively trying to warn them

This is almost always the case. But executives tend to listen to the yes-men more.
at least once the consequences are pointed out Miles Dyson stops and tries to stop skynet

Altman's cult would keep going
It’s always the line between “plugged in and just works” and “someone is network administrating the setup” - a complex network almost always has someone smoothing over the rough edges - I remember changing the order of protocols in various pieces of equipment so that everything would work happily together.
Thanks, I missed the second S and thought this was about the Signal messenger.
An in-memory data model often differs from the serialized data as it exists on disk. For example, emacs uses a gap buffer for text files; but it outputs plain linear text to disk.

Programmers often have to make software design decisions around how to represent a file in memory in order to manipulate it. For example, if I'm writing an HTML editor, should I mostly treat it like a text file (maybe a gap buffer) with syntax highlighting and auto indentation as an afterthought? Or should I maybe load the whole thing into a tree? What are the robustness and performance characteristics of each?

The commenter above was saying that using SQLite made that decision easy. He could keep traditional (or "atavistic" per the commenter upthread, depending on your perspective) load/save semantics while also making the data model easy to work with.
It would be nice to have a “part 2” of this where a more complex allocator was discussed that does more interesting things like have intrusive metadata or have heap block headers. For example, you probably do not want to hand out a pointer with a capability to alter its own heap header, but on free you’ll get that pointer back and it won’t have the capability: how do you safely use that context to modify your metadata again? How do you protect freelists? There’s lots to explore.
Putin never wanted peace through the Mink agreements, he only wanted to buy time. But US and the UK weren't wasting time either.

"Amid rising tensions between Russia and Ukraine in early 2022, Russia officially recognised the DPR and LPR on 21 February 2022.[9] Following that decision, on 22 February 2022, Russian President Vladimir Putin declared that the Minsk agreements "no longer existed", and that Ukraine, not Russia, was to blame for their collapse.[10] Russia then invaded Ukraine on 24 February 2022."

https://en.wikipedia.org/wiki/Minsk_agreements
> how few people raised on cloud can explain what IOPS are

I think you would be shocked at how few people raised in a fully on-prem world can adequately explain even that simple concept and its first-order implications.
Rust Bindgen
Have a "Read-only" checkbox. For the love of God, have a "read-only" checkbox.
I can only recommend "Scale" by Geoffrey West who covers this and equally interesting scaling laws in nature to great detail: https://www.goodreads.com/en/book/show/31670196
Ok fine. My strong reaction was really due to the use of the word "simulator".

But if you say model - yeah, central banks do that. I'm not really familiar how public their models are. I would bet you that they intentionally don't want people to know "here's the exact model and here's the exact inputs", because they want to keep some discretion for themselves. They want to be able say "I know that this model with these inputs says X, but as a thinking human being I know that the model doesn't account for Y which has been crucial in these past few months, and so instead of X we'll do Z".

What you said makes a lot of sense, but it would require collaboration from the decision makers. There's no incentive, I believe, for someone to do this "open source stye", because the moment that their effort pays off, some hedge fund will take it and use it to trade on it.
Well it should be a dictionary lookup, it should be pretty fast and predictable. And for freeing it up, it should be a good candidate for reference counting.
Because Xorg is broken and Xwayland works well enough as a translation layer to tide everyone over even if it's not ideal.
An OCI image is pretty simple, yes, so is the sort of image that is in an OSTree repository. The difference is that when using `rpm-ostree` packages installed with `rpm-ostree install` are "layered" on top of the base image, while packages in the "base image" (be it OCI or OSTree) are part of the system and thus not "layered".

Adding packages in an image has the benefit of pseudo-reproducability (have the same image on multiple computers) and the added robustness of your base system being built elsewhere daily. Your computer just pulls the diffs. For example, there have been issues with rpmfusion on Fedora that ublue users completely avoided. Codecs & other essential rpmfusion packages are included in the images, and the rpmfusion repository is removed after they are installed. This way, if something package-related breaks it breaks at the image build stage, and an ordinary user wont even notice it before it is fixed.

The most noticeable benefit IMO, though, is being able to ship the same changes on top of a base image every day for multiple machines. This is not only packages, but for example udev rules, and other QoL things like our `justfile`s, configuration for https://just.systems/ that has some useful scripts for adding the kargs necesarry for Nvidia drivers to work and `just update` for updating the system, flatpaks & distroboxes.
Chrome using WebKit is probably the single largest non-cash payment given to Apple in the history of the world.

Safari has already some inroads in mobile but chrome pushed WebKit to the forefront renderer.
To be fair though- that guy definitely has a genuine interest in bikes, and the prices are way lower than for classic cars.
That's the government's job!
Only approximately 45% of clients support IPv6. Clients that don't support IPv6 can't talk to IPv6 servers. Depending on your target market, that might be as high as 70% (India, France) or as low as 0.2% (several african countries). Today most of these devices will have some form of IPv4 connectivity, though it's often through NAT, which is slower and problematic for P2P like games.

https://www.google.com/intl/en/ipv6/statistics.html#tab=per-...
If you retry your write several times and it doesn't succeed you can tell the user it is a persistent failure without agonizing too much over the diagnosis: it is persistent enough to be a significant problem, even without proof that it is an application bug.

Who would attempt to make concurrent writes to an application document format? And how wouldn't such an attempt be a user mistake? Failing to write is the solution, not the problem.
Maybe there is a market for iphone 15 cases that correct the loss of rotational inertia by adding weight around the phone.

Potentially there even is a secondary market of YouTube reviewers that discuss handling properties of lead vs tungsten cases.
I have never been to a great Swiss restaurant. They're ok. I eat much better in London and Paris, as a rule.
> 464xlat allows communication from ipv6 only clients to legacy ipv4 ones without the need for a separate stack on your end device

> nat46 allows communication from a legacy v4 device to a modern v6 device without the need for a separate stack on your end device

How does that work if your ISP doesn't support IPv6? Can an OS developer deliver IPv6-only OSs to any end user? How about v4-only VPNs? Ultimately the answer is that devices must support both IPv4 and v6 until the day only one remains. Keeping both active at the same time may be more optional, but there is plenty of software which assumes IPv4 at other layers than simple connectivity. So running IPv6-only is generally a bad idea even today.
Quite a bit depends on how the codebase has been written and what era are you looking. Before Java 8/9 or after it. Java code written in the recent era is pretty lean and mean.

No matter the amount of abstraction though, one rarely runs into the sort of issues in Java that Go code tend to run into frequently - causing multi-million dollar mistakes frequently even for experienced Go programmers. For loop semantics https://bugzilla.mozilla.org/show_bug.cgi?id=1619047, Unintended variable shadowing, common mistakes in slice appends/copies, slices and memory leaks, defers inside loops, nil interface vs nil, panics in go-routines. There are loads of bugs in OSS projects wrt to these usually repeated again and again.

Go is very simple to learn and very hard to master writing bug-free code. Looking forward to seeing how languages like Rust perform if/when adopted by enterprise.
We're working with the Morello processor and have had to wrestle a bit with allocation from a block based allocator: https://medium.com/thg-tech-blog/morello-and-memory-pools-91...
I'm with you, I think that Dart is very sensible and very underappreciated language. But he does have a point in saying that currently Dart is tied to Flutter. Google is presenting Dart as a language that you write Flutter with, not as a separate entity. I'd much prefer if Google would present Flutter as a GUI framework for Dart, but alas. Perception is everything. As much as I'd love to start my next project in Dart I probably won't because I can't be sure that Dart won't end up in Google's graveyard in next couple of years whereas I'm pretty sure that Go won't.
One of the learnings lately has been that when you think about access control, it is combination of the downstream access control mechanism + a network layer grant to access the resource. For eg. If you want to access a server or host, you have some authorization to SSH into it but also by you have network access only to that server or host from your source and then authorization is revoked also the network access to the server or host is revoked too.
I think we both agree that people who learn new skills only once per generation are not gonna make it. That's what I meant by "skill issue"
“Time to download your storage” is an interesting metric, and it certainly takes longer to fill a terabyte drive from a 1gb/s connection that filling floppies with a modem.
I have spent hours trying to find what I believe must be a memory leak in snowflake's python client that seems to make a query that gets the serialized data (<10GB) locally in under 10 seconds, but requires over a minute to return to the caller. So, yep, this has been my conclusion too!
Both are true. 99.999% of users won’t connect external storage or a monitor. Personally I feel like I get nothing with the shift from lightening to USB C other than having to toss dozens of perfectly good cables and buy new ones that will achieve the exact same thing.
Sorry for your experience. I’m not going to be very helpful, but nonetheless…

This should be a solved problem, but isn’t. Looking at the code alone is only effective if there is some hint as to the context — the runtime environment. And, that only works if the runtime context doesn’t include “wet” components (people doing manual things).

A short shell script may look simple, but is it dependent on running inside a Linux container on CodeBuild with certain storage and cache, permissions and base image? Those are all knowable, and should be discoverable in the codebase, but typically aren’t.

On the other hand, this is a perfect AI/ML problem - “On a scale from 1 to 10”, how f*ked up is this codebase: …”

Maybe with large enough context windows we could get answers. ;)
Nothing an individual does moves the needle. I'd be curious about the effect of showing to billions of people that this was all bought for one time use versus showing a hackerspace where you get, use, and then return your components. (Though, a single video is not going to move people's needles, it's again/always about collective changes...)
> Turns out paying the barbarians to leave you in peace is significantly cheaper than the taxes for the army (by the end almost entirely staffed by the same barbarians) to protect you from them.

If you do not want to pay for your own army you will be paying for someone else's one.
Can we FINALLY somehow make IPv6 real? Like, don't license the "Internet" providers that don't provide it?
I really loved Why We Sleep by PhD Walker. It's not specific about the brain, but it does go over how sleep improves memory and learning
Where is that clear?

I assumed they were compliant with the WASI specifications.
Done now; thanks for the note!
So they added a new plugin? cool. The XBMC system is pretty flexible with its plugins. Does it use a library for it to know the movie you are watching and the amount of time to skip? Or is it just a fixed time skip?
Thanks! I can see that it's 7pm, but what timezone exactly?
This is done now, thanks for the suggestion
https://news.ycombinator.com/item?id=37548156

https://news.ycombinator.com/item?id=37551892
Hi James! Love your implementation of instagram stories, I had the same idea but never got time to implement it. Looking forward joining of your meetups.

BTW my website is https://bojanvidanovic.com
That's fair, I wouldn't standardize on a 1-year-old database.
Most of the applications that could communicate peer-to-peer use relay servers that make delay and scalability worse. Some combinations of NAT may sometimes work without a relay server, but figuring this out is complex and increases connection setup time. Every early SIP/VoIP user had the 'the connection only works in one direction' experience, usually caused by NAT.

A CGNAT is a stateful component which makes it expensive to operate. Failover to a backup is hard, as is scalability with this kind of components. And then there are legal requirements. You have to know what user had which IP address at a given time. I'd rather invest in dual stack instead.
Yeah what if? Then they haven't really understood the purpose of markup languages as plain text files for viewing/editing using generic text editors. There was no lack of proprietary formats such as MS Structured Format (used by MSO) and it was considered a big success when customers demanded open formats such as SGML/XML-based ones in late 90s/00's. The alternatives aren't even sequential (have fragments and cross pointers, etc). Yes they might be faster because they're closer to the in-memory representations as used by the original/historic app or even primitive memory dumps; marginal speed or size improvements were never a consideration though. And if anything, SQL (almost as old as SGML btw) is a joke as document query language compared to basically any alternative specifically designed for the job (ISO topic maps query language ie. Datalog, XPath and co, SPARQL, DSSSL/Scheme, ...) because of SQL's COBOLness, non-schemalessness, lock semantics/granularity a really bad fit, etc.).
In the United States, burning banknotes is prohibited under 18 U.S.C. § 333: Mutilation of national bank obligations.
> transform continuous SRE/devops opex costs into developers capex investment

Would you mind expanding/educating me on this point? When I think of capex I think of “purchasing a thing that’s depreciated over a time window”. If you’d said “transform SRE/COGS costs into developer/R&D/opex costs” I would’ve understood, but eventually the thing leaves development and goes back into COGS.
I’m out of my depth here, but my research said Tiantong-1 and that that’s geostationary. Adding the keyword BeiDou I do get a few results too, but it looks like BeiDou is GNSS, so I think those might be errors?

Anyway, my point was just that this stuff isn’t equivalent to Starlink. For what satellite phones do, GEO or whatever similar is fine, but the appeal of Starlink certainly requires that it be LEO.
Thank you. That’s very impressive!
Sadly they did not include bad sides:

1) Vulnerabilities: not only in SQLite, but also in wrappers like https://nvd.nist.gov/vuln/detail/CVE-2023-32697

2) Lack of transparency: zip with xml's contains only xml's; meanwhile SQLite contains by design all kinds of traces with sensitive information or empty blocks. Attempts to fix these issues removes benefits that were mentioned.

3) Lack of implementer support. It was one of the reasons for WebSQL deprecation many years ago.

4) Lack of standardization for file format. SQLite does not even promise forward compatibility, only backward one. Which means that new documents might not open in old software, or vendor should fork SQLite and only backport security patches.
Cash for the win.
Not to mention that predictive text on mobile keyboards is also AI. SwiftKey used a neural network to suggest the next top-k words a decade ago and now all mobile keyboards do it
Unnecessary pedantry.

> All of the grammar tips that Word and other English language editors give you, or context-aware spell-checking? Those are already (or soon will be in the worst case) using AI.

Will you also count any ML algo that recommends some book, podcast or video which affects what the author writes? How far back do you want to go?

In practice "using AI in writing" means a simple thing: "you give a prompt and get text written for you".
The idea here is not to understand why some combinatorial problems are hard and others easy, but rather to just be able to distinguish between them. So, instead of understanding why the measure functions structure the solution spaces the way they do, treating them as black boxes and examining the structure they provide to the solution space.
> Any meaningful technology is open source.

Clearly untrue, however FoundationDB is open source, with a permissive license.

https://github.com/apple/foundationdb

So is much of the operational tooling for it:

https://github.com/FoundationDB/fdb-kubernetes-operator
The DOJ's Antitrust Lawsuit Against Google Is a Loser for Consumers
Oh! Gotcha. I tried replacing nitter with Twitter in the URL and it loaded fine. Did it time out for you?
You’re adopting an almost religious dogma about this. At the end of the day, it’s a dollars and cents decision.

During development and growth of services, cloud makes total sense as you abstract the capital costs. If you’re a startup making Uber for cupcake makers, you’d be dumb to do anything else.

Depending on your needs, once things settle down, it’s often cheaper and more effective to capitalize your costs yourself.

It’s akin to a car. If you go somewhere for a day or two, Uber makes sense. For a week or more, rent a car, for a year, you probably want to buy or lease a vehicle.

Again, it depends on you. For me, I have large workloads running in GCP and Amazon. But 80% of the production I’m responsible for is “on-prem”, because it’s about 30% cheaper. YMMV
WASM-Cookies-Rs
If most of what was written wasn’t utter tripe the “tech bros” would probably value it more, lol.
Yes, chilis should be dried out before you use them. For me its been shelf-stable outside for 2-3 months. Obviously, with botulism you would smell it right away if its off.
So that's a tough "bug". Wayland provides the API, and they are enabled in KDE/Gnome/etc, and Electron is wired up for it.

However, how do you convince Discord to update their bundle version of Electron?
I've had some fun trying over-date packaged foods a few years back. Regular store bought stuff. Personal record: a >25y old can of fruit cocktail - still edible. Conclusions:

For dry / packaged goods (dried beans, lentils, pasta, rice, spices, toast, etc) you can basically ignore the best-before date. Sugar (or -syrups, honey) & salt keep indefinitely.

'Wet' stuff, as long as sealed hermetically (like canned goods, shelf-stable drinks etc): similar. Seal broken: all bets are off. Use eyes / nose / texture as indicator, or don't risk it.

Long storage of these isn't a safe-to-eat, but a quality issue. Taste, sometimes texture, and vitamin / nutritional value deteriorates over time. 'Wet' stuff generally faster. Up to a point where you're left with tasteless calories with 0 vitamin content (but still safe to eat!).

Also: say you have 5y worth of food stored. Then you'd need to replace that vast amount of food semi-regularly (like use 1y worth, give away & replace the rest), which is very costly. Or consume everything yourself (FIFO). In which case a 5y's worth store would mean eating -on average- 5y old food. Not to mention the cost/waste if that supply is somehow lost (flooding, housefire, bugs, rodents, whatever).

Imho a 1 month up to 1 or 2y supply is a better compromise. Modest space/$ investment & most stuffs can be eaten within their BB date. But enough for peace of mind or ride out a wave of economic / social mayhem. Add some vitamin pills if you're worried about fresh fruits/veggies remaining available.

I've grown my own food at times. And imho substinence farming is underrated. But as a hedge against catastrophy? No. Do it for fun, do it if you have a large garden & like your independence. Or prefer the organic-everything & knowing where your food comes from.

Otherwise just buy food in bulk & stuff it in cellar (or wherever).
The people I know who would come home way after dark never worked for black companies, it's common to work that way in almost every area. And in education too - at my stepson's university the students were expected to stay in the lab until midnight, just to "show effort". Totally crazy.
Anyway, I'm glad to say that both my stepchildren married for love, not for anything parent/family-related. As far as I can tell the younger generation is quite different from earlier generations - which weren't all that bad everywhere either. However, the working conditions have not changed as much.
... are you serious?

You don't think military invasions & communist dictatorships constitute "wholesale violation of human rights at a massive scale"?

If the NSA is spying on people, that's an invasion of their privacy, but it is nothing in comparison to those other violations