Its nice to see kernel develoment moving forward. Too bad ATI doesn't update their drivers with each kernel release. There's a couple cool features floating around since 2.4.18, but I don't get to use them.
I wish video card manufactures would keep uptodate with their drivers. This is probably my biggest bummer of linux. Oh-well. I can always use the open source drivers, just no decent 3d acceleration.
I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design:-) (Andrew Tanenbaum to Linus Torvalds)
I can't even count how many educational institutions use QBASIC to teach programming.
Maybe if the schools were better you could count them.:-P
It might be better to pick up a language that is more commonly used though. For instance C would be a decent language. Once you learn the simple IO libraries you can do some fun stuff. You can then learn about all the basics of programming like flow control, functions and such.
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.
-- Edsgar W. Dijkstra
Re:Why can't I get Java working on my RH8 box?
on
Sun's Last Stand
·
· Score: 1
Hmmm, you have some serious issues.
Try this.
Download the sun sdk/jre that you want. It will have the extension of.bin.
% sh j2se-sdk1.4.01_03.bin
Accept all the license agreements.
Then, to get is working in mozilla just go to the mozilla plugins directory and do:
Um, from what I have heard, they actually break even on subscriptions/ad impressions. That might be a nice thing to clarify though.
My point was that I put more load on their servers by reloading the page more often now that I know something is coming soon, instead of just reloading every hour or two.
That and you figure they are also sending a couple more bytes per page serve than if they did not have that line there.
Is it cost beneficial for them to do that? Do they A) make more money from subscriptions than ad impressions? B) do more people sign up for subscriptions because of the "nag" than the loss of sending a few extra bytes of data and since people already know they can subscribe yet have chosen not to, is the "nag" effective?
Ah, I won't make it either. But, what I would really like to have asked is this:
Is it possible to remove the "If you subscribed you could see the story that is already posted, but won't be here for a few more minutes."
I don't mind that there is a story posted, but its just taking up space on my screen and is just a pain in the butt to see ever few minutes. If you need a good reason to remove it, I reload the page more often when I see that knowing there is another story coming. Otherwise I might reload the page ever hour or so.
1.) Why do any negative slashdot comments automatically get nailed with a moderation of -1 redundant or overrated?
See #2 I think. Basically editors have unlimited mod points. Usually "slashdot sucks" comments have no content.
2.) If you want a moderation system that is open to the public why the hell do you let editors have unlimited mod points?
This is covered in the faq. Try reading it. Basically for this its because they don't want to have folks waste their mod points on goatse.cx trolls. They want folks to use their mod points on +1 moderations.
3.) Why can't we edit comments after posting (and have it posted in the subject (chg'd) or something like that)?
This is covered in the faq. Try reading it. There is a preview button and all. Try proofing your own comments before you make them public by hitting submit.
4.) Is there a plan to have "staff meetings" or something of that nature to try and prevent dupes and maybe having some articles with more content.
I would doubt they have too many get togethers. I don't think all the editors even live in the same state at this point. I would highly doubt that they don't discuss things through email though. And isn't this irc session kind of like that. They want to talk about what works and what doesn't.
5.) Besides book reviews and the Late Jon Katz it seems the "read more" link is pretty much useless, is slashdot ever going to have some type of "meat" to their content?
You are looking for a news site, not a news gathering and discussion site. Try elseware.
6.) Google has no legal recourse for caching, why don't you do it?
This is covered in the faq. Try reading it. Even then google has had issues with caching. Folks have complained and filed lawsuits.
7.) Ever thought about contacting link'd site administrators before killing their servers by a front page story and then getting charged for bandwidth?
This is covered in the faq. Try reading it. Here on the Internet, when you provide a service on port 80, you should expect hits. You deal with it. If you never intended on folks viewing it, put some sort of security around it.
8.) Most websites go through a "layout" change every couple of years, the "slashdot style" has been pretty much worn out, especially with not being w3c compliant, any changes in the future?
The layout works. I can't stand other sites that change their layout every two months. I know where to find stuff here, it is in a logical orderly fashion. W3C compliant would be nice, that is a goal slashcode should aim for. However, like any other OS project, get off your lazy butt and do something about it.
9.) Ever thought about publishing all stories in a public bin where the users decide what makes the front page? Like when an article gets 100 "post points" it is then sent to the front page where it's live and ready for commenting on?
Goto Kuro5hin.org.
10.) Have any of you ever thought about maybe bringing on some "professional" journalism type people? Someone who knows how to write the news and doesn't abuse the editor function as a place to put comments (michael comes to mind).
You know, I'm not a big michael or timothy fan either, but I still read the articles they post when they look interesting. If you don't like the style, go elseware or make your own very popular site.
11.) You all ever think maybe this is getting a little old and it's time to get out?
You think you spend too much time harping on things? Maybe its time you stopped? Linux codes in the kernel cause its fun. Taco and Hemos do slashdot cause its fun for them. If reading slashdot is not fun for you, stop.
Maybe I'm being hard on you by saying you should leave, but nothing in your post seems to indicate that you appreciate this site. Not a thank you for putting up a great site that is fun to read. Not a thank you for allowing me to be an inconsiderate ingrate.
Personally I find slashdot a fun site to visit for news links and discussion, even if most the folks here are idiots and trolls.
Maybe it'd be nice to see Grimtongue throwing the crystal ball (brain fart on the name of it) down at Gandalf. I know the ents weren't there then, but they might be hanging out there now.
I wish they'd voice over the ents before they attacked Isengard. It'd be nice to have them make the "right" choice right off the bat, instead of being stupid.
Do you really think that is worth creating a function? I don't think so. Especially if you are going to document it./*
* And input against executable bit mask.
* x is an input bitfield
* returns non zero if input is executable
*/ int is_executable(int x) {
return x & 0x01; }
Nope, not worth it in my book. You cannot rely on your compiler to optimize it out. It'd be nice to assume every compiler will, but you simpley cannot know for sure it will. Some embeded compilers are not upto snuff with icc or gcc. Sure, you can specify "inline" however just as with the "register" keyword it is only a hint to the compiler.
I love it when I see folks marked as foe and then find this kind of crap, its reassuring.
There is a certain level of competance you need to function in society. While its a nice idea to make learning fun, some things just simpley will never be fun for everyone. While I serously detest many forms of math, I trudged through the required courses to get my degree. Was it fun, no. Is there a way to make calculus fun? I would seriously doubt it. Is there a way to make calculus fun for everyone, I wouldn't bet your life on it.
The point being is that schooling is not going to be fun, but it is an investment. First by the society (public pre-college) to assure a certain level of competance, second by the individual at any level beyond pre-college to extend ones ability. Like any investment you restrict yourself now, to have more fun later. If you can make it fun until later too, bonus.
Making it an authority issue is a false claim here. You are trying to change the issue. Learning is required to function within society, simple. If you have authority issues, you choose not to function within society, as police have authority over you, the government has authority over you, your parents (until 18ish) have authority over you, and your teachers also. Do you refuse to pay taxes because you don't want to? Do you break laws because you don't want to follow them? Do you tell your parents to go lay an egg any time they tell you to do something? Why then do you refuse to learn under an authoritive education system?
Sure, some folks learn differently than others, but that does not mean that education is authority oriented.
Please re-read the original post I was replying to and the one I wrote. Thanks.
I personally do like the macro capability of C. I think it is a useful tool for putting common code in places where a function is overkill. Like doing a bitwise operation, such as in fcntl.h (if memory serves) for checking read/write permissions on files.
Re:Strange, I've been arguing about this all day .
on
Why Java Won't Have Macros
·
· Score: 4, Interesting
Programming languages are similar to spoken/written language, they are meant to convey an idea. In programming the ideas are instructions to the computer and to someone maintaining the code. For each language there are pedantic ways of doing things, usually from tradition or common ideas.
In C when you are writing and infinite loop for a server, the standard way to do it is
for (;;) {
if ((acceptfd = accept(...)) < 0) {/* handle errors here */
}
if ((pid = fork()) < 0) {/* handle errors here */
}
There are two very common C practices used in this. The first is the for (;;) {}. This is the standard way to do it because there is no comparison ever used within the loop, where a while (1) {} would seem to do the same thing it does have a comparison. Well, now it wouldn't matter since the compiler would optimize the loop anyways since the '1' is a constant, older compilers or non-optimizing compilers would not catch that though.
The second practice is the if ((x = f()) < 0) {}. This arises more out of tradition. It gets the return value of a system call and allows the error handling to be done immediately. It also helps keep the indenting level from running away.
Ammusingly enough in Java with JCSC I find that it gives warnings saying it is bad style. I would guess that it would prefer
try {
int acceptfd = accept();// non error condition here } catch (Exception e) {// handle accept error here } finally {// no matter error or not here }
From a C background I find this abhorrent. Look at the level of indentation required! Evil!
Well, what does that have to do with #define or ||? Tradition. C programmers are used to seeing "||" as an "or". There is no keyword "until". If a C developer is hired new into the place he will have to learn the idiosyncracies that this place uses.
Specific arguments against using macros to extend the language are that you are in effect adding keywords to the language. In effect "or", "and", "is" and "until" are now keywords in C. Since these are not part of the language normally, any code that uses any of those as a variable will now have issues.
Well, who would use "or", "and", "is" as a variable name? Well, look at the linux kernel code and you will find that "new" is used occasionally, which causes the kernel to not be able to be compiled with a C++ compiler. I would also argue that "or" could easily mean outputReport and "is" quite often means inputStream to me.
By using this "or", "and", "is" nonsense you are also leaving out the possiblity of using similar ideas for bit fields. You could use "xor", but you would need a "bor" for bitwise or'ing of a field.
Basically what I see by using the macros here is that you are limiting yourself to a number of poor programming practices. When you use these you will be confusing real programmers and potentially inserting errors into the code. In C "||" is well defined and any C programmer is able to understand it. "or" on the other hand is ambigious to C programmers since it is not part of the programming language.
Its nice to see kernel develoment moving forward. Too bad ATI doesn't update their drivers with each kernel release. There's a couple cool features floating around since 2.4.18, but I don't get to use them.
I wish video card manufactures would keep uptodate with their drivers. This is probably my biggest bummer of linux. Oh-well. I can always use the open source drivers, just no decent 3d acceleration.
This is going to be even worse then. :-)
:-)
I still maintain the point that designing a monolithic kernel in 1991 is a fundamental error. Be thankful you are not my student. You would not get a high grade for such a design
(Andrew Tanenbaum to Linus Torvalds)
I can't even count how many educational institutions use QBASIC to teach programming.
:-P
Maybe if the schools were better you could count them.
It might be better to pick up a language that is more commonly used though. For instance C would be a decent language. Once you learn the simple IO libraries you can do some fun stuff. You can then learn about all the basics of programming like flow control, functions and such.
Well, yeah! Ofcourse QBASIC is for Dummies.
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.
-- Edsgar W. Dijkstra
Hmmm, you have some serious issues.
.bin.
/opt/j2se-sdk1.4.01_03/jre/plugins/ns6/libsomethin g.so
Try this.
Download the sun sdk/jre that you want. It will have the extension of
% sh j2se-sdk1.4.01_03.bin
Accept all the license agreements.
Then, to get is working in mozilla just go to the mozilla plugins directory and do:
% ln -s
This is from memory, but it seriously only takes reading the documentation. Its not terribley difficult. Otherwise this is a hedrat problem.
Somewhere Old Yeller's master feels justified.
No, there is a Santa Claus, and he seems pretty evil.
Check out this documentary here.
Yep. Good call. :-) Thanks.
sic
Check the second definition supplied. Is this making more sense to you?
You know when you take your index finger and thumb and look at something pretty far away. Then you squish them till they touch.
I think someone was doing that at the end of the telescope.
Heck, at only 12 megs for a download of mozilla, maybe we should incorporate this "feature" into mozilla. Whats a couple hundred more meg right? :-)
</sillyness>
This was posted by mozilla, don't worry about modding me down for teasing the browser.
Um, from what I have heard, they actually break even on subscriptions/ad impressions. That might be a nice thing to clarify though.
My point was that I put more load on their servers by reloading the page more often now that I know something is coming soon, instead of just reloading every hour or two.
That and you figure they are also sending a couple more bytes per page serve than if they did not have that line there.
Is it cost beneficial for them to do that? Do they A) make more money from subscriptions than ad impressions? B) do more people sign up for subscriptions because of the "nag" than the loss of sending a few extra bytes of data and since people already know they can subscribe yet have chosen not to, is the "nag" effective?
Ah, I won't make it either. But, what I would really like to have asked is this:
Is it possible to remove the "If you subscribed you could see the story that is already posted, but won't be here for a few more minutes."
I don't mind that there is a story posted, but its just taking up space on my screen and is just a pain in the butt to see ever few minutes. If you need a good reason to remove it, I reload the page more often when I see that knowing there is another story coming. Otherwise I might reload the page ever hour or so.
1.) Why do any negative slashdot comments automatically get nailed with a moderation of -1 redundant or overrated?
See #2 I think. Basically editors have unlimited mod points. Usually "slashdot sucks" comments have no content.
2.) If you want a moderation system that is open to the public why the hell do you let editors have unlimited mod points?
This is covered in the faq. Try reading it. Basically for this its because they don't want to have folks waste their mod points on goatse.cx trolls. They want folks to use their mod points on +1 moderations.
3.) Why can't we edit comments after posting (and have it posted in the subject (chg'd) or something like that)?
This is covered in the faq. Try reading it. There is a preview button and all. Try proofing your own comments before you make them public by hitting submit.
4.) Is there a plan to have "staff meetings" or something of that nature to try and prevent dupes and maybe having some articles with more content.
I would doubt they have too many get togethers. I don't think all the editors even live in the same state at this point. I would highly doubt that they don't discuss things through email though. And isn't this irc session kind of like that. They want to talk about what works and what doesn't.
5.) Besides book reviews and the Late Jon Katz it seems the "read more" link is pretty much useless, is slashdot ever going to have some type of "meat" to their content?
You are looking for a news site, not a news gathering and discussion site. Try elseware.
6.) Google has no legal recourse for caching, why don't you do it?
This is covered in the faq. Try reading it. Even then google has had issues with caching. Folks have complained and filed lawsuits.
7.) Ever thought about contacting link'd site administrators before killing their servers by a front page story and then getting charged for bandwidth?
This is covered in the faq. Try reading it. Here on the Internet, when you provide a service on port 80, you should expect hits. You deal with it. If you never intended on folks viewing it, put some sort of security around it.
8.) Most websites go through a "layout" change every couple of years, the "slashdot style" has been pretty much worn out, especially with not being w3c compliant, any changes in the future?
The layout works. I can't stand other sites that change their layout every two months. I know where to find stuff here, it is in a logical orderly fashion. W3C compliant would be nice, that is a goal slashcode should aim for. However, like any other OS project, get off your lazy butt and do something about it.
9.) Ever thought about publishing all stories in a public bin where the users decide what makes the front page? Like when an article gets 100 "post points" it is then sent to the front page where it's live and ready for commenting on?
Goto Kuro5hin.org.
10.) Have any of you ever thought about maybe bringing on some "professional" journalism type people? Someone who knows how to write the news and doesn't abuse the editor function as a place to put comments (michael comes to mind).
You know, I'm not a big michael or timothy fan either, but I still read the articles they post when they look interesting. If you don't like the style, go elseware or make your own very popular site.
11.) You all ever think maybe this is getting a little old and it's time to get out?
You think you spend too much time harping on things? Maybe its time you stopped? Linux codes in the kernel cause its fun. Taco and Hemos do slashdot cause its fun for them. If reading slashdot is not fun for you, stop.
Maybe I'm being hard on you by saying you should leave, but nothing in your post seems to indicate that you appreciate this site. Not a thank you for putting up a great site that is fun to read. Not a thank you for allowing me to be an inconsiderate ingrate.
Personally I find slashdot a fun site to visit for news links and discussion, even if most the folks here are idiots and trolls.
Maybe it'd be nice to see Grimtongue throwing the crystal ball (brain fart on the name of it) down at Gandalf. I know the ents weren't there then, but they might be hanging out there now.
I wish they'd voice over the ents before they attacked Isengard. It'd be nice to have them make the "right" choice right off the bat, instead of being stupid.
#define IS_EXECUTABLE(x) x&0x01
/*
Do you really think that is worth creating a function? I don't think so. Especially if you are going to document it.
* And input against executable bit mask.
* x is an input bitfield
* returns non zero if input is executable
*/
int is_executable(int x)
{
return x & 0x01;
}
Nope, not worth it in my book. You cannot rely on your compiler to optimize it out. It'd be nice to assume every compiler will, but you simpley cannot know for sure it will. Some embeded compilers are not upto snuff with icc or gcc. Sure, you can specify "inline" however just as with the "register" keyword it is only a hint to the compiler.
I love it when I see folks marked as foe and then find this kind of crap, its reassuring.
There is a certain level of competance you need to function in society. While its a nice idea to make learning fun, some things just simpley will never be fun for everyone. While I serously detest many forms of math, I trudged through the required courses to get my degree. Was it fun, no. Is there a way to make calculus fun? I would seriously doubt it. Is there a way to make calculus fun for everyone, I wouldn't bet your life on it.
The point being is that schooling is not going to be fun, but it is an investment. First by the society (public pre-college) to assure a certain level of competance, second by the individual at any level beyond pre-college to extend ones ability. Like any investment you restrict yourself now, to have more fun later. If you can make it fun until later too, bonus.
Making it an authority issue is a false claim here. You are trying to change the issue. Learning is required to function within society, simple. If you have authority issues, you choose not to function within society, as police have authority over you, the government has authority over you, your parents (until 18ish) have authority over you, and your teachers also. Do you refuse to pay taxes because you don't want to? Do you break laws because you don't want to follow them? Do you tell your parents to go lay an egg any time they tell you to do something? Why then do you refuse to learn under an authoritive education system?
Sure, some folks learn differently than others, but that does not mean that education is authority oriented.
No problem... try at +2 or +3. And set to ignore karma bonuses. Usually the s/n ratio is adequate at that level.
Whoa, deja vu.
Well, in the first one anyways.
Everyone knows Jedi isn't a divine religon. Its a miclorian infection for something.
One would think the Egyptians would love the movie. Seeing how Zion gets wiped out. Isn't that what they all want?
</sarcasm amount="justalittle">
Please re-read the original post I was replying to and the one I wrote. Thanks.
I personally do like the macro capability of C. I think it is a useful tool for putting common code in places where a function is overkill. Like doing a bitwise operation, such as in fcntl.h (if memory serves) for checking read/write permissions on files.
Programming languages are similar to spoken/written language, they are meant to convey an idea. In programming the ideas are instructions to the computer and to someone maintaining the code. For each language there are pedantic ways of doing things, usually from tradition or common ideas.
/* handle errors here */
/* handle errors here */
/* parent */ /* child */
// non error condition here // handle accept error here // no matter error or not here
In C when you are writing and infinite loop for a server, the standard way to do it is
for (;;) {
if ((acceptfd = accept(...)) < 0) {
}
if ((pid = fork()) < 0) {
}
if (pid == 0) {
} else {
}
}
There are two very common C practices used in this. The first is the for (;;) {}. This is the standard way to do it because there is no comparison ever used within the loop, where a while (1) {} would seem to do the same thing it does have a comparison. Well, now it wouldn't matter since the compiler would optimize the loop anyways since the '1' is a constant, older compilers or non-optimizing compilers would not catch that though.
The second practice is the if ((x = f()) < 0) {}. This arises more out of tradition. It gets the return value of a system call and allows the error handling to be done immediately. It also helps keep the indenting level from running away.
Ammusingly enough in Java with JCSC I find that it gives warnings saying it is bad style. I would guess that it would prefer
try {
int acceptfd = accept();
} catch (Exception e) {
} finally {
}
From a C background I find this abhorrent. Look at the level of indentation required! Evil!
Well, what does that have to do with #define or ||? Tradition. C programmers are used to seeing "||" as an "or". There is no keyword "until". If a C developer is hired new into the place he will have to learn the idiosyncracies that this place uses.
Specific arguments against using macros to extend the language are that you are in effect adding keywords to the language. In effect "or", "and", "is" and "until" are now keywords in C. Since these are not part of the language normally, any code that uses any of those as a variable will now have issues.
Well, who would use "or", "and", "is" as a variable name? Well, look at the linux kernel code and you will find that "new" is used occasionally, which causes the kernel to not be able to be compiled with a C++ compiler. I would also argue that "or" could easily mean outputReport and "is" quite often means inputStream to me.
By using this "or", "and", "is" nonsense you are also leaving out the possiblity of using similar ideas for bit fields. You could use "xor", but you would need a "bor" for bitwise or'ing of a field.
Basically what I see by using the macros here is that you are limiting yourself to a number of poor programming practices. When you use these you will be confusing real programmers and potentially inserting errors into the code. In C "||" is well defined and any C programmer is able to understand it. "or" on the other hand is ambigious to C programmers since it is not part of the programming language.
Whoa bud... drive by shootings?
Stop reading at -1.