Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mischanix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
mischanix
13y ago
setTimeout(,0) is a special case. It means "make this function be ran after the current call stack clears". That requires neither a timer nor a spin loop.
92.
▲
by
mischanix
13y ago
Perhaps grab 5 bytes instead?
93.
▲
by
mischanix
13y ago
Or toss the whole thing in a fire.
94.
▲
by
mischanix
13y ago
Thanks for the explanation. I wasn't intuiting the difference between air and water.
95.
▲
by
mischanix
13y ago
That's because all the work here is being done through WebGL shaders. Your parent experienced a software fallback, I guess.
96.
▲
by
mischanix
13y ago
I'm curious, is that force (2atm:1atm) linear (= 1atm:0atm) or exponential (< 1atm:0atm)?
97.
▲
by
mischanix
13y ago
That's actually not it, but that idea helped me to find the issue. L52-56, this Freetype preprocessor magic defeats Intellisense https://code.google.com/p/freetype-gl/source/browse/trunk/te... I feel silly for never mousing over the three
98.
▲
by
mischanix
13y ago
I'm not using PCH in the most recent example. I've been playing with this project: http://code.google.com/p/freetype-gl/ , so it includes Freetype, GLUT (using freeglut), and opengl stuff. Builds fine, intellisense lines everywhere.
99.
▲
by
mischanix
13y ago
It happens regardless of precompiled headers, so I don't think that's the issue. I do think it's an include problem, but I don't know why.
100.
▲
by
mischanix
13y ago
I don't mind it. It's not like it's high-contrast, large font, or bold, it just serves as a heading for the menus they show without making the font large or bold. It's definitely nowhere near as annoying as intellisense randomly breaking a
101.
▲
by
mischanix
13y ago
Direct assignment is the only test in which the length of array doesn't change.
102.
▲
by
mischanix
13y ago
Atoms weigh more than electrons.
103.
▲
by
mischanix
13y ago
What I meant is that the user needed to load a flash payload and be logged in properly. The data harvesting happens client-side. The vulnerability itself is server-side, yes, but computers are faster at copying data than engineers are at
104.
▲
by
mischanix
13y ago
My bad, I didn't read further. I assumed this was server-side. After reading, 4.5k sounds right from Facebook, and while I'd imagine the other market price to be higher, I don't think it'd be above 3x, much less 10x, without something spe
105.
▲
by
mischanix
13y ago
The other market would pay orders of magnitude more for such an exploit.
106.
▲
by
mischanix
13y ago
It's only illegal if you're caught.
107.
▲
by
mischanix
13y ago
The point is that if you render the image in blocks of 16x16, there can only be 256 colors per block, so there can be as many colors in the image as there are pixels. This 217*217 image has some duplicate pixels in the lower and higher val
108.
▲
by
mischanix
13y ago
gzip makes it quite a bit less than 20%
109.
▲
by
mischanix
13y ago
The story behind [3]: http://blog.twitch.tv/2013/04/regarding-todays-assorted-inci...
110.
▲
by
mischanix
13y ago
If I had to find the repo, I'd use code search. It's pretty handy.
111.
▲
by
mischanix
14y ago
I recently came across a very naive-looking sample of a pooled GPU-miner being distributed via a purported crack for a certain EA game. It's ridiculously easy to implement GPU mining if you have any remote execution on a machine.
112.
▲
by
mischanix
14y ago
Actually, the flight path can vary depending on weather conditions between a lower-latitude route[1] and a more direct great-circle one[2]. 1. http://flightaware.com/live/flight/AFR83/history/20130401/22... 2. http://flightaware.com/live
113.
▲
by
mischanix
14y ago
Made a video: http://youtu.be/GEskR_iu8Kk
114.
▲
by
mischanix
14y ago
I think the method behind s2png is converting binary data to RGB(A) pixel data, so the result should be a perfectly valid (albeit weird-looking) image. As a bonus, you automatically gain Zlib compression of your data through this method.
115.
▲
by
mischanix
14y ago
Back when I was with AT&T, proxying my traffic (over SSH, even) killed all buffer issues I had with Youtube. It's either bad routing or deliberate traffic shaping, and given my experience with AT&T I'm leaning towards the latter.
116.
▲
by
mischanix
14y ago
On a related tangent, when I load this site I get 58 requests total for just this page. 42 of those are for CSS or JS assets. [1] That is a ridiculous number. Caching does not save requests, only bytes. [1] http://i.imgur.com/t4QSO3w.png
117.
▲
by
mischanix
14y ago
You should actually check it out; even the title marquees.
118.
▲
by
mischanix
14y ago
I believe America is indeed that far behind--a majority of businesses where I live process credit card transactions over phone networks and have no internet connection. That said, for Square, I don't think it would be too difficult to integ
119.
▲
by
mischanix
14y ago
I was referring to the fact that the contract was international, not to the nationalities of either party.
120.
▲
by
mischanix
14y ago
Ah, I'm not the one who did this; and as an American, I never would--easier to resolve it more traditionally. However, the client being American and the firm being European, I can see how this became the option of choice.
More ›