Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmontrose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
kmontrose
15y ago
Well, there are certainly cases where you grab a reference speculatively; anything where you need > N in a collection to act on, for instance, but don't know how many items there are yet (such as when you're reading from a stream). The
92.
▲
by
kmontrose
15y ago
Haven't done much Perl hacking, good to know it's more-or-less pure reference counting. Paging can occur as a consequence of copying a reference. var p1 = *A // let p1 be a reference to A // something in the interim var p2 =
93.
▲
by
kmontrose
15y ago
A memory leak is pretty terrible, and having to either a) disallow cycles or b) specially handle them in user code is also pretty terrible IMO. Loads of handy graph data-structures, all sorts of fun caching techniques just got either impos
94.
▲
by
kmontrose
15y ago
Pure reference counting doesn't handle cycles. I believe those languages (and I'm pretty certain Python does) implement a periodic mark-and-sweep GC for those cycles. So you still periods of high latency collections (in .NET only Gen2 coll
95.
▲
by
kmontrose
15y ago
While this possible using the profiling interfaces, it's not really much simpler IMO. What happens if more than 1 server needs to GC at the same time (or overlapping times)? You definitely don't want to pull everything out of rotation, so
96.
▲
by
kmontrose
15y ago
Anybody can suggest edits ( http://blog.stackoverflow.com/2011/02/suggested-edits-and-ed... ) without even registering. Community wiki posts can be outright edited by low rep users, and higher rep users can edit any post. The idea that a
97.
▲
by
kmontrose
15y ago
No, Facebook is replacing their forums with Stack Overflow. See their blog post: http://developers.facebook.com/blog/post/545/ Their documentation remains independent, the alternative is insane. (disclaimed: SE Inc. employee)
98.
▲
by
kmontrose
15y ago
In the literal sense that you are not your e-mail, yes email != identity. In a practical "on the internet sense," your email really is your identity (maybe SSN or name would be a better description; you can change it, but to do so is cata
99.
▲
by
kmontrose
15y ago
I definitely get the impression that Jeff is more surprised than upset by users who have used cookie-based accounts for long periods. If I recall correctly, the record for longest "active unregistered account" is around 2 and 1/2 year (Sta
100.
▲
by
kmontrose
16y ago
SO gets well over 10k completely new posts (Q&As) on a typical day. A few thousand older posts are edited a day. Throwing comments into the mix more than doubles the number of "new things", and of course every question, answer, comment,
101.
▲
by
kmontrose
16y ago
Its mostly a distinction between "can login with one click (Registered with OpenId/Facebook)" and "can login with a crazy convoluted path (provide email [again], check email for link, etc.) (Unregistered)". You can get the lion's share of a
102.
▲
by
kmontrose
16y ago
Ah, my bad; been a long time since I've had to do anything as an unregistered user, mis-remembered. Looking at the code, we do require something that looks like an e-mail, for recovery purposes (I assume, that code predates me by a bit).
103.
▲
by
kmontrose
16y ago
No, you can participate (well, post answers/questions; no rep is gained) as an unregistered user without giving us an e-mail address at all (or even giving us a bogus one, we don't check). If you do provide one, it lets you recover your coo
104.
▲
by
kmontrose
16y ago
There is a way to recover your account if your cookie is lost. http://stackoverflow.com/users/account-recovery (this is linked from /users/login) It does require that you provided a valid e-mail address at some point, which we don't requi
105.
▲
by
kmontrose
16y ago
Expanding on antirez... An overview of how we use Redis for caching at Stack Overflow can be found at: http://meta.stackoverflow.com/questions/69164/does-stackover... Our "global inbox" and "frequented tags" features are built on Redis as