Slashdot Mirror


User: Dr.+Zowie

Dr.+Zowie's activity in the archive.

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

Comments · 728

  1. Re:IAMA PDL user on Perl Data Language 2.4.10 released · · Score: 1

    Yes, this is an ongoing problem, and it is what made Python the more popular solution. Perl is easy to write, but harder to write well -- the whole point of the language is that it is rich and expressive, without a lot of imposed structure. People who write Perl as they learn tend to write crappy, unmaintainable Perl. The result is that most students' first experience with Perl is of crappy, unmaintainable spaghetti-Perl. Those students often grow up to become Perl-haters.

    Python is more novice-friendly but harder to to be expressive in for experts, so grizzled longhairs (like me) tend to scoff at it.

    That sort of pattern happened before: there was a time when Pascal attracted a lot of mindshare and people scoffed at the woolier "C". Entire OSes were written in Pascal (gasp). But in the long run people migrated back to C and (when it was invented) C++, because, well, Pascal is easy to learn but it sucks for experts.

    There are lots of solutions for getting one's work done. PDL is superior for some tasks, Python/NumPy is arguably superior for others (like learning). I wish people would get over it and code, instead of tribal hating. But that is what people, well, do.

  2. Re:Quiz on Perl Data Language 2.4.10 released · · Score: 1

    Oddly enough, PDL has more "computing power" than NumPy, in the sense that its threading engine works faster and it is less of a memory hog. It is also older than NumPy, having been first written in the late 1990s.

  3. Re:not a "real" monopole on "Overwhelming" Evidence For Magnetic Monopoles · · Score: 2, Informative

    It is not possible to create a true monopole from dipoles, because any "g'zinta" field lines to your favorite point in space have to matched by an equal number of "g'zouta" field lines from the same place.

    These spin-glass phenomena are only quasi-monopoles: all the "g'zinta" field lines are squished into a small tube, leaving the "g'zoutas" free to splay out almost like a true monopole. But the divergence is still zero (there are no field line endpoints).

    Compare to a spray nozzle that sprays water in all directions from a garden hose. If the spray is broad and strong enough, it might sort of hide the hose itself, so that you could convince your kid brother that the nozzle is a magical water-creator (i.e. that the flow through the nozzle has positive divergence). But in fact, there's a garden hose feeding the nozzle, and every bit of water that comes out through the nozzle is balanced by an equal bit coming into the nozzle from the hose.

    In that analogy, your nozzle is interesting because the spray pattern is similar to the pattern from a mythical water-creator, but it still won't solve the problem of drought in California, which a true water-creator would.

  4. Re:not a "real" monopole on "Overwhelming" Evidence For Magnetic Monopoles · · Score: 5, Informative

    Classic case of science journalists overblowing a mundane result. Yes, connected quasi-monopoles are interesting. they are visible in any conducting medium. But there's a HUGE difference between a quasi-monopole that is at the end of a finite-length, shielded dipole and a true monopole that actually violates the magnetic divergence-free condition.

    In solar physics we call such things "unipoles" to distinguish them from the infinitely harder-to-find "monopoles". Unipoles are all over the surface of the Sun, because the conductive interior hides the field lines that connect opposing unipoles.

    It is disingenuous at best and downright deceptive at worst to call the HZB result "evidence for magnetic monopoles", because it ain't.

    The only plausible true magnetic monopole detection ever was still in Blas Cabrera's instrument at Stanford in the 1980s. It was never replicated, so it is unknown whether they exist but are extremely rare (and Cabrera was just lucky) or whether his detector glitched.

  5. Actually, more interesting than that... on Professor Gets 4 Years in Prison for Sharing Drone Plans With Students · · Score: 4, Interesting

    Since he seems to have been convicted under the EAR, which is a set of regulations having to do with rendering technical aid to foreigners, and not the ITAR, which is a set of regulations about exporting actual objects (such as munitions or rocket-control thingies), there is very close parsing required of the law to figure out what is Right or not.

    After all, the material he distributed wasn't classified, and in principle the 1st Amendment to the U.S. constitution allows you to say whatever you want to whomever you want (provided that you aren't directly inciting a crime, or lying, or distributing classified information). It's especially interesting because most violations of the EAR never get to trial -- they are generally settled by defense contractors who are eager to make good so that the flow of federal dollars doesn't dry up -- so this is likely to be a strong legal precedent. In this case, as in so many, my guess is that he had the standard language in his federal contract -- essentially "I agree to abide by ITAR and EAR" -- so that the regulations can be enforced via contract law even if the ITAR and EAR are eventually found to be unconstitutional if applied to general citizens.

    The most scary situation involving EAR/ITRAR is that I know of no legal precedent at all for the EAR in the case of a gifted, privately funded enthusiast just screwing around -- but it applies to many things that even hobbyists do now. If you take an interest in (say) cheap image stabilization systems or inertial guidance of vehicles, and share your work with some of your friends down at the rocket club (who happen to be exchange students from the Pacific Rim), the regulations say that you are liable for millions of dollars in fines and many years of jail time -- even though those technologies are well within the range of gifted college students today (and affordable for an enthusiast to tinker with). I have no idea what the outcome of such a case would be -- only that the legal bills would be immense and the hypothetical hobbyist's life would be put on hold for years, if the Feds decided to take an interest.

  6. Some ideas... on Physics Experiments To Inspire Undergraduates? · · Score: 5, Interesting

    Ultrasonic tape measure / speed of sound experiment. Ultrasonic transducers are easy to come by; students should send some pulses out one, and then sense the return pulse, giving either a numeric indicator or a voltage level that corresponds to the delay time. A little electronics heavy, but if they have had a background in electronics it should be pretty fun. Proof of concept: ultrasonic tape measures at Home Depot for $15. (Trick: you have to build some kind of ultrasonic horn to channel the pulse and collect the return pulse -- otherwise it diffuses too much)

    Lunar range finder. Get a green laser pointer and modulate it with a digital stream. Mount a beamsplitter on a little telescope and point it at one of the Apollo landing sites. Send the laser pointer beam out the telescope, pick up the return signal with a photodiode at the eyepiece. With digital correlation, you can measure the distance to the Moon in only a few minutes of integration. This may be a little ambitious for a 36 hour project, but it makes a dandy six-week independent project. As a side bonus, have them calculate the strength of the return signal. It turns out that the experiment wouldn't work without the retroreflectors planted there by the astronauts.

    Million-volt van de graaf generator. Given a length of acrylic tubing, a long rubber band, a couple of brushes, a motor, and a big metal ball you too can make sparks that leap halfway across the room. If you really do get a megavolt, you can put a Geiger counter nearby and look for gamma rays(!)

    Barometer. Make a barometer that can measure the height of your building. Pretty simple to do - just requires mercury, a glass tube, and care, or (for a more sensitive one, but harder to calibrate) an columnn of vacuum oil with a sealed partial vacuum at the top - but very moving: you can demonstrate the mass of air with remarkably simple equipment.

    Pipe organ. Have them cut the tubes to length to create a scale.

    Spectroscope. Stanford used to give out posters that could be folded up to make a little spectroscope, with a $0.10 transmission grating slide as a dispersive element. I handed them out to my CU students and asked them to do "something interesting" with them. One of them taped over the slit. Another one used razor blades and sketched the Fraunhofer spectrum of the Sun. Yet another used it to debug a sputtering apparatus for his work/study job. You probably don't want to be that open-ended, but you can certainly ask them to make one and calibrate it using fluorescent lights. Everyone but tape-boy really felt inspired by actually *seeing* spectral absorption and emission lines.

    Doppler radar. Not as hard as it once was, this may still be on the ambitious side. Edmund Scientific has microwave transmitters that will serve. Heterodyne the signal with the return pulses, the output frequency gives you the speed.

    Measure the curvature of the Earth using a car's odometer and a sextant. Cheap but effective can be had for $25-$30 at sailing supply stores. Have the students travel about 60-100 miles north or south and measure the altitude of a celestial object at both places at the same time of day. Students can "shoot the Sun" at true noon on successive days (compensating for the analemma) or "shoot Polaris" on successive nights at the same time. (Even Polaris is about a degree off the pole, so you can't shoot Polaris at different times on the same night without compensating for that...)

  7. Big deal...Mir had a ham usenet feed... on Students Call Space Station With Home-Built Radio · · Score: 1

    ...from University of Hawaii, in the early 1990s. A colleague of mine was a postdoc there and introduced me to the guys that did it. They had set it up pretty much for kicks, after a long string of voice contacts ith the cosmonauts (who must have been pretty bored up on their end too...)

  8. Re:GDL is the open source replacement for IDL on Open Source Software For Experimental Physics? · · Score: 1

    Not to attack the great work that the GDL folks have been doing, but friends don't let friends learn IDL. It's too evil and bletcherous, and stunts the mind away from producing beautiful, generalizable code toward a twisty maze of special cases, all slightly different.

  9. Perl Data Language on Open Source Software For Experimental Physics? · · Score: 2, Informative

    Perl Data Language is quite nice -- it has all the blended hackish glue-code goodness of Perl (which could be a plus or a minus depending on your personal style). CPAN (the big Perl repository) has a lot of free stuff for access to serial, parallel, and USB ports so you can control your equipment and acquire data. PerlXS (built into Perl) gives you nice access to C libraries, and PP (a meta-language that comes with PDL) helps you sidestep a lot of cruft if you have to use a C module to import large volumes of data.

    PDL has built-in commands for plotting 2-D stuff via PGPLOT or PLPLOT, and 3-D stuff via GL. I use it for all my publications.

    Some prefer NumPy or SciPy, the Python equivalents of PDL, but (IMAO) Python isn't as expressive as Perl, and the external libraries, while extensive, cannot compete with CPAN for completeness or hugeness.

  10. PDL (from Perl), GDL (from IDL), NumPy/SciPy on Open Source Software For Experimental Physics? · · Score: 1

    Perl Data Language is my personal favorite for data acquisition and manipulation - it is an extension to Perl that gives you the usual data analysis and plotting goodies, plus a nice mix of access to C code (via XS), access to the huge CPAN trove of modules (via, er, CPAN), GUI-isms (via PerlTK), and serial port / USB port access for instrument control and data acquisition.

    It's based on Perl, which can either be a huge plus or a huge minus depending on whether you like Perl.

    If you want bondage-and-discipline, you can go with GDL, which is an open-source clone of IDL. GDL's main advantage is that it is a clone of IDL, which has become the dominant language in some sectors of physics. GDL's main disadvantage is that it is a clone of IDL, which is among the more evil, bletcherous, pitfall-laden, wretched buggy cesspits of quasi-language that exist.

    Numeric Python is reputed to be good, but it's not nearly as expressive nor as flexible as Perl. Matter of taste, really.

    Gnu Octave is a MatLab clone, but does not have access to the huge library of add-on modules that you can buy for MatLab. Still, many modules exist and if you like the syntax you can stick with it.

    Another good place to start is the wikipedia comparison of numerical analysis packages.

  11. Re:Elbot? Not impressed on Machines Almost Pass Mass Turing Test · · Score: 1

    Google for it: "Eugene Goostman". It sucks too.

  12. Amazing, considering how badly they suck. on Machines Almost Pass Mass Turing Test · · Score: 4, Interesting

    I just tried out Elbot and the Princeton entry (RTFM and then google for "Eugene Goostman"). While both Elbot and Goostman parse sentences reasonably well, it is clear that they are simply trying to identify the subject of a sentence, and free-associating on that. In many cases they completely miss the point. For example, Goostman asked me several times about my profession, but wasn't able to parse meaning from "I am a scientist.", "I am a plumber.", or "I study the Sun for a living.". Both Elbot and Goostman tried the ELIZA-like trick of finding a prominent noun in my sentence, and recycling it as a question. Elbot has a cute little robot icon that emotes at you; this works surprisingly well at distracting from the inanity of its actual dialog. Goostman seems to have the better parser, but I'm not impressed by either one.

    I'm forced to conclude either that Will Pavia is an utter naif and the 25% of people who were fooled by Elbot are moronic or disinterested, or that the humans in the test were deliberately trying to throw the results by giving stilted answers to appear more like computers. These engines simply can't (yet) parse and ingest meaning even as well as even a very young human would.

  13. Re:The arXiv is great, but..... on Free Online Scientific Repository Hits Milestone · · Score: 2, Informative

    At some level, hyperlinks (at least) are standard. They're called "references" and were the closest thing to a hyperlink before the intertubes were invented. Several free services (ADS is one: http://adsabs.harvard.edu/ have spiders that walk the literature and create genuine URL-style links between articles. ArXiV is advancing custom along that path, by making many journal articles available for linking to anyone free of charge.

    Extended data sets are coming. Astrophysical Journal allows online publication of movies and data to support articles, and I imagine that ArXiV will one day too. (Though they don't have the server space to support many of the data sets that are written about in those PDFs).

    Meanwhile, most^H^H^H^Hmany scientific authors are happy to give you their original data -- just write to them and ask for it!

  14. Re:Hopefully this helps... on Free Online Scientific Repository Hits Milestone · · Score: 1

    Many journals do let the authors publish elsewhere, as a matter of course. (Astrophysical Journal is one.) Others can be strong-armed. The copyright agreement they send is not just a formality, it is the actual terms under which the authors license the work to the journal. I routinely write in that I retain a non-exclusive right to re-publish. Haven't had problems with that yet.

  15. Like anything else: quantity and ease of access on Free Online Scientific Repository Hits Milestone · · Score: 4, Insightful

    Because quantity == quality...

    I realize that you were being snarky, but you accidentally hit on a corner of the truth. The real value of the ArXiV is indeed its quantity of results, mixed with the ease of access. The traditional journals typically restrict access to their output -- unless you are at a subscribing institution, it costs $15-$50 to access a single article from a single traditional scientific journal (depending on publisher). At professional institutes and universities, which typically have online subscriptions to journals, it is possible to surf through the Literature (depending on field, back about 10-15 years) and find recent relevant knowledge extremely quickly. If you aren't at an institution that subscribes, you're SOL. ArXiV fixes that - if you publish your article both in a journal and in the ArXiV, most indexing services will notice that it is the same, and suddenly everyone on the planet has unrestricted access. That's a no-brainer for an author.

    The way that professional scientists (like me -- I am a solar astrophysicist) access the Literature has changed drastically in the last ten years. My office has about 12 linear feet of Xeroxed journal articles in three-ring binders, but I practically never refer to them. It's far faster and more convenient to access (say) the entire archives of Astrophysical Journal online than to go "grep dead trees" at the library. Citation indices such as ADS (Google for adsabs) hyperlink both references and citations, so that I can search through 50 articles relevant to a topic in less time than it used to take to look up one article and Xerox it for reading outside the library.

    Old-style pay-to-read journals get in the way of that rapid access - for example, I have rarely cited articles in Astronomy and Astrophysics, because it's a pain in my ass to download them. Until recently, my institute didn't subscribe, so I had to either pay on a per-article basis (which adds up if you are skimming for the one relevant article in a dozen possibilities), or travel to the local university to get the paper I wanted. This is a very common problem: even large universities generally don't subscribe to all the relevant journals in a given field, because web subscriptions cost thousands to tens of thousands of dollars per year per journal!

    For everyone not fortunate enough to have a computer account at a large institute that can actually afford to subscribe to dozens of journals, ArXiV is the best way to access a large volume of the literature. Hence, articles posted to the ArXiV get cited more. That makes authors want to post to the ArXiV as a matter of course. It's a virtuous circle.

    So, er, yes, quantity is quality in this case -- ArXiV was canny and/or lucky enough to get a critical mass of good work, and the quantity is the driving force that keeps the whole thing going.

  16. Re:Why NOT hand out the source? Its an app. on Bell, SuperMicro Sued Over GPL · · Score: 1

    No, actually, this stuff was worked out a long time ago. Lending your car isn't enough to invoke copyright, since you're not making a copy. Burning a new ROM is enough to invoke copyright, because you're making a new copy.

  17. Re:The Structure of Scientific Revolutions, Anyone on Why Are the Best and Brightest Not Flooding DARPA? · · Score: 1

    Ed Teller was kind of a dick. I met with him twice: once, after a public lecture, in the 1980s; and once, at a small dinner party, in the 1990s. His jingoistic zeal and fervor for the hydrogen bomb were pretty scary, even when he was an old man. He wanted to use hydrogen bombs to dig canals, build reservoirs, and generally remake the face of the Earth -- but both times I spoke with him, he telegraphed a creepy undertone of manifest destiny and the intoxicating political power that could come from powerful explosives.

    Teller was a big reason (for me) not to join DARPA. Instead, when I got my Ph.D. (Applied Physics, Stanford University, 1995) I went to work first as a contractor at NASA/GSFC and then for a non-profit research institute. If I ever had any doubts about going to work for DARPA or joining the civil service, they have been washed away by the shenanigans pulled by the Bush administration.

  18. Re:Why NOT hand out the source? Its an app. on Bell, SuperMicro Sued Over GPL · · Score: 1

    It's also not at all clear that distributing hardware is also distributing the software


    Oh, come on, Brandybuck, wake up. It's quite clear that distributing hardware with software installed on it is still distributing the software -- it's just bundled with some hardware that happens to be capable of storing and running it. It doesn't matter whether you send the files over the Internet, burn them on a CD, punch them on paper tape, or include them in a ROM you burned in the factory.

    Consider how well Hammer's business model would work if they just shipped their hardware with no OS at all. The answer is that it wouldn't -- the hardware isn't a router until it has the appropriate programs in it, and their customers want routers, not generic bare-metal hardware.

  19. Re:I'm amazed on Seagate Ships Billionth Hard Drive · · Score: 1

    I'm sorry, you can't read Coleridge's Rime of the Ancient Mariner any more -- the hard drive with the main copy had a head crash, and the backup copy was being kept in Calcutta when the revolution happened.

  20. They're in for a surprise when... on Google Crawls The Deep Web · · Score: 1

    ... they hit the Solar Dynamics Observatory database next year. It'll be collecting several petabytes of images...

  21. Roll Your Own with Perl/TK on Can You Access Your Own Cash Register Data? · · Score: 1

    There are a squillion register-like accessories on the market, from USB-controlled cash drawers and receipt printers to price scanners that operate like keyboard devices and even little scrolling LED signs to show off the purchase. It is the work of less than a man-month to put together a simple register application that dumps its output to a file.

  22. Re:Let the market decide on iPhone's Development Limitations Could Hurt It In the Long Run · · Score: 1

    "It's" -- short for "it is"
    "Its" -- possessive pronoun.

    It's a shame that, like so many articles, yours has its punctuation backwards.

  23. Re:Andersen and Landley - You don't have copyright on Settlement Reached in Verizon GPL Violation Suit · · Score: 2, Informative

    It's called, "Sour Grapes".



    Actually, no, it's not. The phrase "Sour Grapes" refers to one of Aesop's Fables, in which a Fox, unable to get his mitts on some nice, juicy grapes, grumbles that the grapes look sour. You've used a false analogy, because Diesel Dave isn't speculating that the reward wasn't worthwhile (sour). He's pissed off because he wasn't able to enjoy any himself, and therefore doesn't want Anderson and Landley to enjoy their winnings. That's more like the Dog in the Manger, a story about those who begrudge others the things that they can't enjoy themselves.

  24. Re:Will it tell me how to fix these bugs? on Mac OS X Leopard Edition: The Missing Manual · · Score: 1

    Thanks, 99..., avalys, and todd... -- it appears I need to do a fresh install. I'll take a stab at that sometime in the next few days.

  25. Will it tell me how to fix these bugs? on Mac OS X Leopard Edition: The Missing Manual · · Score: 2, Insightful

    * occasional graphic system hangs (background processes work fine, keyboard and mouse stop working, firing up a new dialog box causes a process to hang)

    * Looooong wait times for wake-from-sleep (15 seconds typical) with no indication whether it's going to wake from sleep at all (e.g. if the battery is drained)

    * sometimes doesn't sleep when lid is closed (until the battery drops to emergency levels, see above)

    * sometimes doesn't recognize monitors when waking from sleep. Sometimes the monitor it doesn't recognize is the macbook's own.

    * Fucks up screen geometry when plugged into a 1600x1200 external monitor (menu bar moves to external monitor as needed, but stays at the native-screen width; X windows and most applications silently ignore clicks near the lower or right edges of the external monitor

    I'm sorry I ever upgraded to Leopard -- it's such a buggy piece of crap that I'm beginning to feel like I'm using a Microsoft product.