Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nthj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
391.
▲
by
nthj
14y ago
I wouldn't trust the government to not intercept gun shipments from the warehouse with an NSA-style gag order & read in all the secrets ahead of time. You'd have to be able to stamp the secret at purchase time in the presence of the buy
392.
▲
by
nthj
14y ago
> Have a licensing scheme for purchase and possession, but not registry of individual weapons within that class. I wouldn't care nearly as much about Obama's background check talk if we just exempted anyone with a state-issued CHL licen
393.
▲
by
nthj
14y ago
because proposing a handgun ban would be political suicide. It's a purely political move: makes it look like you're "doing something" without doing the something that would be impossible or at the very least, cost a lot more political capit
394.
▲
by
nthj
14y ago
I'd consider myself a creationist, but I never understood why so many creationists argue for a 10,000 year old earth. If you'll permit me quoting the Bible, here, to explain my point: there is every logical possibility of 60 billion years o
395.
▲
by
nthj
14y ago
> It slightly irritates me when people say this, because usually those people have no problem accepting that other amendments that they hold to be more important (e.g, the 1st) apply to the states. Heck, people try to apply the 1st amen
396.
▲
by
nthj
14y ago
I'm glad you learned a lot. Anecdotally, I've worked with a number of senior CS majors. We're about the same age, but I can run circles around them when it comes to shipping software. I never attempted to break into someone else's system, t
397.
▲
by
nthj
14y ago
I'm a geek. I can get most any kind of server set up if I set my mind to it. My clients often pay me reasonably large sums of money to do things just like that. I'd never use an email list service. The fact that I don't know how to set one
398.
▲
by
nthj
14y ago
I understand when my non-technical clients ask questions like, "I thought we fixed X?" or "shouldn't Y have been fixed by now?", but I would have hoped that fellow developers would cut each other some more slack, you know? There are an infi
399.
▲
by
nthj
14y ago
This sounds a lot like strong_parameters, which (I believe) will be the default in Rails 4, and is only a gem install away from Rails 3.2 apps. https://github.com/rails/strong_parameters
400.
▲
by
nthj
14y ago
Basically, charge for the value you provide, not for your time. There's a lot of other interesting tips & strategies in there, but that was my main takeaway.
401.
▲
by
nthj
14y ago
So you're one of those guys. I inherited a Rails app that used roll-your-own auth instead of Devise or similar — it added a significant amount of mental overhead, plus a bunch of additional logic for Facebook login. Task that with another p
402.
▲
by
nthj
14y ago
Anybody who doesn't have something like mail_safe [1] installed is asking for trouble, no matter where he stores his business logic. [1] https://github.com/myronmarston/mail_safe
403.
▲
by
nthj
14y ago
While my productivity may vary wildly based on the factors mentioned in the article, I've built the ideal environment described for my junior guys before, and still seen wildly differing productive output between them. Software isn't just a
404.
▲
by
nthj
14y ago
What kind of country do we live in where a link to images that are taken by the government of its own citizens have to be labeled "NSFW?" It's surreal.
405.
▲
by
nthj
14y ago
Sure! I should note, too, I was already caching each individual item, then pulling in each cache one-by-one. The above improvements were only due to your gem. Also, I submitted a pull request [1] to add support for cache options, like "expi
406.
▲
by
nthj
14y ago
For what it's worth, I just implemented this on the staging environment of https://www.biglittlepond.com . The one-line `render` call for the most recently collected items dropped from ~700 ms to ~50 ms. 25 items per page. This will be go
407.
▲
by
nthj
14y ago
> Really? I've always felt underpaid. I think the sentence before the one you quoted clears things up: >> Many of us survive by Google searching, using stackoverflow and better documented frameworks. And, there still aren't enou
408.
▲
by
nthj
14y ago
The danger for many (or most) people on Hacker News is not that they're going to slack off and only work 25-35 hours a week, but that they're going to work 60-80 hours a week on the wrong things. And sleep deprived people are really, really
409.
▲
by
nthj
14y ago
> Well this just shows how little you know about deployments. Exactly. Which is that much more I know about shipping working products which make my clients money.
410.
▲
by
nthj
14y ago
> You can certainly exercise your right to free speech and tell that person what you know, but then you may face consequences for doing so. I know what you meant, but the above statement is almost always true. An example of an abridgmen
411.
▲
by
nthj
14y ago
Here's the thing that customers, managers, and less experienced developers all have in common: they understand that no one thing is difficult. But they don't take into account that managing the complexity between a thousand, or a hundred t
412.
▲
by
nthj
14y ago
to be fair, cache invalidation is hard.
413.
▲
by
nthj
14y ago
Or the engineers want to work on interesting problems, rather than patching the bug tracker every 2 weeks. In my experience, what self-hosted bug-tracking systems might gain in redundancy (a few hours every time a major storm hits) they los
414.
▲
by
nthj
14y ago
> Once it's leaked, you can't really blame people for playing the game and telling people about it. As a fan who has followed the Halo series for more than a decade, I can certainly blame somebody for spoiling the ending. Especially if
415.
▲
by
nthj
14y ago
sure, that tracks. I think our main difference is over whether or not the stacks are fundamentally the same. The legacy apps can still run the same Rails version, can still run the same Ruby version, and can still deploy using `git push,` i
416.
▲
by
nthj
14y ago
Before Heroku, "just works... for a long, long time" meant "for a few weeks until the database goes down, or the firewall needs to be patched, or, something," and you have to bring in a $150/hour consultant to figure out what went wrong. If
417.
▲
by
nthj
14y ago
How many people would buy an iPhone without iOS, or even with a poorly implemented iOS? Far fewer. Apple sells an experience — the whole package. They always have. That's why Antennagate, a hardware issue, and Maps, a software issue, are eq
418.
▲
by
nthj
14y ago
Developers aren't machines. "What should we work on today?" should not always be calculated as a function of "what provides the most immediate business value." Happy developers attempt harder problems, don't leave their current job to go w
419.
▲
by
nthj
14y ago
I give it a year or 3 before the government issues a secret order to Facebook to hand over all photos and photo tag records. Facebook already has the data required to match a huge number of faces with their names, addresses, likes, interest
420.
▲
by
nthj
14y ago
I'd rather work for a product company like GitHub than, say, a consultancy building apps for many many clients, for reasons just like this. When you have a team working on one product that ships to millions of users, you've constructed a g
More ›