Better HN
topnewbestaskshowjobs
Log inSign up

proto_lambda

1,156 karma · joined Jan 11, 2022 (4y ago) · 205 submissions

Submissions

comment 4y ago · link · parent

> Use a pastebin

That's not a solution, that's a bad and inconvenient workaround. Having to use an external service just to share a couple lines of code is horrible for usability. Funnily enough, its also exactly the thing that IRC users complain about when the matrix bridge converts multi-line messages to links.

comment 4y ago · link · parent

Ben Eater makes amazing educational videos, unfortunately he's been MIA for half a year now. His patreon sneakily got updated from a "per video" to a "per month" payment model a couple months ago (this has since been reverted) and I cancelled my membership after I didn't get any explanation for over a week, and there have been no other signs of life as far as I know.

comment 4y ago · link · parent

Well, good thing people don't need your approval for their cooking. You should still stop spreading rhetoric like this because, as the central topic of the article demonstrates, some people will still take it to heart even though their cooking is none of your business.

comment 4y ago · link · parent

I would argue ducks are more mobile than your average glass of kefir.

comment 4y ago · link · parent

One big hurdle for C++ programmers learning Rust that I've seen time and time again in various community support channels is fixing their trust issues with the compiler. They are so used to compiler output being useless or worse than useless, they are unable to take advantage of rustc's stellar diagnostics (which frequently tell you exactly what you need to change to make things work) until they force themselves to actually read and internalise them.

Once they realize that the tooling is actually working _with_ them, not _against_ them, they start to pick things up much quicker.

comment 4y ago · link · parent

Have you seen modern C++? It has had new syntax bolted on every couple years for the past few decades, the result is quite phenomenal.

comment 4y ago · link · parent

> The thing they rewrote also worked great in production.

It didn't for them, that's why they rewrote it.

> Rust is being sold as magically making software safe and people selling that completely ignore the fact that logical bugs are also a thing.

By whom? I don't think memory safety bugs are the only class of bugs, and neither do you, so who are you arguing against?

> Which Rust evangelists find difficult to acknowledge because security is that one thing that Rust has going for it.

Hard disagree. Rust also offers a solid type system, pain-free dependency management and all-around good tooling, just to name a few. It's much more than a "memory-safe C++" or whatever.

> And when processing arbitrary user output, it'll crash badly

If your definition of "badly" is "at a well-defined point, without any memory corruption", sure. But even here memory safety prevents what could be a much more painful debugging experience.

comment 4y ago · link · parent

It's an idiom: https://en.wiktionary.org/wiki/save_someone%27s_bacon

comment 4y ago · link · parent

You mean the tale of someone rewriting a very complex and fiddly software from scratch, having it work great in production, and then using the ecosystem's great tooling to easily find and eliminate even more bugs than what the language already protected them from?

comment 4y ago · link · parent

The module system is something that some people struggle with for a while, but every feedback I've heard so far is "it actually makes complete sense, I don't know why I didn't get it earlier". There just seems to be dead-end somewhere that people frequently think themselves into.

comment 4y ago · link · parent

0.6kWh / 5min * 60min/1h is still 7.2kW. It only needs to handle those 7.2kW of heat loss for five minutes, not continuously, but the power doesn't change.

comment 4y ago · link · parent

No, US homes are typically 240V split-phase: https://en.wikipedia.org/wiki/Split-phase_electric_power

comment 4y ago · link · parent

This still assumes that intelligence agencies are good at keeping their backdoors to themselves, which is not necessarily the case.

comment 4y ago · link · parent

What's a CGRA?

comment 4y ago · link · parent

> The service [...] doesn't force you to a particular workflow.

I've never actually used it, but isn't that exactly what it does? As far as I know, it only allows submitting patches using emails, not using the "pull request"/"merge request"/etc workflow of most other big hosted Git solutions. But it's very possible I just don't have the whole picture here.

comment 4y ago · link · parent

Not completely, but everything is extremely slow and many requests result in "No server is currently available to service your request". The status page is completely green, of course: https://www.githubstatus.com/

Edit: they've created an incident now: https://www.githubstatus.com/incidents/zhtplv7zd052

comment 4y ago · link · parent

I'd proceed with caution. Apparently it doesn't support Wayland, so when you run it under Wayland it offers you a "Fix it!" button that, when clicked, runs sed on some gdm system config files to revert it to X11 (nevermind that gdm is far from the only way to use Wayland): https://github.com/rustdesk/rustdesk/blob/1.1.9/src/platform.... If this is the kind of thing that's considered acceptable by the developer, I'd rather keep their products far away from my machines.

A quick glance at the code also reveals an almost complete lack of comments and copious use of unexplained `unsafe`.

comment 4y ago · link · parent

This is clearly intended for the industrial market, not for consumers. Price tends to be much less of an issue there.

comment 4y ago · link · parent

OP seems to be conflating the concepts of cargo (the rust build system with dependency management functionality) and crates.io (the main and default package repository today).

It is totally possible to use cargo without ever touching crates.io, but if you need any dependencies you'll of course have to provide them through some other means (local file system, git repositories, or a custom package repository).

comment 4y ago · link · parent

"starting fresh with no baggage" also means starting fresh with no drivers. Having drivers for a wide range of hardware is a major factor in operating system adoption.

comment 4y ago · link · parent

I'm sure there are web developers that are also Rust developers and vice versa, but the vast majority of developers I know that belong to either of those groups don't belong to the other.

comment 4y ago · link · parent

I can sympathize with the need to have all required source code in the repository and not having to fetch a bunch of dependencies at build time. Thankfully, cargo already offers a solution here: `cargo vendor` will download all the specified dependencies once into a local directory, which can then be checked into the source tree.

This maintains cargo's dependency resolution/update checking/etc, but also allows for all dependency code to be kept alongside the kernel code and audited accordingly.

comment 4y ago · link · parent

A funny piece, but oh boy that author sure has some Opinions they had to squeeze in there.

comment 4y ago · link · parent

Huh, that is a bit suspect. https://redcrossredcrescent.org/ refuses connection, the HTTP version just redirects to the IFRC homepage. The only backlink to that domain I can find is this tweet, and I have no idea if the twitter account is legt: https://twitter.com/RedCrossUkraine/status/14969278216163205...

comment 4y ago · link · parent

Yes, it does! Here's a an example of such an app being used, courtesy of the Lunteren fire brigade (video with English subtitles): https://www.youtube.com/watch?v=FoK_QOvm8n8&t=882s
1234567