Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
suyjuris
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
suyjuris
6y ago
I have used AFL a few times casually in some personal projects, and it has always performed quite well for me. Of course, there are a lot of weird cornercases which would not occur on real-world (non-adversarial) inputs, but it also found s
62.
▲
by
suyjuris
6y ago
I never thought about that! That definitely is an interesting connection.
63.
▲
by
suyjuris
6y ago
Instead of remembering the weighted sequence, you can also compute it implicitly as you go (when reading the number from left to right). Example: 8 ^ 8 (mod 7) is 1, remember that 85 ^ 1 · 10 (mod 7) is 3, and 3 + 5 (mod
64.
▲
by
suyjuris
6y ago
The string command accepts a special syntax for indices, which includes addition (but not the full power of expr) [1]. Maybe you are referring to this? Also, list commands accept the same syntax for list indices. Example: % string ind
65.
▲
by
suyjuris
6y ago
I do the same thing, it works great!
66.
▲
by
suyjuris
6y ago
That is not the argument, though. Your copyright is protected regardless of the strength of your security measures. But it is also, separately, illegal to circumvent these measures. This latter prohibition becomes more far-reaching and has
67.
▲
by
suyjuris
6y ago
I wrote a tool to visualise algorithms for binary decision diagrams [1], also in an academic context, where the problem was basically the same: Does the code still run in ten years? In particular, the assumption is that I will not be around
68.
▲
by
suyjuris
6y ago
What do you think about the following trade-off? (a) make a software accessible to 99.9% of the population with base-level quality-of-life (b) only be accessible to 98% but increase quality-of-life by 5% for the rest (I am not trying to mak
69.
▲
by
suyjuris
6y ago
> Nuclear bombs can be used to one-shot endgame biter bases. Forget biters, nuclear bombs quickly remove large numbers of trees, which are the true enemy! On a more serious note, there have also been countless quality of life improveme
70.
▲
by
suyjuris
6y ago
Easy, just square it. Also, the Ackermann function is not a primitive recursive function.
71.
▲
by
suyjuris
6y ago
> However, you're not feeling the latency. You're noticing the presence of two distinct signals. Not necessarily; it could be an electronic instrument. I once tested a "e-piano -> midi -> PC -> headphones" ch
72.
▲
by
suyjuris
6y ago
> I say it works better, because it has the same asymptotic runtime [...] To be fair, while the asymptotic runtime may be the same, the C version is about 180 times faster.
73.
▲
by
suyjuris
6y ago
Yeah, that is another dark corner. I was not quite precise (I forgot this behaviour existed): $ expansion does allow for parentheses as well, so that arrays work. Meaning $($b) is the same as [set ($b)] which is element $b of the array in v
74.
▲
by
suyjuris
6y ago
Some of these things do not quite work this way, but they demonstrate some interesting peculiarities! The eval should be expr, as you are trying to evaluate a mathematical expression, not a command. Similar to the common footgun: set
75.
▲
by
suyjuris
6y ago
Reading this really reminded me of some of the fascinating/crazy things Tcl is capable of, all based on a simple programming model focused on strings. Like, want to pass a reference to a variable? Simply pass the name of the variable
76.
▲
by
suyjuris
6y ago
You probably know this already, but for the benefit of others: While it depends on the subfield, a lot of computer science and mathematics papers are freely available. 1. Searching for the title often gives you a PDF in the first few resu
77.
▲
by
suyjuris
6y ago
> Why do you think a system that doesn't make it difficult to completely destroy it with one command is a bad idea? This does not seem very charitable. It is fine if the system warns you about doing potentially dangerous operation
78.
▲
by
suyjuris
6y ago
I was looking into that a while ago, but sadly I did not find anything great. Back then I wanted to draw animated Binary Decision Diagrams, so I had to come with an incremental (and simple and fast) layout algorithm, which could determine p
79.
▲
by
suyjuris
6y ago
Just off the top of my head: Feedback (545, 199), Human Nature (329), Teaching (415), Creativity (77, 551), Complexity (455), Stand-Up Comedy (347, 543), Interviews (335).
80.
▲
by
suyjuris
6y ago
Drive to Work [1] is a great podcast. Most of it is, of course, about MtG, but there are a lot of episodes about various things like writing, creativity, or communication. Mark Rosewater is the head designer , which means that he is respon
81.
▲
by
suyjuris
6y ago
I have listened to a fair number of people explaining board game rules and I feel quite strongly that most of these explanations present too much information at once. Often someone reads the rules, and then basically tries to present them a
82.
▲
by
suyjuris
6y ago
> Here's how triggering UB ends up as a vulnerability To be fair, dereferencing NULL ended up as a vulnerability due to 1. the optimiser removing the subsequent NULL check, and 2. the zero page being mapped. While 1. may happen, dep
83.
▲
by
suyjuris
6y ago
Yeah, I certainly agree that the features cost you even if you do not use them.
84.
▲
by
suyjuris
6y ago
I would much rather recommend something like "C with bounds-checked arrays" than a form of "standard" C++ to newcomers. Yes, StackOverflow will not help much, but I think avoiding the huge amount of features that the res
85.
▲
by
suyjuris
6y ago
Nothing too fancy, I have been writing/rewriting some of my personal libraries. I finally gave in and wrote an OpenGL abstraction, because dealing with shaders manually was such a pain. Now I am working on a simple GPU font renderer, w
86.
▲
by
suyjuris
6y ago
I do not think that this make it better for the student. They still cheated, only instead of acquiring the actual answer they obtained the information whether their answer was correct. (Based on their knowledge of the situation.) So they ac
87.
▲
by
suyjuris
6y ago
> One thing I'd like to see in modern languages is to encourage and simplify working with an (almost) entirely static memory layout, and make manipulations inside this static memory layout safe. This sounds interesting! What do you
88.
▲
by
suyjuris
6y ago
I do agree with you that you should be able to freely exchange your privacy as you see fit. But the difficulty, as I see it, lies in determining whether the exchange is truly free or coerced by some means. The GDPR takes a strong stance on
89.
▲
by
suyjuris
6y ago
Privacy is a consider a basic right in the EU, so no, you cannot operate monetisation schemes that violate it. It would be like having a 'by entering our restaurant you are agreeing to our reduced-hygiene policy' sign at the door.
90.
▲
by
suyjuris
6y ago
The author seems to have given this topic some thought [0]. Personally, I did not experience any problems reading it on my ~50cm wide monitor. [0] https://twitter.com/danluu/status/1228041917272715264
More ›