HNHacker News
TopNewBestAskShowJobs

jcl

5,205 karma · joined February 8, 2008

submissionscomments
jcl··on What was it like to self-learn programming before Stack Overflow? (2016)
I've noticed Google is pretty good about finding exact matches when you put the search terms in quotes.
jcl··on Enhancement of human color vision by breaking the binocular redundancy
Curiously, it seems hexachromacy is already within the realm of biological possibility for human females.

https://en.wikipedia.org/wiki/Pentachromacy#Animals_that_are...

jcl··on Iosevka – A Typeface for Code, from Code
I'm surprised there are no comments here about the code! It looks like the characters of the font are specified programmatically on top of a self-contained glyph-drawing library, all written in a custom Lisp dialect ("patel") running on top of node, written by the same author as the font. Really impressive!

https://github.com/be5invis/Iosevka/tree/master/glyphs

https://github.com/be5invis/Iosevka/tree/master/support

https://github.com/be5invis/patel

jcl··on Digital picture converted to string art patterns
I expect it was due getting early traction with indie filmmakers, particularly through its early support for high-definition videos.

https://en.wikipedia.org/wiki/Vimeo

jcl··on The Unix-Haters Handbook (1994) [pdf]
CSS to the rescue! :) https://jsfiddle.net/54bpngL3/
jcl··on Lyft Is Said to Seek New Funding as Its Rival Uber Stumbles
I personally was convinced Lyft was more moral when Uber employees did things like booking Lyft rides for the purposes of recruiting away the drivers or making fake Lyft accounts to book and cancel thousands of rides. As far as I can tell, Lyft employed no similar tactics.

http://money.cnn.com/2014/08/11/technology/uber-fake-ride-re...

http://www.businessinsider.com/ubers-operation-slog-against-...

jcl··on Vim's 25th anniversary and the release of Vim 8
These can be convenient if you are only entering text manually. But remapping regular -- albeit rare -- text sequences can have unexpected results when pasting copied content into insert mode in a terminal window. I've been bitten by this a couple times when pasting base64-encoded data.
jcl··on RethinkDB joins the Linux Foundation: What Happens Next
Blender would seem to be another example:

https://en.wikipedia.org/wiki/Blender_(software)#History

jcl··on A DIY M&Ms and Skittles sorting machine
My understanding is that they don't bring the service to exactly the SLO... To prevent overreliance on a service, it can be sufficient to introduce some level of failure, which may still be well above the SLO.

http://danluu.com/google-sre-book/#chapter-4-service-level-o...

jcl··on Don't Mess with Texas – TI-99/4A Megademo [video]
Lovely summary, thanks! I kind of wish the video description linked either to that page or directly to the creator's linked Pouet comment, as they do a pretty good job explaining why the demo is significant.

http://www.pouet.net/prod.php?which=68783#c782205

jcl··on 'Shimmers' are the newest tool for stealing credit card info
https://en.wikipedia.org/wiki/Shim_(spacer)
jcl··on Naughty Strings: A list of strings likely to cause issues as user-input data
Yow... Reminds me of the bug on the first Android phone where all keyboard input was also quietly fed to a root prompt, such that you could reboot the phone by typing "<enter>reboot<enter>" at any time. (https://mobile.slashdot.org/story/08/11/08/1720246/bug-in-an...)
jcl··on Ultrasound Tracking Could Be Used to Deanonymize Tor Users
FWIW, there was a BBC article about always-on audio detector apps. Describing an Android proof-of-concept app: "The battery drain during our experiments was minimal and, using wi-fi, there was no data plan spike."

http://www.bbc.com/news/technology-35639549

jcl··on Uber’s self-driving cars start picking up passengers in San Francisco
On the other hand, humans also have the common sense not to (e.g.) follow the tracks of a car that has spun off the road.

I'd expect logic at that level might be more difficult to train for than the relatively low-level visual task of identifying and following tracks. But I guess existing self-driving systems already need to work at that level to predict the actions of other cars and pedestrians, so presumably the current data-driven training techniques would also handle it OK? (Assuming a lack of pranksters with shovels...)

jcl··on Saving the Internet 2000TB a Day: Fixing Font Awesome’s Fonts
When reducing SVGs for data urls, I've found you can reduce size even further by scaling the image up, then rounding coordinates to integers. I've written a few scripts to assist with this, but I imagine you could get a similar effect in Inkscape by snapping everything to an integer grid.

Also, merging path elements together helps.

For example, here's the logo in 1952 bytes: http://pastebin.com/YYBpWsDE

And I'm sure there's further room for manual reduction, maybe by switching between strokes/fills and further cleaning up the paths.

(It would be cool if someone were to work on an automated system for doing this kind of simplification. But I have a feeling that it's difficult find a general technique that will work across SVG hierarchies, like scaled/rotated groups, etc.)

jcl··on U.S. life expectancy declines for the first time since 1993
I believe this is the actual report: http://www.cdc.gov/nchs/data/databriefs/db267.pdf

I noticed that the "top ten cause" chart doesn't have an "other" column, but it looks like that can be computed from the total rates for top ten causes and the total for all causes. If my math is correct, we went from 191.3 (2014) to 191.1 (2015). So I guess the good news is the death rate from unpopular or unexplained causes went down a little. :|

jcl··on The Fallacy of Chesterton’s Fence (2014)
"Put very simply: don’t destroy what you don’t understand."

The Chesterton's Fence story has always bothered me. The moral puts all blame on the person challenging the fence for not coming to the same conclusions as the builder.

For the person building the fence, it's easy to assume that the purpose of your work is self-evident, but the truth is that it is hard for anyone else to put together the facts as you saw them, and it's harder still to reason the same way you did. So just thinking really hard about the reasons for the fence's existence will not necessarily lead to a correct -- or even desirable -- result. The story's moral may as well have been: "What I did is more important than what you want to do." Or: "Fear change."

I'd rather see a dual lesson drawn from the same story: "If what you are doing is important, it's just as important to make it clear why it is important."

This particularly applies in the context of software development, when a little effort to make the rationale of some code more clear can pay off over the dozens to hundreds of times the code must be read and rejustified.

jcl··on How I stopped the RSI pain that almost destroyed my programming career
The author's experience is consistent with my own... Most incidents of wrist/hand discomfort that I've experienced have started in cold or drafty environments. In these cases, I've found fingerless gloves have helped, as have breaks for walks and warm water rinses.

I'm certain that inadequate blood flow is a major contributor to RSI, and that's probably one reason that exercise seems to help so much. Unfortunately, I think, environmental temperature is often overlooked as a source, maybe because it can affect individuals in so many different ways (e.g. https://en.wikipedia.org/wiki/Hunting_reaction).

jcl··on A love letter to s7 Scheme
FWIW, Crack Dot Com's "Abuse", a 1996 platformer, used a Lisp for scripting level logic and AI:

https://github.com/antrad/Abuse_1996/tree/master/data/lisp

jcl··on GNU Health
Looks like it's distributed under Apache 2.0, which means it's open source.

Whether they take contributions or not is not really relevant to open-sourceness -- under an appropriate license anyone can use the source to run their own project with whatever contribution policy they like -- but it looks like the main distributor is indeed open to contributions:

https://www.osehra.org/content/code-contribution

jcl··on [dead]
The Scientific American article linked in the article actually uses "HPM" throughout, but it also mentions a "high-powered microwave pulse", which I imagine is what "HMP" actually refers to, analogous to EMP.
jcl··on Don’t go to art school (2013)
Likewise, if you're just interested in learning the material, check out alternatives at the big expensive art schools themselves. For example, RISD offers 2-year certificate programs for about $10k. They're composed of community education classes, but they're taught by RISD instructors in RISD classrooms, and as far as I can tell are equivalent to the corresponding courses taught during the day. The catch, of course, is that you don't have access to the full range of courses, and that you don't get to say "BFA" or "MFA" on your resume at the end -- although you can still say "RISD". :)

http://ce.risd.edu/pages/certificate-programs-for-adults

jcl··on DDoS Attack Against Dyn Managed DNS
If it helps any, this link seems to work for me to reach the github status page (requires https certificate override, of course):

https://107.22.212.99/

jcl··on Massive Dyn DNS outage
This link seems to work for me to reach the github status page (requires https certificate override, of course):

https://107.22.212.99/

(Alias for https://status.github.com, via https://octostatus-9676240.us-east-1.elb.amazonaws.com )

jcl··on Google's “Director of Engineering” Hiring Test
...and, strictly speaking, the subtractive colors that closest match the typical human eye are cyan, magenta, and yellow -- the "CMY" of CMYK printer inks. Using red, yellow, and blue as subtractive colors gets you a big enough gamut for elementary school color mixing, but it won't give you as big a range of colors as CMY.
jcl··on Image Compression with Neural Networks
It looks like they are using a "multi-scale structural similarity" (MS-SIM) metric as a proxy for how well a human will think a compressed image reproduces the original image. Both the JPEG and the RNN images are compressed to the same MS-SIM metric, which in this case makes the RNN image take 25% fewer bytes.

Part of the reason JPEG looks better in this case is that they have chosen to feature a detail- and noise-rich portion of the image, which favors JPEG... High JPEG compression has a sharpening effect around edges, including "ringing" which hides well in noise. However, if you view the full-sized comparison of the dog images, you can see that JPEG has essentially no detail in the darker portions of the image. Presumably both the MS-SIM metric and humans would judge RNN better for these portions.

jcl··on Original bulletin board thread in which ‘:-)’ was proposed
One example predating computers is "henohenomoheji", a face made out of Japanese hiragana, used as a generic face in children's art and crafts.

https://en.wikipedia.org/wiki/Henohenomoheji

jcl··on Apple Surveying MacBook Pro Users About Headphone Jack and Other Ports
He must be in some part of their target market, considering that Apple has offered the MacBook Pro 13-inch form factor essentially unchanged for the last 10 years. (...with non-retina display, superdrive, ethernet jack, kensington lock slot, etc.)
jcl··on Deep Reinforcement Learning to Play StarCraft
APM numbers are actions-per-minute, not the actions-per-unit-per-minute measurement in which the AI's performance is reported. It's not clear how the two map to each other -- the AI may well be exceeding human performance when multiple unit groups are considered.
jcl··on Someone Is Learning How to Take Down the Internet
There are educational projects that focus on providing the benefits of the internet to communities that have poor or no connectivity, like: http://internet-in-a-box.org/

While internet failure mitigation isn't an explicit goal of such projects, their resources might make a good starting point.

← PreviousPage 6 of 34Next →