Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kingkilr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
721.
▲
by
kingkilr
17y ago
It's not really, it's simply threads asking the main thread to drop every 5 ms, and then relying on the OS to schedule them. If Python had it's own scheduler it would do things like assigning priorities and actually deciding which thread w
722.
▲
by
kingkilr
17y ago
Because CPython doesn't want to invent it's own scheduler (and various other things that your operating system already does for you), further multiple threads can be active at the same time if they're doing any operations that release the G
723.
▲
I Have Talent
(alexgaynor.net)
1 points
by
kingkilr
17y ago
|
0 comments
724.
▲
by
kingkilr
17y ago
Are you out of your mind? He doesn't sound like an argumentative asshole, his sentence flowed perfectly normally with the word "but". Not to abuse the cliche, but have you looked in the mirror?
725.
▲
by
kingkilr
17y ago
I'd say so. http://github.com/alex of those at least 7 are ones I've worked on lately, plus some others that aren't on there. <3 open source.
726.
▲
by
kingkilr
17y ago
Python's set is ridiculously optimized (since it's based on the dictionary which is used bloody everywhere). A few months ago when the "hashtables in functional languages" benchmarks were going around I implemented the "stick the numbers 1
727.
▲
by
kingkilr
17y ago
It's not even worth comparing. Shed-skin works on implicitly statically typed Python, aka: not Python. Unladen Swallow implements the full Python language.
728.
▲
by
kingkilr
17y ago
Equality isn't transitive in PHP :/. Of course, IMO, the real coding horror here is that in an error circumstance no exception is raised.
729.
▲
by
kingkilr
17y ago
Giving up! Quite the opposite, the goal the entire type was for Unladen Swallow to be merged back into Python itself, so everyone can benefit. Bringing it back into CPython gives it the potential for the most eyeballs. I don't know wheth
730.
▲
by
kingkilr
17y ago
Far more interesting (IMO), would be a constrains based library based on predicates (iterable, hashable, arithmatic-able?)
731.
▲
by
kingkilr
17y ago
Yeah, I'm hoping it's that. Purely arbitrary would just be... stupid.
732.
▲
by
kingkilr
17y ago
It's worth noting that Danny Greenfield's team and the Nebula team each choose to use Django independently.
733.
▲
by
kingkilr
17y ago
It was my (perhaps incorrect) understanding that at some point int he 1.9.1 timeline YARV was merged into MRI and became the the MRI trunk?
734.
▲
by
kingkilr
17y ago
This year we had another technical design panel (which was a little more impromptu, I was asked to moderate the morning of :P), but was still good.
735.
▲
DjangoCon Talk Videos Starting to Go Up
(djangocon.blip.tv)
39 points
by
kingkilr
17y ago
|
4 comments
736.
▲
by
kingkilr
17y ago
There's a level of naivete to this line of reasoning that makes this amusing. Both Google and The Pirate Bay allow you to search for torrents. The critical element that's missing making what Google does criminal is Mens Rea. The Pirate B
737.
▲
by
kingkilr
17y ago
Are you thinking of Native Client?
738.
▲
by
kingkilr
17y ago
Availabity with dynamic content is easy (ok not easy, but it's a fairly routine straightforward process). The CAP theorem says you get 2 out of the 3 of consistency, availability, partition tolerance. Just getting availability and partiti
739.
▲
by
kingkilr
17y ago
Actually the merge wasn't done using SVN. Russ didn't want to deal with svnmerge, so he just took the diff from git and applied and committed it.
740.
▲
Django Multiple Database Support Merged
(code.djangoproject.com)
1 points
by
kingkilr
17y ago
|
0 comments
741.
▲
by
kingkilr
17y ago
Oh man, major memory lane: "its not mu fault, replace existing file?".
742.
▲
by
kingkilr
17y ago
It's not so much writers block with me as that I don't necessarily have the best sense of what my writer's want to hear. I write about very technical content, and very between explanations of advanced topics, introductions, and opinion pie
743.
▲
by
kingkilr
17y ago
Uhh, every piece of code in Python "invokes the GIL". That's the point, it's a single global lock on the interpreter.
744.
▲
by
kingkilr
17y ago
The mark and sweep collector is a little more complicated than that. It doesn't use a single "seen" bit the way a normal GC header would, instead it uses the refcount itself in very, very clever ways
745.
▲
by
kingkilr
17y ago
I'm a big fan of Nathan Borror's stuff: http://nathanborror.com/ Also Wilson Miner: http://www.wilsonminer.com/work/ And Greg Newman: http://carbon8.us/ Keep in mind that I don't know many designers, so I've pretty much just listed al
746.
▲
by
kingkilr
17y ago
This reminds me of the book More Sex is Safer Sex by Steven Landsburg.
747.
▲
by
kingkilr
17y ago
Are there any advantages to running this over Chromium?
748.
▲
by
kingkilr
17y ago
Why do some people have their religion listed (or atheist/agnostic) but others have inheritance?
749.
▲
by
kingkilr
17y ago
They ultimately weren't removed. reduce was removed from the builtins , but it's still just one import away. From itertools import reduce.
750.
▲
by
kingkilr
17y ago
The djangocon videos are all recorded (obviously :P) and edited, but they can't be released for some reason. I don't have a clue what it is though :(
More ›