skysight-inc/HackerNews huggingface dataset:
This is a very good insight:

> The worst kind of compile error is the one where the compiler is complaining about something that it generated for you, rather than something you explicitly wrote.

> This can be compared with Haskell’s use of monads, that provide syntactic sugar. The more magic you introduce, the harder it is for newbies to learn and to talk about.

I agree. Too much magic (or in the wrong places - especially when it's a crutch to some language quirk) makes things awful.
Albanian prosecutors probe huge suspected leak of personal data - https://news.ycombinator.com/item?id=29651773 - Dec 2021 (115 comments)
The counterpoint is that using a GC makes the workload unpredictable. The GC may kick in at any time. Rust has a predictable performance profile and that’s important in some applications.
What would garbage collection buy you in a language like Rust?
Rust is a good language overall, but it has some serious flaws that it seems those in control of Rust have no interest in fixing.

For example, it is possible to make the borrow checker accept self-referential structures, but nobody has done the immovable type etc work required for that. Which means, for non-trivial data structures, you need to either reach for unsafe or Rc/Arc. I write a lot of very multithreaded code, so for me it's almost always Arc, which means paying for atomics. And since the Drop trait takes an exclusive &mut reference, you must use fugly nested structs to prevent UB if you have shared mutable pointers you need deleted automatically.

I'd recommend learning Rust, but I'd also strongly recommend that you willfully push the limits of the language. Rust needs to be stretched out to accommodate more contemporary programming constructs, and you can help with that. Also, stay away from the core team and organization, they're poisonous as hell. I'd recommend donating to gccrs to help alternate implementations.

On the positive side, you do still end up with an awful lot of zero-cost safe code, and Rust is pretty nice to work in once you actually understand it.
The article clearly says, though, that (a) there is a secrecy around what goes on in these clubs and (b) the people running the clubs are activists. This means, that people with unclear qualifications and goals do things with my child nobody else has visibility into. This might be fine. This might even be desirable if I’m not fine with it. But it _can_ go horribly wrong very easily because of lack of any systemic control over who these people are, what agendas are they following and what’s actually happening.
Very good point in there about the effect investment has on objectivity.

Proponents conflate a specific approach for memory "correctness" checking with some judgment of what is "correct", or not if it doesn't fit in the checker model.

I get a lot of juice out of a solid linked list abstraction in C, it has many benefits such as modest footprint leading to naturally extensible and composable object lists everywhere instead of fixed arrays that have to overallocate and break when it's not enough for some usecase. The lifecycle of the allocations that bind to the list can be opaque, but in it's not opaque to valgrind and leaks are visible without additional in-code instrumentation.

If the valuable uses of that abstraction cannot be handled by the borrow checker, it just means that is a restriction imposed by that checker implementation, it is not telling us that this architecture is not "correct".
Show HN: Hacker News CLI. interactive in Acme
I hope this is obvious, but best practices can often intentionally sacrifice performance for the sake of other aspects. The fact that breaking them can give performance gains shouldn't come as a surprise and can be the right thing to do.

My reasoning is that they should only be broken if you understand the reason for them, how it applies to your situation and the implications (or if nothing's at stake, which can be a great learning experience as to why those recommendations are made).
> a randomized controlled trial with volunteers from a 633-person class, collecting data from 428 students in total

If I understand this experiment, college students i.e. in average completely inexperienced programmers, where tested. IMHO, this only points to the fact that Rust has a steep learning curve.
I can imagine that using javascript instead of Rust would have them finish their tasks even faster, but doesn't tell us that GC in Rust is a great idea.
As pointed out in a comment (https://forums.theregister.com/forum/all/2021/12/21/tiktok_t...), the TikTok app seems to really spam up DNS requests, so we cannot be sure if it's really an active TikTok user or just background requests. On the other hand, Microsoft.com seems on the top also, which is reasonable except when you think it carefully that it should be office.com, live.com, or windows.com and not microsoft.com.
I feel Nim has the better approach towards memory management among new languages. You can pick between a few memory management schemes, use a garbage collector when needed, use manual memory management when needed or not have memory management at all if it suits your use case better.
Interestingly, some patients during the TRIIM trial (thymus rejuvenation by application of human growth hormone and metformin) had their hair turning dark again, though they were a minority. A new trial, TRIIM-X, is now underway, and the researches actually took photos of all the participants at the beginning in order to be able to capture potential changes in appearance.

https://www.lifespan.io/news/lifextenshow-thymic-rejuvenatio...

So the part about the immune system possibly mistakenly killing the melanocytes might be right.

But the statement

"Aging is made up of a bunch of different systems: aging of the skin, the heart, the brain, the immune system."

strikes me as unsupported. It is entirely possible that all those processes, though superficially very different from one another, may have ony one or two or three common roots.
Quite a bold statement to make with no substantial backing. If you have any experience with drones or following this air taxi movement, then you’d see many working prototypes out there.

This stuff is not so far fetched.

For fun, go look at Peter Sripol’s santa sled that he built: https://youtu.be/L-iWUu2HAWQ
The interesting part is putting a number to this: 4 vs 12 hours. Just the direction of the inequality is of course unsurprising.

I have looked superficially at Rust since I have no use case for me right now and it's truly complex but people downplay the importance of not having GC. There are plenty of languages with GC, for a reason. People use C, C++ or similar for a reason too, not out of masochism.
America has more people (in terms of raw numbers) imprisoned than China despite a ~4.5x population difference.

America fired a missile and killed ten innocent people, including 7 children, and punished literally no one.

I find these facts at least somewhat evil. Why are you so convinced that America is so much less 'evil' than China?
I'm unsure how he claims to have found the source. The theory begain at the beginning of Jan 2020 but he posted in April 2020.

Just watching the 'thorough' analysis video, he talks about some person who posted a paper about the source, and in the screenshot it shows Feb 2020. And says the source of the paper was from laowhy86's video, which is published April 2020.

I stopped watching there because it already makes no sense.
Maybe there’s a better place with no entropy just a portal away
There's a lot of over-engineering and tolerance of complexity in the Java world, more than in many other ecosystems, it's a pretty widely held view. The library is a product of the environment it evolved in.
What I got from your anecdata is this:

- Rust isn't good at writing scripts (one-off code)

- 30 year old language with massive popularity has better libraries than a relatively unknown 6 year old one.

- Rust async isn't mature enough.
Because the US credit system requires you to do it this way, also since their card safety is dogshit you want credit in case someone skims your card, because it's not your money being stolen (it's easier not to pay the CC company than getting your money back from someone).

Another reason is that a CC usually allows higher offline transaction limits, which might be valuable for some.

Just because your direct debit scheme makes sense to you doesn't mean it makes sense for EVERYONE.

I have a VISA debit card and a Mastercard CC. I use debit the most (commonplace in Sweden) but keep the CC around as an extra if my bank has downtime or if I'm traveling the less connected parts of the world.

Widen your views, things are different all over the world. Imagine billions of people don't have access to the internet and you'll find that your way isn't the only way, in some places they pay with sex, food, cattle, cash, CC, direct debit, crypto, futures or whatever convoluted (in my opinion) system they can come up with.

If you're in an AMUSEMENT PARK or A BATHHOUSE you might transact with a tag and pay when you leave.
It’s from Bjarne Stroustrup regarding people hating on c++
Command line tools for sure, though. Is there any other language that offers something like structopt?
> "reproducible by default" if the system is setup a certain way

What do you mean? Under what circumstances is a Go build not reproducible? From what I’ve observed, if you build your binary with a set of input, the same binary is produced. Is it sometimes not true?
There is a great limerick in all this somewhere. Coo-coo-ka-choo
The Chinese are one of the most crowded nations for a long long time, and their dynamics, views, priorities and choices are different. Also they have a much different history on social dynamics and outcomes.

Judging their systems and dynamics from our point of view misses the point in some cases.

There's an eye opening video about "The Social Credit System" from CCC (Chaos Communication Conference). Take a look if you have time:

https://media.ccc.de/v/35c3-9904-the_social_credit_system

It's an hour long talk.
> The licensing cost is easily offset by staying on a technology stack their employees know.

Stack Overflow wasn't developed by an established software company. It was a completely new startup, founded by two high-profile (at the time) software commentators.

They could have hired people to use any stack they wanted. While the state of web development wasn't what it is today, OSS stacks such as the LAMP stack were fairly well-understood and popular.
Would be interesting to see this repeated with people that had significant Rust experience rather than a class of students mostly coming to the language for the first time.
now let's imagine this matrix bot becomes a product, running on thousands of servers.

the python version is 100x less energy efficient than the rust version. that 5 hours extra work now becomes a bargain.
The purpose of the pipeline is precisely to bypass Ukraine and connect into Germany directly. That way Russia can declare war on Ukraine whilst gas connectivity is maintained. Nordstream also avoids going through Polish territory.

Its basically the Molotov-Ribbentrop pact all over again.
To clarify, I'm not disagreeing with you, nor am I the one changing the meaning of "freedom". I'm merely relaying the ideology that is commonly associated with the word nowadays in the US, in order to make an association between it and the topic of why debt is seemingly so prevalent in the US. If you have a better word than "freedom" in air quotes to describe the ideology I'm describing, by all means do share.
Given some of the responses to this article, I'd like to note that the guidelines explicitly ask Please don't post shallow dismissals, especially of other people's work.

Let us know what the article gets wrong.

https://news.ycombinator.com/newsguidelines.html
On the other hand I think Rust is the future.I started using it for side projects and it's been nothing but a pleasurable experience.

Any place to find Rust jobs for experienced dev but new to the language?
Check the other links on his page, like why he went trough all this.

Creating 1:10 model of Cray-1 and he needed software for it. This is what I call devotion. :)
You should prefer the video on the same topic from Brust Raus, another funk channel, over this video series from Simplicissimus.

Simplicissimus got unusually emotional and preachy in this video, which I'm going to count against them because they have their own fashion brand with 80€+ sweaters "produced in Europe" (which means they couldn't even write produced in EU, which in turn means it's going to be produced in Turkey, under similarly bad conditions as Shein produces).

They didn't make such a series about any other fast fashion brand, and I'm pretty sure the reason they got this preachy is not because of the bad work conditions or environmental issues, but because they fear that SHEIN will copy their own designs.

I'm very disappointed that they made such a video, considering the entire industry of fast fashion as well as the parts of the fashion industry based on exclusivity are at fault, and it's not just limited to one company like Shein but a systemic problem. If you avoid SHEIN and buy from another fast fashion brand, or even CultureCulture, the label of the Simplicissimus authors, you've done nothing to avoid the problem.

Buy second hand products instead. Learn sewing. Fix old clothes instead of throwing them away.

Also see the Strg F documentary on Sneakerjagd how Nike just grinds up new unsold sneakers to ensure exclusivity and grinds up returns to avoid having to process them.
>Best practices can slow your application down

Yes, but they will do it in an elegant manner and be sanctioned by lots of self appointed experts.

Where would us be today without the wisdom of Uncle Bob and Gang of Four? We would be still in the prehistory of programming writing efficient, inelegant code.
Maybe old and boring is not the discriminating factor you thought it is then?
L'etat c'est moi.

Taxes (and thereby price adjustments) can achieve some social goals. Empirically so, not assumed.

Both the "state" and "us" are social constructs, and are simultaneously both essentially the same concept and entirely separate concepts. The nice thing is that we don't need theory here, we can just try it and find out if it helps, then try something else if it fails.
Not so sure about that. JITs can be fast, faster than C or Rust in some circumstances. Besides, the code was a trainwreck.
> The licensing costs associated with Stack Overflow also can't been that large

Because we went with the reliability of a full Microsoft stack—.NET, C#, and MSSQL—our costs grew with the number of instances. Each server required a new license

They literally mention license costs as an architecture driving constraint.
>Really, they are not even tracking visits, they are tracking times the link is requested. So everytime the HN page gets updated, that link is getting clicked by the dozen or so bots that trawl that page.

Very true. I do think metrics are always a balance between precision and ease of collection, and counting IP addresses is definitely towards the ease of collection side. Regarding the bots crawling HN submissions, that would be backed up by an even higher rate of Cloudflare:Squarespace visitors for this submission (about 10:1 vs about 8:1).

>You should really be looking at trends, and so long as you pick a number that is consistently measured as your baseline, you can leave well enough alone.

Thanks for the perspective here - a kind reader sent me a similar message via email as well! The nice thing is that I don't have particular goals for my personal blog, so these analytics numbers feel more like interesting trivia than some OKR metric that I need to increase somehow.
What do you think of the part where they say that when you measure whole brain activity you'll see that most tasks actually involve all of the brain? That's not really how q car works at all, some parts can have a primary and alternate effects, but not everything in the car will always be part of each process.

Also, I might misread, but it seems to see neurons are not different in different parts, so it seems that you could interchange the functionality and the pathways might not be due to specialization, but more to topology and arrangement of interconnections and proximity to things.
Absolutely, I've been on a quest to find fair trade and responsible clothing since I watched this show (sorry in Dutch): [0]. It's pretty clearly aimed at fashionable youth which I'm not but I still found it utterly confronting. The conditions that the workers live in (I say live but it's often just sleep and the rest is work) are crazy. They are sleeping above formalin baths. swimming in chemicals that slowly cause burn wounds, they live near rivers that are bright blue from dyes. Cotton fields take all water in an area away from humans who need it more.

Luckily there are alternatives, in the Netherlands I found [1] (apologies, also in Dutch), and there are many more of such companies. The crazy thing is that it's really not that expensive and they even make the clothing high quality so I have to shop less (I hate shopping). (Ok, so I never really was the target for fast fashion.) I'm open to other suggestions for responsible (quality) clothing.

[0]: https://www.npo3.nl/genaaid/VPWON_1295027

[1]: https://skotfashion.com/nl/our-story/
Reverted 22 hours ago: https://github.com/z0ph/MAMIP/commit/b6f696cebc7b9a4f71dd34c...
Jail is not a Sandbox but OS-Virtualization, those are two different things, Capsicum is the sandbox for FreeBSD...like secomp is for Linux.
I find Nim performant enough while having a GC. Also type checking. And the productivity is on par with Python, easily.
I am reading Cryptography Engineering (Ferguson, Schneier, Kohno) and the collapse is mentioned in an analogy in the first chapter so I looked it up as I was not familiar with it and hoped it might yield an interesting discussion on engineering bridges and its history.
Which is fairly common among democracies. How many parties has held power in the US since 1940?
Is GC for Rust possible in the future? I’d love that if it means simpler compiler error messages for e.g. closures.
Agree with this. I wrote some non-trivial amount of code in Rust just to give is a proper try. After countless hours spent in understanding borrow checker, life times and waiting for compilation to finish, I still have to constantly fight borrow checker. When working with Rust, I am not "making thing X" but instead "writing Rust which happens to be X". The code is littered with either `unwrap` of `?` which is just exception management done manually with hardly any benefit.

On systems programming front, last time I checked there were two options to make system calls (apart from writing inline assembly), the `libc` or the `nix` crate. `libc` is just a wrapper so exposes `unsafe` C like API which doesn't make for idiomatic Rust code. `nix` was incomplete on lots of front, not sure if things have changed now since it has been a while I tried Rust. So much for a systems programming language.
I think it depends on the use case and the organization/ordering of the boxes, which is not the focus of this library.

So for example, if the user is responsible for organizing the boxes and there is also a way to create custom arrows, this library can be used to suggest arrows, which might be good 95% of the time. That would be better than many of the tools I have used over the years.

However, if you want to generate a final diagram and can't guarantee, that the order of boxes doesn't allow for overlapping connections, this library is probably the wrong choice.
Rust does not bind well with C for this reason it can not become a system level programming https://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-...
However, there is another programming language that does not need bindings. It is called Zig and here it explains how it solves the same problem https://youtube.com/watch?v=mwrA5IRGpfU&feature=share
That's the only kind of context I think I'd use Rust in personally - embedded, bare metal, low level stuff. Certainly not for userspace or web applications. But a lot of projects are using it anyway even if something simpler and more mature will suffice.
What stands out to me about all this eVTOL/air taxi vehicles are that they operate in 3D space instead of 2D like cars.

This means, even though more inefficient than cars, you can have more “lanes” to operate in.

On roads, you have to have traffic lights and stop streets, traffic itself, and cars driving inconsistent speeds or braking when turning.

In the air this can all fall away, so people can live further away from city centres, streets can be left for cycling, and less concrete/asphalt infrastructure is required.
he probably didn't have money for a lawyer. The difference money make when it comes to the justice system can hardly be overestimated. I mean compare for example the following 2 cases. In one they have just given 110 years to the truck driver, Cuban immigrant, whose brakes failed and the truck plowed into other cars killing 4 in 2019. The other case is on the opposite end of the spectrum - that NVidia director, Russian immigrant, who 1.5 years ago "allegedly" (the guy has money for lawyers) speeding drunk plowed into a couple cars on I-85 killing a woman, and he is out on a pretty insignificant for Silicon Valley bail enjoying the life while his lawyer has been drowning the case with all kind of constitutional and BS defenses (like statute of limitation, no kidding) and counter suing the other drivers/etc. with his trial nowhere in sight (and when/if it comes to the trial some years down the road he can just take his NVidia millions made over those years and retire back to Russia or pretty much anywhere else and continue enjoying free life)
This is a great github to play around with dot online:
https://dreampuf.github.io/GraphvizOnline/
16:18 just means 16:9 stacked on top of each other. my least desirable configuration of two monitors. If it were two actual 16:9 i could adjust and angle them properly.
> Just the fact that he was in tokyo (japan), instead of a non US aligned country, such as Russia or China,

Coinbase does not serve PRC citizens or Russians (see https://www.coinbase.com/places). Exactly so that any money laundering can be caught by US government.
The problem with `fork()` is that its usage requires over commit.

Consider the scenario of a process with 51% of memory usage, what happens when it forks?
The system pretty much _has_ to allow overcommit at this point, otherwise fork() will fail.

Now, you can change the accounting to say that when the process modify a memory page (thus creating a copy), we'll check that there is enough memory _then_.

That would move the "danger" of memory being yanked from underneath you. But that means that a process that calls fork() may then run into a problem some indeterministic time later.

That is kind of a killer.
There's an extension called https://betterttv.com/ which fixes these (you can turn off these drops and popups via the settings), and add plenty more to twitch. If you're not a casual twitch viewer, the extension is a must imho.
because 50+ something CxOs with million dollar wages have a blog, a skill based resume and a github page, right?

you're proposing the same monkey dance that signal "skilled, but will ccept to be treated as a cog" which hr loves but is ultimately demeaning and dehumanizing - while the valuable jobs market moves on completely different gears
I don't really get why people are so focused on the lack of horizontal scaling. They already have 11 IIS servers, that seem like horizontal scaling. As for the databases: People underestimate modern database servers and a well designed database layout. What would you even replace it with, that doesn't complicate the setup?

I like SO approach, maximum utilization of the hardware and don't try to be fancy, if you don't have to. Less hardware to manage, it's easier to find people who can quickly be on-boarded to the team, easier to debug.
Why I Changed My Email Setup