News for hackers. Stuff that matters.

hassenben

Re:Tell HN: AeroFS - File Syncing Without Servers on Friday July 23, 2010 @12:10PM (#1541573)
Could someone clarify the difference between aerofs and rsync? What can aerofs do that rsync doesn't?
Re:Django Hidden Hires on Thursday June 24, 2010 @02:15PM (#1458660)
brighter please
Ever heard of compersion?
Re:Need to process payments? on Monday June 14, 2010 @01:07PM (#1430235)
The views counter is not unique. Fun!
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

Re:Making Your First Google Chrome Extension on Wednesday June 09, 2010 @01:36PM (#1417646)
Except when they are Google extensions and the JS is obfuscated + compressed + encoded and therefore completely useless.
Reference please?
Re:The Pirate Bay goes down after legal pressure on Monday May 17, 2010 @03:55PM (#1355318)
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.

Re:Django 1.2 final out on Monday on Saturday May 15, 2010 @03:00PM (#1350445)
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 ;-)

Re:Django 1.2 final out on Monday on Saturday May 15, 2010 @01:53PM (#1350310)
Unfortunately, Django 1.2 has much more to learn from Symfony and Doctrine.
Re:Django 1.2 final out on Monday on Saturday May 15, 2010 @01:50PM (#1350301)
It is also a change from the Facebook/Steve jobs reply/ipad articles.
Anyone has a link to a NPAPI/Pepper interface in another language than C++?
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.

Re:Iron Man's Suit Isn't Patented, It's A Trade Secret on Wednesday May 12, 2010 @01:15PM (#1341554)
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.

Re:Four Nerds and a Cry to Arms Against Facebook on Wednesday May 12, 2010 @01:08PM (#1341528)
“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.

Re:You are Probably Mis-Diagnosing People as Stupid on Tuesday April 27, 2010 @09:05PM (#1300370)
"stupid refers to lack of ability while ignorant refers to lack of knowledge" -- Therasus

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

Re:George Carlin - Saving the Planet on Tuesday April 27, 2010 @11:52AM (#1298601)
Earth Day was 5 days ago :-)
Re:How to Keep Crappy Programmers on Monday April 26, 2010 @05:35PM (#1296206)
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 :-)

Re:Women in tech - Stop talking, start coding on Monday April 19, 2010 @01:18PM (#1277275)
Did you just copy paste your comment from http://news.ycombinator.com/item?id=1273711?
Re:Vimium - the hacker's browser on Thursday April 15, 2010 @07:34PM (#1269261)
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 :-)
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

Re:Unix recovery legend on Tuesday March 23, 2010 @01:38AM (#1212310)
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

Re:Do you need a co-founder? (Google Docs list) on Thursday January 14, 2010 @08:32PM (#1054015)
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 :-)