skysight-inc/HackerNews huggingface dataset:
> 3) Cultural Chauvinism

A very common thing for humans to have. US, UK, France, Spain, Portugal, Italy, Germany, Belgium, Netherlands, Japan, China – to list just a few countries which have a lengthy history of it, there are many more–and some will question whether some of the countries I have listed have really moved beyond it. (I'll even say my own country, Australia, has a decent amount of it – even if the form it takes looks rather different from that of some other countries.)

> 'Security Council' is not that important.

> Nukes are actually not important

> Their 'former empire' is not relevant

I think all these things tie into national attitudes and culture. Many Russians remember when their country was one of the most powerful countries in the world (at the height of the Cold War, arguably second only to the United States, and the Soviets even managed to beat the Americans at some things); even for those too young to remember it, it was a large chunk of the life of their parents/grandparents. The degree to which their country has fallen is rather obvious to all, and things like the permanent UN Security Council membership and the nuclear arsenal serve as enduring reminders of that past "glory". Many Russians have no interest in going back to the "glory" days, but a substantial chunk of the population do, and there are many more who may be susceptible to propaganda promoting the idea – and that makes them open to supporting, or at least not overtly opposing, government policies aimed at doing that. By contrast, there are many other countries who either have never had that kind of history, or else for which the days of "imperial glory" are much more distant, well beyond the memory of the living–and citizens of those other countries are far less likely to acquiesce in imperial designs, especially when those designs start to impose costs on everyday life.
Doesn't GraalVM as mentioned in the root comment solve that problem? IIRC Graal can compile a JVM + Java application to a single binary, but I could be mistaken.
> npm is the dominant way to handle dependencies

Precisely. Which is why it's NPM's dependency problem, not JS's. Avoid NPM and no dependency problems (well, fewer anyway).

Liked your no tool article, but I laughed at this bit: "Traditionally, using other people's code has required some combination of npm and yarn to download those modules". NPM is only 12 years old (and Yarn is newer) — that's less than half the age of JS. No, 'traditionally' you just viewed the source and copied the code you wanted, or went to a project page and downloaded the script.
Cool debugging tool when updating databases which pull data from various sources!
The grace period of 10 days ended recently.
SQLite is the answer.
I think the differences would drop off significantly if one were to write Java while keeping the Go guidelines and proverbs in mind; that is, reduce or eliminate the amount of 3rd party libraries (you don't actually need a dependency injection / wiring framework for most applications, just instantiate your objects with dependencies by hand in your main method), reduce the amount of abstraction layers, don't try to be clever, stick with regular loops instead of Streams, etc etc.
I was debugging Postgres permissions the other day and was hoping for a tool where you can just diff the permissions of a table between databases and see why in one database a certain user has permissions (to insert, execute,...) and in the other one it doesn't.

That might be a naive ask and maybe that's not even possible but I'm wondering if such a thing exists?
We are looking for a CEO for ImprovMX
> it could be called something like “unicode separated value”

There is. USV uses Unicode Record Separator and Unicode Field Separator.

And data handling tools such as Miller offer USV:

https://miller.readthedocs.io/en/latest/file-formats/#csvtsv...
I think that difference is that USA was not actually that deeply interested in secretly running whole of Europe. Meanwhile, Russia was deeply interested in doing so last two decades.
I've read somewhere (possibly when Go came out) that it's on purpose. For fun, Alan Cox once made a post on Google+ (RIP) showing a crappy random number generator based on Go's select.
I hope figures like this make developers think twice about about throwing yet another layer of abstraction on to the pile.

How many VMs does an average business actually require, assuming the software wasn't written like total ass?
This is precisely the cause of my burnout this month, at a huge aerospace company you’ve heard of.

I felt like I wasn’t able to motivate myself to do the work, because I was incentivized to do what you described. I ended up doing both, poorly, but honestly I was able to make it a shockingly long time (I’m surprised I was the one to realize and decide to leave, no manager conversation yet).
In Sweden, my grandparents' generation didn't even consider garlic food. It was something you had to buy at the pharmacy.

The original Swedish meatballs were flavoured with allspice, but I think most people today think allspice has an old-fashioned taste.
Insect copper Jaws could help sustainable manufacturing
True, but I think a big part of it is that we do see the whole picture. And we do see everything without delay and without 5Hz refresh rates, that you often have in video chat.
Fedora 36: Fonts in GTK 4 apps look different, more blurry
Ask HN: Leetcode for Testing Roles?
I had an interview for a software test engineer at an ML company in Palo Alto that I flunked hard on Monday. First I had to complete a series of leetcode questions on CodeSignal which I just about passed and then had an algorithms interview where I totally forgot how to implement a binary search tree (specifically inserting values), and just got the rejection letter. I got one working, just, but it was a cumbersome process of working it out from foggy memory. To be fair I’d had a four hour on-site just before that, and also had to fly to England two hours after, so my head wasn’t in the right space.

Anyway, my question is when did leetcode become appropriate for test engineers? Are there any hiring managers here who can explain a double leetcode interview process? I really don’t want to spend my free time learning these things by rote to prepare!

I’m a little stung by the whole ordeal because it sucked failing so hard.
Auto generator for the prisms types? Can you share more about this setup? Was the generator something custom?
What is the relevance of this to SQLite's diff tool?
jai's irrelevant to the performance here, but it's very relevant to how easy this was to make. i'm not a systems programmer. i've tried writing hardware accelerated things like this in C++ but have failed to get anything to compile for years. the only reason i was able to get this working is because of jai. this is my first time successfully using openGL directly, outside of someone else's game engine
Fleksy Keyboard Developer Platform
> I don't believe in Bitcoin because it is a scam.

This is a part where I can't agree. A scam assumes someone is profiting on purpose. Bitcoin supply is largely diluted now though some early adopters made big, this was mostly by chance. That is, unless you think Nakamoto is still hiding for the big pay-off.

> Bitcoin is a digital currency that has no intrinsic value

There is no such thing as "intrinsic value". The value gets assigned by people and market participants.

> and its price is determined solely by supply and demand

Everything is.

> It is not backed by any government

Hardly anything is backed by governments. Also, outside of the Western bubble, many governments defaults on stuff they back...

> which means that it can be used to finance terrorism or other illegal activities

Most terrorism is financed by governments (big surprise!) and most illegal activities will prefer cash/banks/real estate because of the easier on-off ramps to the real economy. You can't launder money with Bitcoin.

> As the price of Bitcoin increases, more people are attracted to it, which then drives its price even higher - creating a self-reinforcing upward spiral that is unsustainable and will eventually collapse.

Okay. Not sure what the issue here is. Bitcoin doesn't have a regulatory body for "market stability". It's anything but stable.

I don't "believe" in Bitcoin. Bitcoin is there whether you believe in it or not. It has shown itself to be quite resilient to governments and censorship (if you follow the China bans) and unlikely to go away any time soon.
Some places = everywhere except UK and Ireland basically: https://en.wikipedia.org/wiki/Decimal_separator#/media/File:...
> I think the only matter here related to the war could be that electricity sales companies might be reluctant to sell a contract to them, due to PR reasons. But I bet one of them will, and they will get their power back

Not necessary, as actual engineers and electricians working for such companies could also refuse to make that connection. Also it's likely that sanctions will be more severe soon as Russian troops will do more crimes.
> From hiring to

Speaking of hiring, just yesterday I spoke with a Google recruiter but bowed out when he told me that the process takes months.

I can't think of any point in my career where I'd be willing to put up with a process that takes MONTHS. Either I'm actively looking for work and want something ASAP, or I'm not actively looking, in which case why would I put myself through that? My time is valuable, I won't spend months on an interview/hiring process. If anything, Google better spend that time telling me why I should work there, because I have plenty of alternative options.

So, if you copy their multi-month hiring process, I certainly won't be applying.
Don't know the parent poster's RFC... but there is a RFC 4810 which attempts to define CSV and when I looked was what Excel generated.
Related: RainLoop (of which SnappyMail is a fork) seems to be no longer developed and has a known stored XSS problem: https://blog.sonarsource.com/rainloop-emails-at-risk-due-to-...

SnappyMail is not affected by this and seems to be the successor.
Adobe Photoshop around v3/4/5 (newer versions may be as good or better, but I haven’t used them)

Microsoft SQL Server 7 or later

NextStep

BitTorrent (more the protocol, but could also apply to any good implementation)

JetBrains software (pretty much any of it)

Think Pascal

ZFS

OS/firmware in Nokia “slab” phones from the late 90’s

StarCraft II, original Tetris, original SimCity (since all the cool kids are suggesting games)
Not even a mention of MSPE? :-)

https://en.m.wikipedia.org/wiki/Mercenaries,_Spies_and_Priva...

It's a fun book to read and from what I understand the mechanic is awfully familiar to T&T players.

I wrote a couple oracle scripts I use with it, but the CYOA style adventures in the series are really fun as well.
It's telling that none of their devices support fiber...
So google wants to kill off the tired old joke now huh!
MTV was just one of the first businesses trying to make money on (safe) rebellion tendencies of the youth. Now everybody does that, with for example large clothing brands scouting what the hippest kids are wearing on the streets, and quickly turning that into the next collection.
Can't add much detail her, except this group of 50 people is tiny compared to the whole IT team, and political was a problem long before the retreat.
Reaching config nirvana in Clojure with Integrant and Aero
Never heard of Lightrun before, but it looks very neat - although I'm immediately turned off by the pricing page just saying "contact us".
Due to the unique history and political situation (city state), the city also just "suddenly ends", with little suburban sprawl. That said, Germany is so densely populated overall that there are few areas of "untouched" nature that the topl level commenter seems to be craving for.
VR video (not only 360, but also with a bit of wiggle room for your head to move) comes to mind. See this impressive demo presented at Sigraph two years ago (if possible with a VR headset) :
https://augmentedperception.github.io/deepviewvideo/
> Your approach will compute pixel importance in a single step

How do you address the vanishing gradient problem?
Estimating 10W per core at full load, 4M CPU cores can get a lot done too.
Plentiful 2000s have nothing to do with Putin. These were plentiful regardless of Putin not because of him. It is normal for every society to take a time to adapt with completely new situation. The fact that it was the beginning of 2000s where things started to become much better after the mess of 1990s is true for almost every ex-USSR and Eastern Europe country.

But Putin has always been the man he is now – the war in Chechnya began in 1999.
> slow is smooth and smooth is fast.

and speed is the economy of motion.
I never saw as many EU flags as in Tiblisi, Georgia in 2015, not even in the EU. But Georgia is so far away that's impossible to help in case of a Russian attack. The Black Sea would be a way to get there only after a war with Russia. Only Turkey could do something because they share a land border. This is totally outside the EU reach except with words.
If someone is responsible to ensure the health of the population they tend to focus on that task. If a source tells them that imposing a stay at home mandate throughout the year would save 10,000 lives, they might tend to chose it just to not be responsible for these deaths. Only a strong opposition allows them to come to a balanced choice.

Ever noticed that most interior ministers are surveillance freaks? Comes with the job as well. An opposition is actually beneficial for them as the consequences of decisions wouldn't rest on their shoulders alone.

So a solution to this dilemma is to limit powers in the first place. Such decisions should ideally go through parliament in democracies. Sure, sometimes acting fast is beneficial, but just as often quick decisions come with costs as well.
Oh thank goodness, so it's not just me who is driven insane by the mouse lag in browser input.

And while I understand your cynicism, I don't think it's deliberate as much as it's complacency, given that it's latency issues all the way down when it comes to modern user interfaces.

A literal decade ago Microsoft Research uploaded a video highlighting how much of an effect minimizing latency for touchscreens had on the user experience[0]. The vast majority of tablets still utterly suck in this regard a decade later, and I wonder if any manage to get below the 10ms barrier.

And of course there is Dan Luu's famous 2017 article on computer latency in general[1].

[0] https://www.youtube.com/watch?v=vOvQCPLkPt4

[1] https://danluu.com/input-lag/
Just to verify - having TOTP-based 2FA enabled doesn't help in case of a password DB breach, right? Since the protocol is based on a shared password, which means an attacker would be able to generate valid tokens using the secret they got from the breach. (looks like there's work underway to make a breach-resistant alternative to TOTP[1])

This means that assuming the DB is using proper salt+hash, the main differentiator is the strength of your password. If it's a relatively short one that can be brute-forced/found via dictionary+small mutation, then attackers could possibly log in as you. If it's a strong password from a password manager, then that will likely have kept them from being able to crack your password.

Of course all this only has value if we assume that only the password db was breached. If they managed to access the place your env-var/secrets are stored, then all bets are off.

[1] https://www.mdpi.com/1424-8220/20/20/5735/htm
One reason for overcommit is because of COW.

For example, you fork() then exec() from a process using 16GB of memory: without overcommit, you briefly need 32GB of memory.
Legally Yandex is well integrated into the EU. Their main co. is a dutch, public company. Not sure how sanctions should work in this case.
> The US as a lot of leverage over Germany, France and most of the EU,

Yes, that's exactly what I meant when talking about US's hegemonic power.

> Whereas western EU countries have more leverage over Russian companies without fearing much retaliation.

Some parts of the Russian political elites really believed (maybe they still do) that Europe's industrial heartland (or what's left of it, anyways) depended on cheap Russian energy. That was of course correct, Germany's industry greatly depends on access to cheap Russian energy. Where the Russians mis-calculated here was in thinking that the Europeans (meaning mostly the Germans) would relinquish their industrial advantage at the behest of the US (and partly the UK, even though is debatable how much of a geo-strategic role the UK still plays on the continent). As the German chancellor said a couple of days ago the upcoming total embargo on Russian energy will have economic consequences (there were talks of a 3-5% hit on the economy), imo this is a very risky play in the middle- to long-term, you don't want a united Germany hit by des-industrialisation in the middle of Europe.

Later edit: This recent editorial from FT's Martin Wolf is pure propaganda, it puts the onus 100% on the Germans and asks them to economically suck it up for the benefit of Europe and of "democracy" (apparently whenever the US gets involved in a war is always for protecting "democracy").

> A brutal conflict has come to Europe of a kind not seen since the second world war, and even where some of its worst atrocities occurred. For Germany in particular, it is a moment of challenge and opportunity. The challenge is to defend Europe’s liberal civilisation. The opportunity is for historic redemption. Russia must not prevail. This is what matters most. There will indeed be pain. But it must be borne for a far greater cause.

Again, it is my belief that this won't hold in the middle- to long-term, the current US leaders are playing with fire, an united Germany strategically allied with Russia in 10-15 years' time would be the end of many things on this continent, first of all of "democracy".

[1] https://archive.ph/qVVi2#selection-2031.117-2038.0
Checking that out:

You have: 40 MWh
You want: tonoil
* 3.4393809
/ 0.29075
You have: 1 tonoil
You want: barreloil
* 6.8419323
/ 0.14615754
You have: 6.84 barrel
You want: liter
* 1087.4731
/ 0.00091956298

So, roughly 1,100 litres of oil per 40 MWh(thermal).

The generator is likely ~30% efficient at converting heat to eletricity, so bump that up to 3,700 litres/hour.

Even allowing for other inefficiencies, 12,000 litre/hr seems high to me. Though as a practical measure it may be correct. It's within a factor of 4 of the actual demand though.

(Calculations using GNU units.)
I feel like not running a datacenter on backup diesel generators is going to have a slightly bigger impact than cutting back a few VMs
Why MS SQL Server in particular as opposed to a generic SQL database? (not criticism, just curious)
Exactly, the novelty of finding something our for yourself. And lots of times the anticipation of waiting for something itself used to be so fun. As you mentioned, with everything being reviewed to the minutest detail, all of that novelty is gone now.
There is a balance to find between not enough annotations and too much annotations that one has to find. My algorithm is to write few annotations by default, and my answer to error messages I do not understand is to add "obvious" annotations (e.g. type of arguments) to tell type inference what I expect. Rarely does that solve the underlying issue, but it often makes the error message much clearer.

With experience, I am more or less able to preemptively add the annotations that will probably help (e.g. aiming avoid accidentally polymorphic functions, the return type of mutually recursive functions, etc.).

I don't think I have ever gotten "This expression is of type X but an expression was expected of type X" outside of the toplevel with type re-definitions, and recent OCaml versions have a nice error message for this now:

Error: This expression has type t/1 but an expression was expected of type
t/2
Hint: The type t has been defined multiple times in this toplevel
session. Some toplevel values still refer to old versions of this
type. Did you try to redefine them?

In general the error messages have been continuously improving in recent years.
Got to pick a date format first, what date it is depends on what calendar you use, and where you are in the world. That's before you add time.

So you could base it on UT1/TAI, but then that ignores clocks in space.
Even when no laptops or phones are present, people who are not interested in the current topic will find a way to zone out. Especially in longer meetings with more than 4-5 people it is an illusion to have everybody engaged all the time.
To be fair you can just take out the batteries and run it that way
Agreed, they hopefully fixed that particular issue.

However, it is prudent to expect other problems in new technology. And nuclear reactors need a huge initial investment (they seem to be vastly over budget and time these days) and take a long time until they are available. It seems to be cheaper, safer and faster to go with renewables, doesn't it?
Channable - https://www.channable.com | Utrecht, The Netherlands | ONSITE (post Covid) - Remote EU (in consideration)

Join one of the fastest growing scale-ups in the Netherlands. We currently have several open engineering positions to join our team in Utrecht.
We are a young company with a strong engineering culture and some unique data problems, that we are solving for our customers.

You can read more about our work on our tech blog: https://tech.channable.com/

Our Stack includes: Haskell, Python, JavaScript, TypeScript, Ember.js, React, PostgreSQL, Redis, Ansible, Terraform, Nix

We currently process tens of billions of products per day and offer technically interesting and challenging work. We are looking for highly motivated and skilled engineers to join our team.

Open positions:

- Haskell Software Engineer: https://jobs.channable.com/o/haskell-software-engineer-3

- DevOps Engineer: https://jobs.channable.com/o/devops-engineer-3

- Python Software Engineer: https://jobs.channable.com/o/python-software-engineer-5

- Front-end Developer: https://jobs.channable.com/o/frontend-developer-3

- Integrations Engineer: https://jobs.channable.com/o/integrations-engineer-python-3
Python bindings for Clojure
Oh yes, Starglider was stunning at the time.

But wireframe only, I think?

I think Starglider 2 was inspired in part by Zarch on the Archimedes, and the free Lander demo that came with every Archie.

https://www.youtube.com/watch?v=mFwpsb75omg

It is hard to put into words how amazing it was to see this running, live and playable, on a home computer in 1987.

Jez San also co-designed the SuperFX 3D accelerator chip in the SNES game Starfox. That evolved into the ARC RISC CPU family.

An ARC core was the Intel Management Engine chip in Intel CPUs before they switched to an x86 ME controller running Minix 3.

https://en.wikipedia.org/wiki/Intel_Management_Engine#Hardwa...

And that ARC core ran ThreadX, which is the same OS that runs on the GPU of every Raspberry Pi.

https://en.wikipedia.org/wiki/ThreadX

San offered me a job once, nearly 30Y ago. I should have accepted it. :-D
Even Linus seems comfortable with 100 these days: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

On my team we've settled for either 100 or 120 depending on language.