It's a GPL incarnation of a lynx-like browser. This is made even more amusing in context because links has a graphical mode, complete with image display, drop-down menus, and mouse support.
The first public release was Nov. 24 1999. "Back in my day", is probably more accurate than intended...
Mainly because you spent years learning how to configure it through M4 and you're so stuck in your ways that moving to a modular, faster, more flexible and secure MTA is unthinkable. At least, that's how most people who still run Sendmail strike me...
Just about every time you define a constant number, you should strongly consider defining it in one central place.
I guess if you only read the headings, you'd miss that. There's also a for loop in there which sets and increments lowercase i, but tests uppercase I to determine if it should exit. Does that mean that I should copy that verbatim as well, instead of just getting the point and using my own judgment as to what feature of my language of choice best implements the tip?
PS - I agree with the use of enums, they're neat. Harder to read for a novice, but still neat.
The funny thing about that long post is that it totally misses the point. The article is about good coding practices, not good C++ practices. The specific point is to use named values instead of relatively meaningless numbers, and using #define in the example is a whole lot clearer to people who aren't necessarily C++ developers.
Are you talking about A Torx T45 bit, or this crazy thing GM used on some ill-conceived four-bangers? There are lots of things that use big Torx fasteners. The seatbelts in that old Monte were probably held in with big Torx fasteners, in fact - my '75 and '80 GM cars were.:) That other deal, though, that's a special tool right up there with the screwdriver used to adjust a Quadrajet's idle mixture, and anything that you'd use to work on a Jetta.;)
By "special tools" I think you mean "enough knowledge/confidence to not fear wiring" (and the oil change reset tool, maybe).:) The same tools I use to rebuild the 350 in my '71 Chevelle are useful to rebuild the engine in my '95 LT1 Caprice and my '04 Grand Marquis - and I'm pretty sure there were some metric wrenches required on your '78 Malibu. With new cars, though, I also have a computer that can tell me roughly what's wrong, which is pretty handy. The '95, actually, I bought specifically because of the computer. It's *sooo* much easier to get the fuel mixture right with fuel injection than with a carburetor (my '71 Chevelle and '75 El Camino are still carb'd onl (with an electronic overdrive transmission too, gasp!), EFI will be pretty much mandatory. You just can't [reasonably] make a carb alter its mixture based on the ethanol content in the tank at any given time. Megasquirt can, though.
BTW, the compression tester, vacuum gauge, dwell meter, oil pump primer, timing gear puller, and piston ring compressor from rebuilding the '78 aren't useful for much of anything outside of auto repair... Nor can you transfer the skill required to install that stupid short hose connecting the water pump to the intake manifold on a Chevy big block.;)
However, people who don't get the technology see something like this and think "Huh, I guess something broke and now it's fixed and everything's good.
Ok, I'm with you so far
Good thing he knows what to do because I wouldn't even know who to call or what to say to them." Most of the people whose opinions matter have no idea what you do.
Doh! You fell into the trap! They actually think "Well, that sounds easy, since he didn't have any troubles. We could probably fire him and let Joe the database developer do his job - they're both computer people. My idea would save the company money, I'd get promoted and buy a bigger BMW than that asshole down the street, Dave. Yeah, Dave would sure envy me. I wonder how much hair plugs cost? It's settled, I'm suggesting to the boss that we fire that lazy sysadmin tomorrow!"
They come up with policies like "only use IE 5" at a computer security company and withhold privileges from people who know way more then they do, and block all security patches.
First, if they come up with policies like "use IE5", they're not really sysadmins. Sysadmins don't set policies on Windows machines, particularly desktops. Sysadmins administer servers, and "real" servers don't usually run Windows (even then, they don't have policies dictating the browser to be used). Workstation people are "help desk" or "Microsoft Certified Professionals" or something other than sysadmins.
Second, every time I've heard someone complain that they know more than the admin above them, it's always proven out to be false. "Well, I set up my Linksys wireless router at home to use a different network name than Linksys, I know as much as that stupid Cisco Engineer who can't even get all of my porn sites to behave at work". Or "I installed Linux From Scratch, I know way more about Unix in general than the people who designed the network running 10,000 HP-UX machines". Yeah, right. Welcome to the land of no credibility, populated by thousands of end-users just like you, who don't even know enough to realize what you don't know. The neighboring town is full of the users who always say "I didn't do anything, the file just disappeared", even if you watched them drag the file to a different folder / press the delete button / click "ok" without reading the message - many of them have weekend condos in the land of no credibility.
Sounds like you had some bad sysadmins, sure. Incompetent people might obtain/attain the job title of sysadmin, but they're not really more than "company computer guy" (much like I've had "engineer" in my title before, despite not finishing an Engineering program). Based on the tone of the post, though, I'm fairly confident that you would've eventually had bad experiences even with a good sysadmin.
I have an '04 Mercury Grand Marquis. It's a 4.6L V8 in a full-sized car. The car will average 27-28 MPG with the cruise set at 80 MPH on the interstate, and will get over 30 with the cruise set at 55 on the highway. I've verified the accuracy of the averaging function by checking the amount of fuel v/s the miles driven, over roughly 15K miles - and the computer's right. However, when you get off of the interstate, it drops quickly. With my normal driving, I usually get 20-24 MPG.
My '95 Caprice wagon, which weighs almost 3 tons, is over 18 feet long. I average 19 MPG with a fairly even mix of interstate and in-town driving, and it'll run high 14s in the quarter mile with the A/C blowing (I hope to be in the mid to low 14s soon), then stop by Home Depot and fit a stack of 4x8 plywood inside on the way home, pulling a 7000lb trailer...:)
1) mark user as "foe" 2) reduce score associated with foes 3) browse at 1 or higher
alternatively
1) don't read every reply to your posts if you're so horrified by bad words being in close proximity on the screen to messages that you posted.
As an example, I probably won't ever read any replies to this post. I'll also probably email Taco a note thanking him for not breaking Slashdot just because one person wanted the ability to restrict the replies of people who disagree.
I think you miss the point of this CSS thing. It's a style defining syntax, not a markup language. It exists to put a Style - you know, the "middle S" - on top of a generic markup language. Your tiny device should a) treat styles in a way appropriate for its capabilities, or b) suck it.
Now, if people would just use HTML as intended, and use CSS as intended, my tiny little devices can ignore the web browser CSS and render the HTML in a way appropriate for their screens. Some people will know aobut tiny little devices, and will design CSS to help make things readable on tiny little devices, because they care about such things. I'll turn that crap off, because I think web designers with a print graphics background should not be allowed near my computer. And we'll all be happy, because separating content from presentation is a good thing.
In any event, you should be using "$@" (with the double-quotes)instead of $*, so you can properly preserve arguments with spaces. If you try to remove a file with a space in it with your script, it will not work as expected.
I'd also suggest adding a typeset -l yesno before the read, so you force the input string to lowercase before comparing it. Heck, let's see if it starts with a y, too. That way, y, yes, YES, and even YePaRoonIe will work...
I like ls -dF, so it doesn't show the contents of directories (-F appends a slash to the end of the filename, though, so you could add a "grep '/'" and fail if directories are present - hint: put the ls -1dF output in a variable using var=$(ls -1dF "$@"), test $?, then test inside the if block to see if the variable contains any lines that end with a slash).
Finally, you could use the ls command as your conditional statement instead of having to run ls twice.
if ls -d -- "$@" then
typeset -l yesno
read yesno discard
[[ -z "${yesno##y*}" ]] &&/bin/rm -fr -- "$@" fi
PS - the two hyphens protect you from arguments which start with a hyphen...
Email cloudmaster@cloudmaster.com with questions - I don't check replies on the dot very often.:)
I went Dapper->Edgy with no problems. Maybe it's my "professional sysadmin" skills that allowed me to correctly do the three steps involved in 1) change dapper to edgy in/etc/apt/sources.list 2) run sudo apt-get update 3) run sudo apt-get dist-upgrade...
Just Kidding - there were some problems with the upgrade process for those who did it the first day (one of my machines included, though it wasn't a big deal). Those who waited a few weeks (including me on the other 5 machines) had no problems. This one should be better tested, but I'd still wait a couple of weeks before upgrading...
Holy cow - it's been three months, and you haven't gotten that drive mounted on/home? I'm not on Ubuntu forums often, but for heaven's sake, email me if the other guy doesn't get back to you, and we'll get this straightened out.
meanwhile, try this at your failsafe login (based on the fsck output early in the thread): sudo mount -L/home/home
As an aside, I'm shocked at the low quality of some of the help up there. People just stabbing in the dark, rather than figuring out what's actually going on. It's the blind helping the blind...
Yeah, 'cause college graduates don't ever over-inflate their resumes. I certainly don't work with people *right now* who clearly did that.
The interview process is to determind qualifications for everyone. It's not a way to make sure that college dropouts are as smart as college graduates. At least, I've never seen an interviewer who said "bring your diploma and we can just skip this whole process"...
What Obama staffer? The guy in the article did something on his own time, and happened to work at a place that had worked for Obama in the past. Are you confusingly talking about someone else, or just confused?
It's more like saying that the total cost of operating a fleet of Chevrolet vehicles - including trucks, vans, and a few kinds of cars - is higher than operating a fleet made up of only Ford Contours. So, do Chevys cost more to operate than Fords, or is it that a whole bunch of differnet things are harder to maintain than one thing? The release makes it sound like both of those statments are identical...
Indeed. If they're not all running the same Linux, then they're different but similar operating systems. Of course it costs more to support four operating systems than it does to support one. It doesn't take a press release to make people aware of this. Supporting Windows 2000, 98, and NT at a previous job was *way* more expensive than supporting SuSE Linux, so I wonder if Novell would agree with me noting that Windows costs more to support than Linux?
I'll see if I can put together a report on the TCO of "Windows" v/s "Linux" in that context... </empty_promise>
There was at one time a Linux bug where the uptime counter would roll over somewhere in the over-one-year range, IIRC. But the box didn't reboot - it just showed a shorter uptime than accurate...
RPM sucks, but as a portage fan, you'll probably be pretty happy with apt. The pinning, building, and cleaning stuff is conceptually very similar to what portage provides, except that apt does it in a more polished, fully implemented way.:) The USE flag support isn't identical, but the apt-build process does provide enough flexibility that you can get pretty close.
If your water cooling system is exposed to the environment, it's broken. A non-broken water cooling system is *closed*, so the only impurities getting inside are the ones that are there when you close the system.
Your house, OTOH, has windows, doors, and cracks, as well as at least one occupant who probably enters and exits through one of those things periodically. Even if you're the stereotypical slashdotter, your mom probably goes out to buy food once in a while. People who live in biodomes excluded, houses have their air exchanged with the outside on a regular basis.
Except that the video card, sound card, and motherboard are all the same piece from the same manufacturer, so there's no "battling vendors" (which, in 12 years of professional IT work, I've *never* seen in the PC realm).
None of that needs downloaded drivers, either - Windows XP supports it all out of the box. While you're battling with Dell to support your problem ("we only support a stock configuration - you'll have to reinstall from the rescue disk" and "sorry, we don't provide support for your game"), though, the rest of us have an RMA number from the equipment manufacturer and are getting on with our lives - enjoying the $27 we saved in the process. Have fun with that.
I'm running a few Ubuntu Dapper and Edgy virtual machines with VMWare Server running on top of an Edgy host. The images were mostly created either under Breezy Badge or Dapper Drake, and VMWare has been upgraded to each new version as I go along.
There's no "cobbling" - you download the program from vmware.com, run the install script, and run sudo vmware-config.pl (after rebooting) to build modules for the current kernel each time you upgrade the kernel. Workstation, Server, and Player all behave that way on every Linux distro I've used, except for the few common distros where VMWare has already built the kernel modules for you = but only if you don't update the kernel.
VMWare's installer just works, both for the initial install and upgrades. I don't mess with distro's packages for VMWare anymore, because they're actually less likely to do what I want.
links.sourceforge.net
It's a GPL incarnation of a lynx-like browser. This is made even more amusing in context because links has a graphical mode, complete with image display, drop-down menus, and mouse support.
The first public release was Nov. 24 1999. "Back in my day", is probably more accurate than intended...
Ug. Too serious for a funny post
I just said "unthinkable" - I didn't say whether it'd be unthinkable due to learning impairment or due to other more subversive political reasons... :)
Mainly because you spent years learning how to configure it through M4 and you're so stuck in your ways that moving to a modular, faster, more flexible and secure MTA is unthinkable. At least, that's how most people who still run Sendmail strike me...
Quoting the text of that section:
Just about every time you define a constant number, you should strongly consider defining it in one central place.
I guess if you only read the headings, you'd miss that. There's also a for loop in there which sets and increments lowercase i, but tests uppercase I to determine if it should exit. Does that mean that I should copy that verbatim as well, instead of just getting the point and using my own judgment as to what feature of my language of choice best implements the tip?
PS - I agree with the use of enums, they're neat. Harder to read for a novice, but still neat.
The funny thing about that long post is that it totally misses the point. The article is about good coding practices, not good C++ practices. The specific point is to use named values instead of relatively meaningless numbers, and using #define in the example is a whole lot clearer to people who aren't necessarily C++ developers.
Are you talking about A Torx T45 bit, or this crazy thing GM used on some ill-conceived four-bangers? There are lots of things that use big Torx fasteners. The seatbelts in that old Monte were probably held in with big Torx fasteners, in fact - my '75 and '80 GM cars were. :) That other deal, though, that's a special tool right up there with the screwdriver used to adjust a Quadrajet's idle mixture, and anything that you'd use to work on a Jetta. ;)
By "special tools" I think you mean "enough knowledge/confidence to not fear wiring" (and the oil change reset tool, maybe). :) The same tools I use to rebuild the 350 in my '71 Chevelle are useful to rebuild the engine in my '95 LT1 Caprice and my '04 Grand Marquis - and I'm pretty sure there were some metric wrenches required on your '78 Malibu. With new cars, though, I also have a computer that can tell me roughly what's wrong, which is pretty handy. The '95, actually, I bought specifically because of the computer. It's *sooo* much easier to get the fuel mixture right with fuel injection than with a carburetor (my '71 Chevelle and '75 El Camino are still carb'd onl (with an electronic overdrive transmission too, gasp!), EFI will be pretty much mandatory. You just can't [reasonably] make a carb alter its mixture based on the ethanol content in the tank at any given time. Megasquirt can, though.
;)
BTW, the compression tester, vacuum gauge, dwell meter, oil pump primer, timing gear puller, and piston ring compressor from rebuilding the '78 aren't useful for much of anything outside of auto repair... Nor can you transfer the skill required to install that stupid short hose connecting the water pump to the intake manifold on a Chevy big block.
However, people who don't get the technology see something like this and think "Huh, I guess something broke and now it's fixed and everything's good.
Ok, I'm with you so far
Good thing he knows what to do because I wouldn't even know who to call or what to say to them." Most of the people whose opinions matter have no idea what you do.
Doh! You fell into the trap! They actually think "Well, that sounds easy, since he didn't have any troubles. We could probably fire him and let Joe the database developer do his job - they're both computer people. My idea would save the company money, I'd get promoted and buy a bigger BMW than that asshole down the street, Dave. Yeah, Dave would sure envy me. I wonder how much hair plugs cost? It's settled, I'm suggesting to the boss that we fire that lazy sysadmin tomorrow!"
They come up with policies like "only use IE 5" at a computer security company and withhold privileges from people who know way more then they do, and block all security patches.
First, if they come up with policies like "use IE5", they're not really sysadmins. Sysadmins don't set policies on Windows machines, particularly desktops. Sysadmins administer servers, and "real" servers don't usually run Windows (even then, they don't have policies dictating the browser to be used). Workstation people are "help desk" or "Microsoft Certified Professionals" or something other than sysadmins.
Second, every time I've heard someone complain that they know more than the admin above them, it's always proven out to be false. "Well, I set up my Linksys wireless router at home to use a different network name than Linksys, I know as much as that stupid Cisco Engineer who can't even get all of my porn sites to behave at work". Or "I installed Linux From Scratch, I know way more about Unix in general than the people who designed the network running 10,000 HP-UX machines". Yeah, right. Welcome to the land of no credibility, populated by thousands of end-users just like you, who don't even know enough to realize what you don't know. The neighboring town is full of the users who always say "I didn't do anything, the file just disappeared", even if you watched them drag the file to a different folder / press the delete button / click "ok" without reading the message - many of them have weekend condos in the land of no credibility.
Sounds like you had some bad sysadmins, sure. Incompetent people might obtain/attain the job title of sysadmin, but they're not really more than "company computer guy" (much like I've had "engineer" in my title before, despite not finishing an Engineering program). Based on the tone of the post, though, I'm fairly confident that you would've eventually had bad experiences even with a good sysadmin.
I have an '04 Mercury Grand Marquis. It's a 4.6L V8 in a full-sized car. The car will average 27-28 MPG with the cruise set at 80 MPH on the interstate, and will get over 30 with the cruise set at 55 on the highway. I've verified the accuracy of the averaging function by checking the amount of fuel v/s the miles driven, over roughly 15K miles - and the computer's right. However, when you get off of the interstate, it drops quickly. With my normal driving, I usually get 20-24 MPG.
:)
My '95 Caprice wagon, which weighs almost 3 tons, is over 18 feet long. I average 19 MPG with a fairly even mix of interstate and in-town driving, and it'll run high 14s in the quarter mile with the A/C blowing (I hope to be in the mid to low 14s soon), then stop by Home Depot and fit a stack of 4x8 plywood inside on the way home, pulling a 7000lb trailer...
Big fuel-injected cars rock.
1) mark user as "foe"
2) reduce score associated with foes
3) browse at 1 or higher
alternatively
1) don't read every reply to your posts if you're so horrified by bad words being in close proximity on the screen to messages that you posted.
As an example, I probably won't ever read any replies to this post. I'll also probably email Taco a note thanking him for not breaking Slashdot just because one person wanted the ability to restrict the replies of people who disagree.
I think you miss the point of this CSS thing. It's a style defining syntax, not a markup language. It exists to put a Style - you know, the "middle S" - on top of a generic markup language. Your tiny device should a) treat styles in a way appropriate for its capabilities, or b) suck it.
Now, if people would just use HTML as intended, and use CSS as intended, my tiny little devices can ignore the web browser CSS and render the HTML in a way appropriate for their screens. Some people will know aobut tiny little devices, and will design CSS to help make things readable on tiny little devices, because they care about such things. I'll turn that crap off, because I think web designers with a print graphics background should not be allowed near my computer. And we'll all be happy, because separating content from presentation is a good thing.
In any event, you should be using "$@" (with the double-quotes)instead of $*, so you can properly preserve arguments with spaces. If you try to remove a file with a space in it with your script, it will not work as expected.
I'd also suggest adding a typeset -l yesno before the read, so you force the input string to lowercase before comparing it. Heck, let's see if it starts with a y, too. That way, y, yes, YES, and even YePaRoonIe will work...
I like ls -dF, so it doesn't show the contents of directories (-F appends a slash to the end of the filename, though, so you could add a "grep '/'" and fail if directories are present - hint: put the ls -1dF output in a variable using var=$(ls -1dF "$@"), test $?, then test inside the if block to see if the variable contains any lines that end with a slash).
Finally, you could use the ls command as your conditional statement instead of having to run ls twice. PS - the two hyphens protect you from arguments which start with a hyphen...
Email cloudmaster@cloudmaster.com with questions - I don't check replies on the dot very often.
I went Dapper->Edgy with no problems. Maybe it's my "professional sysadmin" skills that allowed me to correctly do the three steps involved in 1) change dapper to edgy in /etc/apt/sources.list 2) run sudo apt-get update 3) run sudo apt-get dist-upgrade...
Just Kidding - there were some problems with the upgrade process for those who did it the first day (one of my machines included, though it wasn't a big deal). Those who waited a few weeks (including me on the other 5 machines) had no problems. This one should be better tested, but I'd still wait a couple of weeks before upgrading...
Holy cow - it's been three months, and you haven't gotten that drive mounted on /home? I'm not on Ubuntu forums often, but for heaven's sake, email me if the other guy doesn't get back to you, and we'll get this straightened out.
/home /home
meanwhile, try this at your failsafe login (based on the fsck output early in the thread):
sudo mount -L
As an aside, I'm shocked at the low quality of some of the help up there. People just stabbing in the dark, rather than figuring out what's actually going on. It's the blind helping the blind...
Yeah, 'cause college graduates don't ever over-inflate their resumes. I certainly don't work with people *right now* who clearly did that.
The interview process is to determind qualifications for everyone. It's not a way to make sure that college dropouts are as smart as college graduates. At least, I've never seen an interviewer who said "bring your diploma and we can just skip this whole process"...
What Obama staffer? The guy in the article did something on his own time, and happened to work at a place that had worked for Obama in the past. Are you confusingly talking about someone else, or just confused?
It's more like saying that the total cost of operating a fleet of Chevrolet vehicles - including trucks, vans, and a few kinds of cars - is higher than operating a fleet made up of only Ford Contours. So, do Chevys cost more to operate than Fords, or is it that a whole bunch of differnet things are harder to maintain than one thing? The release makes it sound like both of those statments are identical...
Indeed. If they're not all running the same Linux, then they're different but similar operating systems. Of course it costs more to support four operating systems than it does to support one. It doesn't take a press release to make people aware of this. Supporting Windows 2000, 98, and NT at a previous job was *way* more expensive than supporting SuSE Linux, so I wonder if Novell would agree with me noting that Windows costs more to support than Linux?
I'll see if I can put together a report on the TCO of "Windows" v/s "Linux" in that context... </empty_promise>
There was at one time a Linux bug where the uptime counter would roll over somewhere in the over-one-year range, IIRC. But the box didn't reboot - it just showed a shorter uptime than accurate...
You want
:) The USE flag support isn't identical, but the apt-build process does provide enough flexibility that you can get pretty close.
apt-get autoremove
RPM sucks, but as a portage fan, you'll probably be pretty happy with apt. The pinning, building, and cleaning stuff is conceptually very similar to what portage provides, except that apt does it in a more polished, fully implemented way.
If your water cooling system is exposed to the environment, it's broken. A non-broken water cooling system is *closed*, so the only impurities getting inside are the ones that are there when you close the system.
Your house, OTOH, has windows, doors, and cracks, as well as at least one occupant who probably enters and exits through one of those things periodically. Even if you're the stereotypical slashdotter, your mom probably goes out to buy food once in a while. People who live in biodomes excluded, houses have their air exchanged with the outside on a regular basis.
Except that the video card, sound card, and motherboard are all the same piece from the same manufacturer, so there's no "battling vendors" (which, in 12 years of professional IT work, I've *never* seen in the PC realm).
None of that needs downloaded drivers, either - Windows XP supports it all out of the box. While you're battling with Dell to support your problem ("we only support a stock configuration - you'll have to reinstall from the rescue disk" and "sorry, we don't provide support for your game"), though, the rest of us have an RMA number from the equipment manufacturer and are getting on with our lives - enjoying the $27 we saved in the process. Have fun with that.
Yeah, but it's jut the kernel - you didn't have to reboot Ubuntu when the web browser or office suite was updated. ;)
PS, visit http://www.winehq.org/
I'm running a few Ubuntu Dapper and Edgy virtual machines with VMWare Server running on top of an Edgy host. The images were mostly created either under Breezy Badge or Dapper Drake, and VMWare has been upgraded to each new version as I go along.
There's no "cobbling" - you download the program from vmware.com, run the install script, and run sudo vmware-config.pl (after rebooting) to build modules for the current kernel each time you upgrade the kernel. Workstation, Server, and Player all behave that way on every Linux distro I've used, except for the few common distros where VMWare has already built the kernel modules for you = but only if you don't update the kernel.
VMWare's installer just works, both for the initial install and upgrades. I don't mess with distro's packages for VMWare anymore, because they're actually less likely to do what I want.