Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
craigds
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
craigds
11y ago
I'm a recent ST3 to Atom convert. I've used all sorts of text editors with a shell inside them, and I can't quite fathom why you'd want to do that. What's wrong with bash running in iTerm? Then it's a first-cla
182.
▲
by
craigds
11y ago
Still waiting on Ansible to make the jump. As far as I can tell it's not even on their roadmap, which is a bit crazy given that _almost_ everyone else has solved this by now. This may not be a blocker for the rest of our stuff though,
183.
▲
by
craigds
11y ago
dupe of https://news.ycombinator.com/item?id=10963568
184.
▲
by
craigds
11y ago
You could do that, but it'd be quite inefficient. Firstly, let's assume that directories aren't encrypted. Otherwise this would be a real PITA - just to locate /foo/bar/baz.txt you'd have to decrypt
185.
▲
by
craigds
11y ago
I'm probably in that 1% you mentioned. I work with large aerial photos (usually >10000x10000) with varying numbers of bands. Headers are excellent for georeferencing, storing band information, attribution etc. > tagging file syst
186.
▲
by
craigds
11y ago
You need to use a compression format that has sync points. For example, if you need to seek to 1GB in the uncompressed file, the compression itself needs to have recorded where that corresponds to in the compressed file. zlib apparently sup
187.
▲
by
craigds
11y ago
So it's a 16 bit RGBA bitmap with no support for custom headers, internal tiling, custom bands, band interleaving, or overviews. or compression. Simplicity is great and all, but all those features are actually really useful things to h
188.
▲
by
craigds
11y ago
This seems likely to be unsuitable for large files (e.g. 50000x50000 pixels) because the external compression is going to make random access difficult. So extracting or displaying a small part of the image means you have to read from the be
189.
▲
by
craigds
11y ago
Why not? Would silently returning the wrong thing be better?
190.
▲
by
craigds
11y ago
Works great unless None is a valid value for the thing, in which case you'll recalculate it every time. If that was the case you should just use hasattr().
191.
▲
by
craigds
11y ago
I'm a (protestant, FWIW) Christian and I also believe evolution. This has taken some wrestling over the years. My current understanding is that the creation myths in Genesis are non-literal stories, intended to be taken in ancient Meso
192.
▲
by
craigds
11y ago
On iTunes you can buy movies. As in, to watch multiple times whenever you want. For instance, for NZ$18.99 I can buy Me, Earl and the Dying Girl. That's ludicrously expensive if you just want to watch it once.
193.
▲
by
craigds
11y ago
> I pay for PPV If only this were an option. I'd gladly pay a few bucks to stream a movie. But outside of the US and Canada I don't think PPV even exists at all. Amazon prime isnt available in my country. I dont know of any oth
194.
▲
by
craigds
11y ago
This doesn't seem all that awful. If the old code is significantly more readable, then perhaps it serves as good documentation about the new code. It is somewhat surprising that this would last 30 years though. In our huge codebase, ba
195.
▲
by
craigds
11y ago
Personally, I can't wait to switch to python 3. I'm glad most of the community is finally getting behind it. The cogs move slowly. We've only just upgraded our huge codebase to 2.7, but I expect we'll be on some release
196.
▲
by
craigds
11y ago
He said that 20% have reached "Acceptance", the last of the 5 stages, and said that most people are in stage 4 (Depression). That'd put overall progress at more like 80%. This article also wasn't actually talking about
197.
▲
by
craigds
11y ago
IMHO IoT is a bad idea. Recently we had the choice of buying heat pumps with a standard infrared remote control, or heat pumps with wifi. You can control them from your ipad! As a bit of a hacker I'd love to play with this and see if I
198.
▲
by
craigds
11y ago
This is exactly how I feel about it. It's not just this case obviously. I used to be proud to be a New Zealander, but the last 5-10 years have made it dreadfully obvious we're actually being operated by foreign and commercial in
199.
▲
by
craigds
11y ago
Is this actually a real problem or just an imagined one? Anyway don't couriers normally require recipient signature? If a courier left a package on my doorstep in NZ I'd probably complain.
200.
▲
by
craigds
11y ago
Isn't this in postgres 9.6 anyway, due to the parallel sequential scans? i.e. if your aggregate function is defined with `PARALLEL SAFE`, then this should magically work anyway. Yes? (I'm aware this solution works with postgres 9.
201.
▲
by
craigds
11y ago
> My team is only 2 people and we don't work together on much of anything. I find this other person difficult to talk to. This may be a bigger part of the problem than you realise. It's incredible how much working with the righ
202.
▲
by
craigds
11y ago
What are the advantages of using level set trees, compared to say, DBSCAN? I googled but didn't find a lot except this paper: http://jmlr.csail.mit.edu/proceedings/papers/v19/steinwart11... (and the expl
203.
▲
by
craigds
11y ago
In NZ, you don't need ID at all to fly domestic. Just sayin'.
204.
▲
by
craigds
11y ago
> The day I talked to my father for the last time Was expecting some explaining of this bit, but it's the only time he mentions it. That is indeed a crazy day!
205.
▲
by
craigds
11y ago
mute, not block. Rdio still gets paid.
206.
▲
by
craigds
11y ago
This is a real shame. I just discovered Rdio about a month ago and it was a breath of fresh air coming from Pandora (repetitive music discovery, and you can't play a specific song/album) and Spotify (awful UI, cluttered and full o
207.
▲
by
craigds
11y ago
Agreed, I think the OP is dreaming. In urban NZ we pay almost this much for 100% shitty ADSL with data caps. Speeds vary wildly but it'd be rare to get more than 50 down / 10 up. 1Gbps is not available to consumers anywhere in the
208.
▲
by
craigds
11y ago
error of 700%, technically
209.
▲
by
craigds
11y ago
IME it's not that uncommon for humans to do this, but we should expect better from robot cars :) In NZ technically the local-road speed limit is 50kph, but normal accepted practice is to drive at 60. Anecdotally, I get stuck behind som
210.
▲
by
craigds
11y ago
To nitpick, the article uses the words 'tough', 'hard' and 'rigid' to describe this glass, though those all mean different things. I'd suggest that all glass is both hard and rigid, so presumably 't
More ›