Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thom_nic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
151.
▲
by
thom_nic
12y ago
I've been watching this open feature request[0] to add SPDY support for AWS ELB. Been open since 2012 and hasn't seen any real response from Amazon. Very disappointing. ELB is pretty much a given for any publicly-facing web ser
152.
▲
by
thom_nic
12y ago
In my experience, go with RoR unless you're already in a deeply-committed Java shop. Rails has much more momentum & community support (even if Node is slowly chipping away at it.) With Grails by comparison you're more likely
153.
▲
by
thom_nic
12y ago
Curious to hear what you've chosen as an alternative? It seem to me that all java web frameworks follow this same "behemoth of a framwork/ plugin system" where "behemoth" is really just an indicator of how muc
154.
▲
by
thom_nic
12y ago
I seem to remember something similar that was an erlang VM running (I think) directly on Xen. The underlying idea in that case was each request causes a new VM to boot, service that request, then terminate.
155.
▲
by
thom_nic
12y ago
I thought both Tornado and Twisted had decent websocket implementations?
156.
▲
by
thom_nic
12y ago
Funny, my experience has been that large/ complex python code is actually easier to follow than JavaScript because of the line noise that JS requires. Side by side, the same code will usually be easier to read in Python (or Ruby.) S
157.
▲
by
thom_nic
12y ago
I'll agree there aren't many ways this could be solved without breaking compatibility with JSON. Certainly something like {"created": Date("2013-12-1T12:00:00Z")} a la BSON seems elegant but is incompatible wi
158.
▲
by
thom_nic
12y ago
Yes, conformance to a single string representation of a datetime is nice. Unfortunately that still doesn't help the issue when deserializing, you're just going to get a string that needs to be manually converted to a Date object.
159.
▲
by
thom_nic
12y ago
Lack of a native date/time format in JSON has been the biggest pain point for me. Most (all?) serializers convert Dates to an ISO string but that almost always requires manual conversion back to a Date during deserialization before do
160.
▲
by
thom_nic
12y ago
Is it just me or does the author ignore that his approach is vulnerable to SQL injection unless the parameters are sanitized/ escaped? Most SQL libraries in other languages that have interpolation seem to offer a named param option whe
161.
▲
by
thom_nic
12y ago
I just got a kick out of the fact that Business Insider cited a Reddit user named "master_poop" as a news source.
162.
▲
by
thom_nic
12y ago
Second most downloaded: brainfuck_macros
163.
▲
by
thom_nic
12y ago
Comments are nice when your JSON is at-rest (e.g. in a file) but more often than not it's in-flight and my code is probably not adding comments when building a message. Come to think of it, what would an API look like that writes HJS
164.
▲
by
thom_nic
12y ago
So this had nothing to do with Shellshock then?
165.
▲
by
thom_nic
12y ago
Yup that's what I'm doing now as well. The only downside to that strategy is you can't e.g. show a single y-axis with values for each chart when you hover over one the way cubism can. This is really handy for comparing values
166.
▲
by
thom_nic
12y ago
Does anyone know of a chart lib has the ability to make a "stacked" area chart where each series gets its own Y-axis, similar to cubism.js? I like how cubism visualizes streams of data where each needs its own Y-axis but they are
167.
▲
by
thom_nic
12y ago
Reminds me of the auto-reset Android bug that utilized a tel: URI that auto-dialed: http://gizmodo.com/5946334/samsung-security-bug-can-wipe-out...
168.
▲
by
thom_nic
12y ago
For everyone here who says "Backbone is great except..." I'd encourage you to try Apmersand.js from the great folks at &yet. It's nearly idential to Backbone, fixes some of the oddities (like wrapping divs and needi
169.
▲
by
thom_nic
12y ago
Re: SQLi, it looks good to me. OP is passing parameters to execute(), not directly concatenating values into the query. See: https://docs.python.org/2/library/sqlite3.html#sqlite3.Curso...
170.
▲
by
thom_nic
12y ago
I would think crime rate should factor into this as well. It's at least as important as weather.
171.
▲
by
thom_nic
13y ago
Yes this was completely ignored by the article. This along with a 'where' clause can guarantee the operation will only succeed iff there is sufficient funds. I don't know if other NoSQL DBs offer these sort of atomic operat
172.
▲
by
thom_nic
13y ago
I believe there is a coffeelint plugin that will warn you if you reassign a variable from an outer scope
173.
▲
by
thom_nic
13y ago
I had a different take on this - it's somewhat inspired by collections.namedtuple but mutable and has some other convenient features for data classes: https://gist.github.com/tomstrummer/8240282 (see the examples
174.
▲
by
thom_nic
13y ago
Don't they mean "armbidextrous?"
175.
▲
Show HN: Worried about HTTPS? Use TLS v1.2 in Python
(gist.github.com)
1 points
by
thom_nic
13y ago
|
0 comments