Viewing profile — genrilz
genrilz
HN member- Joined
- Thu, Oct 07, 2021, 11:47 AM UTC
- HN karma
- 159
- Public activity
- 98 items
- HN profile
- View on Hacker News ↗
About genrilz
No profile information was provided.
Recent public activity
-
comment
Comment #45242071
There is plenty of research on social media outcomes. I've looked through some of it before by just searching semanticscholar.org, and the general consensus is that it has both pos…
-
comment
Comment #44927240
One non-obvious strategy is that the number of mines that are left on the field is known. Especially near the end, this can break a tie between two patterns of mines.
-
comment
Comment #44492327
> IRC the plan isn't to use Polonius instead of NLL, but rather use NLL and kick off Polonius for certain failure cases. Indeed. Based on the last comment on the tracking issue [0]…
-
comment
Comment #44489984
There isn't a formal definition of how the borrow checking algorithm works, but if anyone is interested, [0] is a fairly detailed if not mathematically rigorous description of how …
-
comment
Comment #43920644
Actually, the x86 'ADD' instruction automagically sets the 'OF' and 'CF' flags for you for signed and unsigned overflow respectively [0]. So all you need to do to panic would be to…
-
comment
Comment #43917535
The reason '+ 1' is fine in the example you gave is that length is always less than or equal to capacity. If you follow 'grow_one' which was earlier in the function to grow the cap…
-
comment
Comment #43916003
The point I'm sure was to prevent the checks from incurring runtime overhead in production. Even in release mode, the overflow will only wrap rather than trigger undefined behavior…
-
comment
Comment #43909733
If you obscure the implementation a bit, you can change GP's example to a runtime overflow [0]. Note that by default the checks will only occur when using the unoptimized developme…
-
comment
Comment #43905023
I think it is important to note that in 59nadir's example, the reason Rust gives an error and Odin doesn't is not memory safety. Rust uses move semantics by default in a loop while…
-
comment
Comment #43904164
I think 0xdeafbeef is roughly recreating the first code snippet from the article (which is one of the things diath is complaining about) in C++ to show that the compiler should pro…
-
comment
Comment #43878291
We get into a bit of a weird space though when they know your opinions about them. I'm sure there are quite a few people who can only build a billion dollar startup if someone emot…
-
comment
Comment #43606286
EDIT: A summary of this is that it is impossible to write a sound std::Vec implementation if NonZero::new_unchecked is a safe function. This is specifically because creating a valu…
-
comment
Comment #43584181
I realize I'm butting in on an old debate, but thinking about this caused me to come to conclusions which were interesting enough that I had to write them down somewhere. I'd argue…
-
comment
Comment #42245895
Because they boxed themselves in with legalese. Companies would definitely switch off Microsoft services if at all possible if the company's lawyers thought their trade secrets wer…
-
comment
Comment #42245579
IANAL again, but I don't think they get to do literally anything with your data. The phrase used is "to the extent necessary". For instance, I don't think they could scrape their u…
-
comment
Comment #42245532
IANAL, but I think the "to improve Microsoft products and services" bit does mean that they do legally get to train their AI (which is a Microsoft service) on your data. Still a ba…
-
comment
Comment #42236726
Problem with memory corruption as a bug is that unlike most classes of bug, memory corruption allows remote code execution. (see return oriented programming for the basic version, …
-
comment
Comment #42236575
One, iterator invalidation can be a temporal safety problem. Specifically, if you have an iterator into a vector and you insert into the same vector, the vector might reallocate, r…
-
comment
Comment #42139811
I'm kind of worried about society deciding which speech is "intolerant", so I'm not completely on board with the idea of treating tolerance as a social contract. That being said, i…
-
comment
Comment #42139579
I think it's actually closer to "terrorists should go to prison". Terrorists and other criminals have broken a social contract, and a level of punishment that some approximation of…
-
comment
Comment #42046689
You might be right, but my first instinct is that this probably wouldn't happen enough to throw off the water marking to badly. The most likely used word is based off the previous …
-
comment
Comment #42042880
There are situations where the model output being watermarked doesn't matter. For instance, I hear people on HN asking LLMs to explain things to them all the time, (which I think i…
-
comment
Comment #42042610
Or easier: Use Llama or some other open weights model with a non-watermarking sampler.
-
comment
Comment #42042593
It's possible that this might break the method, but what seems most likely to me is that the LLM will simply reword every 5th word with some other word that it is more likely to us…
-
comment
Comment #42041677
My understanding from the "Watermark Detection" section is that it only requires the key and the output text in order to do the detection. In particular, it seems like the random s…