Newspapers are the most blatantly wasteful thing. It'd be justified if they weren't horribly inferior to electronic media in every single way - but they are.
Patents aren't Copyright. Patent law isn't even similar to Copyright law; you can't pull "parallel examples" from Patent law and apply them to Copyright law any more than you can pull "parallel examples" from murder cases and apply them to traffic violations.
I'm so sick of this recurring "Java is as fast (or faster!) than C++" absolute nonsense. Java is provably slower than C (in other words, Java has overhead as compared to C). Consider an operation X.
My C++ program, doing operation X, has to perform the following actions, at the machine level:
X
An equivalent Java program, doing operation X, must perform the following actions at the machine level:
**A Bunch Of Stuff** X
The part varies depending on the case. Heck, sometimes it's not even there (JIT and all that). But it is there, and it's not free.
Honestly, this is the most brutally, painfully, hit-you-over-the-head-with-a-sledgehammer obvious thing ever.
Yes, a given Java program can be much faster than a given C++ program... a given shell script can be much faster than an assembly program, too.
Clearly this implies that shell scripts are faster than hand coded assembly!... if you're an idiot.
I've never understood how people are actually so retarded they can't look at the status bar to see where a link goes before clicking it. Because of your incompetence, the article should be littered with a bunch of redundant, annoying little warnings?
Maybe not relevant in this case since you're working with strings, but with vectorization being so important to performance on most modern architechtures, if you were dealing with floats the pointer one might actually be slower because it's much harder for the compiler to figure out if (and how) it can vectorize it.
I'm not sure about various compilers and what they do in this case, but following the progress of GCC4's vectorisation, it looks much more likely that the pointer case is passed over by the vectorizer and ends up being (way) slower than the easy to vectorise array index version.
Like I said, not sure what the actual situation in practise is, but it's worth looking into. The difference between vectorized SSE code and plain old x86 code (for example) is WAY greater than the trivial insignificant difference between the two examples you posted.
When hacking meets the discipline of Engineering, all hell breaks loose. Sure, that ugly hacked code you put in now does the trick in a pinch. But if it's not replaced with a long term solution in a hurry, it will cost the company large amounts of money in support and maintenece.
*gasp* lack of long term Solution(TM) costing The Company large amounts of money!!
You clearly have no idea what hacking even is, engineer boy. Back in your cube.
They don't need to be "radar-gun trigger happy", Big Brother has cameras everywhere busting speeders, and surveiling the general population for no particular reason. No need for a radar 'gun' when an automated system does it for you.
If you go around the city in Melbourne, you're more or less on camera the entire time. I recently read in the paper that, on average, a Melbourne citizen appears on 100 surveillance cameras a day (assuming you go downtown, etc)
It's frightening, they're everywhere. Both government and private owned. Noone cares.
In a world of Free/Open-Source Software, who the hell wants shareware?
You're more likely to find people to attempt to reimplement (ie obsolete) your app with an open version than what you're looking for. Stick to Windows or OSX where you actually have a user base.
I don't mean this to sound like "piss off, your proprietary garbage isn't wanted here", just saying it's probably not a wise investment if you're actually going to spend money doing it.
Exactly. The GIMP interface is fantastic for people who actually know their way around their window manager.
It just gets a lot of flack from people from Windows-land who only have a single desktop with click-to-focus, and overlap gobs of windows and can't find anything.
It's not the GIMP's fault you can't handle a few windows, folks. People who complain about the GIMP's interface are usually the sort of people who think MDI is a good interface idea.
Bah, Turing! I had that crap shoved down my throat in high school right when I was getting into C/C++ gaming APIs and GNU/Linux - I hated every second of it.
Watered down Pascal... *shudder*. Everything in the library and environment was so buggy, and there was nothing you could do about it.
I really hope schools start teaching in Python really soon, if they're not already. Now there's a great learning language, and it's (gasp) actually useful in the real world too.
P.S. Check out The Python Challenge if you havn't already. Brilliant puzzle, and a great introduction to Python for programmers IMO.
The GNU/Slashdot moderators still GNU/think this incredibly retarded GNU/GNU joke is funny? It wasn't even GNU/funny three years ago, it sure as GNU/hell isn't funny now.
Look! I can put "GNU/" in front of random words too! Do I get a funny mod?
Whereas you're probably just a whining user with no useful skill to help fix these problems, jwz is not. He is, by his own very frequent and exaggerated admission, a programmer.
In other words, in the time he's spent in the last 10 years bitching and whining about every little thing that he didn't like, he could have been actually doing something about it.
But no, apparently writing xscreensaver is enough to make you God of all things GNU/Linux, and worthy of infinite respect (at least if most of the comments on this article are any indication)
Seriously. xscreensaver. ooohh, a collection of random graphics hacks, largely written by other people. With a login dialog and gtk configuation app thrown in. Can you say "weekend project"?
If there's a list somewhere of things that prove yourself not a hacker in the slighest, "crying about a sound card not working then switching to a proprietary OS out of spite and laziness" is definitely on it.
JWZ, whiny little bitch. I'll never understand why anyone gives a shit what the whiny little bitch thinks or uses.
Newspapers are the most blatantly wasteful thing. It'd be justified if they weren't horribly inferior to electronic media in every single way - but they are.
Patents aren't Copyright. Patent law isn't even similar to Copyright law; you can't pull "parallel examples" from Patent law and apply them to Copyright law any more than you can pull "parallel examples" from murder cases and apply them to traffic violations.
I'm so sick of this recurring "Java is as fast (or faster!) than C++" absolute nonsense. Java is provably slower than C (in other words, Java has overhead as compared to C). Consider an operation X.
... if you're an idiot.
My C++ program, doing operation X, has to perform the following actions, at the machine level:
X
An equivalent Java program, doing operation X, must perform the following actions at the machine level:
**A Bunch Of Stuff**
X
The part varies depending on the case. Heck, sometimes it's not even there (JIT and all that). But it is there, and it's not free.
Honestly, this is the most brutally, painfully, hit-you-over-the-head-with-a-sledgehammer obvious thing ever.
Yes, a given Java program can be much faster than a given C++ program... a given shell script can be much faster than an assembly program, too.
Clearly this implies that shell scripts are faster than hand coded assembly!
Geeks and engineers are just too honest and hardworking. They would never survive in a real business negotiation.
Corollary: Managers are just too stupid and full of bullshit. They would never survive in a position that actually involved getting real work done.
I've never understood how people are actually so retarded they can't look at the status bar to see where a link goes before clicking it. Because of your incompetence, the article should be littered with a bunch of redundant, annoying little warnings?
Maybe not relevant in this case since you're working with strings, but with vectorization being so important to performance on most modern architechtures, if you were dealing with floats the pointer one might actually be slower because it's much harder for the compiler to figure out if (and how) it can vectorize it.
I'm not sure about various compilers and what they do in this case, but following the progress of GCC4's vectorisation, it looks much more likely that the pointer case is passed over by the vectorizer and ends up being (way) slower than the easy to vectorise array index version.
Like I said, not sure what the actual situation in practise is, but it's worth looking into. The difference between vectorized SSE code and plain old x86 code (for example) is WAY greater than the trivial insignificant difference between the two examples you posted.
When hacking meets the discipline of Engineering, all hell breaks loose. Sure, that ugly hacked code you put in now does the trick in a pinch. But if it's not replaced with a long term solution in a hurry, it will cost the company large amounts of money in support and maintenece.
*gasp* lack of long term Solution(TM) costing The Company large amounts of money!!
You clearly have no idea what hacking even is, engineer boy. Back in your cube.
Get an education, you illiterate clod.
There's tons of free software coding with that sort of perspective (ie good old fashioned hacking)
Yeah, spreadsheet software isn't exactly up there on the list of things you'd want to work on while "on bad LSD". No shit....
Spreadsheets and desktop software aren't "the bomb shit". They're dull-assed financial and desktop software that corporate types in suits would use.
...the fact is, he was a person who did his utmost to live by his beliefs and to stand by what he considered important and of value.
Yeah? So was Hitler.
(Bonus points for the first dumbass to pipe up with Godwin's law!)
Uh, diabetes is a preventable disease.
Hint: don't live on bags of sugar and white flour.
... Spammer
Tomato, Tomahto...
Oh my God! Parents are actually doing the parenting instead of the government and corporations?!
What is the world coming to?
Exactly zero to do with each other except.. they're both cameras... that monitor the public... and both are strangely widespread in Australia?
They don't need to be "radar-gun trigger happy", Big Brother has cameras everywhere busting speeders, and surveiling the general population for no particular reason. No need for a radar 'gun' when an automated system does it for you.
If you go around the city in Melbourne, you're more or less on camera the entire time. I recently read in the paper that, on average, a Melbourne citizen appears on 100 surveillance cameras a day (assuming you go downtown, etc)
It's frightening, they're everywhere. Both government and private owned. Noone cares.
- A Canadian in Australia
In a world of Free/Open-Source Software, who the hell wants shareware?
You're more likely to find people to attempt to reimplement (ie obsolete) your app with an open version than what you're looking for. Stick to Windows or OSX where you actually have a user base.
I don't mean this to sound like "piss off, your proprietary garbage isn't wanted here", just saying it's probably not a wise investment if you're actually going to spend money doing it.
Yes! Best. Puzzle. Ever.
No other puzzle has ever had the same level of satisfaction upon solving (each level, that is) for me.
It takes a couple stages for it to get interesting though..
Linux and FreeBSD run on Dell, HP, Lenovo, Intel, AMD, Joe's White Boxes R Us.. that's what makes it threatening to Microsoft.
Not to mention Macs, and Sun, and MIPS, and PDAs, and wristwatches, and....
Exactly. The GIMP interface is fantastic for people who actually know their way around their window manager.
It just gets a lot of flack from people from Windows-land who only have a single desktop with click-to-focus, and overlap gobs of windows and can't find anything.
It's not the GIMP's fault you can't handle a few windows, folks. People who complain about the GIMP's interface are usually the sort of people who think MDI is a good interface idea.
Yeah... MDI. Duh.
Bah, Turing! I had that crap shoved down my throat in high school right when I was getting into C/C++ gaming APIs and GNU/Linux - I hated every second of it.
Watered down Pascal... *shudder*. Everything in the library and environment was so buggy, and there was nothing you could do about it.
I really hope schools start teaching in Python really soon, if they're not already. Now there's a great learning language, and it's (gasp) actually useful in the real world too.
P.S. Check out The Python Challenge if you havn't already. Brilliant puzzle, and a great introduction to Python for programmers IMO.
We need to think of a name for this new colony of course.
Maybe... Marstralia?
The GNU/Slashdot moderators still GNU/think this incredibly retarded GNU/GNU joke is funny? It wasn't even GNU/funny three years ago, it sure as GNU/hell isn't funny now.
Look! I can put "GNU/" in front of random words too! Do I get a funny mod?
Whereas you're probably just a whining user with no useful skill to help fix these problems, jwz is not. He is, by his own very frequent and exaggerated admission, a programmer.
In other words, in the time he's spent in the last 10 years bitching and whining about every little thing that he didn't like, he could have been actually doing something about it.
But no, apparently writing xscreensaver is enough to make you God of all things GNU/Linux, and worthy of infinite respect (at least if most of the comments on this article are any indication)
Seriously. xscreensaver. ooohh, a collection of random graphics hacks, largely written by other people. With a login dialog and gtk configuation app thrown in. Can you say "weekend project"?
If there's a list somewhere of things that prove yourself not a hacker in the slighest, "crying about a sound card not working then switching to a proprietary OS out of spite and laziness" is definitely on it.
JWZ, whiny little bitch. I'll never understand why anyone gives a shit what the whiny little bitch thinks or uses.
I heard they're coming out with this crazy new technology: "multitasking"
Get this, it lets you run many programs simultaneously !!!!!
... a thousand purple monkeys working on a thousand typewriters in dishwashers