I think FF2->FF3 was a smaller change than is IE7->IE8. With FF, I don't think there was a major rewrite, which is the impression I get with IE. They have more things to optimize before they get to a release candidate.
I definitely hope Microsoft doesn't continue their trend of writing slower and slower software, expecting hardware to pick up their slack.
I learned Javascript at the University of Minnesota in the web programming class. We used Python and Javascript. A friend who took the class after me used Perl and Javascript. I think they also used C? If yes, it must have been for a proxy they wrote, not CGIs:).
I remember a rather annoying person who complained that we weren't using PHP. After that, I everything he ever said annoyed me.
Javascript is not a good or popular language, just ubiquitous. Python, Perl, or Ruby would be much better suited to the task. They can easily manipulate XML and therefore DOM, and can request JSON and XML (and protobuf in the case of Python) from a server. They can do anything JS can do, but they also support OOP from the beginning (i.e. no special.js file to download) and have large libraries built in. Also, I have recently come to greatly appreciate Perl's scoping rules. Unfortunately for Python/Perl/Ruby, they don't have an equivalent of the alert() function, one of the most important functions in Javascript code. This is why you'll never see them replace Javascript in the browser.
... Linux's OpenGL hasn't evolved quite as much...
I don't know what you mean. OpenGL isn't a Linux thing; it has implementations everywhere, including Windows. Also it's not a part of Linux. The drivers from nVidia, ATI, or Intel implement the OpenGL interface. There is Mesa, an implementation in software, but that doesn't really count since it's too slow to do any good.
OpenGL isn't stagnant either. There was a new revision recently, OpenGL 3.0.
Also I started writing this a couple of hours ago but kept getting interrupted. Maybe everything has changed in that time.
You say it's not id's fault that the microphone isn't working, but I have had a lot of trouble getting their games to work with ALSA. And for that, the blame goes squarely on id.
Yeah, the title and summary were written by a total fanboy who doesn't know what end is up. HTML 5 is not finished yet, so I would like to know how this is a flaw in IE.
Apparently, there is a common belief that Ubuntu and Linux are the same. Actually, there are many types of Linux operating systems like Gentoo, Slackware, Fedora, or SUSE. So Ubuntu => Linux, but !(Linux => Ubuntu). For example, I have run into this issue (not bug) using Slackware, Gentoo, and I think also OpenBSD. My solution is easier, though: stay out of 'My Documents'.
My drive was doing that before. Actually, it was running for more than a day before I thought I should stop it and save my laptop's life. I installed XP on my desktop and tried it out and it got through the disc without a sweat.
The moral is: some drives are not good for ripping audio discs.
cdparanoia does not take advantage of the advanced drive features. Among other things, I think EAC checks CRCs. Anyway, Paranoia IV will be great when it's released. It just needs to be developed first.
I never thought the rainbow was that bad. I just don't want to see it all the time. And the image of a rainbow shooting out of a Diablo's corpse is hilarious (Aqua Teen). It reminds me, though, of Lord of the Rings (The Two Towers, I think). In the movie, Frodo and Sam are walking through the gloomy Ithilien. They see some light come down on the head from a statue, and you notice that it has a crown of flowers. It wasn't long at all before the clouds blocked the sun and the mood turned dark again. It was a glimmer of hope in the midst of despair. The same thing will work for Diablo.
Now that I see the reasons for choosing the color schemes that they did, I'm willing to cut them some slack. But I don't want to see all the colors of the rainbow at once, like you do in the outdoor scene in the middle of autumn. That is definitely a Warcraft environment, and it needs to go.
But I don't think the variable should be changing. What makes sense to me is that since the scope of t is restricted, each loop should get a new variable. This way, the lambda functions would all refer to different variables. This is how Perl works, but not JavaScript or Python. I typically haven't liked Perl, but this is doing a lot to warm me up to it.
How to make pretty code on slashdot: Formatting must be "Plain old text" (I know, it's hardcore to use the HTML option, but you cannot format your code properly). Then, enclose your code in an ecode within a tt. Last, you don't need to write & instead of &, < instead of <, etc, with ecode. It is, however, necessary when using <code> for inline code. Here's what you end up with:
int main(int argc, char **argv) {
if (argc & 1)
printf("even args\n");
else
printf("odd args\n");
return 0; }
I think this is a problem with any language with lambas. I tried my own implementation storing the indices in an array, which I can recall doing with SML. Then I tried doing this:
for (var i = 0; i < elements.length; i++) {
var t = i;
elements[i].onclick = function () { doSomething(i); }
delete t; }
But the lambda is tied not to the variable identified by 't' (a hard link), which is what any sensible lambda function would do. It instead is tied to the identifier 't' (a soft link). Total BS if you ask me. Thanks to everybody here for helping me to hate JavaScript just a little bit more. There is a way around using generators in this specific case, though:
for (var i = 0; i < elements.length; i++) {
elements[i].onclick = function () { doSomething(this.link_number); }
elements[i].link_number = i; }
First is the brace style, because this is most discussed. I use K&R style as everybody should. The whole notion of it being easier to read when braces get their own line is totally bogus. Any coder worth his salt will use consistent indentation, so all code will tend to look like this under *any* brace style:
if cond stmt-seq else stmt-seq
Any style is readable. Also, I hate scrolling up and down just so I can see the rest of my statements because the screen is filled with filler lines with nothing but braces. And what is the deal with this madness?
if cond
{ stmt-seq
} else
{ stmt-seq
}
Where is the motivation behind that? It is pushing me into crazy. I'm going to start licking my lips and doing pencil disappearing magic tricks (saw that yesterday). Also, the GNU brace style is just too complicated to enter. I use vi and sometimes notepad++ in Windows, and I can't for the life of me imagine how such a brace style could be done automatically. And even if GNU does it, Linux certainly doesn't. Personally, I am wary of any occurrences of the RMS and GNU acronyms.
As for managing horizontal space, it can depend on the language, but mostly indents should be eight column tabs and the screen is limited to 80 columns. Torvalds has a couple nice quotes I saw somewhere, but basically you're in trouble if you feel restricted by this. More than three levels of indents should be simplified into multiple functions, and really long lines are complicated to digest. An exception is Lisp or SML, where everything is an expression, and there are many many levels of nested parenthesis. I wrote a parser in SML, and I had to break down and resort to two character indents. Desperate times call for desperate measures.
Another problem is when people say that they have a widescreen monitor and they're going to use every bit of it with an 8pt font. So I have a 13" monitor: am I screwed? I'm sorry if I like my sentences and paragraphs spanning across multiple lines. The most effective way of coding anyway is to have four instances of vi on the screen at once (you use vi, right?). Sometimes I'll have the editor split so that I can be looking at two parts of the code at once. Most of the time, you're working on multiple files at once (like headers) or have man pages up anyway.
It doesn't seem like this has been discussed, but I also use the time-honored variable naming scheme of underscore-separated lowercase words. Camel case is just too hard to read, and it's inconsistent. Is it portTCP or portTcp? What the hell is Tcp? port_tcp is crazy easy. noXCoord or no_x_coord? (That's a point on one or two letter words.) For objects names, I do as Bjarne Stroustrup does in The C++ Programming Language: Capitalize the first letter, but do the same underscore style: Coca_cola_classic. That style I use mostly because whatever Stroustrup says or does in terms of C++ should be taken as gospel. An exception is anything you deem worthy of being a basic abstract type, like complex or hash.
comments shouldn't show up after anything but indentation on a line. The only exception is that it can be a short note about a variable. For example, you might want to write something like this:
struct range {
size_t start;
size_t end;/* noninclusive */ };
Otherwise you have a whole line for a comment, and maybe a line before that to separate it from the previous declaration.
gcc still is the default. pcc isn't ready yet, and I don't expect it to be for at least a couple years, and I say that with zero confidence (I'm just an OpenBSD user; I have no idea how the progress is going on pcc).
Well, they're not checking yacc for bugs for the hell of it. They're reimplementing malloc to be more efficient, but it broke buggy code. Is there any other option than to fix yacc?
That will probably take a very long time. I use something called emwrap. The latest version is here. It will rebuild the toolchain, system, and world all safely and optimally.
Though usually when I update profiles, I just do the 'eselect profile...', and 'emerge -DNav world'. I haven't had a problem doing that in three years (I don't think).
I installed Gentoo on my Vaio S460. You guys want to read about that? Or how about the time that I installed OpenBSD on my desktop? I know, it's amazing the way operating systems can be installed on computers.
It sucks in OpenBSD, too. It's no fun building it since it requires you to find all the files off of four different websites, install kaffe (itself taking a long time), and then wait through the lengthy build. That's for 1.5. If you want to install 1.6, you need 1.5 installed to compile it. Pre-built packages and more liberal licensing would be a good thing. There are probably some people or companies out there who aren't using BSD because of the lack of Java support.
I also use Gentoo, and on older versions we had to get the files manually. Now only the dated jdk-1.4 requires you to find the files manually.
How about DejaVu? I especially love the fixed width and use it for my terminal (urxvt), gvim, and the fixed width font in my browser (so I'm looking at it right now).
I tend to agree. I started with Slackware, and it taught me most everything I know. Wait a minute... don't use Slackware. (Just kidding on that last part.) If you were more experienced, I would recommend Gentoo to roll your own distro, since it's easy to just install only what you need. Besides, the install process was pretty fun. Too bad I never had to reinstall it in the last three years (I know, right?). I remember trying to install a links+ package in Ubuntu without an internet connection and it was trying to pull in X =very annoying. I also hate the way that Ubuntu doesn't include a compiler in the default install. I don't understand how a unix-like distribution could come without a compiler in the default install. My opinion is that Ubuntu (probably also Suse and Fedora) is not meant for developers like myself, or you (poster of article) for that matter.
'It's like, how much more black could this be? and the answer is none. None more black.' -This is Spinal Tap
I think FF2->FF3 was a smaller change than is IE7->IE8. With FF, I don't think there was a major rewrite, which is the impression I get with IE. They have more things to optimize before they get to a release candidate.
I definitely hope Microsoft doesn't continue their trend of writing slower and slower software, expecting hardware to pick up their slack.
MIT licensed, too. Awesome.
Twas a joke.
I learned Javascript at the University of Minnesota in the web programming class. We used Python and Javascript. A friend who took the class after me used Perl and Javascript. I think they also used C? If yes, it must have been for a proxy they wrote, not CGIs :).
I remember a rather annoying person who complained that we weren't using PHP. After that, I everything he ever said annoyed me.
Javascript is not a good or popular language, just ubiquitous. Python, Perl, or Ruby would be much better suited to the task. They can easily manipulate XML and therefore DOM, and can request JSON and XML (and protobuf in the case of Python) from a server. They can do anything JS can do, but they also support OOP from the beginning (i.e. no special .js file to download) and have large libraries built in. Also, I have recently come to greatly appreciate Perl's scoping rules. Unfortunately for Python/Perl/Ruby, they don't have an equivalent of the alert() function, one of the most important functions in Javascript code. This is why you'll never see them replace Javascript in the browser.
... Linux's OpenGL hasn't evolved quite as much ...
I don't know what you mean. OpenGL isn't a Linux thing; it has implementations everywhere, including Windows. Also it's not a part of Linux. The drivers from nVidia, ATI, or Intel implement the OpenGL interface. There is Mesa, an implementation in software, but that doesn't really count since it's too slow to do any good.
OpenGL isn't stagnant either. There was a new revision recently, OpenGL 3.0.
Also I started writing this a couple of hours ago but kept getting interrupted. Maybe everything has changed in that time.
You say it's not id's fault that the microphone isn't working, but I have had a lot of trouble getting their games to work with ALSA. And for that, the blame goes squarely on id.
Yeah, the title and summary were written by a total fanboy who doesn't know what end is up. HTML 5 is not finished yet, so I would like to know how this is a flaw in IE.
Apparently, there is a common belief that Ubuntu and Linux are the same. Actually, there are many types of Linux operating systems like Gentoo, Slackware, Fedora, or SUSE. So Ubuntu => Linux, but !(Linux => Ubuntu). For example, I have run into this issue (not bug) using Slackware, Gentoo, and I think also OpenBSD. My solution is easier, though: stay out of 'My Documents'.
My drive was doing that before. Actually, it was running for more than a day before I thought I should stop it and save my laptop's life. I installed XP on my desktop and tried it out and it got through the disc without a sweat.
The moral is: some drives are not good for ripping audio discs.
cdparanoia does not take advantage of the advanced drive features. Among other things, I think EAC checks CRCs. Anyway, Paranoia IV will be great when it's released. It just needs to be developed first.
I never thought the rainbow was that bad. I just don't want to see it all the time. And the image of a rainbow shooting out of a Diablo's corpse is hilarious (Aqua Teen). It reminds me, though, of Lord of the Rings (The Two Towers, I think). In the movie, Frodo and Sam are walking through the gloomy Ithilien. They see some light come down on the head from a statue, and you notice that it has a crown of flowers. It wasn't long at all before the clouds blocked the sun and the mood turned dark again. It was a glimmer of hope in the midst of despair. The same thing will work for Diablo.
Now that I see the reasons for choosing the color schemes that they did, I'm willing to cut them some slack. But I don't want to see all the colors of the rainbow at once, like you do in the outdoor scene in the middle of autumn. That is definitely a Warcraft environment, and it needs to go.
But I don't think the variable should be changing. What makes sense to me is that since the scope of t is restricted, each loop should get a new variable. This way, the lambda functions would all refer to different variables. This is how Perl works, but not JavaScript or Python. I typically haven't liked Perl, but this is doing a lot to warm me up to it.
How to make pretty code on slashdot: Formatting must be "Plain old text" (I know, it's hardcore to use the HTML option, but you cannot format your code properly). Then, enclose your code in an ecode within a tt. Last, you don't need to write & instead of &, < instead of <, etc, with ecode. It is, however, necessary when using <code> for inline code. Here's what you end up with:
I think this is a problem with any language with lambas. I tried my own implementation storing the indices in an array, which I can recall doing with SML. Then I tried doing this:
But the lambda is tied not to the variable identified by 't' (a hard link), which is what any sensible lambda function would do. It instead is tied to the identifier 't' (a soft link). Total BS if you ask me. Thanks to everybody here for helping me to hate JavaScript just a little bit more. There is a way around using generators in this specific case, though:
What can I say about that suit that hasn't already been said about Afghanistan? It looks bombed out and depleted. (Playa Hater's Ball)
int multiply(int a, int b)
{
int x = 0;
switch (a) {
case 2: x += b;
case 1: x += b;
case 0: x += b;
}
}
Still copy and pasting, but the code is simpler, easier to c+p, and more efficient. Isn't it just beautiful? :)
First is the brace style, because this is most discussed. I use K&R style as everybody should. The whole notion of it being easier to read when braces get their own line is totally bogus. Any coder worth his salt will use consistent indentation, so all code will tend to look like this under *any* brace style:
if cond
stmt-seq
else
stmt-seq
Any style is readable. Also, I hate scrolling up and down just so I can see the rest of my statements because the screen is filled with filler lines with nothing but braces. And what is the deal with this madness?
if cond
{
stmt-seq
}
else
{
stmt-seq
}
Where is the motivation behind that? It is pushing me into crazy. I'm going to start licking my lips and doing pencil disappearing magic tricks (saw that yesterday). Also, the GNU brace style is just too complicated to enter. I use vi and sometimes notepad++ in Windows, and I can't for the life of me imagine how such a brace style could be done automatically. And even if GNU does it, Linux certainly doesn't. Personally, I am wary of any occurrences of the RMS and GNU acronyms.
As for managing horizontal space, it can depend on the language, but mostly indents should be eight column tabs and the screen is limited to 80 columns. Torvalds has a couple nice quotes I saw somewhere, but basically you're in trouble if you feel restricted by this. More than three levels of indents should be simplified into multiple functions, and really long lines are complicated to digest. An exception is Lisp or SML, where everything is an expression, and there are many many levels of nested parenthesis. I wrote a parser in SML, and I had to break down and resort to two character indents. Desperate times call for desperate measures.
Another problem is when people say that they have a widescreen monitor and they're going to use every bit of it with an 8pt font. So I have a 13" monitor: am I screwed? I'm sorry if I like my sentences and paragraphs spanning across multiple lines. The most effective way of coding anyway is to have four instances of vi on the screen at once (you use vi, right?). Sometimes I'll have the editor split so that I can be looking at two parts of the code at once. Most of the time, you're working on multiple files at once (like headers) or have man pages up anyway.
It doesn't seem like this has been discussed, but I also use the time-honored variable naming scheme of underscore-separated lowercase words. Camel case is just too hard to read, and it's inconsistent. Is it portTCP or portTcp? What the hell is Tcp? port_tcp is crazy easy. noXCoord or no_x_coord? (That's a point on one or two letter words.) For objects names, I do as Bjarne Stroustrup does in The C++ Programming Language: Capitalize the first letter, but do the same underscore style: Coca_cola_classic. That style I use mostly because whatever Stroustrup says or does in terms of C++ should be taken as gospel. An exception is anything you deem worthy of being a basic abstract type, like complex or hash.
comments shouldn't show up after anything but indentation on a line. The only exception is that it can be a short note about a variable. For example, you might want to write something like this:
struct range { /* noninclusive */
size_t start;
size_t end;
};
Otherwise you have a whole line for a comment, and maybe a line before that to separate it from the previous declaration.
gcc still is the default. pcc isn't ready yet, and I don't expect it to be for at least a couple years, and I say that with zero confidence (I'm just an OpenBSD user; I have no idea how the progress is going on pcc).
Well, they're not checking yacc for bugs for the hell of it. They're reimplementing malloc to be more efficient, but it broke buggy code. Is there any other option than to fix yacc?
That will probably take a very long time. I use something called emwrap. The latest version is here. It will rebuild the toolchain, system, and world all safely and optimally.
Though usually when I update profiles, I just do the 'eselect profile ...', and 'emerge -DNav world'. I haven't had a problem doing that in three years (I don't think).
I think it's a joke (hopefully). The ebuilds use bourne shell syntax.
I installed Gentoo on my Vaio S460. You guys want to read about that? Or how about the time that I installed OpenBSD on my desktop? I know, it's amazing the way operating systems can be installed on computers.
It sucks in OpenBSD, too. It's no fun building it since it requires you to find all the files off of four different websites, install kaffe (itself taking a long time), and then wait through the lengthy build. That's for 1.5. If you want to install 1.6, you need 1.5 installed to compile it. Pre-built packages and more liberal licensing would be a good thing. There are probably some people or companies out there who aren't using BSD because of the lack of Java support.
I also use Gentoo, and on older versions we had to get the files manually. Now only the dated jdk-1.4 requires you to find the files manually.
How about DejaVu? I especially love the fixed width and use it for my terminal (urxvt), gvim, and the fixed width font in my browser (so I'm looking at it right now).
I tend to agree. I started with Slackware, and it taught me most everything I know. Wait a minute ... don't use Slackware. (Just kidding on that last part.) If you were more experienced, I would recommend Gentoo to roll your own distro, since it's easy to just install only what you need. Besides, the install process was pretty fun. Too bad I never had to reinstall it in the last three years (I know, right?). I remember trying to install a links+ package in Ubuntu without an internet connection and it was trying to pull in X =very annoying. I also hate the way that Ubuntu doesn't include a compiler in the default install. I don't understand how a unix-like distribution could come without a compiler in the default install. My opinion is that Ubuntu (probably also Suse and Fedora) is not meant for developers like myself, or you (poster of article) for that matter.