skysight-inc/HackerNews huggingface dataset:
Germany has high consumer electricity prices because of taxation. It's only slightly above EU average if you ignore taxes. And France, the nuclear energy utopia, is only slightly below EU average. And this ignores potential state subsidies, artificial price caps and regulation by the French government, and that Germany uses 1/4 of the electricity price to modernize the grid.
I just finished this book. I liked it and learnt a lot, but in some chapters I felt way too far from my comfort zone. The unsafe chapter and some part under the hood of async like Pin/Unpin was difficult for me.
>> it's hungry for plant-based filet mignon

Fake food that has god knows what side effects many years down the line.

>> with a cocoa-free chocolate alternative

Ironicaly the only good thing about the chocolate IS the cocoa inside of it as it has many micronutrients.

You remove the cocoa from the chocolate and you might as well eat snickers or some other garbage like it.

All of these VC funds etc...pushing this "green" stuff are always horribly ignorant about the health effects of these novel foods on the human body.

We do NOT have the technology to analyize what these things will do to our bodies after a few decades.

You are free to experiment and eat them but I myself won't be feeding this to me nor my future children anytime soon.
Is it useless if it has value to the creator?
To be frank, it's clear the Brits were the baddies here. They used guns to force a state that had banned terrible drugs to unban it.

Whether that state was totally nice or democratic or "Chinese" or whatever value you cherish, is besides the point. It does not legitimize any of what GB did during either Opium War, and therefore I disagree that it's "important to stress".
Regarding parsing techniques: https://notes.eatonphil.com/parser-generators-vs-handwritten...
I guess that depends on what I am learning it for, I am set to learn Elixir next, and that is because I want to use Phoenix, which means I will be building a website project in it.

I'm pretty old so I've been lots of different kinds of devs, last 7 years generally full-stack - heavy frontend focus.
Idk what the exact differences are. I only know, that newer buildings are already required to have proper insulation, so for those that are built or (properly) renovated in, idk maybe the last 20 years or so, should be fine. But we also have plenty of older buildings, that need some work. That's probably also one of the reasons why many people go for wood pellets to replace the gas heater. Add to that all the really old buildings, that can't be renovated due to urban heritage protections.

But as said, all the companies are booked out and parts aren't available fast enough, thanks to outsourcing to China...
No, lockdowns and masking had no effect independent of things like population density, that's been proven beyond doubt now. Even the German government formally reached that conclusion and they are some of the most fanatical maskers and lockdowners out there!

What we (read: governments and academics) "know" about infection is clearly wrong. The predictions don't match real world outcomes. Germ theory is incomplete.

"Reading critically will eliminate 90% of the badly biased junk arguments out there. We should practice that skill more."

Great. Go and read critically the studies and data sets on these topics and you'll see why you need to revise your position.
> History proves in the long run holding dollars is good for short term stability, but it's a long term loser.

Right. That's why one should not hold huge quantities of money for long times, but invest in debt and equity. 10 yr real rates even on treasuries have been almost always positive [1], though shorter riskless real rates have gone negative [2].

[1] https://fred.stlouisfed.org/series/REAINTRATREARAT10Y

[2] https://fred.stlouisfed.org/series/REAINTRATREARAT1YE
Yes, it seems to me that the only difference is that destructors are called implicitly in c++/rust and explicitly in austral.

I wonder if IDE support could help to get the best of both worlds: the IDE could automatically add the destructors call in code where needed, with an "automatically-generated" annotation that would allow to update and remove the calls as needed. I actually kind of like the idea.

Similar things could be done for inference/type deduction.

Possibly exceptions as well.

The ide could also allow hiding the automatically generated blocks when you want to focus on the code isntead of the incidental bits.

Probably these days new languages need to come with lsp-support out of the box, so that seems the best place to add the magic.
IIRC, at Stripe, and other nice-minded startups, you have 7 years to exercise, instead of the usual 60 days.
Combining characters are trivial to deal with. Some of the new emoji compounding uses things like the color squares to alter an emoji and you are forced to have a table of which emoji are dual function to know if they merge with their neighbors or stand by themselves.

Nothing else in Unicode acts like that. You can't properly parse complex emoji glyphs from a random starting point because you need previous context to know how to interpret following codepoints. With combining characters you just skip ahead to the next non-combiner.
> It's far easier to handwrite parsers.

It's also far easier to make buggy handwritten parsers. I don't have much experience, but in the project that I've seen, where a handwritten parser was used, the issue tracker was full of parser bugs.
> I'm sure there are many thoughts going through your mind regarding the team and perhaps my lack of management skills but I am only lead on the project, I don't manage people.

No, you almost hit the nail on the head. This is not about management, it is about leadership and it sounds like a lack of leadership skills. Mentoring people to point out why their behaviors have a negative impact and how to grow to more productive habits is leadership. It is the role of a team lead. Communicating these concerns to them in a way that is productive and not combative is a skill you need to learn.

We all were unskilled once. And probably still are in various ways. We grow by having people guide us. Be that guide.

As far as adversely affecting the project, which will be a worse result? Quietly grumbling and not bringing change? Or putting up with some difficult conversations and improving the team?
The Billion Dollar Mistake refers to the fact that things that are not explicitly marked as "nullable" can be null/nil.

In rust, you would annotate score as `Option<u32>` (`u32` is one of Rust's integer types), and then you would set the score of someone who hasn't sat the test yet as `None`, and someone who got a 100 on the test as `Some(100)`.
Which vaccines have very little influence on.

https://www.nature.com/articles/d41586-022-01453-0 relating to the study
https://www.nature.com/articles/s41591-022-01840-0
Hey, this is great! It's like you have all the functionalities of the new project I'm making all implemented, only without the content. Can I just take the code and slot my own content in!

I guess I have to specify that was sarcasm, otherwise I might end up experiencing some other parts of the web today. :(
Texas Sues Biden Administration over Access to Emergency Medical Abortions
Right but it's not though, nearly all of the big-ticket esports games are easily playable on a GTX-1060...

You could build an entire esports machine, with monitor (and RGB!) for less than 1000USD. I have done it many times.
Appreciate it! Thank you =]
Not really, Op says:
> The only rational use for a doctor back then was if you needed emergency surgery because you were going to die very soon. It was a situation that they could only make better.

Having an arrow in your head qualifies as needing emergency surgery, and it was a situation that they certainly made better.
For more context, here is a great, brief history of the Opium wars:

https://www.historic-uk.com/HistoryUK/HistoryofBritain/First...
A Small bit of trivia: tere means hi in Estonian.
Great timing. My children have friends around. I am now playing Scorched Earth with four 9-year-olds.
Does it?

I've seen it being repeated ad nauseam without any concrete backing.

I mean it has some OOP concepts. But it's mostly in traits. Saying Rust is OOP is a bit like saying Chimera is a Goat.

Anyone that tried to use OOP in Rust, knows it's next to impossible.
A 2020 review of declassified U.S. documents by Conor Tobin in the journal Diplomatic History contends that this theory—referred to as the "Afghan Trap" theory by the author— is a misrepresentation of the historical record based almost entirely on a "caricature" of Brzezinski as an anti-communist fanatic, an "unreliable" statement attributed to Brzezinski by a French journalist in 1998 (which was "subsequently and repeatedly den[ied]" by Brzezinski himself), "and the circumstantial fact that U.S. support antedated the invasion."

- https://en.wikipedia.org/wiki/Zbigniew_Brzezinski
Then I’m glad you don’t actually feel that way.
Lisp does have statements, such as `setf` or `loop`. Just because you also attach an expression to it because hey, gotta evaluate to something, doesn't mean it's not fundamentally a statement.

Sure, syntactically it's an expression-based language, but some of those are expressions in syntax only. If a function terminates in nil, what exactly did it compute? And what exactly is the point of all but the last argument to a `progn`?

An expression that is evaluated for the side effects, not the result value, is a statement in every way that matters.

(Haskell has a stronger claim because it actually captures the side effects as a value.)
> still extremely expensive, slow and challenging to sell pre-IPO shares even in a major stock that has a lot of active liquidity

Sure. But "expensive, slow and challenging" liquidity beats no liquidity at all. Which is why few investors would agree to the lock-up terms of an RSU. (These terms make sense at companies which aren't going concerns, because they're young or going bust. They also make sense for executives at all stages. They don't make any sense for a multibillion dollar enterprise.)
> I worry if people are actually this delusional.

Would it make you worry more or less if they are not delusional but just plainly not thinking?
60m in the Matrix as users seek decentralized messaging
Me: Normally backend/data-processing stuff, senior level.

My "hello world" project is almost always Conway's Game of Life, and I try pretty hard to follow the idioms of the language when I do it.

I like Conway's Game of Life because it's easy enough to not be too frustrating, but challenging enough to where you actually have to think about the problem a bit, at least if you're planning on following language idioms. Usually I just "render" to the command line, though occasionally I will get ambitious and figure out SDL or OpenGL bindings.

Admittedly most of my projects involve servers in some way, so after I've done the Game of Life, I usually start playing with the networking libraries like ZeroMQ and the libraries to call command-line programs, and I make a distributed video processor using ffmpeg.
However, if I'm not mistaken, the language still has no formal specification.
Its cute that you think this all boils (sic) down to cold showers. Typical out-of-touch mentality. Maybe a few thousand elderly and children dying in unheated 70s apartments will wake you up better than cold showers in the morning.
This has been reposted here 8 times before or so?

https://news.ycombinator.com/from?site=how-i-experience-web-...
I thought that would be a good exercise to learn Rust a few years ago... apparently it's very hard and I didn't get it to work.
Thanks for the heads up! This is indeed worth noting.

Even in the first three chapters for example, if someone isn't familiar with memory layout in C, or the stack/heap distinction, ..etc, it can seem a bit complicated I think.
I'd say partially right.

10 years ago people were running hundreds/thousands of VMs/Servers with full operating systems on them. They would often be long-lived and you needed puppet/ansible to update or run stuff on them.

With kubernetes deployment and updating your app/data is all native. The servers/nodes often run some sort of cut down operating system and are immutable.
My experience is that whiteboards are the worst, because checking that the markers work properly is almost never done before the course.

Also they tend to be much smaller for some reason.
I just tried searching for “python str” on searchhut and the top result is Postgres docs, then Wikipedia article for empty strings and then Drew’s blog. Official Python docs isn’t in the index at all.
Indeed. If the annual natural gas use of all of Germany was represented as liquid hydrogen, it would be a ~700m cube.

A year is probably more than is needed, but I don't know how low storage can go before it causes problems. If I guess a week is sufficient then every million German residents need a 43m cube.

This isn't unbuildable if there is sufficient political will.
From idea to talking to people to spending a few weeks laying out the right solution to finding one pilot customer willing to pay and than into a month of coding to produce what that one paying customer wanted.

This is actually the right approach. This is a good story of how to test out a product idea. Just a terrible headline to describe it.
my classic is an mbox filter. Read a mailbox, determine who sent it and when, and rewrite an output mailbox with different filter conditions applied (e.g., only mails from nigerian princes, only mails younger than a month).
determines for me how file I/O, error handling, indices / data structures pointing to messages work, sorting, etc.
It's not that bad because most of the things that go into a gaming setup are useful outside of games.

Having a good desk, chair, monitor, keyboard, computer is generally useful, the premium to turn that into a gaming-capable setup is not that high.
Read about sum types. They exist in Haskell, Rust, OCaml, Typescript, Swift, Kotlin, etc. You are likely only familiar with product types without knowing they're called product types. (Cartesian product)

You can have 100% type-safe, guaranteed at compile time code without null that can still represent the absence of data. Once you've used sum types, you feel clumsy when using Javascript, Python, Go, Ruby, C, C++, etc. especially when refactoring. Nullness infects your data model and always comes out of nowhere in production and ruins your day.
I assume they are used more in manufacturing and factories? That's the environment kaizen was born in, to optimise production lines.
And most of those gaming chairs, fancy mousepads, etc. are cheap Chinese crap. The entire room may cost less than what a Neo Geo costed.
Paid for iBird app: now have to pay to subscribe to the app
My advice:

Tell the teammates that you want to see them grow to become code reviewers. At first require PRs to be approved by two people: first someone else reviews it. once they LGTM, then you review it for final approval. Do this for a while, until you start noticing like you have little to add. And then grant the relevant reviewer the privilege to review in a single pass. Bus factor += 1, and better knowledge transfer.

That is the process you'll have when you get back. But in the short term, it's probably fine to let them approve each others code while you're gone. Yes they might they break something.. but you can always roll back (I hope). Blocking all PR merging until you return sounds a little overkill to me, but there might be some reason the stakes are so high that I'm missing.
First, you are conflating settlement of securities with money transfers, two different things.

Next, I can transfer money in Europe (SEPA) settling immediately, for a tiny fee ($0.30 or so).

Finally, I've had BTC transactions in the mempool for 16 hours or more, hanging in there without any confirm. They might just drop out, or they might eventually be included in a block - who knows. Not exactly a predictable and reliable money transfer.
1. Don't look to game dev. Anywhere you read it's a nightmare job.

2. Pick up a Udemy course and work it all the way to the end.

3. Find something you'd like to see, and build it. (A small timer for your run? A simple app that helps you track your Diet. An app that you can use as a todo list.). Something very simple.

4. (very important) Finish that app, or get it to a state that you feel it's good.

5. Start looking for work.

My best suggestion to new devs, find something you want to build and build it. You will learn so much doing this, and it costs you nothing but time.
This is a common problem with COVID-19 threads on HN now. Happened to me several times in the past weeks. It's interesting but also very concerning just how large the knowledge gap has become between people who still support the public health restrictions and everyone else. Almost any fact you present, regardless of how basic or well known you think it is, will run into someone who thinks it's wild and crazy and has never encountered it before. That's true even if it's been admitted in public by the people who literally run the public health response!

The cause seems to be aggressive filter bubbling. We see it above too - there are highly upvoted people saying nothing more than "it can't be true, I don't believe it, it must be a right wing conspiracy". Any information that undermines government narratives just gets mentally erased, causing a distressed reaction of "that claim is CRAZY" to almost any attempt to discuss known data or facts.
> Anything where low-level control is required. It's not clear if there are true-Rust web apps in the wild (as opposed to web apps with some services in Rust); as far as I read, Rust web programming is ugly.

There are. I run one. Written in pure Rust. 160k lines of Rust code in total, serving over 3 million HTTP requests per month. Best choice I've ever made.

Rust especially shines when you need to maintain a big project over a long period of time. People often say that Go is much more productive than Rust, and in most cases that is true, but as the size of your project increases and your expertise in the language increases this relationship inverts, and Rust starts to be much more productive. Pick a right tool for the job.
In the scale of moral wrongs, justifying, defending and enabling[0] this behavior is arguably as bad as the behavior itself.

[0] https://en.wikipedia.org/wiki/Enabling#Narcissists_and_abuse...
If Germany had kept its nuclear plants, it would not be wasting currently 5GW of gas for electricity (and burning much less lignite coal as well):

https://app.electricitymaps.com/zone/DE

> one of the largest exporters of uranium to the EU is... Russia

It is a common false perception that it is a problem, very often pushed by fake news outlets. You might be a victim. Russia produces about 15% of the world's uranium [1], according to UNECE.

[1] https://unece.org/sites/default/files/2022-04/LCA_3_FINAL%20...
There are definitely easier languages to learn for complete beginners. When someone needs to learn what a "string" is, it's not helpful to immediately require them to also learn the difference between a "heap-allocated string" and a "borrowed string".

However, you don't need to be an expert to learn Rust. It even helps if you don't have too many expectations about OOP and pointers, because their Rust equivalents have different design patterns/idioms, and you may need to unlearn some things.
So irritating
A decent mid-range GPU is $400. That's TWO Neo-Geo games even before you adjust for inflation. Fancy LED lights are cheapish because they're just LED lights...

I'm sure the kids posting their setups on Tiktok are probably the most spoilt and if 90s rich kids could do the same you'd see kids showing off their entire AES and SNES collection and their brand new pentium.
OpenSUSE Reaches First-Class Support for Nim Language
+1 from me here! The book arrived yesterday (yes, I'm a luddite like that), and now I'm at chapter 8. For me, I'm already aware in one way or another of most things in it, but my knowledge is spotty in places, and all over the place too. So, R4R seems really great to put some framework around it, as well as get at least accustomed to the least familiar bits.

I would add though that I can see how it can be a pretty challenging read depending on prior experiences. Even then I believe it makes a lot of sense to read through it to at least get exposed to some topics and be able to recall later that you've read something about it when you need it.
That's mentioned in the readme! :) I'm pretty happy with the name choice, it's short, doesn't seem to clash with other CLI tools, it can be interpreted as "terminal explorer", and has a kind of cute meaning as you say.
And on top of it, they make it look like there's an unread notification in the tab.
Thanks for the reply :)
I've configured that setting but it still won't outright list all the users to a new user, although it will let them search for eachother.
I guess I could do it by automatically joining all users who register to a welcome channel, i saw that there's a setting for that in synapse.
>Why do you need to build them

Many of the projects I referred to are not "QL Compatible"

[0] https://www.ale-lang.org/

[1] https://github.com/nukata/lisp-in-go

[2] https://github.com/pixie-lang/pixie

[3] https://github.com/candid82/joker (Clojure like)

[4] https://janet-lang.org/ (more Clojure like than lisp like, but still brilliant and very polished )
There are entire industries that cannot and will not use rolling releases. That can either be regulatory requirements, or it can be environment where you need/want to be sure that the platform is identical to a reference system.

The best examples are perhaps hospitals, and medical equipment. I previously worked with a hospital where the software is only certified to run on RedHat, and where the system is very tightly controlled. A patch can only be deployed in production, if it has parsed testing and staging environments.

I've also read about research projects, where different versions of glibc, would yield different results. In this case I will continue to argue that this is pretty bad for reproducibility and more of a problem with the people doing the science and not underlying operation system.

Errors, bugs, security holes do sometimes make it into rolling releases, and in some environments regressions are catastrophic or deadly.

Personally I tend opposite world view compared to you. Rolling release are great, for a very small niche, such as desktops for office workers or developers in certain industries.

Rocky Linux is self is a great project, because it allows you to have an environment identical, or close to identical, to the RedHat installations that will eventually run test, staging, QA and production environments, but without the cost. I had been skeptical that Rocky Linux would deliver, but I'm very please and happy that they do.
What apps do you use on desktop and mobile to keep everything nice and up2date ?
I hope Drew opens his own Google some day
The video "Sorry, this content not available in your country" and the back button / close action "Leave site" edit confirm are nice touches to highlight the madness of the modern content experience.
The Pandemic Fueled a Superbug Surge. Can Medicine Recover?
It's as "green" as the electricity used for the hydrogen production. The idea is to use hydrogen as energy storage, produced from surplus wind and solar energy.
> It is much cheaper, faster and easier to send small international payments via crypto than it is via any legacy financial service - this is beyond dispute.

Let me dispute it then. Try Wise (formerly Transferwise). It is cheap, fast, and easy.

FWIW, I know many people working abroad (from expats to domestic helpers), and none of them use crypto for remittances, as far as I know.