Better HN
topnewbestaskshowjobs
Log inSign up

dominicrodger

213 karma · joined Jan 12, 2012 (14y ago) · 29 submissions

Submissions

1.

Git Undo(megakemp.com ↗)

288 points · by dominicrodger · 10y ago · 170 comments

2.

Let’s Encrypt and iTunes podcasts(dominicrodger.com ↗)

26 points · by dominicrodger · 10y ago · 5 comments

comment 12y ago · link · parent

> If your documentation is a directory full of files on GitHub, I close the tab. With GitHub Pages, Read the Docs, and other places to host generated documentation for free, not making an effort is unforgivable.

He's not arguing against GitHub pages - he's arguing against just linking to a file/folder in your GitHub repository and thinking you're done (e.g. https://github.com/<org>/<project>/docs).

comment 12y ago · link · parent

Pretty sure it's a typo (speaking as a Brit).

In the mother of all pedantic pull requests, I've created https://github.com/python/pythondotorg/pull/77

5.

Kickstarter for Improved PostgreSQL support in Django(kickstarter.com ↗)

29 points · by dominicrodger · 12y ago · 3 comments

comment 12y ago · link · parent

It's now documented and everything: https://docs.djangoproject.com/en/dev/topics/migrations/#upg...

comment 12y ago · link · parent

Doesn't this mean people can track whether you've read an email by including some kind of unique identifier in the image path? If not, how could this possibly work?

comment 13y ago · link · parent

Likewise - I did this as part of a hackathon earlier this year - thoroughly enjoyed seeing how all the pieces fitted together.

9.

TweetDeck Android, iOS apps will vanish from app stores in two weeks(zdnet.com ↗)

1 points · by dominicrodger · 13y ago · discuss

comment 13y ago · link · parent

See also https://news.ycombinator.com/item?id=4970707

comment 13y ago · link · parent

I'm pretty sure they're just markers telling you what the code is an example of, so they get out of your way when you hover over the code.

comment 13y ago · link · parent

We use it to mean practising how we handle bad things, such as unexpected server failures, which seems to me a reasonable appropriation of the term.

comment 14y ago · link · parent

Thanks for the write-up - interesting read.

Out of interest, how do you catch and block all POST requests when the site's in read-only mode without duplicating code? Not sure if you use CBVs at Lanyrd - if so, do you use a common mixin? If not, how?

14.

Ladies first: Inside the first women-only game jam(bbc.co.uk ↗)

2 points · by dominicrodger · 14y ago · discuss

comment 14y ago · link · parent

See also "Entmoot" from Lord of the Rings.

16.

Twitter blocks neo-Nazi account to users in Germany(bbc.co.uk ↗)

5 points · by dominicrodger · 14y ago · 5 comments

comment 14y ago · link · parent

I don't think it is, based on the GitHub repository powering http://slug.in (https://github.com/yetizzz/zzz).

comment 14y ago · link · parent

Kenneth Love's working on this at http://gettingstartedwithdjango.com/.

19.

Nikola Tesla: The patron saint of geeks?(bbc.co.uk ↗)

5 points · by dominicrodger · 14y ago · discuss

comment 14y ago · link · parent

Isn't that what http://fredericjacobs.com/identifying-the-traitor is?

comment 14y ago · link · parent

What's wrong with PIL on Ubuntu? If you're running into needing to repoint JPEG_ROOT/ZLIB_ROOT - I've started avoiding that by symlinking where PIL expects things to be to where they actually are). Works a charm, and avoids using --system-site-packages.

comment 14y ago · link · parent

FWIW, I think "Will Chirp become 'next Twitter'?" was the short version of the title, based on the most read links on the BBC site.

23.

Never Fix a Bug Twice(lukeplant.me.uk ↗)

3 points · by dominicrodger · 14y ago · discuss

comment 14y ago · link · parent

Nice work! Might want to update the README - it's no longer a jQuery plugin.

comment 14y ago · link · parent

Maybe previous experience is significant - I learned to program building websites (HTML -> early CMSes -> PHP), then did a computer science degree (mostly Java, though I did a bit of Ruby on Rails), then got a job in C++ (where I still work, 3 years later), which I'd been doing for a year or so by the time I picked up Django.

To be honest, I suspect my Python's not great - I probably ought to spend more time just writing Python - I'd hazard a guess that less than 20% of the time I spend building websites with Django is spent writing Python (most is probably spent fiddling around with HTML/JS). I can always get by - but every once in a while I learn something new that I wish I'd known about long before (I remember learning about list comprehensions at an intro to Python talk at Stack Overflow DevDays after I'd been using Python for about a year!).

comment 14y ago · link · parent

FWIW - I learned Python by learning Django, and loved it. Probably a meaningless datapoint, but I thought I'd offer it anyway.

comment 14y ago · link · parent

Presumably only by observing a company over time: does their behaviour change? Have they kept their promises for how they're going to fix it?

comment 14y ago · link · parent

Anyone else's imaginations going wild thinking what bizarre combination of circumstances might lead to the lack of a "group by" in an ORM leading to a gradual death, during which one still has sufficient strength to post to HN?

comment 14y ago · link · parent

The quote is Kernighan's I think: "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."