?

Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Windows 2000 ... *sigh* [Nov. 29th, 2000|11:49 am]
Brad Fitzpatrick
[Tags|, , ]

It seems that the more I use Windows 2000, the more I hate it. Same with anything, actually.... the more I learn about Linux, Perl, web programming, MySQL ... hate them all. Come to think of it, there's very few implementations of anything that I really like.

Anyway, today's win2k silliness: I'm on a machine at school right now, a P3-766 or something, with 256 MB of ram... normally these machines fly, almost as fast as my win2k machine at home. Right now it's chugging along slower than a 486 with 16 mb of ram running win98. My keystrokes are delayed by a couple seconds as I type this. I check task manager and winlogon.exe is taking 99% CPU. I can't kill it because "This is a critical system process. Task Manager cannot end this process." Stupid Windows.

When will Microsoft make a reliable operating system?
LinkReply

Comments:
[User Picture]From: bradfitz
2000-11-29 02:29 pm (UTC)
If you don't like Linux, fix it.

There isn't one thing broken with Linux that can be indentified and fixed. It's the lack of policy and consistency amongst all the subsystems that make up a Linux box. Because all those pieces are ancient and written each with different design goals and philosophies. There's no coherence. Each program has its own config file, different way to daemonize it, different logging mechanism, etc... It's sick. And nobody's in a position to set policy because everybody likes doing stuff their own way. There's no good solution.

I still love Linux more than I hate it. I'm just complaining.

If you don't like PERL, use C. (not C++)

I love Perl. I just recognize that many aspects of the language are sick and wrong. I use them, but I know I shouldn't.... there are languages that implement the same things cleaner. (use pragma fields... wtf? why not a struct?) I actually like C++, but that too is sick. Java's cool. Python looks promising.

And if you don't like MySQL, realize that it's
much better than paying homage to Oracle,


I'm going to start playing with PostgreSQL more... I've heard it's making progress.
(Reply) (Parent) (Thread)
[User Picture]From: ekashp
2000-11-29 02:38 pm (UTC)
Java is only cool until you start hitting it hard in a production evironment. Remeber your rant from a little while ago about CPU utilization ? Java is a good excuse for faster CPUs, I've seen it eat Sun Ultras for lunch, and they're supposed to be the preferred platform. I'd much rather have binaries from good portable C code.
(Reply) (Parent) (Thread)
From: ex_ff928
2000-11-29 11:35 pm (UTC)

Java

Being a systems programmer, you'd rarely find me rush to the defense of a Java solution. However, I think that a distinction should be drawn between Java as a language, and Java as an implementation.

As a language, Java has got object orientation right. I'd use it if I had to write a lot of OOP programs (too heavy on the heap for my kind of work), and if it allowed me to dabble in pointer arithmetic. It's done away with C++'s terrible multiple inheritance nonsense, and has proposed an elegant and scalable model of single inheritance with interface implementations.

As an implementation, the JVM is absolutely terrible. But in some bizarre way, you get exactly what you're expecting, given that it's a virtual machine by definition. If you have hardware to throw at it, need to use a true OOP language, and your focus is on the rapidity of development, and cleanliness of your codebase, use Java. For speed and performance, don't.

After all, it's all about picking the right tools for the job...
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-11-29 11:42 pm (UTC)

Re: Java

I agree with you completely.

Java the language, the platform, the JVM, and the security model are all different. So many people like to confuse them and blame one of their shortcomings on the others.

I've been talking about rewriting LiveJournal in Java, if I can get it fast enough. I've been meaning to play with gcj ... I'm wondering how fast the binaries can get. Python's also a possibility .... I'd like to preserve all my Perl code (which is actually very clean, for perl), but mod_perl and the Perl object system is just too ugly. I've written a few Perl classes for livejournal and it's just ugly looking. I'd also like to get a little lower-level than Perl often times, and I think Java would be a happy medium.... I don't want to go to C++. As a bonus with Java, if third parties want to license the system, I could provide them with just the class files.

All right... I'm rambling.
(Reply) (Parent) (Thread)
[User Picture]From: seadawg
2000-11-29 03:01 pm (UTC)

PHP

Have you ever thought of using PHP instead of Perl? I've been trying to decide which is "better": PHP or Perl? They both are a lot alike, can do quite a bit, and can be pretty fast. Right now I only use Perl because of BML. I can't decide though... some people swear by Perl and others swear by PHP... ohh the dilemmas... what do you think?
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-11-29 03:03 pm (UTC)

Re: PHP

PHP's unsuitable for any project as far as I'm concerned because any non-web based code that I need to write to maintain the site (for LJ, there is a lot) would have to use a different library of functions, since PHP can't run offline.

Or maybe it can, but in a hackish sort of way if it does.
(Reply) (Parent) (Thread)
[User Picture]From: seadawg
2000-11-29 03:07 pm (UTC)

Re: PHP

hehe... running a cron job using wget "localhost/maintience.php" would be rather lame, so I guess that is true. :)
(Reply) (Parent) (Thread)
[User Picture]From: whitaker
2000-11-29 10:33 pm (UTC)

Re: PHP

i've seen web sites that do that... i'm just like, WTF?
(Reply) (Parent) (Thread)
[User Picture]From: niko
2000-11-29 03:36 pm (UTC)
What do you think of QNX?
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-11-29 04:47 pm (UTC)

Re:

I won't use anything that 7 people use. :-)
(Reply) (Parent) (Thread)
From: ahze
2000-11-29 09:26 pm (UTC)
you should try it , you got an extra box? or harddrive?
its actuall a very nice system , theres just no damn software for it. but alot of unix programs will compile on it , and X will run on it also(its XF86 3.3.5 ...but blah..) and you can run X programs in there gui . I dont remember what its called but it kick's X's ass. but thats not saying alot there is it?
(Reply) (Parent) (Thread)
[User Picture]From: bradfitz
2000-11-29 09:27 pm (UTC)

Re:

yeah, i got an extra box.
maybe i'll tinker with it.
there IS an LJ client for it, after all. :-)
(Reply) (Parent) (Thread)
From: ahze
2000-11-29 09:26 pm (UTC)
btw , its a pretty small download too.
(Reply) (Parent) (Thread)
[User Picture]From: whitaker
2000-11-29 10:39 pm (UTC)
My experience with PostgreSQL so far is that it's pretty nice. Seems fast enough, of course I have no idea how it would hold up under a heavy load like LiveJournal. I'm hoping it will. :-)
(Reply) (Parent) (Thread)