Slashdot Mirror


User: njcoder

njcoder's activity in the archive.

Stories
0
Comments
704
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 704

  1. Re:Too late Java is not cool anymore on Java: One Step Closer To Open Source · · Score: 1
    When I do web development I use a number of different applications. An image editor, ide, text editor, data modelling tool, html editor, database admin tool, etc. Only one of them is a java app (the IDE NetBeans) and ALL of them look completely different. Different tabs, different menu item layouts, different dialog box formats and positions, different Open and Save dialog boxes, different toolbar button behavior, different right click behavior, different short cut key behavior (I think some other apps still don't use ctr-c ctrl-v for cut and paste), etc.

    The one that is a java application works and looks more native than some of the other applications and it's completely in Java, not SWT. It takes up a lot of memory and it's slow compared to the text editor but not slow compared to a similarly functional IDE.

    Years ago, it used to be that I would have to shutdown and restart the IDE regularly because the memory just grew too much. That's changed a lot with the performance enhancements in Swing and better designed applications. I wind up shutting down and restarting FireFox multiple times a day because the virtual memory just grows and grows and grows even after I shut down all but one window and tab. I just shut it down now because VM uusage was around 300Megs and real memory close to 200Megs. NetBeans can gets to around that memory usage when I've been doing GUI editing using the GUI tool, have the built in tomcat instance running, etc. The html editor easily eats up memory too and all it's doing is designing web pages.

    Stop picking on Java. It's not any/much worse than other apps. Where it does have performance problems is in start up time but this looks like it will be addressed in later JVM's. Also, Swing is designed to be single threaded so you'll have to specifically create you're own threads when you need to. There are sites with a lot of good information out there on how to write more performant Swing apps. It's a pain that it's not easier but with some things you can't expect the platform to know how to optimized threads.

  2. Re:Do the fans represent the spirality of our mind on The Neuron Drive · · Score: 1
    "What a prime example of the kind of speak an artist uses when he is trying to get his work sold!"

    Except I'm not trying to sell anything and I don't have any links to any of my artwork associated with my slashdot account nor do I want any. It's honestly how I feel.

  3. Re:Do the fans represent the spirality of our mind on The Neuron Drive · · Score: 1
    As someone that is/was trying to be an artist I can say that there isn't always intentional symbolism in a peice. Sometimes the artist may find symbolism in it after he's done with it. Other's may find their own that is not what the artist intended or sees. This is why I don't usually share my thoughts on the meaning of my own work with others. I feel how we perceive art and life has more to do with our own personal experiences more than anything else. How many times have you talked to someone who has read the same book or seen the same movie and they had totally different interpretations of some of the characters?

    People can sit and stare at the sky for hours and see different shapes in the clouds. It can turn into a whole story based on what each random puffy cloud brings. Mother nature or God didn't create the clouds in a certain way for the person viewing them. The person viewing them saw what he needed to see in them. Someone else could have seen something completely different or nothing at all. Art just provides another vehicle for this sort of thing. Both to the viewer and the artist that may subconsciously or consciously impart some sort of meaning to it.

  4. Re:Of course they're consistent on SCO Includes OS Products In OpenServer 6 · · Score: 1, Redundant
    Definately not pro SCO but don't see this as much of a story. Congrats to getting a somewhat intelligent first post but Linux is a type of Open Source/Free Software. Linux != Open Source/Free Software. The GPL is a type of Open Source License. GPL != All Open Source software. There is a whole world of Open Source outside of the GPL.

    Of the open source products SCO is distributing I'm pretty sure only MySQL is GPL'd.

    It doesn't matter how wrong someone like SCO is, making nonsensical arguments against them doesn't help.

    With the exception that they made anti GPL noises and not just anti Linux, I don't see the quote as completely innacurate.

  5. Re:You are expendable pawns. on Pentagon Creating A Database Of Students · · Score: 1

    The Pentagon also said that if you'd like to be taken off the list you can go to your local recruitment office and sign up for any branch. If you do that they'll stop trying to get you to enlist. At least until it's time for you to reenlist.

  6. Re:Obligitory spelling error on London Turned into Giant Board Game · · Score: 1

    What station?

  7. Re:Code talks, BS walks. on Under a Big Blue Shadow · · Score: 1
    "And since this story is talking about Linux, not Solaris, I have no idea why you would bring up Sun."

    Because the person I was responding to directly asked about Sun. Since you can't figure out how threaded conversations work I'm not even going to bother addressing your other invalid points.

  8. Re:Code talks, BS walks. on Under a Big Blue Shadow · · Score: 1
    Depends how you count it. If you just count the number of projects then Sun doesn't look so good. But also consider that IBM is around 10 times bigger than Sun in terms of marketcap, employees, revenue and net income which doesn't make their contributions look bad at all.

    Also consider the size of their contributions to those projects and how important stuff like OpenOffice.org is. Then you have Sun's history of supporting open standards and publishing a lot of their research like their Sparc cpu which allowed others to build sparc cpu's and systems (while IBM was trying to close off their pc architecture with things like MBus to prevent OEMs), their work with xml including sponsoring the working group that created it, publishing reasearch like on The Slab Allocator which was used in Linux, even OpenSolaris has been helpful to Linux Kernel developers, and there's more I don't have the time or energy to search for.

  9. Re:Market Share on Under a Big Blue Shadow · · Score: 1

    Lets look at Gentoo's Financials. Do you think HP donated that 500 bucks all by themselves or was that the combination of all the vendors? :) I think HP also loaned them some hardware.

  10. Re:Market Share on Under a Big Blue Shadow · · Score: 2, Informative

    You remembered correctly. Here's the story. Basically HP was boasting how they will indemnify customers if they signed a restrictive license and also was the main sponsor for the sco city to city tour. You gotta love big companies that can talk out of both sides of their mouths.

  11. Re:Less is more on Under a Big Blue Shadow · · Score: 1
    I was going to respond with the same thing but then I thought about it a bit. IBM really does try and do one thing. EVERYTHING :)

    I think they have a problem with NIH syndrome.

  12. Re:Less is more on Under a Big Blue Shadow · · Score: 1

    Don't forget their failure/slow performance to port lotus notes to linux even though some customers have been asking for it and a high powered groupware client/server could have meant a lot to the desktop linux push.

  13. Re:Less is more on Under a Big Blue Shadow · · Score: 1
    "Its not so much about HP's recent performance, its about where its going. Can ANYONE explain to me their UNIX roadmap in simple, direct terms?"

    In the immortal words of George Jetson... ."Jane! Get Me Off This Crazy Thing!" :)

  14. Re:Marketing changes the perception on Under a Big Blue Shadow · · Score: 2, Funny
    "mexican fans which failed in 3-5 months"

    The worst part about those fans was that noise they made that filled the server room.

    GOOOOOOOOOOOOOOOOOOOAAAAAAAAAAAAAAAAAAAAAAAALLLLLL LLLLLL!

    Made it hard to concentrate. :)

  15. Re:Marketing changes the perception on Under a Big Blue Shadow · · Score: 3, Insightful
    " Well another important issue is IBM's more apparent commitment to both Linux and Open-Source. It may just be marketing for all I know, but we hear a whole lot more about IBM paying for this and donating that to Linux & F/OSS than HP."

    That's what good marketting is... making sure people hear a whole lot more :)

  16. Re:Sheer Brilliance on Dvorak Sees MS Conspiracy Against BitTorrent · · Score: 2, Funny
    "So now I suspect Microsoft is playing dirty to discredit the thing."

    WTF is he talking about? Hasn't he been reading the MS press releases and blogs about how MS is settling all it's lawsuits and making friends with everyone. MS is not an evil empire anymore. They told us so.

    Yes this is supposed to be funny.

  17. Re:When I choose ___ OS, it is because... on Open Solaris Derivative Available · · Score: 1
    "When scientists publish their ideas which are formed based on the accumulated knowledge of others, are they asked to give up their copyright?"

    I wasn't talking about copyright. I was talking about recognition and respect. When researchers publish their work they will cite tons of other research that they used as a basis for their own. Many times they can do their research because of grants/funding from commercial entities. Too many times you see free software advocates deriding commercial unixes and other proprietary systems. I think this linux mag interview with Bill Joy is a good read for people with an open mind. It's a bit dated but still interesting but it's a world apart from what Theo de Raadt said. From what I've seen it's not so much the core developers of open source software that do this but the developers that come later and some users. A lot of this is also fueled by the IT press. Like when wired magazine wrote "Linux Sucks" on their cover when they had an interview with Bill Joy. He never actually said that. What he said was more along the lines of linux is good for developers that were 20 years younger than him, he had no interest in writing a kernel he already did it. He wasn't even working on Solaris anymore. If someone comes up with a good idea for a new operating system and they ask Linus to be a part of it they'd probably get a similar response. Unfortunately Bill Joy gets painted as a wacko sometimes too because of one of his other wired interviews. Unfortunately those people probably haven't read this either.

    Basically I think linux, gnu and other free software owe a lot to the work that was done before them that isn't properly attributed and is instead mocked.

    "I make money by charging for my time, not other people's products. Typically I hear about someone or some company that needs some piece of software, or I think it would be beneficial to them. I push as much free software that I am familiar with on him as I possibly can, and hope that he will need some revision to it with the understanding that he can go anywhere he likes to get those changes. Very often he comes to me to get them, because I have earned his trust. End users give me my bread and butter."

    It sounds like you're doing more integration rather than innovation and I don't mean that in a bad way. But you're still being paid to develop software. When you're done I'm assuming you contribute the code changes back so the next time nobody gets paid. A lot of open source is reengineering commercial software. Who is going to pay for the r&d to come up with the new stuff if they can't make money off their research? Who is going to do the boring work that comes with software development?

    It's not that I'm opposed to free/open software. I use a lot of it. I just think that the goal of all software being free isn't obtainable. Not because free software is in anyway inferior but because the way society works doesn't support it and free software isn't the type of vehical that can make those types of changes to society. Just like free television. PBS wouldn't be around without gov't funding as well as corporate and private donations.

    What I see being more practical is better synergies between free and commercial software. Where software progresses more like a tidal wave. Commercial software and funded open source projects are on the break of the wave and as the wave passes and levels out free software is a greater force. This is the model I think will work for making better software. There needs to be an impetus for people to break new ground and not just customize existing software. In our world that's money, so people need to be able to make money off their work at all levels. No cat fighting between groups either, especially between unix and linux. The goal should be for unix and linux to grow, not for one to grow at the expense of the

  18. Re:What good is such a fast Ethernet card... on Is There a Place for a $500 Ethernet Card? · · Score: 1

    The important thing is you got it going andd are making a profit.

  19. Re:What good is such a fast Ethernet card... on Is There a Place for a $500 Ethernet Card? · · Score: 1

    Hmm... 2001.. most of the appservers from that time are out of business or have significantly improved. Ccurious which one you used. Back then I think you even had to code your own connection pooling in some cases. I still have my connection pooling code somewhere. Not suprised about the cachinig.

  20. Re:What good is such a fast Ethernet card... on Is There a Place for a $500 Ethernet Card? · · Score: 2, Interesting
    asp on iis 5 years ago, ok, that makes sense too.

    Not trying to knock your design if it works it works. Since you're working on another flavor of it, let me give you my opinion on what I would have done differently. I've worked on webapps like this in java, not sure if you could do the same in php or asp.net. For something like this I would go with Java from my experience with it and also doing PHP. Whatever you do it in this advice might be helpful.

    Your merchant info.... This probably doesn't get updated every day so you can cache it on an application level and let the cache refresh itself in a smart way when there are updates. You can do the same on a per session basis with shopper info. Sounds like your tax logic can be streamlined a bit as well. You might want to think of havinga seperate process that does the tax and can keep a cache of all the information, that way you don't have to hit the database for each item like it sounds you're doing now. Most of your logging probably doesn't have to be done in real time to the database. Or even in the database at all. There are ways to link your application logic with the webservers logging mechanism. The webserver usually does it in a smarter way, then you aggregate that info on a regular basis. If that doesn't work for you try asynchronous logging. Start up a seperate thread that writes to the log. That way the user doesn't have to wait for the logging to finish. Also caching the logs locally and then aggregating it even every minute or so on a heavy site should increase network and db performance since a few larger writes are faster than a lot of smaller ones. Even with everything you mentioned I don't see how you can have a hundred or more queries per page. I'm thinking at most 5-10 queries per page will get you all of what you need to display products, cross reference products/specials, and a bunch of other stuff. Your checkout pages might need a little more because you'll want to make sure you get fresh data from the database even though a good caching method shouldn't require it. Doesn't hurt to play it safe when the money actually trades hands. Your datamodel might need some going over as well.

    You might want to add some more ram to handle the extra caching and there are many open source distributed caching tools that make it easy. OSCache is good for Java apps, memcached is in C but can be used with other languages including PHP and Java and I think ASP?

    Since you're thinking of doing another version of it, you might want to consider these things, and probably more. Hard to say concretely without knowing much more. YOu can probably cut down on your hardware too. A site like hotornot.com, which is granted a lot simpler can serve up about 20 million pages a day across I think 50 servers. If you have a strong DB with 30 front end webservers (assuming you got them all 5 years ago and they're standard issue type webservers) I would expect a well designed, complex e-commerce site to be able to handle around 6-9 million page views a day with good response times easily. That's trying to be conservative too considering what you said.

    Getting this NICs for 30something servers is going to run you between 10-15k depending where the volume discount sits in. Like I said I don't know your whole system but that money being spent so you're pages don't hit the database 100 or more times per page should do more for you than these cards. That's my long answer so you don't think I was just being flippant.

  21. Re:What good is such a fast Ethernet card... on Is There a Place for a $500 Ethernet Card? · · Score: 1

    I'm assuming you're doing it in PHP then?

  22. Re:Sure there's a place for them on Is There a Place for a $500 Ethernet Card? · · Score: 1

    Yeah but does anyone know if this is going to be better/worse than the TOE cards from people like Chelsio which Novell and Sun seem to be partnering with?

  23. Re:What good is such a fast Ethernet card... on Is There a Place for a $500 Ethernet Card? · · Score: 4, Insightful
    " When you're dealing with a huge data-driven e-commerce site, where every page renders around a hundred or more queries, "

    Each page renders a hundred or more queries? Sounds like you're better off investing in a better design than better hardware.

  24. Re:Sure there's a place for them on Is There a Place for a $500 Ethernet Card? · · Score: 1

    From the article I couldn't tell how this different from TCP/IP Offload Engines (TOE). Looks like there are a bunch of companies coming up with TOE implementations, is this going to be a product that fails once the TOE standards come out?

  25. Re:When I choose ___ OS, it is because... on Open Solaris Derivative Available · · Score: 1
    "I don't think in terms of 'ability to build on all the other contributors code' as any more significant than the other contributors being able to benefit from my work."

    This is one of the attitudes that a lot of people have in the oss community that disturbs me the most. Not only between contributors of the same project but on things that came before. Linux is a good example. Where would Linux be without Tanenbaum and Minix? Where would Tanenbaum have gotten the information to write and teach about operating systems if it wasn't for someone like John Lions? Where would Lions be if it wasn't for Ritchie, Thompson and McIlroy and all the other people that developed, extended Unix and shared their knowledge by publishing and sharing their work on places like Usenix or on Usenet or wherever and creating open standards? To me it's naive like laughing at early man because he had to struggle with fire and we can carry it in our pockets, or people that had to use outhouse while now we have indoor plumbing. What are the next generations going to laugh at us about? Are we stupid because we don't know how to use the three shells? :) Where would free software be without Unix or Windows or Xerox or Mac etc.? It's like asking where would physics be without Newton. We really can't say for certain. It's possible others might have done the work if he wasn't around but not giving him credit because he did do it doesn't make sense.

    "In the example you give, I see myself as author or co-author of some library that the guy developing the business appliance for sale want to incorporate into his product."

    He doesn't need you for that, he's perfectly capable of writing what he needs in a short period of time whereas writing millions of lines of code for an OS is out of the question for him. This is the area of his product that he uses to distinguish himself from the competing products. He wants people to buy his product from him not someone else that also has his code. He needs to make money to pay his mortgage, send his kids to college etc. If closed source software is harmful and free/open software is the future, how do developers make money? It sounds like you're an open source developer, how do you make money from open source software? Not everyone wants to work on software in their spare time, they have families and other interests, as much as they love coding. Why should I hire someone to code for me if I can get it for free? The vast majority of software developers can't rely on living on campus all our lives, making money from teaching, through grants, speaking engagements etc.

    WRT FSF and Linus, I see Linus having a different view from RMS. The FSF and GPL might suit his needs but I wouldn't be at all surprised if their views diverge drastically in the future. Take the LGPL for instance. From reading the FSF website (the static site not just the forums) you see references that the LGPL is just a intermediate measure to get people using Free Software but that all libraries should be Free Software and licensed under the GPL without exception at some point. This means that any software that uses those libraries also has to be free. Then you have the ASP loophole being closed in GPL v3. Things like that will most likely kill a lot of commercial interest in linux. And if you kill commercial interest in linux who pays the developers? What's next? No more trade secret protection if you use free software? You can only write free software with Emacs? What happens if in the future Linux doesn't agree with the FSF? Linux on it's own doesn't do that much without stuff like the GNU System. If that gets licensed in a way that Linus doesn't like what are his options? BSD/Linux? OpenSolaris/Linux? Yeah people can pick up from the last untainted batch but the FSF isn't going to abandon it and we'll have GNU/Hurd and more duplication of effort because the FSF and fans will be working with the new ideal and those that don't like those ideals will be working