skysight-inc/HackerNews huggingface dataset:
Single ownership isn't a preference, it's a constraint and a limitation. A constraint (in a good way) because that's the entire point of the language--preventing you from losing track of memory ownership. It's a limitation because there are some extremely important and common relationships (e.g. putting an object in multiple containers simultaneously) that cannot be expressed in Rust's type system without using unsafe, RC boxes, etc, which create tremendous friction. Yet a low-level systems language is precisely the environment where you most want and need to express these relationships and data structures cleanly and efficiently.

A data structure isn't something you import from a module. A good program is composed of layers of bespoke data structures that culminate in a giant data structure tailored for a particular task. So the fact that you can just import a hash table or tree implementation (friction-free) is irrelevant; useful, but irrelevant because it's combining such data structures that is the primary task at hand when writing a non-trivial piece of software, and combining them necessarily results in complicated ownership dependencies.

And this is all especially true for applications that do more than transform some input into some output in one shot.

I'm not trying to criticize Rust. They took a good idea and ran with it, and expressing more complex ownership semantics is still an open problem (perhaps with no satisfying answer, ever). But minimizing or dismissing the sore points isn't constructive.
Suing the university that gave her a PhD and publicly shaming her adviser: I guess she never wants an academic job ever. I’m actually surprised she got the degree after filing all of those complaints, usually they can figure out a way to make you go away.
One criticism I've heard from former Stripe employees is that many of the people in high positions are Stripe are young with no management training, especially in the non-engineering parts of the company. So it sets up for a lot of problems, and cultural problems because they don't know how to manage people or large organizations well.
When it comes to portability, Go is really awesome.
Interesting; what was difference about this audience? Or was it just a slow news day this time?
Erlang is super cool! Not really my first choice when starting something new, but that's more because Erlang's strengths don't really match the kind of projects I'm interested in!
This actually might save the cheetahs. If there is a market for living cheetahs, people might try to actually breed them in captivity. We have no shortage or house cats or dogs because those animals are pets.
Interesting anecdote, but holy minimal-effort-article-writing, Batman:

> Have you ever heard of the “Ratner effect”?

> Well by the end of this post you will know what it means.
The borrow checker is more problematic for systems software than you suggest. It is unable to express lifetime models that are essential for some types of systems software, forcing you to either litter your code with "unsafe" or to sacrifice significant amounts of performance. If performance is critical (it is for my use cases), and achieving that requires disabling memory safety, what other unique value does Rust bring to the table? That is a question to which I have been unable to find an obvious answer.

Complexity doesn't bother me (obviously, since I use C++ regularly) but lack of expressiveness is a big issue.
What makes you say that? There are plenty of people with a 25 mile commute (40-60 minute drive). To work and then back home would easily cross 50 miles. I think the average daily commute by car in the US is 30+ miles.
care to elaborate why you disagree? Suppose that show delayed/reduced nuclear usage by 1%. Than that capacity is filled by coal or oil (sun and wind can’t fill for nuclear - nuclear should fill for them when they arent available). The coal and oil is responsible for a lot of deaths due to the pollution, multiply that by 1% and you’ll get a lot of deaths
Controversial, indeed. https://www.ft.com/content/b5334860-c83d-11e9-a1f4-3669401ba...:

”The German weekly Der Spiegel once described worklife at VW as “North Korea without the labour camps”.

[…]

Mr Lutz recalled once complimenting Piëch on the finish of the new VW Golf, particularly how small the gaps were between the doors and the frame.

Piëch’s response stunned Lutz. He said he had cobbled together all his body engineers and manufacturing team in one room and said: “In six weeks I want 3-4mm gaps on everything. If I don’t have it, everyone in this room will be fired.””
Open in new tab, that link hijacks the back button in mobile Safari.
> From reading HN over the years, I've gathered that many people believe functional languages better suited to learning CS.

I disagree with this premise. Yes, there is strong FP advocacy on HN, but I don't think the consensus advice here would be "functional programming is better suited to learning CS". Even more, I don't think the consensus would be that FP is the best way to program.

That said, learn FP. But also learn imperative programming. And learn when each is the best tool for the job.
I do want to say that nuclear does have lower life cycle emissions compared to solar [0][1].

[0] https://www.world-nuclear.org/uploadedFiles/org/WNA/Publicat...

[1] there's also an IPCC study that's bigger than this and shows the same thing but I'm on my phone.
> The big borrow checker hurdle comes from developers not being used to thinking in/about lifetimes. It takes some getting used to because it enforces constraints that should be there for a non-GC language, but are not enforced anywhere else.

This!
The point, yes, but it is not the case in reality:

2015:
https://cryptosense.com/blog/the-untold-story-of-pkcs11-hsm-...

2017:
https://cryptosense.com/blog/infineon-rsa-key-generation-bug...

2019:
https://cryptosense.com/blog/how-ledger-hacked-an-hsm/

Stop trying to build scenarios where key escrow solutions are technically sound. They are not. This is an intractable problem that is not solved by these half cocked technical measures. Key escrow cannot by definition be secure, and wasting time trying to invent solutions just confuses the matter, weakens security and leaves us all vulnerable. Basically, Sssssssh, or the politicians might actually believe this fantasy.
I think a lot of people, then and now, miss the important takeaway here. It's not about Ratner or his products; it's about all the other products that we continue to use and trust every day, because their creators are smart enough to maintain the lie.
Can you show some sample code in Rust with this memory management cost that C doesn't have?
I think of it in terms of Kolmogorov complexity: The number of mathematical symbols you have to write down to describe some phenomenon of the universe. Given the apparent complexity of the universe, it still amazes me that that number of symbols is so small. There doesn't seem to be a reason why that should be true. We know from complexity science that complexity can arise from simple rules, but there's still no reason why those rules have to be simple in the first place.
When I was a graduate student I discovered some fabricated results and was told in no uncertain terms that if I pressed the matter that my career would be over before it began. So I kept my mouth shut.
At some point in 3.x Python moved to "bankers rounding" which is slightly less biased than the one we learn in school, perhaps C++ did the same. Might be a factor in the discrepancy.
Even for blogs it is not ideal. I’ve set it up on my wifes website and blog and after some time I switched it to Contentful which has good enough free tier and is much better, especcially for bon tech users imho.
calling it 'crap' is quite a different thing from saying it is 'affordable' and 'a good value', even if both imply the same thing w/r/t cost:quality vs absolute quality in that product family - one will get you bad press and social stigma, the other will win you fans. it's all about presentation.
There is a very important difference. The normal conference season is just a break, a holiday. Any debates, work or legislation continues where they left off after they get back. If something important happens, they can and have come back early or might vote not to break. The runes were showing that a long break would have been trimmed by parliament.

Proroguing parliament ends the parliamentary session. Any work in progress, debates on bills and what not are cancelled as void. A new session of parliament starts from day one on everything, with a Queen's speech, State Opening and what not. That's why toward the end of the parliamentary year there is often a rush to get matters concluded and bills enacted before prorogation. Coming back early is much more difficult.

This move effectively turns the whole parliament into a one issue organisation and disables debate.

https://www.parliament.uk/about/how/occasions/prorogation/
Working on integrating other companies APIs and find declarative approach easier like VSCode has this extension where you could write all API calls in code. https://marketplace.visualstudio.com/items?itemName=humao.re...
Just like this whole drama, this attitude (I don’t like my gender and race being the focus of things, therefore I’m going to do it to you) seems counter-productive to the cause of inclusion and diversity.
curl != shell
If you have any suggestions on cookbooks/resources, I really enjoy curries etc and they seem to be great for mealprep (very freezable).

I can always add in some beef or chicken if I get nostalgic ;)
What I wrote is obviously a fictional scenario, I described it as an "imaginary scenario". My scenario is absolutely to give CBP the benefit of the doubt. My feeling is that people should be given the benefit of the doubt, especially when there is a NYT article presenting only the case of their accuser.

How I perceived this is a national paper saying "This person was terribly mistreated!" And my observation is along the lines of "Without knowing the content, we can't tell whether this is justified or not".

I perceive you being uncharitable towards my comment because:

1. You deride my hypothetical as "imaginary scenario", "dream", "perfect scenario", and "not a factual one". Which, yes, of course, it's not factual. It's explicitly a hypothetical.

2. You write "Terrorists usually do not engage with the NYT" as if I was accusing the person denied entry of being a terrorist. Instead, I was writing that there was a possible scenario where a border agent sees Facebook content that is disqualifying for admittance to the US. Obviously, in both real life, and in my hypothetical, the fact that the person would engage with the NYT was unknown. It's also not at all clear that willingness to engage with the NYT is inversely correlated with a propensity for terrorism.

3. You liken my concerns to someone frightened by mathematical formula. Do you agree that it is possible to see something in a Facebook feed that you think should disqualify someone for admittance to the US? e.g. You could see the person was friends with people known to be threats, you could see that details of planned or thwarted attacks, etc. If you do agree with me, then it seems very strange to me that you would describe this concern as a kind of ignorant fear.

4. In the context of someone being denied admittance to the country for information on their Facebook feed, when I wrote that I wouldn't share my Facebook information, your response is to try and shame me for my race and frequency of travel? Obviously, there are many ways to refuse to let one's phone or accounts fall into hands of the CBP. You could use disk encryption, you could sign out of your accounts and clear the cookies and history, you could have a fake account, etc. Again though, you aren't reading me charitably and conclude that I would instead rely on my white privilege or my lack of travel to protect me.

5. You write that my comment is "without regard for the other side". In fact, I wrote explicitly that I could imagine government agents overreacting, that I supported people keeping their data private with encryption, and that my intuition was to keep my data private. It seems to me that I considered both sides, and you ignored all points where I considered the aggrieved party's side, and focused on the parts of my comment where I pointed out that it is possible that CBP behaved appropriately.

There are a few more instances, but I'm running out of time and hope I've made my point.
Of course, everyone who bought it already knew it was crap. It's the same thing for buying $15K engagement rings. Everyone knows it's a stupid use of money and that the rings have no value. Same goes for clothing, cars, and many other things.

These types of products succeed because of a shared delusion. Take fashion for instance. Everyone believes some clothes are more fashionable than others. The way you dress says a lot about you but why? It's simply because other people think it does. If the delusion runs into reality from the person hawking it, it can collapse quite quickly.
Remind me of the recent case where a person (Google tells me that her name is Maria Butina) got busted as a Russian spy after she had a habit of bragging that she was a Russian spy when drunk.
float to string is incredibly fast now - look at Ulf Adams’ Ryu and Ryu Printf algorithms, which I’ve used to implement C++17 <charconv> in Visual Studio 2019 (16.2 has everything implemented except general precision; the upcoming 16.4 release adds that).

I don’t know of truly fast algorithms for string to float, although I improved upon our CRT’s performance by 40%.
Article mentions that they had to change their name to "The Signet Group" ... the now parent company of Zales/Kay/Jared. I'd be interested to learn more about that transition

https://en.wikipedia.org/wiki/Signet_Jewelers
Can't you call bindgen from a build management tool that checks if the source file has changed? Or do you mean building in a CI setup?
Their i3 isn't even an electric car, it's a hybrid with a petrol engine (range extender).

Not true, there are two models, one with range extender, one pure EV. It's fair to assume he had the pure EV since he didn't include any ICE costs such as oil changes.
> This process lets us “dream” of images representing whichever characters we want.

Aside, I'm really psyched at the idea that the word "dream" has a chance to become an established term of art here. Do androids dream of electric sheep? Well, it depends on the model you've trained them with, obviously.
Windows support is being tracked in issue #103 on GitHub. People have had success building from source. Automated Windows builds currently fail for reasons unknown.
> but still allow legitimate law enforcement searches when ordered by a judge

You can already do that by voluntarily providing access to your devices to anyone you want, including law enforcement. Other people don't necessarily share your ideology and accept that there could exist "legitimate law enforcement searches" of their private communications.
But then Triplett's definition for systems programming is not some ISO standard. In lot of companies I have seen they call their large internal applications development as systems programing.

Also compilers, runtimes, GCs, databases, cloud schedulers (Kubernetes etc) are also not 'apps' could fit in systems programing definition.
Looks great! How do you recognise book mentions? I've seen tweets on your site without any link or other machine readable indication of a book.

Also, can you elaborate on which twitter apis you use? Or is it firehose?
I recently had my onsite for Engineering Manager role at Stripe. Stripe interview process is lengthy, I met 14-15 people. There's a mini onsite (3 45 minute interviews) if you cleaer that one there will be a full day onsite which consists

1:1 Management Roleplay, Technical Roleplay, Technical Discussion, 3 behavioral interviews

there is a lot of overlap between mini onsite and full day onsite.

After meeting so many folks and spending so much time, the feedback you get is minimal. In my case the recruiter informed that everything was great but the team did not feel the spark.
> How is the development and status of the project overall? Is someone here knowledgeable enough about it to give a synopsis?

It's a stable project. I would continue using it if it never got updated again but remained working on the latest versions of Linux distros. It's an email client. It's text. It just needs to not break, and remain as fast as it is now.
More specifically, cpython generally biases toward simpler implementations. I'd be surprised if there's any custom x86 assembly anywhere in cpython.
> The question really comes down to whether or not you consider the opportunity to experience life, even a particularly difficult life, as a blessing.

This seems to be an extreme pro-life point of view. You could ask exactly the same question about contraceptives.
> Is there anything that works?

Markets mostly work.
My impression was that this is a website for logical discussions, not legal appeals.

"Fine the rich because they're globalist pedophiles" is also an argument of sorts but not to the standard I'm talking about.
I don't really see how that counts as "401k fees", since those funds charge the same expense ratio to people who buy them on the open market. Investment choice, or lack thereof, is an issue that goes beyond fund fees.
oh ya, for sake of brevity, that was totally a coastal HN crowd facing message. I'm sure people living in Chicago where 40-60 people are being shot each weekend has a different perspective.
You mean most potential academic employers would rather have their employees cover up scientific fraud? That's quite a low opinion on academia.
I upgraded from 60.8 to 68 on Windows and it works fine thus far.
Show HN: A list of plastic free alternative products
This article is basically the same story, but more detailed and better-written:

https://thehustle.co/gerald-ratners-billion-dollar-speech
It became a national joke in the UK. Nobody would be seen dead going into one of their stores or giving their jewellery as a gift. It basically put them out of business : https://www.theguardian.com/business/2014/aug/22/gerald-ratn...
I would say this is not the Ratner effect but the Othello effect (as in Reversi not Shakespeare)

Ratner merely put down the last piece that flipped almost the whole board. Marketing is usually the uphill struggle to persuade anyone looking at the board that "white is winning" when it is really anyone's game.

But eventually one piece is played, often a public failure, and everyone realises the board was destined to be black anyway.

It's much harder to play this marketing game when you are selling costume jewellery or other fashion lead items. And the odds of someone flipping the board are high without you realising it.

But people play it that way anyway.
Cool, would be great to see the github repo for it!
How exactly? The cloud has a copy of a video from a camera with a given IP associated with a given account.

That doesn’t prove where the camera footage was taken. Or who owns it. Lots of unanswered questions that the defense could use to raise doubts about it.
Gluten avoidance is nothing to do with health benefits - it’s a constraint imposed by celiac disease. If you don’t have the disease, there is no reason to avoid gluten.
That doesn't help me with scrolling the page in any way.
Which is the advantage of implementing it by default in common browsers. Sites can afford to neglect the experience of the 1% of users who are using Tor but not the 80% of users who have installed the latest browsers.
This jibes very well with my own experience. When working in languages like Java, I feel myself overwhelmed with keeping a grip on the runtime topology of the object graph. Who can talk to whom? Who can _affect_ whom? My usual tools for covering my bases here -- immutability and/or value types -- are just not ergonomic in Java. If I have an "immutable" object with a getter that returns a reference to some mutable object, then it's not really immutable. Quoting Joe Armstrong:

> You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.

The clarity and simplicity of a single ownership model trumps just about everything else for me.
Did you keep working there?
> The other complex part is the lack of inheritance and the trait system, which is also foreign for many

I agree that the trait system is less familiar to most programmers than inheritance, but I'm not convinced it's more complex; inheritance itself isn't really something I'd describe as simple, just something that people are more familiar with.
Sometimes, safety is faster than unsafety, because it lets you achieve algorithmic speedups in a more maintainable way. For example, Stylo, the new parallel rendering engine in Firefox, was attempted in C++ a few times. It failed each time. However, the project succeeded in Rust instead, and is much faster.

Additionally, the goal of unsafe is not to throw away all safety; it's to prove to the compiler something that you know, but it does not know. This means that you can contain the unsafety, and still gain the benefits as a user. The goal is to isolate and contain it, making it easier to write correctly.
> Now that I'm reading over it again, I think there might be three forces and I misunderstood the direction of the light radiation force that invalidates all of the above. It appears the light radiation is pushing outward, same direction as the oxygen explosion. If I consider all three forces it might be the model I'm looking for.

Yes: radiation pressure is directed outwards (this is how main-sequence stars maintain hydrostatic equilibrium against gravity, which tends inwards).
There's a difference between both you and the recipient sorta knowing it's cheaper/cheap jewelry but, heh, people like us can't really afford the posh stuff. It's the thought that counts and all that. And the company's CEO describing it as "crap."
Actually, the best "public shaming" talk I've seen are the ones given by Monica Lewinsky. When you consider that Monica Lewinsky was 22 years old during the time of the scandal, a lot of the stuff going on was simply outside of her control.

Seeing things from her perspective is pretty interesting, to say the least: https://www.youtube.com/watch?v=Yq7Eh6JTKIg

John Oliver starts the discussion, but there is a Lewinsky interview which is very eye-opening for me.
That's one of the items on the list to get better C parity. Binding to C libraries should work as easily as C's #include.
Wow!

I wonder how much of interview overhead it would be for Sr Enggrs and Managers. Multiple rounds of interviews like this is overkill.
>1. You may want to invite suggestions via the website itself so that visitors don't get the wrong impression that you're just some affiliate for transferwise.

This.

I tried some random tests and often Transferwise was the only result, so at first sight I had that impression.

Maybe you could add a "detail" drop down menu (or whatever) where you list all the services you considered with "service not available from country A to country B".

As a side note, it seems to me like the "engine" has only a small subset of states/countries.
I like the quote that says "putting a paint like that on a conventional car lacking a distinctive design would probably detract from it in some way" as if their angry crossover with an oversized grille is distinctive from any of the other 13 other angry crossovers with oversized grilles.

I do wonder what it would look like on one of those 70s landbarges though; feel like they could wear it well
One Thunderbird extension I miss is FireTray that let me minimize it to Tray. Number of new emails would show on the icon, so you never missed an email without it also getting in the way of my other work while alt-tabbing.