Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
scoutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
scoutt
5y ago
May be, but... https://en.wikipedia.org/wiki/C17_(C_standard_revision) "C17 addressed defects in C11 without introducing new language features" means a lot. https://en.wikipedia.org/wiki/
212.
▲
by
scoutt
5y ago
> > There Are No C Conferences. Maybe that’s why the C++ committee is now over 10 times the size of the C committee. I have this controversial thought: C people understood one thing before everyone else (including the creators of C++,
213.
▲
by
scoutt
5y ago
Thank you. I see. I'm looking now at how to load DOOM WAD files in Rust ( https://github.com/bjt0/rs_wad/blob/master/src/wad.rs#L105 ) as an example, and I see it uses your method (even if it see
214.
▲
by
scoutt
5y ago
> in Rust you need to implement (de)serializing logic Hmm. Well that sucks. It might be slower than reading into a struct directly (does more IO calls, there is more code to execute, probably uses more memory). My focus is on embedded ap
215.
▲
by
scoutt
5y ago
> The language tries to prevent you from interacting with a `Role` object that's not fully initialized. I remember that after reading the Rust book, one of the first things I tried to do was to load a struct from a file. Like pseudo
216.
▲
by
scoutt
5y ago
I really wanted to believe in this but the "evidence" is pretty poor: https://github.com/jonathandata1/2022_beijing I read a lot of security reports and you don't include a screenshot of random Wireshark
217.
▲
by
scoutt
5y ago
> you can say “this set of math operations shouldn’t overflow” This is the same as putting an " if " statement to check for sizes (before or after the operation); the thing that other languages automatically do for you at runti
218.
▲
by
scoutt
5y ago
As I said, I don't know much about NFTs and I was just commenting out of curiosity. I have no stakes in NFTs. But if the problem is legal (and not technological) then it may be just a matter of time, given enough adoption. Much like Bi
219.
▲
by
scoutt
5y ago
I don't know much about NFTs, but I understand it as a sort of "certificate" (?). Like buying the rights of an old album; an album for which the original is lost. I might receive some piece of paper that says the songs are no
220.
▲
by
scoutt
5y ago
I kind of agree with you, but just because it creates a precedent. If Blizzard allows a political statement, then now they have to allow other political statements too. As a result, they will have to "regulate" which political sta
221.
▲
by
scoutt
5y ago
> I wonder if this could be solved by picking a widely available but fairly stable platform for it. For buses and basic IO it might be a solution. For a broader picture, it may be not. For example: your favorite USB device that requires
222.
▲
by
scoutt
5y ago
Well... a "Microsoft Visual Rust" (integrated with Visual Studio) could be all the motivation I'm looking for to finally learn, mmmm, not learn but to finally put Rust at serious use. With everything integrated like, you know
223.
▲
by
scoutt
5y ago
Thanks. It seems you made it mad; stuck in a infinite whim-loop .
224.
▲
by
scoutt
5y ago
> One truism of computer effects is that it’s easier to hide their seams if you are placing them in a dark or rainy environment. I don't own the best TVs in the world, but for the last 5 years (maybe), I have to turn all the lights
225.
▲
by
scoutt
5y ago
I don't have Copilot to try, but I would ask for some secret API key/hash just to see what it answers.
226.
▲
by
scoutt
5y ago
> repeated reading of the material I taught myself almost everything I know, and repeated reading is the method I usually use. I don't memorize, but instead I attack any material to learn by "reading sweeps" (this only app
227.
▲
by
scoutt
5y ago
Qt allows the use of (sort-of) CSS for customizing controls. https://doc.qt.io/qt-5/stylesheet.html
228.
▲
by
scoutt
5y ago
> But it is public! It's private. It's more like a nightclub, bar, or whatever. You have rules to enter and stay. Thousands go there (you may say it's "public"?) but it's private. Are you wearing the wrong s
229.
▲
by
scoutt
5y ago
> Am I the only one who launches YouTube just to watch a single tutorial and ends up devouring dozens of fine-tuned recommendations? I'm hitting 40 next week, and seeing others asking for recommendations of videos on "programmi
230.
▲
by
scoutt
5y ago
I’m not implying it’s not clean. It seems very clean to me. I said that it may grow in complexity. Thank you both for the answers.
231.
▲
by
scoutt
5y ago
Thank you. Blocking IPC is a very interesting approach but you have to carefully plan ahead, even before writing the first lines of code. I think the above article missed the "notifications" part. Without notifications, a blocking
232.
▲
by
scoutt
5y ago
I missed the launch and I didn't read the code. I've worked with RTOSes in the past and I feel the pain, but memory corruption and the like are not my primary concerns while writing code. From the top of my head I might ask: Inter
233.
▲
by
scoutt
5y ago
It's not a tag but a keyword search. I don't know projects entirely written in Rust (other than single crates) to look for (by name). So probably there are more Rust-based vulnerabilities around than the ones from the Mitre query
234.
▲
by
scoutt
5y ago
> "I don't understand modern Java" Exactly! > "and prefer to keep writing buffer overflows than finding out" Not exactly. I would rather take the risk of writing buffer overflows than using over-bloated infr
235.
▲
by
scoutt
5y ago
Sincerely, as a C/C++ programmer, if I have to start a new project and you propose to link a Java library, it'd give me the creeps. Let's say I agree: does my project now requires to install a Java VM together with my project
236.
▲
by
scoutt
5y ago
> The list is not for Rust itself, but every program ever written in Rust. This is, I think, obvious unless you are talking about C/C++ compiler bugs (which I am not). But if you think it that way, the same happens with C/C++!
237.
▲
by
scoutt
5y ago
Please.... https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=rust I read "double free", "denial of service", "out-of bounds read", "NULL pointer dereference", etc... And that'
238.
▲
by
scoutt
5y ago
The virus is quite new, and a statement like "this information is not collected" from just one health organization in the world (CDC), people like the one from your link, which is clearly biased, exaggerates the topic for his fr
239.
▲
by
scoutt
5y ago
Being immune doesn't mean that the virus doesn't "attach" to you, or that you somehow repel the virus. You still get the virus and you can transmit it too. You won't get Covid-19 (the pulmonary decease) but you stil
240.
▲
by
scoutt
5y ago
I suppose we are intelligent enough to understand that our actions may provoke pain, and that we are also intelligent enough to know that someone/something might feel pain even if it's not evident. You don't have to burst in
More ›