HNHacker News
TopNewBestAskShowJobs

vandahm

212 karma · joined November 5, 2007

I'm a software developer in Minneapolis.
submissionscomments
vandahm··on Government Employees Had Weapons-Grade Plutonium Stolen From Their Rental Car
In Brazil, in the 1980s, a couple of burglars broke into an abandoned hospital and stole a supply of cesium chloride from a radiotherapy machine. The difference between your scenario and this one is that the thieves didn't know what it was -- it just looked important and expensive. The whole thing was a huge screw-up, and a number of people -- including one of the burglars -- died from exposure to radiation before the authorities sorted it all out.

    https://en.wikipedia.org/wiki/Goi%C3%A2nia_accident
vandahm··on Ask HN: Have you ever chosen Postgres over Mongo and regretted it?
In response to Question 2, here's the best I've got: At a previous job, we used MongoDB with a write concern of 0 to store logs in such a way that we could more easily search through them later on. The information we were logging was useful to us as developers but wasn't critical to the business, so we were willing to take some risks in order to achieve faster inserts.

It worked OK for us at the time, but if I had to do it over again today, I would probably look at ELK before rigging something up with Mongo.

In the larger sense -- at least for conventional web stuff -- I don't like Mongo. Usually, I'm building something that receives a web request, reads or writes to a database, then generates either a web page or a JSON object as a response. In theory, since you know what information you need to render the response, you should be able to include all of that into the structure of your Mongo document, then fetch everything you need with only one query. In practice, however, business and UX requirements tend to change quickly enough that it isn't feasible to do that. As your product evolves away from its initial design, it gets harder to bridge the gap without joins and transactions. At that point, at least for me, I just feel more comfortable using PostgreSQL.

vandahm··on The failed quest to bring smells to the internet
I don't know, but at that point we've left this problem domain and entered a new one: archiving digital data. That sounds like a daunting problem, but one that lots of people and institutions are strongly motivated to solve. If they were to come up with something, it would presumably work as well for digitally-encoded scents as it would for anything else.
vandahm··on The failed quest to bring smells to the internet
I think the iSmell, at least the way it's described in the article, was a terrible idea. Whatever the scent-enabled equivalent of a Rickroll or a goatse link would have been, we're better off without it.

That said, the technology seems kind of cool. The idea that we could define a set of primitive smells, then combine them into any other arbitrary smell is fascinating. If you have the binary data from an image file, and you know how to decode it, you can preserve a photograph forever -- potentially for thousands of years -- with no degradation. It would be really great to be able to preserve scents for posterity in the same way.

vandahm··on Ask HN: Have you ever taken (or not) a job mainly due to the company's mission?
I worked as a software developer at a nonprofit for four years, mostly because of the organization's mission. It didn't pay nearly as well as the for-profit sector, but the job had quality-of-life advantages that mostly offset that.

The nonprofit sector has its share of frustrations. Nonprofits are subject to auditing requirements that restrict them from doing things that we take for granted in the for-profit sector, and fundraising campaigns were always really stressful. But, by and large, it was four years of productive, meaningful, good-quality work.

vandahm··on How We Realized Putting Radium in Everything Was Not the Answer (2013)
Yes, there was skepticism, but there wasn't much, legally, that skeptics could do to prevent these products from being sold. If you're interested in this stuff, you should check out a book called "The Poisoner's Handbook", written by a journalist named Deborah Blum. It covers the development of forensic toxicology, which eventually lead to a lot of consumer protection laws. There's even a chapter on radium, Radithor, and the women who worked with radium in the watch dial factory.
vandahm··on I Want Your Email Address
I kind of want to find out!
vandahm··on How Eddie Van Halen Hacks a Guitar
There weren't many options for aftermarket pickups in the 1970s. He was almost certainly installing secondhand pickups extracted from broken guitars. Those would have been significantly cheaper than a distortion pedal, especially considering that most amps and pedals were still hand-wired.
vandahm··on Landing the Nostromo (1981)
The ads are fantastic!
vandahm··on Gogs, an alternative to Gitlab
For my personal stuff, I'm happy to pay GitHub to host my private repositories, but it's not always that simple. I work for a large, bureaucratic corporation in a heavily regulated industry. If something costs money -- even a dollar -- someone has to pay for it, which means that someone has to approve the expense, which means you need a risk assessment and permission from legal. Even if it doesn't cost money, there are a lot of bureaucratic hassles associated with using external services to store company IP. Sure, maintaining your own source control server takes time, but so do the alternatives.
vandahm··on Fuck It, I'm Going Back to Firefox
Thanks for the link to uBlock. I've been growing frustrated with Ghostery and AdBlock Plus, but didn't know of a good alternative. I'm giving uBlock a try, and so far, so good.
vandahm··on New scientific markup language
I'm not familiar with HackPad, but I don't think that's what's happening, because the `img` tags point directly to goatse.info. I think someone edited the document, removed whatever content was once there, and replaced it with goatse pics. That's a shame, because I was interested in reading the article.
vandahm··on Thinking the unthinkable
What worries me about a compulsory buyback here in the United States is the massive number of firearms for which the government would have to provide compensation. If the owners of each of the 300 million guns in the United States were compensated USD $750 -- which is probably pretty reasonable given current prices -- it comes to USD $225 billion, excluding the cost of administrative overheard. That's a staggering sum of money, even for the US government, and not something I think we're able to pay.

However infeasible, it's probably the only way that new gun control laws would be effective. Historically, gun bans in the US have applied only to newly manufactured guns, while older guns have been grandfathered in through various means. In fact, assault rifles like the Bushmaster used in the Connecticut shooting have already been banned in that state, which leads me to speculate that it was purchased before the ban and grandfathered in. Without addressing the vast supply of existing guns, it's hard to see how laws regulating new guns will achieve the impact their supporters desire.

vandahm··on [dead]
Not exactly -- the founder in the story is a fictional man named Tom.

The author, Miracle Jones, has a website with a number of bizarre, but well-written short stories:

http://miraclejones.blogspot.com/

vandahm··on RIM promises $10k to devs if BlackBerry 10 app earns $1k
It is entirely possible that I don't know what I'm talking about, but I don't understand how this plan could possibly work. If developers thought they could make money writing Blackberry apps, wouldn't they already be writing them? Since I don't think $10,000 can cover the cost of developing a native app, I don't see how RIM's bounty would influence a developer's decision to develop for their platform.

Am I missing something?

vandahm··on Why Django Sucks
I think the presenter was referring to the Django Pony -- Django's widely known but unofficial mascot -- and not trying to invoke a My Little Pony meme.

http://djangopony.com/

vandahm··on AOL Retires 9,500 Servers, Saves $5 Million
Not if they're losing business.
vandahm··on Jobseekers Invited to “Apply Via API”
I know software developers who wouldn't be able to figure it out.
vandahm··on Dearest Delicious, a breakup letter
I use two of them and they haven't given me any trouble. Pinboard[1] adds a menu option, which I have positioned next to the address bar. Pinboard Right[2] adds a 'Post Page to Pinboard' link to my right-click menu.

1. Pinboard: https://chrome.google.com/webstore/detail/lclbbneapfiaihigbk...

2. Pinboard Right: https://chrome.google.com/webstore/detail/mpiepoibcfbjicpaic...

vandahm··on Being recruited in the USA
It's true that the overall unemployment rate is alarmingly high, but my understanding is that the employment rate among software developers is quite low. In my area, at least, my sense is that there aren't enough developers looking for work to meet the demand for their labor. I guess it's theoretically possible to train unemployed nontechnical people to write code, but I don't see any viable plans to make that happen.
vandahm··on Winamp for Mac
It really whips the llama's ass! Back in 1997, I had a massive 2 GB collection of MP3s.

Edit: The best part was having to sort everything into 45-minute playlists so I could run a cable from my computer's sound card to a tape recorder to make mix tapes for my car.

vandahm··on Tell HN: I just open-sourced the e-mail client I spent 2 years of my life on
This looks amazing, and I'm looking forward to compiling and running it on my Windows machine later today. I'm accustomed to simple and elegant apps like Sparrow and Mail.app on OS X and get really frustrated when I have to use clunky Windows mail readers. This looks like a huge step forward in many ways. Great job, and thanks for sharing.
vandahm··on I Like PHP
> "If your provider doesn't support Ruby, you need to get yourself a $20/month Linode box. If Linode and a $20/month price point isn't mainstream, I don't know what is."

True. And if nothing else, you can run Python on Google App Engine for free.

vandahm··on I Like PHP
Where I work, we've standardized on PHP and I have no choice but to use it. It isn't as bad as people say that is! Our organization's product is a large application written in object-oriented PHP with unit tests for every method of every class. As a team, we use continuous integration and have regular code reviews to promote quality. We've done some things that we're not proud of, but on the whole our codebase is pretty clean and elegant, and at the end of the day I'm almost always proud of the work I've done.

What worries me about PHP is that innovative ideas don't appear to be coming from the PHP community. They come from Python, or Ruby, or Erlang, or Java projects and are copied by PHP developers afterwards. I worry there's a risk that PHP is being left behind as the developers who solve new and challenging problems turn to other languages.

Furthermore -- and this is just my sense of how things are where I live -- while it's possible (and not even difficult) to write quality PHP code, it seems to be difficult to find developers who care about quality. My manager complains about this constantly and I'm inclined to believe him since, when I was a freelance developer, I saw tons of PHP code that was simply and unambiguously terrible. Conversely, a developer who wants to write quality code in PHP has to look pretty hard to find a PHP shop that recognizes quality and values it. I suppose that these issues aren't tied to a particular language, but they seem more pronounced with PHP.

vandahm··on Steve's Outfit
Short answer: it doesn't.

Long answer: In http://www.stevesoutfit.com/js/tutorial.js jQuery is used to implement some sort of AJAX contact form, but I don't see the code in tutorial.js used anywhere.

vandahm··on Xcode now costs US$ 4.99
This is a lot harder than just paying $4.99 for Xcode, but I wonder how difficult it would be to adapt GNUstep's developer tools to Cocoa development.
vandahm··on My first tiny "weekend project": readable text hosting. Useful?
I like this a lot. I can already think back to a number of times when I or a friend could have used this. I can't imagine it being simpler to use, and I like the nice, clean presentation of the text.
vandahm··on Inception isn't science fiction (spoilers)
I agree that the scene in which he sees his children's faces is suspicious -- everything after he wakes up is a bit convenient. Cobb breezes through customs, Michael Caine's character is right there waiting for him, and his kids are right where he left them. It's certainly plausible that Cobb is lost in a dream.

But I don't think the top is evidence of that. At the level of reality in which the plane ride occurs, we've seen the top fall. Consequently, it seems clear that, in the last scene, the top will fall, and we do see it start to wobble before it cuts to the credits.

The question, then, becomes whether the top actually is the reliable indicator of reality that Cobb thinks it is. If the top really is a totem, then Cobb made it back to the real world. But where did the top come from? He got it from his wife after she died. If his wife really did escape from a dream by dying (if Cobb was dreaming the whole time, this is possible), then Cobb acquired the top in a dream, and whether it falls or not proves nothing.

I'm pretty sure that I'm reading too much into the ending of the movie. Personally, I think he made it back to the real world. But the director has made other movies that invite a similar degree of scrutiny, so who knows?

vandahm··on Ask HN: How do you manage your dev database among multiple developers?
Liquibase:

http://www.liquibase.org/

The contents of our personal development databases are not synchronized, just the schema. Each developer has enough mock data to run our app for development purposes.

At a previous job, all developers shared a single development database. It was a huge pain, and I don't recommend that practice.

← PreviousPage 3 of 3