skysight-inc/HackerNews huggingface dataset:
Why not? Preferring the first rule, after seeing a you expect Str a; after seeing another a you expect Str a a; after seeing the third a you expect Str a a a (and you can already realize it cannot match) so after some backtracking you match the third a with the second rule instead, expecting a a, which are the fourth and fifth a in the input.

Do you have a different parsing algorithm in mind?
Right, a great number of companies would absolutely fly on the userbase of most of the apps on killedbygoogle. Some of these had hundreds of millions of users when google turned off the lights.
> when I wrote that grammar, I meant it is CFG. Simply because my brain thinks in terms of CFG.

> I blindly converted grammar above to Haskell code.

> But then I accidentally discovered my grammar was ambiguous!

You wrote an ambiguous CFG, implemented its parser, and then discovered that it was ambiguous.

Would the CFG have become non-ambiguous if you took your advice and avoided parser combinators?

This makes me really want to avoid the CFG step altogether.
Can relate. We mostly play 0.1/0.2 or 0.25/0.50 but I've seen a friend of mine spend 700 bucks in a game while the rest, at most, 100. It makes it very unbalanced but everyone finds it fun to see the big stacks guy lose it all.
To be honest I don't think anyone will really care too much about Google killing a VPN product there's probably companies out there better suited to offer this as a service. I think the one that still bothers me and I think was a big mistake considering there cloud computing platform was Google Domains. Wasn't that profitable product and perfectly suited to be fully integrated into GCP?

Edit: As someone else has stated it's good that they try things and try different products and I think it's good that they shutdown products that they are not good at running
Given that the author works at a large company, that has millions of machines, and where any swap change has cost implications in the tens of millions pounds, I suspect the article is based on data, rather than vibes.

Swap is less critical now, and given that k8s has some pathological dislike of it (again I suspect based on vibes) I can see why people dont have it.

However when you are using close to 70% of your total ram, swap improves performance significantly. Also where I work, it also stop the OOM from killing my repo VFS layer when I'm compiling something.

> The core problem with swap is that nowadays you need gigabytes of swap to actually make a difference

It was always the case. but then a TB of disk isn't that expensive anymore.
AFAIK, even using a UUID is still considered PII if it uniquely identifies the user.
If no one is hired then the employers don't have anyone to buy their stuff. Employers only do well if they provide someone else a useful good or service.

What's more likely - not that AGI is likely, but still - is that people move into other jobs. In 18th century Europe almost half the population were agricultural labourers. Mechanisation reduced that drastically. That did not mean that other jobs weren't created.
After a short glimpse, it is hard to tell if the allegations are true.

With other short sellers, the story was easier to understand and verify,e.g. Chinese plane ticket sellers where it turned out basically impossible to buy a plane ticket. I also found the allegations against Wirecard in Hackernews plausible, since such a complex network of companies rarely has legit applications. But Lasertec Corporation, I don't know.

E.g. :"Sources indicate that customers – presumably Intel - who claim to use Lasertec’s EUV tool are secretly using its old DUV system instead; that TSMC is running parallel, redundant inspections with non-EUV tools and has reverted to the DUV-based inspection process it used prior to Lasertec; that the market window for actinic EUV mask inspection is rapidly closing, as the next phase in EUV is High NA, which requires an electron beam solution, as OPC patterns and sub-resolution assist features (SRAF) are smaller than 13.5nm and cannot be
detected with actinic EUV light – leading ASML, KLA, and others to develop multi-beam inspection tools for High NA masks that render the ACTIS tool obsolete."

A lot of claims, very little beef. And why should Intel "secretly" use other equipment? Are they a stakeholder in Lasertec? All the allegations are possible, but not convincing, as laid out.
Microsoft | Senior data engineer, AI for Science | On-site: Berlin, Germany

Interested in driving the engineering side of a large-scale data operation in computational chemistry that unlocks AI for science?

https://jobs.careers.microsoft.com/global/en/share/1722721
I love the direction they're moving with all local bridges!
With the advent of the digital video era, frame grabber as a kind of peripheral device, that captures a single frame from an analog video signal and stores it as a digital image under computer control, plays a seemingly small but crucial role in digital visual presentation.

What is the history behind frame grabber? What's it for?
Let's explore more about frame grabbers https://www.eyecloudai.com/
how can we contact your grandpa to win him as an early adopter? :)
I don't think any "common way" of this kind really exists. In my country, the common way to write "second" ("a doua") is either II or II-a (so using roman numerals). In French, either 2eme or 2e are the common ways. I've never even seen this "2." spelling for ordinals.

Regardless, my point was that Chinese spelling is not as universal as it is made out to be, that different Chinese dialects/languages just use the Standard Chinese spelling, even when it doesn't match their own spoken language, just like a French person using "2nd" to spell "deuxieme".
So what are these males identifying with then?
Ask HN: Google migrated Google Workspace billing to Squarespace, now what?
I was aware that Google domains would move to Squarespace, and migrated my domains to Cloudflare.

But now my domains linked to a Google Workspace are being migrated and the billing goes through Squarespace as well. I assume I cannot move Google Workspace billing to Cloudflare?
Certainly better than the same old new adtech, fintech, programming language, AI, crypto, techbro drudgery that is common, uh, in a lot of sites.
> About 2 years ago I sent her a video about the Tiananmen Square protests over WeChat by mistake

Absolutely insane that you would even think to do this to a Chinese national. Good job they are in the US. Could have been far worse for their family back in China. Unbelievable.
Ask HN: Why don't major social media introduce relationship management features?
Building connections with other people is what social media and messengers are created for, right? In that scope, the features of relationship management ("personal CRM-like" ones) seem viable to be implemented there.
Why do services such as WhatsApp, Telegram, Facebook seemingly not go in that direction, in your opinion?
The problem is: As soon as a synthetic key is used by an EXTERNAL system, it stops being synthetic; for all intents and purposes it is now an integral part of the record, because if you change it, the external system may not be able to find the record any more.
on the hiring page they are looking for Android engineers
In databases, never rely on data you don't control. "Natural" keys are an example of this.

Names can be natural keys, but you don't control them. You don't control when or how a name changes, or even what makes a valid name.

Addresses change. Or disappear. Or somehow can't be ingested by your system suddenly.

Official registration numbers (SSNs, license plate numbers, business numbers etc) seem attractive, but once again you don't control them. So if the license plate numbering scheme changes in some way that breaks your system, too bad. Or people without an SSN. Or people in transition because an SSN needs to be changed in a government system somewhere. Or any other number of things that happen in a government office that affect you, yet you have no control over.

Phone numbers? Well, we've already seen that mess with many messenger platforms.

Fingerprints? Guess what? They evolve over time, and your system will eventually break.

Retrofitting a system that relies on "natural" keys that have broken SUCKS.

Use a generated unique key system that YOU ALONE control.

The first rule of software design is: Don't try to be clever. You're not clever enough to see all of the edge cases that will eventually bite you.
I think biggest issue with the post is the use of the term "distributed systems".

It makes the whole thing murkier, because it's unclear to me what exactly they advocate for. Multiple servers? Microservices? Just running multiple services but don't go too crazy on the micro? (Many "focused" small monoliths handling cross cutting concerns might be considered microservices but are not as micro as some people do, etc). Maybe running multiple servers with some distributed systems technology but not actually messing with distributed systems as product part (k8s, some easy to distribute clustering databases, etc)? All of that simply doesn't fire for me when I see "distributed systems".

One could just as well read it as arguing for actually going deep into distributed systems theory and practice, integrating those ideas in your product, designing your software to use distributed persistence systems instead of single "coherent view" SQL or other database, etc.
This will probably fail if the thing being chopped off is a composed emoji, like the flag emoji (where it can chop off the second letter of the ISO code and just leave a bewildering to the user but completely valid first letter) or the ZWJ sequence emojis which will leave a color or half a family or other shenanigans, depending where it cuts.
I agree that using `JUN`s makes it more clear as a non-native English speaker. What can we do without refering to some language? Maybe like 2024-[06]-05 or 2024-06-(05) (vs 2024-05-[06] and 2024-05-(06))?
Threads seems to be gaining some traction though.
Had no idea Google had a VPN. I don’t know why anyone would use it. As if their other data gathering methods weren’t enough. Imagine funneling all of your internet traffic through them.
Did you see it in the theater?
Queues are a built-in mechanism everywhere in today's software. Not being familiar with the basics of queuing theory will prevent you from understanding the relations between latency and throughput, high-level capacity estimations, and workload optimization.
Messenger is a product born of an app called Beluga, https://www.adweek.com/performance-marketing/facebook-messen.... It wasn't an app where they took the userbase, but the app was bought and the team tasked to build Messenger. (Source, I worked at FB from 2009-2016)
I partly agree.

> Aragorn is not a ‘feudal king’, he is a king of legend.

I was not using "feudal" to denote a time period in our world's history, but rather a system of governance based on liege-vassal relationships. I agree with you that Gondor feels more classical than medieval, but as a king, Aragorn is quite clearly the liege-lord of vassals (Imrahil, Faramir, the Thain) who hold their lands by his bequest. So while Aragorn is definitely legendary in the sense that he is an idealised fictional figure, in-universe he is very much a feudal king.

> The journey in the Lord of the Rings is almost as much a journey back through deeper and deeper legend as it is through space - the hobbits travel from a Napoleonic era Shire, through Renaissance Rivendell, back to a medieval Rohan then classical Gondor, and then into the strictly mythological Mordor.

Yes, absolutely. Tolkien creates the countries of Middle Earth out of many different historical inspirations, with a heavy dose of mythology mixed in. I find it good fun to see where he got his ideas from - for example the parallels between Beowulf and Rohan (compare the great halls of Heorot and Meduseld).

But of course Tolkien never simply mixed and matched. His creativity drew on things he knew, but he didn't just recombine them, he amalgamated them into something really new. So I agree, seeing Middle Earth as "medieval Europe with a different geography" is just plain wrong, on many different levels. But still we can analyse the ingredients that Tolkien used to create his world, and use that to gain a richer understanding of it.
I have the same experience.

I have stopped using swap on any computers, laptops, desktops or servers, more than 2 decades ago.

At that time, removing the swap was definitely a great improvement (with the condition of having installed enough real memory in the computers; but even with insufficient memory it was much better to have a few processes killed instead of having an unusable computer that had to be forcefully rebooted, losing everything that had not been already saved).

Perhaps the handling of swap has been improved meanwhile and in certain unusual niche environments having swap might provide some benefits.

Nevertheless, I doubt very much that this is true. I have never seen any such case where swap could have been useful.

When there is enough memory, there should be no writes to the swap, because such writes can only diminish the performance, and in an unpredictable way, because they can trigger the SSD garbage collector. If there are no writes to the swap, there is no reason for it to exist. If there isn't enough memory, the cheapest solution is to buy more memory, instead of trying to find a software workaround for that.

The memory pages that are not dirty can always be discarded by the operating system and read again later from the SSD if needed. No swap is needed for that. There exists no way in which swap can improve performance in comparison with having enough memory. Having to also discard dirty pages is just another way of saying that there isn't enough memory and you are willing to degrade the performance instead of paying for enough memory.

Swap memory is certainly never needed in personal computers, outside of temporary use in certain exceptional situations, when one would be willing to run very slowly a program that does not fit in the memory, due to lack of access to a computer with more memory.

Swap could be useful only when configured in a great number of servers that run a well characterized workload, where one could make a trade-off between application performance and total memory cost.
Quite honestly, Lisp is a fairly ideal dynamic language and Ada the preferred static language for me but unfortunately the choice of a language hinges mostly on the tooling and availability of third party libraries, and that's where both are lacking. After a decade of using Racket, I'm currently using Go for development of my projects and am quite happy with it. Of course, it's a trade-off. I've always had plans to write larger projects in CL, but even with Quicklisp it still suffers from this strange syndrome where every third party library is somewhat of a hack and lacks documentation.

The ideal Lisp for me would be one with an integrated IDE that comes with "batteries included", yet is smaller and more elegant than Racket. I don't care whether cross-compiled or interpreted, it should allow me to write native GUI applications with all the bells and whistles and one-click deploy them on all major platforms, including mobile and browsers. Basically, something like what REALbasic used to be when it was still affordable shareware, but for more platforms and with Lisp as the language.
Online gaming ended up being the real death of piracy. I’ve got a hacked switch and the experience is significantly degraded since you can’t use any online features.
I tried to compile Herbgrind, a plugin for Valgrind, and failed miserably. Had to do something with the cursed build system.
>1. there are plenty of obese people in rural areas where they have all the walkable space they might desire

No, they don't. Have you ever spent any significant time in rural American places? There's no place to walk at all, because:

1. everything is too far away for walking to actually be useful for going places,
2. there's no sidewalks even if you don't mind walking 2 hours to the nearest Walmart, and
3. there's no wild places to walk either, contrary to popular belief, because all the land is privately owned and "trespassing" is not allowed (and can get you shot).

Rural Americans can only walk places if:
1. they have a lot of land around their house, which granted is more affordable than in more urban places, or
2. they get in their vehicle and drive to a state or national park someplace and use the hiking trails there.

It's so weird how many people think rural America is some bucolic place that resembles the Shire of the hobbits, when in fact it's a car-bound hellscape even worse than the worst American car-centric city. It's not like the UK, where you have an absolute right to roam across rural lands.
> Can't more than one thing be bad at a time? can't bad things be made worse?

The massive consumption of resources on AI research is a real material threat that AI safety people DO NOT TALK ABOUT. What if the real paper clip problem is the power and resources we waste trying to get to AI?

And because if it turns into a global or multi national LHC like effort all those PHD's dont get valley rich.

You're not wrong, but they aren't right because they aren't putting the issues that would impact them first.
> then why not put it in memory? But then why bother with swap?

because ram is expensive compared to disk.

Ram is normally fixed compared to disk

by storing not-used but still needed pages on disk, allows for much greater performance with less resources. for example it allows a bigger VFS cache.
The image it what made it clear to me.

https://digilent.com/blog/wp-content/uploads/2015/01/E12_ser...
Most people think of VPN as a magic tool to be completely anonymous on the internet.
> despite the alternative being a quick drive away

What does this mean? It's not free as long as you can drive to it.
I was surprised when they announced they're killing workplace. A lot of businesses relied on it.
The fascinating thing is that regulators responded at all.

Think about it. Automobile manufacturing is Japan's last halo industry -- the crown jewel of their declining economy. The past few years have not been easy, as they're up against increasingly stiff competition from China (going exponential) and rising US protectionism, and they're not well positioned for a global pivot to electric vehicles.

This is pretty much the worst possible time for a scandal -- and to me it's surprising that Japanese regulators are allowed to pursue and publicize these raids and sanctions in the teeth of their own national interest.
> Do you have a different parsing algorithm in mind?

Yes, since I specified a PEG grammar I assumed a PEG parsing algorithm.

You can try the grammar yourself in a PEG parser, e.g. https://shamansir.github.io/pegjs-fn/.
Unserious. I can't rely on any new thing from G-daddy any more.
does the stated purpose of the tool influence whether or not you can trust it?
https://killedbymicrosoft.info/

163 services killed by Microsoft. But they still didn't manage to kill Internet Explorer.

I don't know why Google gets the hate for killing things.
Every language with a garbage collector has memory safety. It's not the issue.
swap would be fast enough on NVMe-oF for anything not a DB, no?
That's a good question. I would say that, to some extend, they do with their core features. Facebook shows you updates from the people you are connected to. It also tells you when it's someone's birthday. It shows you memories.

Now, I haven't used Facebook in years and I have no idea if people rely on it at all to maintain relationships.

Several companies have tried to launch "personal crm" but none really managed to make it a thing (yet?).

My hack is to I have a project in Todoist, with recurring tasks to touch base with my friends, clients, family, etc. It also has birthdays.
> people aren't lining up to buy electric cars (thanks to Elon fucking over the entire industry with his ridiculous bullshit).

Elon's bullshit is far down the list of reasons people aren't buying electric cars. Practical and economic concerns dominate car purchasing decisions, not the politics and antics of car manufacturer executives. Elon talking shit on twitter isn't the reason all electric cars depreciate like milk left on the counter.
i disagree. im sure they have an idea about how much they will lose on constantly trying stuff out.

i always glad companies, people are willing to try, test, risk, create, things because thats how progression and innovation works. the more the merrier, the crazier the better.

ill never criticize people/companies/ceos that are willing to try/create new things but it seems like people are the opposite and are very quick to do so. but i get it.
> many databases store rows in the order of a table's primary key (sometimes called the clustered index [...])

Note for readers: Postgres doesn't do that
Shows how the assumption that everyone has, or reveals, a known or at least approximate birth date cascades through the system.
Another usually misunderstood fact is that if you are trying to go fast enough, i.e at the limit of a machine then even one machine is a distributed system. While cache coherency and a bunch of things try to pretend it isn't you really do need to be aware of NUMA and PCI-E lane configuration if you want to get everything out of a box.

The very same techniques that make networked distributed systems work well are also useful on threaded or multi-process single image workloads. Sure it doesn't matter at less than ~5gbit line rate but past that point it certainly does.
With something like zip codes, so long as all the data is encrypted, there's very little chance someone can work out what that zipcode is (and if there isn't any information in the column name, even less). The only way someone could determine that it is a zipcode is by looking at commonality with known decrypted data. Even if they were to determine that it was a zipcode, they would only know which zipcode it was for the users they had decrypted. In other words, the blast radius is very small and compartmentalized, while still allowing searches.
Not in Python. Whitespace and lineation can be important in some poems and Python just doesn't have the flexibility.

I have experimented with Javascript eval(``) ... but prefer not to talk about it.
> Given that the author works at a large company, that has millions of machines, and where any swap change has cost implications in the tens of millions pounds, I suspect the article is based on data, rather than vibes.

Yes, but the author is most likely optimizing for a metric that I don't care so much in my per personal computer while dismissing metrics that I care about.

> It was always the case. but then a TB of disk isn't that expensive anymore.

But swapping out GB of RAM is expensive in terms of latency.