Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bluetech
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
bluetech
9y ago
I'm happy to see this. nginx itself is excellent software, I'll be happy to use similar tech for the application server as well (instead of uwsgi). There are a couple of options I'd like to see added to the Python configurati
32.
▲
by
bluetech
9y ago
It would be nice if you could sign the tarball with the binary. I see the tag is already signed so hopefully it's not much trouble: https://wiki.debian.org/Creating%20signed%20GitHub%20release...
33.
▲
by
bluetech
9y ago
What does "flat install" mean?
34.
▲
by
bluetech
9y ago
All of the apps fail this test: 1. Go to main page. 2. Enter a long comments section. 3. Scroll down. 4. Hit back (back to main page again). 5. Hit forward (back to comments section). Expected: Scroll position is restored. Actual: Scroll po
35.
▲
by
bluetech
9y ago
A cache without any eviction! Probably should not expose `fnmatch` to the network where the pattern varies.
36.
▲
by
bluetech
9y ago
There is this: https://github.com/maggiepint/proposal-temporal A proposal to copy java.time to javascript. Hopefully this will happen eventually!
37.
▲
by
bluetech
10y ago
Interesting article. Another related article I found interesting: https://www.coverfire.com/articles/queueing-in-the-linux-net... Discusses some of the queues in the Linux network stack.
38.
▲
On Packet Switches with Infinite Storage (1985)
(tools.ietf.org)
3 points
by
bluetech
10y ago
|
0 comments
39.
▲
by
bluetech
10y ago
> How will you avoid having two variants of each and every lib ? The python community is also struggling with this problem. The emerging approach, which seems to me to be the right approach, is to write the libraries such that they do no
40.
▲
by
bluetech
10y ago
Has anyone suggested some sort of postfix macro syntax? I don't have one in mind, but perhaps there is some nice looking, viable one. That might have been a more general solution than a new operator.
41.
▲
by
bluetech
10y ago
One example: www.dropboxlocalhost.com -> 127.0.0.1 I don't know if dropbox are still using that in their client though.
42.
▲
by
bluetech
10y ago
There is memfd_create(2) (see discussion under "File sealing" and the related fcntls).
43.
▲
by
bluetech
11y ago
Quoting redis docs ( http://redis.io/topics/benchmarks ): > When the server and client benchmark programs run on the same box, both the TCP/IP loopback and unix domain sockets can be used. Depending on the platfo
44.
▲
by
bluetech
11y ago
This is still a similar problem for the memcached cache backend (which django recommends): https://code.djangoproject.com/ticket/11331
45.
▲
by
bluetech
11y ago
I have recently deployed Content Security Policy (CSP) on a website. When I first looked at violation reports, my jaw dropped. The amount of malware (rouge extensions, toolbars, viruses, ...) that is blocked is staggering. If you really wan
46.
▲
by
bluetech
11y ago
Heh, a long time ago I wrote a script using BeautifulSoup which given an ORA-XXX would return a detailed explanation. Amazingly, it still works: https://gist.github.com/bluetech/f9aa4ede5a25c765c6e6 (don't hold me
47.
▲
by
bluetech
11y ago
Off topic, but: I thought in rust they like to statically link everything. So how does that go with the LGPL license you chose?
48.
▲
by
bluetech
11y ago
[From all the bad things I hear about PHP, the code is very readble without any previous experience - nice]. Here are some things a lexer for a programming language might have to deal with: 1. Comments (some even do nested - which means reg
49.
▲
by
bluetech
12y ago
Pre-compressing is possible, but why shouldn't the http server do it for you? The server can cache the compressed files in memory and/or disk as it sees fit (although gzip was pretty cheap last time I checked). It can also deal wi
50.
▲
by
bluetech
12y ago
What is wrong with compressing static files?
51.
▲
by
bluetech
12y ago
Maybe they can use something like javascript's and perl's "strict" annotations.
52.
▲
by
bluetech
12y ago
I don't really understand what's the point of tracking the sources when copying files? A security policy which restricts my actions over an object I had copied (with permissions to do so) seems a bit strange to me. But the slides
53.
▲
by
bluetech
12y ago
vim allows you to select a region and operate on it. It sometimes necessary, but in practice, people use the compositional commands. They are faster and mentally easier. So empirically it seems your preference is different than most. Also,
54.
▲
by
bluetech
12y ago
Are you sure? The TweetNaCl paper says u32 is an unsigned >= 32-bit (see towards the end): http://tweetnacl.cr.yp.to/papers.html
55.
▲
by
bluetech
13y ago
Right, void* is used quite a lot for "generic" data structures. But I'm not sure that's what he meant. The reason I said "only" was that from my own experience, most C data structures are tailored for a specifi
56.
▲
by
bluetech
13y ago
Why do you say C has no type safety? Only way around the type system is void , explicit casts and I guess unions. It admittedly doesn't have a very advanced type system, that's true.
57.
▲
by
bluetech
13y ago
But the author encourages their use for all types of numbers.
58.
▲
by
bluetech
13y ago
Ah, the 'git checkout -p' is great. I always did 'git stash -p; git stash drop' for that. Putting this under 'checkout' is completely non-obvious.
59.
▲
by
bluetech
13y ago
Feels like the developers said, "hi, we're starting to get too many of those pesky users, let's make each of them run a bunch of obscure commands just to get started". Well, I'm not being fair here, the commands are
60.
▲
by
bluetech
13y ago
sum(random.uniform(1, 5)**3 for i in range(10000)) / 10000 Many people don't know that the random module allows to sample from many distributions directly without having to construct your own.
More ›