HNHacker News
TopNewBestAskShowJobs

tiredofcareer

633 karma · joined March 20, 2013

submissionscomments
tiredofcareer··on Linode SSD Beta
I think you're unnecessarily combative in the face of advice and sitting comfortably atop your pillar of experience, ready to shoot down anyone that dare take time to offer you advice. You've appealed to your authority on this matter more times than I can count. Look at how you've approached the conversation from the very first reply, which set the tone for the rest:

    - I've been using WP Supercache since it was released
    - [I've been using] Nginx for I think 4 years at this point
    - Basically, I was there
    - I saw the numbers and I know why they wound up looking the way they did
    - I've been running Wordpress blogs since 2004
    - You clearly don't understand what my problem is
Now I've asked you something specific. You've lamented that you identified the issue as on-disk joins, when MySQL has to resort to an on-disk temporary table due to a TEXT column. That's discussed here[1]. I'm assuming, because I didn't assume you are stupid (unlike in the inverse), that you deduced this was the case by inspecting created_tmp_disk_tables. I then asked if you tried removing the disk from the picture by creating a RAM disk, mounting it somewhere, then instructing MySQL to use it for its temporary disk table area by setting tmpdir. I also assume you know that tmpdir defaults to the system /tmp, which might not be on a filesystem that you prefer[2]. Again, I assumed you knew these things, and just asked if you tried them.

How do you respond? "Let's ignore each other." So now I'm left wondering if you genuinely don't know how to scale MySQL, and you've tired yourself of appealing to your own authority in order to prove me wrong. What I'm telling you, is the notion that your blog network creating a workload for MySQL that it is incapable of operating on commodity disk is completely ridiculous, and I'd laugh you out of an interview if I pressed you like this. I think you gave up, but I wasn't saying it, but now that you've gone at me like this, I will. You're basically saying you couldn't make MySQL work with a <50QPS write load (I refuse to believe you're writing more than 50QPS to MySQL) because of some TEXT columns.

I'd have far more respect for you if you'd just say, yeah, I probably could make MySQL keep up with my blog workload, I just didn't put much effort into it and bought SSDs on a provider I don't prefer instead.

(But wait: I don't understand. Username oddly appropriate.)

[1]: http://dev.mysql.com/doc/refman/5.0/en/internal-temporary-ta...

[2]: http://dev.mysql.com/doc/refman/5.0/en/temporary-files.html

tiredofcareer··on Linode SSD Beta
> Sarcasm aside, you clearly don't understand what my problem is.

Yeah, I spent this entire thread clueless about the issue you're running into, even though you spelled it out a few different times because you think I don't get it. Wordpress falls over under normal site load, film at eleven.

Since you want to switch to condescension, I'm assuming wise sir moved MySQL's tmpdir to a RAM disk and found that unsatisfactory for his mystical, MySQL-breaking SELECT/INSERT workload? Also, I'm far more expensive, and I know that WPEngine is multitenancy Wordpress on Linode in the backend. (That one's free.)

tiredofcareer··on Linode SSD Beta
Got it. So you have users that expect to have real-time conversations in the comments on a blog, meaning you can't optimize a blog application like a blog is designed to be used, meaning you have to pay for SSDs in order to make your blog function at all because apparently MySQL can't handle N inserts/second and however many people have these conversations refreshing every ten seconds, generating a few SELECTs that are rapidly in query cache.

I completely understand how this could be a problem and how switching providers would fix it.

tiredofcareer··on Linode SSD Beta

    set beresp.ttl = 30s;
Varnish gives you your own throttle for how often you want invalidation. It's a tool specifically designed to make misbehaving apps -- i.e., that widget -- misbehave. You just have to slap the dog on the nose when it behaves. I'm just saying you could have made this work on Linode (and I have), but I do see your post-purchase rationalization at work, so I know anything I say will be fruitless anyway.

There's also the possibility that you had shitty neighbors.

tiredofcareer··on Linode SSD Beta
That's why Varnish is more effective, because you can configure it to cache the results of things that WP Supercache misses by design including the Recent Comments Widget and its data. If you need SSDs to run Wordpress, there's a flaw somewhere. Every time I've scaled Wordpress, caching has been the answer. Apply liberally.

WP Supercache is a hack anyway, for folks running WP on shared hosts without root. If you have root, there's a plethora of better things for caching, even as ancient as Squid as a reverse. You can get your MySQL traffic down to <1 QPS fairly trivially, no matter what kind of traffic is hitting the frontend.

Don't forget wordpress.com is a huge MU installation, and they've existed since before SSDs became popular. The disk is not your issue here.

tiredofcareer··on Linode SSD Beta
You need a cache in front of Wordpress so that it doesn't hit the database on every read, then you can run Wordpress anywhere. I survived close to 3,000 req/sec against a Wordpress entry using a single Linode 360, back when those were available.

wp_supercache, nginx, varnish, etc. Rinse and repeat.

tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
Look around at the replies to me and the downvote beating I'm taking for sharing my opinion. Turn on showdead for an even more depressing trip through my replies. Then ask yourself if this can ever come to an understanding without me seeing the "error of my ways" and adopting the "acceptable" position of this community. Then, go even further, and ask yourself if it matters one iota of a shit more than the several minutes I've already spent subjecting myself to this beating, including someone telling me I should play with anthrax and die for fuck's sake. Then turning it around on me and calling it my fault after I called him out on it (and got downvoted yet fucking again for doing so!).

The answer is, very clearly, absolutely not on all accounts. Hacker News does not tolerate dissenting opinion and that should scare you. The continued existence of this community and any contribution is plainly pointless, and while I'd invest a little time demonstrating that to you, I know that nobody will listen, I'll turn light gray, and this community will go back to having a grand old time patting themselves on the back throwing money at a Florida teenager they have never, and will never, meet nor hear about ever again.

One of the (many) problems in our discourse today is that there is no middle. No compromise. Ever. Look at American politics for an example. Even in this discussion here, there was no possible suggestion that I might be a little right, no possible seeking of an understanding, no middle ground. You either think this girl deserves our showering of praise and affection or you suffer the consequences and get grayed to nonexistence.

No, nitrogen. I'm done. You guys can have your polarized, pointless discussion, and I will go back to keeping my opinions to myself. Just like I'm pretty much done with this industry, as well, because it seems like the number of intolerable people that I have to spend nine to five arguing with, over pointless shit like this, continues to multiply until I don't want to listen any more.

I started this account when a good guy, Jesse Noller, had has life threatened by the very people in this industry for daring to intervene in the PyCon situation. I hoped that maybe, just maybe, I could effect some change and get people to see that there is a middle, there is a compromise, there is an opportunity for discussion. When I follow the community, I am rewarded with heaps of karma -- including one comment with dozens of upvotes for saying what HN wants to hear. When I dare speak against the community, as I have here, I am reminded why I keep my distance and why those of us who think rationally consider this community a heaping pile of arrogant shit. You should hear what people outside HN say about it, based on discussions like this. Congratulations, HN. You're now Slashdot. You're now the community that in a single thread compared a teenager that built a bomb in a two-liter bottle to Alfred Nobel and Marie Curie.

In the hours since you left this question for me, I went to see a film and forgot about Hacker News for four hours, and it was four glorious, wonderful hours I intend to repeat. Continuously, for the rest of my days.

tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
I was referring mainly to Hacker News and similar communities. Everybody condemning her has been downvoted to oblivion on these threads.
tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
Yeah, that was called for. Thanks for the rational, objective discourse, there, by telling me I should kill myself with anthrax because I disagree with your opinion. Just reminds me why I love the Internet.
tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
Her first statement while being interviewed was that she was performing a science experiment. That story changed under interview, and she later admitted someone told her how and encouraged her to do it. The outpouring of support from renowned scientists and legal funds happily ignored that point, and stuck with the "science experiment" angle.

So, no, this is not an anti-science campaign by the government, regardless of how really hard we want to believe that she's aspiring to science. These things will blind you and take limbs off if you mishandle them. They have blown up on police officers after being left in an alley because they didn't detonate when kids make them. Then they just leave them for other people to clean up.

Even if you buy the science experiment angle, which she herself went back on, this is a safety issue from the completely reckless way in which she performed a "science experiment", similar to detonating a pipe bomb on school property just to see what happens. Oh, how the narrative would be different if she had built a pipe bomb instead.

Honestly, guys, we have this one wrong. Here's several other cases for your consideration, showing how big this problem is (the reason arrests are picking up is because LEOs are communicating about this, now that kids are starting to do it more):

http://www.mlive.com/news/detroit/index.ssf/2013/04/grosse_p...

http://abclocal.go.com/wpvi/story?section=news/local&id=... (from TODAY)

http://www.ktvb.com/news/crime/Five-more-plastic-bottle-expl...

http://www.kboi2.com/news/local/Police-warn-about-plastic-bo...

http://www.ktvu.com/news/news/bottle-bomb-warning-goes-out-t...

This is a serious problem, not an opportunity to "win another scientist," and the narrative around this case has been disgusting. Reckless behavior and endangering yourself and others intentionally is not the hallmark of a scientist, no matter how much you want the science angle to be true.

tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
Her first statement while being interviewed was that she was performing a science experiment. That story changed under interview, and she later admitted someone told her how and encouraged her to do it.
tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
And if she had hurt or, worse, killed herself or other people? Reckless is not a quality of a scientist. Why didn't we, the public, extend an invitation to "become a scientist" and pour support and legal defense funds to the Novato teenagers arrested for making the exact same thing OFF school property[1]? It's a felony charge in California, as well.

> But officers did arrest a group of teenagers at the end of January for making and setting off Drano bombs in an open space off Palmer Drive.

Let me be clear: mishandling one of these devices can blind you and remove limbs, and even if you buy the "I'm doing a science experiment" angle, she's doing it without training or safety considerations. This is a safety issue, not a science-hating issue, and there have been many charged and convicted before this young lady. I hate that we absolutely cannot have an objective conversation about this.

[1]: http://www.ktvu.com/news/news/bottle-bomb-warning-goes-out-t...

tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
So I should be able to manufacture pipe bombs because I'm curious how big the explosion is, then? Maybe I can try one out on my school's football field? No malicious intent, just curiosity to 'see what happens', so by your logic I should be square right?

Or perhaps I could study the inhalant properties of anthrax powder at my desk at work, because I have no malicious intent and just want 'see what happens'?

There's a difference between science and doing something reckless that could, theoretically, endanger others without scientific safeguards in place. Public commentary on this issue is completely ignoring that.

tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
I completely agree. She went back on her story that she was doing a science experiment while being interviewed, but everybody wants to stick to that story anyway. It's almost like everybody in the world wants her to be a scientist, and I pay dearly every time I raise this point here. I don't get it.
tiredofcareer··on Kiera Wilmot, student who caused small explosion, won't face charges
It is a strange world we live in when making Drano bombs at a high school is compared to the work of Alfred Nobel.
tiredofcareer··on Give them an inch and they take $773 million
I wouldn't be so sure. I pay a rent premium for a view.
tiredofcareer··on Give them an inch and they take $773 million
For most customers, maybe, but I suspect there's a pretty sizable portion of the population (myself included) that will happily pay more for an airline that treats me extraordinarily well, considers my comfort while on board, and gives me reasons to shout their name down the street. For example, Virgin America is one of those airlines for me, and I will happily pay a premium to fly one of their tragically few routes (they're one of the few airlines I fly first on, as well). I blacklist Southwest entirely because of the complete disregard for my experience shown on the three miserable flights I've had with them. I don't think I fit in your business bucket, but that's a data point, at least.

In another industry where profit is the focus, domain registration, I'm absolutely dying for a $100-$200/year registrar that knows what they're doing and isn't awful to deal with. I will happily pay that premium since my hosting bill far outweighs my domain registration, and handling support tickets expediently and providing features I want are far more important than the bottom line to me. If an extra $10/year from all customers means I get IPv6 glue or a ticket answered inside of 72 hours, please, do it! (This is less relevant now, but was a concern for me in the past.) I'm willing to part cash to be treated better in almost all cases.

tiredofcareer··on Indie game Haunts unable to compile its Go code
I do understand the basics of probability. The likelihood of your serving infrastructure or application being compromised is an order of magnitude higher than the most popular repositories in software development. I'm not saying it doesn't happen, but I also don't walk around worried about having an asteroid land on me simply because I understand probability. If it happens, it happens, and we deal accordingly, but using a much more difficult software engineering process because of (arguably) paranoia is silly.
tiredofcareer··on Indie game Haunts unable to compile its Go code
None of the things you listed are problems. The other comment demonstrates solutions to all of them, and I do not understand your fourth bullet point in context at all.

> C, C++, Java, C# etc. programmers have been pulling dependencies in their repos for ages.

I'm not making this up: in my career, I have never worked on a project where this is the case, and I've worked for shops that write in three of those languages.

> I certainly prefer to manually update them from time to time than to have builds that work on my machine but fail for other people

That's your choice, and it's a little bit different because I'm assuming "other people" are end users -- those that want to recompile SumatraPDF from source for some bizarre reason -- not developers. Fixing a broken build is a skill that every developer should have, but not an end user. Once I learned how to write software, I never came across a situation as an end user compiling an open-source Unix package that I could not solve myself.

The opinion I'm sharing here is related to developing on a team, not distributing source for end-user consumption. It sounds like you don't develop SumatraPDF with many other people, either. Nothing like merge failures on a huge dependency that I didn't write to ruin a Monday.

Also, wait, SumatraPDF is built with dependencies in the codebase? What if a zero-day is discovered in one of your dependencies while you're on vacation for a month; what do distribution maintainers do? Sigh? Patch in the distribution and get to suffer through a merge when you return?

tiredofcareer··on Indie game Haunts unable to compile its Go code
> There's no such thing as, say, Maven binary dependencies for Java.

I'm saying there should be, but not necessarily the same thing. That's my entire point.

I'm also not a fan of the "you have a dissimilar opinion to mine, so obviously you've never used Go properly" attitude in this thread. One way to read your last is that I've never used Go at all, though I'm giving you the benefit of the doubt and assuming you meant used Go properly. Either way, I don't get the condescension of assuming I'm unaware of everything you're explaining to me simply because I have an opinion that is different than yours. Especially since half of your comment is repeating things to me that I said earlier.

tiredofcareer··on Indie game Haunts unable to compile its Go code
No, you just mirror CPAN. This is already done in lots of shops I know of for PyPI. IME, I've only ever had PyPI down on me once, and there are mirrors (that are usually up) if that is ever the case[0]. I think localizing dependencies as you say is a waste of time.

[0]: http://jacobian.org/writing/when-pypi-goes-down/

tiredofcareer··on Indie game Haunts unable to compile its Go code
> If you aren't committing your dependencies then you're doing it wrong.

Disagree strongly (and hate absolutes like "doing it wrong"). Their metadata, yes, by all means, commit that. There is absolutely no reason, however, to have the source code for a dependency in my tree, Go or not.

Give me a binary I can link against, or at least the temporary source in a .gitignored location, and let's call it a day. When I want to bump to a new version my commit should be a one-line version bump in a metadata file, not the entirety of the upstream changes as a commit. I've seen a sub-1MLoC project take 10 minutes just to clone. Internally! You're telling me you want to add all the LoC and flattened change history of your dependencies in your repo? Egads, no thanks! Where do you draw that line? Do you commit glibc?

There's just no reason to store that history unless you are in the business of actively debugging your dependencies and fixing the problems yourself, rather than identifying the issue and rolling back to a previous version after reporting the problem upstream. I guess it's paying your engineers to fix libopenal versus paying your engineers to work on your product; one's a broken shop, the other isn't. Some people will feel it's one, some the other.

tiredofcareer··on Etsy accused me of not assembling my synths by hand and shut down my shop
http://www.regretsy.com/2010/09/22/cause-for-alarm/

...probably didn't build actual clock himself, he's just cutting a base for it and applying a photograph. So, that's interesting w/r/t the article. (Edit: Oh, someone below me said that already.)

At any rate, thank you for showing me Regretsy. I didn't want to work today, and this is a good start.

tiredofcareer··on Indie game Haunts unable to compile its Go code
You are correct. Go's remote imports are dangerous for long-term project maintenance, but the feature is still useful for quick, throwaway projects.

Go badly needs two things:

1. A best practice that dictates that you never import from remote repositories in production, long-term code; the feature is fine for one-offs and experimentation, but the article summarizes only one way this style of work can lead you in to a maintenance world of pain. What happens if the repo you're importing from Github is deleted? What do you do for fresh clones? You're going to end up changing the URL anyway. I feel the Go community has kind of glossed over this (and I like Go).

2. An equivalent of CPAN or PyPI, which you could then import from in concert with a tool to manage those dependencies, a la:

    import (
        "cgan/video/graphics/opengl"
    )
This model works for CPAN, PyPI, and so on for a reason, and that reason is avoiding several of the dependency/merge hells that remote repos can create. CPAN provides Perl a lot, such as distributed testing in a variety of environments. I personally think such a thing is necessary for long-term maintenance of any software project that utilizes third-party libraries. This is one of Google's oversights in Go, because they have an (obviously) different take on third-party code. Here's a good case:

Developer A checks out the code clean. Five minutes later, developer B checks out the code clean. In both cases, your "go get" bootstrap script fetches two different commits, because in that five minutes, upstream committed a bug. Developer B cannot build or, worse, can build but has several tests fail for unknown reasons or, even worse, the program no longer functions properly. Developer A has none of those problems. In a world with a CPAN-like, developer B can see that he has 0.9.1 and developer A has 0.9.0, developer B can commit "foo/bar: =0.9.0" to the project's dependency file, then everybody else doesn't suffer the same fate. In the current world, you're either massaging your local fork to keep the new commit out, or any other troublesome, non-scalable approach to this.

Building large software projects against a repository never works. You need tested, versioned, cut releases to build against, not master HEAD. It only takes one bad upstream commit to entirely torpedo your build, and you've now completely removed the ability to qualify a new library version against the rest of your code base. Other people are suggesting "well, maintain your own forks," so you're basically moving merge hell from one place to another. I, personally, have better things to do with my time; I've seen (Java) apps with dozens of dependencies before, and keeping dozens of repositories remotely stable for a team of people will rapidly turn into multiple full-time jobs. Do you want to hire two maintenance monkeys[0] to constantly keep your build green by massaging upstream repositories, or do you want to hire two feature developers? Exactly.

I've started writing a CPAN-like for Go a couple times but I'm always held back by these threads:

https://groups.google.com/forum/?fromgroups=#!topic/golang-n...

https://groups.google.com/forum/?fromgroups=#!topic/golang-n...

The second one highlighting how difficult Go is to package as a language -- my personal opinion is treat Go just like C and distribute binary libraries in libpackage, then the source in libpackage-src. If one message in that thread is true and binaries refuse to compile with different version compilers, I'm troubled about Go long-term.

[0]: I'm not calling all build engineers maintenance monkeys. I'm saying the hypothetical job we just created is a monkey job. I love you, build engineers, you keep me green.

tiredofcareer··on 'Brave' creator blasts Disney for 'blatant sexism' in princess makeover
Their movies are great as a computer person and moviegoer, since each usually contains at least one "wow, that must be really hard with computers" moment. Like the fur simulation in Monsters, Inc. or the crowd physics(ish) simulation in WALL-E, or Merida's hair as you mention. Not to mention the incredible render quality progression from Toy Story to Toy Story 3.
tiredofcareer··on ISS Commander Chris Hadfield Covers ‘Space Oddity’ in Space
Young people are not the mainstream media's target audience, but they are Hadfield's. The obvious undercurrent to his efforts is to get more kids interested in science, engineering, and potentially space travel; mainstream media doesn't get ratings out of that, so it isn't really worth covering for them. This Bowie cover seems to be gaining some steam, though; as another poster mentioned, I've heard about it from several people not in my usual "tech" circle.

Listening to the kids react in wonderment as he demonstrated wringing a towel out in orbit really drove home that he's reaching, and really reaching, the right audience in a way that NASA has struggled with for decades. He is exceedingly well-educated and is probably aware of declining interest in STEM among younger kids and especially declining interest in space travel as a whole. (I don't have data to back that up, just basic anecdotal experience much like you, but it seems true.)

tiredofcareer··on ISS Commander Chris Hadfield Covers ‘Space Oddity’ in Space
It is my opinion that Chris Hadfield has done vast amounts more toward popularizing space travel than NASA has in its entire run, the televised moon landings notwithstanding. The general public even got bored of going to the moon after the first few trips, as Apollo 13 dramatizes, but Cmdr. Hadfield has cultivated an enormous, captivated audience for what is arguably routine space travel. (That's not a dig at NASA; it's a compliment to Hadfield.)

That accomplishment is even more notable because while Canada has a space agency, most of the world wouldn't consider Canada "spacefaring" in the broad sense (also not a dig at Canada). That a man challenged himself in his career to become an astronaut without a clear path to orbit, then reached a position where he can bring space travel to YouTube, Reddit, schools, and countless young minds in a new generation with the light touch required to "make it stick" is an accomplishment worthy of immense praise. Maybe a Nobel.

EDIT: Holy cow, this got flagged off the front page in the time it took me to get coffee.

tiredofcareer··on US Government Takes Down 3D Printed Gun Plans
Oh, he's savvy on tech. Just not the way you want him to be.

Leland Yee is a heavy, outspoken critic of the ESRB and was one of the most vocal politicians during the "Hot Coffee" debacle. Not a fan of video games.

tiredofcareer··on The story around the Linode hack
Those buttons just instruct the hosts to do things and don't actually have power themselves.
tiredofcareer··on Show HN: Flattest Route - A web app to help you avoid hills in SF
It's on the FAQ and, without saying the exact price, is discussed on the application. It's an education program, so I don't think a "Pricing" tab would fit as well (it'd feel a bit cheap, like Phoenix College).

I personally think it's fine.

Page 1 of 6Next →