HNHacker News
TopNewBestAskShowJobs

jmartinpetersen

703 karma · joined December 20, 2011

username @ gmail . com
submissionscomments
jmartinpetersen··on Making fun of LinkedIn “quote of the month” meme computationally
I'm using either "socialism", "inadequacy" or "rituals" next time this comes up.
jmartinpetersen··on We had a unit test which only failed on Sundays
We run all our tests nightly (as well on a per commit basis) as a matter of policy. It is incredibly useful when something like this pops up - and with a somewhat obtuse code base like ours, it does a bit too often.
jmartinpetersen··on Pragmatic app pricing
It seems the complaining competitors are betting on keeping content delivery mechanisms from being commoditized. History shows that it is a risky bet.
jmartinpetersen··on All the UML you need to know
I hope UML as blueprint (or even, shudder, UML as a programming language) now mostly lives on in the memory of those who suffered under it.
jmartinpetersen··on All the UML you need to know
Key quote: "Keep in mind that UML is a communication tool, and you can omit details that are not necessary for expressing your message."
jmartinpetersen··on Generating Word Search Puzzles
From the article: "(Bonus: the letters left after finding all the words spell out one of my favorite features of Ruby…)"

So it's clearly been done. Or did I misunderstand something?

jmartinpetersen··on Generating Word Search Puzzles
From the article: "(Bonus: the letters left after finding all the words spell out one of my favorite features of Ruby…)"

Or did I misunderstand something?

jmartinpetersen··on Tests' Influence on Design
There's a lot of interesting material there besides the linked article, it's worth at least a quick browse.
jmartinpetersen··on Why telephone keypads are arranged the way they are
It wasn't only credit card readers in Denmark that used the calculator style, most of the POTS phones I've used in my life - like http://www.scandinavian-designers.com/EN/wp-content/uploads/... - have used the calculator style.

The emergency number used to be 000, but it was changed to 112 to match the rest of the EU.

jmartinpetersen··on Google loses data as lightning strikes
Oh, I see you're Selling the Drama ...
jmartinpetersen··on Beyond PEP 8 – Best practices for beautiful intelligible code [video]
In the presentation it was two if's, not an if and an elif. Someone up-thread misrepresented it.

I didn't read it carefully here, as I had already seen the presentation and it wasn't until your disagreement I realized the code was different.

jmartinpetersen··on Ask HN: Do you feel like you're missing out?
Every day. But then I look at my children, remember the work I've done that I'm most proud of and stuff like that and I shrug it off.

Sure, I would love to be more socially engaged in my surroundings, but whenever I'm in doubt about my life I reevaluate my priorities and usually discover that I'm pretty happy where I'm at. It's my life and I get to define the optimum, and so far viral content, insta-fame and richness hasn't gotten close to the top.

Caveat: I'm not famous, haven't founded a start-up or famous for my twitter debates. But it works for me.

jmartinpetersen··on What will C++17 be?
The last slide is worth reading (and avoid doing) and most of it applies to much more than committees for programming languages.
jmartinpetersen··on TrackPoint (2011)
A lot of vendors actually did, though with different names (HP called it PointStick and Dell called it Track Stick - I think both were blue).

I'm also very fond of my Trackpoint, although heavy usage does give me some nasty RSI like symptoms in the hands/fingers.

jmartinpetersen··on How not to interview someone who already has a job (2011)
Because you want to minimize friction. They already have a job so they don't really need you. You want them to want you, and making them jump through your hoops (one way or the other) is alienating.
jmartinpetersen··on Ask HN: What advice would you give to your younger self?
People who don't know you, do not care about what you do. Stop worrying about their opinion. Most people who know you, do care. Show you care for them.

The impostor syndrome is real and you may have it.

Do not take rejection personally.

Never stop cycling.

You always look stupid in hindsight and your current you seems to know everything. This never changes.

jmartinpetersen··on Racing goes electric: At the track with Formula E, the first e-racing series
It seems your data on F-1 are slightly out of date. Yes, the rules are the same for everyone, but each team optimizes within them differently. As for identical cars, I guess McLaren only wish they had a car like Mercedes or Ferrari (or any old car that could actually last an entire race).
jmartinpetersen··on Dependency injection – a functional way
Works for me.
jmartinpetersen··on Fired
The post itself touches upon an important issue. Some of the speculation about what happened at Github, though, seems to be the HN version of tabloids.
jmartinpetersen··on Excuse Me Sir, Your WebRTC Is Leaking
Very cool! But your subnet "detection" seems based on a broken assumption.
jmartinpetersen··on Facebook's Name Policy Strikes Again, This Time at Native Americans
"Lone" is also the 13th most common name for females in Denmark.

Source: http://dst.dk/en/Statistik/emner/navne/navne-i-hele-befolkni...

jmartinpetersen··on Why Learning to Code Is So Damn Hard
And math, really. Reading proofs is easy, writing your first proofs is really hard. Most people learn by doing, not by watching.
jmartinpetersen··on Scientists say they’ll soon extend life ‘well beyond 120’
Generally speaking, there's a decent chance that they wouldn't be able to afford honoring the agreements. I would speculate that what would happen would be up to whatever regulatory body that oversees this. Most actuaries I've met consider life to stop no later than 120, and products reflects this.

You can compare the price of insuring against invalidity as e.g. a 30 year old with the price of a life annuity to see just how expensive it could be.

jmartinpetersen··on Forget Wearable Tech. People Really Want Better Batteries
I agree. I know everyone are talking phones, but this battery swapping thing is a good idea and seems actually to be a route Tesla is testing.
jmartinpetersen··on Scientists say they’ll soon extend life ‘well beyond 120’
This is where you consider buying a life annuity from a life insurance company if this really concerns you.
jmartinpetersen··on “PSD is not a good format”
The code (and comment) is five years old. Any updates on how the PSD format has changed (if at all) since then?

Also, the title used here isn't actually a quote from the link. I'd opt for the closing sentence "PSD is not my favourite file format" instead ...

jmartinpetersen··on Two-year-old Nexus 4 issue status changed to obsolete
As I remember FreeBSD 5.0 (and 5.1 and 5.2 for that matter) were always labelled -RELEASE (and not -STABLE, that didn't happen until 5.3).

It was a chicken and egg kind of problem, where a lot of stuff in the new kernel was rewritten/redone, among other things to get rid of the GIANT lock and enable SMP support in the kernel. There was also a new threading implementation, a new I/O block layer and all sorts of stuff that needed more exposure.

jmartinpetersen··on How to Learn Efficiently
My current quest is to take something from the business domain I work in and implement the bizarre math stuff (which I don't get all of) in a backend in F# with a frontend in Javascript (I'm fluent in neither).

I've tried it before (with different technologies), and although it didn't make me an expert in either field, I've found it neatly ties most things together.

Oh, and it's usually fun, especially if you put somewhat bizarre obstacles in your way (remember, it's a learning experience, not production code). It could be something elaborate like http://www.xpteam.com/jeff/writings/objectcalisthenics.rtf or just a concious decision to implement a part of the design in a part of the system where it isn't most obviously at home.

jmartinpetersen··on Rooms and Mazes: A Procedural Dungeon Generator
But what about something completely different? I get that generation of "content" is (going to be) a big thing, but I'm curious if there's something about it that was applicable in a completely different setting (medicine, finance, whatever).
jmartinpetersen··on Rooms and Mazes: A Procedural Dungeon Generator
It is an amazing article. The "fluff" prose is well written and the visualizations are awesome. Kudos.

An honest question, though, is maze generation generally useful? Other than for generating mazes and dungeons, obviously, not that isn't a worthy goal in and of it self.

← PreviousPage 4 of 5Next →