Re:Benchmarks mean nothing, specially these ones.
on
Ruby 1.9.0 Released
·
· Score: 5, Informative
According to Chu Yeow, Mongrel doesn't run on 1.9.0 yet. Neither does Rails. The release of 1.9.0 coincided with the API freeze for 1.9.x, so hopefully projects that were holding off on porting to 1.9 will do so now. The situation is complicated by 1.9's transitional nature; you should stick with 1.8 if you absolutely need stability.
For a noncommercial version, try coova. They release firmware based on OpenWRT that's makes running a hotspot relatively easy. More importantly, they run a service called AAA, which I think is basically a public RADIUS server. Set any wifi router that supports WPA/WPA2 Enterprise to use it and anyone with a coova.org account can log in. It even supports OpenID!
Relatively slow compared to what? If you try the language shootout you'll see that it's almost universally faster than python, mono, and many other languages used for "plain GUI apps". Heck, the implementation of ruby in java is faster than the original C! The one place where java consistently lags is the startup time. Of course, this and other perceptions of responsiveness count for a lot.
True, but since on linux you can't create a hard link to a directory even on a snapshot with no changes dirvish has to recreate the entire directory structure then create the hard links to files. This is slower and wastes space compared to Apple's approach.
The answer is to set a backup delay, for example 5 minutes. When a file is changed, the delay counter begins. If the file changes again before the delay is over, the counter is reset. If the file still exists when the counter is over, it's backed up. This is what TimeVault does. Like flyback, TimeVault is written in python and GPL-licensed. Unlike flyback, Timevault:
Uses inotify
Tracks backups in a sqlite database
Separates the backup/restore code into a daemon
Has a dbus interface
Has nautilus and system tray integration
Also, the author is looking into storing just the parts of files that change (i.e. like rdiff-backup instead of rsnapshot/dirvish). Thanks to the separation of concerns and dbus interface, I think this program could become a standard component of the free software desktop.
Keep in mind that the quote about favoring Google applications and services is from the LiMo foundation, which is trying to produce their own Linux-based cellphone platform. The Open Handset Alliance claims the exact opposite:
"Android does not differentiate between the phone's core applications and third-party applications. They can all be built to have equal access to a phone's capabilities providing users with a broad spectrum of applications and services. With devices built on the Android Platform, users will be able to fully tailor the phone to their interests. They can swap out the phone's homescreen, the style of the dialer, or any of the applications. They can even instruct their phones to use their favorite photo viewing application to handle the viewing of all photos."
On my Dell 1420N (2GHz Core 2 Duo on the Santa Rosa chipset) with an up-to-date Gutsy, a few minutes after logging in to GNOME powertop reports 190 wakeups from idle per second and a power usage of 12.6W. After following all of powertop's recommendations (including disabling bluetooth and reducing wifi power), wakeups and power usage went down to 58 and 11.4W respectively.
Count the number of languages pulled in to build openoffice... I see C++, java, mono, python, and lua. No wonder it takes so much memory; I could have 4 VMs or interpreters running.
I'm curious, did you ever try Symfony or CakePHP? If so, I'd be interested in hearing what you liked or disliked about them compared both to Rails and to PHP development without a framework.
I think this post from wellwisher on his comments is informative:
The deal was this: Derek was not a programmer; he was a musician. He learned some PHP and cobbled together the old CDBaby site by himself. It was good.
Then, he heard about Rails, and became infatuated with it. He proceeded to attempt a rolling rewrite of CDBaby's frontend and backend both (the backend is large, because of inter-label and digital distribution stuff) in Rails.
At this time, Derek had no experience with the following things:
any language other than PHP
systems integration and interoperability
Rails
object-orientation
the MVC pattern
managing a development team
Project fails. All right. As he has learned in #2, legacy compatibility trumps everything. Also, ship early and often.
As you can see in Derek's post about MySQL encodings, he's not always the clearest thinker. Even above he says that REST means POST-only destruction, which misses the point entirely.
His team was fine (mostly just Jeremy, until another developer was hired in the last months). Rails was fine. But there were a lot of things wrong with the project plan ("rewrite everything, eventually") and with the project leader, who was convinced he had found a silver bullet.
No framework saves you from your own inexperience.
When are publicity rights relevant?
Publicity rights allow individuals to control how their voice, image or likeness is used for commercial purposes in public. These rights are relevant to any work that contains human subjects, such as photographs, audio or video interviews, plays, songs, and other spoken or visual content. When transmitting this sort of content, including the voices or images of anyone other than yourself, you may need to get permission from those individuals if you are using their voice or images for commercial purposes. This is a distinct and separate obligation from obtaining the copyright license, which only gives you a license from the author (or photographer) but not from the subjects. A Creative Commons license does not waive or otherwise affect the publicity rights of subjects.
There are a series of projects for Ubuntu that interoperate to provide a similar, but more flexible system. If a convert from Windows uses Wubi, they end up with Ubuntu installed as several files in Windows' NTFS filesystem. An Ubuntu boot option is added to Microsoft's ntldr that loopmounts and boots the Ubuntu files. This only incurs a slight performance penalty. If the user choses, they can later use LVPM to migrate their Ubuntu data to its own partition. Alternately, if they dislike Ubuntu they can remove it using Windows standard Add/Remove program facility.
Lupin, the loop-installer, handles everything that happens after you reboot
Wubi, the Windows front-end, handles everything that happens before you reboot
Lubi, the Linux front-end, does basically the same thing as Wubi
lvpm, Loopmounted Virtual Partition Manager, handles the migration of virtual disks to real partitions
If you want a multi-purpose machine, the Motorola 68000 based TI-89 wins. You can easily program it in C or directly in Assembly. An IDE for Linux and Windows is available at http://tigcc.ticalc.org/
Is Facebook worth $2 billion? I don't know. I do know that there are only two websites whose names I hear used as verbs every day: google and facebook. If you want to see what a sample facebook profile looks like, click here. This doesn't demonstrate the ajax-y goodness that constitutes a lot of the interface.
The moon illusion can't be caused by an atmospheric effect, because that would affect cameras as well. Since the illusion is sometimes experienced without reference points the Ponzo affect probably isn't the cause. NASA has links to several papers on the subject.
According to Chu Yeow, Mongrel doesn't run on 1.9.0 yet. Neither does Rails. The release of 1.9.0 coincided with the API freeze for 1.9.x, so hopefully projects that were holding off on porting to 1.9 will do so now. The situation is complicated by 1.9's transitional nature; you should stick with 1.8 if you absolutely need stability.
You can give the students a copy of The Open Disc on the first day of class. I doubt Adobe would be pleased if you did the same for their products.
Portable Thunderbird plus enigmail. http://portableapps.com/support/thunderbird_portable#encryption
You'd think they at least spend some money on getting Thunderbird and Sunbird/Lightning up to par with Outlook.
For a noncommercial version, try coova. They release firmware based on OpenWRT that's makes running a hotspot relatively easy. More importantly, they run a service called AAA, which I think is basically a public RADIUS server. Set any wifi router that supports WPA/WPA2 Enterprise to use it and anyone with a coova.org account can log in. It even supports OpenID!
Relatively slow compared to what? If you try the language shootout you'll see that it's almost universally faster than python, mono, and many other languages used for "plain GUI apps". Heck, the implementation of ruby in java is faster than the original C! The one place where java consistently lags is the startup time. Of course, this and other perceptions of responsiveness count for a lot.
True, but since on linux you can't create a hard link to a directory even on a snapshot with no changes dirvish has to recreate the entire directory structure then create the hard links to files. This is slower and wastes space compared to Apple's approach.
- Uses inotify
- Tracks backups in a sqlite database
- Separates the backup/restore code into a daemon
- Has a dbus interface
- Has nautilus and system tray integration
Also, the author is looking into storing just the parts of files that change (i.e. like rdiff-backup instead of rsnapshot/dirvish). Thanks to the separation of concerns and dbus interface, I think this program could become a standard component of the free software desktop.Keep in mind that the quote about favoring Google applications and services is from the LiMo foundation, which is trying to produce their own Linux-based cellphone platform. The Open Handset Alliance claims the exact opposite: "Android does not differentiate between the phone's core applications and third-party applications. They can all be built to have equal access to a phone's capabilities providing users with a broad spectrum of applications and services. With devices built on the Android Platform, users will be able to fully tailor the phone to their interests. They can swap out the phone's homescreen, the style of the dialer, or any of the applications. They can even instruct their phones to use their favorite photo viewing application to handle the viewing of all photos."
Tell that to the Melendi family.
Red Hat is doing something close to this through their Mugshot project. It has progressed quite a bit since that Ars Technica write up and is an important component of GNOME's Online Desktop project.
On my Dell 1420N (2GHz Core 2 Duo on the Santa Rosa chipset) with an up-to-date Gutsy, a few minutes after logging in to GNOME powertop reports 190 wakeups from idle per second and a power usage of 12.6W. After following all of powertop's recommendations (including disabling bluetooth and reducing wifi power), wakeups and power usage went down to 58 and 11.4W respectively.
Count the number of languages pulled in to build openoffice... I see C++, java, mono, python, and lua. No wonder it takes so much memory; I could have 4 VMs or interpreters running.
foo@bar:~$ sudo apt-get build-dep openoffice.org-writer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libicu36-dev instead of libicu-dev
The following NEW packages will be installed: ant antlr autoconf bison cli-common-dev comerr-dev cpp-4.2 dmake ecj ecj-gcj fastjar fdupes fftw3 fftw3-dev firefox-dev flex gappletviewer-4.2 gcc-4.2 gcj-4.2 gettext-kde gjdoc gperf hspell imagemagick java-gcj-compat java-gcj-compat-dev kdelibs-data kdelibs4-dev kdelibs4c2a kdesdk-scripts libacl1-dev libarchive-zip-perl libart-2.0-dev libarts1-dev libarts1c2a libaspell-dev libatk1.0-dev libattr1-dev libavahi-client-dev libavahi-common-dev libavahi-glib-dev libavahi-qt3-1 libavahi-qt3-dev libbcel-java libboost-dev libcairo2-dev libcupsys2-dev libcurl4-gnutls-dev libdb4.5-dev libdbus-1-dev libdbus-glib-1-dev libecj-java libecj-java-gcj libflac-dev libfontconfig1-dev libgcj8-1-awt libgcj8-dev libgcj8-jar libgconf2-dev libgcrypt11-dev libgdiplus libglitz-glx1 libglitz-glx1-dev libglitz1 libglitz1-dev libgnomevfs2-dev libgnutls-dev libgnutlsxx13 libgomp1 libgpg-error-dev libgsf-1-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev libgtk2.0-dev libhsqldb-java libhunspell-dev libicu36-dev libidl-dev libidn11-dev libieee1284-3-dev libkadm55 libkrb5-dev libldap2-dev liblog4j1.2-java liblua50 liblua50-dev liblualib50 liblualib50-dev liblzo2-dev libmng-dev libmono-accessibility2.0-cil libmono-data-tds1.0-cil libmono-dev libmono-microsoft-build2.0-cil libmono-peapi1.0-cil libmono-peapi2.0-cil libmono-relaxng1.0-cil libmono-security1.0-cil libmono-sharpzip0.84-cil libmono-system-data1.0-cil libmono-system-runtime1.0-cil libmono-system-web1.0-cil libmono-winforms2.0-cil libmono1.0-cil libmx4j-java libneon26-dev libnetpbm10 libnspr4-dev libnss3-dev libodbcinstq1c2 libogg-dev libopencdk8-dev libopenexr-dev libopenexr2c2a liborbit2-dev libpam0g-dev libpango1.0-dev libpcre3-dev libpopt-dev libpq-dev libqt3-headers libqt3-mt libqt3-mt-dev libregexp-java libsane-dev libsasl2-dev libselinux1-dev libsepol1-dev libservlet2.4-java libsndfile1-dev libssl-dev libstartup-notification0-dev libsvg-dev libtasn1-3-dev libungif4g libusb-dev libvigraimpex-dev libvigraimpex2 libvorbis-dev libwpd-stream8c2a libwpd8-dev libwpg-dev libwps-dev libxaw-headers libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbfile-dev libxml-dom-perl libxml-perl libxml-regexp-perl libxmu-dev libxmu-headers libxpm-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-java lua50 m4 mono-gmcs mono-mcs mono-utils netpbm portaudio19-dev python-dev python2.5-dev qt3-dev-tools translate-toolkit unixodbc-dev x11proto-composite-dev x11proto-damage-dev x11proto-fixes-dev x11proto-randr-dev x11proto-render-dev x11proto-xinerama-dev
A fairer comparison would be among Netware permissions and POSIX or Windows ACLs.
I'm curious, did you ever try Symfony or CakePHP? If so, I'd be interested in hearing what you liked or disliked about them compared both to Rails and to PHP development without a framework.
- any language other than PHP
- systems integration and interoperability
- Rails
- object-orientation
- the MVC pattern
- managing a development team
Project fails. All right. As he has learned in #2, legacy compatibility trumps everything. Also, ship early and often. As you can see in Derek's post about MySQL encodings, he's not always the clearest thinker. Even above he says that REST means POST-only destruction, which misses the point entirely. His team was fine (mostly just Jeremy, until another developer was hired in the last months). Rails was fine. But there were a lot of things wrong with the project plan ("rewrite everything, eventually") and with the project leader, who was convinced he had found a silver bullet. No framework saves you from your own inexperience.When are publicity rights relevant? Publicity rights allow individuals to control how their voice, image or likeness is used for commercial purposes in public. These rights are relevant to any work that contains human subjects, such as photographs, audio or video interviews, plays, songs, and other spoken or visual content. When transmitting this sort of content, including the voices or images of anyone other than yourself, you may need to get permission from those individuals if you are using their voice or images for commercial purposes. This is a distinct and separate obligation from obtaining the copyright license, which only gives you a license from the author (or photographer) but not from the subjects. A Creative Commons license does not waive or otherwise affect the publicity rights of subjects.
If you want a multi-purpose machine, the Motorola 68000 based TI-89 wins. You can easily program it in C or directly in Assembly. An IDE for Linux and Windows is available at http://tigcc.ticalc.org/
Is Facebook worth $2 billion? I don't know. I do know that there are only two websites whose names I hear used as verbs every day: google and facebook. If you want to see what a sample facebook profile looks like, click here. This doesn't demonstrate the ajax-y goodness that constitutes a lot of the interface.
The moon illusion can't be caused by an atmospheric effect, because that would affect cameras as well. Since the illusion is sometimes experienced without reference points the Ponzo affect probably isn't the cause. NASA has links to several papers on the subject.