Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scoutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
scoutt
4y ago
> until Rust gets free of "my compiler compiles yours" I would better argue that "your Rust program runs on top of my millions of lines of C code, so please pass to my C API a pointer or a reference to a pointer so I can s
62.
▲
by
scoutt
4y ago
Complex problems and complex solutions are two different things. The genius is in solving complex problems with simple solutions. While it might seem that adding a crate to solve a problem is a simple thing, from the system programmer point
63.
▲
by
scoutt
4y ago
Also, who would update their compiler version every week or at every iteration? They will be stuck using a version from 10 years ago because it’s the one that was certified. Not even mention all the crates that need to be certified too.
64.
▲
by
scoutt
4y ago
I felt the same the first time I came to Europe (from South America). I thought I was in a Truman Show set. I eventually ended up living here.
65.
▲
by
scoutt
4y ago
> Those whose focus is on controlling language ... They're primarily interested in controlling you. I don't know who are "those", but I think they're primarily interested in controlling backlash and preventing co
66.
▲
by
scoutt
4y ago
"And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarte
67.
▲
by
scoutt
4y ago
But this might be the main difference. At least for me. I learn by imitating, like a child. I got my first guitar when I was a kid as a present (no internet, no money to study or to buy books). I learnt by imitating the music I liked. Later
68.
▲
by
scoutt
4y ago
An IP by itself is not PII. You have to be sure that you or anyone else in your chain can't link an IP to a specific person without explicit consent (and thus compliant with the rest of the regulation). You can have cloudflare giving
69.
▲
by
scoutt
4y ago
> When a man says, "I am really a woman," They feel they are a woman. You seem to be feeling something when discussing this topic. Please provide empirical evidence of whatever you are feeling right now.
70.
▲
by
scoutt
4y ago
> These people's "actual work" often ends up causing endless streams of security vulnerabilities and bugs too. On the other hand, we have people that apparently wouldn't make a program if they are not guaranteed (by a
71.
▲
by
scoutt
4y ago
> I think a lot of “modern” languages get this right by including these things from the start. The experience is so much better. I don't know how others did it, but I learned with MS Visual C++ in 1996. File -> New Project ->
72.
▲
by
scoutt
4y ago
Other than the chemical analysis, I like to think that Mate has another useful property. That is: Mate is a great chance to get together and share a moment with family and friends. Note that drinking Mate happens almost every morning and ev
73.
▲
by
scoutt
4y ago
I don't know where you live, but it would be great if you can find someone to help you preparing your first proper Mate. It takes some tries before you get the taste you want.
74.
▲
by
scoutt
4y ago
I've been drinking mate my whole life but Tereré, if you are not used to it, is known to ensure you a fast and mostly unexpected bowel evacuation.
75.
▲
by
scoutt
4y ago
The same applies to vaccines and medicine drugs. Should we stop giving them to people? "For a few people, they'll experience a failure, possibly a dangerous one.". Should we try our best to minimize the risks? Absolutely. But
76.
▲
by
scoutt
4y ago
I have another falsehood: most programmers believe that people working with C/C++ are constantly battling against UB all day long, five days a week, and that they are irresponsable and careless. That they should live in fear and terror
77.
▲
by
scoutt
4y ago
A guide like this is always welcome. My biggest struggle with FFmpeg was to find clear documentation, tutorials and examples about API usage. All the guides out there (including this one) is for the command line version, or if the tutorial
78.
▲
by
scoutt
4y ago
> Between safety on modern CPUs and supporting 40-years CPU I would choose the first. I don't know what you mean with "modern", but x86 was first introduced in 1978, 1985 for 32-bit, and 2003 for 64-bit, for example. There
79.
▲
by
scoutt
4y ago
> CPU and language designers Which CPU? There are a lot of CPU architectures and their variants, some older than 40 years, and C is supported on most of them. Each CPU has its use case. Also, safety is not always a top requirement. But I
80.
▲
by
scoutt
4y ago
I agree, but I have to say that not all the scenarios are the worst case scenario, and sometimes initialization is just "simple", like it was in my case and in other thousand cases I've worked in my life (I do embedded C most
81.
▲
by
scoutt
4y ago
I feel your pain as I started to learn Rust recently (again) and found the same problem, coming from C. In my case, after fighting for literally days, the crate OnceCell did the job (kind of), but I felt awkward retorting to an external cra
82.
▲
by
scoutt
4y ago
She is the sweetest person in the world, and always come back like after 5 seconds. It's a joke :)
83.
▲
by
scoutt
4y ago
Yes! Also, I forgot to mention "in my lab at home".
84.
▲
by
scoutt
4y ago
The main problem here is that the Arduino brand is currently paired with "maker". This was intentional, as they pushed so hard to reach this current status. Now the "maker" market seems to be declining. They have to go P
85.
▲
by
scoutt
4y ago
You still need to compare the length against a maximum, wherever it's stored.
86.
▲
by
scoutt
4y ago
> so what comes after rust? rust.iter().next();
87.
▲
by
scoutt
4y ago
We use these in production because the IO signals are buffered: https://www.artekit.eu/products/debug/ak-cmsis-dap/
88.
▲
by
scoutt
4y ago
OK, thanks. I know about niches/elision and I didn't though Option<Infallible> as an example of Option<&T> and, backtracking, I was confused by "It does say that Option<&T> is the same size as &T
89.
▲
by
scoutt
4y ago
Sorry if I misinterpreted. That's why I am asking (and you moved into personal). Is "Option<&T>" possibly overflowing the stack by at least one byte? You said "maybe?". And also you said: "the specifi
90.
▲
by
scoutt
4y ago
> Maybe? ... It does say that Option<&T> is the same size as &T.. but there are definitely edge cases If this is true then the spec should say "using Option<&T> in certain cases carries allocations of undefi
More ›