Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zedshaw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
631.
▲
by
zedshaw
16y ago
> I find the Arc version much more readable, even though I have never used Arc. I find the intellectual dishonesty of fanbois irritating.
632.
▲
by
zedshaw
16y ago
Yeah I gotta work on that code some.
633.
▲
by
zedshaw
16y ago
The trick is to go far enough to improve readability, but not so far that the programmer has to remember all the metaprogramming or (worse) why you did it in the first place.
634.
▲
by
zedshaw
16y ago
I'm all for people writing their own inspired rendition of the book, since it's a method that works. I'm helping a couple folks right now actually. But the last thing I want is some half-assed copy of my book out there where some dude just
635.
▲
by
zedshaw
16y ago
No, I disagree with most of this. A LTHW book covers just enough of the language that someone could then go learn the things you mention from another book. At the end you could lightly cover testing, but most people can barely get an edit
636.
▲
by
zedshaw
16y ago
My plan was to make people use valgrind all the time after about lesson 10. Rather than you having to teach them all the various errors, you just let valgrind teach them by telling them their stuff must be valgrind pure. Other than that, p
637.
▲
by
zedshaw
16y ago
I actually got pissed at an editor who tried to change that. Poor guy. :-)
638.
▲
by
zedshaw
16y ago
I based the price on The Little Schemer, which is even smaller, has even less instruction, and goes for $29 retail, $23 street. If TLS were 8.5x11 like mine it'd be 30 pages long.
639.
▲
by
zedshaw
16y ago
You should go grab valgrind and run your programs under it all the time. It'll help you spot and avoid those annoying memory errors.
640.
▲
by
zedshaw
16y ago
Cool, thanks a bunch. Seems the voting is C, then R, then ChucK.
641.
▲
by
zedshaw
16y ago
Yeah, it's a tough call. I can see R being very useful, but ChucK is way more fun. C just seems like a book that needs to be written before the "learning C sucks" situation gets worse.
642.
▲
by
zedshaw
16y ago
Thanks!
643.
▲
by
zedshaw
16y ago
Yeah I love BBSes. Seems a lot of other folks like them too so I'm going to continue hacking on this as the official "something more than chat" demo.
644.
▲
by
zedshaw
16y ago
That'd be super slick. BTW, you're the guy that wrote sidereal right? I'm using it for the redis action. Very nice.
645.
▲
by
zedshaw
16y ago
Thanks, that also has a bug but people who try it should know how to fix it. Basically if it bombs because you don't have json then delete the line of code as it does it correctly further down.
646.
▲
by
zedshaw
16y ago
There's actually a theory of what makes a complete coroutine, similar to what makes a complete closure. I don't remember all of it off the top of my head, but it's basically: 1. coroutines act as pipes that can send (yield) and receive val
647.
▲
by
zedshaw
16y ago
Download links were busted, I fixed them.
648.
▲
by
zedshaw
16y ago
Check out his book since it looks like it might be good, but if you really want to learn Python and need a good place to start, I've written one: http://learnpythonthehardway.org/ It's free, you can download a PDF, and you can hit: http:
649.
▲
by
zedshaw
16y ago
That looks really cool. I'll definitely grab a copy when it comes out.
650.
▲
by
zedshaw
16y ago
The rails-core guys would frequently hit a site, and then pull down the rails logo they silently dropped into everyone's directory. That or they'd look for Mongrel headers. Also, eventually all the employees at these companies leave and t
651.
▲
by
zedshaw
16y ago
Well then thank you. I mean it's not my project, but it helps other people.
652.
▲
by
zedshaw
16y ago
Bullshit. They may promote some illusion of quality, but having seen both internet startups and massive banks I can tell you they're huge liars. They're all about the illusion of quality and selling it, and not any actual quality. Banks co
653.
▲
by
zedshaw
16y ago
Sourceforge? Ohloh collects stats and information from all over, they even have a Mongrel2 project page and I've never set it up. I'm pretty sure you're mistaken about the kind and quality of data they collect, but who knows. Their blog
654.
▲
by
zedshaw
16y ago
If you read the article, I'm saying the rise of consumer internet companies who don't keep up the contract is one of the causes. Just because your company does maintain the contract doesn't mean there aren't 100s more who are doing the w
655.
▲
by
zedshaw
16y ago
I do not use Debian. I have Ubuntu on a laptop to support my user base who use Debian, but I run ArchLinux, Fedora, FreeBSD, NetBSD, and OSX on all my other computers and servers. I also don't make money on these systems, or I pay for t
656.
▲
by
zedshaw
16y ago
That's actually another good way to say it, and is sort of what I said. But, not everyone has the same risk tolerance so it can't be the sole cause otherwise people would have done it sooner than 2009. Another contributing factor is corpor
657.
▲
by
zedshaw
16y ago
Actually I think most open source doesn't depend on companies paying someone to work on it. I also think that during an economic down turn you see more. But, that's just my experience and (like you) I have no data to back it.
658.
▲
by
zedshaw
16y ago
Their tracking is probably imperfect, but it seems like a reasonable indicator. I'm still waiting to see if their data has some flaw, or maybe if github has more. However, that data wasn't the point, just an indicator.
659.
▲
by
zedshaw
16y ago
> Explain the hypothetical boss it is a bit like an ELF format, but for configuration. He does not recompile every executable every time before running it, does he? That's a good point. Mongrel2 config files == .c files, m2sh == make
660.
▲
by
zedshaw
16y ago
You don't have to replace anything, there are config files. Look in examples/configs/ and you'll see examples of configs.
More ›