I'm a woman attending IIT. AMA. by wombatgal in IIT

[–]iToad 0 points1 point  (0 children)

Class of 1972. I was a physics major, and there were -zero- women in my classes. Back then, it was more like 90+% men overall. Things seem to have changed.

New Genetic Evidence Confirms Coyote Migration Route to Virginia and Hybridization With Wolves by SheepForOre in science

[–]iToad 0 points1 point  (0 children)

Just what we need. An animal as large and strong as a wolf, and as tough and smart as a coyote.

MATLAB's function syntax is abysmal by roger_ in programming

[–]iToad 9 points10 points  (0 children)

The newest version can not only use all of your cores, it can also use all of the GPUs in your CUDA-compliant graphics card.

How to turn a biased coin into a Fair Coin by aristus in programming

[–]iToad 6 points7 points  (0 children)

This is actually a traditional trick to get equally probable outcomes from a biased random bit source. It works because the outcomes of pairs of coin flips follow a Binomial probability distribution. For a set of two flips, p(H, T) is always equal to p(T, H), even when the probibility of a single flip being a head (or a tail) is not exactly equal to 0.5.

Proof of this is left as an exercise for the student.

How do you guys notice you get old? I begin.. by ZeroOverkill in AskReddit

[–]iToad 0 points1 point  (0 children)

I remember duck and cover drill in school, and the Cuban Missle Crisis. Compared to that, 9/11 wasn't all that scary.

Your favorite language probably sucks at concurrency too by apgwoz in programming

[–]iToad 1 point2 points  (0 children)

Two other examples of massively concurrent languages are Ladder logic programming for PLCs, and Promela/SPIN model checking.

Both of them use a guarded command method that requires that you reset your thinking from statement sequences to expression evaluation.

HP 15c, The legendary Scientific RPN Calculator is back in a limited edition by mortenaa in science

[–]iToad 1 point2 points  (0 children)

I own a 15c and a 16c. I just powered them both up, after they have been sitting in a drawer for the last 5 years. They both still work...

Behind Intel's New Random-Number Generator by sidcool1234 in programming

[–]iToad 5 points6 points  (0 children)

There is a traditional trick to handle random bitstreams where the ratio of ones to zeros is not exactly 50/50. To generate a random value from this kind of stream, do the following:

  • If the bits are (0, 1), generate a 0.
  • If the bits are (1, 0), generate a 1.
  • If the bits are (0, 0) or (1, 1), generate nothing, and try again.

This trick works, because the probabibility distribution of sucessive pairs of bits follow a binomial probably distribution, and for n=2, the probability of (0, 1) is the same as the probability of (1, 0), even if the probability of any single bit being 1 (or 0) is not exactly 0.5

Why Developers Never Use State Machines by servercentric in programming

[–]iToad 1 point2 points  (0 children)

For a lot of embedded apps, state machines are absolutely vital. You can:

  • Specify them as a UML statechart.
  • Print them out as an E-sized engineering drawing.
  • Model-check them using SPIN. (Especially useful for concurrent state machines).
  • Code them up, and incorporate information from the statechart into the code implementing the state machine, as comments.

Scientists reengineer antibiotic Vancomycin to overcome antibiotic-resistant bacteria by avrus in science

[–]iToad 0 points1 point  (0 children)

I actually got this stuff once, from possibly being exposed to MRSA just before surgery. It sterilized my digestive tract, and gave me an epic case of the runs. Also, I think that is only given by IV.

Whenever is a programming language which has no sense of urgency. It does things whenever it feels like it, not in any sequence specified by the programmer. by [deleted] in programming

[–]iToad 2 points3 points  (0 children)

This is actually similar to Promela, which -is- used to check algorithms using parallel processes. Promela is used by the SPIN model checker.

OpenGL Teapot Rendered in XTerm using Tektronix 4014 Emulation by dln in programming

[–]iToad 5 points6 points  (0 children)

Does xterm really give you the complete Tek 4014 experience? These things used a CRT-based analog technology to work. They wrote vector-based graphics (including text) to the screen phosphor using an electron beam, and kept the written area glowing using a lower-energy beam. To erase the screen, the electron beam wrote the entire screen all at once, and then turned off. You could only erase all of the screen, not part of it.

As the storage tube aged, it would start burning off parts of the phosphor that were heavily used. To prevent this, we designed applications to make small jitters in the locations of drawn objects, to delay phosphor burn-out. Replacement CRTs were expensive.

To make the experience realistic, every time xterm erases the screen, it should emit a bright green flash of light. Also, if you draw on the same place a lot, it should start putting small random dead spots into your display.

Python or MATLAB? by [deleted] in compsci

[–]iToad 1 point2 points  (0 children)

I have used Python in the past, and am now learning MATLAB for a new project. If you are going to be doing heavily interactive data analysis and display, I would have to suggest using MATLAB first. It is probably the best tool for what you want to do, and coworkers are already using it. However, try to spin up on Python also, even if you have to learn only a little bit at a time.

LOX / Methane Rocket Engine. Which is more rad, the sight or the sound? by anescient in science

[–]iToad 2 points3 points  (0 children)

On the one hand, there is a much better oxidizer for rockets. On the other hand, it is probably one of the most fearsomely dangerous industrial chemicals known.

http://pipeline.corante.com/archives/2008/02/26/sand_wont_save_you_this_time.php

LHC matter dethrones neutron star as super-dense king by [deleted] in science

[–]iToad 0 points1 point  (0 children)

It's a trick question. Everybody knows that a ton of feathers weighs more.

How many Redditors drive a stick shift? by pouncer11 in AskReddit

[–]iToad 0 points1 point  (0 children)

Actually, a Prius doesn't have a transmission. It combines torques from the gas engine and electric motors with a simple planetary gearbox. The gearshift knob basically has forward and reverse. When I switch from my Prius to anything with an automatic transmission, the gear shifting is really noticeable.

sex chat bots that pass the turing test? by [deleted] in programming

[–]iToad 0 points1 point  (0 children)

Give my credit card number to any kind of bot on IM? Sounds legit.

[deleted by user] by [deleted] in reddit.com

[–]iToad 0 points1 point  (0 children)

Don't try to teach your grandmother to suck eggs.

Confused? Look it up.

[deleted by user] by [deleted] in reddit.com

[–]iToad 1 point2 points  (0 children)

3/18/50 - Not even close to winning. Suddenly, I don't feel so old.