Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Programming

Python Converted To JavaScript, Executed In-Browser 176

lkcl writes "Two independent projects, Skulpt and Pyjamas, are working to bring Python to the web browser (and the JavaScript command-line) the hard way: as JavaScript. Skulpt already has a cool Python prompt demo on its homepage; Pyjamas has a gwtcanvas demo port and a GChart 2.6 demo port. Using the 64-bit version of Google v8 and PyV8, Pyjamas has just recently and successfully run its Python regression tests, converted to JavaScript, at the command-line. (Note: don't try any of the above SVG demos with FF2 or IE6; they will suck.)"

Comment Public Service (Score 4, Insightful) 395

The MTA is supposedly providing a public service in transporting people from one place to another.

In order for that service to actually be useful, a published schedule is required.

For that published schedule to be useful it must be Accurate, Timely, Accessible, Sufficient, and Understandable to the great majority of the public.

If the MTAs published schedule met these minimum requirements, there would be no viable market for third party involvement.

Since there obviously IS a third party market, it stands to reason that the MTA is not providing one or more of the requirements to be useful, to the public it is supposed to be serving.

So a third party steps in to provide that service. It's the American way, and I say the MTA should spend more effort making sure their published information is actually useful to their customers.

Comment Re:Good work, but... (Score 1) 145

Zero NET charge (in a 'closed' system).

If that net charge is evenly distrubuted in a system, nothing interesting happens.

If that charge is distorted in any way shape or form, an electric current will flow.

if a current flows, a magnetic field will be generated.

If any conductor moves through that magnetic field, a new (weaker) electric field will form, generating (weaker) currents of its own, and corresponding (weaker) magnetic fields and... you get the drift.

Open up any 'closed' system to external inputs of energy and all sorts of amazing things happen... sort of like when you open up 'closed' software to external influences... the results can be amazing.

Getting back to exploring electromagnetism. When I was a young whipper snapper we had new fangled ALNICO magnets... pretty strong, but nowhere near like the 'Neo' magnets available now, at dirt cheap prices.

These new magnets are strong enough that almost all electromagnetic effects are readily visible to the untrained eye... and that sparks the imagination. The learner can easily observe cause and effect, for themselves, with their own eyes, and then go on to explore the implications using other tools, including simulations.

My point is that, without personal observation, science education is just along the lines of 'I am telling you that this is true... trust me.' That's not science, that's dogma.

Comment Good work, but... (Score 5, Interesting) 145

Simulations that are useful for learning must be grounded in reality. They must give the learner a chance to extrapolate principles from their own personal hands-on observations to the simulation.

Without original personal observation of physical phenonema, simulations are little more than 'das blinken lights' to the learner.

Don't get me wrong, the stuff offered by the OP is good. And if the kids in question already have an interest in the subject, its great.

But to spark an original interest takes hands-on, thought provoking experiments that the learner may manipulate in any way they wish (some of which you probably never thought of).

Example. Electromagnetism. My 8th grade grandson (yup I'm an old geezer who cut my teeth on vacuum toobs and RTL) learned a lot about the interplay between electric and magnetics fields just today. I suspended a magnet on a string, over an aluminum plate, and just left it there for him to find, and play around with. After he had done so, he asked why when the plate was present the pendulum swiftly assumed a stable position, whereas when the plate was absent the pendulum assumed a rather chaotic motion... even though the magnet was obviously not attracted to aluminum.

After explaining it to him and allowing him to further explore the physics with magnet wire and batteries, he came away with a firmer grasp on electromagnetism, a grasp I highly doubt he would have gotten from a canned simulation. Now that he has made a connection in his mind between the seen (magnetic damping of the pendulum motion) and the unseen (electrical currents in the aluminum plate, and the ensuing magnetic field), a simulation would allow him to further explore the subject without requiring expensive laboratory equipment.

  So, Kudos for the work, but you have to get out there and actively, physically engage them with hands-on experiments. After, that is really what science is about!

Comment Best response? (Score 1) 281

Dear Bedrock et al...

In response to your recent communication, demanding treble damages for illegal use of your Intellectual 'Property...

Upon review of our ledger, we have determined that our profit on this product amounted to negative $5000.
That is $ -5000.00 Dollars in US currency.

We therefore accept your kind offer, and look forward to timely receipt of your payment to us for $15,000 US.

We normally accept payment only by PayPal or Google Checkout, but in this instance we will waive that requirement, to allow payment by Cashiers Check, Money Order, or Western Union.
Please make payable to...
  FU Bedrock
  LongView, East Texas

Thank you for your prompt attention too this matter!

Networking

SoHo NAS With Good Network Throughput? 517

An anonymous reader writes "I work at a small business where we need to move around large datasets regularly (move onto test machine, test, move onto NAS for storage, move back to test machine, lather-rinse-repeat). The network is mostly OS X and Linux with one Windows machine (for compatibility testing). The size of our datasets is typically in the multiple GB, so network speed is as important as storage size. I'm looking for a preferably off-the shelf solution that can handle a significant portion of a GigE; maxing out at 6MB is useless. I've been looking at SoHo NAS's that support RAID such as Drobo, NetGear (formerly Infrant), and BuffaloTech (who unfortunately doesn't even list whether they support OS X). They all claim they come with a GigE interface, but what sort of network throughput can they really sustain? Most of the numbers I can find on the websites only talk about drive throughput, not network, so I'm hoping some of you with real-world experience can shed some light here."
Image

Researchers Discover How To Make the Perfect Phone Call 85

Having made amazing discoveries such as how to make the perfect cheese sandwich, linking heavy caffeine use to sleeplessness, and figuring out where all the teaspoons have gone, science has made the greatest breakthrough yet. They have uncovered the secrets of making the perfect phone call. The perfect phone call clocks in at a mere 9 minutes and 36 seconds, easily 11 minutes shorter than any conversation I've ever had with my mom. Unlike a call to mom, the perfect phone call is almost devoid of any gossip about her divorced neighbor and her heavily tattooed daughter. Instead three minutes should be spent catching up with news about family and friends, one minute on personal problems, a minute on work/school, 42 seconds on current affairs, 24 seconds on the weather, and 24 seconds talking about the opposite sex. What's left of your 9 mins 36 secs is a free for all.
Medicine

Scientists Erase Specific Memories In Mice 320

Ostracus writes "It sounds like science fiction, but scientists say it might one day be possible to erase undesirable memories from the brain, selectively and safely. After exposing mice to emotionally powerful stimuli, such as a mild shock to their paws, the scientists then observed how well or poorly the animals subsequently recalled the particular trauma as their brain's expression of CaMKII was manipulated up and down. When the brain was made to overproduce CaMKII at the exact moment the mouse was prodded to retrieve the traumatic memory, the memory wasn't just blocked, it appeared to be fully erased."

Slashdot Top Deals

Love makes the world go 'round, with a little help from intrinsic angular momentum.

Working...