Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ahomescu1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Stop Whining about Rust Hype – A Pro-Rust Rant
(thenewwazoo.github.io)
91 points
by
ahomescu1
5y ago
|
70 comments
2.
▲
Sayonara, C++, and Hello to Rust
(thecodedmessage.com)
6 points
by
ahomescu1
5y ago
|
1 comments
3.
▲
Prioritizing Memory Safety Migrations
(noncombatant.org)
2 points
by
ahomescu1
5y ago
|
0 comments
4.
▲
by
ahomescu1
7y ago
We added the transpiled code in a new branch at https://github.com/immunant/ioq3/tree/transpiled/quake3-rs and also a more cleaned up refactored code base at https://github.com/immunant&#
5.
▲
by
ahomescu1
7y ago
We added the transpiled code in a new branch at https://github.com/immunant/ioq3/tree/transpiled/quake3-rs and also a more cleaned up refactored code base at https://github.com/immunant&#
6.
▲
by
ahomescu1
7y ago
Author here: I wanted to let everyone know we made some small edits to the text, and added two new branches to our repository: transpiled containing the raw transpiler output [1], and refactored containing the same code [2] after a few
7.
▲
Fearless Concurrency in Firefox Quantum
(blog.rust-lang.org)
611 points
by
ahomescu1
9y ago
|
174 comments
8.
▲
by
ahomescu1
9y ago
Right, I see that now. Adding an additional layer of RSA and per-file keys is an interesting twist. Generating a public/private key pair instead of a symmetric key seems to let them encrypt as many files as they want without keeping th
9.
▲
by
ahomescu1
9y ago
> Just ship your ransomware with the attacker's public key, generate a symmetric key K locally, encrypt the data with K, encrypt K with the public key, offer to decrypt K for a ransom. It seems that what they're doing is genera
10.
▲
by
ahomescu1
9y ago
I don't know the exact details of how WannaCry encrypts the files, but ransomware generally works like this: when hitting a new machine, it generates a random key K1 and then encrypts all the user's files with AES (or some other s
11.
▲
by
ahomescu1
11y ago
There doesn't seem to be anything dynamic about the algorithm in the article. They still need to precompute the perfect hash function(s) from the entire input data, whereas the hashing approach you linked to can handle adding data incr
12.
▲
by
ahomescu1
11y ago
> And who runs foreign policy? How do state secrets work? Is there still a president and a bureaucracy and cabinet ministers? All of those seem tied to the Executive branch, whereas direct democracy would replace the Legislative (Congres
13.
▲
by
ahomescu1
11y ago
I was following and agreeing with you (and was going to upvote you), until the last 2 sentences. You could have made your point without bashing "CS types" and CS/engineering education.
14.
▲
by
ahomescu1
11y ago
1. and 2. are OK points, but your point 3. is atrocious. In my opinion, destructive behavior isn't really a legitimate form of protest, and as rubidium wrote, you'd be hurting people who are innocent in all this.
15.
▲
by
ahomescu1
11y ago
> Historically, states and credit-based money came first. THEN came the unit of account and medium of exchange money that you are talking about. Actually, the Wikipedia page on "fiat money" (if that's what you're refe
16.
▲
by
ahomescu1
11y ago
Anything that is valuable, fungible and divisible could be used as money (you could even use barrels of oil). For examples, see [1]. Again, a great contemporary example is Bitcoin (not sure why you're ignoring that, it's a great e
17.
▲
by
ahomescu1
11y ago
Money is both a "unit of account" and "medium of exchange". You can certainly have both of those without government. In some societies, people used seashells, salt, gold coins, or many other things as money. Bitcoin cert
18.
▲
by
ahomescu1
11y ago
AFAIK, V8 already has 3 tiers: full-codegen (the basic non-optimizing JIT), crankshaft and turbofan. With ignition, they're replacing full-codegen with an interpreter. It's strange that there's only one mention of crankshaft
19.
▲
by
ahomescu1
11y ago
size_t is also unsigned (no idea why). The signed equivalent is ssize_t. Edit: Sorry, missed the "i-- > 0" at first. The code works, but not because of changing "unsigned" to "size_t".
20.
▲
by
ahomescu1
11y ago
If you mean run RPython code as regular Python code, that doesn't always catch typing problems. For example, returning a None where an int is expected works fine in Python, not so in RPython.
21.
▲
by
ahomescu1
11y ago
I used RPython on my own interpreter project a few years ago (stopped working on it around 2013). It's a very interesting approach to writing interpreters/JIT compilers, and produces very fast code, but developing RPython code was
22.
▲
by
ahomescu1
11y ago
> It's an open question. For the last 6 years I've refused to set foot in US (and even declined free tickets to a very important tech conference in my field) because of your unpredictable trigger-friendly police [1] and your gu
23.
▲
by
ahomescu1
11y ago
> Out of curiosity, an example? The only programs I've compiled that remotely approach an hour are the Linux kernel, GCC, and ATLAS. Don't know about GP, but I can think of a few more: KDE, OpenOffice, Firefox (that alone takes
24.
▲
by
ahomescu1
11y ago
Earlier discussion on this topic: https://news.ycombinator.com/item?id=9732827
25.
▲
by
ahomescu1
11y ago
I mean the writing is identical, but the pronounciation varies wildly.
26.
▲
by
ahomescu1
11y ago
> The ordering of digits in Arabic is not obviously relevant, per se, since spoken English ("one hundred twenty one") matches the order of the Arabic numbers, too. I think it is relevant. It is possible that Western mathematics
27.
▲
by
ahomescu1
11y ago
After looking up some German for beginners (German speakers, feel free to correct me), I found out that 1042 is read like "one thousand two and forty".
28.
▲
by
ahomescu1
11y ago
The problem is that perfect disassembly (figuring out where every instruction starts, and if bytes are instructions or data) of an arbitrary program is undecidable. Emulators get around that problem by only disassembling instructions that a
29.
▲
by
ahomescu1
11y ago
> Because big-endian matches how most humans have done it for most of history ("five hundred twenty one" is written "521" or "DXXI", not "125" or "IXXD"). Actually, it is possible that th
30.
▲
by
ahomescu1
11y ago
> Corporations are created for the benefit of the corporation, and as they get hyper-large they don't even serve the needs of their own employees; they become self-aware, and their survival and growth becomes their reason for existe
More ›