Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexfoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
331.
▲
by
alexfoo
10y ago
If TZ is set properly then you don't need to change it twice a year. (man tzset for more info and examples of different values TZ can be set to. Mine is set to "Europe/London" which handles the DST switches automatically
332.
▲
by
alexfoo
10y ago
They'll argue that the Knowledge allows them to route around bad traffic, rather than just following what SatNav or app says to do. Many cabbies have SatNavs that show live traffic conditions so they can do this, but they don't us
333.
▲
by
alexfoo
10y ago
> There's a reason they're the goto brand for cyclists, runners and triathletes. It's because they work reliably. Garmins are buggy though, but once you get used to working around the most common bugs they are quite reliab
334.
▲
by
alexfoo
10y ago
It really does depend on the route you take. I don't take the shortest route as that involves lots more junctions, more lights and more conflict; my route algorithm is mostly about minimising stress. 7 mile commute in London and analys
335.
▲
by
alexfoo
11y ago
Too true, it's one of the reasons why I did a Maths degree to complement my Comp Sci degree.
336.
▲
by
alexfoo
11y ago
Not being blackballed for any Government contracts?
337.
▲
by
alexfoo
12y ago
> What actual benefits have you seen? For example, weight loss, increased muscle strength, blood pressure, heart rate? This is the bit I'd be interested in. Some data to correlate the improved "fitness"[1] (or at least inc
338.
▲
by
alexfoo
13y ago
Why "for startups"?
339.
▲
by
alexfoo
14y ago
Indeed, can't think of it as anything other than irresponsible, bordering on downright dangerous. Hacking software is one thing, but when that goes wrong it just leaves crashed servers, unresponsive web apps and 404/500 errors. And, before
340.
▲
by
alexfoo
14y ago
From that I assume that if a block's hash matches something that's already in the archives then you retrieve the archive block(s) with the same hash ID in order to verify that it is exactly the same (byte-for-byte)? And this wouldn't be pos
341.
▲
by
alexfoo
14y ago
Thanks, that probably explains the behaviour I'd emailed you about. Niche use case though, there aren't that many of us long distance loonies out there (The Great Southern Randonee 1200km late October starts quite close to you: http://www.
342.
▲
by
alexfoo
14y ago
Not really. We were (extremely) lucky as she slept through 7pm-7am straight from 3 months. Now she's older and wants to push the boundaries and assert herself she's battling us (and herself) at bedtime. It's usually 8pm but can be 9pm befor
343.
▲
by
alexfoo
14y ago
Looks very nice (Golden Cheetah user with Garmin Edge 705 and PowerTap SL+ hub). What about tools to help edit out unwanted sections of a recorded ride? My type of riding, mainly long distance (Audax), means rides of 9 hours or more (up to
344.
▲
by
alexfoo
14y ago
Parenthood rocks. Apart from the obvious point that it is mind-bogglingly fantastic in itself (far more rewarding than all of this computer stuff) it had a profound effect on my work life balance. Gone are stupid hours at work; I changed my
345.
▲
by
alexfoo
14y ago
So true. I've seen people who have way more than the fabled "10,000 hours" of software development experience them that continue to push out truly woeful code.
346.
▲
by
alexfoo
14y ago
Depends on whether step 2 is a complete rewrite (in a different language) or further hacking to "make it right". My process tends to be: 1. Make it work - Knock up a prototype (lots of assumptions made and noted, limited error checking, etc
347.
▲
by
alexfoo
14y ago
Leechblock got me out of the habit of spending too much time reading various blogs/sites. I set it to block a certain set of sites between 10-12,13-17 hours. It's trivial to work around if you want to, but having the "blocked" page pop up i
348.
▲
by
alexfoo
14y ago
Yup, but I had meant in one command though, i.e. sed -n '/Kindle/{/Hardcover/p}'
349.
▲
by
alexfoo
14y ago
Who said NOPs are free? NOPs still take at least one clock cycle.
350.
▲
by
alexfoo
14y ago
Yup, I had the same on my bike of 25 years ago! Not easily transferred though if you wanted to sell the bike to someone else. The unique number etched into the frame can be transferred though. The one you get free from the UK Police is the
351.
▲
by
alexfoo
14y ago
[ EDIT - Two replies as original post had been edited by the time I posted the first. ] > and as a sidenote, something i only found recently, but which is quite useful, a logical AND with egrep looks like > > egrep 'Hardcover.
352.
▲
by
alexfoo
14y ago
Indeed, I don't see why people get so upset (or pedantic) about what are, effectively, NOPs in command-lines. However, things change if you start adding certain options to sort:- sort -m order.* and cat order.* | sort -m are d
353.
▲
by
alexfoo
14y ago
I prefer:- tail -F filename as most of the logfiles I need to watch tend to wrap at some point and 'tail -f' doesn't check for inode changes. (-F is a non-standard option, it's there on GNU's [EDIT] tail binary and OS-X but not Solaris for
354.
▲
by
alexfoo
14y ago
That's a flawed lock strategy. I wouldn't ever want to do that. I always include the rear wheel and the seat-tube (or seat-stays) inside my D-lock. "There is no need to loop it around the seat tube as well, because the wheel cannot be pulle
355.
▲
by
alexfoo
14y ago
Various Police forces also do cycle marking for free, worth checking the website of your local force. This isn't UV ink but a unique number that is etched into the frame (they've different etches for different frame materials, I've had both
356.
▲
by
alexfoo
14y ago
The description has it the other way. "The solution is that, even though the trains arrive with the same frequency, the downtown train departs just a few minutes after the uptown train has departed. Because of this, there is only a narrow t
357.
▲
by
alexfoo
14y ago
> You don’t need time off. If you think you do, you’re in a Job and should stop thinking it’s a startup, because it will fail. Strongly disagree. Start-ups fail for lots of reasons; burn-out being one of them. Start-ups are just high ri
358.
▲
by
alexfoo
14y ago
That's part of the point. Almost everyone can drive google to get the answer to a question (doing so efficiently is a useful skill though). I think that some of the IGG (Instant Gratification Generation) believe that being able to provide a
359.
▲
by
alexfoo
14y ago
Cost?
360.
▲
by
alexfoo
14y ago
Because the default datatype is int:- $ cat z.c foo( a, b ) { return( a+b ); } main( void ) { return( foo( 3, 4 ) ); } $ gcc z.c $ ./a.out $ echo $? 7
More ›