Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kiwidrew
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
241.
▲
by
kiwidrew
13y ago
New Zealand is preparing to introduce new legislation specifically to address the "whack-a-mole" issue that the article talks about: http://en.wikipedia.org/wiki/Psychoactive_Substances_Bill It will basically
242.
▲
by
kiwidrew
14y ago
One approach to expression indexes on JSON would be a multicolumn index. Column A is the path, e.g. "foo.bar[2].baz" and column B is the value at that path... of course you'd need to use GIN -- which as mentioned already is slow to build
243.
▲
by
kiwidrew
14y ago
I suppose the takeaway is meant to be: why bother having two separate data storage systems (relational + schemaless) if only one will do? I mean, if Mongo isn't offering much (if any) performance gain or schemaless flexibility... what's
244.
▲
by
kiwidrew
14y ago
Where's the print stylesheet? Many times a plain PDF printed out on a stack of dead trees is still the best way to pitch. Unfortunately it's a PITA to build good-looking PDF decks in standard presentation tools... would be awesome to just
245.
▲
by
kiwidrew
14y ago
Any links to examples? The main page shows the HTML code but not what the resulting styles look like...
246.
▲
by
kiwidrew
14y ago
I've been on the beach in Thailand hacking with fellow HNer @mv this week, and we've just launched our first little project. More to come so stay tuned. :) Big shout-outs to Bootstrap, Flask, and Amazon EC2 for making it so easy (and cheap
247.
▲
Show HN: "Random Gifts", our first project from the beaches of Thailand
(randomlittlegifts.com)
4 points
by
kiwidrew
14y ago
|
1 comments
248.
▲
by
kiwidrew
14y ago
I don't have a Twitter account. Is it too hard to add at least one other signup method for folks like myself?
249.
▲
by
kiwidrew
14y ago
> But 180 chargers, peak, each using 100 kilowatts would use 18 gigawatts. Hmm, I think you mean 18MW, not 18GW... sure, it's still a huge amount of energy, but your typical data centre can easily consume 10MW or more. And 18 megaw
250.
▲
Object/Relational Interlude: Messaging in PostgreSQL
(ledgersmbdev.blogspot.com)
3 points
by
kiwidrew
14y ago
|
0 comments
251.
▲
by
kiwidrew
14y ago
Happily, Postgres keeps improving performance with each release. According to benchmarks [1], the upcoming version 9.2 will scale up to 64 cores for read-heavy workloads. Unless your application is going to grow really fast -- keeping i
252.
▲
by
kiwidrew
14y ago
It's a slightly contrived example, because in a real-world schema you would want enough information about each line item that an array isn't practical. But I don't think locks are an issue here, because no sane business process would need
253.
▲
by
kiwidrew
14y ago
It's very sad to see Pacific Fibre shut down, because they had done an incredible amount of work to get the major corporate and political players on board. They were basically putting forward the only credible plan to lay a new cable, and
254.
▲
by
kiwidrew
14y ago
But if the CDN is serving your static assets, your origin webserver only has to generate them once [1] to populate the CDN. It almost doesn't matter how long this takes. And this works well enough that you don't need to bother setting u
255.
▲
by
kiwidrew
14y ago
There's a good post from late 2011, in the context of 12-factor deployment on Heroku, where the author muses about just using a pure Python server behind a CDN to serve static content: ...and yeah, I think I should bloody use this server a
256.
▲
by
kiwidrew
14y ago
This is from November 2010, but essentially all of his points still hold true today.
257.
▲
by
kiwidrew
14y ago
A hook that I've found useful (though not perfect -- esp. when working on many branches) is to check that "pip freeze" and requirements.txt match before allowing a commit. My hgrc has the following line for this: [hooks] pretxnco
258.
▲
Bullseye - strategy management tool for founders
(bullseyehd.com)
1 points
by
kiwidrew
14y ago
|
1 comments
259.
▲
by
kiwidrew
14y ago
When are people going to learn that PayPal is never, ever, ever to be trusted? > When the site started in May, $12,000 in orders for a car diagnostics device poured in right away. PayPal, which the founders used to process payments,
260.
▲
by
kiwidrew
14y ago
The (crazy but awesome) "unicode literals" feature in Python 3 means that your example is actually a valid statement: Python 3.2.3 (default, May 3 2012, 15:51:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "licen
261.
▲
by
kiwidrew
14y ago
It seems to me that almost all of the issues revolved around the complicated EC2/EBS control systems. Time and time again, we hear about an AWS failure which resulted in brief instance outages. If it was just a dumb datacentre, the affe
262.
▲
by
kiwidrew
14y ago
Definitely the case. They've put a lot of effort into bringing on new hosts this past year, to the point that I've noticed a distinct slowdown in bookings recently. I'm all for Airbnb focusing on demand now. :)
263.
▲
by
kiwidrew
14y ago
> I mean who wants to be that stranger in the other room? Most of my guests end up being "the cool startup guy from Beijing" or "that really nice couple from Toronto", because I make an effort to welcome them into my home and show them
264.
▲
by
kiwidrew
14y ago
As an Airbnb host, I'm worried that this new homepage has too much going on. The old design really emphasized the "Where are you going?" search box, which led quite naturally on to the listing results page. Also, many of my guests are mak
265.
▲
by
kiwidrew
14y ago
In fact, the 7-11 and Circle K here are so cheap that often times even buying in bulk, you can't beat their prices. And then there's the convenience factor: literally 30 seconds to grab what you want from the fridge and pay for it with th
266.
▲
by
kiwidrew
14y ago
Along similar lines, there's this nifty hack from a couple years ago which (ab)uses three different low-level interpreter tricks to get Ruby-ish anonymous blocks in CPython: http://code.google.com/p/ouspg/wiki/AnonymousBlocksInPython
267.
▲
by
kiwidrew
14y ago
Except that's not the only style of living that HK offers. Some people do opt for the arrangement you've just described, living in e.g. the "Lake Silver" high rises way out at the very end of the Ma On Shan metro line. Most of them don't s
268.
▲
by
kiwidrew
14y ago
I thnk Bangladesh is far behind Southeast Asian countries such as Thailand and Vietnam. Most of the issues you raise simply aren't a problem in Bangkok or Ho Chi Minh City (except, perhaps, the traffic in Bangkok... my god is it bad...) an
269.
▲
by
kiwidrew
15y ago
This. I spend most of my time in Asia-Pacific timezones, so most of my automated emails arrive at awkward times. I'm glad that this one won't be staring at me from my inbox first thing in the morning -- helping me to produce first, consume
270.
▲
by
kiwidrew
15y ago
So in other words, OSM has done a pretty good job of mapping the _streets_ of the world, and now it's time to shift the focus to recording the individual _address points_ along those streets? AFAIK, the tags to use for individual address po
More ›