Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
notaddicted
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
notaddicted
14y ago
(not OP) I personally like using regular python for python project config files (like django does.) If you want to keep it simple, it will be simple, if you want to do something fancy you have the whole language.
62.
▲
by
notaddicted
14y ago
You could configure the PAGER environment variable and "\pset pager always" so that all your query results are passed through an external script. The external script would have to decide whether to just spit it out on stdout to display as u
63.
▲
by
notaddicted
14y ago
I like the general idea, if you want some "insurance", you could also set the database user that the application uses to SELECT only permission. Have you ruled out using a router? (like https://docs.djangoproject.com/en/dev/topics/db/multi
64.
▲
by
notaddicted
14y ago
According to Wikipedia new gold production is consumed 50% by jewelry, 40% by investment, and 10% by industry. ( http://en.wikipedia.org/wiki/Gold#Consumption )
65.
▲
by
notaddicted
14y ago
A reason to hold gold instead of oil, bullets, bacon, or liquor is that gold is used to make jewelry. Since jewelry is purely a luxury, there isn't really some line that people cross where they have "enough jewelry", theoretically the appet
66.
▲
by
notaddicted
14y ago
If by 'if by "if by 'if by whiskey'"' you mean to usurp primacy by passing judgement, I remind you, judge not lest ye be judged. But if by 'if by "if by 'if by whiskey'"' you mean to shed light on these proceedings, to guide your fellow ci
67.
▲
by
notaddicted
14y ago
RHEL, CentOS, and Amazon Linux for servers. Fedora on my workstation for development, I'm more comfortable with the administration since the tools are similar to RHEL. I prefer to use a separate mac laptop for VOIP, video chat and powerpoin
68.
▲
by
notaddicted
14y ago
It is very easy to set up S3 to provide the files to cloudfront ... have you seen any issues with that?
69.
▲
by
notaddicted
14y ago
Here is an ugly iterative solution, in one lambda: from itertools import product f = lambda n: [ s for s in map(''.join, product("abc", repeat=n)) if not any(a==b for a,b in [(s[a:b], s[b:c]) for a
70.
▲
by
notaddicted
14y ago
Here is another example of patent sclerosis: patents used to hinder development of steam engines in the late 1700's: http://mises.org/daily/3280/ . Patents have been a hindrance to technology for over 200 years.
71.
▲
by
notaddicted
14y ago
If you're talking about the Motorola acquisition, you (& the source author) need to add three more zeroes on those dollar figures.
72.
▲
by
notaddicted
14y ago
In the case of the Instagram iPhone app, since Instagram controls both the application and the server they can validate their own certificates in the iPhone app before continuing with the https request.
73.
▲
by
notaddicted
14y ago
I don't think that taking this money precludes founders from raising more money if they need it, as they would have needed to do two years ago before the Start Fund.
74.
▲
by
notaddicted
14y ago
I predict that education will continue to be a huge political and economic battleground globally for the foreseeable future. There are so many reasons: 1. Convention and desire for free and equal access to basic education is one of the corn
75.
▲
by
notaddicted
14y ago
I did a phone interview once for Facebook and my interviewer used binary search of an array of integers. I think it is a good thing to use for a first filter because even if you don't know it from memory it is pretty obvious from first prin
76.
▲
by
notaddicted
14y ago
The iPhone 5 sold five million in the first three days. The phone was announced Sep-12, preorders opened Sep-14, sales opened Sep-21. If you look at the estimated BOM+manufacturing cost ($207) that means Apple probably had a billion dollars
77.
▲
by
notaddicted
14y ago
I like the django documentation but sometimes I find it hard to figure out how to do exactly what I want to do ... the source code however is pretty readable, effectively it is cross referenced since you can look at the imports, and on gith
78.
▲
by
notaddicted
14y ago
Yeah, I haven't made any provision for the other calculations required by the attack, so maybe those take a lot of resources, maybe they don't.
79.
▲
by
notaddicted
14y ago
AFAIK GPUs are far more cost effective. I've just produced this estimate. 2xAMD 7970 : 8000Mhash/s ~= 2^33 Seconds per year ~= 2^24 Total Hashes ~= 2^57 1kW * $0.15/kWh * 1 year ~= $1315 Rig cost (guess) ~= $2000 Total cost
80.
▲
by
notaddicted
14y ago
Cached: [Edit: is was 503ing but it works for me now. Also, (2007)] 1. http://norvig.com.nyud.net/spell-correct.html ? 2. http://web.archive.org/web/20110717135116/http://norvig.com/... 3. http://webcache.googleusercontent.com/search?q=
81.
▲
by
notaddicted
14y ago
I just tried out codility since I love tests. It is easy ... the test took under 20 minutes, about half of which I spent understanding the totally artificial logic of the problem (+1 for realism) and the other half I spent fixing the thre
82.
▲
by
notaddicted
14y ago
It isn't just the total number of people, it's that they're smeared across our ample coasts and the longest border in the world[0]. [0] http://en.wikipedia.org/wiki/Canada%E2%80%93United_States_bo...
83.
▲
by
notaddicted
14y ago
Reminds me of a piece that I read on Marc Andreessen's blog back in 2007. Now I see that it was written by Ben Horowitz. I'm almost embarrassed to admit it how long it took me to find this, like 10 minutes. Anyway, quoting: "Once WorldCom s
84.
▲
by
notaddicted
14y ago
Also, the nagios monitoring "check_http" will check the time to expiry of HTTPS certificates, and warn you when you have 30 days left. http://nagiosplugins.org/man/check_http
85.
▲
by
notaddicted
14y ago
Not saying these are good reasons, just reasons: - Anonymity (as you mentioned) - It is actually easier on this site to create an account than to reset your password (I don't know if people do this, but it is possible.) - Novelty Accounts (
86.
▲
by
notaddicted
14y ago
The 2038 problem is someone else's fault, and I mostly use 64bit systems. Every time I implement something that assumes the year will take four digits I have a little moment of 'ugh'. The context for me was using python list slice operation
87.
▲
by
notaddicted
14y ago
* worrying about y10k compatibility "just in case" * feeling a jolt of psychological pain when trying to use an emacs keyboard shortcut in any other application * trying to use M-w (readline backwards kill word) on a mac app and closing the
88.
▲
by
notaddicted
14y ago
Still, Google has SafeSearch, they have some conception of what one might not want to pop up unexpectedly. I know that that particular autocomplete was probably generated from history, but the browser could be more noob-friendly ... everybo
89.
▲
by
notaddicted
14y ago
as well, as far as I can tell the NYUD Wikileaks mirror is fine, http://88.80.13.160.nyud.net/ , and it links a directory of torrents which is also up: http://wlstorage.net/torrent/gifiles/ . Anyway, I don't think wikileaks can seriousl
90.
▲
by
notaddicted
14y ago
I'm cynical about this kind of pricing. Once you've paid up, in the companies' books you're in the minus column until the end of time. Incentives are no longer aligned. Combine this with the way that telcos treat regular paying customers ..
More ›