Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zedshaw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
871.
▲
by
zedshaw
16y ago
You can try my free book I'm working on: http://learnpythonthehardway.org Go through each less, spending a week or more on each one if you need to. Contact me any time if you run into problems (@zedshaw on twitter is best). I'm not tota
872.
▲
by
zedshaw
16y ago
Using a SQLite database doesn't mean you can't use fabric, so it's not going to work better or worse . You see the difference? So far nothing you've said invalidates sqlite files or sql as a configuration interface. The version challenge
873.
▲
by
zedshaw
16y ago
Dude, why are you violating that restraining order? Do I have to call the cops. :-)
874.
▲
by
zedshaw
16y ago
That's possible, and probably not too hard, and man oh man would the hackers love a compiler right in their web server. :-)
875.
▲
by
zedshaw
16y ago
First off, way to not use a paste site. :-) Second, no, they're not heirarchical, you're just used to them being that way. They're data structures, which are organized however I like them. In nginx they're hierarchical, in Mongrel2 they'l
876.
▲
by
zedshaw
16y ago
Ohhhhhh, I see you want huge swathes of commented out sections, bizarre syntax for routing, and lots of nesting that makes no sense and has lots of repetition. I'll get right on that. Seriously though, SQL's been proven capable of doing al
877.
▲
by
zedshaw
16y ago
First, no, if you actually read the nginx code for modules they each have to define their own little schemas in raw C code using some undocumented or barely documented C structs. In the sqlite3 database any modules I do will be equal citiz
878.
▲
by
zedshaw
16y ago
I'm solving the problem of migrations, automation, tooling, and simplicity. Yes, you can do the many of the same things in both, and if you're an old school "I-ssh-into-100-boxes-all-day" sysadmin then they're the same thing. If you're a m
879.
▲
by
zedshaw
16y ago
Nope, it's a different solution to the same problem. Like you said, if they're equivalent solutions, yet the sqlite3 one is simpler (code is smaller by far) and has other advantages (migrations, tooling, schema) then sqlite3 wins. Also, I
880.
▲
by
zedshaw
16y ago
So, everything you said applies to SQL. SQL is a DSL (and a standardized one). SQL is text, so it can be versioned, you can back it up, and you can do it also the .sqlite file. You can also do -HUP to reload configs, nothing about SQL or
881.
▲
by
zedshaw
16y ago
You need to learn about control and responsibility. See, you have become responsible for your work, but you were not in control of it. Your employers have controlled it, and you let them by not pushing back on their decisions, which is un
882.
▲
by
zedshaw
16y ago
First, learn to say no. You can do it politely and still say it, and it's not rude or aggressive to just say no. Second, get a task list, put all of his/her suggestions on them. Use something like trac or redmine or whatever. Even better
883.
▲
by
zedshaw
16y ago
First off, speed is not scalability. I think we need to start talking about "scalability" in terms of the "speed" / "cost". I can get billions of req/sec if I have billions of dollars. What scalability should be is getting as much as you
884.
▲
by
zedshaw
16y ago
Well, this is only the beginning. Right now it proxies, and that was one week or so of work. Next it will really pick up web server features: routing, configuration, serving files, etc. That's why "Self-Hosting" was in quotes. It's self-
885.
▲
by
zedshaw
16y ago
Ruby Mongrel is both GPL or Ruby licensed, mostly to keep Debian happy. Mongrel2 however is AGPL.
886.
▲
by
zedshaw
16y ago
That stuff is 1:1. I'm shooting for N:N. For example, that chat demo is taking an individual request from a browser, passing it to a backend, and then that backend can reply to N number of other browsers on the Mongrel2 server. All asy
887.
▲
by
zedshaw
16y ago
Pretty simple really. Instead of trying to control how I spend your time, I try to take advantage of whatever time I have to do what I'm feeling like doing. A key part of this is reducing the amount of bullshit and setup time necessary to
888.
▲
by
zedshaw
16y ago
No! I invented trolling!
889.
▲
by
zedshaw
16y ago
That's very true. There's only so far a parser can go at keeping the protocols straight. Thankfully most protocols are designed to be really different so it's easy to do this right now. If I ran into a protocol that didn't work in this w
890.
▲
by
zedshaw
16y ago
I do "Time Opportunism" rather than "Time Management". It's a subtle difference, but works incredibly well when you're in a creative+technical discipline like coding, writing, or music.
891.
▲
by
zedshaw
16y ago
Yep, Apache is great at doing everything sort of alright.
892.
▲
by
zedshaw
16y ago
Well, it doesn't get much simpler than JSON over 0mq. I think Mongrel2 will actually have to include some turing complete language since there's no way I could anticipate what people will want to modify with it. If there's one thing I kno
893.
▲
by
zedshaw
16y ago
Port 80. This means you can make web apps that use all available protocols but only need to know about port 80. Gets through firewalls, cuts down on configuration, and it's not too hard to do in the server.
894.
▲
by
zedshaw
16y ago
"User management" in other systems involves either copying ssh keys or using a service like github. If it's Trac you're talking about then depending on the version either you're doing command line operations that make no sense, or maybe yo
895.
▲
by
zedshaw
16y ago
Sigh, bullshit. I do this every day and it's just fine. You must be referring to some other concept of rename in some bizarrely complicated configuration you've worked yourself into.
896.
▲
by
zedshaw
16y ago
Yes, if you narrowly define VCS as "shoves code around". If you define it as "versioning the code and related project material" then it's exactly what should be in the tool. In fact, I predict this will be the next iteration of project ma
897.
▲
by
zedshaw
16y ago
No he's full of it. Branches are just tags on leaves. In fact, you can read about it on the website, but of course that'd involve actually trying to understand something first before talking about it.
898.
▲
by
zedshaw
16y ago
This is load of FUD and you know it. First, your claims are completely from your experience, like email patch management. Only a few projects use that, and most just tell you to put it in a Trac or similar. Second, all the things about "n
899.
▲
by
zedshaw
16y ago
You get what you give. I tried for a long time being nice and gentle online and I've found that there's a class of hackers who act like bullies anyway. They'll slander you, try to ruin your job prospects, lie about your personal life, eve
900.
▲
by
zedshaw
16y ago
I find it bizarre that you can come onto a forum like HN and insult me, call me an asshole, and effectively slander me and that's quite alright. You're totally not an asshole at all. But if I out-rant a dude who compares me to Lady Gaga an
More ›