skysight-inc/HackerNews huggingface dataset:
I don't know if there is a typical heap size.

My TXR Lisp is garbage collected. When I blow away all the compiled files of the standard library and run a rebuild, in a separate window running top, I do not ever see a snapshot of any txr process using more than 27 megs of RAM:

This is close to the worst-case observed:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19467 kaz 20 0 27364 24924 3112 R 100.0 1.2 0:30.55 txr

When this is happening, the library code is being interpreted as it compiles itself,
it by bit. E.g. when stdlib/optimize.tl is being compiled, I see this 27 megs usage.
But after the entire library is compiled, if I just "touch stdlib/optimize.tl" to
force that to rebuild, it's a lot leaner; I see it hit about 16 megs.

Sitting at a REPL prompt, compared to some bash processes, using ps -aux:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
kaz 2433 0.0 0.0 8904 1900 pts/0 Ss Feb22 0:00 -bash
kaz 6179 0.0 0.2 9072 4212 pts/1 Ss+ Apr22 0:01 -bash
kaz 18551 0.0 0.1 11152 3932 pts/2 Ss+ Feb22 1:32 -bash
kaz 18836 0.0 0.1 9064 2196 pts/5 Ss+ Apr13 0:02 -bash
kaz 19079 0.0 0.2 13464 4880 pts/3 Ss Mar01 0:40 -bash

kaz 19849 0.1 0.2 9360 6024 pts/4 S+ 23:45 0:00 txr

Oh, and that's the regular build of TXR. If that's too bloated, you can try CONFIG_SMALL_MEM.

Large is as large does.

Garbage collection was once used on systems in which most of today's software would not fit.

Garbage collection does have waste. You allocate more than you need, and keep it.

Precise, manual memory management does the same thing. Firstly, the technique of keeping around memory is practiced under manual memory management. E.g. C programs keep objects on recycle lists instead of calling free. And free itself, will not release memory to the OS, except in certain circumstances. Then there is internal fragmentation. Generally, programs that "get fat" during some peak workload will stay that way.

If you see some garbage collected system need hundreds of megabytes of RAM just for a base image, it may not be the GC that's to blame, or not entirely: it's all the bloated crap they are pulling into the image. Or it could also be that the GC was tuned by someone under thirty who doesn't think it's weird for a browser with three tabs open to be taking 500 megs. GC can be tuned as badly as you want; you can program it not to collect anything until the VM footprint is past the physical RAM available.
On a flight to Dubai Expo I watched a surprisingly moving documentary about how America fell out of love with World's Fairs not long after the iconic ones in New York and Seattle.
https://www.faceofanationmovie.com/

I still can sing the jingle for the 1982 World's Fair in Knoxville. "You've got to be there!"
Deepnote (YC S19) is hiring engineers to build a better Jupyter notebook
As long as he follows through with the idea of a more open platform, with reduced censorship of unpopular people and ideas, I'd create an account. It would be a hopeful sign that freedom of expression isn't on a death march. And not that it would be easy, but I'd probably end up listening more often to people I disagree with.
> then letting individuals make decisions for better or worse

That sounds a lot like anarchy to me. I believe we invented laws (and religion before that) exactly because individuals can't be trusted to make informed decisions in certain cases.
It is my opinion as well. If you look at other cities, they all followed the zero-covid policy while Shanghai's official was declaring the city will not lock down for a few days or a week to get over the virus, instead, she insists there has only been one severe case, ignoring the numbers from all other countries (0.1% death rate). That's why I believe if they have acted properly at the beginning, the lockdown can start a week earlier and finish 4 weeks earlier.
Fastify Edge: Use Fastify Idioms for Writing Cloudflare Workers
What work?
Yes, relying on the word of Saudi Arabia without a written agreement was pretty dumb. Especially for 70B.

This time the plan seems to have better foundations.
Swift now uses GitHub Issues
Perfectly good questions. As long as you're not forced to take anything, it's your choice and responsibility, not someone else's.
> New Zealand King salmon which is partially farmed

NZer here. I believe the salmon we export is 100% farmed.

The advantages of buying from NZ is that our quality controls are mostly reliable, and our water tends to be pretty clean, and we have reasonably good environmental controls. We mostly farm Chinook/King salmon.

As a sweeping generalisation, NZers are mostly honest, and we tend not to hustle to the point of deception. The cheapest brand of sliced translucent cold smoked Salmon is NZD10 (USD7) for 180g (0.4lb) at the supermarket. Note that NZ prices for most supermarket food is very expensive compared with the US, except sometimes are primary products can be cheaper.
This is definitely true but like you mention because there’s a common communication channel and message format, these language-specific RPC endpoints exist whereas before LSP, language servers didn’t have “custom” features because there weren’t IDE-first language servers at all.

There are already a more than a couple LSP features I wish existed, but in the mean time it’s good enough to have the (typed! and using rich data structures!) RPC endpoints exist for enterprising users to wire up to their IDE’s presentation layer.
University is free in Germany, and a lot of jobs that require a college degree elsewhere are fulfulled by 3 year appreticeships in Germany. So hard to compare.
I tried a few language plugins for VSCode that were all based on LSP, and they were all broken.

So for me, the question is wrong. It's not "Why is LSP so great?".

The question should be "Why are people so hyped about tech that's based on questionable assumptions and that hasn't proved itself?"

The reason VSCode invented LSP is that different programming languages don't have a reliable way to intercommunicate (other than as separate processes communicating over a socket).
> Your chart shows that pay has been up a lot.

No it doesn't, continue reading.

Your own first data series suggests there's over ~15,000 Billion USD of personal disposable monthly income. Per capita, that would be something like 45,300 USD disposable monthly income.

I suppose this takes into the account all of the millionaires' and billionaires' capital gains, illustrating how little of the overall income is garnered by the US working class. And even in the stats I quoted, you can see the unequal distribution: The high-wage-earners' wages didn't stagnate, they increased; but low-wage earners earn less.

Anyway, the reason extra pay does not immediately translate to inflation is that price levels are the result of a combination of factors, including power relations of different social forces, and the distribution of income in society. If all wages were to double tomorrow, I suppose there would be some inflation in various sectors of the economy, but not uniformly, nor by anywhere near a factor of two.
Ping me when you do and I'll make sure you have a proper experience.
I agree and I know how my ear perform. Degradation comes mostly from the top end above 10kHz, which is not critical for music.

Composing and directing music are two very different activities. I'd expect the first one to work way better than the latter given strong deafness. I don't know about a successful deaf conductor in the modern times.

Yet I think we are agreeing in the core - hearing music is more than just ears, it is also perception, which is why some people get wrong ideas about and if something sounds better (see the original topic here). Yet that does not mean there is not better gear than other and that no one can hear the difference between anything. Actually better hifi gear will sound better, even to older people.
Ask HN: My annual plea for dark mode
Please HN, please add a dark mode setting tied to my profile.
How macOS manages M1 CPU cores
Wow, thanks.

I am quite likely “holding it wrong” (TM) but I had to either extend my right hand too much to get to the ctrl key or was always oressing two keys at the same time.

It was probably a bad config but now… I’ve found it!
It also targets JavaScript now, and maybe eventually Webassembly.
Legal Design Considerations for Decentralized Social Media Applications
Well, stop being overly dismissive. The past might have been less different than we think it is, but it is possible if not plausible that the society, on average, was much different than ours.

Most of culture is dictated by religion, which certainly have changed over the centuries, and Christianity as a whole has "conquered" and made many cultures somewhat homogeneous, especially on the sexual and sensual side.
This is a great set of slides. Love how they built up to a modern-ish design.
There is no meaningful null check enforcement like with pattern matching, if you try to access the Option value and fail to handle the error correctly, you either get a panic (from the following null deref) or in this blogpost the zero initialized value (which is honestly worse than an instant crash).

>Furthermore, you can add functor and monadic APIs to `Option`

There's nothing preventing you from defining these functions directly on pointers, they'd be just as safe.
The lockdowns might be useful from a strategic perspective for western leaders (ie undermining faith in Chinese leadership within Shanghai residents), while also actively calling it a humanitarian crisis would hurt the relationship with China which is already extremely fragile because of Russia/Ukraine (ie official criticism of the Chinese government may result in additional support for Russia).
So the genre started in the UK with Yule log burning (https://en.wikipedia.org/wiki/Yule_log), then was popularised in Norway and perfected in Sweden. Might we expect the slow eastward migration to continue and for Finland to come up with the next masterpiece? The Finns are already somewhat notorious for going long stretches of time without speaking, after all.

(Big hugs to all nations involved of course)
Wow, so many ideas in a single photo. Thanks.
If you are you get away, or even ahead, with anti-social behavor. If you are poor you go to jail.
Marble seems to be holding pretty well. Lots of broken ceramics.
At the Expo 2020 Dubai, I was amused to learn that the USA pavilion cost 60 million USD and it was paid for by the UAE. It’s illegal for the USA to pay for it’s own pavilion at an expo like this. [1]

[1] https://www.reuters.com/world/us/biden-appointed-dubai-expo-...
Nigeria blocks 73M mobile phones in security clampdown
Declining how? Besides natural population growth, I can't think of any other relevant decline European countries are experiencing. And even if they were experiencing a general decline, that doesn't mean there's correlation with the percent of married couples vs non-married ones. Marriage or civil union doesn't change the stability of the couple ( besides the fact that the former usually implies a party with a lot of people which could be expensive).
My favourite is "Watch ice melting on Lake Inari". 1st of June is usually the kayak launching day, but this year it may be 1st of July. I blame Greta. We need more Global Warming. https://www.windy.com/-Webcams/Finland/Mainland-Finland/Inar...
Not an answer to your question, but a few things worth considering:

- for virtually any definition of 'good', not all non-profits are 'good', and some for-profit companies are good

- many for-profit companies don't make profits

- many non-profits don't technically make profits, but do pay their founders and their associates a lot

- https://twitter.com/nonprofitssay
am not OP, but I accomplish the same thing like this: https://github.com/kclejeune/system/blob/master/modules/home...

I previously used Karabiner for this and as far as I can tell, the behavior is the same.
I alternate between this and this "Blue tit nest cam" from Germany. Very relaxing. https://www.youtube.com/watch?v=d88nua75yJA
This is relevant: http://shattered.io/
"She later realised her SIM card was one of about 73 million - more than a third of the 198 million in Nigeria - which have been barred from making outgoing calls because they have not been registered in the national digital identity database."

"Nigeria is among dozens of African countries including Ghana, Egypt and Kenya with SIM registration laws that authorities say are necessary for security purposes, but digital rights experts say increase surveillance and hurts privacy.

Nigeria has been rolling out 11-digit electronic national identity cards for almost a decade, which record an individual's personal and biometric data, including fingerprints and photo.

The National Identity Number (NIN) is required to open a bank account, apply for a driver's license, vote, get health insurance, and file tax returns."

Ongoing technocracy rollout. No privacy, government knows everything.
Right, which is why all other data processors now bear some responsibility. They done goofed the whole industry, and need to pay for it.

But leaving data processors alone and going after browsers would be a big mistake, despite the veneer of some technical appeal.
So the author initially laments the lack of thought diversity in the expert group (most participants work at English speaking, western universities), but then complains about them not agreeing with his data, which is only from English speaking western countries, so also not diverse at all. Looks like he should make up his mind.
Django Ninja – Fast Django REST Framework
The problem with lending to him is most of his assets are TSLA shares. It's arguably absurdly overvalued as an automaker, and any effort to liquidate his position would be expensive since it would drive the price down. Someone did it, but I'm sure some people passed.

As someone else pointed out, TWTR isn't a great purchase, either. Its ad revenue isn't great, so if he defaults on the loan, the lender is stuck with an asset they don't want.
I think you are just repeating the definition of survivorship bias.
How A Mindset Can Impact Your Life and Help You Learn More
Getting it to appear somewhere in archive.org certainly can't hurt as long as it's not something private
The Merpay SRE Team: Past and Future
I'd bring my account back
That wouldn't even work. You have to grow salmon in freshwater to a certain size before you can grow them in the sea, it's done in tanks on land here in Norway (the fishery directorate would certainly not let them use rivers).

I worked at the University library when I studied, I remember there was a ton of outdated books from the early development of salmon aquaculture. Salmon farming didn't even succeed until the late 60s, it took a lot longer to make it profitable. They tried a lot of wild stuff, some of it was ecologically questionable to put it mildly (like "havbeite", the idea of forgoing enclosures entirely and just release the smolt to sea, hoping to catch it later).

But regulation has caught up to the industry somewhat. Of course, now the Norwegian owned industry does a lot of the bad stuff it's no longer allowed to do in Norway in Chile instead.
> Monkeys usually only take one bite of a fruit before throwing the rest to the forest floor

Does anyone know why they do this?
Natural selection is a good model not just for technology, but for ideas in general. Ideas have their own lifespans and virality coefficients, but they're like viruses in that they depend on their hosts, so their fitness is partially dependent on the fitness of their hosts. That's why our morals exist, because societies that had them were more fit than societies where everyone was totally selfish. We don't like to think of morality in terms of fitness though, because of our morals, ironically.
I’m not sure what tuna you tried in Tokyo, but for me Otoro is noticeably better than salmon sushi.
> If the standard theory were correct, then, before LSP, we would have lived in a world where some languages has superb IDE support in some editors. For example, IntelliJ would have been great at Java, Emacs at C++, Vim at C#, etc. My recollection of that time is quite different

Interesting theory but my recollection of that time is pretty much exactly that. Lots of IDEs with great Java support (IntelliJ, Netbeans, Eclipse), a very small number with good CJJ support (Visual Studio, Qt Creator, maybe KDevelop or Code::Blocks if you're generous with "good"), and not much else.

How many IDEs had great Delphi support? As far as I know exactly one - the Delphi IDE.

Ok there were a couple of exceptions - Eclipse had decent C++ support IIRC and IntelliJ sort of had support for loads of languages, but that was a business whose main product is IDEs.

I think the alternative suggestion is also true. They're both good reasons for the success of LSP.
> free up resources (...) while they install new hardware

That's likely not the reason. It's more likely caused by inherent spike-y ness of the traffic, given that most GPU instances are probably used for batch numerical computations (like training neural networks). The pricing incentivizes using a lot of nodes for a shorter amount of time, much like in the SHA example.
Sunsetting a product: What you need to know for your B2B
They did it at a 5x multiple. They can cover the loan as long as Tesla stays above 203.
There are differences. I don't know if the idea will actually work but here is what I understand of it. Use an analogy of cities as computer chips/networks.

1. He wants to move roads to 3d just like computer chips are 3d. This should increase bandwidth.

2. He wants to packet switch the system instead of batch. This should lower latency.

3. For the first two to work, you need to greatly reduce the cost/speed to construct them. Think Moore's law.

4. One way to do this is to speed up the boring machines.

5. Another way is to lower the additional necessary equipment. Tunnels carrying internal combustion cars need air circulation lest people die from carbon monoxide poisoning/ lack of oxygen. EVs don't need that.

6. Smaller tunnels are much faster to construct so constructing one for a subway would be much slower than one for EVs.

Arguments against this can either attack the premise that cities are necessary (remote work), that bigger cities are necessary (why not have smaller cities), that existing or other transportation can handle it better, or one or more of the above chains of thought are flawed.

This line of thinking is also found in his latest factories where the line is just a line of cars moved by carriers that aren't physically anchored to the floor). He makes an analogy of factories as computer chips.
Not a business. It helps to filter out crawler and bots. It tells me which content is interesting enough to read and worth updating (my personal wiki)
Quite nice to have this up on a second monitor while working on something that doesn't need two monitors.
I think the 99% SLA vs a few more nines can be the deal breaker. And you probably didn't even get a full 99% - with all due respect, as you likely didn't need it in the first place for a mining rig. I know plenty of serious workloads that would accept as little as 90% availability (~1 full day down every ~10 days), and plenty that need a large amount of 9s (seconds, maybe a minute of downtime per month on a normal basis, everything more is an outage).
What’s free speech?

Twitter can be a pretty hostile place if you’re not a white straight man, can’t see Musk making it any betters for those people who are currently harrassed fir being women, queer or colored
Reddit Is Down
Reddit gives CDN and 5xx errors.
Error rate increased on https://www.redditstatus.com/
If it takes two minutes to open slack in your Web browser then your Web connection might be the problem. Or is your computer from the 90s?
When I started as a teacher I pushed back against my “contract” which I didn’t even see until two months after I started work.

In reality, the way employment law works is that the legal “contract” was a statutory one, implicit from the day I started. I started work and they paid me a salary, therefore I was legally an employee. The “contract” was really just the terms and conditions which the employer is required to offer the employee within a certain time period after their start date. In the UK this are called “particulars of employment”, I think.

I asked for changes to four of the clauses including IP assignment and me giving the school the right to be the final arbiter for any disputes of damage to pupils belongings. It gave them the right to withhold my pay in order to compensate parents who raise a grievance. So little Johnny could claim I stepped on his laptop and I wouldn’t be able to do anything about it if his parents got pissy and demanded I pay.

The school was sympathetic and said that of course no such extreme event would ever happen, but I was also told it would cost too much to hire a lawyer to change the document. I said I couldn’t sign it but that I agreed to everything else. They let me work there for several years anyway before I got made “redundant” when they hired a better teacher to take my place.

What a bunch of clowns. And that includes me — I should have walked really, but once you start working with kids it’s incredibly hard to let go of the adorable little monsters. One suspects that schools are well aware of this enormous emotional leverage they have.
But why then would it only affect Google's services?
As per my original post, the total emissions from nuclear (including fuel extraction) is lower then wind and hydro: https://en.wikipedia.org/wiki/Life-cycle_greenhouse_gas_emis...

Uranium recycling is not the same thing as breeder reactors. It's essentially the same nuclear enrichment we do to natural uranium to bring it up to concentrations of U235 as usable fuel, just used on spent fuel rather than virgin uranium.

Also, for uranium sea water extraction the plan is to drop buoys with the absorbtion material and let natural currents bring water into contact with it. Pumping all that water out of the ocean would of course be stupid.
Just tried, works for me in India. May be it's a cached page from CloudFront. But works nevertheless.
Actually it is. Most of the low-code vendors simply visualize high level functions using some sort of BPMN visualization.
Clinic.js diagnoses your Node.js performance issues
just like all those Americans who totally ended up moving to Canada after the 2016 election like they said they would
Well, that doesn't really work, as "StaticOptional[T]" can't be used as the type of a variable. It can only be used to create another generic function.

For example, this doesn't work [0]:

//compilation error: interface contains type constraints
func TryParse123(s string) StaticOptional[int] {
if s == "123" {
return StaticSome[int]{123}
}
return StaticNone{}
}

[0] https://go.dev/play/p/1CnieCLqESC
I recently switched my neovim config over to LSP from ncm. My experience is now much buggier, slower, features work some days and not others, syntax highlighting just stops working randomly, trash files get spewn all over my repositories that I have to .git/info/exclude, etc.

Not sure what the Right Direction is when it comes to text editing but this isn't it.
But I just explained it, if not to you then to someone who didn't get it. I'm absolutely willing to delve into the machinery of anything to explain it. I'm not, however, willing to live in a world where everyone is encouraged to tailor their expressions to the lowest common denominator. The truth is that speaking to the LCD is pointless unless you're a populist who needs their vote, or otherwise need to manipulate them somehow. If as someone suggested (who said no one's using it to write Ulysses) the main use of Google Docs is to write promotional garbage for big corporations, then great. The popups can be called "be more anodyne and over-explain for idiots", instead of "inclusivity warning". I would support that.