HNHacker News
TopNewBestAskShowJobs

hassenben

51 karma · joined April 30, 2009

Problem solver
submissionscomments
hassenben··on Tell HN: AeroFS - File Syncing Without Servers
Could someone clarify the difference between aerofs and rsync? What can aerofs do that rsync doesn't?
hassenben··on Django Hidden Hires
brighter please
hassenben··on My [husband] works for Electronic Arts, I'm ... a disgruntled spouse. (2004)
Ever heard of compersion?
hassenben··on Need to process payments?
The views counter is not unique. Fun!
hassenben··on "You Don't Understand Ordinary People" - Feynman Gives Advice to Wolfram
I believe this is what you're thinking of.

“No great genius has ever existed without some touch of madness.” -- Aristotle

“There is no great genius without some touch of madness.” -- Seneca

hassenben··on Making Your First Google Chrome Extension
Except when they are Google extensions and the JS is obfuscated + compressed + encoded and therefore completely useless.
hassenben··on PhD Student gets quadrotor helicopter moving aggressively
Reference please?
hassenben··on The Pirate Bay goes down after legal pressure
They need to switch to a complete distributed architecture. Where the site, the tracker, everything is hosted by users. This way, no corporate tools can target them.

The "how" is much more complicated though.

hassenben··on Django 1.2 final out on Monday
models/ORM Doctrine does better job. - abstract model definition via yml file - multiple connections/databases/environments easily managed - Cool API (shortcuts, relations, custom tables etc.) + DQL for queries + support for multiple DB engines

admin interface / CRUD interface - they are easy to generate but easier to customize under symfony. - you can do 90% of the stuff via a config file generator.yml. The rest is extending the generated code and customizing queries to the model

configuration - you can do more via the config files in Symfony and control your project/applications vs Django.

forms system - the abstract forms system comes with generated forms based on your model, widgets with validations, binding with your model, customizable renderers. You can have a custom CRUD interface up and running and linked to your tables in less than a few minutes.

routing - routing.yml and sfPatternRouting does a much better job without using complex regex patterns - Also, all routes are abstract, understandable and well located.

testing - Unit testing and functional testing is very well done. You can launch specific tests, launch failed tests only, call your model/forms easily because they are all objects, simulate a browser session etc. You can do all that stuff with Django but will a lot more code.

framework vs API - symfony abstracts anything useless as a plugin where Django tends to integrate some of it in their Framework (CSV, PDF generators etc.). That's a lack of vision.

Anyway, just a couple of points, I could go on and on ;-)

hassenben··on Django 1.2 final out on Monday
Unfortunately, Django 1.2 has much more to learn from Symfony and Doctrine.
hassenben··on Django 1.2 final out on Monday
It is also a change from the Facebook/Steve jobs reply/ipad articles.
hassenben··on Google Goes Native: Offers Sneak Peak at C++ Support in Chromium
Anyone has a link to a NPAPI/Pepper interface in another language than C++?
hassenben··on I’m graduating with a CS degree but I don’t feel like I know how to program.
Agreed.

Get a challenging job where people can criticize your work and not a job where you can code and deliver with no feedback (except from users with no programming background).

In software, just because it works, it doesn't mean it is well done.

Also, if you can't note a significant improvement in your skills over the next three years after graduation, you're not going to make it big in this industry.

hassenben··on Iron Man's Suit Isn't Patented, It's A Trade Secret
Funny how we make different associations when watching movies.

I watched this movie and thought about BCI, computer vision and marvel comics.

A lawyer takes a look at it and sees patents, laws and court. I didn't even pay attention to the part where Peppers was talking on the phone about patents. To me, it was just some business blabla needed for the scene to make her look busy.

However, I did pay close attention to how he manipulated his 3D, his home interface, the jargon used, the software (no comments) etc.

Just interesting.

hassenben··on Four Nerds and a Cry to Arms Against Facebook
“So many people think it needs to exist,” Mr. Salzberg said. “We’re making it because we want to use it.”

Selfish motives provide the greatest motivation. At least, they are working on it for the right reasons.

hassenben··on You are Probably Mis-Diagnosing People as Stupid
"stupid refers to lack of ability while ignorant refers to lack of knowledge" -- Therasus

You can educate ignorance, you can't rewire stupidity.

hassenben··on [dead]
Earth Day was 5 days ago :-)
hassenben··on How to Keep Crappy Programmers
You have to go through at least one company like that.

It is often the only way to find out what type of "employee" you want to be. (environments, coworkers, projects, schedule etc.)

Or, it will motivate you to become self-employed or launch your startup and do things differently :-)

hassenben··on Women in tech - Stop talking, start coding
Did you just copy paste your comment from http://news.ycombinator.com/item?id=1273711?
hassenben··on Vimium - the hacker's browser
Thank you so much for posting this. It is amazing how you can spend years doing something and realize it doesn't make sense anymore :-)
hassenben··on "We live in an amazing world and it's wasted on the crappiest generation..."
It's very interesting to see how (almost) all these links have less than 15 points when it is the same content....

I guess there is nothing better than an attractive headline

http://news.ycombinator.com/item?id=494066 http://news.ycombinator.com/item?id=1003875 http://news.ycombinator.com/item?id=495561 http://news.ycombinator.com/item?id=474588 http://news.ycombinator.com/item?id=918637

hassenben··on Unix recovery legend
This should only happen to you once in a lifetime.

and this is why my "rm" is replaced by this script... just moving stuff to another directory (trash) and I clean my trash manually (with at least 2 confirmations)...

With all these precautions, if I delete something important, I don't deserve admin rights :-)

randstring=`date "+%Y-%m-%d_%H-%M-%S"_bak`

while [ ! -z "$1" ]; do mv -b -S "$randstring" "$1" ~/.local/share/Trash/files shift done

-hbt

hassenben··on Do you need a co-founder? (Google Docs list)
This is actually quite dangerous. You can use GData to load the document retrieve all contributors and authors.

You can also retrieve the viewers using a cronjob.

GData returns a "Person" objects in 3.0 http://code.google.com/apis/gdata/javadoc/com/google/gdata/d...

and when you know that google docs generates a revision for just clicking around you can retrieve all revisions and email addresses using http://code.google.com/apis/gdata/javadoc/com/google/gdata/d...

Anyway, it is a great idea... but really not a good idea to use a google doc :-)