HNHacker News
TopNewBestAskShowJobs

werner34

44 karma · joined September 5, 2011

submissionscomments
werner34··on Ask HN: Does startups hire above 35 years old employees?
Hey Tim,

I knew what you were trying to get at, but wanted to point out that the sentence that you initially wrote wasn't entirely accurate.

Of course I agree that attitude matters, but skills are certainly important, hence my comment.

werner34··on Ask HN: Does startups hire above 35 years old employees?
I know loads of hairdressers that have a good attitude.
werner34··on Mystery signal from a helicopter
Oona's work is always amazing. Loads of interesting hardware stuff in her blog. I wish I would be better at some mechanical engineering/electrical engineering stuff, my work is mostly web-related or big data stuff, never really get my hands dirty :(
werner34··on Why Silicon Valley Can’t Find Europe
London and Berlin have 3).
werner34··on The sum of all the positive integers is not -1/12
Cheers, thanks!
werner34··on The sum of all the positive integers is not -1/12
Alright, got it. Thanks!
werner34··on The sum of all the positive integers is not -1/12
I didn't watch the numberphile video and just read this.

Can someone explain to me why I am allowed to add a padding zero at the start without taking it out at the end?

By adding it, I am giving the sum an offset, and I can kind of understand why adding zero is not a big deal, but they reasoned:

Then S1 + S1 = (1 - 1 + 1 - 1 ...) + (1 - 1 + 1 - 1 ...)

= (1 - 1 + 1 - 1 ...) + (0 + 1 - 1 + 1 - 1 ...)

= (1 + 0) + (1 - 1) + (1 - 1) ....

= 1 + 0 + 0 ... = 1

But I might as well leave the leading Zero out and argue that:

Then S1 + S1 = (1 - 1 + 1 - 1 ...) + (1 - 1 + 1 - 1 ...)

= (1 - 1 + 1 - 1 ...) + (1 - 1 + 1 - 1 ...)

= (1 + 1) + ( -1 - 1) + (1 + 1) ....

= (2 - 2) + (2 - 2) + (2 - 2)... = 0

werner34··on Light Table is now open source
This is great, thanks! I unminified it first to look at the code, but it looks like its not doing anything nasty.
werner34··on Show HN: Have a pug sent to your Snapchat every day
Who has the copyright for these images?
werner34··on Shit programmers write
Exactly.

The same is probably true for this one here:

public bool ShowOptional() { bool bolReturn = false;

    return bolReturn;
}

There should be descriptions why the code snippets are supposed to be interesting, your and my example just look like legacy code to me.

werner34··on 16 years after a mass suicide, the webpage is still up
sure, but specific instances of both are sometimes baffling.
werner34··on How To Write Your Own Java / Scala Debugger
Yes, if you have an IDE you don't have this problem at all.

I am more with the VIM/Emacs crowd though I guess.

I didn't know though that you could create an "evaluation window" in Eclipse. I really liked the refactoring features in Eclipse though and miss them sometimes.

werner34··on How To Write Your Own Java / Scala Debugger
Well, I looked into it but gave up soon-ish because it looked to annoying and my hack was sufficient for me at the time.
werner34··on How To Write Your Own Java / Scala Debugger
Ah, I forgot to mention gdb as well. gdb and python hooked me on this way of developing.
werner34··on How To Write Your Own Java / Scala Debugger
I am a fan of python. when developing python and needing a breakpoint I just write >> import pdb;pdb.set_trace() in the respective line and can then execute the code till that point and have all the current variables available in the console.

This was missing for me when I started doing stuff in scala, so I hacked something to be able to do the same in Scala and jump straight to the REPL(unfortunately variables need to be passed explicitly here, but most of the REPL functionality works:

https://gist.github.com/anonymous/7693857

werner34··on 16 years after a mass suicide, the webpage is still up
I clicked on that link as well and was astonished
werner34··on How the .0001% Made Its Money
Well, I believe that people should be left alone as often as possible and should only be interfered with when urgently needed.

But I also believe that commanding wealth comes with responsibilities, and if some people are not willing to act responsible, they might need someone(the public) to remember them and take some of that wealth to build schools, universities or the like.

I am not saying that Mr. Hiltons wealth should be seized and randomly given to people on the streets. I am certainly not of the opinion that todays western governments are super effective either. But if I have the choice of having Paris spend that massive fortune or the government, I would opt for the government I am afraid.

If Larry Ellison decides to build himself a big pink bouncy castle the size of Oklahoma with his Oracle money he is free to do so and thats fine by me. He earned that money, he is free to do with it what he likes, I don't have to like his choices, but I won't interfere(not that I could anyways).

If someone earns his money by being born and decides to spend it on the big bouncy castle I am not fine with it. If most of what he would have inherited was taken by the public and he still manages to amass a fortune that is enough to build himself that bouncy castle, he is free to do so, and I won't interfere. He made the money,its his choice, not mine.

werner34··on How the .0001% Made Its Money
Well, true, somebody that wants to game the system will find a way.

However, you could still say that everything up to 20 Million* has a lower tax on it and you can give that to your kids in legal ways. I think Warren Buffett and Bill Gates want to give most of their wealth away with a similar reasoning anyways.

That amount of money is still enough to buy a Ferrari and never work again while taking loads of drugs in Monaco every day.

The extra layer of indirection might be enough to guide people in the right direction. I am not sure many people would bet their fortune on their son/daughter in law being good to their kids indefinitely. That would probably provoke some very annoying lawsuits between your kids and their spouses sooner or later.

*= With some correction for inflation over the years, but lets say 20 Million of todays Dollars for example.

werner34··on How the .0001% Made Its Money
Exactly my opinion. And even though I normally lean towards free market related views when it comes to regulation and government, I think a high inheritance tax would be justified in western countries. With it universities & infrastructure could be funded and possibly enable more people to get a university degree.

My underlying reasoning: Every new generation is a giant possiblity for mankind. Now who do we want to command the most resources? If we had kings, it would be the kings heir, no matter if he is clever or not. Thats bad obviously. If we have capitalism without a high inheritance tax, we might have people like Paris Hilton commanding massive fortunes even though some poor kids might have done a lot better with it if they had a chance of acquiring wealth in the first place.

By having a high inheritance tax one would avoid unbelievable fortunes being handed down to people that are not qualified at all.

Another aspect is obviously that the state needs to motivate people to work better than their peers. If - like in communism - it doesn't matter anymore if I work harder than my peers, so I don't work hard. Assuming that most people work for personal gain, wealth, and so that they children have it better than themselves, you need to leave them their wealth during their lifetime and enable them to hand down some part of their income to their kids, and not give all back to the public. If they would have to give everything to the public, the really bright people might stop working at 35 when they accumulated enough wealth for themselves, knowing their children won't benefit from it anyways.

Good article.

werner34··on De-Optimized Content
I am sorry, but what is the message here?
werner34··on How to Create 100,000 Parking Spots in San Francisco
This is what I had trouble with grasping as well.
werner34··on Defeated
First of all I think that moving to another country because you don't like the US customs might be a bit extreme, but still:

  >> 2) Language barriers
  > One, you'd be amazed how much you can get across non verbally
>>> So your answer here is great if you are a long-time tourist. Completely impractical in terms of career and work.

German here, I have worked in Germany and abroad, I worked with an Australian guy working in Germany that spoke about five words of German and that was completely fine ( he did HTML&CSS stuff, a little bit of PHP). Our client was American as well, but he spoke some German I think. (this was 2008ish)

My managers Manager in a big consultancy was American and stayed in Germany for a year and a half I think and did just fine with only english. The project lead at the same company was from India, didn't speak a word of German. On my last visit to Berlin I was amazed how many foreigners are there and working in tech at the moment, just the stuff you pick up on the street in Friedrichshain is amazing, people talking about databases and pointers while walking past you on the street in English with all sorts of accents you can imagine.

The same is probably true for Amsterdam or Copenhagen, the dutch and the danish are usually excellent with languages.

werner34··on Failed App? This Is How To Reboot
You are reducing the room of possible passwords quite a lot, I am not sure if that is a good idea.

Firstly e.g. for MD5 your hashes are never going to contain Letters > f, no uppercase and no special characters.

Secondly you are limiting the possible passwords to hashes of short natural language strings.

werner34··on Why Developers Don't Want to Work on Your Idea (2011)
It wasn't a startup, but my general consulting setup for several clients. Also, in those 12 weeks christmas, bank holidays and all that stuff were included.

I think I worked more than 200 days in the end, but I like to calculate pessimistic and be positively surprised at the end of the year.

werner34··on Why Developers Don't Want to Work on Your Idea (2011)
I've been freelancing in London and always calculate my yearly expected income by multiplying it with 200 to account for holiday, sick leave and general overhead.

£350 * 200 = £70000 before taxes, I think £84000 is overly optimistic here.

werner34··on What If Cars Were Rented Like We Hire Programmers?
Thanks, exactly what I thought when I read the article.
werner34··on You cannot read this, but you can tell how it appeals to you
is this the dutch version of billmonk?
werner34··on Ivy League school janitor graduates with honors
I completely agree, it was a really inspiring read what this man has overcome and to learn about his positive attitude.

Luckily I only have to pay a little for my studies in Germany, though many people are still complaining about the fees. I think they could learn a lot from this mans gratefulness.

werner34··on Your Bash Prompt Needs This
wouldn't typing 'reset' fix this?