Slashdot Mirror


User: pkplex

pkplex's activity in the archive.

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

Comments · 101

  1. snprintf() on Win32 with MSVC6 on String Cleanup Results On OpenBSD · · Score: 1

    Something that irritates me about using MSVC:

    #include
    void main(void){
    char buff[1024];
    snprintf(buff, 1024, "Test"); /* wont compile */
    _snprintf(buff, 1024, "Test"); /* will compile */
    return;
    }

    GRR!! Very annoying when trying to write code for both win32 and *nix.

  2. Re:Hey - you guys broke my httpd.conf file! on Using OpenBSD's chrooted Apache · · Score: 1

    I installed my first public OpenBSD server yesterday :) Never gave thought to the VirtualHosts side of it, I would imagine its straight forward to impliment though.. a bit of re-partitioning and re-mountage I guess.

    What I really wanted to say though, Is that I like OpenBSD very muchly :) Anyone interested in a quality, clean, correct, warm and fuzzy OS should try OpenBSD. It kicks ass.

  3. Re:Why? on FreeBSD Users: Time To Patch Sendmail Again · · Score: -1, Offtopic

    *yawn*

    Of the BSD's I have tried ( OpenBSD and FreeBSD ), neither are 'outdated', development for them is not 'slow', and they a certainly not 'stale'.

    Obviously you have never used a BSD before, or had the clues how. /me slaps coward troll with a bread roll

  4. Re:It's not really psychology on Psychology of a Programmer · · Score: 1

    I agree with you and the article.

    I often find myself slipping into a sleep pattern where I am awake during the night and sleeping most of the day, and im pretty sure this is because:

    A: I dont feel tired until i have spent quite a few hours coding or concentrating on something, which relates to b;
    B: I get quite distracted by normal daytime events and noises.

    Things that I find help keep interest and focus during coding sessions, are:

    1: Getting up and making a big cup of tea ( or coffee ) every hour or so, perhaps having a stretch or some form of exercise while the jug boils
    2: Eating lots of small healthy meals thruout the day
    3: Choosing the right font

  5. *shrug* on Sun Drops Linux Distro · · Score: 1

    Whats wrong with Debian?

  6. Poor article on Too Cool For Secure Code? · · Score: 1

    From the article:

    "Why do we still see these bugs?

    In no small part, it's because programmers aren't using appropriate tools. In an age where processing power is cheap, there's no excuse for a mail client written in C or C++."

    I dont think this guy "Jon Lasser" guy is quite with it. C and C++ does exactly what it is told to, and it does it quickly. Its up to the programmer to make their code proper.

    Perhaps the article should read "Too sloppy for secure code?" or "Too busy for secure code?"

    I dont think his idea of using another language as a replacement for being lazy or informed is going to work too well.

  7. While MS spend's it's money producing drones, on The Internship That Students Drool Over · · Score: -1, Flamebait

    the concious learn how to operate computers without training wheels, and go on to move forward with the rest of the human race ;)

  8. I dont mind ISP's censoring child porn, but on New Zealand Looks at Internet Censorship · · Score: 1

    you can trust our lame excuse for a government to bugger it right up.

    The company known as Telecom, used to be publicly owned, but the Government sold if off, and now we have a hideous monopoly that owns all the land lines, and charges hideous prices for its "services". An isp called Xtra, is part owned by Telecom and Microsoft.

    Our government also pays microsoft 1 billion dollars per year to aquire "software" for use in our "schools".

    So with this in mind, I doubt any involvment from the governemnt bodys will be led with good intentions.

  9. Sad on How Will Animals Look 250 Million Years From Now? · · Score: 0, Troll

    Evolution of species from one type to another never happened. All that could be expected is changes within each species limits. The sun is something that goes against the idea evolution in the past, and applies in this case also. The not going to last forever, nor has it been around for the billions of years that evolution theorys suggest. The sun currently burns away at a rate of approx 37 meters in diameter per day, around 14 km in diameter per year. The suns diameter is 1,400,000 km. Assuming that the suns rate of decay is going to decrease with its size due to lack of surface area, let us take a generous 1/4 of the current rate of decay, and calculate how much of the sun would be missing in just 100,000 years: 1/4 if 14km is 3.5 km per year. 3.5km per year * 100,000 years = 350,000 km 1,400,000 km - 350,000 = 1,050,000 km diam Sure, One would have to work out the rate of change of decay and apply it, however it aught to be obvious that the sun is not going to last 250 million years. It also aught to be obvious that the sun would have been WAY to huge 10 million years ago ( letalone billions ) to support life on earth ( or even let earth exist, its gravity would have been enourmous ).

  10. Security? on Microsoft Next Generation Shell · · Score: 1

    A MS version of a shell accessable remotely is bound to be a new thread of security problems.

    Even with normal cmd.exe there seems to be problems, something like this can cause a bluescreen:

    while (1){
    printf("\t\b\b\b\b\b\b\b\b\b");
    }

  11. Damn straight on Kiwi Flight Before the Wright Brothers? · · Score: 2, Insightful

    it was a kiwi whom flew first, just as it were a kiwi whom made the first pavolva :p

  12. Replacement? on Debian-Installer Alpha Released · · Score: 1

    I hope it does not replace the ability to install debian from off of floppys... cos that would be a bad move :( However, it has to be good for Debian as a whole to get a yuppy installer... and lets hope it sets up X11 properly.

  13. A trillion places? on A Much Bigger Piece Of Pi · · Score: 1

    I can represent pi exactly, right here: 22/7.

    No need for a stupid computer because you can work things out on paper using fractions, and you dont need to round any decimal places, because there are none, and results are exact.

  14. New Zealand on Wal-Mart Lindows PCs Selling Well · · Score: 2, Interesting

    There is a franchise in New Zealand called Dick Smiths, which is a electronics type place which sells a lot of stuff for the home. Anyway, They started selling headless boxen with Mandrake installed... and when they released them they sold out real quick. Im not sure if it was because of Linux, The price, or both. But one thing is for sure, Linux is really starting to get out there.

  15. smoke / dust on UK Team to Study Rainmaking Machines · · Score: 1

    I saw a weather program a wee while ago about trying to get clouds to drop their load.

    They were flying around in clouds, and the plane had these things on it which made a fine smoke / dust. It said that the dust stuff was actually little wee crystal type things, and moisture got attracted to them and formed rain drops.

    Supposedly it works, becuase the dudes who were doing it, were doing it as a business.

  16. Re:Compile time speedups on Linux Kernel Performance How Will 2.6 Measure Up? · · Score: 4, Interesting

    Yep.

    I first tried FreeBSD about a month ago, and thats exactly what I noticed about FreeBSD. Smooooooooth.

    For example in Linux ( 2.2.x and 2.4.18+ ) I found that when something demanding was going on ( like building mozilla, kernel, or such like ), all X11 became all choppy ( Mouse stuttered, typing lagged in bursts ).

    Not so with FreeBSD. Many times ive had GnomeICQ hit a bug and use 100% cpu, but I was unaware of this until days later when looking at top.

    A few days ago I installed FreeBSD onto my p100, with 64Mb of ram. Playing around, I ran many many dnetc's by having thousands of 'nohup ./dnetc &' lines in a file and executing it.

    At a load of 350 the p100 box was still very happy to do what I told it, and with very suprising responsivness. However, once the load got up to 450, my ssh connection to the box was terminated, and I had to restart sshd locally. Which is fair enough, I guess.. one will run out of swap and ram sooner or a later.

    I can recall doing this same dnetc thiwith slackware, running 2.4.something, and after a short while at load 50, I started getting seg faults every time I ran a command.

    Untill Linux shurgs off huge loads effortlessly and in a stable manner like FreeBSD does, its not going to live in my boxen :)

    Tux needs to get fit and learn how to balance on one leg properly :)

  17. BSD? on Linux Kernel Performance How Will 2.6 Measure Up? · · Score: 4, Interesting

    I wonder how well it compares to the BSD kernels, in both performance and stability?

  18. Re:You've yet to see station selling suitable fuel on 239 MPG Car · · Score: 2, Informative

    I thought it was called greed?

    There are plenty of alternative fuels and engines, and with this comes a loss of profit for oil companys.

    How do you think G.Bush got in?

  19. Re:Its been done on More on Longhorn · · Score: 1

    Thats a matter of opinion. Perhaps you could talk it over with your Psychiatrist? ;)

  20. Re:Certainly radical... on More on Longhorn · · Score: 2, Interesting

    Yeah its a bad idea as far as design goes... one big chunky program to do it all. But I wonder if MS are wanting to lump it all together into one single program/product, so that customers will think they are buying something new. It would be a bastard if it crashed aye.. dragging down all your other work with it. And imagine the service packs and patches that will follow after its release... they would be huge. It has be good for hardware manafacutrers though :)

  21. Its been done on More on Longhorn · · Score: 5, Funny

    Its called emacs ;)

  22. Re:The human ear on Hark! I Hear a Dropped Packet! · · Score: 1

    It prolly would not be too tricky to write some routines into ping, which, based on packet loss percentage, threw some stuff at /dev/dsp to get your tones.

  23. Re:Mobile browsers? on Opera, Microsoft, and the Mobile Browser Market · · Score: 1

    I remember seeing on the news a while ago, they were busy developing these screen things which are plastic, and you can roll them up and fold them about like paper...

    So perhaps cell phones might soon have plastic scroll out monitors in years to come...

  24. Old computer hardware... on Reducing the TCO of IT with Linux? · · Score: 1

    Hey there

    Linux seems to work pretty good on old hardware... so perhaps you could try and find some old p200+ type boxen. You can get these PCI cards which let you use UDMA drives quite effectively on older boxes, so you can still use big fat HDD at speed.

    Another thing that I think would save time ( and thus, money ), is ssh. There have been a number of times when I have saved a trip into town to change something on a Linux server because I could ssh into it and make the changes from home.

    Using ssh you can add users, write backup scripts, upgrade / install software... basically do anything you could do sitting in front of the machine ( with the exception of things like bios and hardware changes and such like ).

    I dont know how windows can be administered remotely, but its bound to be less effective than using ssh. So that could save you a lot of time walking around to each server.

    Another big plus with Linux ( and other *nix OS ) is that security patches very rarely ( never in my experience ) require the machine to be rebooted. With Linux distrobutions like Debian ( Which is what you should use for servers IMO ), it even restarts the services that a patch/upgrade affects, and it does so smoothly ( often keeping active client connections active and running, eg, ssh connections from which you a performing an upgrade ) while it is at it. So there is a very short downtime ( 5 or so seconds ) for a particular service while it restarts.

    There are not really that many securtiy bugs that pop up anyway, and when they do they are often fixed very fast. ( eg, I remember an apache bug was fixed and had a patch available within 24 hours ).

    Mmm, anyway, when you replace win32 server boxen, first build up a Linux box and get it working 100%, give it the same IP as the win32 box it will replace, keep the win32 box running, and just plug the utp cable into the Linux box when it is ready :D That way if the shit hits the fan, you can quickly plug the cable back into the win32 box and figure out what you done wrong :)

  25. FreeBSD on Evolution Reaches A New Milestone · · Score: 1

    Works on FreeBSD... There have been a couple of crashes though, I was editing a new message when it just froze up and I had to kill it and resart.

    Looks pretty cool though :) Yet another successfull Open Source project IMO.