17 karma · joined Dec 29, 2011 (14y ago) · 13 submissions
comment 11mo ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
At work most of the coordination between programmers is via IRC--even though we're all in the same room.
So yeah, IRC is still used.
Anecdotally the population of some popular channels on freenode that I frequent has never been higher.
comment 7y ago · link · parent
Source code is instructions for two audiences: A human, and a computer. The computer doesn't care what the syntax is, but the human does. It is an ongoing challenge to write code in a manner which effectively and concisely communicates to other humans, including your future self. This is a thing at which Perl5 and Perl6 both excel, Perl6 more so IMO (although there is not yet enough history to prove it).
It is true that one can easily write unmaintainable spaghetti in Perl5. One can write unmaintainable spaghetti in any language, but Perl5 makes it somewhat easier to do it by mistake--this is an aspect of the same versatility which gives it its expressive power, which in turn is what makes it possible to communicate things using Perl more effectively (in the same space) than with many other computer languages. You have to employ some discipline not to sound like a gibbering lunatic. This is not much different from human languages: if you have ever read English 101 papers you will find some of them sadly similar to Perl5 scripts written by similarly undisciplined authors.
In contrast to Perl5, Perl6 makes it far easier to avoid accidental spaghetti and does so without sacrificing any of the linguistic expressiveness that makes Perl generally so useful.
comment 14y ago · link · parent
What's attractive about /usr? A lot of things, but mostly: single export-point, possible to separately mount (from a network, read only, whatever), logically nice to have all those directories not polluting /.
I propose that / should contain the following directories:
/cfg/ /home/ /local/ /mnt/ /system/ /tmp/
You would mv /boot /dev /bin /sbin /var /root /proc /sys /usr /lib /run /system, then mv /opt /local
/etc/ is renamed /cfg/ just because I can and left in / because some things really are global configuration (and we can't be mounting /etc ro all the time).
But don't stop there, because now /system/ is a mess. You obviously still can't treat /system as /usr because e.g. /dev is there, so put /dev, /proc and /sys under /system/kernel, because these things are figments of the kernel's imagination anyway. Under /system/boot/ throw in a directory for your bootloader, initrd and whatnot and one for any statically-linked binaries you have, if you have any (hey, it's optional). No need for a lib, because it's all static or in the initrd. Just because I'm a mean curmugeon who hates greybeards and love n00bs, let's mv /system/var /system/data. Inside /system/usr let's merge files from games, bin and sbin into bin and get rid of the empty directories. Then mv /system/usr/local/ /local/usr/.
Speaking of /local/, it'd have two subdirs: /local/opt/ and /local/usr/. The former would contain an opt-style directory hierarchy and the latter would be like /system/usr, only with the purpose of the FHS /usr/local. Okay, so the /local/ stuff isn't to be found in an exported /system/usr/, but /local/ is just a fetish of mine. You could put it in /system/usr/, too. And yes, /system and part of its structure is required to be on / during boot. So sue me.
Now you have:
/cfg/ /home/ /local/ /local/usr/ /local/opt/ /mnt/ /system/ /system/data/ /system/boot/loader/ /system/boot/sbin/ /system/kernel/dev/ /system/kernel/proc/ /system/kernel/sys/ /system/root/ /system/run/ /system/usr/bin/ /system/usr/lib/ /system/usr/share/ /tmp/
Now you have a tree for homes, a tree for the whole system, which has a splits where you might need them for partitioning and exporting, a tree for configuration, which also has a name users can understand, a tree for non-packaged software, which allows for both crazy-opt style layout and traditional, and you have your global tmp and temporary mount point root.
Did I leave anyone out?
comment 14y ago · link · parent
comment 14y ago · link · parent
To me the BSD distinction doesn't make much sense anyway. You still have to just know which bits are "local" and which are not, plus anything I pull in that isn't a port gets lumped in with them anyway.
comment 14y ago · link · parent
Quote from the proposal: "For example, the adoption of Universal Time would give new flexibility to economic management in the vast East-West expanse of Russia: everyone would know exactly what time it is everywhere, at every moment. Opening and closing times of businesses could be specified for every class of business and activity. If thought desirable, banks and financial institutions throughout the country could be required to open and to close each day at the same hour by the world time. This would mean that bank employees in the far East of Russia would start work with the sun well up in the sky, while bank employees in the far west of Russia would be at their desks before the sun has risen. "
The article omits this in its summary.
comment 14y ago · link · parent
What I can't figure out is what algorithm they use to calculate when to add an extra week. It seems slightly irregular, but I asssume there must be a simple formula I could use in a date library to account for it.
comment 14y ago · link · parent
It's all well and good to eliminate time zones as such and have each region operate on a fixed clock, but to suggest that people will simply stop paying attention to the sun is insane. If you want wide adoption you can't expect people to make radical change in their lives. Most people prefer to wake with the sun and sleep when it's dark; some studies suggest that we are biologically predisposed to want or need this. Whether it's 05:00 when I wake or 16:00 when I wake is immaterial to me (that's just a number, just what you call it) but whether it's daylight when I'm out and about just plain matters.
In effect you'll probably always need a way to divide the world by when the sun is up, even if the clock doesn't change.