skysight-inc/HackerNews huggingface dataset:
I'm slightly surprised IRL Minecraft isn't a big thing. You'd think there would be a Lego competitor with square blocks, that could stack side-to-side, and everyone would go nuts for it
Well there is a whole lucrative industry hyping the shit out of it, and the rest of us who can for the life of us understand how this is useful.
But it doesn't do this is my whole point. React will not blow away the entire DOM in the document even if props change.

It will correctly keep your scroll position, caret position, etc. if you use React the way it's intended to be used, which is very easy to do and learn. Of course if you use the `key` prop to blow away the entire DOM with every change all these benefits are lost, but thats not react's fault, its your own.
Ironic that in a thread about shaming how people should be permitted by others to have fun, the first page of that web page is a long rant about the author's demand to gatekeep his purchasers political views, dripping with hatred for his opponents.
It could also do without the marketingspeak - it has way to go until it will become "disruptive".
> they actually make the freaking best toy bricks ever

I’d disagree.

They used to, but currently the best toy brick would be chinese makers’ technic blocks (which might be 10% weaker than Lego bricks, but cost a third of the price and are available in bulk), coupled with an alternative controller like Sbrick or Buwizz or a few others that entered the market.

For simpler, more “classic” sets, the buckets are still good value to buy in physical retail stores, but otherwise frustrating to use compared to single or two/three color sets.
Wow. That is really really cool.
The State of the Future: 4 Learnings from a Deep Tech Horizon Scanning Project
Oof, fixed
This article is everything that is broken in media and it honestly pains me to see NYT printing this stuff. However, I am also a capitalist and I suppose I can’t blame NYT for doing what it has to do to earn a profit. It’s the incentives we have.
Which is actually a pretty good track-record compared to back to back literal world wars, with a very long period of pretty much every state waring with each other before that.
I don't know what rock you've been living under, but licking the boot and bring patient leads you to be stuck in the same position because "you're too valuable right where you are" for 33 years until the company gets restructured and you get laid off with nothing more than a "sorry!" before you could get your full retirement package.
Lego'a old site was amazing. I spent hours dreaming of one day having a Mindstorms set!
A lot of low level jobs are starting to require BAs, though. And the number of super low level jobs like cleaning that don't is at best constant or maybe even shrinking due to automation.
> a liter of fuel moves one TEU for one hour.

That's a great little number, and actually feels very efficient!
Something like this:

struct cmp
{
hash: *fn(_:*void) u64,
eq : *fn(_:*void, _:*void) bool,
free: *fn(_:*void) void
}

With maybe some default options should be enough for at least the basics.
Note that the indirection overhead would be significant, but without generics or something similar, you don't really have a choice.
One of the rare HN-appropriate occasions for me to say: user-name checks out.
I recognize you're being sarcastic, but to answer the serious arguers of this "unbanked and oppressed need Web3" statement the answer is still no.

Hawala is a method of money transfer dating to the 8th century. You give some money to a broker, they take some cut, then communicate to a broker at the other end to give the person you specify the amount you requested be delivered. Then the brokers settle accounts independently in a fashion that suits them. In this way it has the same non-banking cross-border benefits that cryptocurrency does (and for privacy may even be preferable since the transaction doesn't appear on any standardized nor public ledger).

It also ranges in legal status from illegal to highly illegal depending on jurisdiction, as it turns out this is a very convenient way to fund terrorism (because it's proven to work for people who are disconnected from official financial channels). It's also used for perfectly innocent purposes, but because it cannot be monitored due to the peer-to-peer nature of the transactions between brokers and individualized bookkeeping it's banned.

I consider its legal status to be a canary for the status of cryptocurrency's role in cross-border transactions. The bits that are effective will eventually be banned (we've already seen this in practice with the recent conviction of that Ethereum founder who was trying to help North Korea evade sanctions with cryptocurrency) and the bits that are the same as the banking status quo will be allowed, making it effectively no different from the status quo.
it took all of 30s to write a bash script to delete them
Notch?
Ok, so hold all your assets in real estate, stocks, or gold and only convert it to fiat when you need to pay for something. I'm not sure what cryptocurrency adds here besides another (rather volatile) investment vehicle.
Any links to learn more?
Sydney takes this to another level, being lots of parks and lots of suburbia (which unfortunately means more car reliance, but there is a lot of green space). Even lots of beaches and a national park!

I imagine a lot of it is “topographically forced” by the harbour / rivers intruding everywhere.
Dear Future Me: I Am Not Alone
I think they may be more open than it appears.

LEGO published an official reference for communicating with all of the modern technic hubs on their github:
https://github.com/LEGO/lego-ble-wireless-protocol-docs

There are several projects that have implemented parts of the protocol, ex:
https://github.com/undera/pylgbst
https://github.com/JorgePe/pyb00st
https://github.com/virantha/bricknil

If the official protocol leaves you wanting, there exists 3rd party firmware for a most of the hubs that allows you to run python directly on the hubs:
https://pybricks.com/
They could shoot down a plane full of NATO nationals (again), or deploy chemical weapons of mass destruction in European cities (again)?
Stockholm is almost cheating though, with all the water flowing through the city.

What's impressive though is that Stockholm manages to keep (most of) that water clean, and you can go swimming in the city center, without ever visiting a swimming pool!
What are your main reasons for recommending Cognito? That it is free and easy to get going with?

Have you customized the user login experience?

I only ask because I've heard folks talk about how Cognito does the basics right (which is great, no one should roll their own auth) and is quick to get started with, and is serverless and free (unless you want SAML connections).

But once you get past the basics, it turns into a ton of hassle. And there's been little progress in feature set/docs/etc (though last year they did do a UI refresh).

* https://twitter.com/zackkanter/status/1488297503455956992

* https://fusionauth.io/blog/2020/11/18/reconinfosec-fusionaut...

They also don't let you export your password hashes, so when you transition to a self hosted solution, you must force your users to reset their passwords (or perform a drip migration). I wrote about these options here: https://fusionauth.io/blog/2022/02/07/how-to-migrate-from-co...

Disclosure, I work for a Cognito competitor, FusionAuth.
That's how I read it. How else would the sentence make sense? Maybe they're saving a separate list of all passwords, saved with the same salt, but not associated with any account? Not sure how compatible that would be with the rest of their "security measures", but then again, their security policy is all over the place already.
Keycloak is a great piece of software if you have to authenticate against AD (on prem, not Azure AD). It's the best way to isolate all the crap like "user accounts live in this OU, but admin accounts live only in that OU. Oh, and we also have another domain where contractors live in the same OUs. And the groups that map to application roles are the same, but live in differently named OUs" and provide a simple OAuth 2.0/OIDC authentication/authorization interface to all this mess.
Appreciating Deconstruction in The Stanley Parable
I feel like people are less getting worked up over Hare itself, and more what it represents. It is very much a reactionary language, defined less by any grand new ideas or visions and more by rejection of things that many people see as valuable progress over the last few decades. It doesn't help that it is being pushed by an already highly notable and controversial figure. The language just happens to be a convenient vehicle for arguing about these engineering (and personal) values.
Mobile booting?

I hope we will soon see Thunderbird on Android! Finally decent Email-App with PUSH-IMAP, local storage of all E-Mails and a comfortable UI.

But K9? It works. But it is complicated and has raw edges e.g. the visible permanent notification about PUSH.

But FairMail? Cannot store all E-Mails locally.

But GMAIL? Doesn't support PUSH with IMAP, only with Googles own Email-Service. Cannot store E-Mails locally.
Take a look at Fly.io - https://fly.io

They offer scalability across different regions and provide the networking and tooling for it. Their service also has a way to go, but I see continuous progress.
I like IdentityServer4 even though is not supported anymore
This was discussed before, lots of good comments are there:

https://news.ycombinator.com/item?id=19183093
One of the things about experiencing nature is it is a somewhat uncontrolled environment. I believe this affects my brain in a very specific way.

In this regard, parks and such are a poor substitute.
Did they offer some kind of verification path?

So you could only allow an email change if the user proved they owned the new email account by clicking a link or entering a code sent to that account?

Seems like a natural option.

Of course, allowing you to disallow email changes seems pretty reasonable too.
data:text/html;charset=utf-8,<style>html, body, section {margin: 0; min-height: 100vh;} section {display: flex; justify-content: center; align-items: center; font-size: 20vh; font-weight: bold;}</style><section>maybe</section>
I think one big advantage of GUIs is safety. There's no shortage of people who accidentally typed a bad command in production.

GUIs usually don't let you operate on anything you can't see, so it's harder to do the wrong thing by selecting something without looking at it.

Like with dd, you can type /dev/sdWrongDrive and never see anything about the device. With a GUI you will click a button that says "Root Device: 67GB free of 128GB" and instantly see it is not your blank SD card.
> the visible permanent notification about PUSH.

by what magic way do you think Thunderbird will not need that?
Yeah there sure seems to be alot of scams. But the idea that it would dismiss everything related to the blockchain seems like taking it a step too far in the other direction? I'm no expert but I get extreme flashback of the era when PHP was considered radioactive garbage and any attempts of nuance was struck down
The problem here is *void, which is not great. You lose type safety with this approach, and the allocation problems are still present. Rolling your own can be both more type safe and better suited to your problem area, and it's not particularly difficult.
What would you say have been the positives and negatives of it? Is the learning curve above and beyond OIDC/OAuth? How much did you have to customize it?
It is flawed for (otherwise) veterans too if they are trying to do something that they haven't done before so do not know what they do not know.

This really only works if you have done the same or something very very similar before and so you have practically no unknowns. Notice that the developer who did that commented above that they had already done similar work at the past.

Also related this quote about how Joe Armstrong (of Erlang fame) approached problems (from [0]):

> Joe wrote amazingly simple programs and he did so in a peculiar way. First he wrote down the program any old way just to get it out of his head. Then once it worked he would then immediately create a new directory program2 and write it again. He would repeat this process five or six times (program5, program6, ...) and each time he would understand the problem a little better and sense which parts of the program were essential enough to re-type. He thought this was the most natural thing in the world: of course you throw away the first few implementations, you didn't understand the problem when you wrote those!

[0] https://github.com/lukego/blog/issues/32
Europe is not even a geographical continent, its just one part of the Eurasian continent.

Which means the majority of Europe/Asia distinctions are drawn around economic, cultural and particularly political borders, none of which are natural but to a degree rather arbitrarily defined by humans depending on their particular agenda.

In that context "othering", up to a scale of denying whole nation states their geographical location and cultural influences, has never lead to better and more peaceful relations, quite the opposite.
Agree that on behavioral front, there is not much new signal after a few hours of conversation. Some evidence for this is a well-known study [1]. Unsure if the study has been validated, but the idea has stuck with me.

Regarding cognitive decay: I like to think time is simply pruning the weak and lazy neurons. At least that's what my remaining grey matter is telling itself. Your comment made me laugh. Thanks.

[1] https://kevin.burke.dev/pdf/30_seconds_teacher_quality.pdf
Laptops, at least in my experience, don't turn themselves back on after a power cut so you have to pay attention to them. It was a pain for a CCTV server I had.
The control+ or whatever it's called, that you can control from phone apps butit seems that it is already opened up
You are seeing trolls defacing the demo.
> consumes 3.9w

is this figure taken from software (powertop) or from a wall power-meter (i.e. including the psu)?
Maybe I'm an odd one out, but my team never goes on camera unless we notice others doing so. What we instead do is either talk it out, or someone shares a screen and types into OneNote or any other software and we all just talk things out.

I could see how cameras would make things awkward though. My suggestion is unless you're introducing yourselves for the first time ever, I don't see the point of a camera being on for every single meeting.
I've turned the net into a pull medium where I read based on when I want to read, not when someone else pokes and prods me to read. Turning off notifications has been a big part of that, aswell as treating email as a TODO list written by other people.

I've also trained all my feeds (Twitter, RSS, Facebook, etc) to be all high signal. That takes work though, but once the initial hard work is done there, you can sit back and enjoy the spoils.

And don't forget plain old fashioned books. I can impart more knowledge from a good book than any of the famous 'longread' blogposts.
Is it really?

I'm sure there are plenty of candidates giving up because they received a competing offer and wouldn't wait, but I think it's reasonable to expect a hiring process to take a month, even in small companies.

Edit: I also have anecdotal evidence of cases where an offer would be made withing 2-3 business days after the interviews at both Google a Facebook.
What does that mean, "you can tell this sequence is not random"? If you show me a blue hat, and ask me if it's blue, I'll say yes, I can say it's blue. But there is always a chance it's not actually blue. It's very conceivable that I'm in a situation where I say with confidence that something is blue, but it isn't.

You always only ever speak in probability. Of course you can't say the sequence isn't random, because every sequence can be the result of a random process. "can you tell which is random" to me is equivalent as asking "is one of the sequences such that it is rational to choose it over the other as being random".

It's about rational decisions. Consider the frequentist view, where a probability p for an event A means that out of k trials, pk will show A (in expectation), and fruthermore if k -> infty, then the portion of events that show A will converge to p. If you want to choose the right sequence as being random as often as possible, it is rational to choose the one I described above, because it will, overall, be the one that is MORE OFTEN the random one compared to the other.
>will be built on the Intel 4 process, which was formerly known as Intel’s 7nm process

This marketing will never fail to make me cringe.
This is not what is called "control". Just some stories from the old times, something that could happen anywhere.

1. Father of one of the co-founders had a business in St.Petersburg in 1990s, but already in 2001 he was arrested for kidnapping charges. Doesn't sound like a "friend", does not prove Putin's control over VK at that moment.

2. Source? The only thing I know is that the founder is distant relative of a person, who became VP in Rosneft in 2016, long after the company was founded. Quite a stretch for "patronage", though they could use their connections to defend from raider attacks and extortion.

3. Every large company in every country has some relationship with the government. This is not the same as control, not the same as having political influence over the company and not the same as using the business for embezzling the funds for political purposes. I know some companies where their GR was basically a CSO playing tennis with an old friend from FSB, which kept them under the radar of the regime - I would not even call it corruption (how often can you see a DA in USA playing golf with some businessman?). You have to be more specific.

The reason why government or affiliated oligarchs take over the businesses, is to gain control because they did not have it before.
Is there anything out there comparable to Gmail but open source? To be honest what I look for in an email client is not how snappy it is. It's how much it helps me deal with email. Gmail does it quite well. Search is good, tags are good enough, the interface is not bad, editing is pretty decent, features are plentiful. But I'd love an open source self-hosted alternative.
I don't know for sure, but I believe what made Sun's stuff so great (i.e. doesn't really ever stop working) was very tight software and hardware integration.
I still find it absurd that having a decline in economy would somehow push Germany to align with Russia, No offence, but economic issues or not, I don't think any European country with a smidgen of sanity would even touch Russia with a ten foot pole after what happened in the last few months.
> If we can do that in Python, I've been in my cave for too long^^

...practically speaking you're kind of right, you (almost) can't.

In theory one can use `sys.excepthook` to start the python interactive debugger on error and/or %debug jupyter magic, but the "change it, recompile it, come back to the debugger" is not really possible unless you the yuuuuucky thing of changing it from the interactive debugger itself (think change def in code, paster changed def in interactive debugger).

As a python expert you can do it. Even modify classes at runtime etc. Tried at various times doing the various things mentioned above. But tbh you learn to rarely do it because you easily get in a twilight zone hell where it's impossible to reproduce anything, no idea what state of code is "active" and what your functions and variables actually are :)

...but basically what Python lacks to enable proper implementations of such feature is decent concurrency - while a thread is paused at the breakloop, the interpreter should allow another to eg. execute code that updates functions and classes definitions - all Jupyter's magic can't do this bc concurrency in the Python interpreter is not doable :)

...in theory the Julia jupyter kernel for example could actually implement all the features mentioned by people describing CL loops - just that someone would need to put the tons of work in, and unfortunately Julia folks seem focused on the automagic-reactive approach to recreating excell-but-as-a-notebook (I don't like this magic-reactive approach tbh... try doing that and have a random variable change "accidentally" triggering recomputing something with a 10gb dataframe you had in var or the retraining of a big deep learning model).
From what I've heard, Keycloak is better supported and has a bigger community that Gluu (12k stars vs 300 stars on GH). They are both open source and in Java. I've heard from users that Gluu can be a resource hog.
It's not atrocious unless you need the performance. A linked list with a hundred items which is scanned every 90 seconds or something does not really demand attention for optimization, but it will be simpler, easier to write, easier to understand, and easier to debug, and those are wins are not to be sniffed at.

And for the record, Hare does have built-in growable slices, so linked lists are pretty rare in Hare. They exist in a few niche situations -- I only ever wrote a Hare program with linked lists once.
I try to also raise awareness of NIST's Blockchain Technology Overview, which is a good explainer:

* https://csrc.nist.gov/publications/detail/nistir/8202/final

See especially Figure 6 ("p. 42", 53 of the PDF), which is a flow chart to help you decide on whether blockchain may match one's use case. Extracted:

* https://imgur.com/a/RlUj9Ed

Generally you need the conditions of needing both (a) append-only log and (b) distributed/decentralized before considering blockchain 'technology'.
The problem is less that it doesn't provide an implementation, but more that it doesn't allow anyone else to provide an implementation either (aside via code generation).
Even a weekly hiring committee will eventually prove to be too slow, because there will be competitors making hiring decisions within 2 business days or just after the interview.
It does. My thinking is that Heroku rotated everything they could do on their own, and need users to handle custom drains. However, looking at the json output, updated_at dates for the heroku-managed drains are old. I have a question back them about that.

Related, my hope is that the drains, passwords, etc. are efforts towards doing literally everything possible before re-enabling integrations so they can do so with more confidence (vs breach damage control). Fingers crossed.
TIL of Sun co-founder Andreas Maria Maximilian Freiherr von Mauchenheim genannt Bechtolsheim's most awesome full name!
in case you did not find out by now

echo performance |tee /sys/devices/system/cpu/cpufreq/policy?/scaling_governor
Ok, thanks for the info (so, 0$).
Wezterm (kitty too) is really a great piece of software, I use terminals 12 hours a day, but I did not spent a lot of time configure them, but this article is inspirational.

PS: kitty developer is the same developer of calibre, another beautiful software.
Solving the dependency injection problem with ZIO (deck) [pdf]
This has been a problem with GTK4 for >11 months now. Nobody has bothered to fix it, they're all busy redesigning the default theme and cutting away features. Actually, the whole bug report thread for this issue is pretty sad to read: https://gitlab.gnome.org/GNOME/gtk/-/issues/3787

All ye who have faith in the GNOME maintainers to not put the cart before the horse, be warned and turn back now.
This is a great example of missing out on third order effects. What do you think happens to your existing employees if they have no avenue to advance their careers internally? They will leave for another position elsewhere leaving you with that same need to fill 2 positions. And now you are in a situation where instead of retaining your best people you are losing your best people.

Penny-wise, pound-foolish