Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
teh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
teh
15y ago
> * never use time.time() to get a timestamp back because it will munge the value and re-add tz info Not sure I understand this one. I though time.time() returned the seconds since Epoch?
122.
▲
by
teh
15y ago
Roughly 1/3 of them are a front page with an email box. Nice way to check for interest.
123.
▲
by
teh
15y ago
The issue with your second version is In [1]: def init(shapename=None, **kwargs): ...: pass ...: In [2]: init(shapename='circle', **{'shapename': 'circle'}) -----------------------------------------------------------
124.
▲
by
teh
15y ago
I am intrigued. I've been thinking about this problem today, but I can't think of an efficient relational implementation in current DBs. How would you do this? I came up with the following: 1) On get_rank() do a count(*) where score < u
125.
▲
by
teh
15y ago
The critical functionality in this application seems to be online calculation, i.e. he wants to know a player's exact rank immediately after insert. A sorted set is good for that. In general I agree though. If you relax the consistency re
126.
▲
by
teh
15y ago
Does anyone know whether fossil has a staging area? I tried but could not find it. Google didn't really help either.
127.
▲
by
teh
15y ago
Slightly related: He mentions that when the containing structure of a sub structure goes away you can free all the resources. The guys behind Samba 4 developed talloc [1] which is build around that idea. [1] http://talloc.samba.org/talloc/
128.
▲
by
teh
16y ago
There are patches for for parallel in 9.1 [1]. [1] https://commitfest.postgresql.org/action/patch_view?id=426
129.
▲
by
teh
16y ago
I am not sure if this means the python API is stable, too. Quote: For the next 2.58 release the API will be completed with access to internal notifiers and events to track data changes or UI refreshes.
130.
▲
by
teh
16y ago
As someone who as sunk considerable amounts of time into PS3 hacking I can say that sony do a pretty good job. Not initially, but their current firmware (3.5) is pretty closed.
131.
▲
by
teh
16y ago
http://gitblogs.com/ - there is a long to-do list and I'm still working on it at least once a week. Not investing too much energy though.
132.
▲
by
teh
16y ago
Hi, sorry for the late reply: I have a (short) summary here: http://teh.gitblogs.com/post/how-to-avoid-allocations-when-u... For reducing the library size see e.g. http://github.com/teh/androidmake I've seen others do similar things, yo
133.
▲
by
teh
16y ago
I'm hacking scala for android and in my experience scala is really awful with allocations. When using idiomatic scala in a game loop the gc kicks in 10 times a seconds, making the app unusable. There are a lot of "invisible" allocations, i.
134.
▲
by
teh
16y ago
There's a good book [1] and LSE podcast [2] on the morality of letting future generations participate in natural resources. [1] http://www.oup.com/us/catalog/general/subject/Economics/Poli... [2] Direct link to mp3: http://richmedia.lse.