Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rer0tsaz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
rer0tsaz
10y ago
Making sure the Direction flag is clear on entry and return is a somewhat hidden requirement of stdcall (Windows calling convention), but it didn't crash if you set it in WindowProc and forgot to clear it until Windows XP. More recentl
2.
▲
by
rer0tsaz
10y ago
>5. WWJBQD? This refers to Jean-Baptiste ‘JBQ’ Quéru, who responded: put users first. https://plus.google.com/+JeanBaptisteQueru/posts/jjwjobbMUY8
3.
▲
by
rer0tsaz
10y ago
I was expecting a "Django SQL" Explorer, for example a Django ORM -> SQL compiler playground, but got a Django "SQL Explorer".
4.
▲
by
rer0tsaz
10y ago
No, but let me quote Jaynes (Probability Theory: the Logic of Science, 10.10): > ‘When I toss a coin, the probability for heads is one-half.’ [...] the issue is between the following two interpretations: > (A) ‘The available informat
5.
▲
by
rer0tsaz
10y ago
No, no, the cool thing to do now is to defend it. You claim that critics just don't understand its purpose, even if they mention it multiple times and are only criticising misuse. Then you use it ironically in your professional present
6.
▲
by
rer0tsaz
11y ago
He actually discusses it a bit in the previous paragraph, which does not seem to be online anywhere: > When programming languages emerged, the "dynamic" nature of the assignment statement did not seem to fit too well into the &
7.
▲
by
rer0tsaz
11y ago
Just use n = max(a, b). Of course that doesn't help you much unless you're adhering to strict safety standards (e.g. power of ten rules), it just shifts the burden of proof from termination to correctness. And there's no such
8.
▲
by
rer0tsaz
11y ago
Yes, that is the point I tried to make. Use simple, constrained forms such as (C) "for(int i = 0; i < n; i++) { ... }" with n an int and no modification of i in the body, or (Python) "for e in l:" where l is a list th
9.
▲
by
rer0tsaz
11y ago
Iterative loops are much easier to analyze and reason about, by humans and by computers. For example, they always terminate. To paraphrase Dijkstra, "I regard general recursion as an order of magnitude more complicated than just repeti
10.
▲
by
rer0tsaz
11y ago
A similar project is ProtobufDumper from SteamRE[1]. It's tailored to Valve games and Steam. [1] https://github.com/SteamRE/SteamKit/tree/master/Resources/Pr...
11.
▲
by
rer0tsaz
11y ago
They helped a local 30-year-old coffeehouse by buying them and their neighbor at above market rate. Backed by illegal secret tax deals, as it turned out.
12.
▲
by
rer0tsaz
11y ago
To summarize and paraphrase the paper: > Every upvote should increase the score, every downvote should decrease the score and the more votes there are the less an additional vote should matter. Only "adding pretend votes" satis
13.
▲
by
rer0tsaz
11y ago
There was a good talk about deployments at DjangoCon US 2015. Django Deployments Done Right by Peter Baumgartner: https://www.youtube.com/watch?v=SUczHTa7WmQ&list=PLE7tQUdRKc...
14.
▲
by
rer0tsaz
11y ago
I agree that the staircasing effect is definitely the biggest drawback of Total Variation. In the "Smoothed" picture the noise is removed but the results are blocky. The first way to deal with it is to take into account higher pow
15.
▲
by
rer0tsaz
11y ago
Let me share my experience with chroma upsampling and smooth jpeg decoding. At first, I optimized each channel, then upsampled the chroma channels using replication. This works terribly as you can see in the article. So then I changed to li
16.
▲
by
rer0tsaz
11y ago
If you start with the most general form you won't always get an optimal solution, because two jumps may be blocking each other from optimizing. TASM does it that way. Consider (16-bit NASM): a: times 124 nop jmp b jmp a tim
17.
▲
by
rer0tsaz
11y ago
The term to search for papers is "span-dependent instruction", which goes back to 1978.
18.
▲
by
rer0tsaz
11y ago
Another thing that can produce out-of-gamut colors in JPEG is chroma subsampling. http://www.glennchan.info/articles/technical/chroma/chroma1.... has a good overview. Clipping is required by JFIF, so you can&
19.
▲
by
rer0tsaz
11y ago
If you want gory details, try G'MIC[1]. It has plugins for GIMP and Krita, an online version[2], a ridiculous number of filters[3] and features, and a command language. On the other hand, it makes things like imagemagick look simple an
20.
▲
by
rer0tsaz
11y ago
> Programmers respond by attempting to stamp out the gets() function in working code, but they refuse to remove it from the C programming language's standard input/output library, where it remains to this day. gets was deprecat
21.
▲
by
rer0tsaz
11y ago
House for the Feeble Minded.
22.
▲
by
rer0tsaz
11y ago
I was working in YCbCr and I found it noticable. Compare the bottom-right tile in https://github.com/victorvde/jpeg2png/commit/64bf10789092ccf... with swipe. It's worst with green around the top of the l
23.
▲
by
rer0tsaz
11y ago
In my experience[1] code is available maybe half of the time, if you really search for it: checking the academic and personal pages of every author, and scouring the code of every framework mentioned. You're lucky when the code is i
24.
▲
by
rer0tsaz
11y ago
https://rust.godbolt.org/ has that and more disassembly options
25.
▲
by
rer0tsaz
11y ago
It's probably insecure, because you don't want to do 75,850,000 sequential evaluations over a network. It would take over a week for a single track with even just 10ms response time.
26.
▲
by
rer0tsaz
11y ago
The domain is the unit cube [0, 1]^d using double precision floating point, see the documentation. Making assumptions and testing them is very much part of the contest. You are even allowed to do this interactively.
27.
▲
by
rer0tsaz
15y ago
Why you shouldn't use the Lesser GPL for your next library https://www.gnu.org/licenses/why-not-lgpl.html