HNHacker News
TopNewBestAskShowJobs

hakaaak

62 karma · joined September 9, 2012

submissionscomments
hakaaak··on How to set up a safe and secure Web server
http://stackoverflow.com/questions/72394/what-should-a-devel...

can't believe that hasn't been on HN before, so added it: http://news.ycombinator.com/item?id=4841329

hakaaak··on General Electric Pitches an Industrial Internet
Inevitable, yet I still shudder as I think of the possibility of Skynet (self-aware technology removing humans from the equation) or cyberterrorism/cyberwarfare. If everything is connected, nothing is secure.
hakaaak··on Hi Haters – The New Inquiry
No mention of Disney's role in shooting stars off into oblivion? They find talent, use it up, then push it off on its own where it very often ends in rehab. It could be a coincidence as many other stars that didn't start in Disney ended in rehab, but there is a definite tie between kid/teen stars and rehab, and Disney basically has cornered the market when it comes to getting them in early.
hakaaak··on The greatest Google Mail feature you may not be using
I've accidentally used this feature a number of times, and it drives me nuts.

The greatest feature about Gmail that not enough use is 2-factor auth (even though it is not limited to Gmail- other web-based mail services provide it); it is a pain in the arse, but after you get hacked once or twice, you'll be happy you did it. Popular Saas apps are prime targets for being hacked. It may mean they are safer, but they are also riskier to use. If you're not using 2-factor auth, you should probably not use Gmail, unless a hacker taking control of your account wouldn't bother you or your contacts.

hakaaak··on Ask HN: How to mine my inbox.
Exporting and importing contacts as csv: http://support.google.com/mail/bin/answer.py?hl=en&answe...

You could then manipulate that file to hand remove duplicates, could use A2=A1 type formula in a spreadsheet and fill down to find dupes, copy relevant column to text file and sort and uniq in *nix: http://linux.about.com/library/cmd/blcmdl1_uniq.htm

Merging and mass merging Gmail contacts: http://support.google.com/mail/bin/answer.py?hl=en&answe...

You could also use Thunderbird. A few t-bird plugins will let you do things like remove dupes and sync with Gmail.

As for cleaning your inbox though, I would see this as an opportunity to write a script in Ruby that uses IMAP to automate your scrape and purge: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/net/imap/rdoc/Ne... Or whatever other language you'd like to use. I just like Ruby, but since it might involve a lot of text parsing, maybe Perl would be a good choice: http://search.cpan.org/~djkernen/Mail-IMAPClient/IMAPClient....

And then GPLv3 your script, put it on GitHub, use a default GitHub template to create a nice looking site for it, and post the link back to HN with the cool doc saying how to use it.

hakaaak··on An ABC proof too tough even for mathematicians
Different universes in mathematics play by different rules and have different components. Inter-universal Geometry is how these sets of rules and components can relate and is the bridge to understanding more complex theory.
hakaaak··on Introducing the Rails API Project
> vBoth of these gems were originally in HEAD Rails, but David reverted them.

Will serializers be in the Rails 4 Gemfile at least?

hakaaak··on Ask HN: Are you alone in San Francisco on Thanksgiving?
Way to go! Good turnout, too!

It makes me sad that all the HN stuff typically appears to revolve around SF and SV area, though. I feel left out. I think the problem is that PG and YC are on that side of the world, and the rest of us get screwed. I'd like to see a map of IPs geoplotted for the last hour, last day, last week, month, year, all time for those hitting HN, those commenting, those with the most karma points, etc. I'd like to feel like it isn't all west coast U.S., NYC, and India.

hakaaak··on Generating Music (with an algorithm)
Man, that is some pretty crappy music. Good effort though. Algorithm needs more theory. Good music isn't that random. You are missing phrasing, repetition, rhythm.
hakaaak··on On Being Not Dead
Life is about action. Being "not dead" to me suggests not being done with what you do. To live without action is not living, but I guess you are "not dead". However, to fully embrace being "not dead" means you still need to do something.

Why in the hell philosophy is being so heavily considered here is beyond me though. If hackers really think about life too much, they stop hacking and start living. Hacking is doing but in a way that really isn't changing anything truly permanently. Having kids and providing them with a good environment that they then pass on to their kids and their kids... that is permanent. They won't remember your crappy webapp or your nifty tech startup nor will they give a shit about your talk circuit or the books you wrote on some aspect of some framework that no one will use 10 years from now.

Helping others and raising a family can do real and permanent good. That is being "not dead".

hakaaak··on Introducing the Rails API Project
Agree that actionpack is a mess, but I don't like all of these new projects separate from Rails. If they are going to be versioned with Rails, just put them in rails/rails.
hakaaak··on Graham’s Guide to Learning Scala
The two problems I have with Scala are: (1) it tries to be too much by allowing optional types and the clarity of the code suffers- either embrace duck typing or don't, (2) Play v2 killed all chance of it becoming a decent web developer's go-to language.

For those that are learning Scala just for the hell of it, great. But, don't intend to make a career out of it unless you've checked into other languages first, like Ruby, Python, Haskell, Go, Clojure, etc.

hakaaak··on Introducing the Rails API Project
Rails-api isn't a new project, and the name of the project is misleading. It provides a no-frills controller. Why is this is another project and not part of actionpack?
hakaaak··on Kindle Paperwhite
I agree about the page-turning buttons. That is why I didn't get the touch and won't get the paperwhite. I don't mind not having backlighting, so I'll stick with the cheapest Kindle.
hakaaak··on Canonical asks desktop users to “pay what you think Ubuntu is worth”
I think it would be a much better idea to have people give in the beginning, but instead of asking them where the money should go, tell them that their name will be included in the next release as a contributor on their site and in an "About Ubuntu" dialog in the desktop version and /etc/contributors on the server version where it lists the various levels of contributors and their names. This would encourage more businesses to give.
hakaaak··on An Object is not a Hash
Other than lists which can be represented by JSON arrays, hashes do fine jobs at describing most data and most "objects".

This post goes off the rails almost immediately with "Normally this would work fine, but let’s consider that the user could pick any of the keys that are present in any JavaScript object as a name." WTF? The author almost immediately is confusing his/her current situation with the request body and what's in it.

Then we find ourselves quizzically with "We therefore change our code to leverage hasOwnProperty". Umm, I don't think most developers would find themselves "therefore" doing this.

hakaaak··on Do you really want to be making this much money when you're 50?
Good post. I've been doing this for many years now though and I've been burnt out after maybe the first 4-5 on coding, but that is still what I do. It really is about the money though. Early on I had the idea that I would become an architect get all of the certifications (back when that meant something), work my way up management and have a house at the beach, at the lake, and in the mountains. Ha. Yeah, I should have known. Right now I'm hoping that telecommuting becomes the norm. I love working from home, but I don't think I could make what I'm making now as a contractor doing Rails development, which is now primarily what I do. As long as I continue to be employed, I guess that is the main thing. And I guess that is the point of the post.
hakaaak··on Facebook the Devourer
I spend more time on Facebook than I do any other social networking site. I wouldn't be on it if it weren't interesting. My friends aren't on Twitter or G+, I've never intentionally gone on 4chan, and I just go on youtube for the free music and funny clips. Facebook is where it's at, so I also disagree with the author.
hakaaak··on Social Login Buttons Aren’t Worth It
I'm not a fan of social login buttons, but I've visited a lot more brand pages on FB than I have product individual sites, usually because those FB pages are running a promotion where you "like" them and then fill in a form to get some product for free. Sometimes I'll unlike them afterwards, but sometimes I leave my "like" as-is. However, neither FB nor branded product sites have really influenced my purchasing decisions. What does? A product that I research via the web, consumer reports, or Amazon ratings and determine is good, a product that is on sale or is more attractive or just "looks" better (or maybe even has a higher price), and for services and applications, I do the same- look at reviews and determine if there is a free product or service that I feel comfortable using instead.

Marketing and ads are a HUGE con game, as people mostly ignore them.

hakaaak··on Java flaw allows “complete” bypass of security sandbox
While it's possible that Java just hasn't been as much of a target, the difference between Windows and IE (which are the two M$ products that particularly got them into trouble with security flaws) and Java's JVM, other than one being an OS, one being a browser, and the other being a runtime environment, is that the former two started off being buggy and got better, and the JVM has been in the news for more security problems since Oracle took over. I think the finger to point is at Oracle. From what I have heard about how things went when they were taking over, I think the issue is that they are too "enterprise" for their own good. Sun's lawyers were pretty awful (or too good depending on whether you like suing) too though, so maybe some was inherited.

One other thing before I go- are other JVM languages affected by these bugs?

hakaaak··on When Will This Low-Innovation Era End?
The reason that I agree that there is low innovation is that innovation eventually results in economic acceleration. Think industrial revolution.

However, innovation has not stopped if you consider that in the last century we have Ford Motor company, fast food, marketing as industry, rock-and-roll, Sony Walkman, Levis, iPod, etc. There is a ton of innovation.

But unfortunately, it needs to be disruptive innovation that changes how efficient we are and improves quality of life. Writing new webapps does not do that. Designing new iPhones does not do that.

Something else to consider is that the time is ripe for something other than technological innovation. What if we could better understand the world we live in and come closer to God? What if we could overcome the 50/50 political divide causing so much hate in our country from both sides? What if peace could be reached with all countries? That would also be innovation, because we can't seem to figure out a way to do it currently.

hakaaak··on Ask HN: I made a list of Ruby / Rails learning resources, should I open it up?
I think that is valuable for sure, but I'd add that I would not have contributions via pull requests in this case. The reason is that there is some expectation when you go through the trouble of forking, cloning, editing, pushing back to the fork, and doing a pull request that your contribution will be accepted, and it very likely may not, which will result in anger, which is not a good thing.
hakaaak··on Why Dan Shipper is Wrong about Goals
Agree with the OP. I also think that competition and negative or positive reinforcement is critical to goal execution. Then once you have goals you can try to have habits, but many times goals work and habits you thought you developed don't stick. If habits worked for everyone, there would be no Weight Watchers. That company survives off of people continuing to think it works, when it only works temporarily for most.
hakaaak··on HN: need your feedback and try my prototype
If it is beta, why does the path include "final"?
hakaaak··on Love Ops? Love Dev? Come work for VSCO
HN is being taken over slowly by recruiters...
hakaaak··on How I Learned to Defrag My Brain
You should post a link to a mailing list! I'd join.
hakaaak··on Skeuomorphism
I think the main point being made is that the design shouldn't be distracting unless that is the point of the design. For login forms to be hanging from keys, and paper to be hanging from bolted glass panels is nonsense, and a distraction. Unfortunately what different people find appealing, others find distracting, but that's what usage metrics and testing are for- to help determine what does and what doesn't work.
hakaaak··on Explaining The Different HTTP Status Codes
Where's "I'm a teapot", the best code ever? Supported in Rack: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
← PreviousPage 2 of 2