Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Erwin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
331.
▲
by
Erwin
12y ago
I like http://www.halfbakery.com/ -- ideas there aren't quite serious.
332.
▲
by
Erwin
12y ago
For algorithms, I like Skiena's Algorithm Design Manual. That's a practical-oriented book, where theoretical learning is mixed with anecdotes about real life problems solved. The same cannot be said for TAOCP, but it certainly loo
333.
▲
by
Erwin
12y ago
For every other location BUT Africa you can get a speed test from this site: http://www.webpagetest.org/ -- this also lets you different browsers and run an initial + repeated (with something cached) test.
334.
▲
by
Erwin
12y ago
Well, it's a client side library. By that reasoning, jQuery can be said to be vulnerable to XSS if you call .html() with untrusted user input. It seems reasonable to me that the label of each bubble can contain HTML code, it's up
335.
▲
Reddit to ban posting of “revenge porn” images
(reddit.com)
5 points
by
Erwin
12y ago
|
0 comments
336.
▲
by
Erwin
12y ago
Your database connection is just a socket, so you can add that file descriptor to the set of file descriptors you are waiting IO on, if you are using a classic select/poll based system. See an example in the pscyopg2 docs here: http:&
337.
▲
by
Erwin
12y ago
According to this update: http://www.openwall.com/lists/oss-security/2015/01/27/18 The Qualys guys were unable to find any issues with sshd and tcp_wrappers. I imagine I'm not the only one that
338.
▲
by
Erwin
12y ago
Well, the SBCL code includes code for literally generating assembly code specific to x86-64 to get that performance and is 3 times as long as Python. Presumably the inline assembly code is not part of any LISP standard but highly specific
339.
▲
by
Erwin
12y ago
Interesting. I currently use Python's AST to convert some nested logical query expression (in a syntax unique to my application) into bytecode executed by a specialized VM (I originally tried using V8 and LuaJit for this but performanc
340.
▲
by
Erwin
12y ago
Like others, I use the Apiary's Markdown format, using aglio to generate a HTML page from it. I also use Protagonist to convert the documentation to a JSON object that Python code can consume and verify that there's a 1:1 relation
341.
▲
by
Erwin
12y ago
find (or maybe just GNU find) has the equivalent of stat built in so you can even do: find -printf "%u %g\n"|sort|uniq -c
342.
▲
by
Erwin
12y ago
That's a standard consumer chips though. The Xeon server line can, with the E7-8895 v2 do 15 cores per CPU and you can have 8 of them for a total of 240 hyperthreaded cores. I don't know what could take advantage of that and what
343.
▲
by
Erwin
12y ago
Only 8% of the prisoners in US are in private facilities according to DoJ: http://www.bjs.gov/content/pub/pdf/p13.pdf -- where is your source for the claim that every prison is a "profit center" ?
344.
▲
by
Erwin
12y ago
RAX has a 6.3 billion market cap. If an org this size -- specialising in hosting -- cannot field a DDOS-resistant DNS server, who can? I'd like to migrate or even perhaps add a secondary DNS but RS DNS doesn't seem to even offer z
345.
▲
by
Erwin
12y ago
Well, it would be fairly inconvenient to have to type strcmp(&some_name[0], &some_other_name[0]) all the time. Or having to type const char ∗s = &"some constant_string"[0] -- the type of a string literal is after all &
346.
▲
by
Erwin
12y ago
At least in Denmark, not paying e.g. $1 million in tax and especially if it's clear you didn't forget but conspired to avoid tax could be a far longer prison sentence than what this guy got away with. It's surprising this was
347.
▲
by
Erwin
12y ago
The added fault tolerance of Erlang is not free - it adds complexity and overhead. Would you rather maintain an distributed Erlang system running 100s of tasks on 10s of machines, or a simpler C++ based system that due to performance can ru
348.
▲
by
Erwin
12y ago
It's not hardware, but the CrashPlan backup software (supporting Linux, too) has a nice way to "backup to a friend". You just have to "friend" each other on the backup (!) social network and you can select your frie
349.
▲
by
Erwin
12y ago
I had a similar transparent huge pages issues some time back -- the symptoms were incomprehensible spikes in CPU usage sometimes . Apparently this had something to do with memory allocation pressure when my Python processes restarted. Howe
350.
▲
by
Erwin
12y ago
The 1948-49 blockade was also fascinating moment. The Western parts of Berlin (at the time split between France, UK and USA) had their roads blocked off; rather than start getting supplies from the Soviet side and thus lose control over Wes
351.
▲
by
Erwin
12y ago
According to the wikipedia 2013 stats, WMT has 2.2 million employees and and Walmart family owns "over 50%" of Walmart (let's assume 50%). 2014 net was 16 billion but 6 billion was paid in dividends to shareholders. Assuming
352.
▲
by
Erwin
12y ago
Consider this: you are in a high-tax country and have some incoming lucrative income. Instead of receiving that income and paying the tax, the company sends you an email saying: Here's a $100,000, come get if you want, but you don'
353.
▲
by
Erwin
12y ago
Now please add a full interactive explanation of Posix ACLs.
354.
▲
by
Erwin
12y ago
FYI, you can use ":memory:" as the sqlite data source, instead of having to conditionally drop the tables (unless you actually do want to store some persistent data on disk).
355.
▲
by
Erwin
12y ago
Cool, I got inspired by this system too -- the aspw library and examples made it extremely easy to get started. I happen to have a lot of non-relational yet tabular data sitting around and the interface to read it is Python. It took a short
356.
▲
by
Erwin
12y ago
Well, you would put SQL inside a string in Python. PyCharm/IntelliJ already recognize that: as I write execute("SELECT... ") it considers the string PostgreSQL and autocompletes among the table names in my project's data
357.
▲
by
Erwin
12y ago
Another similar odd construct: WPP, Wire and Plastic Products. An ex-Saatchi advertising executive bought a 30% share for $600k in 1985 as apparently that was a good way to start a global company. Now the WPP Group has 150,000+ employees, a
358.
▲
by
Erwin
12y ago
A while ago (here's an article from 2002: http://lwn.net/Articles/6367/ ), the big new thing was going to be ibm mainframes running linux VMs. Whatever became of that? Is anyone still doing that?
359.
▲
by
Erwin
12y ago
HBO Nordic covers all of Scandinavia (and has been around for more than a year). They started out with an expensive monthly and less expensive 6-month subscription but have now a uniform monthly price of around USD 14/month. It's
360.
▲
by
Erwin
12y ago
Look at this post in the subreddit, that seems organized to me: https://www.reddit.com/r/KotakuInAction/comments/2jb6q5/boyc... Contains: a promotional poster of "boycott of the day", a pastebi
More ›