Better HN
topnewbestaskshowjobs
Log inSign up

binary132

1,656 karma · joined Mar 24, 2014 (12y ago) · 1,717 submissions

Submissions

comment 2y ago · link · parent

People need to dream up new jargon to get other people to feel like their design patterns are “official”, I guess. I was wondering the same thing. It seems pretty arbitrary.

comment 2y ago · link · parent

Rust is too hard. Can’t we just use the Sea?

comment 2y ago · link · parent

A literal wetware virus, so to speak

comment 2y ago · link · parent

An extremely, miserably stressful and depressing experience I have been through countless times! I’ve gotten somewhat better about it over the months and years (especially as its impact becomes more of a problem) but now I tend to channel it more into bikeshedding and perfectionistic tweaking....

Not diagnosed and got a high functioning score on an ADHD test so I may or may not have as bad of a problem as others. On the other hand, I failed out of college twice. it’s not great.

comment 2y ago · link · parent

I would think you would treat the OpenRESTy component as just an executable binary application server just as you would with any other webservice, and put your nginx stuff in front of it, just like you would with any other webserver's front end lb. I agree that it does sound nice to handle it as another component in a regular nginx config, but it doesn't sound like a dealbreaker. Just treat the nginx stuff as incidental to the implementation and it seems like it would be no big deal.

comment 2y ago · link · parent

I guess the way I feel about using rust is kind of the opposite of how I feel about using Go. Go has such plain and straightforward semantics that it’s very easy to make simple, straightforward packages with it. It is actually even simpler than Python. In C++, it’s a pain to get there, but those simple anbstractions are still at least _possible_. In Rust, the nuances of the semantics are not only convoluted, but also very hard to encapsulate and abstract over. It’s not that the abstractions leak quite as much as it is that the nuances of the semantics are inextricably and necessarily _part of the package API_.

It could probably be argued that this is simply acknowledging reality, and that C++ lets you get away with murder if you want to. But maybe that’s what I want.

I think a good feature for C++ would be a “safe” (or “verified”?) block or method decorator that could enforce some set of restrictions on semantics, e.g. single mutable borrow. The problem is that those functionalities are part of the compiler APIs and not standardized.

The Rust compiler is also not standardized, but they can get away with it.

comment 2y ago · link · parent

who’s to say it would be engineer employees responsible for sending (or stopping?) the signal? For all we know it’s the US government with the finger on the button.

comment 2y ago · link · parent

If anything the cognitive load of rust is worse than C++

comment 2y ago · link · parent

C++: zero-cost leaky abstraction with unlimited cognitive and development cost

Functional programming languages: Unlimited good abstractions of unknown cost

I don't feel like there's a great third option. Go is pretty good.

comment 2y ago · link · parent

I’m not commenting on this way or another, but if we went to UBI, what would the incentive be for me to work, presuming a basic income is suitable to raise my family on in safe, clean housing, and also presuming that the resources to implement a UBI will be extracted from people like me whose labor is more valuable?

comment 2y ago · link · parent

It’s like how QRs can be abused to appear like certain images, just a little stunt on top of the implementation

comment 2y ago · link · parent

What’s next, a shadow of a 3d-printed save icon?

comment 2y ago · link · parent

Amazingly weird

comment 2y ago · link · parent

There’s a huge difference between rationally evaluating risk and how we feel about risk. Just because I rationally understand and choose a certain set of risks, doesn’t mean I can necessarily make myself feel good or even okay about them. Even a small or inconsequential amount of risk can be really scary if the potential bad outcome is really bad.

comment 2y ago · link · parent

Self driving cars should exist because careless people might not drive safely? That’s interesting. How about we just make it illegal to drive drunk or drowsy?

comment 2y ago · link · parent

Sounds like a good way to save someone from severe alcohol poisoning. Not sure I see much of a point otherwise, tbh.

comment 2y ago · link · parent

America is in the midst of an extraordinary debt bubble driven by desperate and greedy venture-capitalists.

comment 2y ago · link · parent

Frankly, I do not see a justification for this technology at this point. Sure it’s good but nothing is really comparable to an attentive operator when even one multi-thousand pound hunk of deadly steel is hurtling down the road, let alone hundreds and thousands, and lives at stake. It simply is madness.

comment 2y ago · link · parent

IMO VS proper has a lot of great features, especially around runtime analysis, profiling, debugging, etc. I’m pretty annoyed that they only offer the full-fledged version for Windows. I’m an Emacs user on Linux, Mac, and windows, but I will drop into VS at times when command-line debugging isn’t satisfactory. That said, I haven’t sorted out DAP yet.

comment 2y ago · link · parent

“Some people say” isn’t really good enough evidence to support this claim. It perhaps casts doubt but I wouldn’t consider it trustworthy either.

comment 2y ago · link · parent

I tend to think of the database less as a filesystem and more as a block store. The filesystem layer in a real system is in fact implemented by the driver (and OS), and it might be implemented in terms of primitives that are persisted in the block device, but the block device doesn’t have a magical internal scripting language or query engine that the driver delegates to. The driver is in charge, and the persistence layer stores and loads what the driver tells it to.

comment 2y ago · link · parent

Don’t worry friend, after 30 years C++* will have a smattering of support for a print function in the standard library

*some versions of some implementations

comment 2y ago · link · parent

What differentiates this from any other editor with a Rust plugin? Visual Studio is an entirely different animal.

comment 2y ago · link · parent

WOW, a whole entire million dollars? Microsoft is so generous! How much revenue do they pull every year again?

comment 2y ago · link · parent

What difference should it make whether it’s a computer with a built-in touch screen or a computer with a mouse, keyboard, and whatnot? How is one “optimized” for this or that? They’re both just computers. The one running Apple’s software is utterly locked down, is the thing. I would like to be able to compute however I like on my computers, yes.

Heck, maybe it would be interesting to work on touchscreen software on a touchscreen computer in a touch oriented IDE or editor, no?

comment 2y ago · link · parent

Nope. Nil deref in Go is checked, and simply panics, just like array access out of bounds.

comment 2y ago · link · parent

Someone should come up with a language called Zag just so they can say “zigged when he should have zagged”

comment 2y ago · link · parent

Also, data races in Go are trivially addressed using the common pipeline / CSP pattern, since channels are serializing. Of course, it doesn’t eliminate the possibility of doing stupid concurrency things, and you could of course argue that giving users trivially easy concurrency primitives encourages stupid concurrency, but I think it is fair to say that in most cases, Go idioms and primitives make race-free concurrency pretty easy. You have to go out of your way to write racy Go, and there’s nothing really preventing people from going out of their way to write unsafe Rust, either.

comment 2y ago · link · parent

I mean, I don’t think anyone really expects that encrypted messages are necessarily secure in context of stolen private keys. I assume that a lot of encrypted traffic is either recorded at the ISP/backbone level or at least can be on demand.
1
454647
58