Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jiaaro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
jiaaro
16y ago
That's a pretty interesting idea. Right now I'm in the "My Weekend Project" stage (I havn't even finished setting up paypal) but maybe at the very least, I could get advice from them? What's a good way to ask? Do you think they'll be bound
152.
▲
Ask HN: How do I take advantage of a competitor closing down?
24 points
by
jiaaro
16y ago
|
16 comments
153.
▲
by
jiaaro
16y ago
I think that python is sufficiently different from javascript that you'll need to provide your own documentation beyond explaining the transformation. Coffeescript is mostly just javascript shorthand; Python on the otherhand has language fe
154.
▲
by
jiaaro
16y ago
the primary way that people are doing this is using the css3 text-shadow property. for example: h1 { text-shadow: 0 1px 0 #ccc; } the syntax here is: text-shadow: x-offset y-offset blur-radius shadow-color;
155.
▲
by
jiaaro
16y ago
for javascript in the browser jQuery is a godsend. if you like functional programming check out underscore.js jquery ui is a jQuery plugin that eases many ui tasks, but be careful - it's easy to go overboard.
156.
▲
by
jiaaro
16y ago
when you're using a chisel on stone. you need to hit it straight down, creating a divet (the serif) to get the cut started. If you put the chisel diagonal and hit it with a hammer right off the bat, it just slides across the stone, and you
157.
▲
Meebo looking for Node.js Developers?
1 points
by
jiaaro
16y ago
|
0 comments
158.
▲
by
jiaaro
16y ago
haha I was wondering the same thing: http://esploded.com edit: I have the code for expiring files in my local mercurial branch, and I've been wondering whether to push it edit2: I don't think your design is so bad :) I was thinking of the
159.
▲
by
jiaaro
16y ago
how about datamining services? lots of data goes in, only aggregated data goes out (much smaller)
160.
▲
by
jiaaro
16y ago
this code solved the problem in under 1 second. I would say for code that is executed one time ever, even including the sqrt(n) part is premature optimization (though I did include it)
161.
▲
by
jiaaro
16y ago
Wind chill doesn't affect things that don't attempt to maintain a warmer temperature than the environment. Wind chill is the effect of cool air passing by a warm object taking away it's heat energy more rapidly than stagnant cool air surrou
162.
▲
by
jiaaro
16y ago
solutions in python http://gist.github.com/617686 about 30 lines of code in the tersest style, 40ish in the readability-obsesssive style I prefer
163.
▲
by
jiaaro
16y ago
but at that point who cares if it's compiled or not?
164.
▲
by
jiaaro
16y ago
How does it handle absolute positioning? scrolling? Firebug to the rescue: - absolute positioning works great - content overflows (so it still needs some scrolling solution)
165.
▲
by
jiaaro
16y ago
ahh... For some reason I thought it was showing request volume
166.
▲
by
jiaaro
16y ago
Just about the only thing you can use at all is the javascript api. And only because you can use firebug to throw a million things at the wall and see what sticks. ...and for the love of god don't use facebook for user auth. The API will my
167.
▲
by
jiaaro
16y ago
I believe the hot issue is truncating by characters. the slice template tag doesn't quite get the job done because it will not intelligently add elipsis
168.
▲
by
jiaaro
16y ago
It does have the important disadvantage that you can not revoke access to anything. If someone has seen it once, they can see it again. On the other hand, who cares... it's also in their browser cache
169.
▲
by
jiaaro
16y ago
It seems like node performs better at the bottom of the curve where most of us are likely to be. Can the performance issues be solved by adding hardware? (or spin up more node processes so that each one stays at the bottom of the curve?
170.
▲
by
jiaaro
16y ago
it is
171.
▲
by
jiaaro
16y ago
opening and reading a file: in_file = open("/path/to/file.txt", mode="r") out_file = open("/path/to/file.html", mode="w") out_file.write("<html><head><title>my doc</title></head>
172.
▲
by
jiaaro
16y ago
Google makes him say it ;)
173.
▲
by
jiaaro
16y ago
you don't use git, do you? :P
174.
▲
by
jiaaro
16y ago
I think they're still around, but like you said, they're not as exciting to talk about... So as you'd expect, less people are talking about them
175.
▲
Python/Javascript - Deferred Processing trick/hack
(jiaaro.com)
2 points
by
jiaaro
16y ago
|
1 comments
176.
▲
by
jiaaro
16y ago
I'm pretty sure Skype, and gchat both have a public API. Not sure about others
177.
▲
by
jiaaro
16y ago
Easter egg telling you to worship the devil... Delicious irony
178.
▲
by
jiaaro
16y ago
your code sounds like an excellent way for a programmer of CrapplyLang to learn perl ;)
179.
▲
by
jiaaro
16y ago
I think one of the main reasons for that is to make it simpler to use. The API is so simple it almost looks like the api to a cache
180.
▲
by
jiaaro
16y ago
I believe each node may have an arbitrary number of children. The problem definitely says that a leaf node will have an empty array as it's children property
More ›