Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drostie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
118 ms
·
751.
▲
by
drostie
14y ago
It's one of those things that bugs me about the early chapters of the novel Nine Princes in Amber : He glared at me, I don't know how long. Finally, "I haven't got a thousand here," he said. "Name a compromise figure," I
752.
▲
by
drostie
14y ago
Bear with me, this won't seem immediately relevant, but I'll get to the point. I have at various times created solvers and helpers for the sorts of logic puzzles you sometimes see in newspapers alongside the crosswords -- you can find a bun
753.
▲
by
drostie
14y ago
I'm I guess a little hesitant to follow up on these because the original post is getting strongly downvoted, but I tend to agree somewhat. This is the same as I was telling people at the company -- "just use the PHP API we've developed!" It
754.
▲
by
drostie
14y ago
"The fold" is important in many places; games and other web applications should indeed be visible from the start. It's true, we have now scroll bars and scroll wheels and scroll areas on our touchpads, so it's not as important as it was i
755.
▲
by
drostie
14y ago
Dear tech journalists, please stop saying stuff like "But we have yet to find out why nobody objected to them protecting 150+ million user passwords with 1970s methods." We do know why people use SHA1(unsalted password), and it's because
756.
▲
by
drostie
14y ago
Nice to hear. I had thought that perhaps one of their higher-ups had used the same pass on LinkedIn as on Last.fm and had noticed suspicious activity. Now I know that they just googled to see, "oh, did anyone hack us? they did?! OVER A YEAR
757.
▲
Video of the recent transit of Venus across the Sun
(youtube.com)
1 points
by
drostie
14y ago
|
0 comments
758.
▲
by
drostie
14y ago
In Firefox 12 I get in Firebug the error message : Error: Showdown is not defined (n)@http://2879097.run-a-gist.herokuapp.com/application.js:8 d((function ($http) {var showdown;showdown = new Showdown.converter;return {restric
759.
▲
by
drostie
14y ago
I just wish we could see more directly a sense of how little we know about good nutrition. My favorite example is Vitamin B12, mostly because I learned the story when I reduced my meat consumption to about once a month. So there's this fami
760.
▲
by
drostie
14y ago
It perhaps also fulfills that story-role, yes. Nonetheless, it shouldn't be contrary to your expectations, if you apply a little wisdom. I find in my own case that the things which bug me about others are things which deeply bug me about my
761.
▲
by
drostie
14y ago
It's in the same sense that PHP is a programming language -- Django has its own idiomatic templating language with loops and other such constructs. It looks like this: {% extends "base.html" %} {% block title %}My amazing blog{% e
762.
▲
by
drostie
14y ago
They just said copy-on-write. I'm not entirely sure about the exact interplay between shred and btrfs, but shred nominally just writes random data to the file that was already there -- if you copy-on-write that, then you are just copying ra
763.
▲
by
drostie
14y ago
I had that problem at one point. I vaguely recall that I unmounted my home partition and fscked it at one point to find the fragmented inodes, then there was complicated magic to find the filenames that those inodes referred to, and then th
764.
▲
by
drostie
14y ago
Maybe ZFS/btrfs users don't care, but I would be really hesitant before using a filesystem which does not respect the Unix `shred` tool. Like real paper-shredders, I don't use them very much but when I do use them I really hope that they wo
765.
▲
by
drostie
14y ago
It was so absolutely nice that NUMB3RS hired actual applied math geeks to write the equations that their statistician uses to solve crimes. If only they had hired a computer geek to write the crap about the Turing test. ;_;
766.
▲
by
drostie
14y ago
I am impressed. I thought you were surely wrong, then I checked it in Firebug, then I checked it in the ECMA-262 standard, and yes, a >>> b is indeed a uint32 operator.
767.
▲
by
drostie
14y ago
JS defines three bitwise shifts which work the way C works on signed int32's: [ 1 << 30 === Math.pow(2, 30), 1 << 31 === -Math.pow(2, 31), 0xf0000000 >>> 1 === 0x78000000, 0
768.
▲
by
drostie
14y ago
Agreed. I don't think I've ever come anywhere near an application which was significantly slowed down because it did too many float-to-int conversions. Thankfully, JSLint will complain about people using the bitshift operators in practice.
769.
▲
by
drostie
14y ago
That's pretty much true, distribution for content will be a nightmare -- but that's due to the content-distributors being crazy and not so much due to the device being crazy. So, like, just to be totally clear, the business which doesn't ha
770.
▲
by
drostie
14y ago
Of course you could probably write an s-expression serialization of XML as a macro, and then you could start writing things like: (html (head (title "My page") (script :type "text/javascript" :src "/static/page.js"
771.
▲
by
drostie
14y ago
(1) The trick for resizing is, we only rehash all k elements to recalculate buckets every k inserts or so, and we double the hash table size. So, if you imagine that you just came from a resize, you had k elements and had performed N(k) has
772.
▲
by
drostie
14y ago
My problem is more that I never know what to test. I mean, suppose I have some nontrivial code -- one of my latest random projects contains this: def permute(tpl): """Gives the set of valid permutations for this tuple."""
773.
▲
by
drostie
14y ago
Email has a lot of warts besides its obvious graces, especially when you look at the back-end of how emails are actually stored and transferred and authenticated. So I think we as programmers are naturally drawn to the idea of developing th
774.
▲
by
drostie
14y ago
Usually, what happens for me is, I spend from 10-6 working on my Master's thesis or occasionally distracted, I spend from 5:45-7:30 playing Ultimate (a running sport with a frisbee) with some friends two days out of the week, I hop down to
775.
▲
by
drostie
14y ago
Before Survivor entered Reality Television into the collective unconscious, there was already a predecessor: Judge Judy. Judge Judy was precisely the sort of arbiter that judge.me aspires to be -- including the somewhat-misleading terminolo
776.
▲
by
drostie
14y ago
As low as my opinions of GoDaddy have fallen, the more I think about it, the more I think that Candice was probably trying to cut costs and inadvertently tied GoDaddy's arms behind its back. The GoDaddy "Deluxe 4GH" plan costs $6/month and
777.
▲
by
drostie
14y ago
You're right. Thank you for the suggested reading.
778.
▲
by
drostie
14y ago
When Rich Hickey announced ClojureScript he said "Why are we doing this? Because Clojure rocks , and JavaScript reaches ." The simplest reason is because JS is the Language of the Web. It's worth wondering why this is, and I don't really
779.
▲
by
drostie
14y ago
Please consider showing more of the variation and including more information about it in your results. You conclude, for example, that "In general, it can be concluded that people can and do make snap judgments about personality and abiliti
780.
▲
by
drostie
14y ago
Okay, so apparently it's more of a community endeavour with existing tools than a new tool that they've constructed for the purpose. The original WorldWideWeb browser by Berners-Lee actually was able to edit hypertext, although I'm not cert
More ›