About MeCurriculumLicensePortfolioProjectsPublicationsBD-blog

Posts Tagged ‘code’

I've finally found the time to make the necessary fixes and improvements to the theme of my blog.
I decided to not name it a final release just because I could not test it with Internet Explorer 6. I believe that the differences with this beta release and the final one will just be some test with that browser and a better code cleanup :-)
Valid XHTML 1.0 Strict.
Yes, this is the theme you're actually seeing in the blog.
You can go and download it!

 
 

When I announced BD-incollo 6 days ago, I also mentioned that I would have launched the service today. I really did that, and I'm very proud to announce the first site that runs BD-incollo.
http://incollo.com! Very easy :-)
Incollo.com is a collaborative debugging tool like Pastebin or other similar services, but it's slightly different from it. And it's different from other Pastebin clones even written using Rails or Django.
Here are the most exciting features:

  • It's Fast. Very Fast
  • Written thinking about usability
  • A very clean interface, a minimalist design that gives space to the code (as it should always be)
  • It's possible to search through pastes, like in a forum
  • A Paste is not deleted after 30 days or something similar. A paste is deleted after it is no more interesting! It's deleted after 60 days of no visualizations
  • The system is anonymous. It won't store your information! Paste whatever you want but please use your brain! A Paste may be reported to the administrator!
  • You don't really have to play with options and there are no required field other than the Paste itself. You may paste a text and directly hit the submit button
  • Quite every page is XHTML 1.0 compatible
  • It works well and has nice urls, thanks to Django
  • Compatible with every browser (tested with Internet Explorer 6,7,8, Mozilla Firefox 3, Apple Safari, Google Chrome)
  • Resolution friendly! Liquid design that adapts to every monitor resolution (tests from 1024x768)
  • Developer friendly! Every functionality of incollo.com can be used with max 2 mouse clicks and without a mouse scroll!
  • Tested with lots of pastes, quite every source code should be perfectly viewed (this does not happen with every pastebin clones I've tried)
  • Uses Pygments for code highlighting
  • Languages supported: ActionScript, Assembly (various), Boo, Befunge, BrainFuck, C, C++, C#, Common Lisp, D, Delphi, Dylan, Erlang, Haskell (incl. Literate Haskell), Java, JavaScript, Lua, MiniD, MooCode, MuPad, OCaml, PHP, Perl, Python (incl. console sessions and tracebacks), Redcode, Ruby (incl. irb sessions), Scheme, Visual Basic.NET, Django/Jinja templates, ERB (Ruby templating), Genshi (the Trac template language), Myghty (the HTML::Mason based framework), Mako (the Myghty successor), Smarty templates (PHP templating), JSP (Java Server Pages), , Other markup, , Apache config files, Bash shell scripts, BBCode, CSS, Debian control files, Diff files, Gettext catalogs, Groff markup, HTML, INI-style config files, IRC logs (irssi style), Makefiles, MoinMoin/Trac Wiki markup, Redcode, ReST, SQL, also MySQL, Squid configuration, TeX, Vim Script, Windows batch files, XML

This is an example of Paste with Incollo.com:
http://incollo.com/7dca5011

You are really welcome to report any bugs or leave a feedback! Remember that this is my very first Django project, and I created it in about 6 days!

Of course, I'm already beginning to think about new features :D

 
 

As I promised, BD-incollo 0.1 is finished and the source code is available in the project page under the GPL 3 license.
Every MUST requirement has been done and just two MAY requirements could not be developed in just 6 days. But They will surely be in the next releases.
Sourcecode is well commented using xP standards and there are few comments where necessary, but is should be clear. If not, drop me a mail.
I will write a map that describes the source code tree tomorrow!
The conclusions of this experiment are that Django is really a web framework for perfectionists with deadlines! I spent more time playing with templates and CSS than with the whole python coding! It's a valid alternative to Ruby on Rails, and built on a programming language I really like.
Go and grab the code!

 
 

Quite everything is ready!
There is a feature that I have to finish, the removal of a Paste after 30 days of inactivity.
There are a couple of bugs to be solved now, but I believe I will fix them with the 0.2 release.
I think I will be ready to launch the service tomorrow at 00:00 GMT + 1.
Sourcecode will also be released tomorrow

 
 

The general structure of the program is ready and works. I'm very happy with it, I'm currently playing with templates to have a very accessible, clean layout with few page scrolling needing. At the moment is is possible to:

  • Paste a code
  • Search a Paste
  • View a colored Paste (code syntax)
  • View a Paste without syntax highlighting
  • Download a Paste as plain text
  • View all pastes (although I will allow to see the last 20-30 pastes)
 
 

24
Sep

image for post title  BD-incollo

BD-incollo is a collaborative debugging tool like pastebin but written using Django.
Why did I write another pastebin clone?
Pastebin is (sometimes) slow, and I'm not (yet) interested to categorize pastes or to associate them to a user. Pastebin is free and the code is available, but is a single php file, and not a Django project!
There are already other services there, even written using Django, but no one is free software. BD-incollo IS free software. Well, BD-incollo has been written after those Django pastebin clones, so i could learn from their mistakes and write a better one! Everybody is welcome to grab the code and modify it, or even to submit suggestions!
Report feedbacks, feature requests and bugs on the issue tracker.

Quick Jump:
Features
Download
License

Features

  • Copy, Paste and store a text / source code to the system
  • Decide to colorize the syntax of the Paste
  • Share it using its URL
  • Download it as plain text
  • View it as plain text
  • Search something interesting through other pastes!
  • Report abuses to site admins

Interesting Stuffs

  • Fast, really fast!
  • It works well and has nice urls, thanks to Django
  • A very clean interface, a minimalist design that gives space to the code (as it should always be)
  • Compatible with every browser (tested with Internet Explorer 6,7,8, Mozilla Firefox 3, Apple Safari, Google Chrome)
  • Resolution friendly! Liquid design that adapts to every monitor resolution (tests from 1024x768)
  • Developer friendly! Every functionality of BD-incollo can be done with max 2 mouse clicks and without a mouse scroll!
  • Tested with lots of pastes, quite every source code should be perfectly viewed (this does not happen with every pastebin clones I've tried)
  • Uses Pygments for code highlighting

Download

License

BD-incollo is released under The Gnu Affero GPL version 3! This is different from the license of the contents of the blog

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see < http ://www.gnu.org/licenses/ >.