HNHacker News
TopNewBestAskShowJobs

Yrlec

1,776 karma · joined May 10, 2009

Founder and CEO of Degoo (http://degoo.com) https://play.google.com/store/apps/details?id=com.degoo.android
submissionscomments
Yrlec··on Why Writing Your Own Search Engine Is Hard
Have you looked into 80legs.com? It seems like a good service to use if you want to start your own niche search engine (I'm not affiliated with them, just curious).
Yrlec··on Add Latency to Localhost
If you only want it for http you could use Fiddler (http://www.fiddler2.com)
Yrlec··on The Technical Debt of Hiring
I've been using codility.com to make the initial screening less cumbersome and more scientific. It has worked aweseomly well so far! (I'm not affiliated with them)

Resumés say very little about the applicant but seeing them in action through actual programming tests says a whole lot!

Yrlec··on Google Releases mod_pagespeed for Apache
This looks very promising! Microsoft has similar features (although not officially supported yet) for ASP.NET: http://aspnet.codeplex.com/releases/view/50869 http://aspnet.codeplex.com/releases/view/35893
Yrlec··on Google Groups Data To Be Destroyed
Sure, but it's in Swedish. If you still want it I can e-mail it you.
Yrlec··on Google Groups Data To Be Destroyed
My Master's Thesis covered exactly that. I'm currently working on commercialising the idea, so you can expect a "HN - Review my startup" within a year :)
Yrlec··on Data sorting world record: 1 terabyte, 1 minute
That's for comparison-based sorting algorithms (i.e. sorting objects where the only information you have about them is whether one object is "bigger"/"smaller" than the other. For objects where you have more information about the object (i.e. integers) you can sort faster. My supervisor for my Master's Thesis did just that: http://www.drdobbs.com/184404062
Yrlec··on Zen, Skill Development, and The Inner Game Of Tennis
My mom is a psychologist and she travelled to the U.S. just to attend one of his courses (we're Swedish). She had never played tennis but she got elected as the one he would teach how to serve and she managed to hit almost all serves after 20 minutes. She got so excited that she brought me to the U.S. to practice for a couple of days with Tim Gallwey's tennis-partner Sean Brawley.Throughout my life I've always been extremely bad at performing under pressure (especially in tennis) but he taught me things about myself which improved my tennis more in an hour than a full year of practice with any other coach. I never became a good tennis player (partly because I'm cross-eyed and therefore lack normal depth perception) but I've had amazing use of the tricks he taught me and a couple of years ago it helped me win the World Championship in NHL 2004. It still amazes me how I managed to overcome my extreme performance anxiety (which has always stopped me from performing well when it mattered the most) and focus, while having four TV-cameras right behind me. It was like someone else was playing for me.
Yrlec··on Senators Kerry & Lugar Introduce the Startup Visa Act
I still think you are able to accept more people into the country. In 2007 the Swedish city Södertälje (with about 80 000 cititzens) accepted more Iraqi refugees than the US & Canada combined: http://www.sweden.se/eng/Home/Work/Life-in-Sweden/A-multicul...
Yrlec··on How a job is created
It's not a matter of creating or destroying jobs. It's a matter of productivity. During the past 200 hundred years, employment rates have stayed more or less the same (compared to the revolutionary improvements in standards of living we have accomplished). What has gone up is our producitvity. Sometimes improved productivity creates jobs (through new business) and sometimes it destroys them (people become redundant) but for society overall it's a net win.
Yrlec··on Beautiful Code
"It's the intersection of simplicity and functionality."

http://stackoverflow.com/questions/563036/what-is-elegant-co...

Yrlec··on Make More Than GPA
You mean that it usually does not prevent a statement from being overly-broad. :)
Yrlec··on Google Plans Its Own Android Phone
That would be really cool! And with e.g. VNC or Remote Desktop you could run more demanding tasks off of your dekstop computer.
Yrlec··on Reliable, fast UDP-based data transfer protocol that outperforms TCP
It would be cool if someone intergrates this into Google's libjingle (http://code.google.com/intl/en-US/apis/talk/libjingle/index....) to get efficient NAT-traversal.
Yrlec··on Barack Obama gets Nobel's Peace Prize
Especially since the Nobel Peace Price is awarded by a committee of five people elected by the Norwegian Parliament. All other comittees are Swedish. Alfred Nobel's intention with this was to improve Sweden-Norway relations.
Yrlec··on How to get Stackoverflow Reputation
The funny thing is that Joel Spolsky seems to be very aware of the problems with point systems: http://www.joelonsoftware.com/items/2006/08/09.html
Yrlec··on The 30-day flight
The city that was the most positive surprise was probably Honolulu. The people were even friendler than I had expected, the city was the cleanest of them all and I really liked the way they had combined beach- and "city"-life.

If you wanna see all the places I went to you can view them here: http://www.flickr.com/photos/65204739@N00/sets/

Yrlec··on The 30-day flight
A bit off-topic but I did exactly that a couple of months ago. Around the world in 29 days. The best trip of my life!
Yrlec··on Why Japan’s Cellphones Haven’t Gone Global
Popluation density doesn't completely explain it. For instance here in Sweden we also have 100Mbps Internet-connection for about $20-$30/month and flat-rate 3g data-plans and we aren't exactly densily populated (#192 in the world according to Wikipedia http://en.wikipedia.org/wiki/List_of_countries_by_population...). Here I think it has a lot to do with the fact that government has been pushing a lot for better IT-infrastructure.

I'm personally I strong believer in the free market, however sometimes the market is too short-sighted to make investments that will benefit society in the long run. Infrastructure and education are good examples of that. It's hard for private investors to get good ROI on things like roads, IT-networks and schools because it takes many years to get any return and it's hard to charge people as much as it actually benefits the public.

I saw and interview with Bill Gates where he basically said that this was his rationale behind the Bill and Melinda Gates Foundation. The market simply doesn't maximize the amount of lives saved per dollar and you need non-profit organizations to do that.

Yrlec··on A Genetic Programming Approach to Automated Software Repair
I haven't read the entire report but it looks really cool. If I understand it correctly it can automatically detect and fix bugs previously found in other software. Would be really cool if you would have a huge database of known bugs which you can detect automatically. Kind of like collaborative unit-testing.
Yrlec··on Sweden Cuts Deposit Rate to Negative 0.25%
The negative rate only applies for banks which store their money overnight at the Swedish Central bank (Riksbanken). The interest rate at peoples' bank accounts is stil positive. They do this to force the banks to lend the money they lend from the Riksbank, and not just keep it (to reduce the bank's liquidity risk).

It's stil very low though. Too low if you ask me, solving an economic crisis through inflation is just the same thing as forcing everyone to lower their salaries, but people don't understand that so it's easier to get away with it.

Yrlec··on Bead sort: faster than O(N log N) sort
I think you are mixing runtime scalability with the actual complexity. Big-O definition from Wikipedia: Let f(x) and g(x) be two functions defined on some subset of the real numbers. One writes f(x) = O(g(x)) as x -> infinity if and only if, for sufficiently large values of x, f(x) is at most a constant times g(x) in absolute value. That is, f(x) = O(g(x)) if and only if there exists a positive real number M and a real number x0 such that |f(x)| <= M|g(x)| for all x > x0.

In the above case M = 32, f = mergesort and g(x) = x because no matter of large input you have mergesort will always take less than or equal to 32n operations (since log(n)<=32) .

Yrlec··on Bead sort: faster than O(N log N) sort
Restricting the size of w (and therefore also n) does not make it linear.

Lets say you have restricted w to 32. Then you also know that n <= 2^32. If you now for instance are using mergesort then you also know that the number of recursions are at most 32 (since you split the input in half each time), i.e. it executes within at most 32n operations. So with that logic mergesort would also be linear.

Yrlec··on Bead sort: faster than O(N log N) sort
A word which is w bits long can hold a number between 0 and 2^w-1. If you want to hold a larger interval than that you need to increase the size of w.

Perhaps you can make it smaller than log(n) for many use cases by restricting the type of input you accept but O(f(x)) only refers to the worse case.

Yrlec··on Bead sort: faster than O(N log N) sort
Radix-sort is actually not linear. The algorithm will only work if the word-length w>=log(n) (because otherwise you can't store all possible n) so O(nw) is practically the same thing as O(nlog(n))
← PreviousPage 5 of 5