Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
herf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
271.
▲
by
herf
9y ago
I'm a daily user since 2012, and I'm glad they made me pay for the upgrade. Best editor ever. Sublime makes cross-platform development easy, and it's so much faster than the alternatives.
272.
▲
by
herf
9y ago
The new eyestrain preset is 5900K, so good call.
273.
▲
by
herf
9y ago
Nobody has mentioned PCMPISTRI (and the other SSE4.2 string extensions), but they deserve a benchmark here. Some of them appear in my regular glibc now, and they're hard to beat. I found this Intel article for XML (but not JSON): http
274.
▲
Physiognomy’s New Clothes (on the Limits of AI)
(medium.com)
57 points
by
herf
9y ago
|
26 comments
275.
▲
by
herf
10y ago
Most people say lz4+ZFS is a net win and you should usually enable it by default. The big "gap" is probably between lz4 and gzip. e.g., for compressing logs, where gzip compresses a lot more but is terribly slow. I hope zstd cou
276.
▲
by
herf
11y ago
Any way to tell if a particular window (say at a hotel) is using this film?
277.
▲
by
herf
11y ago
PNG is not cheap on the compression side, due to the lossless coder. It's a little better to decompress: Some benchmarks on iPhone 6 are here: https://browser.primatelabs.com/geekbench3/4423501 e.g., JPEG is 15x f
278.
▲
by
herf
11y ago
Author of f.lux here: After reversing the new APIs in iOS9, it’s really really clear that Apple has added lots of great features to iOS (and the new devices) to adjust screen colors. The new models even have RGB color sensing, so they are a
279.
▲
by
herf
11y ago
Author of f.lux here -- This build of f.lux prefers to use notifications (you can turn off the Notification Center ones). The screen settings we're changing only work when the screen is on but we have to be "ready" when you
280.
▲
by
herf
11y ago
Redis can do a lot more than 12k operations/sec. Bottleneck is not the backend here at all.
281.
▲
by
herf
11y ago
tor exit node scanning my site 6:20pm PDT.
282.
▲
by
herf
11y ago
Sampling profiler would be an improvement. You want to know what CPUs spend time doing, not what is in unused code.
283.
▲
by
herf
11y ago
Am at the SLEEP conference in Seattle. Two exhibitors in this space: http://www.clevelandclinicwellness.com/Programs/Pages/Sleep.... http://sleepio.com
284.
▲
by
herf
11y ago
I tried the new Force touch at retail. Single click is perfect, and double click...had a ton of latency. Anyone else think so?
285.
▲
by
herf
12y ago
Chang's eBooks study was done in 2010, after f.lux shipped but before we figured out who to talk to about it. If you want to see fluence-response curves for single-wavelength lights, this is a really neat reference: http://w
286.
▲
by
herf
12y ago
Author of f.lux here: you may want to do some more reading. Most of the range of "alerting" light for humans is between 11-14 log photons/sec/cm^2, so one photon is sort of an enormously huge understatement. For sleepi
287.
▲
by
herf
12y ago
Does anyone index the web by {secure hash}? What a good index that would be.
288.
▲
by
herf
12y ago
Lenovo was discounting 30-40% around Black Friday. For weeks! The simple truth is that crapware pays for cheap PCs, and the economics don't work otherwise.
289.
▲
by
herf
12y ago
In some cases you can benefit by "struct of arrays" instead of "array of structs". This benefits packing, enables SIMD, and usually improves persistence speed too. Database people call this a "column store". So
290.
▲
by
herf
12y ago
You can virtualize a PC (or replicate the filesystem like Dropbox), but it is harder to virtualize a distributed system like Facebook's or Google's. And most mobile platforms are DoA without their vendor signing and cloud services
291.
▲
by
herf
12y ago
Water heaters use a lot of household energy--automating them is a great idea. One smartthings customer did it here: http://community.smartthings.com/t/water-heater-automation/1...
292.
▲
by
herf
12y ago
I can type a lot better on the iPhone 6, like really a lot better. But apps that don't support "swipe to go back" are really pretty annoying now (Twitter for instance). Scrolling to top and back are just way harder. Also, I s
293.
▲
by
herf
12y ago
Using rsync and 20M files is a good enough example: - to check the date of each file on UNIX you must run "stat" once per file (unless you have an external log that says what to skip) so that's very slow. - to backup a big fi
294.
▲
by
herf
12y ago
Yeah, this doesn't preclude breaking things into chunks (typically limited by however many files a non-root user can open). I just dislike unnecessary "open" calls because it can get kind of crazy. For instance, if you happen
295.
▲
by
herf
12y ago
You could compare with an append-only-file (with offline compaction), in which case saving tons of "file open" operations would actually be a big win, especially if you ever use a network file system. In some cases, a "simple
296.
▲
by
herf
12y ago
The "benchmarks game" has a thread ring benchmark which can compare conditions/mutexes/semaphores, because for some applications they're interchangeable: 4-thread x64: mutex (480s): http://benchmarksgame.
297.
▲
by
herf
12y ago
Sounds like there should be a single metric based on these stats (~= multiplier for failure risk?)
298.
▲
by
herf
12y ago
DOE says 14% of homes have dimmers in the US, and the dimmer was invented more than 50 years ago.
299.
▲
by
herf
12y ago
Or, Siri for this: "5 minute timer" works great.
300.
▲
by
herf
12y ago
Nice analysis! There is a similar problem in base-255 pixel math, with a similar solution. You want 255 * 255 = 255 when you multiply pixels, so you are doing divide-by-255 (not-256), which in 8 bits is somewhat "uncooperative". I
More ›