Recent submissions

Comment · 12 years ago
If you plan on gaming, DON'T buy a laptop. This is solid advice. Gaming on laptops is a bad experience in general.

Just buy a decent laptop with great battery life & mobility properties and a PS3/4 or a cheap gaming PC for gaming.

Comment · 14 years ago
Oh that's cool. Didn't know about that.
Comment · 14 years ago
The problem on Android is that a lot of countries still don't support payments for apps. In other words, on android you still can't use paid apps. You're limited to the free apps. That's one point where Apple really shines thanks to their already existing infrastructure for iTunes. I also think that's one of the reasons why devs flocked to iOS development in the first place. Millions of active accounts with valid creditcards attached to it is a tempting thing :p
Comment · 14 years ago
Watch a youtube review or read a review on it. If possible, test it out on a friends phone?

In a perfect world Apple would allow a trial mode for apps which would enable all features for X hours or X uses. But that's just Apple. It'll never happen. I heard though that MS does something like this for its apps? Or is it only for games?

Comment · 14 years ago
This is definitely a good thing. Support the developers. It takes a lot of time and effort to build an app. Surely a single dollar (usually) is not too much to pay. Im' still surprised how cheap most apps are for my phone ;o
Comment · 14 years ago
I think he's saying Java is recreating what C made.I don't agree since Java allows writing of code at a higher level. (with a garbage collector etc)

Every programming language sort of recreates the basics. They are the basics after all. The neat programming languages/frameworks are the ones that 'reinvent' something. Do something in a completely new way. On a programminglanguage-level it's difficult. A lot of the practices were already invented in early languages like lisp, eifel & smalltalk.

I like Ruby because it's not ashamed of taking the great parts from other programming languages and putting it together in an easily understandable language.

Comment · 14 years ago
Just check his TED talk. http://blog.ted.com/2006/08/29/jimmy_wales_on/

He basically says it's dirt cheap to host and operate and that it's one of the best things about it.

At the time of the video their bandwidth costs per month was just 5000$ and one paid programmer.

Aka you don't need millions to run it. So I was a little baffled when I saw his first big campaign to raise money.

Comment · 14 years ago
I also feel they focus a lot of attention on subscribing and channels. It's now easier to see new content from a channel you love.
Comment · 14 years ago
Yes. Except for okcupid. They pleaded with me via an ad of theirs (which was locally so it wasn't flagged by adblock) telling me that they rely on ads for income. They also said that I coud just pay 5 or 10$ and pay for my use for life. Which was a pretty cool thing to do :)

Ads should be quality checked by the site's owners. A crappy ad can turn away a visitor. At least I don't run the risk of that.

Comment · 14 years ago
It's not their lack of innovation. It's their lack of supporting older devices and locking everything down.

The app ecosystem provides the innovation and that's the only reason why I'm still considering an iPhone for my next purchase.

Comment · 14 years ago
Actually there is a framework: https://github.com/JoshCheek/deject

Have't tested it yet but it makes a lot of sense.

Redefining a class isn't dependency injection it's a hack to get the compiler to stop complaining. It works but it's very unclear to the person reading the program that a class your code depends on was actually redefined somewhere else.

For testing purposes placing this mock class somewhere at the start of your code is clear but only ever practical in that scenario.

I can also imagine that some programmers might not even think of the possibility that some code they depend on was overridden somewhere else.

In real maintainable code where you want to swap out behaviours it's nice if there was a special way of defining your dependencies. This is the same for all languages.

Deject offers a way so you don't have to fiddle with constructors but instead you have handles in your classes that you can override with different behavior if needed.

TL;DR: Yes, Ruby is powerful and you technically don't need IoC containers. But to make it maintainable for everyone it's a good idea to do so anyway.

Comment · 14 years ago
Check out http://theat.me/. Something very similar and 'designy'. And they also index movies on crackle etc. A lot of free to watch sources. (usually only if you are in the US though ...)
Comment · 14 years ago
The door is just a border being resized with a transition. Borders can't be styled that well. So this effect is neat but not very usable imo.
Comment · 14 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton