Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »

Olifante › Comments

Olifante
olifante on In anticipation of 2.2 everyone was requesting copy & paste, what features do you want to see in 3.2? - http://www.reddit.com/r...
"Having a unified mail inbox would be pretty handy for those of us with multiple email accounts." - Olifante
Olifante
PPK: "Apple is not evil. iPhone developers are stupid." - http://news.ycombinator.com/item...
"Argh! Not the dreaded "I don't want to live in a world where X" cliché again!" - Olifante
Olifante
olifante on Dear Reddit, What books would you like to see made into a movie. - http://www.reddit.com/r...
"Perdido Street Station, by China Mieville. What a movie this could be!" - Olifante
Olifante
olifante on Best book to get into Python? - http://www.reddit.com/r...
"seconded. Guido's free online Python tutorial is very readable. You can use it to learn the essentials of Python in a couple of hours: http://docs.python.org/tutoria..." - Olifante
Olifante
olifante on Best book to get into Python? - http://www.reddit.com/r...
"seconded. I never really understood what got people so excited about Dive into Python. Mark Pilgrim is an entertaining writer, but somewhat lacking in pedagogical abilities. I learned Python using the 1st edition of the O'Reilly book "Learning Python". Supposing the quality of the 4th edition is similar, I would heartily recommend it: http://oreilly.com/catalog..." - Olifante
Olifante
olifante on This doesn't seem right -- is there a better way to convert from HTML to plain text? - http://www.reddit.com/r...
"If you just strip the HTML tags you'll end up with an unstructured text mess, unless your HTML doc is pretty simply. Try using Markdownify, which converts HTML to Markdown: [Markdownify online demo](http://milianw.de/project...)" - Olifante
Olifante
olifante on This doesn't seem right -- is there a better way to convert from HTML to plain text? - http://www.reddit.com/r...
"If you just strip the HTML tags you'll end up with an unstructured text mess, unless your HTML doc is pretty simple. Try using Markdownify, which converts HTML to Markdown: [Markdownify online demo](http://milianw.de/project...)" - Olifante
Olifante
olifante on Tim Bray explores Clojure refs - http://www.reddit.com/r...
"Phil Hagelberg, who wrote the comment about using Agents that I think you're referring to, wrote a very good blog post with a step-by-step explanation of his code: http://technomancy.us/130 Here's the corresponding reddit thread: http://www.reddit.com/r..." - Olifante
Olifante
"That's a specious distinction, even if I can understand their interpretation. It's just easier that:1. Templates <=> Rails Views (they both define how data is presented to the client). The biggest difference is that it's easier to include business logic in Rails Views because the Erb template language is as expressive as Ruby itself, while the Django template is deliberately restrictive.2. Django Views <=> Rails Controllers (they both process requests). The biggest difference is that data is passed explicitely from a Django View to its Template, while data is passed implicitely from a Rails Controller to its View." - Olifante
Olifante
Ask HN: what is you favorite two books? - http://news.ycombinator.com/item...
"Frederick Bodmer's "The Loom of Language: An Approach to the Mastery of Many Languages", an oldie but goodie from 1944. Douglas Hofstadter's "Gödel, Escher and Bach: An Eternal Golden Braid". Jared Diamond's "Guns, Germs and Steel: The Fates of Human Societies"." - Olifante
Olifante
Ask HN: What do you think of GitX? - http://news.ycombinator.com/item...
"I love GitX and use the commit view all the time. The visual diff makes it so simple to see what you have changed. I don't bother teaching coworkers that much about command-line git now, I just point them to GitX, which suffises for 90% of their interactions with git. One simple thing I'd like to have is the ability to just click a button and pull or push from a remote branch." - Olifante
Olifante
olifante on I want to learn Django; recommendations? Details in text. - http://www.reddit.com/r...
"I'd go directly with Practical Django Projects 2nd edition. Wish I had found it when I was learning Django." - Olifante
Olifante
olifante on Downtown Phoenix, AZ some citizens decide to exercise their 2nd Amendment Rights : A man, who decided not to give his name, was walking around the pro-health care reform rally at 3rd and Washington streets, with a pistol on his hip, and an AR-15 (a semi-automatic assault rifle) - http://www.reddit.com/r...
"According to this video, there was another guy in the anti-Obama camp with an assault rifle: http://www.google.com/hostedn..." - Olifante
Olifante
olifante on Numerous people with assault rifles attend Obama speech. Police said they didn't need permits and were breaking no laws. Does anyone think this would have been the response if the ones carrying the guns had been, say black? - http://www.reddit.com/r...
"A million threads? Hardly. A search for "rifle" posts this week gives me 10 reddit posts connected with Obama, and half of them of them are dupes (same poster, same title), e.g. http://www.reddit.com/r... http://www.reddit.com/r..." - Olifante
Olifante
olifante on Numerous people with assault rifles attend Obama speech. Police said they didn't need permits and were breaking no laws. Does anyone think this would have been the response if the ones carrying the guns had been, say black? - http://www.reddit.com/r...
"there are people carrying assault rifles to public events and you guys are debating trivialities like the race of the gun owners? You guys are insane." - Olifante
Olifante
olifante on Numerous people with assault rifles attend Obama speech. Police said they didn't need permits and were breaking no laws. Does anyone think this would have been the response if the ones carrying the guns had been, say black? - http://www.reddit.com/r...
"Watch the video. They say there was a white person in the anti-Obama camp that was carrying an assault weapon. The reporters state that it's not clear whether the second person with an assault gun (the black guy apparently being interviewed) was anti-Obama, pro-Obama or something else altogether." - Olifante
Olifante
olifante on Ask Reddit: Google Code, Sourceforge, GitHub, etc. or in-house (public) trac/svn. Which is best for commercial code about to be released under GPL? - http://www.reddit.com/r...
"Unfuddle offers an Issue Tracker AND Git and Subversion hosting. AFAIK, their the only ones offering free private hosting plans (maximum 2 developers, 200MB). Check it out: http://unfuddle.com/" - Olifante
Olifante
olifante on Django in the Real World - http://www.reddit.com/r...
"Great stuff! 181 slides and absolutely worth taking the time to absorb them." - Olifante
Olifante
olifante on The most powerful magnets in the universe - quakes on their surfaces cause massive gamma bursts so powerful that one in 2004 was the equivalent to a dental X-ray for the ISS astronauts, even at a range of over 50,000 light years - http://www.reddit.com/r...
"Sounds similar to the calamitous gamma ray bursts that drive the plot of [Diaspora](http://en.wikipedia.org/wiki...)" - Olifante
Olifante
A Django Developer’s Views on Rails - http://news.ycombinator.com/item...
"What the hell are you talking about? This is ONE article written by ONE person and suddenly it's the Python community's fault for allowing it to exist? Spare me. This victimization technique should added to the list of Logical Fallacies, if it isn't already there." - Olifante
Olifante
The Truth Behind Last.fm Story: Techcrunch conned? - http://news.ycombinator.com/item...
"That piece Carr wrote about Le Web was a hack job -- yet another manifestation of the undying British national habit of badmouthing the French on every possible occasion. Done by professional comedians once in a while it's fun. Done by an entire nation it's disgusting. Compared to Carr's, Michael Arrington's article on Le Web seemed like a balanced critique, and that's saying something." - Olifante
Olifante
A Django Developer’s Views on Rails - http://news.ycombinator.com/item...
"As a pythonista who likes ruby, I think your "Perl's ugly sister" comments were a shot in the foot and detracted from the rest of your argument, which concentrates on rails and has little to do with Ruby itself." - Olifante
Olifante
olifante on Rich Hickey interview on Clojure, STM, Agents, Multimethods & More - Plus: exclusive info on a new 5th concurrency primitive in Clojure - http://www.reddit.com/r...
"InfoQ offers a transcript of the interview, but as costumary it's inside an impossibly small text box. I've posted to the full transcript in a more readable format to my blog: [http://olifante.blogs.com/covil..." - Olifante
Olifante
olifante on Rich Hickey interview on Clojure, STM, Agents, Multimethods & More - Plus: exclusive info on a new 5th concurrency primitive in Clojure - http://www.reddit.com/r...
"I disagree, I found the interview quite interesting. Hadn't heard about the possibly forthcoming 5th concurrency primitive, ClojureScript or ClojureCLR, among other things." - Olifante
Olifante
Re: James on Software | How to Watch Hulu From Canada (or Anywhere Else) - http://jamesgolick.com/2009...
"Actually line 32 of the default.rb recipe already has group "admin". Turns out I just needed to add the "admin" group: # sudo groupadd admin Unfortunately the run_chef script got stuck at a later point after fixing this. I got the following error: ERROR: service[openvpn] (/var/chef/cookbooks/openvpn/recipes/default.rb line 85) had an error: /etc/init.d/openvpn start returned 1, expected 0 [ommited some hard to read errors, basically the same as follows but not as well formatted] ---- Begin output of /etc/init.d/openvpn start ---- STDOUT: STDERR: ---- End output of /etc/init.d/openvpn start ---- from /var/lib/gems/1.8/gems/chef-0.6.2/lib/chef/mixin/command.rb:133:in `chdir' from /var/lib/gems/1.8/gems/chef-0.6.2/lib/chef/mixin/command.rb:133:in `run_command' from /var/lib/gems/1.8/gems/chef-0.6.2/lib/chef/provider/service/init.rb:91:in `start_service' from /var/lib/gems/1.8/gems/chef-0.6.2/lib/chef/provider/service.rb:60:in `action_start' from..." - Olifante
Olifante
Re: James on Software | How to Watch Hulu From Canada (or Anywhere Else) - http://jamesgolick.com/2009...
"Installing capistrano didn't put anything in the path, had to execute cap directly from /var/lib/gems/1.8/bin/cap I also had to install these additional dependencies, otherwise cap would complain: sudo apt-get install libopenssl-ruby ruby1.8-dev make sudo gem install echoe activesupport Even then I couldn't get the recipe to work in my Linode Ubuntu 8.10 slice. I get this error INFO: Starting Chef Solo Run ERROR: directory[/etc/openvpn/easy-rsa] (/var/chef/cookbooks/openvpn/recipes/default.rb line 29) had an error: can't find group for admin" - Olifante
Olifante
olifante on What Emacs Commands Do You Use Most and Find Most Useful? - http://www.reddit.com/r...
"that's pretty handy. TextMate also has this, it's one of my favorite shortcuts: Align Assignments: ⌥⌘] (Command-Option-])" - Olifante
Olifante
olifante on Should I learn C first before jumping into Objective-C? - http://www.reddit.com/r...
"how would you run Scala on the iPhone? Scala only runs on the JVM, and AFAIK there is no JVM available on the iPhone." - Olifante
Olifante
olifante on What is your favorite web development tool? - http://www.reddit.com/r...
"You're wrong about Komodo Edit, it's one of the few free editors that does multi-language highlighting. From the [feature list](http://www.activestate.com/komodo_...): > Multi-language file support > Correct syntax coloring of multi-language files and templated files, common in many web programming frameworks. Add custom language support (User-Defined Languages or UDL, used to provide support for RHTML, Template-Toolkit, HTML-Mason, Smarty and Django)." - Olifante
Olifante
"Very interesting presentation on Dejavu, an ORM similar to SQLAlchemy and Django Models. It has a lovely pythonic syntax for doing queries with lambda expressions, e.g.: box.recall(Comic, lambda c: 'Hob' in c.Title or '#' in c.Title) Instead of for instance Django's Comic.objects.filter(Title__contains='Hob') | Comic.objects.filter(Title__contains='#') I also loved the approach to converting the python queries to SQL code: Dejavu converts the python queries into an AST, which is then deparsed into the desired SQL dialect, an approach that apparently was used long ago by Glorp, a Smalltalk ORM. Dejavu can also work with non-relational backends, such as flatfiles, LDAP stores, memcache, RAM and even the Python shelve. In the question round, Robert also showed a very simple syntax for joins: Table1 & Table2 represents an inner join. Table1 | Table2 represents an outer join. Table1 << Table2 represents a left join. One question that was left unanswered was whether Dejavu supports the..." - Olifante
Other ways to read this feed:Feed readerFacebook