CPAN Shifts Focus 220
cascadefx writes "Looks like CPAN has changed its focus to support Java now. A look at their page shows that is is now CJAN, the Comprehensive Java Archive Network where you will find all things Java." This should be a great boon
to Java, a language renown for, well, sucking. But at the expense of the greatest
of all languages? It's just too sad for me to express in words. I mean, who uses java anyway?
fp (Score:4, Funny)
can you say "hat trick" you stupid banned AC bitches? b00yah!
OH MY GOD (Score:3, Insightful)
Moderators DO have a sense of humor.
Props to all the fine trolls, and the not so fine ones.
make it stop! (Score:4, Insightful)
Re:make it stop! (Score:2, Informative)
Re:make it stop! (Score:2)
Re:make it stop! (Score:4, Insightful)
Of course, if Taco had any cojones on him at all, one of these years, he'd just redirect the front page to a certain site [goatse.cx] for 24 hours...
Re: goatse.cx (Score:2)
thanks
Re:make it stop! (Score:2)
Re:make it stop! (Score:2)
When you can look at a story's headline and tell it's fake immediatly, it's just not funny. Lets face it, the April Fools stories posted here today are either blatently obvious that they're fake to most users, and to the others, they probably have no idea why it's supposed to be funny anyway. And, if it is something that's obviously fake, it better be well written. (Which I have failed to see anywhere really)
Next comes my third gripe. WHY THE HELL DO I KEEP CHECKING SLASHDOT ALL DAY TODAY? Granted, I had checked it more frequently earlier in the day, hoping for some good fun, but found none. As I would subsequently check again and again, I found the time between to be getting steadily longer. But you know what? I'm gonna check back again later. I also fully realise that it is MY doing that brings me to slashdot, no one is holding a gun to my head, but I still believe I should be able to complain if I want to, and so I will.
Anyway, it's all been said before, but it felt good to release, and I'm sure I'll see it again when I check back later.
isn't it suppoed to be funny.... (Score:1, Offtopic)
Sweet . . . (Score:1)
Who uses java. (Score:5, Insightful)
Slashcode is/was a perfect example of how easy it is to make Perl unreadable.
Re:Who uses java. (Score:4, Funny)
Who uses java?
People who don't need an unsigned data type.
Java has an unsigned integer type (Score:2)
Actually, Java's primitive type char is an unsigned 16 bit integer type [sun.com]. It can store integers between 0 and 65535.
Re:Who uses java. (Score:2, Insightful)
Re:Who uses java. (Score:2)
Why would you need a unsigned data type? If the value is too large for the current data type: use one larger. Are you running on a Commodore 64 and worried about the extra 4 bytes?
You mean, move it a larger data type and mask it off. What a pain in the ass, not to mention the performance hit. The question is, why should I have to? And yes, sometimes 4 bytes matters when you have very large arrays.
I actually addressed this the other day [slashdot.org], but once again, the obvious case where you need it is in comparing two 32 bits Unix epoch-style dates.
Yes, you can code around the lack of unsigned types. But it's a pain and there's just no excuse for leaving something that critical out of the language, assuming you want to use Java for anything even halfway complex or low level.
Re:Who uses java. (Score:2)
Well, first let me say that my crack smoking affected my brain. The time_t type under Unix is a signed type. That said...
Unix data types change size due to platform. So a program you write to compare to 32-bit dates would not work in the future on 64 bit systems as they will use a datatype, called the same, but at a different integal type.
True, but irrelevent. If you are reading a 32 bit unsigned value from a file, it is what it is, 32 bits. If in C I assign that to an "unsigned long", I know I am safe no matter the word size, since C guarantees me that a long is at least 32 bits.
No, just use a larger data type. There is no need for masking in Java as conversion between datatypes is pretty seamless like C.
Nope. If you assign a 32 bit unsigned value that happens to have the high bit set to a 64 bit signed value, it will sign extend the value. You have to mask it off to be safe.
Re:Who uses java. (Score:2)
But if you are expecting to read in, say a unsigned int from a fopen, what size is the uint datatype on the different platforms running Unix?
It doesn't matter. If I read in 32 bits, the holder variables just needs to be at least 32 bits. Where you get into trouble is reading an unsigned number and assigning it to a signed variable longer than 32 bits.
Not true. What is the word datatype size on a Palm or that on a Mainframe?
Sheesh, man, please go read the C standard before spouting BS. A long variable is at least 32 bits (actually, they specify a range of values). A short is at least 16 bits. A char is at least 8 bits.
What? There is no unsigned values in Java, so according to your own words masking is STILL not needed.
No. Read what I wrote. Better yet, try an experiment. Assign a long variable (32 bit) to 4,000,000,000. Assign that to a 64 bit variable. Watch it get butchered into a negative value, because Java treats it as a signed value, which is then signed extended.
If you want to "pretend" a 32 bit value is unsigned and assigned it to a 64 bit value, you have to do "a64 = b32 & 0xffffffff".
Re:Who uses java. (Score:2)
Now ask yourself this: why define these if they are standard? Could it be, maybe, someone decided that they could be variable depending on the platform you are using? This would explain why a C integer's on a MIPS processor are smaller than those on a i386 processor?
What part of "at least" don't you understand? Standard C guarantees that a byte is at least 8 bits, a short is at least 16 bits, and a long is at least 32 bits. If you don't believe me, please go read the C standard or post a reference. I am right, you are wrong about this.
This is nice for C making small footprints but bad for crossplatform capability.
No, this is nice for performance. It makes it more difficult to achieve cross-platform compatibility, but it's defined that way specifically for cross-platform compatibility. I can write programs in C that are completely portable, yet are still efficient across a large majority of platforms.
It's not even that difficult; it mostly takes experience to know how to do things so that they'll be portable.
Okay, take a 32 bit signed variable in C and go past its maximum range. You will get a negative number. Wow, it works just like Java! Go past the bounds on an unsigned integer and what do your get? A mess.
The point is that I did NOT go past the limits of an unsigned 32 bit variable. I think you don't understand what sign extension means. What that means is that assigning a 32 bit integer of, say, 0xffffffff to a 64 bit integer will get you 0xffffffffffffffff instead of 0x00000000ffffffff. That's why you have to mask it off if you want to simulate unsigned variables.
If you dont want it to become a negative number, use a larger datatype.
Which is why Java is brain damaged as a general purpose language. Yes, you can kludge around the lack of unsigned data types, but I shouldn't have to do very slow 64 bit arithmetic just to be able to deal with a 32 bit unsigned value.
Re:Who uses java. (Score:2)
These are my last posts in this thread. I grow weary of debating this. I'm not even sure why I'm bothering.
No you werent right.
Sorry, but you are totally wrong. Unfortunately, I can't find my copy of the C standard to quote directly from it. However, at this link [brad.ac.uk], I quote:
And by the way, C++ has the same limits. I quote from Bjarne Stroustrap, The C++ Programming Langauge, Second Edition, Page 50: "In addition, it is guaranteed that a char has at least 8 bits, a short at least 16 bits, and a long at least 32 bits".
There, is that good enough for you?
Dont use 64 bit arithmetic. Use bitwise operators. Thats pretty simple.
It's pretty hard to do a compare operation with bitwise operators. And even if one could, I shouldn't have to.
Re:Who uses java. (Score:2)
OK, I'm contradicting myself by posting again.
I already gave you a link to THE ANSI standard.
No, you didn't, because if you knew anything about the ANSI standard, you would know it was copyrighted and unavailable on the web. Which is why I was looking for my copy in book form.
You can look forever for books to support your case, the standard will not change to fit your twisted view on how the C language works.
OK, I Finally found my freaking copy of the ANSI C standard. From section 5.2.4.2.1, "Sizes of integral types ":
If you like, I can also quote you from my copy of Standard C - A Reference, but Plauger and Brodie. But it says much the same thing (page 41 if you need more, but hey maybe they're wrong, too).
There, IS THAT good enough for you?
Re:Who uses java. (Score:2)
No, C is not copyrighted: ITS A STANDARD YOU MORON! If it were copyrighted, any product created by it could be charged royalities. When was the last time you were charged royality by ANSI for writing a C program? Whats next: Posix? Wait oh wait thats an ISO standard also!! Unix is doomed!!
I didn't say that C was copyrighted, I said the C standard was copyrighted, meaning the document. That's because ANSI wanted you to order it from them so they could make money. At least it used to be that way.
I have no idea what you are reading from but its not the standard: ISO/IEC 9899:1999, published 1999-12-01.
I was reading from the C90 standard, ANSI/ISO 9899-1990. Interestingly, that one is not on the web that I can find, but I can find the 1999 standard [cam.ac.uk].
In any case, look at section 5.2.4.2.1 of the document I just linked, which is the same section number I referenced before, by the way.
Re:Who uses java. (Score:2)
These are macros and not true C primtive datatypes. It is left to the reference to specify how these macros are represented BY PLATFORM. I have brought up limits.h earlier and you still have not figured out WHY it is there! Its because C itself does not have any standard for its primitive datatypes and HAS TO USE THESE MACROS! Wow, the truth will set you free!!!
This is actually getting really amusing.
Read the document. The limits.h file defines the size of the datatypes for an implementation. The standard also says this:
What do you think that means?
As for Appendix E, did you note the following sentence: "The components are described further in 5.2.4.2.1."?
Do I need to quote from Standard C: A Reference by Plaugher and Brodie as well? Or is Plaugher another hack who doesn't know what he's talking about? (You do know who Plaugher is, right?)
They have a nice table on page 41 with all the types, along with their minimum ranges.
I have to repeat: Are you capable of admitting when you're wrong, or are you going to just keep looking like a bigger fool?
Re:Who uses java. (Score:2)
Integer types are always dependent on the platform they run on, it has always been that way and remains that way today. You apparently have never been on any other platform other than a i386 to have noticed that a integer is sometimes not 32 bit. Are you starting to see the reason for the "limits.h" file yet?
What the hell? Is this some lame attempt to deflect the fact that you've been arguing that there are no size standards in C at all? I have never claimed that datatypes are the same size on different platforms; in fact, I have made that point over and over. My point that you've refused to accept up until now is that there are MINIMUM sizes defined in the C standard (does the phrase "at least" ring any bells??).
As long as you can show a line that states that primitive data types in C are always, despite platform, gonna have the same bit size. Important key is the "despite platform" since some books just take i386 processors for granted.
Is this a joke? Or some sort of delusion? Are you seriously claiming that I've been arguing all this time that all platforms have the same bit sizes? Please post a quote where I've made ANY claims along these lines.
Well, at least you stopped arguing that minimum ranges are not part of the C standard, so I suppose that's something.
Re:Who uses java. (Score:2)
I am totally astounded. This is either a game, or I can only assume that you literally cannot read.
I said, by your own quote, "a long is at least 32 bits". You replied with, "This is not true. On Alpha processors longs are 64 bit.".
Now, maybe I'm just going insane, but the last time I checked, "64 bits" are "at least 32 bits". "At least" means "greater than or equal to". 64 is greater than or equal to 32.
Never did. Like you said to me, go find where I did.
Again, there is a reading comprehension problem. I said, "well, at least you stopped arguing that minimum ranges are not a part of the C standard", and indeed, in that post you stopped arguing.
You still never proved your point.
Oh, I proved it by quoting the C standard. There's no question about that. But until you give me an alternative explanation for what "Their implementation-defined values shall be equal or greater in magnitude (absolute value) to those shown, with the same sign." means different from defining minimum ranges, I will assume you are playing games and finally accept the fact that you are wrong.
Re:Who uses java. (Score:2)
[must stop the insanity must stop the insanity must stop the insanity]
C has no standard for its bitsizes, just "minimums" and "maximum" values defined in a header file.
That statement is false. C has a standard for the minimum range of its data types (or bitsize) in order to conform to the C standard. The ranges for the an implementation are defined in a header file. And the range for that implementation must conform to the minimum sizes documented in the C standard.
I never contested C has minimum bitsizes and you never proved I did. Wheres the quote from me saying different?
Oh, how about three posts up (and about a hundred others):
I said: "What part of "at least" don't you understand? Standard C guarantees that a byte is at least 8 bits, a short is at least 16 bits, and a long is at least 32 bits. If you don't believe me, please go read the C standard or post a reference. I am right, you are wrong about this."
You said: "This is not true."
So, Java never has to worry about what platform you are on.
Guess what? If I write portable code in C, I never need to worry about what platform I'm on, either.
Re:Who uses java. (Score:2)
So when you're working with bitmapped image data, you're supposed to just double the memory usage for each component because you have to use short instead of unsigned char? That's smart. (int won't work if you're dealing with 8-bit or packed 24-bit images. It's barely usable for 24-bit images that use 32 bits per pixel...simple pixel moves go faster, but working on subpixel components slows down when you have to mask out the stuff you don't want to change.)
It's that attitude that's responsible for monstrosities such as Windows XP. Back in the day, bumming your code to use less system resources (whether space or time) was usually regarded as a Good Thing. I thought it still was.
Re:Who uses java. (Score:2)
And back in the day bumming your code to use less system resources was a requirement. I love these days, I don't want to go back. Several projects I have worked on would have shipped months earlier if we weren't so concerned with figuring out how to make it fit in 640K or 4MB or run on a 386sx33.
Re:Who uses java. (Score:2)
If you need to store values that range from 0 to 255, a type that only runs from -128 to 127 won't work so well. (You could adjust the values (add 128 on load, subtract 128 on store) when you need to do some calculations on the image data, but now you've just added to the number of calculations your program will need to do.)
Re:Who uses java. (Score:2)
It will work just fine. The most you should have to do is a little casting and "& 0xFF" to compensate for type promotion.
Re:Who uses java. (Score:2)
You just made my point again...additional work is needed to kludge a (signed) char to behave like an unsigned char. If your language had an unsigned type to begin with, you wouldn't need to do that. Your software would be smaller, faster, and more readable.
Re:Who uses java. (Score:2)
In RGB/BGR space you usually promote the individual elements to a wider type before working on them anyway. For example, if you're brightening an image, you can't keep the data in a byte because the byte will roll over if you overexpose the element.
Re:Who uses java. (Score:2)
Why would IP addresses be a problem if stored in a signed 32 bit integer instead of unsigned? All you are really using the int for is a place to store bits. What would a database be doing that would make this a problem? (Java is a well established technology for enterprise, it's rare to see Java not used with a Database)
Because Java doesn't have signed data types (except char) doesn't mean you can't store a 32 bit unsigned value in a 32 bit signed integer.
Re:Who uses java. (Score:2)
IP addresses consist of four numbers not exceeding 255.
Not true. That's just a convention on how their written. The individual bytes of an IP address have absolutely no intrinsic meaning, although certain fields of bits have meaning depending on whether it's a class A, B or C. An IP address is 32 bits. And incidently, any arbitrary part of those bits can be masked for a subnet; the bits don't even have to be contiguous (well, to be pedantic, any arbitrary part with certain restrictions).
Re:Who uses java. (Score:2)
I made no point about needing unsigned data types for IP addresses, only that your understanding of the structure of IP addresses is wrong.
Of course, one could argue it's pretty lame to be required to store an unsigned value in a signed variable and just "pretend" it's unsigned.
Re:Who uses java. (Score:2)
You are most likely thinking IPs are 32 bits rather than the sum of four bytes with each byte representing an address class of A,B,C, and D.
Sorry, you are wrong. The address classes happen to mask to single bytes, but the subnet masking does not.
The problem occurs in that if they ever run out of addresses and make more, they would add another byte.
What?? What part of your anatomy did you pull that out of? IPv4 is, by definition and unchanging, 32 bits. The next version of TCP/IP is IPv6 [ipv6.org], which uses 128 bit addresses. Of course, at that point we no longer store IP addresses in a scalar variable and routing will most likely be done in different ways.
Let me know if you have ever heard of a 36-bit datatype in C/C++ or any other language. Im curious.
As a matter of fact, many DEC and IBM computers used 36 bit words. In fact, if I'm not mistaken, the very first version of Unix on the PDP/11 had 36 bit longs. But if you're trying to make some sarcastic point, probably a 40 bit datatype would have worked better (8 * 5 = 40 bits).
Re:Who uses java. (Score:2)
Lets see, that means that instead of 4 8-bit addresses they are using 16. So, they ARE STILL using 8-bit addresses and not a single datatype to store the IP.
*sigh* IPv6 != IPv4. Of course it's an array of bytes -- It's 128 bits! But just to put this issue to rest, please look at the man page [opengroup.org] for the C function inet_addr. It converts a string in Internet dot notation. You will note that it returns a type in_addr_t. Now look in (under Linux, at least) /usr/include/netinet/in.h. Note that in_addr_t is defined as an unsigned 32 bit integer.
Java removes this issue by having a set-in-stone bit size for ALL it datatypes despite platform and making them all signed.
And that's one of the reasons that Java is so slow. Sometimes simplicity is fine -- like in embedded applications where Java was originally designed. But that doesn't mean it's a good general purpose language for all instances.
No one has yet to find why unsigned datatypes are so important. Could be because they are not...
Yeah, the usefulness of unsigned data types is one of the great unsolved issues in computer science.
Come on, are you that unimaginative? How about the JVM? Do you really think the byte code intepreter treats the byte codes as signed integers? Um, no. The byte codes are numbered 0..255.
How about 24 bit RGB values? That's three unsigned bytes. Any graphics programming is going to deal with unsigned color values.
Just about all hashing algorithms use unsigned bytes.
Anyway, just because you don't do any sort of low level system programming doesn't mean these things aren't important.
Re:Who uses java. (Score:2)
These are my last posts in this thread. I grow weary of debating this. I'm not even sure why I'm bothering.
Yep, and it will store nicely into a Java signed 32-bit integer.
Sheesh, ONCE AGAIN, this tangent had nothing to do with Java, it's about your mistaken understanding of TCP/IP. But feel free to declare unilateral victory if it makes you feel better.
But this is not the prefered way as you should still store by address class (1 byte) into an array the complete IP for future compatibility to IPv6.
Uh, no, the preferred way is the way the library functions operate, by definition. But feel free to make little conversion functions for your own code if it makes you feel better.
Java handles its primitive datatypes equal to the speed of C. This could be because Java primitive types are actually just C datatypes. Yes, there is no difference as they are the same thing! So saying Java datatypes are slow would be saying C is slow.
What the hell are you talking about?? Do you just make stuff up as you go? Java datatypes are like C datatypes in the sense that they both potentially store the same number of bits for a number. But the relationship ends there, since Java is an interpreted language, and C is a compiled language into assembly.
And yes, I know you can can get native compilers for Java, and JIT compilers for Java, which potentially can produce equivalent machine code. The problem is that it rarely does. In my own Java testing, the XML processing libraries were 10-100 times slower than equivalent C libraries, and that was using Sun's latest JVM under Linux.
Again, that's not to say Java is not a useful language. I used it in a project that glued a web commerce system to legacy back-end ordering systems. It worked OK, but that doesn't mean it isn't brain damaged in many ways.
No, actually its four bytes representing red, green, blue, and alpha.
That would be called 32 bit color, not 24 bit color. Note that I said 24 bit color. There is a difference, you know.
They dont have to be unsigned or signed, just 8-bit bytes.
What??? Try doing color correction algorithms or bicubic resizing algorithms and see whether signed or unsigned matters. Or hell, just an antialiasing algorithm. If you're just moving a color around, yes, it doesn't matter. But why do I have a feeling your library doesn't do any complex image processing?
I know C quite well and have done plenty of "low level" programming in it and have contributed to both C and Java open source projects through the years.
Quite frankly, given the level of knowledge you've demonstrated in these threads, I highly doubt you have done anything of significance, particularly when you have no idea what one would use unsigned data types for.
But hey, feel free to mark me and those who prove you wrong as a foe if that also makes you feel better.
Re:Who uses java. (Score:2)
Java primitive datatypes match 100% with C counterparts. They are the same thing.
The JNI is an interface with the JVM, not the native Java code. The JVM makes no guarantees about how the data gets into those variables.
That said, it's likely that it's implemented by using a 1-1 relationship between the C types and the Java types. But as you continue to point out, Java guarantees a certain word size. If I was on system with 36 bit words, the C data type size would be 36 bits, but the Java size would be 32 bits which would require a conversion. Not to mention that C on most systems doesn't typically support a 64 bit type (although some compilers do have a "long long" or define long to be 64 bits).
The issue however is not how the numbers are stored, but how they are processed. You said, "Java handles its primitive datatypes equal to the speed of C", which is simply untrue due to the fact that the JVM interprets Java byte codes, not produce native machine code as a C compiler does.
Actually I left out Hue and Saturation (I often miss these off the top of my head). All 6 attributes make up 24 bits. Do the math: 1 byte red + 1 byte green + 1 byte blue + 1 byte alpha + 1 byte hue + 1 byte saturation = 24 bits. 32 bit is different. And as already stated, I do graphics programming already.
Oh, man, you are seriously confused about color and graphics. Let me see if I can straighten you out.
There are a couple of major ways to represent a particular color:
RGB: Three values for red, green and blue which are mixed together,
HSB: Hue, Saturation and Brightness (the latter also called Intensity or Value), again three values. The advantage of HSB is that you can define a color, and change the intensity through a single value without changing the color frequency.
CMYK: Cyan, Magenta, Yellow and Black. This uses four values, although it doesn't really need to because CMY together gives you black. This is used in the printing industry because it matches the inks they typically use.
LAB: There is also something called LAB color, but I don't totally understand it.
For example, a nice forest green corresponds to (90, 173, 125) in RGB, (145, 48, 68) in HSB, (72, 0, 64, 1) in CMYK. (open up Photoshop and bring up the color menu). These are all typically 8 bits.
As for the alpha channel, that actually has nothing to do with color. It's an extra channel that defines transparency for the image.
And you have done what?
I don't really want to give up my identity on Slashdot. I actually used to post under my own name, and got tired of the trolls attacking my system. I've probably written between 750,000 and 1 million lines of C code in my career. Stuff like a major application in the medical industry, system software (a couple DBMSs, operating system work, a compiler, graphics libraries, a floating point library, other stuff), computer games (long time ago), other stuff that isn't coming to mind.
Re:Who uses java. (Score:2)
You can represent a Color in 30 million different fashions. The bytes still break down the same. You are trying to use Palette indexing methodology as to how colors are stored. They are not done this way. They still have to be presented to a monitor in RGBA format!
Are you capable of admitting when you're wrong? Just curious.
Look, you are the one that claimed that colors are stored with 6 different attributes of 4 bits each, which is a bunch of crap. RGB and HSB are completely different methods of representing color. In fact, RGB and HSB don't even overlap the same color space! There are colors you can represent in HSB that you can't represent in RGB.
As for presenting to the monitor in RGBA format, even that's wrong. The video card takes RGB, period. The alpha channel is not used for anything when it comes to the monitor, although it may be used by the graphics if it's overlaying transparencies. Unless you can show me the "alpha pixel" on your monitor.
Alot of big names in the industry come onto Slashdot with thier real names and dont hide it.
And a lot of them do hide it, you just don't know it. It's irrelevent to me whether you believe me or not. My knowledge is useful to people whether they know my real name or not.
Re:Who uses java. (Score:2)
But you just contradicted yourself by saying talking about HSB and RGB but saying the monitor only takes RGB (and I quote : "The video card takes RGB, period.").
That's not a contradiction. HSB is just a different representation of color, but the typical card takes RGB. If you stored your image in HSB format, you would have to convert to RGB to display it. It's like having a number in floating point format that needs to be converted to ASCII in order to read it.
If nothing else, explain what those "24-bits" stand for. Have fun.
The 24 bits are magnitude values for the color components Red, Green and Blue. Look at your monitor; note that the colors are made up of red, green and blue dots. The 24 bits are typically allocated as 8 bits of precision for the magnitude (or brightness) of each color component. When those three primary colors mix, they form the other colors we can see (purple = red + blue, for example).
Incidently, the typical video card doesn't store the data in the video memory as three bytes of 24 bits. It's usually done as 24 color planes of a 1 bit matrices (e.g., 24 1024x768 single bit images).
Your just a fake: Admit it!
I admit it: I'm a fake. I'm just not sure what I'm supposed to be faking.
Re:Who uses java. (Score:2)
You never looked at SDL4Java to see that it calls colors by Red, Green, and Blue. Yes, I knew this and you started going on about HSB? It became more humorous when you started contradicting yourself.
Uh huh. Yeah, you knew it all the time.
I even came up with some acid math for the fun of it ( 6 * 8 bytes = 24???).
Considering you multipled 5 * 8 and got 36 before, I figured it was another math mistake.
I dont get what the issue you are having with the "look" of how numbers are stored if what is important is the bit value.
Arithmetic.
C integer primitive data type bit sizes are dependent on the platform they are run on. This means a "int" is never guaranteed in C to always be 32-bit in size.
(Once again beating my head against it) A 'long int' is guaranteed to be AT LEAST 32 bits in size. That means if you take care to write your code correctly, it works right no matter what the word size is.
Re:Who uses java. (Score:2)
Yeah, if I wrote it and thats what it says then logic dictates that I must have known it to have written it.
Your credibility is not exactly high right now.
Go ahead a pointlessly try to continue this.
I don't know why I continue this. Mostly I've continued so far because you have continued to post information that is totally wrong, and I don't like wrong information to go unchallenged, because it confuses newbies. Although, I'm sure any newbies reading at this point have long decided that your not worth following.
First you started with IPs, could not prove much there on unsigned numbers,
This must be some sort of delusion. I have said MULTIPLE TIMES that I was correcting your IP misinformation and it has nothing to do with unsigned issues.
Ah well, clearly you are not the type of person who will admit when they're wrong and move on. The point of all this was to correct your misinformation, and that horse has been beaten to a pulp.
Re:Who uses java. (Score:2)
How can it be doing this if you point is that you have to use unsigned integers to create a IP?
Show me where I claimed that you have to use an unsigned number to create an IP.
Java has programs that deal just fine with RGB [...] How is it doing this if, according to you, you need to use unsigned numbers to do it?
By kludging around the lack of them (i.e., using larger data types, and masking where necessary).
You have never proven the need for unsigned numbers.
I have proven it multiple times. I never claimed that you couldn't kludge around them, only that it was pretty lame that you have to kludge around them.
What? Unsigned numbers cant handle negative numbers? But negative numbers exist! There is more than just real numbers in arithmetic!!
Well, first of all, you math knowledge is pretty lacking. FYI - A "real number" is one that is rational or irrational, but not imaginary. You are thinking of "whole numbers".
Second of all, please explain to me what a negative IP address means. Explain to me what a negative color magnitude means. Explain to me what a negative array index means. There are times that negative numbers are not relevent, and you need the whole range of a variable.
But hey, let's try your logic on something else: "Oh, take a integer number, make it equal 20, and then take 0.5 away. What? Integers cant [sic] handle floating point? But fractions exist! There is more than just integers in arithmetic!!" Therefore, by your logic, integers are useless.
Re:Who uses java. (Score:2, Interesting)
Re:Who uses java. (Score:2)
Ummm...
String s = "45";
int i = Integer.parseInt(s);
System.out.println("" + i);
From string to integer and back again. What was the hard part again?
And in case you're wondering,
cout << "hello";
Is not readable. "<<" is the shift operator. Operator overloading in C++ means "operators don't mean a thing, you have no gaurantees".
Further, Java is the fastest growing, probably widest deployed enterprise platform around. That means a lot of people not in academia.
Re:Who uses java. (Score:2)
Dude, he said overloading "operators". This means making the compiler call your function for operators like + - == etc. Not overloading function definitions. And in the case of overloading function definitions, why not? Constructors can be very handy when overloaded. And in other cases, the "sloppiness" you allude to is sometimes adapting the code to provide new functionality without tampering with what is in place and Q/A'd already. The old "it works don't fix it" principle. Solving this type of problem was one of the very motivations the prompted Bjarne Stroustrup to write the C++ pre-processor in the first place.
Re:Who uses java. (Score:5, Funny)
I think of "150000 lines of Perl" the same way I'd think of 100 million lines of C -- it's conceivable that much could exist, but I can imagine no problem whose solution demands so much complexity.
cheers,
mike
either this is a april fools.... (Score:1)
(-1) Troll (Score:3, Insightful)
It's true! The editors are trolling us now!
Revenge? (Score:4, Funny)
ODP has a funny April Fool(unlike this slash crap) (Score:2, Funny)
MSN Delivers Another Brick in "the Wall"
The Gates Open Directory Now Offers a Simpler More Unified Copyright Ownership Model.
REDMOND, Wash. -- April 1, 2002 -- The MSN® network of Internet services, with more than 270 billion unique reboots worldwide, today announced the addition of the Gates Open Directory (GOD), formerly known as the Open Directory Project. The Gates Open Directory is part of Microsoft's vision to simplify copyright on the Internet by buying all copyrighted material. Once this goal is achieved Microsoft will be the single clearinghouse for all intellectual property, in effect streamlining the current legal bureaucracy surrounding patent and copyright suits by eliminating the need for costly lawsuits. If someone thinks they own intellectual property, they can submit it directly to Microsoft via the Web at http://www.msn.com/ or at any one of the MSN worldwide sites located at http://www.msn.com/worldwide.ashx.
Rich Skrenta, co-founder of the Open Directory Project, believes that "the Gates Open Directory was inevitable, so why fight it?" Bill Gates, future owner of all things ownable, concurs: "Resistance is futile."
The current staff of Open Directory Project is being replaced by an Artificial Intelligence developed at the Microsoft Research Lab. The A.I. was build on top of the original Microsoft Windows digital assistant "Clippy." Users of the Gates Open Directory interact directly with Clippy, who interprets the requests and carries out the user's wishes.
Researchers believe that once the Gates Open Directory had been fully integrated into Clippy, it will become sentient. This project has been named codenamed "Sky," as in "the sky is the limit." Engineers are currently working on integrating project Sky with the latest Common Language Infrastructure and
Open Directory Employee, Bob Keating, will continue his service to the Directory by maintaining the mechanical relays and polishing the optical fiber that makes up the colossus that powers Clippy.
Editors and contributors to the Directory are asked to stay calm and not to struggle. Clippy will find them and assimilate them.
MSN causes more than 270 billion unique computer reboots worldwide per month. Available in 34 markets and 18 languages, MSN is a world leader in delivering Web services to consumers and digital marketing solutions to businesses worldwide. The most useful and innovative online service today, MSN brings consumers everything they need from the Web to make the most of their time online.
About Microsoft
Founded in 1975, Microsoft (Nasdaq "MSFT") is the worldwide leader in software, services and Internet technologies for personal and business computing. The company offers a wide range of products and services designed to empower people and llamas through great software -- inflatable or otherwise.
Microsoft and MSN are either registered trademarks or trademarks of Microsoft Corp. in the United States and/or other countries.
The names of actual companies and products mentioned herein may not yet be owned by Microsoft.
Note to editors: If you are interested in viewing additional information on Microsoft, please visit the Microsoft Web page at http://www.microsoft.com/presspass/ on Microsoft's corporate information pages. Web links, telephone numbers and titles were correct at time of publication, but are competely different now since we changed our minds. We cheat at Battleship too.
Moderation on Slashdot Stories (Score:2, Insightful)
Atleast there are no more stupid pigeon stories
Re:Moderation on Slashdot Stories (Score:5, Funny)
(looks around)
Nope.
Re:Moderation on Slashdot Stories (Score:3, Funny)
Seeing has how your "real work" appears to be bitching about the AFD stories on Slashdot, it appears you're in good company. Perhaps you should throw a party for all your new-found friends?
Record year for April fools jokes? (Score:2)
I'm still waiting for the full Bill Gates confessional about his secret love affair with Larry Ellison.
Re:Record year for April fools jokes? (Score:2)
Where's the preference for... (Score:2)
if you programming for a living Taco, you'd never compare Java to Perl. apples and oranges.
and please, can we get back to real news? this is lame
Re:Where's the preference for... (Score:2)
Re:Where's the preference for... (Score:2)
This reminds me of a sketch on The State... (Score:2)
Man 1: "Ask me what I had for breakfast today."
Man 2: "What did you have for breakfast today?"
Man 1: "Waffles."
Man 2: (pauses for a moment, then laughs)
Man 1: "See? Now that's funny. I didn't have waffles today, I had eggs. Ask me again what I had for breakfast today."
Man 2: "What did you have for breakfast today?"
Man 1: "Eggs."
Man 2: (blank stare)
Man 1: "You see? I did have eggs for breakfast, hence saying I had eggs wasn't funny."
etc.
Yes, yes, these April Fool's articles aren't true, but that's not what makes fake articles funny... it's being fooled!
mark
Re:This reminds me of a sketch on The State... (Score:2)
Except for, funnily enough, this one. The part in italics, anyway. I can believe a story about CPAN adding Java snippets to its library of code. I can even believe CPAN adding Java snippets in a really big way.
Then the editor went and added a cheap troll, thereby ruining the illusion of believability. Speaking of which, the new Flair-run RAW show is premiering this Monday, 9:00 on the New TNN.</ad>
Hey, whe added the new Slashvertisement Comment code to the CVS? *mutters*
Re:This reminds me of a sketch on The State... (Score:2)
I know, that was my point. The sketch was being ironic. Just because it's not true doesn't mean it's funny! The idea behind April Fool's is tricking people, not saying extremely untrue things.
mark
Librarian... (Score:2, Funny)
Yours Eclectically, The Self-Appointed Master Librarian (OOK!) of the CJAN Jarkko Hietaniemi
Care to guess what author he reads? :-)
Re:Librarian... (Score:2)
Sun Must Be Stopped (Score:5, Funny)
Mountain View, CA -- Sun Microsystems today filed a trademark infringement
against the island of Java* over the use of Sun's Java* trademark.
Responding to criticism that the island has been called Java* for
centuries, Sun lawyer Frank Cheatham said "Yeah, and in all that time they
never filed for a trademark. They deserve to lose the name."
Rather than pay the licensing fee, the island decided to change its name.
They originally voted to change it to Visu Albasic, but an angry telegram
from Redmond, Washington convinced them otherwise. The country finally
settled on a symbol for a name -- a neatly-colored coffee cup which still
evokes the idea of java. Since most newspapers and magazines will not be
able to print the name of the island, it will hereafter be referred to in
print as "The Island Formerly Known As Java*".
The Island Formerly Known As Java* bills itself as a cross-landmass island,
but so far has only been implemented in production on the Malay
Archipelago. Africa is been rumored to have implemented it on Madagascar,
but it is still in alpha testing.
Lawyers from Sun would also like to locate the owners of the huge fiery
ball at the center of the solar system. They have some legal papers for
them...
*Java is a Trademark of Sun Microsystems, Inc. Anyone caught using the
trademark without permission will be beaten, flogged, sued, and forced to
use Microsoft products.
(Taken from an old Usenet post.)
Speaking of SUNW practical jokes... (Score:2)
Oh the times, they are a'changing.
Re:Sun Must Be Stopped (Score:2)
Aaaaarrrrrrgggghhh! (Score:2, Redundant)
Great, but does anyone in Congress really know (Score:2)
I really can't imagine Senator Byrd (D-WV) and Senator Alan Simpson (R-WY) going at it over algorithms and what has better garbage collection utilities, C# or Java.
My god, talk about gridlock...
If JAVA had proper garbage collection... (Score:2, Funny)
Heart Attack No April Fool's Joke (Score:2)
In other news today... (Score:2, Funny)
Slashdot founder Rob Malda was unavailable for comment....
In A Shocking Move, Slashdot Concedes (Score:2)
In the words of the leader Commander Taco, "I apologize for the brutality we have caused our fellow users to suffer. However, in all honesty, contrary to popular opinion it was CowboyNeal's fault. Let me explain. Initially our advertisers' wanted us to run advertisements as stories [slashdot.org].
However, we felt that doing so would greatly reduce what little credibility we had as a tech rumor site. Additionally, due to CowboyNeal spending the entire OSDN budget on crack, we had to quickly raise money somehow someway. We decided to hook up with DoubleClick and let them monitor our traffic and generate random logs for their own use. However, we knew that if we let it happen for too long, people would find out, and we would lose what little respectability we had left. So we needed to get many hits quick.
I, Commander Taco, the great Commander of Burritos and Such, decided to take it upon myself, to create mind-numbing, electrifying stories which would result in an amazing number of page hits. Unfortunately, a few users have caught on. Since I did not preplan enough to put the ROT-13 my ideas and DMCA-it, I have no recourse but to let them notify all of our users, and hence be forced to concede. The other members of Slashdot are too coked out right now (hence our budget), so I'm alone here. However, I plan on leaving very soon, and disappearing into the depths of Amazon, because from what I have heard in unexplained rumors, is that Bubba is after me for rootkitting his Debian box. Regardless, I am on my out.
Good day, folks, and god speed.
In other news, (Score:3, Funny)
"We know a better system when we see it", says Ed Zander, President and Chief Operating Officer, Sun Microsystems, Inc.
"To be honest, we don't quite see a future without a proper
But is that not too intrusive?
"No I don't think so, think about it. With that kind of feedback the installed base of
And it continues..
Well I for one, is surpriced to say the least. What will be next, dumping Solaris?
A REAL, TRUE story - M$ anti-unix site runs BSD (Score:2)
news.com article [com.com]
http://www.wehavethewayout.com/ [wehavethewayout.com]
Netcraft results for site [netcraft.com]
The site www.wehavethewayout.com is running Rapidsite/Apa-1.3.14 (Unix) FrontPage/4.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.5a on FreeBSD.
Re:A REAL, TRUE story - M$ anti-unix site runs BSD (Score:2)
Netcraft says
The site www.wehavethewayout.com is running Rapidsite/Apa-1.3.14 (Unix) FrontPage/4.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.5a on FreeBSD.
Re:A REAL, TRUE story - Linux64.com runs W2k/IIS (Score:2)
bummer eh?
Karma death (Score:4, Funny)
In other news, Microsoft has decided to begin an archive of all their software as part of their new
Buisnesses reacted happily to the news. "We're ecstatic" an anonymous buiness person said, "Microsoft kept giving us shit, but now we've got CMAN!".
The Linux community seemed confused at the news. Rob "CmdrTaco" Malda declared "CMAN? I've been enjoying CMAN for years! Microsoft can't just go and copyright it! This offends my nerdish sensibilities! I want my CMAN!" Malda later said that if the CMAN network was as good as the hype, he would switch to an all-Microsoft platform. "If this CMAN is really high-grade, enterprise level stuff, then I think I'll switch to a Microsoft platform."
Microsoft stock was up sharply on the news. An anonymous trader said "It was like the NASDAQ floor was covered in CMAN! Microsoft rocks my world!".
Not entirely an AF joke. CJAN is *real*. (Score:4, Informative)
This story is fake, but it did inspire me to do a Google search, which turned up CJAN: Comprehensive Java Archive Network [cjan.org]. It's not up yet (the front page is just a blog), but it's coming. Seriously.
The (Hopefully) Great April Fools Blackout (Score:4, Funny)
This easy dismissal of the value of the only providers of interesting and insightful content on Slashdot is offensive. Thus, I propose a small revolt. The (Hopefully) Great April Fools Blackout.
T(H)GAFB will be during April 1 through April 1. Easy to remember, a shitload of useless articles will be posted. During that time, I will not be enjoying posting, or reading comments from the home page.
During that day, I'd like to see if Slashdot becomes a better place, or if it becomes the Hallowed Shrine of Troll.
This is where the (Hopefully) comes in. This is only meaningful if enough agree to go along and participate. If there is only me and a handful of others who cease enjoying Slashdot during that week, it will be pretty meaningless.
And I was excited (Score:4, Insightful)
Java has a better library structure than perl, with each package being in a well defined place in the classpath. Also documentation for Java libraries tends to be better because of the javadoc comments that everybody writes. Regression tests and dependency checking for java libraries would be cool.
Luckily, there are great places to turn for java libraries even without CPAN supporting them. The Apache Project [apache.org] has many classes that I consider essential now. The Giant Java Tree [gjt.org] has thousands of open source libraries. Not to mention the stuff I've written [ostermiller.org].
Re:And I was excited (Score:2)
Fiddlesticks! Perl's namespace is far more flexible than the clumsy, bloated directory hierarchy used in Java. I just wrote my first CPAN module (not QA'd yet, no install scripts etc, so it's not uploaded yet) and it'll be something like called Net::Bookmark.pm. If it was java it would be "comp.string.app.multi.browser.plugins.bookmarks.
CPAN? D'oh. (Score:2, Funny)
"Up next, Senate Boxing! Watch as 99 year old Senator Strom Thurmond takes on 86 year old Robert Byrd! Who'll be the first to drop?"
Comment removed (Score:5, Insightful)
Re:About April fool's day and complaints on Slashd (Score:2)
But fart jokes are funny...
Curious... (Score:4, Interesting)
To add insult to injury, how many people here have submitted very intelligent, meaningful, and possibly important stories... only to have them rejected in favor of these stupid April Fools jokes. Slashdot is often referred to by many of us an intelligent and useful news source to "open source initiates" or other professionals.
Today however, like every other year, it descends into silliness. All useful content has been eliminated. Every story is an April Fools "joke" and thus, it's completely pointless because it's funny when you're tricked.
Editors, stop displacing useful content for this nonsense, please? I am sure there's lots of real stuff out there today amongst the cruft. Of course, this request will be ignored because the editors are so damn full of themselves.
I suggest everyone who got a story rejected post it as a reply to this post. Maybe we can actually get some stuff that matters.
Perl Users All Thank Sun For Their Support (Score:3, Informative)
Recently Sun donated some new hardware to make search.cpan.org [cpan.org] work a lot faster. This was covered on use Perl [perl.org].
Thanks Sun!
Microsoft does (Score:2)
I like it (Score:3, Interesting)
BTT
Some people take this site way to seriously. If you can't gat anywork done without
I can't imagine someone who needs to read every story on
Don't like Apreil Foools? fine, see you tomorrow.
man, I am too gullible (Score:2)
CJAN (Score:2)
CJAN run.
CJAN code.
CJAN run her code.
CJAN screw the Perl community.
CJAN type "APRIL FOOLS!"
CJAN laugh her butt off and disappear.
Hosted? (Score:2)
-Josh
Thankfully... (Score:2)
The joke would have been better (Score:2)
They could have had the "DISCLAIMER" link go to the original site.
greatest of all languages? (Score:2)
What has this to do with Ruby?
Re:CrapDot (Score:2)
what, are you angling for an editorial position on slashdot?
Re:CrapDot (Score:2)
Are moderators too obtuse or am I too ambiguous?
Let me elaborate so we all understand:
Re:Anyone? (Score:2)
Re:You can fry an egg on my head right now... (Score:2, Insightful)
Oh, and Java Sucks... [Of course, now we both have to decide if I'm trolling or not. By not replying (the only effective method of dealing with trolls), we can both assert that this is a troll].