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…
>5. WWJBQD? This refers to Jean-Baptiste ‘JBQ’ Quéru, who responded: put users first. https://plus.google.com/+JeanBaptisteQueru/posts/jjwjobbMUY8
I was expecting a "Django SQL" Explorer, for example a Django ORM -> SQL compiler playground, but got a Django "SQL Explorer".
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…
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…
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…
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…
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 that…
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…
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...
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.
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…
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...
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…
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…
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…
The term to search for papers is "span-dependent instruction", which goes back to 1978.
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't implement…
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…
> 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…
House for the Feeble Minded.
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 left black line,…
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…
https://rust.godbolt.org/ has that and more disassembly options
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.
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…
>5. WWJBQD? This refers to Jean-Baptiste ‘JBQ’ Quéru, who responded: put users first. https://plus.google.com/+JeanBaptisteQueru/posts/jjwjobbMUY8
I was expecting a "Django SQL" Explorer, for example a Django ORM -> SQL compiler playground, but got a Django "SQL Explorer".
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…
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…
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…
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…
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 that…
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…
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...
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.
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…
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...
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…
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…
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…
The term to search for papers is "span-dependent instruction", which goes back to 1978.
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't implement…
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…
> 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…
House for the Feeble Minded.
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 left black line,…
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…
https://rust.godbolt.org/ has that and more disassembly options
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.