Slashdot Mirror


User: Bazman

Bazman's activity in the archive.

Stories
0
Comments
1,000
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,000

  1. Re:Setting variables on Switching from tcsh to bash? · · Score: 1

    Dont forget that tcsh has two concepts of 'variables' - shell variables and environment variables.

    In tcsh, you shouldn't muck with environment variable PATH, you should set shell variable 'path' instead, eg

    set path=(/usr/bin /home/me/bin)

    instead of

    setenv PATH /usr/bin:/home/me/bin

    bash has only variables, which, if 'export'ed, become part of the environment.

    Baz

  2. Aluminium Recycling considered harmful on Is Recycling Really Worth It? · · Score: 1

    So you test all your cans on the little magnet, and throw the sticky ones in the 'steel' box and the non-sticky ones in the 'aluminium' (or aluminum) box. You're doing your bit for the environment - preserving the planet and its atmosphere.

    Or are you? The greatest user of recycled aluminium is the motor car industry. So all those gas-guzzling, air-polluting SUVs driving around are made cheaper by being constructed from your recycled Coke cans...

    - true or false? I dunno, its something I heard from a Greeny friend of mine.

  3. Re:An idea that really wasn't ready for prime time on Farewell To The Concorde · · Score: 1

    Lots of airlines had options on Concordes, and at one point there was talk of building over 200 of them. That would have probably brought the cost right down.

    Customers who dipped out included Pan Am and The Shah of Iran. Look what happened to them....

  4. In Soviet Russia.. on Farewell To The Concorde · · Score: -1, Troll
    Concordski flies on you!!


    Sorry, couldn't resist it.

  5. Uniquie? on Microsoft Patents Your Local Weather Report · · Score: 1

    "Customization of network documents by accessing customization information on a server computer using uniquie user identifiers"

    - good job I never use "uniquie" identifiers.

  6. Free stuff on archive.org on 12 Million Historic Photos Scanned to Web · · Score: 2, Interesting
    www.archive.org has a fantastic collection of free movies, including some newsreels, all free to use and redistribute - look here.

    The Prelinger archive there is a wonderful treasury of historical material. And the free license means you can cut n paste any of it into your own video projects.

  7. Re:I've been wrong before, but ... on China Plans Manned Space Flight October 15 · · Score: 2, Interesting

    Two members? One of which isn't currently flying manned spaceflights because of the last STS incident and one that probably cant afford it anymore.

    Anyone know where I can start learning Chinese?

  8. Flippers or feet? on Linux In Hollywood: Status Report · · Score: 1

    What will Tux use to make his imprint in the cement outside the Chinese Theatre?

  9. samplenet on Free Sound Samples? · · Score: 4, Informative

    Says their samples are 'copyright-free'.

    URL: http://www.samplenet.co.uk/

    lots of drums/synth stuff, but also an 'effects' section with odd noises. Use your favourite sound editor to tweak to your desire.

    They used to have an FTP site where I would often 'mget' loads of wavs, but now it just seems to be http and mp3 files.... Maybe the FTP wavs are hidden away somewhere...

    Baz

  10. court case on Are You On Time To Work? · · Score: 1

    All you have to do is claim that its against your religion to be exactly on time, and then file a suit for religious discrimination. Earnt $2million in punitive damages for this guy: nbc news.

    Except of course this guy wasn't making it up. Thought I'd make that clear.

  11. Re:Not that I can see on Does SPAM Peak on Wednesday? · · Score: 1

    A simple statistical analysis of your data shows that Sunday is significantly lower than other days, but the variation of other days is consistent with a random Poisson process with constant mean.

    I fitted a generalised linear model with weekday as explanatory variable and count as response. Here's the table of coefficients:

    Coefficients:
    Estimate Std. Error z value Pr(>|z|)
    (Intercept) 6.72143 0.03471 193.642 <2e-16 ***
    DayMon 0.06642 0.04829 1.375 0.1690
    DaySat 0.01079 0.04896 0.220 0.8256
    DaySun -0.11073 0.05050 -2.192 0.0283 *
    DayThu 0.04246 0.04858 0.874 0.3821
    DayTue -0.04939 0.04971 -0.994 0.3204
    DayWed -0.01334 0.04925 -0.271 0.7865

    See that Sunday has a star for significance, and a negative coefficent (-0.11073) showing it is lower than the baseline (Friday, which has coefficient zero in effect, and so isnt listed).

    The other days dont show any significance. Think of the Estimate column plus/minus twice the Std Error column. If this includes zero, then its pretty much insignificant.

    All done with R, open-source statistical software. http://www.r-project.org/

    This posting is not a replacement for reading a decent book on generalised linear models :)

    Baz

  12. It'll never catch the things you want... on Logging Unexpected Shutdowns/Crashes w/ Linux? · · Score: 2, Interesting

    Murphy's law will apply and the thing that causes your system to crash wont be trapped by whatever magic you try to log it with! We recently had a machine that would just power-down without warning. I eventually discovered it happened after intensive CPU load for about 20 mins, figured maybe it was some heating problem, kicked up the sensors package and spotted the CPU temp heading into egg-frying temperatures. It seems the BIOS would just protect its motherboard by shutting down. The kernel had no chance to report anything.

  13. Got me on this one on Gentoo Package Accused of Violating DMCA · · Score: 2, Funny

    I run a web site for substance hardness testing. We make kit that does standard dent and scratch tests for a variety of materials. One of our directories is called:

    MetallicAlloysDentersAndManuals

    Baz

    PS no i dont really

  14. Re:Tape on Required Tools for PC Repair? · · Score: 1

    blu-tak is also useful for sticking screws to screwdrivers when putting them back into awkward spots. A blob on the screw head, stick it to the screwdriver, then it only takes one hand to get the thing in. Useful in awkward cases where you cant get two hands to the job, and you cant rely on magnetism..

    I think Blu-tak/Blue-tack is a trademark, other tacky gooey things in different shades of colours are available!

    Baz

    PS I disclaim responsibility for anyone who tries this and drops a screw into a PSU that then explodes, igniting the nearby gas tank, killing everyone in a five-mile radius...

  15. Re:Sklyarov on Adobe Still Ignores Elcomsoft-Discovered Holes · · Score: 1

    more likely:

    CK/\RAPOB

    but with a backwards 'R'.... And /\ is a cyrillic capital 'L'.

    backwards-R is pronounced '-ya', P is 'r', B is 'v'.

    I cant find a Sklyarov story on www.pravda.ru - not in cyrillic anyway... Can you?

    Baz

  16. Defect is too strong a word... on Software Code Quality Of Apache Analyzed · · Score: 4, Insightful
    Take the null pointer dereferencing thing. All this program seems to do is see if there's a possible path for null-pointer dereferencing. It has no clue as to whether this is logically going to happen. For example:
    2815 while (1) {
    2816 ap_ssi_get_tag_and_value(ctx, &tag, &tag_val, 1);
    2817 if ((tag == NULL) && (tag_val == NULL)) { 2818 return 0;
    2819 }
    2820 else if (tag_val == NULL) {
    2821 return 1;
    2822 }
    2823 else if (!strcmp(tag, "var")) {
    2824 var = ap_ssi_parse_string(r, ctx, tag_val, NULL,
    2825 MAX_STRING_LEN, 0);
    The software claims that tag could be null on line 2823. But thats only if on return from ap_ssi_get_tag_and_value that tag is a NULL pointer and tag_val is non-NULL. If ap_ssi_get_tag_and_value cant return these conditions then this is not a defect. If anything its a red flag, in case the return values of ap_ssi_get_tag_and_value could satisfy that condition.

    I suspect the following code will be flagged as a defect:

    char *tag=NULL;
    doOrDie(&tag);
    strcmp(tag,"do");
    as long as doOrDie() does its job and never returns a NULL then where's the defect? The guys who wrote this tester seem to want you to check any pointer dereferencing against NULL before use - I might be doing this in my doOrDie() function, I dont want to have to do it twice.
  17. Re:Motorway speeds? on High Speed Travelator · · Score: 1

    Wind resistance? Simple solution, just make sure everyone lies down...

    Baz

  18. Re:Archive.. on Royalty Free AV Data for Benchmarking? · · Score: 1

    You'll just end up with a codec that reproduces all the scratches, jumps and hiss of 1940s 8mm cine film sound!

    Yes I know there is some more modern stuff on archive.org... Its a fantastic resource.

    Baz

  19. Re:How about... project gutenberg on A Good Summer Read? · · Score: 1
    But keep that open-source feeling by reading something free from project gutenberg. Get the text onto your Palm or other PDA and no need to carry dead trees around with you.

    I've just finished reading Walden, by H D Thoreau, from the Gutenberg e-text. Its basically a story of a man who goes and lives in a shack in the woods for a few years. The irony of reading this on a digital computing device did hit me...

  20. Dont you mean... on Investigating Artificial Black Holes · · Score: 1

    "Good news everyone!"

  21. Make money from computer security on Getting Started in Network Security? · · Score: 1

    Tell a company you can make their main server totally secure from network attack. Make sure they sign an agreement to pay you. Tell them they can have double their money back if the machine is susceptible to any network attacks afterwards. Get them to sign on the dotted line.

    Walk into server room, remove network plug.

  22. MS code in Solaris on Microsoft To License SCO's Unix Code · · Score: 5, Interesting
    This is some of /usr/bin/clear on a Solaris 2.8 machine:
    #!/usr/bin/sh
    # Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
    # All Rights Reserved

    # THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
    # The copyright notice above does not evidence any
    # actual or intended publication of such source code.

    #ident "@(#)clear.sh 1.8 96/10/14 SMI" /* SVr4.0 1.3 */
    # Copyright (c) 1987, 1988 Microsoft Corporation
    # All Rights Reserved

    # This Module contains Proprietary Information of Microsoft
    # Corporation and should be treated as Confidential.
    Strangely enough, /usr/bin/clear is essentially a one-line script using 'tput', and I cant see any other 'Microsoft' string in anything in /usr/bin.

    Baz

  23. Re:Instead... on Making Change · · Score: 2, Insightful

    Because retailers would round _upwards_.

  24. Saving desk space on LCD Screens Almost Paper-thin · · Score: 1

    How many people use this mythical 'extra desk space' that an LCD apparently gives them? Surely its just that empty space behind your LCD screen where the bulk of your CRT used to be? Its an invisible, hard-to-get-to space which isn't somewhere you really want to put stuff!

    The only saving is that now you can have a thinner desk and have the LCD up against the wall - but that only means the pointy-hairs can squeeze more of you into the same cubespace.

    Baz

  25. Re:Mt Rainier on Should I Worry About Mt. Rainier Support? · · Score: 1

    I dont know if RedHat Linux supports Mt Rainier, but here you will find Mount Rainier supporting (some of) RedHat!