skysight-inc/HackerNews huggingface dataset:
I'd prefer the cheap LNG and nuclear power where I live now. Power cost fluctuating over the course of the day would mean cutting back on critical stuff since I already optimize my power consumption pretty well. Maybe I could cut power to my refrigerator/freezer at night but I prefer having it cold on the small chance that there is a blackout the next day.
the "Truth"

God I hate what happened to this planet in the last 20 years.
Over the last decade disinformation techniques have been refined and weaponised as the modern version of the propaganda we saw in the west in the world wars, from Myanmar to Brexit, from Sandy Hook to Trump.

The west has mostly wrung its hands.
Good idea.

"At 19:47 high temperature liquid sodium coolant at one of the three secondary heat exchangers started leaking through a broken thermometer sheath ... on the piping and it ignited on contact with air."

https://onlineethics.org/cases/case-1-fire-sodium-coolant-le...
Big Tech Interview Difficulty Tier List
(The article is from 2018.)

I think the article is strongly from the point of view of what to do "in production". If you have a bunch of servers with known specialized workloads, I can believe that enabling swap is good for efficiency. You can run more tasks and get closer to the memory limit while remaining safe. Coming from a Facebook employee, this makes sense.

However, for individual development machines, the pragmatic situation is completely different. The truth is that in practice running out of memory stems from two types of human errors:

1. You wrote some code that leaks lots of memory quickly.

2. You used Google Chrome.

In either situation, still in 2022, Linux reacts in the following way:

A. With swap, your system becomes completely unresponsive for longer than you have patience for, so you power-cycle it.

B. Without swap, the culprit is immediately identified and killed. Your system is perfectly usable, aside from a killed process.

Note that depending on your distro, the good case B. may have become a bit harder to achieve recently: systemd-oomd now tries to eagerly detect OOM situations before the kernel, and when it does, it kills the offending process' whole cgroup! If you have gnome or kde, you're good, but otherwise, this may terminate your session. This can be fixed with "systemctl mask systemd-oomd.service"
Good point. Overall the industry will do fine since there are no alternatives. However Facebook might be hit a bit harder, arguably. What advantage do they offer over Tiktok for instance? I don't believe they dont offer a premium but some companies might take their money elsewhere.
The last time i did a similar fit with world GDP between 1920ish and now it came out as O(x^a) where a was between 4 and 5. Actually i fitted the ODE dx/dt = \beta*x^\alpha to data, the fitted looked nice. I wish i wrote a blog post about it.
I’m proud of you!

I have trouble following and sometimes following my gut too closely.

I think there’s a reason “follow your gut” is a cliche in our nomenclature. There’s something there!
I agree. The excess can be used to produce hydrogen gas (for heavy industry) from splitting water.
I agree it's pretty cool project. I don't have any relation to the team (except as an end-user) but of course the contracts have been audited: https://blog.openzeppelin.com/endaoment-audit/
> A pressure vessel's cost largely scales with surface area but its power capacity scales with volume

That is if you ignore experience curve effects.

In the US only one nuclear power plant came online in the last 25 years. For plants like Vogtle, the majority of the workers on site have never built another nuclear plant in their career before, and will never build after. That is a very good way to keep construction cost astronomical.

Compare with the reactors for nuclear submarines. They are being built at a rate of about 1 per year. Most workers have participated in building numerous reactors in the past, all of the same design. New workers can learn from experienced peers, and use their learning in building lots more reactors during the rest of their career.

In the last 25 years, the US brought online only one civilian nuclear power plant, but 23 nuclear submarines and 4 aircraft carriers (those have 2 reactors each). The cost of naval reactors is classified, but I’ve seen non-classified information that indicates that a submarine reactor costs in the lew hundreds of millions, and a carrier reactor about one billion ([1] page 10).

The idea of SMR’s is to replicate the success story of naval reactors in the civilian sphere.

[1] https://www.cbo.gov/sites/default/files/112th-congress-2011-...
hahah, truth
Mauritius challenges UK rights over Indian Ocean domain
Beanstalk seems to be on it's way out, advised against new deployments in favor of ECS / Fargate.
First and foremost for debugging purposes, e.g. to find memory leaks and such.

Then, it's not a bad thing to optimize memory usage in any language. Memray could be a great tool for the authors of data science libraries, which Python has plenty of. Their average user probably doesn't have a beefy developer's laptop with 64GB of memory at hand.
Asked:

> I said "frick" to my cat

Got:

NTA - You can say “f*” in nearly every country in the world, it’s not exactly a swear word.
I’m pretty sure your cat doesn’t understand what the problem is. If you say “f*” with a bit more force it sounds like you’re saying “f** you” to the cat.

Edit: you can’t actually swear in front of your parents, but you can say “f**”

i'm conviced
There was nothing novel about Blockbuster other than scale. VHS-on-demand started in the 70's (but didn't really get rolling until the 80's) with mom-and-pop video rental stores (which Blockbuster itself started as in 1985) which grew into small local/regional chains. Blockbuster became a roll-up of the smaller chains and most successful mom-and-pops and specialized in raising prices and maximizing revenue via late fees.
my experience is very similar - regular exercise made a world of difference for me (I do yoga)
I never said you violated anyone's free speech. I shouldn't have called you a dick though, I just got frustrated. I was trying to make a nuanced point, maybe it was a dumb one, but if so, it would be nice to be put right rather than dismissed.
I'm not sure this is the best of sources, but it's a piece of information David Sinclair tends to bring up:

https://pubmed.ncbi.nlm.nih.gov/25041462/#:~:text=Conclusion....
Real research on this looks at hour by hour demand and weather records in specific locations.

If you use more energy in the winter, and wind power works better in the winter, you've got a positive correlation.

You don't just assume you need an average output equal to the max demand.

And the price for solar is based on generation, not capacity.

> The LCOE "represents the average revenue per unit of electricity generated that would be required to recover the costs of building and operating a generating plant during an assumed financial life and duty cycle", and is calculated as the ratio between all the discounted costs over the lifetime of an electricity generating plant divided by a discounted sum of the actual energy amounts delivered.
Bold of you to assume people read articles before commenting.

diff3 has another advantage in the general case as well since it allows you to better understand if something outside of the hunk you're applying also needs to be changed when backporting something.
Waiting on the easy money, selling the movie rights to Netflix.
> The only difference

If you're pinning your argument on this, then fine. But it is a huge difference.

Honestly this whole idea that Youtube should willingly be a party to this sort of thing is a libertarian take too far for me, but then I'm British.
“Communication usually fails, except by accident.”

— Osmo Wiio (https://en.wikipedia.org/wiki/Wiio%27s_laws)
Mosquito Man will come for you too.

I think the most reasonable objection is that nobody can seriously claim to know the sum of repercussions of such an experiment. Otherwise this study wouldn't be needed anyway.

Personally I am fine to choose mosquitoes as a target if we really need to use techniques like this. Experiments that used natural predators to control a population also have mixed results. I assume that would be frogs or birds in case of mosquitoes.
Recent versions of Lua use this trick as well.
They must have counted zero crossings.
Wasn't there a recent ThinkPad UEFI vulnerability? Legacy BIOS users unaffected
Most of Europe. I live in Ireland, and they’re happy to let me have one that caps at 45 kmph.
I (98m) slapped my sister (4) with an electric eel and she wants me to make it up to her by doing the dishes AITA
Princess Latifa, not Latina. Pesky autocorrect...
>Any perspective on what this means for engineers who get paid comp in stocks?
Probably accept that the situation where you could get paid 10-20x the median salary is coming to a close.
While in Rust this is only a cosmetic difference I still prefer the first approach as there is less to read to understand what is happening. Also once you are familiar with the language construct of if expression it is even faster to connect what goes where. When looking at the thing on the right I had to carefully go through each expression to distinguish which tokens are just fillers and which contain relevant information as you cannot be sure the general if behaves in the way you would think it would in this case.
Are you talking about the compositing? I haven't used Vista, but I definitely remember that in Windows 7 you couldn't use the glass theme unless hardware acceleration was working, because it relied on compositing on the GPU.

Windows XP supported partially transparent windows, but I'm not sure if this required hardware acceleration or there was also a software rendering fallback.
Truth is the first casualty of war, so, first of all: I'm very wary of any article that claims, unambiguously, to know what the "truth" is, especially in such close temporal proximity. And let's face it, NATO/US has ALWAYS lied about war, no exceptions - especially alleged massacres. If info is coming from the US, my automatic reaction is: this is probably BS. Not that that makes the other side particularly trustworthy...

So let's revisit this in a few years. Until then, I appreciate the pluralism, and I'm especially skeptical of attempts to silence positions, be it be blocking or deleting them, or by yelling at them. Free discourse lives from hearing the other side. If all we ever get exposed to is info the US government deems "true", we can close the prison gates behind us.
I(106) slapped my sister(4) with an electric eel and she yelled at me and told me to do the dishes. I refused and she threw my car in the river AITA?
I read that assertion as "there still exist cases where this can happen", not "this has no effect on those outcomes ever".
With the amount of volatility that most cryptos have, I think it makes more sense to convert to something stable unless your non-profit has a large treasury/flexible expense structure. If you do keep it in a stablecoin, there are some relatively low risk ways to get some yield on collected accounts, some are even 1-click, like this that gives a 9% APR on USDC: https://lite.instadapp.io/
Woops, you're right, I had old dated numbers and just winged it conservatively not wanting to overshoot.
There's a (relatively) new feature in Git that makes the conflicts even better.

This write-up is deep and super comprehensive:

https://www.eseth.org/2020/mergetools.html

`git config mergetool.hideResolved true` enables the modern git mergetool behavior.
The ROI on ads will go down meaning less money will be spent on them. Buying ads doesn't magically give your prospective customers money to buy your product either. If people struggle to make ends meet, no amount of ads will change that.
This kind of liberal propaganda gets voted up?
Maybe we can inspire the next trend by referencing casino carpets, and further optimise down this road. /s
Alas, I can't name them. Wish I could!
Mergetools: Stop doing three-way merges (2020)
Monetizing hobbies
Are there any suitable open source or on premises competitors to Jira that also support service desk functionality?
Please, no. I mean, I'm ok some websites go this way, but overal, I preffer the cleanness of the flat style for most of the services.
>There's a patent by Samsung on it, but no actual product.

In a justifiable way or did they get to patent the equivalent of 'small curved display for vr purposes'?
You can set a flag in git so it won't start a merge if it can't finish it with a simple fast forward. This avoids this situation.

git pull --rebase can be used to get local changes on top of new remote work.

But just deleting (or renaming the branch) and checking out again is all that is necessary if you end up in a messed up merge.
> It's not like you can ramp a coal-fired or nuclear power station up and down on a whim either though.

At least nuclear you can relatively fast. In terms of KW/min change rate faster then most gas peaker plants. It is not done much outside of France though as the operating costs of a nuclear power plant are pretty much identical when operating at 5% or 100% output.

edit:

German nuclear power plants also used to do load matching.

https://www.oecd-nea.org/upload/docs/application/pdf/2021-12...

Source for the KW/min change rate of nuclear vs CCGT/coal

https://snetp.eu/wp-content/uploads/2020/05/SNETP-Factsheet-...
https://brutalistwebsites.com/ started in 2016; it has been a while. I would even say that proper web brutalism is not a thing anymore. It never become mainstream for real, because it was too bold.

I think a much better definition for the style described in the article is "Corporate Memphis" https://en.wikipedia.org/wiki/Corporate_Memphis - that is also a 10-year-long trend of colorful corporate soullessness.

https://www.wired.co.uk/article/corporate-memphis-design-tec...
Ask HN: The Sinclair Spectrum is 40 – do you have one?
It's the 40th anniversary of the Sinclair ZX Spectrum on Saturday.
What did you do program with it? Best games?

(Or do you have any other stories to share that I might include in my #RetroComputing book, "20 GOTO 10"?)

(for those reading who have no idea what book I'm talking about - https://unbound.com/books/20goto10)
Using Docker Desktop for Django (well, it runs the daemon, still mostly CLI it)
The best next step is canceling all the services and subscriptions except VPN and internet, then hoisting the jolly roger.

I'm done pretending the studios and content creators are good faith operators. I've paid over 6 figures in the last 20 years for movies, shows, books. I'm not paying any more, and I don't feel bad about it at all.

Netflix had a great library, but the industry caught up and licensing and copyright induced fragmentation made streaming platforms more or less equally shitty.

There's no more value add if the apps, content, and curation don't work, or if they start sneaking in advertisements or if the companies are engaging in regulatory capture or other malicious corporate fuckery.

Avast, mateys, time to keelhaul the bastards in charge (or their pocketbooks.)
I don’t quite follow the headline‘s logic. It seems that lower imports and higher exports are working the same direction, not one making up for the other.

If imports are plunging, sanctions are working. They may have more foreign currency reserves than ever before, but get caught by the other sanction mechanism: not being able to spend that money on what they need.
> Not true in Western Europe. They are heavily overrepresented in crime statistics and their own communities have grown big enough that there’s no need anymore to try to fit in.

you can't just say something like that without any supporting facts.
The Catch with React Hooks
We can predict the weather reasonably well. As the penetration of renewables increases, eventually storage will start to make more economic sense. It is likely that renewables with storage will be cheaper than nuclear. It is virtually certain that we can build renewables and storage much faster than nuclear.
It'd mean you could take advantage of cheaper rates to spend overall less money. Fluctuating rates means you'll spend overall less money.
It's probably because the "pilot" role plays an airplane emergency like a Hollywood-primed layman audience imagines it.

For anyone who has ever flown in a small airplane (even as a passenger) this collides strongly with how things are in done in the real world.
And do you think the people didn't get ideas, services and stuff imported? They had McDonalds, IKEA, YouTube, iPhones, Netflix, etc.
It takes years to build up trust but a single lie to destroy it. The Western mainstream media is rather biased and often misrepresents the truth, occasionally outright lying, but as we know even a single lie is enough to permanently destroy trust. So at this point even when they tell the truth nobody believes it, and many people often believe the exact opposite of what they say.
Back in the 80s I use to do this. I also had a random guy take a polaroids of me in the park. Still have those photos.
About coding maybe, but I find interviewing really informative to learn about what other companies are doing and how they have architected stuff.
It was the truly 'on demand' aspect of it. Before that, the best most people could do was get a Tivo and time-shift programming which the cable companies fought hard (and lost) to stop.[1] Cable TV's version of 'on demand' up to that point was for customers to tune in at the scheduled time your movie was airing and press the buy button. Then services like Netflix came along and said 'just come to our website and watch anything in our catalog whenever you want.'

[1] Anyone today with cable service might notice how you get your Tivo functionality from set-top boxes supplied by the cable company. That's the same thing they're trying to do with streaming. They're not so much against it as trying to buy time to build out their own services to compete.
Netflix should have been spending its money buying legacy studios - Paramount for example and their god-awful 1990s production mentality (region locked trailers - really?), not to mention a massive backlog. £35b, it's a lot, but Netflix is worth 5 times that at least, even after yesterday's crash, let alone what it was worth a year ago.

Disney gets the new landscape. They give early access to tons of youtubers and you can't move on yourtube without bumping into the latest breakdowns, rections etc about an episode of moon knight or a teaser trailer, shows are released globally within hours, and they have a massive back catalogue.

Amazon bought MGM, bringing in things like Stargate and Bond, but it's dabbling, if their video service stops, it doesn't really cause the company to fail. Apple doesn't seem to know where it wants to go, it's not really in the game, but it's not their core competency either.

Netflix had an opportunity to secure their catalogues a couple of years ago, but just threw money at trying to create original content but not really knowing how (and certainly not knowing how to do it efficently)
Here's one of the creator's comments on the YouTube video:
For those who are curious, the way that got GPT-3 to control the microwave was super clunky, but effective: I trained it to say a string with special characters whenever it wants to turn the microwave on {{ MICROWAVE ON 30 SEC }) and as we talk to each other a javascript bot is looking for those commands in the GPT-3 chat logs in real time. Whenever it finds a command, that JS bot connects to the Microwave API and triggers it to do what GPT-3 is telling it to. The reason I didn't put this in the video is that couldn't find any way to explain this that wasn't incredibly boring Imao

Also, to a comment saying
How much of the dialogue is staged??
The creator replied
none of it, actually! the microwave has said all of the things it said in the video. of course there's a lot leave out in editing, and the order in which he said things wasn't necessarily what's in the final video, but everything in this video was said by the microwave at some point in time.

So, I think the whole thing is more like the creator's loose and cherry picked interpretation of what happened.
If you have the infrastructure to produce hydrogen at scale you pretty much automatically have the infrastructure to store excess renewable production. That makes the "baseload!!" argument for nuclear moot.
What is the purpose of municipal broadband if we already have several companies, with a working business model, providing the same service?
This reminds me of an old game I used to play on my Amstrad CPC, called Saboteur (II, to be precise)
I'm guessing the commit message is obscured to give people more time to update before it's exploited in the wild.
When I was 5 my parents went on holiday abroad for 2 weeks and left me alone at home with 2 dogs. We had great fun after I learnt how to use analogue camera
Facebook just sucks all on its own, I don't think it's failing because of any larger market trend. Meta has only itself and overweening arrogance to blame for its failure. They've got enough money to make dying a long and tedious process.
Glidesort also - from an academic standpoint - always uses O(log N) memory, log2(N)*4 words to be precise.

But on 64-bit machines log2(N) is always <= 64, so I just allocate a 64-element array of 4 word structs on the stack.

I think it's just much more productive and predictive to say that "glidesort has performance X when using a 512-element buffer" than "glidesort has performance X when using a c log (n) buffer".
Looks like you missed forum_ghosts point,
"in some sense, this is even better in the US, as First Amendment applies to governments, they shouldn't be able to censor your communications"

It is illegal for govnt to censor communication, it is not illegal for Comcast to do so.

Likewise, if govnt wanted to criminalize personal VPN access, they just pass a law. They don't need to own the infrastructure to do this.

However, if Comcast decides it doesn't like personal VPN, what are you going to do?

So, actually government-owned internet is the best protection against the harms you warn of.
Well, it took some time before a more modern language like Python had tools like pip, virtualenv, etc. Only "recently" they got more sophisticated tools like pipenv (https://pypi.org/project/pipenv/#history first release, totally unknown to anyone, was in 2017. It's in the last 2-3 years that you hear about it, though). And still, we're in 2022, and not everybody uses things like pipenv, for example.

In the C++ world, although I am not experienced enough, so take my words with a pinch of salt, there is more fragmentation for the tooling part. AFAIK, there is not a single "community" saying "this is the recommended way". Scala had (and still has) for a long time a very similar issue: lots of tools popping up left and right, lots of "experiments" become production-ready stuff. Then after several years, they decided to face the issue and proposed a centralized place (scalacenter) to offer some sort of "official" support. It's not "finished" yet, but it's a good move into the right direction which will only help adopt the language.

My experience so far with C++ has been a little bit different: you have a lot of different tools, very good ones, so you're undecided which one to use, but finally thanks to the books/resources you read, you'll eventually stick to some of them: it's decentralized and community-based (like other languages) vs [very] centralized (go/rust). It's two different philosophies, and from my understanding, C++ tries very hard NOT to enforce anything on the developers, which can be a burden for newcomers because there is just too much to learn. A stupid example: I use clang-format/clang-tidy: which style am I supposed to use to format the code? I am freaking new, "just pick whatever you want", but hey the default is "none".
The nomenclature is just wild... So concrete monoliths in architecture translate to high-contrast, colorful, fluffy graphic design?

I actually like the examples he has shown, looks a bit retro and futuristic at the same time.