Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thezilch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
421.
▲
by
thezilch
14y ago
I find it easier -- clearer -- to get rid of the enumerable early. var i, order, totals = []; for(; order=orders[i]; i++) totals.push(order.total);
422.
▲
Project 100 - Drive. Ride. Bike. Fly. Connect.
(goproject100.com)
1 points
by
thezilch
14y ago
|
0 comments
423.
▲
by
thezilch
14y ago
Redis's expirey strategy has changed as of Redis 2.6, which does have Redis actively expiring keys.
424.
▲
by
thezilch
14y ago
You will get said timer support in Redis 2.8 with the ability to subscribe to keyspace events, which includes keys expiring (with millisecond resolution). https://github.com/antirez/redis/issues/594 psubscribe __keyevent@0__:expired c
425.
▲
by
thezilch
14y ago
We've utilized a similar setup using https://github.com/benliles/TxScheduling (Python, Twisted Scheduling) backed by a DB store.
426.
▲
by
thezilch
14y ago
Except for the not needing extra hands part...
427.
▲
by
thezilch
14y ago
My take away from this article, contrary to the conclusions of the author and "scholars" is _the software used must suck_. There is no reason the software can't be something you "boot" into and disallows the so-called distractions, if that
428.
▲
by
thezilch
14y ago
Correction; "a New Yahoo.com [Homepage]" It's not bad, but if I leave the page for any other Yahoo.com path, I lose the experience; even worse, "top-level" paths can be very different themselves.
429.
▲
by
thezilch
14y ago
More likely one will want to tail (unix) with the -F , over -f , so that logs -- files -- that are rotated out will continue the tail on the log that replaces those that rotate out.
430.
▲
by
thezilch
14y ago
Steam is also throwing a sale for the release of Steam for Linux: http://store.steampowered.com/sale/linux_release/ ; ends February 21st, 18:00 GMT. Highly acclaimed "Team Fortress 2" is free to play: http://store.steampowered.com/app/440
431.
▲
by
thezilch
14y ago
We must have different definitions of DDoS protection; what exactly are you thinking they are protecting that isn't covered instead by their Level 3, 4, and 7 attack protections? Of course, a CDN is by nature a protector of non-malicious
432.
▲
by
thezilch
14y ago
He said; she said. A Layer 7 attack is not necessarily something one might "notice." The very nature of such an attack is "normal" looking. I think it's impossible for us to say who is right -- OP or CloudFlare -- without substantial hard-d
433.
▲
by
thezilch
14y ago
Free DDoS protection is not a part of CloudFlare's business model -- plans [0]. A free CDN comes with caveats, like not receiving fast support, an SLA, etc... to name a few things the OP expected. There's no doubt CloudFlare lost a potentia
434.
▲
by
thezilch
14y ago
And do not provide comparable service to a CDN. The comparison is really apples and oranges.
435.
▲
by
thezilch
14y ago
4chan (and its users) probably want a fast downlink. The author touts a cheaper provider, but the service they are receiving is an order or more of magnitude slower service from my anecdotal test through wget(s) of images on both OP's and 4
436.
▲
by
thezilch
14y ago
Honestly, it could be either. Though, I can't recall anything different after the move off urchin.js -- years ago [0]. What's worse is those that call "private" methods directly; for example, some use _gaq._link(...) over _gaq.push(["_
437.
▲
by
thezilch
14y ago
I'm not convinced the defined track function is fixing what's described. If following Google's instruction for "installing" ga.js [0], there shouldn't be any sites breaking that block ga.js from loading. That is, Google suggests var
438.
▲
by
thezilch
14y ago
Not quite, thanks to Flash. http://lists.webappsec.org/pipermail/websecurity_lists.webap... Rails and Django patches/recommendations on the issue: http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypas... https://docs.djangoproje
439.
▲
by
thezilch
14y ago
Yeah, big deal; assume it's known. Change it; change any other service with something "identical." Of course, if you are smart enough to know the implications of both a strong password and salting and not using the same password, you can
440.
▲
by
thezilch
14y ago
Of course, that potentially means that 250,000 user accounts were also compromised on Facebook, Pinterest, Instagram, GMail, Yahoo Mail, Hotmail, et al. If you aren't using a different password for every service or are using only a derivati
441.
▲
by
thezilch
14y ago
Chained functions call independently and completely before returning to the next. The css function [0] operates on the "array" this returned by $ using an anonymous function [1] at a call site in the access function [1] [2]; access
442.
▲
by
thezilch
14y ago
To be fair, we should be comparing like tokens, if the proof is using them as part of its advantage: evens = filter(lambda n: n % 2 == 0, numbers) with evens = [n for n in numbers if n % 2 == 0] or evens = [n for n in numb
443.
▲
by
thezilch
14y ago
While it's OK for you to enforce not using trivial list-comprehensions on your team, I think you'll find the majority of Python's community disagreeing. Your example is really tame as far as comprehensions are concerned, and "beginners" are
444.
▲
by
thezilch
14y ago
Not likely. Proof? I'd agree if you'd said "not a lot of key/values," as the setup could supersede the subsequent speedups. However, in that case, the difference is negligible, and we should do what is "pythonic."
445.
▲
by
thezilch
14y ago
Probably better done with a defaultdict: from collections import defaultdict logins = defaultdict(list) for user, date in getLogins(): logins[user].append(date)
446.
▲
by
thezilch
14y ago
And more usually, you'll use the tool the tool that your most familiar with or can become most familiar [quickest]. You say so yourself, HBase is relatively hard to quickly come to terms. We can observe the same when viewing the "SQL camp"
447.
▲
by
thezilch
14y ago
With the hardball already being played against Aaron, he'd probably be held for contempt of court for pleading guilt! He certainly couldn't have believed any of it -- all a lie, on its face.
448.
▲
by
thezilch
14y ago
I think you're missing the point that I'm not going after the DB layer or your own software states (eg. read only). Most AWS outages are related to network layers; you have to already be sync'd. If you want to do writes, sync'd enough to st
449.
▲
by
thezilch
14y ago
Netflix has done such benchmarks [0]; TLDR: _their workload_ cut costs in half with hi1 instances. [0] http://techblog.netflix.com/2012/07/benchmarking-high-perfor...
450.
▲
by
thezilch
14y ago
Theoretically, there's going to be a state of affairs where it's not possible -- that's physics. Maybe with multi-host tenant, so that we're not relying on AWS networking / control-plane screwing with what is going to be the most important
More ›