Better HN
topnewbestaskshowjobs
Log inSign up

PyroLagus

267 karma · joined Oct 6, 2017 (9y ago) · 101 submissions

[ my public key: https://keybase.io/pyrolagus; my proof: https://keybase.io/pyrolagus/sigs/D3oSQKBNXQf0XoT_Kd0mFFeEvGRXDi-ph7CvuW2bGGE ]
Submissions

comment 7y ago · link · parent

I think they were talking about projects that tell you to run `make install`, which I agree is less than ideal.

comment 7y ago · link · parent

That's probably a great way to get shot, especially in the US. Not only is sneaking into a tenants place (at night of all times) an asshole move, likely illegal, and a clear abuse of power, but it's also such an incredibly stupid thing to do if you value your life.

comment 7y ago · link · parent

> the system can allow an individual to verify that their vote was counted but not validate that the vote was counted correctly

> does this actually introduce any new features

Well, the current system doesn't allow you to verify that your vote was counted, so that's what it adds.

comment 7y ago · link · parent

> A cryptographic paper voting system that required advanced math to understand would have the same legitimacy problem as a cryptographic electronic voting system.

No, because it'll still be counted manually by humans. What the cryptographic layer allows you to do is verify that your vote was properly counted or allow a trusted third-party to verify that for you. It doesn't take anything away from the paper voting system but only adds to it. That said, you'd still have to trust the device that generates your tracker, but maybe they've found a way to deal with that.

comment 7y ago · link · parent

Interestingly, Genode actually also uses two rings for async bulk transfer RPC (packet streams)[0], only the rings are called submit queue and acknowledgement queue rather than submission queue and completion queue. And since Genode applications do I/O by communicating with a service implementing the block session interface[1], which uses the aforementioned packet streams, Genode essentially uses two ring buffers for async I/O just like Linux does (well, I guess it's more the other way around).

I can definitely recommend reading through the first half of Genode Foundations (the second half is just an API reference). It's really interesting and informative, and it's a surprisingly easy read as well. However, I'd wait till the 19.05 edition gets released, since that should be less than a month's wait if they manage to release it on time.

[0] https://genode.org/documentation/genode-foundations-18-05.pd... (page 92) [1] (pages 94 & 116)

comment 7y ago · link · parent

I guess that would explain why Sony got rid of the option to run Linux on the PS3. With businesses buying PS3s as cheap servers and not buying any games, that would definitely be a bad deal for Sony if they sold the PS3 at a loss.

comment 7y ago · link · parent

There's also Iodide from Mozilla, which is pretty cool: https://alpha.iodide.io/

GitHub: https://github.com/iodide-project/iodide

Post explaining what it is: https://hacks.mozilla.org/2019/03/iodide-an-experimental-too...

It uses this markdown like file format: https://iodide-project.github.io/docs/jsmd/

comment 7y ago · link · parent

The first half of nand2tetris[1] (projects 1-6), which corresponds to their first Coursera course[2] is a great introduction to the digital side of electronics. The second half is more general purpose computer and OS specific but probably still pretty useful. I've only finished up to chapter 5 as of right now, so I can't say anything definite.

[1] https://www.nand2tetris.org/

[2] https://www.coursera.org/learn/build-a-computer

comment 7y ago · link · parent

If you have a house with space for a garden and the time to dedicate gardening, sure. You can grow some things in an apartment even, but not much. Taking the labor, time, and space requirements out of food production is a huge deal, especially today. If computerized farming means fresher and cheaper vegetables in the city, why shouldn't we use that?

comment 7y ago · link · parent

Correct me if I'm wrong, but isn't ECS a really fitting architecture for a simulation/tycoon game? There are lots of entities and components that have to be updated and whose updates could be parallelized. Granted, the game in the post is far from a full-scale tycoon, but wouldn't it make sense to just start with an ECS if you're going to use it in the end anyways?

comment 7y ago · link · parent

Software Foundations seems to be really good.

https://softwarefoundations.cis.upenn.edu/

And it's free.

comment 7y ago · link · parent

> I wish people would ask this question of IPFS more often.

Well, that's what Filecoin is for. Although I'm generally skeptical of cryptocurrency, as well as the scalability of technologies like IPFS. But we'll see.

comment 7y ago · link · parent

If you want to be really evil, you use Thioacetone: https://blogs.sciencemag.org/pipeline/archives/2009/06/11/th...

As far as I'm aware, it's the worst smelling chemical known to humans and has no damaging long term effects. You just have to be veeery careful about it unless you want to stink up the whole town by accident.

comment 7y ago · link · parent

Yeah, text on computers and phones is so much different from handwritten or even printed text. We don't have to handwrite text that often anymore, so we don't have the constraints of how accurate our hands can move. Our screens have really high resolution and color (although using a script with colors would be problematic for color blind people), so we don't have the constraints of the paper medium. There's also the simple fact that Latin isn't the only writing system in existence, so how are we to know that Latin is the best writing system out of all the writing systems already in existence? Why not hànzì? Or hangul? Or Devanagari? Or the Arabic Script? Or even Canadian Aboriginal Syllabics? There are so many different scripts that it seems weird to me to focus on the Latin Script as the "pretty good sweet spot". That seems like the much bigger hubris to me. It's not like the Latin Script was scientifically created and proven to be efficient. It just organically evolved from what came before it, whether those changes were beneficial or not. And of course again, they didn't have screens back then.

comment 7y ago · link · parent

How do you think without words, or rather sounds, or images? How do you keep track of a concept without a label you can attach to it?

comment 7y ago · link · parent

Until they get a winning game ruined by a sudden net cutoff. Although that's probably not a big issue with Fortnite since expected game lengths should be fairly predictable (average seems to be 20-25 mins from what I've found) due to the encroaching wall thing. Would be cool though if it could recognize an ongoing game and cut off the connection only after the game is finished.

comment 8y ago · link · parent

I don't know about other ones, but you can netboot the Raspberry Pi 3: https://www.raspberrypi.org/documentation/hardware/raspberry...

comment 8y ago · link · parent

What except for the rollback reminds you of Nix?

comment 8y ago · link · parent

To be fair, Linux and friends aren't much better in that regard. Permission management for locally running programs is pretty much poor by default in all major operating systems. SELinux and AppArmor for Linux improve on the situation, but they're usually not the default unless you're using Fedora, and even there, it might need some extra configuration.

I'm looking forward to capability-based systems with microkernels, since they really improve on the situation, but I think it'll take a while until we get some major ones. Maybe Google's Fuchsia will establish itself soon enough, who knows? (We'll also have to see what can be done about hardware security, since any software mitigation could potentially be rendered useless by insecure hardware.)

comment 8y ago · link · parent

It would be great if sites had an option to remove reset support for your account permanently. One that is literally impossible to reset. But I'm not sure how to do that without implementing complete user data encryption.

comment 8y ago · link · parent

> Why is so hard to admit that they had some kind of advanced technology that for some reason has been lost?

Well, how advanced exactly are we talking about?

comment 8y ago · link · parent

> that's the problem with every language that isn't Java or JS.

Or WebAssembly, for which many languages now have a backend.

comment 8y ago · link · parent

It maybe easily corruptible, but it's super easy to copy. Nature has already solved that part for us already. If you can just have some bacteria make a million copies of your data, it doesn't matter if even several thousands of the strands become corrupted. But of course, unless you can actually read several hundred thousand strands in a reasonable amount of time, that redundancy doesn't help too much. I wonder if we could engineer bacteria to facilitate reading and writing to DNA in a more efficient manner.

comment 8y ago · link · parent

There's also going to be the http://mega65.org/ which is a spiritual successor to the C64. It's completely open source, even the FPGA code implementing the 6502 (although the FPGA is most likely not going to be open source), and it has better specs than the C64, but it should still be compatible with the original C64 and its games from what I understand.

comment 8y ago · link · parent

Kind of but not really. You still can't access an undeclared element, and you still can't take a mutable and an immutable reference to an element by index. The borrow checker only cares about memory safety, and index accessors are implemented in a memory safe manner (whether that's panic!ing or returning an Option<>). If you want… umm… "data safety" (I'll call it for now), so you can't use an index to access an element that you didn't intend to access because stuff got shifted around for instance, then generational indexes will solve that issue for you.

And to clarify something that's probably obvious. A direct pointer to a vector element could easily end up becoming invalid when the vector has to be copied somewhere else for it to grow or if the element gets deleted in another thread, so you can't just easily use pointers to vector (or array) elements in Rust.

comment 8y ago · link · parent

I don't know. Single party consent is great if you want proof that someone is threatening you (or something similar) or even just to have a personal record of a conversation, but I don't know about single party consent to give a copy of the recording to a non-law third party. (There are still ethical issues with providing a copy to authorities when the incriminating information doesn't affect you, but that's beside the point.) For one, it's a huge breach of trust, but it could be very damaging for the non-consenting party. For instance, secretly recording a partners voice during sex and distributing that online would be pretty similar to revenge porn but in audio form. I don't think anybody would be "all for" that

Now this piqued my interest, so I took a look at Wikipedia[1]. Interestingly enough, England seems to allow recording phone calls without notifying the other party as long as it is only for personal use and not made available to a third party, but US Federal law does not seem to have such a stipulation, thus presumably allowing people in one-party consent states to post recordings of phone calls on social media without the other party's consent (unless the state forbids that. It's a bit hard to find concrete information on this), which is pretty troublesome I think. However that is only for telephone recordings and not for private conversations, so maybe the laws are a bit more sensible in that case.

1: https://en.wikipedia.org/wiki/Telephone_recording_laws

comment 8y ago · link · parent

While I agree with your comment, I have to say that xkcd does not have ads.

comment 8y ago · link · parent

Until you need to call an ambulance.

comment 8y ago · link · parent

> Therefore, the smartest pro team should study what the bot is doing and trust that on average it's a better idea to always focus on the ranged barracks first. After all, if it was a bad idea, they probably wouldn't do that.

This is exactly what is happening with Go right now. Many pros are emulating and learning from AlphaGo (Zero) and are starting to play moves that were always thought to be suboptimal until now.

comment 8y ago · link · parent

Except that 0 could actually be the result of a valid computation. NaN, undefined, or Infinity can not.
1234