skysight-inc/HackerNews huggingface dataset:
Reasons listed in this article for the far right rising:
1. Privatization of hospitals, schools and care homes.
2. Rightwing parties adopting Sweden Democrats rhetoric in an effort to win votes
3. Cancelling of Sweden Democrats leading to feverish party loyalty.

I know the author clearly says she is a liberal democrat right at the end, but how can you not even try to examine the idea that maybe Sweden does have immigration problems of some sort when the anti immigration party delivers these results?
> That's a really interesting detail - presumably channels can be passed so you can do callbacks ("reply on this other channel").

Callbacks or notifications, yes. I use both patterns quite often.
When you are busy thinking about the short-term, you are not thinking about the long-term:

- career growth

- compensation, bonuses

And that is by design.

Keeping people always in a rush is a way to distract them from their growth aspirations.
Nah they're just heavily inspired by the Welsh :p
Because they would make the same comment on the playstation, steam, xbox etc. store? I am not sure what you think the "problem" is supposed to be instead or why it needs quotation marks.
So, libertarian anarchy? Everybody fends for themselves? Sounds lovely. /s
Yep. It's a shame EcmaScript 4 (based on AS3) was trashed. The web would be very different today.
Reminds me of this bicycle subreddit where they spend thousands on bikes and cosplay attires to get smoked by 60+ years old dudes on 40 years old bikes

As a casual rider you'll be the bottleneck for years before your gear matters even the slightest
> having yet one more of these days where I'm measuring how much time I am in my current company to see if I'm ok to start looking.

Hah, for me that's most days Mon-Fri. But not to start looking, but just quit and take some time off. I just can't brainwash myself to like (or even tolerate) paid work.
Yes! This would be great
It's not hard to keep persistent identity pretty much "anonymous", just use a throwaway e-mail and generated password, and if the website's owner message is to be believed that was the majority of people. They did have a leak back in 2019 so i'm inclined to believe him on that.
API Testing in Kubernetes
I'd have taken such an offer in a heartbeat just to get back in the industry. "Indentured servitude" 2 years being paid... what ridiculous bs, that's normal in many countries.
There are some applications where coroutines are a comfortable way to code even if you don't care about concurrency. For instance there are many cases where you write an Iterator that wraps an Iterator, like

https://paulhoule.github.io/pidove/apidocs/com/ontology2/pid...

that involve a slightly awkward state machine (and some complexity around initialization and teardown) that can be avoided with coroutines such as Python's generators.
Reduce scope, or move the deadline. Taking shortcuts or working overtime in significant amounts just leads to more trouble down the road.

Once the project is delivered, make sure you all sit down and do a retrospective on what went wrong, decide what you’ll change next time, and actually make those changes.

If none of this seems feasible in your organisation any time soon, leave. Don’t waste your time with people who aren’t taking your work seriously.
Yes! My contact info is in my profile
Ahhhhhhh ok I see that's a bit different from how I was thinking about it, and yeah that does feel more forgivable. Here's maybe a better way of describing what I mean (though it's getting a bit more abstract and distant from the Hans/Magnus issue) if we have a timeline like this:

1. BadThingX occurs

2. related BadThingY occurs

3. related BadThingZ occurs

4. Bob denies doing all instances of BadThing

5. something comes out, and Bob concedes that he's done BadThingX when he can no longer get away with denying it

6. something comes out, and Bob concedes that he's done BadThingY when he can no longer get away with denying it

7. I am now pretty sure Bob is also responsible for BadThingZ

I've seen this kind of cascade of lies gradually unravel often enough that my brain (over?)eagerly pattern matches it. As I said this is a pretty abstract description that doesn't exactly fit, but I guess we're at least clear on how we have contextualised it and reached our own opinions.
Ask HN: In 2022, which is the best book or course to learn programming?
I thought this article was about what PG learned from users but he just wrote about how good he is at identifying startup problems because they are all the same but actually not so same when it comes to replacing his job with an automated FAQ.
Meson has improved the build situation in C++ significantly.
We switched to 17 this summer.

I am hoping that many of the things in the pipe right now are finalized for 21.
Not going to claim I have any great knowledge on this at all, but I stuck a chunk of cash into a moderately low risk ETF 6 month ago. It's gone down relative to the cash that is still in the account.
The easiest way to go lower is to live in a smaller house. Two people don't need 2,400 square feet.
It’s a cave and on the beach. Likely flooding of the cave moved items and scattered them.
Lots of people optimise because they fell in the rabbit hole of optimisation and it became an addiction. Like in every hobbies some people completely lose touch with reality. I've seen videos of people comparing weight of bicycle seats and how to shave like 13 grams of weight of the bike, meanwhile the dude had a dad bod and shaving his torso would have shaved more weight than his $$$ seat
> fatal blow to crypto prices

wat?
Worse than $900 ETH?
Not too sure.

> Rule number one is don’t fight the IRS.

Google or Twitter search "boating accident"
I feel like there are always perverse incentives with open source business models, but I'm not sure I can see any with this one.

I would of course prefer it if people could pay what they want (or if they linked to the gratis version), since there might be folks stuck on macOS and that don't have spare cash this week to pay for LibreOffice.
Why are spaces randomly omitted for language constructs like if and for, and reference type &s left aligned?!
You can after 2 years, what am I missing? Or is that too much time to spend at a job nowadays?
90%+ of people don't care about their jobs (60%+ of them actively dislikes them IIRC), are they all nihilists in your book?
Rust on Nails is a full stack web architecture for building web products in Rust
It really depends.

Was there some kind of thought-up end date? So what, it's running late.

Otherwise a common approach is to cut scope, deliver fewer features than initially planned.

If somebody asks you to work overtime, ask them how you'll be compensated. Factor 1.5 pay for overtime? An extra week of payed vacation? Get that in writing! If the expectation is to do it just to keep your job or "for the company", I'd say start looking for another job.

And no matter what, don't risk burnout. No amount of pay is worth that. If it's too much, either ignore the pressure, or if you cannot, quit immediately.
I quote your sarcasm.

> Losing weight is effort.

I knew a guy that was training to run an amateur marathon in under I don't remember which time. He went asking to a coach and came back with a long list of training exercises and runs or, the coach told him, lose 3 kg. He lost those 3 kg.
'Communication and Concurrency' by Milner?

https://dl.acm.org/doi/book/10.5555/534666
Love it or hate it Iran is an independent sovereign nation. Playing games with other people's politics is unwise unless you are 100% clear what the outcome will be and that you are sure you have the right to do so. Being a billionaire is not a qualification.
Comments about what something is doing are both the least useful and most likely to go out of date.

Comments about why something is happening are in my experience much more useful.

An example:

# Using an if / elif rather than a select here

Rather than:

# Use a large if / elif statement here due to a regression in TCL 8.4 which made select statements significantly slower. See GitHub.com/tcl-bugs.
What I have heard about the Vision Fund strategy is that it's to subsidize a company until it is large enough to go public and be included in the major index funds. After that happens there's a lot more investor inertia and retail money.

Again, it's just something I've heard.
He completed the game without breaching his contact to play it.
Many devs (young or not, age doesn't matter) simply have no idea how CORS works and don't understand the "same origin" policy. I've seen hundreds of hours wasted on CORS / OPTIONs request implementations that could've been saved with a reverse proxy, if only they knew what one was.
You can just select and copy, and then paste. The whole expression is editable as a line of text.
Show HN: GPT-J inference on the CPU using C/C++
Mozilla – Security Advisories → (September 20, 2022)
We have known for many years the CIA is awful. Get rid of it. We can achieve national security goals via alternate means.

It's probably going to get me banned, but we know they interfere in foreign elections. Why is it such a long shot to believe they don't interfere locally?
If you're retired and planned on cashing out, what are you supposed to do? Not cash out and live on nothing, go back to work, or cash-out and just not buy everything you wanted?
I think Red Hat’s approach is that they will refuse to sell you any more versions if you do that. I’m not sure if I like it or not.
I'm not here to advocate for expensive equipment but my cross country hardtail MTB (even with the wide tires on the roads, non-carbon) feels like half the effort to pedal than my old crummy commuter trekking bike with narrower tires, so I guess your 600€ bike might already have one of the biggest optimizations packed in ;)
Nah. Sorry but I don't like it at all.

Let's have a 20,000-Watt society, not a 2,000-Watt one.

But, let's make sure that the production, storage and distribution of energy, in all its forms, is sustainable, and available to every country.

The trend is already here: cheaper than ever solar and wind energy, cheaper and cheaper energy storage, new energy breakthroughs, promising ones like nuclear, etc.

It means the world will be able to soon produce much more energy, using only sustainable sources.

Let's make energy available to everyone, at an affordable rate. That's my dream. Not a communist-like starvation of sorts.
Hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha ..... "Rust on Nails" .... I see what you did there
>This is what agile actually wants you to do.

And almost never does because it's designed in a way that's easy to abuse. Instead you often see dynamic ever-changing scope, dynamic ever tightening deadlines, and no margins for risk. Everything is on fire always and you just chase the fires around with your dev teams to put out fires, crack whips, and ask why features are behind schedule. It's madness in much of the industry.
It's no mistake that just a few pages into Genesis, we see Adam and Eve royally screwing up the paradise they've just been handed the keys to. People are just a hot mess.
Absolutely. For many (perhaps most) people in the rich world, embodied energy in the stuff we buy is our greatest source of energy consumption.

Very rough breakdown here:
https://www.robinlinacre.com/energy-usage/
I'm a big fan of "BFF" (Backend For Frontend), which among other benefits, sidesteps CORS altogether. See eg https://remix.run/docs/en/v1/guides/bff
Except most of the places that they took artefacts from are not warzones, or under threat of war. Egypy, Greece, Nigeria, Turkey, the US, India, China, South Africa etc etc all have the capabilities to take back and house their treasures safely. It is purely British arrogance to think that many other countries don't treasure these objects nor able to look after them.

I think preservation vs plunder argument is an easy copout for those that are keeping stolen goods.
The alternative in Rust would be using `.get()` in those situations, which returns an optional result. That still doesn't account for valid but outdated array indices, though.
A lot of the west’s most atrocious actions were also validated by their special books.

It’s a good thing that as the west developed god-like military/industrial power, it also went through some serious reformations in its belief systems.
I read that a game in Croatia led to officials strip-searching a statistically improbable tournament player.
Yeah, when someone disagrees with your opinion, he paid to do so.

Brave ads aren't even enabled by default.
This is taking advantage of coroutines and to-be-closed variables.

To-be-closed variables were recently introduced in Lua 5.4. Lua runs a destructor method when these variables go out of scope, like the RAII pattern in c++.

Coroutines have been in Lua for quite a while now. They allow cooperative concurrency (as opposed to preemptive concurrency a-la threads). It works similar to async generators as found in Python, C#, etc, except that Lua coroutines are stackful. You can yield inside an inner function and it'll pause the whole call stack. In the article, the yield is inside the async_sleep function. When you call a function that yields, you don't need to explicitly mark that with an "await".
I guess the model (without pay-what-you-want) punishes poor people with the extra cognitive load of installing the gratis version outside of the presumably more convenient App Store flow.
Congrats on building and launching your app.

However, in my opinion, you need different examples to show the strengths of this app. A lot of the examples on your page look kinda clunky and error-prone to me, and better solved with a spreadsheet.

Take the "personal finance" one. The "total expenses" row lists out all the expenses adding them out one at a time. In a spreadsheet you'd just type =sum(A1:A5). Imagine it wasn't just 5 but 20 items. Now your sum gets pretty unweildy. How confident can you be from looking at that sum that you haven't missed one of the expense items? In a spreadsheet you know pretty clearly that =sum(A1:A20) has all those rows. Better still, if you insert a row to add another item, it'll update the sum for you.

The "Investment returns" sheet is another example. What if I wanted to extend that to 30 years? In a spreadsheet I'd just copy the last row and past it in the the next 10 cells and I'm done. Here's I have to paste it 10 times, and then manually update each row and hope I didn't make a typo anywhere. What if I didn't want my savings to be constant but assume that I'm going to increase savings a year over time?

The unit conversion is somewhat neat though, so maybe examples that use that a bit more?
Enough with "studies." I have multiple studies correlating that smokers survive COVID-19 hospitalization better than non-smokers. Should we adopt smoking as a health policy against COVID? I don't think it would be a wise recommendation when factoring in other health risks associated with smoking. There's a few studies showing how SAT scores declined once American studies stopped praying in school.
http://www.catb.org/jargon/html/A/automagically.html

I use "automagically" when some process gathers data from several sources, infers what user really wanted to do or relieves user from specifying parameters.
Russia triggers plan to formally annex occupied Ukrainian regions
The Art of Multiprocessor Programming - Herlihy & Shavit
> The platform fee for notorious quasi-monopolist Microsoft Windows is still zero.

While true, paid-for apps from the MS store - the option that should be recommended to laypeople, instead of the dodgy websites that have download button styled ads - charge a registration fee [0] and Microsoft takes a cut of 5 - 30% [1]

[0] https://learn.microsoft.com/en-us/windows/uwp/publish/accoun...
[1] "Microsoft takes 5–15% of the sale price for apps and 30% on Xbox games"; https://en.wikipedia.org/wiki/Microsoft_Store
Yayyy...
Adding to the list
- invidious https://invidious.io (like nitter but for youtube)
- libreddit https://libredd.it (like nitter but for reddit)
The thing that will annoy you most of all is that I was fully aware of all of this at the time... and I did it anyways.

Truly the purity of English will never recover from the trauma that I have inflicted on it.
Oh I see, you want to baremetal it.

That's tricky. My friend did this with the C64 (BMC64) by making VICE run basically as a unikernel on the Pi. It's a lot of work. There's payoff there for something like the C64 where latency is super important for video games etc. But on the ST, I dunno if I see the advantage esp if you're running MiNT etc.

If you mean actually running the OS sans emulation, like a port of TOS/MiNT to ARM; I actually started down this road many years ago, trying to port as much of EmuTOS over to native ARM as I could... and others have fiddled with it, too. But it's a huge endeavour with little payoff. There's no binaries to run, so you'd end up hosting an emulator in it, and the endianness is entirely different so it's just... awkward. I found the transition to 32-bit and little endian and totally different graphics hardware made much of the EmuTOS sources useless.

Take something like the AES. It uses 16 bit big-endian values throughout, hardwired into C-structs, basically. And this maps 1:1 with resource file contents. You either have to rewrite everything incompatible with ST-AES and resource files and use 32-bit little endian. Or you have to be constantly swizzling values back and forth. Or do both. Awkward.

Or the VDI that's written there. I actually made "ok" progress writing a fresh VDI from scratch for the Pi framebuffer. But then... what's the value? The API is not really compatible because word sizes, framebuffer depth etc. It just starts to look really anachronistic.

Better to just build something new.
Yes, and this is less intuitive than Windows’ way.
Off-topic, but I wonder how much traffic is lost on PG's site due to not having a valid TLS certificate for his domain.
Unless they have good OpSec then yes. Valve issues VAC bans for associated accounts when they believe they are linked.
> ... double counting ...

Thanks for catching that. Sedentary lifestyle is around 2000kcal/day, ca 100W.

I assumed the ca 20% efficiency was for efficiency of chemical energy extraction from the food (on average, varies a lot between carbohydrate, protein, fats) to storage as glucose/fat before we run it to ... > AMP > ... > ATP & NADH.

But that should probably already be taken into account by the output calculations from the agricultural production. Right? (so my original comment was wrong).

Embarrassing that I don't know this off the top of my head. I used to be good at it. Need to dust off the books. Or probably buy new ones since the field has progressed since last I dug around in it.
Boeing having missed its deadlines for a decade doesn’t mean aviation doesn’t have one. If anything, Boeing exemplifies the flaw in this philosophy.
Handling WebAuthn over remote SSH connections
Standards, Protocols, and Platforms
probably.. like.. 5 readers. Maybe 10.
I’m in.
A competent English reader would understand what I wrote without any further comments needed, right? Apparently understanding of the language isn't enough. That's the point I was trying to make, but meta.

In this scenario you can't fix or remove it, it's third party library code which is outside your (scope, remit, time or effort constraints).
"to" is often reduced to something like "tuh", whereas "two" never is.

Except in deliberate word-by-word pronunciation, "one two three" and "one to three" sound different in native US English.
The Geography of Transport Systems
hi! What about a meetup at the MIT Museum (which reopens in its new space at Kendall next week)?

The new museum is absolutely gorgeous and amazing (my wife works there).
I appreciate this is a 3-day-old comment now, but consider MISTer - https://github.com/MiSTer-devel/Main_MiSTer/wiki - which allow access to all of these older systems rather than being locked down to one of them. You could then also move through time, from an original Apple I, through Commodore 64, Amiga, etc. Also permitting your child to learn about FPGA, hardware, etc. at any point.
React I love you, but you're bringing me down
Yes, but this is an important example that others (I hope) can follow.
Wouldn't that then just be a prepared statement with variables?
I'd be interested to know if the EU law that the ECJ relied on differs from or goes further than the case law from the European Court of Human Rights that the UK is still a member of.

A ruling against mass data retention in the UK could help Privacy International in their on-going case against the government for its mass surveillance and use of "bulk personal datasets".

https://www.privacyinternational.org/long-read/4598/briefing...
The owner's statement: https://archive.is/SBdQH

Find it quite weird how there was no database dump yet, can't see a reason to hold on to it, it would be pretty funny to get access then getting blocked by php being php. Owner claims there was not much to leak due to good opsec from users after the 2019 leak so we'll see.
Yeah, it was odd.

The learnings:

1. The number of companies of a batch affect how YC should work

2. Bad founders don’t understand what problems they have (or miscalculate its relevance)

3. Founders don’t listen

None of those come from listening to founders. Number 1 not even came from founders, it was an internal realization that didn’t affect founders.

It was kind of interesting to read, just odd due to its title and hook.
> There wasn’t any gold found in the cave

Well, maybe not anymore it wasn't?
That's almost three times the size of my family's home.
Thinking jokes can't be part of "real racism" or that you can draw a clear, distinct and universal line between the two is absolutely foolish. When you look at the worst genocidal atrocities in history or the present world, they don't come out of nowhere. And a gradually escalating normalization of mockery and othering is a clear part of that pattern time and time again.

It's not that all racial jokes are terrible on the same level as the worst things you can do here, but when you look at situations where the worst things are happening, the jokes are too and they always came first.
And you can do fine in a road race with a gravel or cyclocross bike!
Just gotta put appropriate tires on.
Yeah, I've got a lovely GNOME+i3 setup that I really like. There doesn't seem to be an equivalent for Sway, but the GNOME services get more memory-hungry over time so I'm always looking to see about Sway becoming more usable.
Oh I didn't think you were detracting from e-bikes, I just think that an electric gravel bike is worthwhile as it's still a fantastic formfactor for commuting, especially if you still want to use it non-electrically and out on rougher terrain (where rougher can be little bits of dirt or rough road on your commute).

I am actually in Australia, which has some surprisingly hilly places!
How to Measure Software Performance
What’s your email? Wanted to get in touch re another comment you made.
There’s also a saying in bike communities, along the lines of, it doesn’t get easier you’ll only ride faster.
Riding a heavy bike with no aerodynamics will lead to building strength faster. While it can be a bit frustrating if you’re new and riding in a group, joining more beginner friendly groups and upgrading the bike later is much better overall.

It is however really important to get the posture and pedaling technique right. Way too many people in expensive gear do push-only instead of a push-pull. That’s like biking 101. It’s much better to get that smooth pedaling and core support. It’ll prevent injuries and fatigue.
That started with 9/11 with "what is at stake is not just America's freedom", "this struggle for freedom and security for the American people" and so on [0].

Good old times when Putin was first to call Bush and offer all the possible help [1].

[0] https://www.washingtonpost.com/wp-srv/nation/specials/attack...

[1] https://carnegieendowment.org/2001/10/24/u.s.-russia-relatio...
Xrc: Exact Reals in C (2013)