HNHacker News
TopNewBestAskShowJobs

arantius

1,113 karma · joined March 23, 2008

submissionscomments
arantius··on Poll: What bug tracking software do you use?
Started using it recently. I'm finding that it's very limiting. It has very few features. For instance: no fixed/duplicate/wontfix/etc resolve status. Just "closed".
arantius··on Dive Into Greasemonkey
> someone could write a parsing component that would

That's what @require is for.

arantius··on Results of The Hacker Survey
> I think if you wanted to get a better handle of how many women are in HN, a poll ...

You mean: http://news.ycombinator.com/item?id=749617 ? There, female was about 6%.

arantius··on Jenga Pistol
> Do you want someone down-modding your posts simply because you ,,, had nothing ... valuable to say?

Yes, that's exactly what I want. Based on the vote count, I conclude that I'm not the only one.

arantius··on Tetris Code Challenge
> I don't think the scoring system is good. According to it the best behaviour would be to build all tetraminos on one side and wait for "I" tetramino to arrive and score 4.

Except, of course, that's exactly the way every single real game of tetris works.

arantius··on [dead]
Oh! The _white guy_ is the one photoshopped in! That's not the sort of thing I'm used to seeing.
arantius··on [dead]
Even better, just use Greasemonkey to make all links clickable.

http://arantius.com/misc/greasemonkey/linkify-plus.user.js

arantius··on How could we replace the capacity of the NYC subway?
Rarely, yes. It takes a pretty serious storm, but I've seen service interrupted due to rain within this past year. This year has had record rainfall.

http://www.nytimes.com/2009/08/01/nyregion/01hot.html

"One reason for the record-breaking low temperatures was the record-breaking rainfall and accompanying cloud cover. The deluge of more than 16 inches (twice the average amount) made it the second wettest June and July on record, edging 1928. The wettest June and July was 1975, with more than 19 inches."

(First reference I could Google up.)

arantius··on Ask HN: Do you actively contribute to open source projects?
Yes, I'm one of the two core contributors to/maintainers of the Greasemonkey Firefox extension.
arantius··on Mario AI competition might have a strong contender
The contest page (http://julian.togelius.com/mariocompetition2009/) talks about being based on the "Infinite Mario Bros game by Markus Persson .. with the added benefit of endless random level generation".

I wouldn't be at all surprised if the sorts of levels that this program generates never have conditions where you must backtrack and take a different path, to complete it. Especially after seeing a few examples in these videos.

arantius··on Ask HN: Best word to describe this process?
cull (verb) 2. select or obtain from a large quantity or a variety of sources.

cherry-pick (verb) selectively choose (the best things or people) from those available

prefer (verb, preferred, preferring) 1 like (someone or something) better than another or others; tend to choose

arantius··on Goodbye, Apple
I got a Nokia N810 recently. With a hefty SD card it plays media very adequately for my needs -- and it does a whole lot more too! My iPod is starting to gather dust.
arantius··on [Ask HN Commuters]: What do you do on your commute to work?
I commute about an hour (40 minutes on the subway) Brooklyn<->Manhattan. I live at the end of the line, so I get a seat in the morning _every_ time. I always take the local train, and get a seat almost every time in the evening, perhaps once a month I end up standing.

I play music to drown out the nasty noise, and usually read, sometimes play Nintendo DS. Plus the occasional nap.

arantius··on Ask HN: Have you ever had one of your sites get hacked?
How long is "long enough"?

I've had a dedicated server running my (personal) web site, mail, and a variety of other services, directly connected to the public internet, with no firewall, for five years.

My domain is #95k in alexa, #69k in Compete and #35k in Quantcast. Just to say, while it's no heavy hitting destination site, it's not just a tiny personal site either.

I've never been hacked. I just don't set up insecure services.

arantius··on Unacceptable Browser HTTP Accept Headers (Yes, You Safari and Internet Explorer)
Not stock. But you can get it:

https://addons.mozilla.org/en-US/firefox/addon/8207

arantius··on Ask HN: What was your first job?
High school (16 or so): McDonalds College (18-20 or so): summer internships at Johnson and Johnson
arantius··on Stop Password Masking
Actually, no. This is the primary problem with this idea. Browsers use <input type="password"> as the tip-off to know there is a password to remember here. If the input field isn't a "password" type, the browser won't remember the password for you.
arantius··on PySh: an attempt to create a shell providing both bash and Python features
So does bash.

http://bash-completion.alioth.debian.org/

It's extensible to boot.

arantius··on Ask HN: So you've just pulled an all nighter, how do you get through the day?
I haven't really done all nighters since college. But I certainly learned one critical point. During a normal day, you might eat three meals over ~11 hours (8am, noon, 7pm).

If you stay right up, that will be 12 hours with no eating. The drain of skipped sleep and skipped food together are much worse than sleep alone. If you're going to stay up for ~50 instead of ~16 hours straight, you need more meals in there to keep your energy up.

It's still horrible, but eating another meal or two in there will help a lot.

arantius··on [dead]
Indeed. Try this one I threw together:

http://arantius.com/misc/greasemonkey/hacker-news-new-commen...

arantius··on Requested change to the Hacker News RSS feed - items should link to the comments
If you use Google Reader and Greasemonkey:

http://userscripts.org/scripts/show/2346

Quick Links makes links _inside_ the articles keyboard accessible. A few extra keystrokes as compared to the main link, but another possible compromise.

(And personally, I want the links-to-the-articles as they are.)

arantius··on Ask PG: What if I forget my password?
Much simpler solution: https://www.squarefree.com/bookmarklets/forms.html#view_pass...
arantius··on Tracking browser behavior without any tools (security breach in most browsers)
I was worried for a brief moment, when I saw my personal site (domain: my username + dot com) show up in the list. I thought: that couldn't be in their list of sites to check for via the visited-link-css-pseudoclass trick, could it? It is! And 99,999 other sites:

http://startpanic.com/db/db_en.txt

As mentioned, this isn't new.

arantius··on Ask HN: How much do you exercise a day/week?
Never. But, living in NYC, I walk around a mile in 15 minutes, each way to and from work, every day. I also walk or bike any time I need to run errands.
arantius··on Ask HN: What's the right way to authenticate survey takers?
I'm just coming up with this off the top of my head, but:

1. When loading the survey page check for a cookie. If it's not present, set the cookie, record the ip-and-cookie mapping, and redirect back to this page. 2. Now that we're loading the page with the cookie, present the form. 3. Upon submission of the form, validate that this IP was previously assigned this cookie, record the ip-cookie-vote triplet. Throw out the vote if that IP hasn't been assigned that cookie.

If a scripter wants to automate requests, they'll have to figure out that they need to get the cookie from you, then use it to vote. You can detect abnormally large ip-vote (and timeframe) combinations and automatically, or later manually, discard anomalous results.

It's not perfect of course, but there is no such thing as a perfect internet survey (unless you're going to mail out SeucurID fobs or some such to the participants).

arantius··on Measuring download speed by embedding a GIF inside a JavaScript comment
gzip + chunked encoding = works

http://arantius.info/gzip-chunk.php

Notice headers: Content-Encoding gzip Transfer-Encoding chunked

And also notice the 10 second delay between the two paragraphs appearing in your browser. (At least it does for me, in FF3. In IE6, it only happens on the second-and-on load (F5).) It's perfectly possible, for a compliant browser, to download, and render, the page incrementally, even with gzip compression applied.

← PreviousPage 9 of 9