HNHacker News
TopNewBestAskShowJobs

jap

176 karma · joined November 22, 2008

submissionscomments
jap··on Cloudflare Global Network experiencing issues
That page has special if/endif HTML comments to handle if your browser is IE 6, IE 7, IE 8...
jap··on Randomness Testing Guide
There was originally a bug in the GAlib random number generator... if I remember correctly, the guy who identified it told me this was found (or demonstrated) by making a scatter plot of generated numbers an observing there was a pattern to the data.
jap··on Creating a Gridogram: Hiding a Sentence in a Compact Grid of Letters
Gridogram is a word game where the goal is to trace words in a letter grid to find a hidden quote. Behind the scenes, creating the letter grids for quotes is not obvious: the linked page describes the approach taken.

There's a bit of logic involved, a bit of maths with undirected graphs... hopefully it's of interest! Oh, and there's an interactive bit where you can try creating a grid for a quote, which in itself is kind of a fun challenge.

jap··on NPM debug and chalk packages compromised
Could happen to anyone, many thanks for addressing this quickly.
jap··on Google aims to reinvent email with Wave (2009)
I was a big fan of Wave. One aspect I really liked that I haven't seen in other apps is other people would see the letters/words you typed as you typed them, making for very active discussions... But then some people also hated that others could see their typed-out thought process and typos before they finished editing and hit send.
jap··on Show HN: Gridogram – A quote for each day, hidden in a compact grid
Really appreciate the feedback, and glad you like the quotations. I haven't settled on whether to add links, but the text not being selectable wasn't intentional - have pushed a change to allow selecting the text, I hope that improves things.
jap··on Show HN: Gridogram – A quote for each day, hidden in a compact grid
Thank you! Would never expect anyone to find all the words, but the full alphabetised list is useful to help box in the yellow words that are in the quote. Some of the words in the list are indeed pretty arcane, but I hope it can be interesting for players to see new words, and that those don't really interfere with the fun of the game. By the way, you can tap a word to see its definition.
jap··on Show HN: Gridogram – A quote for each day, hidden in a compact grid
Thank you! Yes it is tricky... what kind of shortcuts do you mean? One optimisation I've done to narrow the search space is account for symmetry, that's a shortcut in a sense.
jap··on Explain what a Linux command with given options does
And create a link to explain that command to others
jap··on Hidden manuals: gittutorial, giteveryday, gitglossary, gitworkflow
If you don't have a terminal at hand: https://www.mankier.com/7/gittutorial https://www.mankier.com/7/giteveryday https://www.mankier.com/7/gitglossary https://www.mankier.com/7/gitworkflows
jap··on Explain Shell: match command-line arguments to their help text
Different data source, but a while ago I made a command to help explain other commands: https://www.mankier.com/blog/explaining-shell-commands-in-th...
jap··on Kids’ Apps Are Crammed With Ads
I've spent a lot of time finding apps I trust enough to leave my kids mostly unsupervised with. For me it's mostly boiled down to finding trustworthy app publishers, I listed some here a while ago: https://medium.com/@jacksonpauls/apps-for-preschool-kids-304...
jap··on Simplified and community-driven man pages
I've integrated TLDR content into online man pages if you'd like to see both in one place. For example: https://www.mankier.com/1/grep
jap··on FE-Schrift: forgery-impeding typeface
Sure, but that's much more work than adding a piece of black tape, which you can also simply remove to revert to the legit number.
jap··on Scunthorpe Problem
Came across an instance of this recently, I think on the FT's website... It took me a while to figure out what was going on with "smar * * * * ches".
jap··on The Problem with Linux Kernel Documentation, and How We're Fixing It
Not exhaustive, but I've written code that processes 50,000 or so man pages and haven't hit one.
jap··on An Important Message About Yahoo User Security
I wonder if "500M" is a silly way of saying all user account details were stolen.
jap··on Google HTML/CSS Style Guide – Omit Optional Tags
I've been omitting optional tags for a while.

One thing I've noticed is that bing webmaster tools will report "The title is missing in the head section of the page" when there is a title, but no <head>. Maybe bing can't properly crawl pages without a <head>. Another service I've used had the same problem, but can't remember which.

So it might be worth being careful with omitting <head> - and maybe other tags, I'm reconsidering whether it's a good idea.

jap··on FACT SHEET: Cybersecurity National Action Plan
"In addition, the Government will work with organizations such as the Linux Foundation’s Core Infrastructure Initiative to fund and secure commonly used internet “utilities” such as open-source software, protocols, and standards. Just as our roads and bridges need regular repair and upkeep, so do the technical linkages that allow the information superhighway to flow."
jap··on The EU Is on the Verge of Collapse–An Interview with George Soros
Source?
jap··on Explaining Shell Commands in the Shell (2014)
I think it gives decent results for something like:

  find . -name test -delete
You can try it out online btw: https://www.mankier.com/?explain=%20find%20.%20-name%20test%...
jap··on Explaining Shell Commands in the Shell (2014)
Thanks, that does look interesting. Will give it a spin as soon as I get a chance and compare results.
jap··on Explaining Shell Commands in the Shell (2014)
I don't plan to make a version that gets its data from local man pages, but it would be great if such a tool existed.

Parsing the data out of man pages is messy, and my process currently involves a lot of steps. I actually only started collecting the data for this as a side-effect of trying to make man pages render nicely in browsers.

I would like to open source more of the backend, but I've started with a tool I wrote to extract man pages from project repos: https://github.com/jacksonp/manlib

jap··on CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow
Looks like that function is marked as obsolete, anyone know how long that's been the case?

https://www.mankier.com/3/gethostbyname

"The gethostbyname(), gethostbyaddr(), herror(), and hstrerror() functions are obsolete. Applications should use getaddrinfo(3), getnameinfo(3), and gai_strerror(3) instead."

jap··on Linux for Lettuce
From the same paragraph: "They needed the Oregon State plants for comparison to prove their invention was, in patent language, truly “novel.”"

They're trying to show that their plants are different from the Oregon State plants.

jap··on Denial of Service Attacks
I'd rather see the local time for whoever is writing the article. I'm not a machine, and hopefully neither are they.
jap··on The Programmer and the Stone Statue
If you want your work to be recognized, make something beautiful.
jap··on Write for Linode. Get Paid
$100 seems low?
jap··on 129 Cars
I don't understand why the general manager didn't wait till the last minute to book the dealership's two loaner car purchases.
jap··on Long Before Trees Overtook the Land, Earth Was Covered by Giant Mushrooms
And Tintin - The Shooting Star.
Page 1 of 2Next →