Entries Tagged 'development' ↓
October 5th, 2009 — development, linux, packaging
I really, really, really want feedback on this:
Over the past few months, I’ve really gotten into packaging on Fedora and Ubuntu. I’m not an expert, but I can genuinely say our packaging situation is crap. We are so close. And yet we ended up with two major implementations, that are almost the same. There is no significant difference between RPM and Dpgk.
So will Fedora abandon their 15,000 packages and choose Dpkg? Will Debian abandon their 35,000 packages and choose RPM? No. Neither will. There is no way for them to transition. And they will not give up their self branded solution. The only way forward is to make a new system, that is both better, and backwards compatible with RPM and Dpkg.
That is what I have been toying with for the past few months. It is called Packagetastic and It is a replacement for Dpkg and RPM, but still backwards compatible with them. Right now it is just a proof of concept, but can build many small packages on Ubuntu and Fedora.
I made a screencast to show how it works. This is just a simple, introduction. More example on how to use it will come soon. You can view the screencast below:

packagetastic_1.ogv (96.2 MB)
More information about the project can be found here: http://launchpad.net/packagetastic
Please provide your criticism and feedback at the mailing list, this blog post, or my identica page.
August 9th, 2009 — development, linux
During my job hunting, I was going over my resume and portfolio. I noticed that my project Rester is just about a year old. It is also getting to a point, where is is almost useful to other people.
If you are interested: Rester is a fast RESTful web server and framework written in D. It should be as easy to use as Ruby on Rails, but provide good performance by default, and be easy to deploy.
I made a brief screencast, with an introduction and an example that uses server push.
rester_1.ogv (27.7 Megabytes):

You can also view the video in the legacy flash format at Youtube:
http://www.youtube.com/watch?v=uBfdn5RCrlw
Feel free to try it out yourself, and leave comments.
February 27th, 2009 — Code Fragment, development, linux
This magical chunk of goodness will allow you to query a mysql database to determine what table fields are foreign keys, and what they reference. Just replace ‘database_name’ and ‘table_name’ with the respective names you want:
1
2
3
4
5
6
7
| SELECT column_name, referenced_table_name,
referenced_column_name
FROM information_schema.key_column_usage
WHERE table_schema='database_name'
AND table_name='table_name'
AND referenced_table_name IS NOT NULL
AND referenced_column_name IS NOT NULL; |