HNHacker News
TopNewBestAskShowJobs

mhomde

1,054 karma · joined September 20, 2012

I live in Stockholm. I Like palt, snow and a good mojito :)
submissionscomments
mhomde··on Programmers: Before you turn 40, get a plan B (2009)
A novice doesn't know what tools he need. An expert has mastered the tools he has been given. A master starts thinking about the tools he COULD have :)
mhomde··on Last Week Tonight with John Oliver: Government Surveillance [ft. Edward Snowden]
That was the point, they didn't want to idolize Snowden and even made some pretty hard accusations about him being responsible for inadvertent repercussions

That made the rest of the interview more believable and trustworthy. Fair, balanced and humorous

I agree that it's a fine line between simplifying a topic for "the general masses" and dumbing it down to something out of the movie Idiocracy. However, I think that Oliver has done a fair job of making it easier to relate to topics people otherwise wouldn't.

(He could use a touch less cursing to add some gravitas where needed, but that's a matter of personal taste I guess)

mhomde··on Dunning-Kruger and Other Memes
It would be ironic if the author overestimates his interpretation of the Dunning-Kruger study...
mhomde··on Ask HN: I'm looking for a Spotify software engineer to speak to
That you no longer can sort by popularity AFAIK any longer is mindboggling, although even before you had to know about the "spotify:search: syntax.

Seems like a very common scenario they don't support any longer, for technical reasons? for not wanting people to listen to music that way?

mhomde··on Elon Musk: Tesla cars will have “autopilot mode” by summer
You can't reach goals you never set. That's how we went to the moon.
mhomde··on Why I am called "the Father of Visual Basic" (1996)
There's an interesting interview with Alan Cooper about the subject up on Channel 9 (and a lot of other stuff, Alan pulls no punches :).

I did find it odd that "Ruby" (what became VB) was suppose to be the "shell for windows " and allow user to "design their os". Maybe I misunderstood that part because it sounds like a recipe for disaster :)

http://channel9.msdn.com/Series/VisualStudioDocumentary/The-...

I give great kudos to Alan Cooper, his book "The Inmates are running the asylum" was a paradigm shift for me. Once you've read it you have a little Alan inside your head for the rest of your life, telling you how stupid, impolite and lazy most software is. It's annoying but highly effective.

Really recommend it for anyone who hasn't read it. He's a bit rabid in his aversion to developers designing, but if you can look past that it contains many gems

mhomde··on App Submissions On Google Play Now Reviewed By Staff, Include Age-Based Ratings
Yeah, there's certainly something rotten with Microsoft's App Store. I'd hazard a guess that most of it is outsourced to India and there's some internal bureaucracy putting it outside of purview of the people who could fix it. It's hard to even search for top apps that you know the name for.

I think its one of those things when Microsoft gets around to focus on it they'll "fix it" but for now, crappola.

mhomde··on Microsoft is killing off the Internet Explorer brand
You know the world is going crazy when Google is evil, Apple is doing tacky devices and Microsoft makes the best browser
mhomde··on Twitter Gave Meerkat Two Hours’ Notice before Cutting Access
Only if they strategically wanted to market Meerkat :) I had never heard of it before and doubt I would have if it wasn't for this debacle
mhomde··on The Best of Material Design, Daily
Yes, I would agree. Material is clearly designed to brand apps as "Google apps" not necessarily provide the best UX possible.

To be fair though there are some more subtle accents, like Gray and Blue Gray than can be used

mhomde··on Why Our Brains Love High Ceilings
"A Pattern language" is such a great book, its' a shame its kinda forgotten by many these days. Whenever I talk to an architect I ask them if they've read it and I've yet to get a "yes".

Anyways, highly recommended, if nothing else to get insight in human patterns regarding living spaces and communities

mhomde··on Dad and The Ten Commandments of Egoless Programming (2012)
One approach I took in a recent project was keeping the documentation in documentation folders under each project, using markdown.

It was good because documentation was tied to the source control and easy to locate and read when you were working on the project.

It's easy that wiki's become neglected and forgotten if there's not someone that "cracks the whip" so to speak so I think any way to lessen the friction and bring it into the coding environment is a good one

mhomde··on Dad and The Ten Commandments of Egoless Programming (2012)
I was curious about what I read in Blink so I looked it up and it seems to be a bit of the usual Gladwell hyperbole even if it was based in some kind of studies. Needless to say marriages probably can't be simplified that much but it still is a pretty good general rule

http://www.slate.com/articles/double_x/doublex/2010/03/can_y...

mhomde··on Dad and The Ten Commandments of Egoless Programming (2012)
That's very true! I've found that the key to having a constructive argument is always doing your best not to hurt their ego, assign blame or back them into a corner where they'll lose face (always leave an out). Otherwise they'll slip into "defensive mode".

That together with the old chestnut "seek first to understand then to be understood" to ensure that you respect and understands their position are real game changers.

Its funny and scary how important these kind of social and interpersonal skills are working in any corporation. Yet often are lacking and leads to a lot of unnecessary friction.

It's something I almost wished was taught in schools, if only so they could recognize the patterns later when they go into working life.

mhomde··on Dad and The Ten Commandments of Egoless Programming (2012)
I wouldn't say that those things are "mostly" subjective, that sounds like a defensive argument.

I'm pretty sure there are good objective metrics both for readability and maintainability, they might not be the only aspects but calling it subjective is going too far.

For instance maintainable code could be said to minimize side effects, be somewhat modularized and be as compact as possible while being readable. I find it hard that anyone could claim the opposite and be right "as a matter of taste"

mhomde··on Dad and The Ten Commandments of Egoless Programming (2012)
"Are you out of your mind???" ;)

But in all seriousness, projecting issues as character flaws is a really destructive thing to do, not just in programming but in any relationship. It's a really good habit to avoid it whenever possible.

I read somewhere (I think it was Blink) that marriage counselors could tell which marriages would fail by observing those that generalized around their spouses character rather arguing about the issues, ie "You always..."

mhomde··on Former Nvidia Dev's Thoughts on Vulkan/Mantle
I think you can... but it's really hard to design an architecture that's both powerful and easy to use. It's important to have different layers of abstraction and allow developers to develop at the level of abstraction needed to obtain the control they need.

Often it's also a question of how things are composed, not just how much they're abstracted away. If you're use case dictates that you need to separately control something that's been composed into one thing then you're usually out of luck

mhomde··on The Passport King
Haven't people actually been giving UP their US citizenship because they tax their citizens wherever they live?
mhomde··on The Curse of the Black Lotus – How MtG Avoided Becoming Beanie Babies
I wouldn't say that's true (unless things have changed since I played). There are some decks that are dependent on many rare and expensive cards... but its also possible to build killer decks on common/uncommon cards with perhaps a few rare ones.

Deck construction really is one of the more creative aspects of MtG where you can create new kinds decks or twists on old ones

mhomde··on The Curse of the Black Lotus – How MtG Avoided Becoming Beanie Babies
But but... only n00bs black with white border cards ;)
mhomde··on The Curse of the Black Lotus – How MtG Avoided Becoming Beanie Babies
ah the dreaded "Power Nine" :)

I think the most infuriating thing about MtG was the obsolation of whole sets, I get that's its' smart business from WoT and there are some tournament forms where you can use different sets... but still, felt a little bit like playing a game you never could win :)

Must give credit to MtG for introducing me to a world of cutthroat deal-making that would give UN a run for their money. Trying to saw together swaps with other collectors could be very challenging and rewarding. You learned the hard way the times you were "scammed" and someone got the better of you.

mhomde··on Sir Terry Pratchett has died
and that is still better than being dead :)
mhomde··on Sir Terry Pratchett has died
Man, first Nimoy and now this... I hate being the age when all your childhood heroes starts dying off one by one :(
mhomde··on Alarming number of spam false positives in Gmail
Might be a good idea to make a folder and a filter for Apple mail :)
mhomde··on What is good code? A scientific definition
An author can give a book to different people for proofreading, copyediting, and substantive line Editing.

Some of the "voice" of the author might indeed be lost just because good copy editing normally is about 20% of a draft , but it could be argued that what's left is better for it.

I agree though that one should try to keep the overall tone/style the same

mhomde··on What is good code? A scientific definition
yes maximum entropy = high information density. When you compress a file it usually leds to higher entropy. I agree that being terse in itself isn't the primarily goal, that's why I said "while being" ie has to reach the understandability and maintainability criteria as well

If you think I'm using the term wrong I'd appreciate a reference, thanks

mhomde··on What is good code? A scientific definition
high entropy in information theory is as much information per unit as possible as I understand it, but I confess I had to look it up to make sure :) I think the confusion is from physics where entropy is more about disorder

http://en.wikipedia.org/wiki/Entropy_%28information_theory%2...

mhomde··on What is good code? A scientific definition
Its hard to put a clear hierarchy of importance since it's a rather fine balance. As you say going for maximum compactness makes it much less understandable (Regex anyone?). That's also why i used the term entropy rather than compactness. It's not primarily the number of characters we're optimizing for but code as information dense and devoid of redundancies as possible.

I actually think you should be verbose to the point of building a DSL-like syntax for your solution to improve readability. Even for instance addint small properties and methods that simplifies reading. It's much easier to read

  if (CanWrite && WillFitDisk)
than

  if (File.Position != File.EOF && Disk.AvailableSpace > Buffer.Size)
Even if reusability of those small methods and properties aren't high

So I see it as "compact" as possible as long as you fulfill understandability and maintainability.

mhomde··on What is good code? A scientific definition
My definition is another: "Great code contains maximum entropy towards to its purpose while being easily understandable and maintainable."

Each part is interconnected to ensure quality and efficiency:

1. Maximum entropy means that your codebase should contain as much concentrated "information" as possible in relation to its size. Free of copy & paste code and repetitions that can be reused in libraries, methods and classes. This ensures less code to maintain , easier to spot bugs and easier to spot patterns.

2. Understandability (that includes readable): That means no blob classes or methods with an infinite number of purposes. Each layer of abstraction simple enough to keep in mind in its entirety.

3. Maintainable: It should be bug resistant, making it hard to do the wrong things and easy to do the right (for example putting required parameters into constructors rather than fields or properties). You should be able to replace and/or modify individual parts without side effects. Having as little code as possible also helps with this.

I think "covered by automated" tests are nice ... in some cases. It is far from a rule that they're a panacea for every kind of project, code and/or situation nor are all kinds of code wort the effort (models & algorithms: yes, UI: usually no). It also depends on the team and methodology.

That good code does what its suppose to do and should be bug free should be a given :)

mhomde··on Google Calendar for iPhone
Uhh, does it have neither a month nor a week view or am I missing something? You have to scroll, no way to get an overview?
← PreviousPage 8 of 11Next →