Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
simias
5y ago
I'm doing it for free! Jokes aside I don't think it's a plausible example, because it's not like Rust is a product people directly buy. Whose interest would it be to astroturf Rust adoption? If people only pretend to use
242.
▲
by
simias
5y ago
I think it's an extremely inelegant and overkill solution to a real problem. So, the web in a nutshell.
243.
▲
by
simias
5y ago
I definitely heard that expression a lot in regards to C++. That being said I would argue that Rust pushes the concept further thanks to its more powerful and expressive (if also more constraining) type system.
244.
▲
by
simias
5y ago
That's not the case here, and even then why bother when modern operating systems have ways to easily get you good quality entropy? If you use a decent random library you won't have to bother reinventing the wheel. I had to generat
245.
▲
by
simias
5y ago
I think the attack vector would be something like: - Website is compromised, database is dumped - It contains hashed user passwords that you'd have to bruteforce if you want to recover them - If you know roughly how long the password i
246.
▲
by
simias
5y ago
I feel like the discussion about uniform password generation and PRNG, while interesting, is relatively irrelevant here. Even a garbo xorshift-based non uniform PRNG is almost certainly good enough to generate strong random passwords, as l
247.
▲
by
simias
5y ago
If I could travel back in time I'd tell Dennis to make "static" the implicit default, and have a special keyword like "public" or "export" for items that are meant to be accessible from outside the compila
248.
▲
by
simias
5y ago
I don't really share your opinion, I think bad devs will write bad code and good devs will write (mostly) good code, with or without it. The problem exhibited in TFA is not so different from people copy/pasting StackOverflow answe
249.
▲
by
simias
5y ago
I think this GH Copilot looks really cool but I wonder how many more or less subtle bugs are going to end up in codebases because of it. The snippets it generates are rather large, a tired dev on a deadline will probably not take the time o
250.
▲
by
simias
5y ago
Reading this thread it seems to me that AI is a threat for "boilerplate-heavy" programming like website frontends, I can't really imagine pre-singularity AI being able to replace a programmer in the general case. Helping devs
251.
▲
by
simias
5y ago
If you have to work in an environment where stack size is very limited (typically a few KiB) you have to pay attention to certain things that you can brush away in more generous environment. In particular you need to be very careful with re
252.
▲
by
simias
5y ago
Lightning doesn't work because it either leads to a chaos of routing that doesn't scale or it ends up centralized and you lose the point of bitcoin in the first step. And don't bother coming up with hand wavy explanations of
253.
▲
by
simias
5y ago
Using a closed, centralized implementation that doesn't accept third party nodes. The use of bitcoin is pure marketing, it's just MySQL with extra steps.
254.
▲
by
simias
5y ago
It's cool that all the data is embedded in the code instead of just containing a URL that points to some centralized server. This way people can't be (trivially) tracked by looking at the pings from the scans.
255.
▲
by
simias
5y ago
Hard disagree, git's docs and UI have improved over the years but every time I have to teach it to a beginner I realize how arcane and scary it is, especially when compared to old school centralized VCSs like subversion. Not that I
256.
▲
by
simias
5y ago
High-latency but high-bandwidth. C++ features take forever to land, but there's always something big in the pipeline, for better or worse.
257.
▲
by
simias
5y ago
Aah, I assumed that this used a different protocol. Then yeah, it's pretty bad.
258.
▲
by
simias
5y ago
Even then, I'd expect (perhaps naively) that the vast majority of smartphone data transmissions these days are done on top of HTTPS, so breaking the first layer would only get you so far.
259.
▲
by
simias
5y ago
It wouldn't have been too hard to just implement this feature for chinese customers if that was the only driver. But I agree that making the exit node in the same country probably goes beyond video content providers, it avoids all sort
260.
▲
by
simias
5y ago
If you really want to simulate reflected light you also have to be able to control the angle of the light that you emit, and you want to absorb incoming light almost completely otherwise there'll be a conflict (glare, in particular). I
261.
▲
by
simias
5y ago
I think I would be more willing to embrace this sort of tech if there computing resources were easily accessible to hack on. If I could easily upload my code to this smart bulb and leverage it either for creative or practical endeavors then
262.
▲
by
simias
5y ago
I don't think ownership really lets you do anything more than what "sizeof" tells you in C. In particular: - Some types have dynamic memory allocation (Vec, HashMaps etc...), so those would have to be computed at runtime and
263.
▲
by
simias
5y ago
A problem with this from my point of view is that while hardware engineers did an incredible job increasing the processing power of our thinking rocks, us software devs did a tremendous job of squandering 90% of it away. Of course there als
264.
▲
by
simias
5y ago
Do you have a particular example in mind or is it a theoretical concern? I can definitely see how it could benefit foreign competitors, but at the same time the American tech giants are so largely ahead of the competition that it's har
265.
▲
by
simias
5y ago
I definitely had to add type annotations when compiling "old" Rust code with a modern version, but it wasn't a huge deal in practice. While Rust's handling of backcompat isn't perfect, I think it's very good gi
266.
▲
by
simias
5y ago
The concept of whiteness, and even more the USA concept of whiteness is a very recent construct, I'm not really sure I understand the point of studying ancient Rome through that lens. I'm from the South of France and now live in P
267.
▲
by
simias
5y ago
Oh, that's very cool, I hadn't checked that in ages. Any idea on what Rust does better here? Better link time optimization? Or is the Go runtime just that heavier?
268.
▲
by
simias
5y ago
You work on systems with 1MB of storage that support dynamic linking? Please tell me more, that sounds pretty insane to me.
269.
▲
by
simias
5y ago
That used to bother me with Rust as well, but frankly nowadays it's really hard to argue against it. Even in the embedded world you typically have enough flash these days that you're not counting a couple MBs, and as far as RAM is
270.
▲
by
simias
5y ago
Yeah I think different ISPs have different policies when it comes to that, I think Orange in France would cycle the address every couple of days regardless of power cycling, but here in Portugal it seems that my Vodafone public IP hasn'
More ›