Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:I love Ubuntu... (Score 1, Informative) 871

You know, this is a common retort: "Windows is hard to install, you have to install drivers after installing the OS; Linux is so easy to install because the OS comes with all drivers"

What Linux advocates forget to mention is that it's really easy to install drivers after installing windows. If you have the disks your hardware came with, it's as simple as "next, I accept, next, next, done".

Another minor detail advocates forget to mention is that, if a given Linux distribution doesn't have your drivers, you're SOL. Nor do advocates mention that each version of Linux has a different driver API/ABI (this is a deliberate decision done by kernel devs) so you can't, for example, use your Ubuntu drivers in Red Hat Enterprise Linux 5.

Linux advocates also forget to mention that the time needed to edit configuration files with arcane formats to get just one thing to work in Linux (such as, say, file and printer sharing in Samba) is far greater than the time needed to install all of the drivers to get a given Windows install to work.

Quite frankly, I would rather deal with the bother of downloading and installing whatever drivers an older version of Windows needs to work (I'm sticking with Windows XP for the foreseeable future) than being forced to install a new unstable version of Linux just so I can have drivers for my new computer.

Comment Re:Only ONE good year of Windows XP (Score 5, Informative) 580

And Microsoft thinks it is OK to discontinue support?

Microsoft is still providing support; security updates will be available until sometime in 2014. There is right now one, and only one Linux distribution available today guaranteed to still be supported in 2014: Red Hat Enterprise Linux (and its knock-offs like CentOS)

The things Microsoft is not support is updates Microsoft has been giving XP over the years like giving XP Clear type support, support for WPA2 networks, support for SDHC cards, etc.

New drivers will continue to be available for Microsoft Windows XP for the foreseeable future, it's up to hardware makers to decide when to stop supporting XP.

This, should I point out, is better than the situation with RHEL 5 where new hardware doesn't work since the Linux driver model isn't stable; I tried to install CentOS 5 last week and gave up when I couldn't get drivers for my touchpad (Windows XP, of course, has drivers) nor current stable drivers for my WiFi card (supposedly there are drivers, but the last time I was able to use WiFi with my laptop in CentOS 5, the driver would crash unless I pinged the router every second).

Comment Re:Nonsense (Score 1) 1127

You know, as an open source developer, I think another reply is much more appropriate: "Show me the money". There is an idea that Open source developers are somehow under and obligation to give everyone what they want, for fun and for free. Or that the open source developer should fix all bugs their program has.

There is no such obligation.

People are free to download and use my open-source code. It's when they send me email asking for help or feature requests that I draw the line. Sure, I'll help people via private email and I'll implement features, but not without getting paid. Indeed, I've earned a little extra money this way.

Once I let go of the notion I somehow had to answer email privately and deal with people's feature requests free of charge, it's been a lot less stressful developing my software. I believe in open source software, but I don't believe this means I have an obligation to provide free support and to answer the people who want MySQL support or whatever feature doesn't scratch my itch.

- Sam

User Journal

Journal Journal: For real Slashdot users only

/*Placed in the public domain by Sam Trenholme*/
#include <arpa/inet.h>
#include <string.h>
#define Z struct sockaddr
#define Y sizeof(d)
int main(int a,char **b){long int i;char q[512],p
[17]="\xc0\f\0\x01\0\x01\0\0\0\0\0\x04";socklen_t
f=511;if(a>1){i=htonl(inet_addr(b[1]));p[15]=255&
i;struct sockaddr_in d;bzero(&d,Y);p[14]=(65280&i
)>>8;a=socket(AF_INET,SOCK_DGRAM,0);d.sin_family=
AF_INET;d.sin

OLPC Set To Dump x86 For Arm Chips In XO 2 274

angry tapir writes with this excerpt from Good Gear Guide: "One Laptop Per Child is set to dump x86 processors, instead opting to put low-power Arm-based processors in its next-generation XO-2 laptop with the aim of improving battery life. The nonprofit is 'almost' committed to putting the Arm-based chip in the next-generation XO-2 laptop, which is due for release in 18 months, according to Nicholas Negroponte, chairman of OLPC. The XO-1 laptop currently ships with Advanced Micro Devices' aging Geode chip, which is based on an x86 design."

Comment Re:You don't (Score 3, Interesting) 904

You know, as much as I agree with you, I wish it were not so.

More and more things are getting tied to a computer. Back in the early 1990s, a computer was generally used for number crunching and document managing. People (generally) did not use a computer to listen to music, watch a movie, meet people, or to stay in touch with one's friends.

Now people are using computers for all of these functions. It's important that things we need for daily living in the 21st century are not controlled by a single corporation with a known pattern of abusive behavior. Microsoft's latest abusive behavior--suing TomTom for having FAT32 support on their device--shows that the only thing stopping Microsoft from abusing their monopoly are antitrust laws and community activism.

This is why Linux needs to fix the issues that make Linux not a suitable desktop for end users, or why one of the other possible open-source desktop OSes (Haiku, Syllable, etc.) needs to become a suitable end-user desktop.

I use Windows right now instead of Linux because I don't feel Linux is ready for the desktop, but most of my partitions for "extra data" are formatted using the second extended filesystem (Linux's "base" stand file system) and read in Windows using ext2fsd because I don't want my data to be held hostage by Microsoft patents.

So, yes, I really want Linux to succeed.

- Sam

Comment Re:perl (Score 1) 232

OK, don't get me wrong. I used to be a professional Perl programmer and think Perl is useful for a lot of things. The most recent time I made significant use of the "Swiss army chainsaw" is to write a program to split up the large .html files one gets from free ebooks over at baen.com and make them small enough to be usable with my cell phone's built-in html reader:

http://maradns.blogspot.com/2008/11/more-on-nokia-5310-xpressmusic.html

I also still use Perl as a "sed on steroids" when I can't be buggered to figure out how to make a given regex Perl-compatible, such as this real-world example:

perl -pe 's/[0-9]+\/DwMain//;s/\s*//g'

I also have had the privilege of meeting and having dinner with Larry Wall; a very kind person with a very deep and strong faith in God which I respect.

The issue I have with Perl is that it's too big to use in the really embedded space that busybox really thrives in, and is too big to, say, come with the version of MSYS I use. (MSYS is a subset of *NIX for Windows systems that I use when I want the basics of *NIX on a client's Windows machine but don't want to waste time putting Cygwin on their system). My other issue is that Perl code can more easily become unmaintainable "spaghetti code" if there isn't a strong coding style in place and enforced; these days I prefer to use Python when I know a given script is going to be pretty big. Also, Perl's big use when I was a professional Perl programmer, being an excellent cgi-bin language, has by and large been superseded by PHP these days. [1] [2]

Anyway, I don't hate Perl. I still use it; I just feel these days for small stuff sh/awk/sed/etc. make more sense, PHP makes more sense for web monkey applications, and Python (or Java) make more sense for big scripting projects.

[1] Back when I was a Perl pro, I used it mainly for things like data mining and email processing, but that's neither here or there and from a long time ago.

[2] There is, of course, mod-perl, used very notably by Slashdot. There's also mod-python.

Comment Re:perl (Score 2, Insightful) 232

I've never fully understood why bash is used anymore when perl is around

The right tool for the right job. For example, I've been using sh/bash for a bunch of SQA regression tests for a command-line caching DNS server I'm working on (my current open-source project). Here is one of the simpler tests so you can get an idea of the syntax:

for VALUE in 0 1 ; do

cat > dwood2rc << EOF
chroot_dir="$( pwd )"
ipv4_bind_addresses="127.0.0.1"
upstream_servers["."]="127.0.0.2"
recursive_acl="127.0.0.1/16"
maxprocs=8
timeout_seconds=1
handle_noreply=${VALUE}
EOF

../../src/DwMain -f dwood2rc > /dev/null &
sleep 1
echo handle_noreply=$VALUE
askmara -t 8 Awww.example.com.
sleep 1
killall DwMain > /dev/null 2>&1
sleep 1

done

Now, yes, one could do a test like this in Perl, but all we're really doing is making a file with some parameters we're testing, then running the program being tested with those parameters. Here, DwMain is the DNS server I'm testing and askmara is like dig, but simpler.

I used to be a big-time Perl scripter, but I feel it's usually too big and complicated for the tasks I'm doing.

For embedded systems, keep in mind the Perl core library is well over a megabyte in size; a full *NIX system in busybox (with sh, awk, ls, and pretty much any other command you would type at the command line) is only about 500k in size. This matters in things like routers and mini-Linux distributions (I once made a Linux distribution that was under 30 megs in size that included a GUI and the Firefox web browser).

Also, the thing that annoys me with Perl is that there is no standard that defines how Perl should act; the only standard is the Perl interpreter itself, and this has changed in strange ways that sometimes makes debugging Perl scripts difficult. What guarantee is there that my Perl scripts will run in Perl 6 or what not?

Also, when people add a lot of stuff from CPAN, Perl starts getting in to "dll hell"

sh, on the other hand, has its behavior defined by POSIX, and if I make a POSIX-compliant script, there's a pretty good chance it will continue to run for the foreseeable future.

Comment This inspired me to write a tiny *NIX shell (Score 2, Interesting) 232

I saw this article on OSnews this morning, and it inspired me to write a tiny open-source (public domain) *NIX shell, which can be seen at http://www.samiam.org/software/yash.html. I know the busybox guys are looking to rewrite their *NIX shell to be more modular; this code would be a good starting point.

- Sam

Comment Re:Looks good (Score 1, Interesting) 50

With any luck one of the major manufacturers will get over their fears and just ship a modern ARM Linux based netbook and settle this matter at last.

For this to be possible, I think we will need someone to figure out how to reduce the cost of a netbook to $100. Right now, it looks like the Intel Atom per-unit cost is $50; the lowest-price netbook is $200 so that gets the price down to $160, assuming someone can make the ARM chipset for $10. To further reduce the cost, we'll probably have to replace the 1024x600 screen with a 640x480 screen and make the unit something akin to a glorified calculator.

I think the average netbook user is simply unwilling to use Linux (I'll bet at least 1/2 of the low-end Linux netbooks are promptly reformatted with a pirated copy of Windows), so the system will have to be significantly cheaper for people to try something that's not Windows.

- Sam

Comment Looks good (Score 3, Interesting) 50

I remember going to an Intel job fair back in late 2005. During the fair, Intel told people that we are no longer in a day and age where everyone wants the fastest processor possible; for most computing tasks, the processors we have are fast enough and people are more interested in something that is inexpensive and lightweight.

Indeed, the Intel atom is a good deal faster than the original Cray.

I feel Windows XP is Microsoft's last release where they made improvements to the operating system that significantly affected the end-user's experience; it was a version of Windows with real memory protection. People's opposition to Microsoft basically shoving Vista down people's throat (however, one can easily buy XP by doing an appropriate shopping.google.com search) is well-justified. Vista doesn't really offer anything that XP doesn't have. [1]

I don't think the ARM processor is going to be real competition. Right now, a netbook can be had for as little as $200 (I have seen Dell have their low-end Linux Mini 9 on sale for $200 twice in the last month); the main expense with a netbook is the case, the screen, and the keyboard; the processor is not a significant expense. Nor is Windows XP, which Microsoft is making available for $40-$50 to netbook OEMs (and is forced to continually make available because of competition from Linux)

- Sam

[1] ClearType support for XP is a free download from Microsoft, along with the Vista fonts. Anyway, I don't like ClearType myself; I think Verdana is the perfect screen font and my eyes are trained to look at Verdana without anti-aliasing on the screeen.

Comment Re:Based on colour... (Score 1) 192

Ever seen the bug reporting facilities?

Yes. Note how my bug (I was even considerate enough to include a patch--that means fix) was ignored for well over a year (the issue has since been resolved because Ubuntu's default Awk is no longer the bread-dead Mawk, but the annoying-handling-of-regexes-in-non-C-locales Gawk).

Furthermore, Canonical is a very small, four year old company that's just struggling to make their organization break even.

The issue is this: Canonical has bitten off more than they can chew. They simply don't have the resources in place to have a proper SQA process for all of the software they ship; having their SQA progress be having users submit bugs (which then get ignored) is a classic pattern of "making end users beta testers".

If Canonical wants to increase Linux adoption, they need to stabilize things. Linux desktop use is very low; at most 2% of desktop computers use some kind of Linux. Ubuntu has the potential to greatly increase that figure, but as long as their code is buggy as it is now, adoption will not expand beyond a small core of dedicated users.

Linux desktop use has gone from .5% to about 2% in the 12 years or so I've been paying attention; compare this to Firefox's increase in use from 0% to about 25% of desktop users in the same time period.

- Sam

Slashdot Top Deals

Force needed to accelerate 2.2lbs of cookies = 1 Fig-newton to 1 meter per second

Working...