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...
"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
"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
"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 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 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
"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
"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
"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
"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
"So the 1st president of the EU would be a war criminal? What a way to credibilize the post. If this comes to pass, it'll be blatant proof that European public opinion is completely irrelevant and disregarded on the matter of who rules the EU. I guess the Americans are right, we are turning into a mammoth bureaucracy ruled by an old boy's club, unanswerable to the voters."
- Olifante
"Why is mdipierro so disliked here in Reddit? Whenever he writes a comment, it seems to attract downvotes like a magnet, even when he's saying pretty neutral things or even helpful things. Yes, he's always evangelizing web2py, but he does it by always arguing from a features/technical perspective. For the record, I'm using Django and happy with it. I tried web2py and it seemed pretty slick, but in the end I decided that Django had the greater momentum, community and ecosystem."
- Olifante
"* Native Portuguese; * Fluent Danish after living 2 years there; * Fluent French comprehension (oral and written), oral production currently a bit rusty; * Good Spanish comprehension, reasonable oral production; * Reasonable comprehension of Italian and German, moderate oral production; * Moderate to reasonable reading comprehension of Swedish and Catalan; * Some Russian, Hungarian and Czech; * A little Greek, Arabic and Turkish; * Currently learning spoken Mandarin with the Pimsleur audio courses and loving it!"
- Olifante
"I shudder every time I hear some news article mention the possibility of Blair becoming the EU President. If they really try to make this happen, I'll be demonstrating on the street against it."
- Olifante
"So "peace" is "war", doublespeak is alive and well. George Orwell would feel vindicated. Tony Blair is a war criminal, like George Bush and the mentors of the criminal and ill-conceived rape of Iraq. I don't suppose they'll ever be tried for war crimes, but it doesn't change the fact that any decent person should never cease to remind them of what they are."
- Olifante
"Domains are becoming less relevant as more and more users just google the name instead of typing in the address. Choose any non-obscure domain name with one of the common TLDs (.com, .org, .net, .me, .eu) and you should be fine."
- Olifante
"[Trac](http://trac.edgewall.org/) is a project manager, bug-tracker & issue-tracker that can be easily associated with a Subversion repository. There's also a plug-in called [GitPlugin](http://trac-hacks.org/wiki...) that lets you work with a Git repository instead, but I'm having trouble getting it to work."
- Olifante
"just found out that a previous comment suggests the same, using [Erlang's list comprehensions](http://www.reddit.com/r...) as an example. Unfortunately, much as I like Erlang, syntax is not its best feature."
- Olifante
"somewhat like Python's list comprehensions (borrowed from Haskell, which borrowed from set theory): [(p.name, p.age, p.height) for p in persons if p.age > 30] instead of SELECT name, age, height FROM persons WHERE age > 30"
- Olifante
"So the people of Israel, a country that had a democracy until Jan 12(*), are not responsible for the actions of their elected leaders? While most polls say that they approve of the current military attack on Gaza? You gotta be kidding. Anybody has the right to choose not to consume some product to criticize the behavior of the producer, and to invite others to do the same. It's preposterous to try to equate this kind of economic pressure with military action. Meanwhile, the Israeli blockade of Gaza continues unabated since June 2007, preventing food, fuel and medicine from reaching the 1.5 million Palestinians captive in the Gaza ghetto. (*) On January 12, Arab parties were banned from running in the next elections: http://www.haaretz.com/hasen..."
- Olifante
"pretty cool, I wasn't aware that Gedit was that expandable and that there was so much stuff. One thing puzzles me: the plugin list has a strong Python bias (not complaining, on the contrary) but there are no Django plugins. Also, if I understand correctly, Gedit does not do auto-completion, which is a bit of a disappointment."
- Olifante
"jEdit is very good and has lots of good plugins. However, the application never felt native to me, and the last time I used it I had to use CTRL instead of Command, breaking my muscle memory which by now is tuned to the standard OS X shortcuts. Also, the look & feel of the various plugins varied a lot, leading to a sort of visual cacophony when using several plugins. You can use plugins to replicate and even surpass the functionality of a full-blown IDE with jEdit, but it always felt a bit stitched together to me. Standard IDEs give you a smoother experience and UI."
- Olifante
"I've used vi, later vim and then emacs extensively, and although they're great and very powerful, the world has evolved. If you have already paid the cognitive price of learning them and feel fluent and productive, stick with them. However, I increasingly feel that it makes no sense to advice someone nowadays to start using vim or emacs. People expect more out of editors nowadays, and you can argue that several free editors are more usable and immediately productive for a newbie than either emacs or vim. The visual aspect is also important. Vim and emacs look and feel dated, even with all the continuing updates. It's a different, older UI metaphor, and people expect visually richer interfaces nowadays, complete with drag-and-drop and seamless blending with the native look-and-feel of their OS of choice."
- Olifante