Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tdavis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
481.
▲
by
tdavis
18y ago
Ruby will throw an error if you do this with a regular hash So, why not just let it throw an error? The interpreter is expecting one thing and gets another -- that's a type error right there. Why bother with anything else? (ie. looking u
482.
▲
by
tdavis
18y ago
Maybe I don't really understand Ruby, but isn't it basically a duck-typed language? Why would you be checking the type at all (which I am assuming `is_a?` does)? Type checking is evil for weakly-typed languages. Either it implements what yo
483.
▲
by
tdavis
18y ago
I commend you for that, though I have no desire to clean up the messes of others. What would you have me do? Learn Ruby and start rewriting modules? Teach proper metaprogramming to the ignorant masses? The first step to fixing a problem, in
484.
▲
by
tdavis
18y ago
It disgusts me on levels I cannot describe that this is standard operating procedure for ruby modules (gems, etc) and is the main reason I could never use it. Adding and replacing methods on builtin classes? Are these people out of their mi
485.
▲
by
tdavis
18y ago
I pride myself on having nearly no ethical or moral constraints, but damn, "Life is short, have an affair!" is a bit much even for me. And considering it costs roughly $2.50 to send an email it might be cheaper in the long run to just get a
486.
▲
by
tdavis
18y ago
I must have a very aggressive GC because my memory is all but worthless for everything besides code.
487.
▲
by
tdavis
18y ago
Sorry, but I have to dismiss this as Obie protecting his economic interests as an owner of a Rails consultancy This was my exact thought. After reading his claims to Alex's "agenda", I looked at the sidebar and saw that he's written four
488.
▲
by
tdavis
18y ago
Unless the service was in the habit of selling impossible domain names, it shouldn't matter ;) I intentionally left out the hyphen because it isn't a very desirable character.
489.
▲
by
tdavis
18y ago
Not to be "that guy", but that isn't really a regular expression unless you are searching for nan.com, nano.com, nanoo.com, etc. I think you want: ^nano\w+\.com$
490.
▲
by
tdavis
18y ago
I still meet people, both in real life and most recently in #startups, who don't use any sort of 3rd-party libraries or frameworks; they hand-code everything. I've been trying to explain for years how completely ridiculous that is for 95% o
491.
▲
by
tdavis
18y ago
Github, Lighthouse, Google Apps, Pingdom. That's all I can really think of at the moment. Hosting is situated firmly on the ground, so no AWS for now.
492.
▲
by
tdavis
18y ago
It probably has to do with the ultimate irrelevance of the information being presented. I read the headline and cared for all of 2 seconds. If you were a respected pundit and you said "Global warming will kill us in a year if we don't all b
493.
▲
by
tdavis
18y ago
We used to take the picture approach on one of our blogs because it helped traffic so much. Certain posts would include pictures of scantily-clad cheerleaders for some team that was involved in the post (the ones with under-boob were my fav
494.
▲
by
tdavis
18y ago
The waste, at least to me, is that the site is setup in a way that hinders the use of those images. They can only be downloaded one at a time (Dan does a LOT of clicking ;) and there's not even an API. Part of me wants to contact these guys
495.
▲
by
tdavis
18y ago
Addendum: SlideShare learns the hard way that the Internet is Serious Business™
496.
▲
by
tdavis
18y ago
Man, S3 is 3 years old already? I'm not sure whether to feel old or wonder where those years went. Feels like they launched just last year.
497.
▲
by
tdavis
18y ago
This was worth it just to remind me of After Dark; I remember owning that program. I loved those damn toasters... I'm surprised they didn't mention Voodoo. I still have a few of their graphics cards lying around.
498.
▲
by
tdavis
18y ago
You need to approach it like any other habit. Take smoking. At first, smoking sucks so you actually have to work at it to make it a habit. Eventually it becomes rewarding to smoke. Exercise is no different, except for the fact that it's act
499.
▲
by
tdavis
18y ago
Honestly, I don't even agree with me. That comment came out wrong. What I meant to say was that I feel it is obtuse to say something like "you will probably have a hard time with Ruby if you have a hard time with this goofy book."
500.
▲
by
tdavis
18y ago
Claims like this bother me, whether about Ruby or Python. a programming language is simply that -- a language used to program computers. It doesn't have a personality. It has a distinct syntax, methods, etc. It is the community which gives
501.
▲
by
tdavis
18y ago
There are no "linux web frameworks" either, aside from Rails I guess, because I don't know of any currently popular language other than Ruby that doesn't really work on Windows.
502.
▲
by
tdavis
18y ago
pp (parallel python) supports a pool of machines for handling parallel tasks. She's a bit rough around the edges, but can generally get the job done.
503.
▲
by
tdavis
18y ago
"I finally gave up trying to get ruby talking to MySQL on my home windows box and just moved everything over to linux" I'm not a Windows fan by any stretch, but it seems like people put up with a lot of shit to use Rails; why would you ch
504.
▲
by
tdavis
18y ago
As a huge fan of Django, Python, and both communities I would like to point out a few more things: - Always track the trunk, there's really no compelling reason not to. It's always extremely stable and full of new features you won't find in
505.
▲
by
tdavis
18y ago
So I can trade hard-to-find but easy-to-consume for easy-to-find but hard-to-consume? That isn't really my definition of "progress". Oh, and in reality, these documents are actually less accessible once they are indexed and put in Flash,
506.
▲
by
tdavis
18y ago
It isn't solved until it is wrapped in a proprietary, inaccessible, bloated format like Flash. Or rendered within Javascript so you can get cool page-turning effects. Or put in a PDF inside a PowerPoint which can then be downloaded via a li
507.
▲
by
tdavis
18y ago
Of course you're going to get downmodded, you didn't even make an argument originally! Nobody is buying tickets so kids can't get them. They're buying them to re-sell them at a higher price because there is a market for tickets at that pric
508.
▲
by
tdavis
18y ago
Yes, you really can do just about anything with Python. And there's probably a library for it.
509.
▲
by
tdavis
18y ago
Fellow YC companies don't need a lot of convincing for this sort of thing usually, we pretty much just assume fellow companies are making something awesome and use it straight off.
510.
▲
by
tdavis
18y ago
Start charging for this. Now. I'm not even using EC2 yet and I want to pay for it.
More ›