HNHacker News
TopNewBestAskShowJobs

kaffeinecoma

1,474 karma · joined May 11, 2009

Find me at http://armhold.com, or visit my github: http://github.com/armhold.

To contact me: my email is armhold at gmail com. Please mention HN if you do (too much recruiter spam, but HN contacts always welcome.)

submissionscomments
kaffeinecoma··on UI Performance Decline – OS X Tiger to Yosemite [video]
I read so many reports of Yosemite being faster that I was beginning to think I was the only one who was disappointed.

I have an older machine (2010 Mac Pro tower), but it's been upgraded to 16GB RAM and an SSD over the years. I experienced an initial degradation in UI performance with Mavericks, but after the first OS update it was as fast as ever. Yosemite comes out, and now it takes over second to switch between Safari tabs on an otherwise idle machine. I had hoped that like Mavericks, this would be resolved in the first OS update, but no such luck. I enabled the "reduce transparency" option (this was recommended to speed up the UI) but it didn't help.

My mid-2012 MBr doesn't seem to suffer from this. I wonder if Apple just didn't consider video cards in older hardware. Not an unreasonable thing to do, but I'd have preferred a "sorry, this machine can't run the latest OS" message instead.

kaffeinecoma··on Signaling Post-Snowden Era, New iPhone Locks Out N.S.A

  The new security in iOS 8 protects information stored on 
  the device itself, but not data stored on iCloud, Apple’s 
  cloud service. So Apple will still be able to obtain some 
  customer information stored on iCloud in response to 
  government requests.
Some? I think the importance of this qualification has been overlooked everywhere it's been reported.
kaffeinecoma··on Statement on Bloomberg News story that NSA knew about the “Heartbleed bug”
Sincere question: is the NSA on record for having responsibly disclosed any previous security holes? Is there some track record of them having actively help close security holes in software?
kaffeinecoma··on Ruby 2.1 Garbage Collection: ready for production
Because there's always something different that needs to be done for them once your project starts becoming non-trivial. You might need a different version of a gem (e.g. pure-java Nokogiri), or they're behind recent MRI features. And if you care about concurrency, it's different everywhere.

In my personal experience I've found MRI to be the best experience simply because that's what most other people are using, and there's a lot to be gained from being in the mainstream.

Don't get me wrong- I would actually love for JRuby to become the de-facto Ruby implementation. So many headaches are caused by native code in gems. And we'd have a solid foundation for GC, concurrency, etc. But that's not the current reality.

kaffeinecoma··on Paramilitary police: Cops or soldiers?

  > One had a criminal history that included three assault charges
I really dislike when "charges" are used this way to defame character. Were the charges dismissed? Was the person found innocent during a trial?
kaffeinecoma··on Pronunciation errors that made the English language
"Faux pas" literally means "false step". But "pas" in French also means "not". There is a city in northern France called "Pas de Calais", which roughly means the "steps" or entrance of Calais (there's a strait, and the Allies successfully fooled the Germans into thinking it would be the D-Day landing site).

For a time, while not knowing that "pas" also meant "step" I wondered why in the world anyone would name a city "not from Calais". :-)

kaffeinecoma··on Eureka: First Life In The Universe

  Transferring brain to a computer is just brain transplant. 
  If you accept organ transplant you should hardly have any   
  problem with this at all.
Your "uploaded" brain probably won't have any problem with this, but your original physical instance brain probably won't be too happy to have the lights turned off.

John Weldon's "To Be" (https://www.youtube.com/watch?v=pdxucpPq6Lc) kind of touches on this. It focuses on teleportation, but I think a brain upload is pretty much the same idea at heart.

kaffeinecoma··on Edward Snowden nominated for Nobel peace prize
Being Man of the Year isn't necessarily an honor. From Wikipedia:

  Person of the Year (formerly Man of the Year) is an annual 
  issue of the United States newsmagazine Time that features 
  and profiles a person, group, idea or object that "for 
  better or for worse...has done the most to influence the 
  events of the year."
kaffeinecoma··on I fought my ISP's bad behavior and won

  Super shady stuff. I never rely on any ISP provided DNS servers
Doesn't that mean that you don't benefit from nearby CDNs? Perhaps worth the tradeoff anyway.
kaffeinecoma··on What’s New In Emacs 24.4

    New hooks focus-in-hook, focus-out-hook.
    These are normal hooks run when an Emacs frame gains or 
    loses input focus.
Cool. I think the lack of such a hook is what was preventing an implementation of "save all buffers" when the user clicks outside the window, something commonly used in IDEs.
kaffeinecoma··on I Got Myself Arrested So I Could Look Inside the Justice System
Actually I have no idea why you think I'm under that impression. I know that (for example) convicted felons can lose their voting rights, but I did not know that committing a misdemeanor would cause you to lose protection against searches in your own home after your release, potentially forever.
kaffeinecoma··on I Got Myself Arrested So I Could Look Inside the Justice System

  The judge [...] ordered three years of probation, a $1000 fine, a $250 surcharge,
  a $50 surcharge, 30 days of community service, and a special condition allowing police
  and probation officers to enter and search my residence anytime without a warrant.
Wow. Perhaps I'm naive, but I was unware that a first-time, nonviolent misdemeanor could be grounds for removing your 4th amendment rights.
kaffeinecoma··on Has StackOverflow saved billions of dollars in programmer productivity?
I'm still waiting for someone to coin a term for when you google around for a problem and end up at your OWN answer on SO from a year or so earlier. This happens more often than I'd like to admit.

I'm incredibly thankful for the many, many hours that SO has saved me personally.

kaffeinecoma··on IntelliJ IDEA 13 is Released
Look, Intellij is the Emacs of IDEs. If you've not used it you have no idea of its depth. I've written plugins [1] for it, so I'm not an idiot. I regularly use it for Java, Scala, Clojure and Ruby, so yeah, sometimes it's worth paying someone to sort out issues for you.

[1] https://github.com/armhold/wicket-source-intellij

kaffeinecoma··on IntelliJ IDEA 13 is Released
I pay for every upgrade simply for the support. A few times a year I get stuck on something; mere minutes after filing a support ticket, I have a resolution. They've got this guy "Serge" who must be locked in a room somewhere doing support because he always solves my issues within minutes. Amazing.
kaffeinecoma··on Missing hard drive containing Bitcoins worth £4m in Newport landfill site

    The thing is... I don't actually believe that electrical equipment is really recycled
I had something similar happen when I went to my local recycling center a year after moving into a new town. I had carefully squirreled away a pile of batteries (AA, AAA, D-cells, etc), old smoke detectors (which contain trace amounts of radioactive elements), and some unused cans of latex paint. Saved it all for the big trip to the recycling center.

The guy told me that they'd accept it all, but next time I might as well toss everything but the paint into the trash, as that's what they were going to do with it. Pretty disappointing.

kaffeinecoma··on As Oracle axes support for GlassFish, MySQL users might want to pay attention
I actually passed on some repeat client work when they insisted on using WebSphere.

My initial project for them was an eternal struggle to get basic things (XML parsing, Hibernate, CDI, etc) working in their environment because specific versions of these things were already included in the app server, and always ended up conflicting with libs we needed to include for our own app. I remember it distinctly as one of those times where I just felt helpless to make anything work.

kaffeinecoma··on Never Heard of It
I've always appreciated interviewing job candidates that would respond with an honest "Hmm, I actually don't know" rather than trying to BS their way through a question for which they obviously didn't know the answer. Expecting even great developers to know 100% of everything is unrealistic.
kaffeinecoma··on OS X: About Mail Update for Mavericks
I'm giving Airmail a spin. https://itunes.apple.com/us/app/airmail/id573171375. It's only been a day, but so far pretty fast and painless for both GMail and a university IMAP account. I've no affiliation with them other than as a (so far) happy customer.
kaffeinecoma··on How I Got My First 1000 Users in 1 Day
You should use "User.count", which will do something like "select count(*) from users".

"Users.all.count" will needlessly read in all users into memory and then return a count. That might work OK for 1000 users, but beyond that?

kaffeinecoma··on 9/11 Suspects Can’t Mention being Tortured during Trial because Classified
I wish we could have runoff elections in the US. Then you could vote for the candidate you really want to win; if they lose, you can then vote for your safe fallback choice. This would really open the playing field beyond D & R (so it'll never happen).
kaffeinecoma··on Time to hand over the reins before Capistrano costs me my youth?
You're correct, it was apt-get. I also have a Centos image around, so I have yum on the brain.
kaffeinecoma··on Time to hand over the reins before Capistrano costs me my youth?
Wish grandparent had not deleted his reply; makes it look like I'm the one suggesting turning off ssl. :-(
kaffeinecoma··on Time to hand over the reins before Capistrano costs me my youth?
I also wouldn't normally expect a problem here, but this actually happened to me yesterday. Some 3rd-order transitive dependency resulted in trying to download a file from https://rubygems.org, rather than http. Apparently my SSL certs were out of date (on both dev and prod) and so I had to spend a few hours Googling how to make RVM + Ruby Gems update my certs.

It's really easy to write these kinds of things off as rare occurrences, but this is exactly the kind of thing that causes us to talk about "fear" when deploying.

Edit: solution was to run 'rvm osx-ssl-certs update all' on OSX, which is unsettling, as it installs certs all over the disk. Then on Ubuntu it was "yum update openssl", I believe.

kaffeinecoma··on Time to hand over the reins before Capistrano costs me my youth?

    > some javascript runtime environment isn't found
This is a very familiar pain point for me. IMHO many problems with RoR deployment stem from the fact that Ruby depends on so many native code extensions. It's pathetically easy to break things like therubyracer or nokogiri because some .so file was updated or is not installed. I'm guessing that this is done for performance issues with the Ruby interpreter, but wow, it really makes for portability nightmares. Add RVM on top of this and it's just insane.

As someone coming from Java (I largely switched from Java to Rails about a year ago) I find this tendency toward native code deps incredibly painful. Turns out there's a really good reason to demand "100% pure Java" libraries. One can always throw rocks at Maven or CLASSPATH hell, but I find that Ruby deploys tend to be much more problematic than Java.

Whatever you decide on I hope you get some relief. FWIW I have benefited greatly from your work on Capistrano, and sincerely appreciate your efforts.

kaffeinecoma··on In 2016, Paris to be home to the biggest startup incubator in the world
Thanks for linking to this, I hadn't seen it before. Excerpt:

  Ironically, of all rich countries the US has lost the most civil liberties
  recently.  But I'm not too worried yet. I'm hoping once the present
  administration is out, the natural openness of American culture will reassert
  itself.
I would love to see pg revisit this topic, as this was written in 2006.
kaffeinecoma··on The algorithm for a perfectly balanced photo gallery
You're being a little harsh here. I think he was actually trying to impart the idea that it's worthwhile to have a foundation in CS, even if you don't necessarily work on deep algorithmic code every day. He drew on some (perhaps foggily remembered) CS background to successfully solve a problem, so why knock him?
kaffeinecoma··on About Environment Variables
I've found this process unreliable enough (is it set in the Apache user env, or httpd.conf? Why isn't it getting passed through to Passenger?) that I just put everything into a /usr/local/my-app.yml file, and explicitly load it in application.rb.

http://railscasts.com/episodes/85-yaml-configuration-revised

kaffeinecoma··on Ex-YouTube Man Builds Graphics Card for Entire Internet
Stupid question: are you just doubling every pixel of a non-retina source for the @2x images? Does that really provide any extra clarity on a Retina display (beyond setting the proper size of the image?) Or are you actually starting with an @2x image and halving it for non-2x default?
kaffeinecoma··on I Sold The Magazine, Too
An entrepreneurial success story doesn't belong on HN?
← PreviousPage 2 of 9Next →