You should look into Plan9. I think it fits that description in some ways. (Disclaimer: I've never used Plan9 before)
1,845 karma · joined March 30, 2017
You should look into Plan9. I think it fits that description in some ways. (Disclaimer: I've never used Plan9 before)
(Which is probably irrelevant, but some may find it interesting)
How about a router? I've been considering getting some single-board computer (probably an APU2[1]) and turning it into a router, possibly using OpenBSD + pf. Or maybe just install Pfsense. Or maybe use Linux and...iptables? (Not sure how that stack would look exactly)
Example: Someone opens a bank account using your information. That's fraud. Someone lied to the bank, and the bank believed them. That's the bank's problem. But by pointing at you and saying "Your identity was stolen" (using the term "stolen" to make it seem like this is similar to the theft of a physical object), it suddenly seems like it's your problem.
People have been saying that for years, and yet Reddit is still here. (With that said, I do agree with the rest of your comment)
There's an episode of Star Trek: Voyager about this[1]. Seven of Nine absorbs months worth of data (way more than a human could actually process) from the ship's computer, and "discovers" that both half of the ship plans on mutinying and that the Captain wasn't actually trying to get them home. Both of which were false.
1. http://memory-alpha.wikia.com/wiki/The_Voyager_Conspiracy_(e...
This is pretty much what I did. I've learned exactly enough LaTeX to write my resume (and I'm happy with it).
I tried using res.cls (which was recommended elsewhere in these comments) and I didn't like it. It was very opinionated, offering only a few different pre-defined layouts. Using a different layout would've involved modifying the class file, which was more than I could handle as a beginner. Writing my own class file from scratch (with help from some tutorials) was a lot easier.
This is what happens when you decide to go with a closed, proprietary alternative.
Conversely, (as another HN user pointed out), OpenStreetMap's opinion of what3words is quite negative: "what3words is a commercial, non-open, patented location reference schema. Open data advocates (such as the OpenStreetMap community) would generally advise against adopting it at all."[1]
Was that a while ago? Or is that still what you're doing?
> Calculating the size of a static array
some_array.len()
> Getting the maximum value of an enum
Rust's enums are strongly-typed (I think that's the right phrase), so this is a non-issue.
> Converting an enum to a string
impl Display for MyEnum (and then call to_string() on it)
> Converting a string to an enum
This could be tricky, since Rust enum variants can contain data. But if none of the variants contain data, it would be easy to make a method that returns a Result<MyEnum, CustomParseError>
> Binary file includes
include_bytes! macro (or the include_str! macro, depending on the exact scenario)
> Switch/case is still stupid
Pretty sure Rust's match is a lot better
(I was bored and asked for dumb filesystem ideas on IRC)