public class HelloWorld
{
public void speak()
{System.out.println("Hello World");}
public static void main()
{
HelloWorld helloWorld = new HelloWorld();
helloWorld.speak();
}
}
Haven't bothered to compile that, but it's close enough for 4:30AM. If I wanted to be a pain I'm sure I could shave off a line or two. Anyways, what is your beef with Java? I've found most people that diss on Java fall in to one of the following categories:
Trendy language snobs
Don't get OO design
Haven't used it since Java 1.4
Haven't seen benchmarks of Hotspot
Has seen some of the 'rocket scientist' code written by a guy who would equally mess up any language he's using
Has been legitimately burnt by one of the many serious bugs/design flaws
Just don't like it (nothing wrong with that)
For my own part, I program in C/C++, Java, perl, a bit of.NET, V(B/C)-6, and ADA is my guilty pleasure language (arguably the most well designed and implemented of the bunch, IMHO). If memory footprint and load time aren't an issue and I need to go cross platform, Java is just my only option. In the languages that I know, Java is second only to ADA when it comes to concurrency (I admit I've never done anything with multithreading in.NET, but I'm sure it's fairly close to Java in both design and implementation). So, what's your beef with Java?
Please don't misunderstand me, I'm not judging you by the fact that you don't like Java. I also completely understand simply not liking a language; I've just found that many times when someone starts talking about why they don't like Java, they don't really have a reason other than it's 'cool' to diss on Java. Or they're a.NET/Ruby developer and are therefore sworn enemies to Java developers;)
From what I can tell, the bug is only being seen on bleeding edge combinations of software in bleeding edge distros. They're thinking it's a combination of the driver and a new release of X (one allows for the conditions, the other glitches after that), but there's very little 'tried-and-true' stuff in a bleeding edge distro.
I had the same thing pop up on a supermicro (ICH-7, IIRC... dual Xeon 5xxx's) at work. Recompiling the modules and reinstalling them seemed to fix the problem. Like most hardware problems, it seems to be just the wrong combination of drivers, hardware, software and luck.
I think a yum update is what triggered it, but I'm not sure; it just popped up out of nowhere and acted in such a way that I couldn't ever corner the thing. Recompiling the modules was one of those things that I did while I was thinking about the problem and trying to isolate stupid variables. I really didn't expect it to fix the problem.
I also remember that one of the network cables was found to be flaky some time later - it could all be coincidence.
At any rate, I've found Realtek chips to be... less than desirable, yet durable enough to take a good beating. Their Linux support isn't bad, either. You could do worse, in regards to bang for your buck, than a Realtek based card, IMHO.
Put all the cameras in the world on me while I do it; I have no intention to stack the box in anyones favor, and I'm hard to buy off because I don't really want anything that money can buy. I suppose someone could threaten me, but I've also got a sword and a.22 long rifle (along with a varsity letter in rifle) within arms reach, even at this very moment.
I suggest you find a handful of geeks like myself and force them to count the ballots.:)
I used to used the powertoys multiple desktop thing, but it was always so kludgy.
For instance, popups for an application on another desktop would show up on another desktop, even with application sharing off. I would get modal dialog boxes that would pop up, lose focus and fall under my current window. Then when I'd go to check on that application, I couldn't interact with it until I found which desktop an orphaned dialog box was hidden on (it wouldn't get a taskbar slot since it was the child of a process on another desktop). Thunderbird was one of the worst offenders when I'd have to re-enter my password.
Also, firefox would some times 'shift' when I'd change windows too many times, and I found that the CPU bug would trip off easier. The deal breaker, for me, was that switching desktops would screw up Office 2000 applications (shifting the internal frames, some times leaving an app unresponsive, etc.), and at work I have to deal with an internal Access application.
Nothing like starting up the editor on one desktop, documentation on another, firefox with google at the ready on another, and the application/database window on the fourth desktop. Access or the application would crash/move itself if I switched back and fourth too quickly too often, and I was constantly waiting on Firefox to restart after causing the CPU bug to trip and take so many cycles that I couldn't switch desktops to the one with the task manager open. The net gain was a complete loss in productivity, as compared to compiz where I find myself about twice as productive.
At home on my 'doze box, I've got dual screens, but it would be nice to have dual screens with a functioning multiple desktop setup. Does anyone have any hints for this, or think Desktops-1.0 will improve upon the situation?
If I could afford it (broke software development major - my rig is always a generation behind what is 'standard', and two behind bleeding edge), I'd probably just get a third screen and be done with it, but multiple desktops is my only viable solution until I have some cash that isn't earmarked for more important hardware.
Don't forget that tmpfs will 'soft' allocate up to half of your RAM unless you use a mount option to specify how much memory it is allowed to use. I do the same thing with one of my boxes, but I have found it to be slightly less graceful than a pure swap (I think I had an unusual situation with a high priority process entering the run queue and something got paged in a rather ugly fashion, IIRC). That being said, it's a great option, and a great ace up your sleeve when you need to optimize your server.
tip:
Lower the amount of RAM Linux uses by changing vfs_cache_pressure to > 100. This will make the kernel dedicate less RAM for caching dirents (directory entries) for quicker lookups. For instance, to cut the amount of directory caching in half, double the pressure by doing: 'echo 200 >/proc/sys/vm/vfs_cache_pressure'.
You mean, do the laws of thermodynamics still apply? Yes. It will always take more energy to convert from one form of energy to another; the trick is using 'free' energy with minimal impact for a catalyst and accepting that the return is always marginalized. We also get diminishing returns on our attempts to make more efficient systems... the energy to create the systems climbs as the returns on said systems becomes less. Just gotta' accept that part of the game, 'cause you can't not play.
I've gotten computers from a bank that was getting rid of a few hundred after an acquisition.
They've got a 'vault' at their IT shack where computers were stacked for processing. Every computer is accounted for by serial number and attached asset tag (usually a metal foil tag with internal number on it) and the drives are scrubbed by overwriting every byte on them multiple times. The process takes about an hour and a half per computer, but they wipe and process about half a dozen at a time. The tech doing the wiping verifies and signs each form for each box, and attaches the old asset tag to the form for later verification, and then puts them in a pile on the other side of the room. From there my comrade and I were allowed to load them in to our cars.
FWIW, those old boxes are great for loading up with Ubuntu and selling for cheap to low income families. Everyone wins. The bank gets rid of computers they no longer want/need, a family gets a $100 computer, and we got a buck or two in our pockets for being the middle men. The economies of scale are beautiful.
So you're the one we have to kill for Windows ME, eh? I've got some friends over at Oracle that could take care of... Oh, hey, wait a minute! Small world, isn't it?
If you see Dave, let him know I still want my 20 sided dice back.
Yes... had you read my post before deciding that you despise me, you'd have noticed in the first sentence that I'm still in college. I work like this because I'm an intern. I don't expect the world to give me anything if I'm not willing to work hard for it. The flip side being that I'm busting my butt now so that I don't have to later. I enjoy my life as well, and I can spend more time enjoying it if I get a good job with good pay from the labor of my 'brow.
By the by, the company that I work for is owned by a gentleman that retired and started a company as something to do; he doesn't take a cent from the company, and works 9-5 every day. I get paid, very well, by the hour for those nights and weekends.
I understand venting and all, but perhaps you lashed out at the wrong person? If not, I'm very sorry that you feel that way and are leaving an occupation that you love because of people like me.
Slightly OT, but how is Abiword these days? I'm running KDE 3.5, so I won't really have a chance to run it again until KDE-4 is really stable enough for my desktop. The last time I tried it a few years ago, it was alright, but I seem to remember having formatting problems. Has it matured a good bit in the last two years or so?
I'm really excited about the new koffice, but is Abiword worth a look, as well?
Yeah, but as a life long geek and software development major, I find that these kids are the best kind of competition. Seriously, I know a bunch of kids that just don't have a passion for CS, and I can run circles around them just from experiences I've had messing around as a kid. When it gets to the harder subject matter (SPARC ASM, anyone?), they just can't compete unless they've got a passion for the subject. Passion will get you further than talent any day of the week.
We'd all be nuts to be in this line of business if we didn't love it... software bugs, technologies that change every few weeks, drinking from the firehose, late night server rebuilds, weekend bug hunts, the expectation to show up at 9am when our brains don't start working until noon, and chasing vendors away from the PHB before they give him any bright ideas... for me, personally, it's all worth it when I have a day or two when I can just dominate some code; when it flows off my fingers with poetic form. Everything else sucks, but it's the price for getting paid to write some awesome code, or design a new network, or whatever part of IT that you do and have passion for.
Bah, no worky for AMD. This is Gigabyte mobo and Intel friendly only, which is understandable since most do-it-yourselfers will probably have a setup like this. Still AMD support would be nice.
I'm not sure if I'm going to not vote as a protest, or to cast a ballot for whomever is going to make my life less miserable. And, no, I haven't decided who that is just yet.
FWIW, as far as.EDU goes, at my university we are pooling cash with other schools to get one fat pipe (trunk with SLA, QOS, etc.) to divvy up; economies of scales and whatnot. Instead of having a bunch of smaller trunks, it works out to be cheaper to get a single bulk pipe. Not that it matters, the campuses will saturate an OC line if you give it to them (whatever isn't being used for torrents will get eaten up by malware); from what I've heard, we just started caching youtube videos, and this is helping a good deal. Even patch (black) tuesday and WoW patches stress the system from time to time.
{
public void speak()
{System.out.println("Hello World");}
public static void main()
{
HelloWorld helloWorld = new HelloWorld();
helloWorld.speak();
}
}
Haven't bothered to compile that, but it's close enough for 4:30AM. If I wanted to be a pain I'm sure I could shave off a line or two. Anyways, what is your beef with Java? I've found most people that diss on Java fall in to one of the following categories:
For my own part, I program in C/C++, Java, perl, a bit of .NET, V(B/C)-6, and ADA is my guilty pleasure language (arguably the most well designed and implemented of the bunch, IMHO). If memory footprint and load time aren't an issue and I need to go cross platform, Java is just my only option. In the languages that I know, Java is second only to ADA when it comes to concurrency (I admit I've never done anything with multithreading in .NET, but I'm sure it's fairly close to Java in both design and implementation). So, what's your beef with Java?
.NET/Ruby developer and are therefore sworn enemies to Java developers ;)
Please don't misunderstand me, I'm not judging you by the fact that you don't like Java. I also completely understand simply not liking a language; I've just found that many times when someone starts talking about why they don't like Java, they don't really have a reason other than it's 'cool' to diss on Java. Or they're a
From what I can tell, the bug is only being seen on bleeding edge combinations of software in bleeding edge distros. They're thinking it's a combination of the driver and a new release of X (one allows for the conditions, the other glitches after that), but there's very little 'tried-and-true' stuff in a bleeding edge distro.
I had the same thing pop up on a supermicro (ICH-7, IIRC... dual Xeon 5xxx's) at work. Recompiling the modules and reinstalling them seemed to fix the problem. Like most hardware problems, it seems to be just the wrong combination of drivers, hardware, software and luck.
I think a yum update is what triggered it, but I'm not sure; it just popped up out of nowhere and acted in such a way that I couldn't ever corner the thing. Recompiling the modules was one of those things that I did while I was thinking about the problem and trying to isolate stupid variables. I really didn't expect it to fix the problem.
I also remember that one of the network cables was found to be flaky some time later - it could all be coincidence.
At any rate, I've found Realtek chips to be... less than desirable, yet durable enough to take a good beating. Their Linux support isn't bad, either. You could do worse, in regards to bang for your buck, than a Realtek based card, IMHO.
I'll do it; I'm apathetic.
Put all the cameras in the world on me while I do it; I have no intention to stack the box in anyones favor, and I'm hard to buy off because I don't really want anything that money can buy. I suppose someone could threaten me, but I've also got a sword and a .22 long rifle (along with a varsity letter in rifle) within arms reach, even at this very moment.
I suggest you find a handful of geeks like myself and force them to count the ballots. :)
For instance, popups for an application on another desktop would show up on another desktop, even with application sharing off. I would get modal dialog boxes that would pop up, lose focus and fall under my current window. Then when I'd go to check on that application, I couldn't interact with it until I found which desktop an orphaned dialog box was hidden on (it wouldn't get a taskbar slot since it was the child of a process on another desktop). Thunderbird was one of the worst offenders when I'd have to re-enter my password.
Also, firefox would some times 'shift' when I'd change windows too many times, and I found that the CPU bug would trip off easier. The deal breaker, for me, was that switching desktops would screw up Office 2000 applications (shifting the internal frames, some times leaving an app unresponsive, etc.), and at work I have to deal with an internal Access application.
Nothing like starting up the editor on one desktop, documentation on another, firefox with google at the ready on another, and the application/database window on the fourth desktop. Access or the application would crash/move itself if I switched back and fourth too quickly too often, and I was constantly waiting on Firefox to restart after causing the CPU bug to trip and take so many cycles that I couldn't switch desktops to the one with the task manager open. The net gain was a complete loss in productivity, as compared to compiz where I find myself about twice as productive.
At home on my 'doze box, I've got dual screens, but it would be nice to have dual screens with a functioning multiple desktop setup. Does anyone have any hints for this, or think Desktops-1.0 will improve upon the situation?
If I could afford it (broke software development major - my rig is always a generation behind what is 'standard', and two behind bleeding edge), I'd probably just get a third screen and be done with it, but multiple desktops is my only viable solution until I have some cash that isn't earmarked for more important hardware.
Don't forget that tmpfs will 'soft' allocate up to half of your RAM unless you use a mount option to specify how much memory it is allowed to use. I do the same thing with one of my boxes, but I have found it to be slightly less graceful than a pure swap (I think I had an unusual situation with a high priority process entering the run queue and something got paged in a rather ugly fashion, IIRC). That being said, it's a great option, and a great ace up your sleeve when you need to optimize your server.
tip: /proc/sys/vm/vfs_cache_pressure'.
Lower the amount of RAM Linux uses by changing vfs_cache_pressure to > 100. This will make the kernel dedicate less RAM for caching dirents (directory entries) for quicker lookups. For instance, to cut the amount of directory caching in half, double the pressure by doing:
'echo 200 >
HTH
Quantify 'cheaper' ;)
You mean, do the laws of thermodynamics still apply?
Yes.
It will always take more energy to convert from one form of energy to another; the trick is using 'free' energy with minimal impact for a catalyst and accepting that the return is always marginalized. We also get diminishing returns on our attempts to make more efficient systems... the energy to create the systems climbs as the returns on said systems becomes less. Just gotta' accept that part of the game, 'cause you can't not play.
To be fair, we could have saved some cash if we had outsourced that to India :)
Yeah, that joke's going to hurt the karma.
[...]Taking it away was like dosing a crazy person with amphetamines, putting them in room 101, then giving them explosives and a loaded shotgun.[...]
Where do I sign up?! I've got Adderall, bottle rockets, a .22, and a varsity letter in Rifle. Will this be acceptable? =)
What?! We're not barbarians; it'll be reddit. ;)
Huh? Oh!
*Ducks*
I've gotten computers from a bank that was getting rid of a few hundred after an acquisition.
They've got a 'vault' at their IT shack where computers were stacked for processing. Every computer is accounted for by serial number and attached asset tag (usually a metal foil tag with internal number on it) and the drives are scrubbed by overwriting every byte on them multiple times. The process takes about an hour and a half per computer, but they wipe and process about half a dozen at a time. The tech doing the wiping verifies and signs each form for each box, and attaches the old asset tag to the form for later verification, and then puts them in a pile on the other side of the room. From there my comrade and I were allowed to load them in to our cars.
FWIW, those old boxes are great for loading up with Ubuntu and selling for cheap to low income families. Everyone wins. The bank gets rid of computers they no longer want/need, a family gets a $100 computer, and we got a buck or two in our pockets for being the middle men. The economies of scale are beautiful.
So you're the one we have to kill for Windows ME, eh?
I've got some friends over at Oracle that could take care of... Oh, hey, wait a minute! Small world, isn't it?
If you see Dave, let him know I still want my 20 sided dice back.
Yes... had you read my post before deciding that you despise me, you'd have noticed in the first sentence that I'm still in college. I work like this because I'm an intern. I don't expect the world to give me anything if I'm not willing to work hard for it. The flip side being that I'm busting my butt now so that I don't have to later. I enjoy my life as well, and I can spend more time enjoying it if I get a good job with good pay from the labor of my 'brow.
By the by, the company that I work for is owned by a gentleman that retired and started a company as something to do; he doesn't take a cent from the company, and works 9-5 every day. I get paid, very well, by the hour for those nights and weekends.
I understand venting and all, but perhaps you lashed out at the wrong person? If not, I'm very sorry that you feel that way and are leaving an occupation that you love because of people like me.
Slightly OT, but how is Abiword these days? I'm running KDE 3.5, so I won't really have a chance to run it again until KDE-4 is really stable enough for my desktop. The last time I tried it a few years ago, it was alright, but I seem to remember having formatting problems. Has it matured a good bit in the last two years or so?
I'm really excited about the new koffice, but is Abiword worth a look, as well?
Yes :)
Yeah, but as a life long geek and software development major, I find that these kids are the best kind of competition. Seriously, I know a bunch of kids that just don't have a passion for CS, and I can run circles around them just from experiences I've had messing around as a kid. When it gets to the harder subject matter (SPARC ASM, anyone?), they just can't compete unless they've got a passion for the subject. Passion will get you further than talent any day of the week.
We'd all be nuts to be in this line of business if we didn't love it... software bugs, technologies that change every few weeks, drinking from the firehose, late night server rebuilds, weekend bug hunts, the expectation to show up at 9am when our brains don't start working until noon, and chasing vendors away from the PHB before they give him any bright ideas... for me, personally, it's all worth it when I have a day or two when I can just dominate some code; when it flows off my fingers with poetic form. Everything else sucks, but it's the price for getting paid to write some awesome code, or design a new network, or whatever part of IT that you do and have passion for.
Talk about a leap of faith!
I don't think he'll even be high enough above the ground for a parachute if everything doesn't work out!
Good points, I hadn't considered drivers and the such. Which is to say, I shot off my mouth (fingers?) a little early.
Yeah, but it's still x86 architecture. The registers are the same, disregarding extensions such as SSE, etc.
Bah, no worky for AMD. This is Gigabyte mobo and Intel friendly only, which is understandable since most do-it-yourselfers will probably have a setup like this. Still AMD support would be nice.
...Or some of us really are apathetic.
I'm not sure if I'm going to not vote as a protest, or to cast a ballot for whomever is going to make my life less miserable. And, no, I haven't decided who that is just yet.
FWIW, as far as .EDU goes, at my university we are pooling cash with other schools to get one fat pipe (trunk with SLA, QOS, etc.) to divvy up; economies of scales and whatnot. Instead of having a bunch of smaller trunks, it works out to be cheaper to get a single bulk pipe. Not that it matters, the campuses will saturate an OC line if you give it to them (whatever isn't being used for torrents will get eaten up by malware); from what I've heard, we just started caching youtube videos, and this is helping a good deal. Even patch (black) tuesday and WoW patches stress the system from time to time.
Printer on fire, FTW! :)
Yes, that's a real error code. Wiki it.