Better HN
topnewbestaskshowjobs
Log inSign up

camhutch

41 karma · joined Sep 19, 2015 (11y ago) · 9 submissions

Submissions

comment 4y ago · link · parent

I am a little sad that CI has been failing for all commits merged to master in this repo since 9 Nov 2021. I often use that as an initial gauge as to the quality of a project, and I've got to say, this turns me off.

In this case it seems to just be an auth issue around building a docker image (and the first commit that failed was "Build and push dev image on pushes to master"), but it hasn't passed since, so this is not being tended to.

comment 4y ago · link · parent

The miranda language (which predates haskell) had a zip function. According to wikipedia, miranda was released in 1985, but I dont know if zip was in the standard miranda environment back then. The comments in the source code say:

    The following is included for compatibility with Bird and Wadler (1988).
    The normal Miranda style is to use the curried form `zip2'.

    > zip :: ([*],[**])->[(*,**)]
    > zip (x,y) = zip2 x y
which suggests a slightly later origination of zip.

comment 4y ago · link · parent

awk has some basic redirection features.

gawk documentation: https://web.mit.edu/gnu/doc/html/gawk_6.html#SEC41

posix documentation: https://pubs.opengroup.org/onlinepubs/009695299/utilities/aw...

comment 8y ago · link · parent

I just tried turning up my 1-node test cluster via terraform, and it worked fine. I would have thought the gcloud CLI would be using the same API.

I did this in the australia-southeast1-a zone.

comment 8y ago · link · parent

My manual VW Golf would like to have a word with you.

I don't drive in stop-start traffic, so I don't know how well it would work, but my manual VW Golf MK VII has adaptive cruise control. If you need to shift up or down, you just do so and cruise control re-engages.

I'm pretty much always in 6th gear when I've got ACC enabled.

comment 10y ago · link · parent

The speed of light in a glass fibre is 2x10^8 m/s (according to Google). However the path through a fibre is not straigt. According to physics.stackexchange.com (http://physics.stackexchange.com/questions/80043/how-fast-do...), the speed of light though a fibre would be equivalent to 1.42x10^8 m/s.

Then you've got to account for the round-trip. You've only covered half the distance of the ping.

You also have to account for a non-direct path from London to Sydney.

All of this means you're looking at about 200ms or more as the lower bound, so your 10x becomes < 2x.

comment 10y ago · link · parent

Start your passwords with /! - the slash stops you entering it into IRC, and the bang stops it going into history.

comment 10y ago · link · parent

There is a "verbatim" mode of search that may help in these cases, which looks like it turns off a bunch of search heuristics. When you get your result, there's a "Search tools" button that reveals a dropdown that defaults to "All results". In that dropdown is a "Verbatim" option. Try that.

You can add the query parameter "tbs=li:1" to get verbatim results right away.