background preloader



Setup Diaspora on Ubuntu | GNU/Linux Diaspora => The privacy aware, personally controlled, do-it-all, open source social network. Was seeing lot of people facing issues to in set up, including me at the beginning, so i thought to make a setup script for ubuntu os,which can be cloned from my repo [[ Mentioned below ]]. I have tested it to the max i could, still it might not be fool proof, do try and let me know if you find any bugs. Me trying Diaspora on my localhost Bit flaky Update : This script got merged with the main branch of Diaspora Can be seen in the main branch of diaspora, ubuntu-setup.bash I thank the diaspora team for accepting my small contribution. The script Update : Notice many facing issue in executing the script, download it and run it as sudo bash ubuntu-setup.bash Update : Thanks again to the diaspora team, for listing me here <div class="disqus-noscript"><a href="

phpBB 14 Ways To Have Fun Coding Ruby 14 Ways To Have Fun Coding Ruby This guest post is contributed by Jeff Schoolcraft, who runs The Queue Incorporated a freelance consultancy that provides custom software development in Ruby, Rails and iOS. He produces screencasts with his partner, Istvan Hoka, at BDDCasts. When he’s not building his business he’s trying to keep up with his two daughters and spending the rare free moment with his wife. From time to time you might need to spice up your romance with code to make it a bit more interesting and fun. Here are 14 different ways to have fun coding Ruby. By Yourself 1. The original problem site for our community was based on the Perl Quiz of the Week. Basically every Friday a quiz gets sent to the Ruby Talk mailing list, you have the weekend to solve the quiz during a 48 hour no-spoiler period. 2. Dave Thomas put out a series of 15 Kata, or specific practice sessions, to help you flex your Ruby muscles and excel at Ruby. 3. 4. 5. With a Partner 6. 7. Code vs Code 8. 9. 10. 11. 12.

How to install Diaspora on Windows? | Raza Mehdi's Blog So the wait is over. Diaspora is finally here. I have been working on getting it up and running in Windows. Download the Ruby installer from RubyInstaller download page. There it is, a working installation of Diaspora on Windows. This entry was posted on Tuesday, September 21st, 2010 at 11:30 pm and is filed under Uncategorized.

Syncany Optimization Tips: Ruby on Rails and MySQL « Garrick Van Buren .com « Web Application Research, Strategy, and Development Stop. I’ve uncovered these tips after (at least) the 3rd refactoring effort of some fairly simple, straight-forward Rails code. Rails is great for getting ideas prototyped super fast. These tips will slow down development and make apps less portable. My approach to this round of optimization was watch the Load calculations in the development log and optimize transactions with a Load greater than 0.0009. First, a rule of thumb: Development boxes are faster than production boxes.

Etherpad Herminio Torres » Blog Archive » Semana 3: Receitas FreedomBox Use batched finder for large data query Posted by flyerhzm on September 09, 2010 If you want to do a large data query such as finding all the 10,000,000 users to send email to them, you should use batched finder to avoid eating too much memory. Imagine you have a newsletter system which is very famous and has 10,000,000 users. Every Monday morning, the system will send emails to all of the users. In General You may find all the users, then send emails to them one by one User.all.each do |user| NewsLetter.weekly_deliver(user)end It may work, but do you know there are 10,000,000 users? Improvement From rails 2.3, find_each and find_in_batches are available for batched finder. User.find_each do |user| NewsLetter.weekly_deliver(user)end Using find_each, the application only finds 1,000 users once, yield them, then handle the next 1,000 users, until the last 1,000 users. 1,000 is the default batch size, if you think it is small/big to you, you can use the :batch_size option to change it.

AlternC Composite Primary Keys Galette La nouvelle version de Galette, 0.8.3, est désormais disponible au téléchargement ! Quelques nouveautés, quelques bogues corrigés sont au programme de cette nouvelle version. Vous pouvez consulter le changelog complet pour davantage de détails. Il s’agira de la dernière version de la série 0.8 du projet, ce qui signifie que je n’ajouterai pas de nouvelles fonctionnalités au projet avant la sortie de la version 0.9 (qui est déjà sur les rails depuis un certain temps, voire un temps certain, mais sur laquelle il reste encore du travail, bien entendu). D’ici très peu de temps, les branches develop de Galette et des plugins passeront en 0.9 ; et ne seront pas particulièrement fonctionnelles, de même que la version nightly. La documentation suivra très certainement, il faudra que je parvienne à me motiver :D La suite... En attendant, vous pouvez tester la dernière Galette, participer aux listes de diffusion, et aussi faire des dons (il y a un bouton pour ça juste à droite !