Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
herf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
301.
▲
by
herf
12y ago
I wrote the Lanczos3 scaler that Picasa uses (about 14 years ago!), and it doesn't (by default) correct for gamma. For most images & kernels, you can get by with doing math in about 31 bits total precision (a bit for underflow clam
302.
▲
by
herf
12y ago
Install dimmers! And use warm-dimming bulbs like incandescent/halogen (or some newer LEDs). The combination of lower brightness and a light that actually dims to 2000K will measurably wipe out the stimulus. Most other kinds of lighting
303.
▲
by
herf
12y ago
Gunnars do a great job at blocking UV and some kinds of glare, but they mostly don't block the light around 480nm, so they can't block all alerting light. You want glasses that look orange (not pale yellow), like the $7 Uvex ones.
304.
▲
by
herf
12y ago
The cheapest option is to wear orange glasses like the $7 Uvex S1933X. Room light is a big stimulus (especially if you don't have dimmers), and they're a lot easier to use than screen films. We measured the spectral response here:
305.
▲
by
herf
12y ago
I made f.lux, and this is something I study a lot. This study was done on rodents, and the problem with the reporting of it is that rats are >100x more sensitive to this kind of light than humans are. For white light, below about 5-10 lu
306.
▲
by
herf
12y ago
An amazing thing about this case is Google Book Search. 20 years ago the research in this case would have taken a team months & months to do. Today, anyone at all can do it in 60 seconds: https://www.google.com/search?q=
307.
▲
by
herf
12y ago
Interactions with XCode have been frustrating. Can't install XCode 5.1.1, and the XCode 6 beta has been a little crashy but usable.
308.
▲
by
herf
12y ago
Related: the replacement cycle for devices like refrigerators, washer/dryers is not the 2 year cycle that we're used to for smartphone platforms. (e.g., even if your Android 2.2 phone can't be updated, you have probably repla
309.
▲
by
herf
12y ago
Two reasons: 1. Because devices are doing new things and often by companies without strong software cultures that build in update mechanisms and look after old devices, so they are not updated as well as major platforms. 2. For some devices
310.
▲
by
herf
12y ago
There is an additional need to make an automatic DMZ for "internet of things" devices (isolated like they're in a guest network, or even firewalled entirely), while still cleverly routing in packets from mobile devices.
311.
▲
by
herf
12y ago
Eye tracking that works will be useful for yet-unimagined augmented reality apps. Or at least Mission Impossible: https://www.youtube.com/watch?v=ydIPKkjBlMw
312.
▲
by
herf
12y ago
You can remove each disk and replace with a bigger one (wait for rebuild each time), and if you set autoexpand, the pool will resize afterwards.
313.
▲
by
herf
12y ago
It used to be pretty easy to install a self-signed certificate from the browser. Now it seems quite a bit harder--e.g., in Chrome you seem to have to export it to a file, I think? And in IE people say they can't even inspect a bad ce
314.
▲
Vixle: A game engine that teaches kids to code
(kickstarter.com)
19 points
by
herf
12y ago
|
4 comments
315.
▲
by
herf
12y ago
Yes don't call GetFileAttributes (which your POSIX layer does to emulate grep) - especially over a network (samba) connection. But the original point is OPEN is expensive, which it really is, especially over a network connection.
316.
▲
by
herf
12y ago
lz4 typically compresses logs 6:1 (note: the "high compression" mode allows fast searching.)
317.
▲
by
herf
13y ago
Guard pages address lots of issues with really small overhead, nice. But if you know where to look they're not foolproof. Wondering what the cost of putting each primitive (e.g., RSA private signing + key) in a separate (child) process
318.
▲
by
herf
13y ago
These schemes mostly just convert electricity to cryptocurrency. The electricity is almost always more expensive than the value, but the app authors aren't paying the bill. If you're plugging in your 5W charger for less than half
319.
▲
by
herf
13y ago
But - costs from disease are not the only cost of being unhealthy! For instance, healthy sleep makes people perform better at problem solving tasks and avoid depression. These effects are realized extremely quickly. Exercise has similar ben
320.
▲
by
herf
13y ago
The PC industry would sell a ton more computers if Microsoft solved the upgrade problem. Why do you keep a computer for 5 years? Only because it hurts too much to upgrade, and no way is this solely about the cost. XP was able to upgrade to
321.
▲
by
herf
13y ago
Thanks, good to know it's not just me. The stack trace says "Carbon" a lot, hmm.
322.
▲
by
herf
13y ago
Our "classic f.lux" mode turns off all the wake time scheduling, so you can just use sunrise/sunset. But if you can pick a time, our super-warm colors are available and will help a bit with scheduling. Back before I had a tod
323.
▲
by
herf
13y ago
We tracked it down to the system telling us a display was both added and removed in a single callback. (Reported to Apple.) This new version mostly avoids this bug, but there are still cases where it will appear briefly. We now fix it withi
324.
▲
by
herf
13y ago
I've been tracking this but haven't found a fix yet. There is sometimes a beachball if you interact with the menu item immediately after launch. I'll keep looking.
325.
▲
by
herf
13y ago
One answer is: because we could! Previously the setting you'd want right before bed looked totally silly at sunset. But the more interesting answer is: we made a model after measuring dozens of panels with a spectrometer. The science i
326.
▲
by
herf
13y ago
Mavericks (or the drivers it ships with) is locking the window server for 50-100ms every time we touch the color table (10.8 was awesome and didn't do this). We've reduced our frame rate to compensate (it's better in this ver
327.
▲
by
herf
13y ago
You may want our "sunset" setting at a higher color temp (maybe I should add a preset called "f.lux lite" for this...) The "working late" preset is another good one to try.
328.
▲
by
herf
13y ago
It does.
329.
▲
by
herf
13y ago
I just fixed this and pushed it up. Download again...
330.
▲
by
herf
13y ago
This is an important problem to fix, because the eyes adjust to the dark screen (your pupil opens up), and in fact switching quickly to a bright screen is extremely alerting.
More ›