Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zedshaw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
811.
▲
by
zedshaw
16y ago
A good writer entertains readers and makes them think while getting his point across. Boring writers try to not offend anyone.
812.
▲
by
zedshaw
16y ago
First off, I didn't insult you by name right? Which means I didn't insult _you_ I insulted your ideologies. To me there are no kings or heroes to worship. If you get offended because I disagree with you then you're not intellectually hon
813.
▲
by
zedshaw
16y ago
Ah, I'll take a look at that, but actually I was describing 0MQ not TCP. Did you mean I should describe what 0MQ is first?
814.
▲
by
zedshaw
16y ago
Well, actually if I got a million donations I'm pretty sure I could: A) Hire a bunch of people to enter them in, if it were important. B) Just use my lamsonproject.org software to automatically make a list of contributors. Because, you see,
815.
▲
by
zedshaw
16y ago
Yes, any human belief is a religion and temporary. This is just a religion that tries to accept all of them, kind of like Unitarians. :-) (BTW, obvious troll is obvious).
816.
▲
by
zedshaw
16y ago
As well as language religion, I hate license religion. I GPL things I think will only attract douchebags if it were totally free, like with Lamson. I AGPL things mostly as a joke, like I did with MulletDB. In this case, I believe the caus
817.
▲
by
zedshaw
16y ago
There's about 5 people who've made contributions, mostly in writing external projects to implement protocol handlers for their favorite language (C++, Ruby, PHP, and Python so far). Most of the work is done by myself though since it's rath
818.
▲
by
zedshaw
16y ago
Technically, any protocol if it's going to succeed is language agnostic. It'd be retarded to do a language specific protocol unless you're like Erlang and don't have to care about other languages as much. The difference is Mongrel2 makes t
819.
▲
by
zedshaw
16y ago
Don't lie, you know you couldn't keep that promise. :-)
820.
▲
by
zedshaw
16y ago
Oh, you have to read that in the voice of The Comic Book Guy. Then it's fucking hilarious. Here try it: "You sthee const const &const char[const ] is the proper way to make a thruly safe reference to a conthst char array conthst poi
821.
▲
by
zedshaw
16y ago
2.0? You really trotted out that cliche? Ok, I'll one-up you: 2005 called, they want their joke back.
822.
▲
by
zedshaw
16y ago
Grace is absolutely awesome. The value type and format syntax are exactly the way it should be done.
823.
▲
by
zedshaw
16y ago
It's actually possible to make C++ nice, the Grace library is wonderful. If I ever have to C++ again I'm totally grabbing it and using it. The Grace value types and type safe format operations are just the best thing ever. My problem thou
824.
▲
by
zedshaw
16y ago
Embed V8 into Python, then tell me how great C++ is. In other words, C++ is great until something else has to call it. Then you're hosed and end up wrapping everything in C anyway.
825.
▲
by
zedshaw
16y ago
Well, we can agree to disagree here, but my belief is that OO is a impedence mismatch for writing "low-level efficiency of direct pointer manipulation and other C features". It's kind of like saying, "There is no 16 wheel semi truck that c
826.
▲
by
zedshaw
16y ago
I think this is a key point, the language doesn't matter as much as the capability and training the people using it have. This is why all these language arguments are rather irritating, because I'll typically use what works best. On some
827.
▲
by
zedshaw
16y ago
Actually, this is what I loved about Grace. It was like all the crap that pissed me off about C++'s design decisions just went away. It made C++ so nice to work with.
828.
▲
by
zedshaw
16y ago
No, more a nod to Lisp getting "metaprogramming" right when C++ screwed them up. If I've gotta do it, I'd rather do it in a language where the turing completeness wasn't designed to be a tarpit.
829.
▲
by
zedshaw
16y ago
Yes, I think this is the funniest thing about C++. Everyone who loves it thinks it's the most popular language...well except when compared to C. Basically, until you can kill C your language really isn't that popular. It's a fad by compari
830.
▲
by
zedshaw
16y ago
You Sir, win a dollar! I think to make the joke really clear I'd have to add a few more consts and some pointers in there.
831.
▲
by
zedshaw
16y ago
I'd say, learn Python or Ruby, doesn't matter, but try them both for a few days. One will click and the other won't. If you go the Python route, I've got a free book I'm working for beginners that might be too beginner for you: http://lea
832.
▲
by
zedshaw
16y ago
Oh, laying around, relaxing, getting good sleep, are all healthy things to do. What will mess you up is contorting your body while you type, which includes laying down, propping your feet up on the desk, or just generally not sitting comfo
833.
▲
by
zedshaw
16y ago
Hey, so, I've been coding and playing guitar for ages, two things that definitely give you carpal tunnel. But I also studied Aikido and Judo, two things that give you strong flexible wrists. This means that I generally rarely get pain i
834.
▲
by
zedshaw
16y ago
I think the traditional way of configuring a unix service manually using a random config file format that hides the underlying data structure is a bad choice. I'm trying to provide a way to automate things, and the best way to do that is w
835.
▲
by
zedshaw
16y ago
Check out "Practical State Charts in C/C++" by Dr. Miro Samek.
836.
▲
by
zedshaw
16y ago
I had them in there, but was having a problem getting the base state machine right, so took them out. Cool that you noticed though.
837.
▲
by
zedshaw
16y ago
Well, knowing haproxy user, it is embed into your infrastructure like a tick, so it probably wouldn't help you. My experience has been, if it ain't broke don't fix it. But, if I were to do an alternative, I'd basically ditch haproxy and ng
838.
▲
by
zedshaw
16y ago
Exactly, or another way to do it is, "I have problem X, how can I make it go away without solving it." Either by designing the thing so I don't need to solve X, or by finding someone else who's already solved it for me.
839.
▲
by
zedshaw
16y ago
Well, this is long polling from any backend, not from within mongrel2. So your 0MQ handlers can respond to any connected HTTP or JSSocket, which other servers can do given the right design. However, what I was more referring to was that by
840.
▲
by
zedshaw
16y ago
Thanks! I appreciate the compliment. That's the general goal, but with all things, it remains to be seen how easy it is to actually do this. It's really easy for me to do it in C code, but the key is how to make it easy for other people
More ›