Better HN
topnewbestaskshowjobs
Log inSign up

dlib

632 karma · joined Nov 24, 2009 (17y ago) · 119 submissions

Submissions

comment 15y ago · link · parent

The piece of paper tells the app the position of the animation and is removed by the app from the video in the iPad. If you look closely you'll see the app projects some kind of wooden surface where the piece of paper was, this could be a pattern recognition thing (looking at the surrounding pattern and filling in the paper with that pattern) or just a custom job.

comment 15y ago · link · parent

Facebook has an SDK written in PHP so you should be able to work with that. It's pretty simple if you follow the examples. As of yet there is no official SDK for Ruby though the unofficial implementations are pretty decent and easy to work with.

comment 15y ago · link · parent

Agreed, my group of friends organise stuff using email threads. Events (theatre, concerts etc.) are put in a Google Calendar for us all to see. It's really useful to e.g. keep track of people's travelling plans, birthdays and other such stuff. Unfortunately, Calendar does not have some desirable features such as seeing that an event is added, changed or deleted and by whom. I hope some of these features will be available in Google Plus.

comment 15y ago · link · parent

This is what I also do, any step in a derivation I would glance over when read must be fully understood and proved whenever I write it down. Every non-trivial result in my math books is written down so I can fully comprehend what's going on.

65.

What Chess Tells Us About the Value of Perception(freakonomics.com ↗)

8 points · by dlib · 15y ago · discuss

66.

How Journalists Data-Mined the Wikileaks Docs(curiositycounts.com ↗)

44 points · by dlib · 15y ago · 1 comment

comment 15y ago · link · parent

Wouldn't work for individual songs, this is where algorithms like the ones Shazam and LaLa use come into play since they'll actually look at the audio file. Getting this correct is pretty important or you'll end up with the wrong songs.

Pirates can actually try to game the algorithm and rip albums in bad quality to minimize file size but good enough for Apple to recognize the songs as such.

comment 15y ago · link · parent

I use MatLab mostly for statistical purposes, together with EViews (statistical software geared towards econometrics). This could certainly ease the transition towards R and replace both aforementioned tools.

comment 15y ago · link · parent

I was halfway a weekend project to find out GAE can't do LIKE-statements or an equivalent thereof, only with some hacking this is sort of possible. Moved the project to RoR and got it working in no time. Another project I had couldn't be done because the datastore was to slow. I love GAE, and use it for quite some little projects but you have to know its limitations. SQL (and hopefully the speed that comes with it) are certainly a step in the right direction.

comment 15y ago · link · parent

With a Codebasehq account also comes a free deployhq account. You commit changes to your git-branch and deployhq will ssh into your production server and update the code. Extra commands (e.g. rake db:migrate) can also be executed. It's basically like Capistrano but as-a-service, but easier to set up (and less versatile probably, but I haven't come across anything I couldn't do).

They're also working on Deliverhq, basically transactional email delivery like Sendgrid.

comment 15y ago · link · parent

I've seen this happen on occasion and it's the one thing that really pisses me off about Spotify. I expect music that's in my playlists to actually be there when I want to play it. I pay for it, it's legal and it earns the labels more than the thousands of people who use Pirate Bay. When they yank the music I listen to, away from Spotify it makes me want to fire up my BitTorrent-client again.

comment 15y ago · link · parent

Douglas Adams' Hitchhiker's Guide comes to mind. 42 is the answer to the ultimate question of life, the universe and everything. I guess many hackers will get the reference.

http://en.wikipedia.org/wiki/Phrases_from_The_Hitchhikers_Gu...

comment 15y ago · link · parent

Works on my 2.1 HTC Hero. It surprised me, didn't think it would be so simple. I'm a bit concerned over the privacy and security implications of this feature though. How is it guaranteed that only Google can trigger app installations? What else can Google trigger on my phone?

comment 15y ago · link · parent

I've often wondered why MailChimp doesn't offer more support for transactional mails. I know there is some stuff in the API but it seems bolted on (am I wrong?). I would really like to use the standard templating for email campaigns that MailChimp has, and use it for transactional mails. An API call to MailChimp with some some arguments would then send a template, the variables (dynamically) filled in, to the user.

Email campaigns are so easy in MailChimp and I'd like to maintain the look of those mails in my transactional mails. Nonetheless, you guys provide a great service!

comment 15y ago · link · parent

How are they dealing with Google AppEngine's support for 2.5 when Django reaches 1.4? Or is AppEngine also expected to upgrade to 2.6 (or higher) anytime soon?

76.

Beware of Greeks Bearing Bonds(vanityfair.com ↗)

1 points · by dlib · 15y ago · discuss

comment 15y ago · link · parent

IIRC the property overloading in PHP is slow, especially compared to hardcoding the getters and setters, so you're better off hardcoding them. Property overloading in itself is a neat feature for syntactic sugar, for example an object with (semi-)dynamic properties like in an ORM. Other properties of classes, those nog generated on the fly, are better off with the getters and setters written out.

comment 16y ago · link · parent

I did the exact same thing a year back, except for the books. Spotlight for the searching, Dropbox for the backups and an scansnap for the pdfs. It's working great, whenever I want to look something up I just search for the key words and there it is. It's a pity there is no search functionality in the Dropbox site. I don't think I'll part with my books though, but being able to search through them would be awesome.

comment 16y ago · link · parent

Yep, my brother had one and lost it soon after he got it.

My father got another one though and I must say it really works, you automatically lean into the wind with the umbrella. Can't say I use it a lot though, I mostly travel by bike and if it's really raining a poncho is much easier than holding up an umbrella.

comment 16y ago · link · parent

I would love to see Python become the standard language for scientific computing including statistics but right now R is popular and gets it done. Don't get me wrong, R is excellent for its purpose and I like working with it and its many specialized libraries. However, Python is fun to hack away in and is more of a multipurpose language.

R works for me right now so that's what I'll stick to.

comment 16y ago · link · parent

I found a way to access last year's exams by doing some url magic in the course catalog so I could access the Blackboard page of previous years the course was offered. Same type of questions came up every year so I knew where to focus on. It's no longer working though since they upgraded Blackboard. Also, googling for the solutions manual has worked for me a few times.

comment 16y ago · link · parent

What's the first thing you look at when optimizing a site for SEO?

comment 16y ago · link · parent

I would certainly look into it. I regularly stumble upon words I don't know (or don't know the exact meaning of) either in my native tongue (Dutch) or in English even though my vocabulary in both languages is extensive. Sometimes I write them down or store them somewhere but mostly I do not because it's not worth the effort. If it's easy to store words into this service, through an extension or a bookmarklet, it might work for me. A problem I come across with Dutch words is that there is no proper Dutch dictionary on the internet and I have to VPN into the university library to look up the definition, which is a bit of a hassle.

Aggregated data of the users might also provide valuable information as to which words are generally considered difficult.

comment 16y ago · link · parent

This week I played a track only to find it had actually changed since last time I played it. The original was retracted and instead I got an alternative version.

Nonetheless I'm happy with Spotify, although the number of unavailable records is increasing

comment 16y ago · link · parent

I have dabbled with GIS files a while back and certainly would've found your website useful but 10 dollars would've been too high a price. It was a hobby project and it took some considerable effort across three different OSes to find the right free software to help me out but ultimately I got the conversion right (map projections were annoying too).

I think there is definitely a market in GIS since the current tools are such a nuisance but the current price is too high for me to experiment with it.

comment 16y ago · link · parent

Glassworks by Phillip Glass gets me to be productive, it is repetitive and some people can't stand it but it works for me. For math the only thing that works for me is silence.

For casual browsing I use Spotify and just look around a bit for something I like, the artist radio has found me quite a couple of gems.

comment 16y ago · link · parent

Rotterdam here

comment 16y ago · link · parent

Thanks, it works like a charm

Now I can easily hook up my scanner to my Google Docs

comment 16y ago · link · parent

I have the same experience. Sometimes don't feel like going out, but I just force myself and I feel better after. Running for me is a great way to deal with stress, I just feel it leaving my body. It's also made me more conscious of what I eat and how much. I wouldn't know if I ever really got into the zone or a runner's high but I find the exercise and sense of accomplishment afterwards very satisfying.

comment 16y ago · link · parent

Life's too short to get worked up over dollars and cents.

In general I try to live as if I've set an hourly wage for my time. Arguing over a few dollars change I consider more expensive than paying a little extra. If there's a task someone else/some company has a competitive advantage in compared with doing it myself, it's cheaper for me to not do it. So, offload git hosting to github, rails hosting to Heroku and spare yourself the headaches.

Applying sunk costs also is a great stress reliever for me, time spent on a project is time you won't ever get back. Don't fuzz about it.

1234