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

nil dereference isn’t unsafe.

comment 2y ago · link · parent

Ok? Is it not trivial to leak in unsafe rust? Managed memory is safety. And frankly, OOM termination is not unsafe. If you crash the host because you ate all the system resources, that’s a different thing, and Rust doesn’t fix that either.

comment 2y ago · link · parent

Somehow “$1500 portable terminal, with some effort” just doesn’t make me feel burning desire.

comment 2y ago · link · parent

I mean, Go and Java have those properties, but achieve them using managed runtimes.

The first thing that crossed my mind reading this comment was Nim. It’s pretty Pythonesque (but that’s kinda what I hate about it.)

comment 2y ago · link · parent

Consider a certified tamper-resistant operating system which cryptographically certifies the versions of software it operates, and prohibits uncertified processes from running. The certificate of authenticity verifying the software is made available to the clients which connect to the remote application. This cert specifies all of the program transforms which were required in order to produce the compiled software, and they specify the capabilities required for the transform.

It is certainly a very hard and complex problem but I wouldn’t necessarily go as far as “impossible”. Maybe you know something I don’t know, though.

comment 2y ago · link · parent

Every time I think about buying an iPad, I just find myself wishing there was a legit / better approach to, you know, computing on it.... I don’t do much for fun besides work on things that need compilers, debuggers, dynamic analysis, linking, JIT execution, tracing, and suchlike. All such endeavors are firmly impossible on iOS and iPadOS.

I think touch computers had enormous potential that has mostly been permanently squandered by making them into entertainment devices for users — not owners, and certainly not operators. The product barely even really belongs to you from that perspective.

This is something that Stallman and the Free Software movement got absolutely bang-on: proprietary software seeks to control its users and prevent them from truly owning and operating their computers. It’s almost impossible to overstate how important free computing is, and how much more important it will become in the future if we don’t secure our access to it.

comment 2y ago · link · parent

Ok, but is it twice as fast during those 10 hours, leading to 20 hours of effective websurfing? ;)

comment 2y ago · link · parent

This is where the security stuff starts going down the rabbit-hole into Wonderland. I’m still trying to figure out how to write a compiler that won’t be subject to the “what if my ur-compiler was infected with a virus that only infects compilers” problem....

comment 2y ago · link · parent

I’d be more interested in a system that can prove to me that it’s not collecting logs. Hard, but not impossible.

comment 2y ago · link · parent

Verification is proving specific things about specific properties of the program.

comment 2y ago · link · parent

A high cognitive barrier to entry can serve as a certain sort of healthy gatekeeping for projects that might not be a good fit for everyone. :)

comment 2y ago · link · parent

I thought it was cool if a little impenetrable without extra effort! Reminded me a bit of Urbit’s old theorycraft, which I think is still an open question as to whether it’s an elaborate ruse, so the idea did cross my mind that I’m getting my leg pulled, but it seems to be in earnest. I have some similar thoughts in a related but different domain but user-extensible syntax is certainly a nice and uncommon language feature.

comment 2y ago · link · parent

I’ve been trying to teach my (admittedly pretty young) kids Lua and I have to say BASIC is just a lot simpler to understand when you don’t know anything about anything.

comment 2y ago · link · parent

If it’s a mistake, then it’s in good faith, right? Maybe the README no longer literally says “learning Rust as I go along”, but it definitely did in the one I looked at quickly (yes, from tromp’s comment)

That said... is it really “really real” if it’s still experimental 3 years later?

comment 2y ago · link · parent

it literally says that in the README

it is not a Real Project, it’s someone trying an experimental implementation of a tor client

comment 2y ago · link · parent

the term you’re looking for is “license agreement”

comment 2y ago · link · parent

Witch hunt detected. Turning care knob straight to zero. Maybe I’ll tune back in if there’s a change in the wind.

comment 2y ago · link · parent

I think the only way to learn it is long, slow practice. There’s a how-to linked on the splash page and an extensive wiki, but otherwise it’s just going to be a process.

I personally love Emacs and have lost interest in learning anything else, but “fun” isn’t the right word for the learning curve. “Pain” might be closer to the mark.

comment 2y ago · link · parent

and even a correct hardware specification could have an implementation bug...

comment 2y ago · link · parent

What I just read sounded like “the solution to doctor burnout is even more doctor burnout” so that couldn’t possibly be what you really meant.

comment 2y ago · link · parent

I mean, do we really need to assume a preconfigured basis in order for wealth and power to be “incentivized”? They’re pretty self-incentivizing and built into human societies. On the other hand, I think you’d have to figure out some pretty radical rules and enforcement strategies to decouple the incentives from wealth and power. That presumably would require both wealth and power. Seems internally inconsistent.

comment 2y ago · link · parent

I think everyone struggles with sin. The wealthy are (mostly) just uniquely empowered and visible. But most people off the street would probably behave about the same if they had the same power.

That said, sociopaths probably are particularly well-equipped to become very wealthy.

comment 2y ago · link · parent

Welp, time to build my own water lab

comment 2y ago · link · parent

As basically every world religion has observed, human beings are plagued by pathological behaviors by our nature, as beautiful and enlightened as it can also be. Without a drastic shift in how we approach that problem, I would bet my life on that pathology continuing unabated, if not deepening.

comment 2y ago · link · parent

I feel ya, but I am sympathetic to the argument that Nintendo’s IP is uniquely valuable and their brand is globally very unique. They prize their reputation and the Nintendo authenticity seal has been a thing since forever.

comment 2y ago · link · parent

It can come back (in a new form obviously), we just have to build it and secure it, and not relinquish it.

comment 2y ago · link · parent

I think that there is a very unhealthy dynamic to modern open-source software. I do see a future for free software but I'm not really sure the way it is today with liberal-licensed software will be sustainable outside of what will essentially by corporate properties. We really need to be thinking more about how we can secure computing freedom and less about how we can get famous or create consultancies or whatever by getting lots of gh stars. That system is actively getting gamed as hard as possible and it will get worse.

comment 2y ago · link · parent

It's kinda true if you're just using the system primitives directly (kqueue, epoll, whatever) but people tend to build abstractions over those and then offer callback scheduling libraries for their users, and away we go.

IMO, we haven't really seen a natively compiled and manually memory-managed language "get it right" yet. There are pretty good third-party abstractions for it though.

comment 2y ago · link · parent

If anything I think Go is mostly used to implement client and (perhaps moreso) server apps using HTTP and other RPC protocols.
1
464748
58