Slashdot Mirror


User: Setsquare

Setsquare's activity in the archive.

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

Comments · 28

  1. Re:Genders need to be static across regenerations on Should the Next 'Doctor Who' Be a Woman? · · Score: 1

    If genders were dynamic then you would wind up with some very inconvenient time lord marriages.

    Just changing ages would make marriages inconveniant. River Song (40ish) married to David Tennent (late 30s) was believable. The marriage to Matt Smith (20s) wasn't. I've even heard a theory where Susan (introduced to viewers as the Doctor's granddaughter) was really the elderly grey haired wife of the Doctor who regenerated into a teenager. Their relationship went sour after they got chaperoned by her school teachers for two years. When Susan fell in love with someone else the Doctor locked her out of the Tardis and left without her.

  2. Re:Not So Fast On The Pointers on Linus Torvalds Answers Your Questions · · Score: 1

    Won't CPU branch prediction make the if based version as fast as the pointer to pointer version? If you have a thousand element list, then there's a only 1 in a thousand chance that you're deleting the first element all the other times you head down the other side of the conditional.

  3. Re:Screw websites that *require* a login on Android Forums Hacked: 1 Million User Credentials Stolen · · Score: 1

    Shouldn't forums just need a digital signature?

  4. Singularity? on The PHP Singularity · · Score: 1

    Singularity. Isn't that the next stage of evolution where nanotech and AI give us perfection and eternal life? Who would have thought the PHP community was at the forefront of machine intelligence?

  5. Re:Hard truth on Why VCs Really Reject Startups · · Score: 1

    My friend who goes by the alias of paperhorse has had a universal lossless compression algorithm up on Stackoverflow for over two years and it hasn't even received an up vote. They're incredibly easy to make and understand. Just make sure you write down how many times you compress your file, otherwise you won't be able to reinflate all your zero byte avi's back up to their normal size.

  6. Re:Yes there is on No Tech Panacea For Tech-Distracted Driving · · Score: 1

    I'd like a button which gives 5 minutes of self drive or remote drive. You don't have to trust the computer (or teledriver) with the most complicated parts of your journey but you get enough time to fix your phone/music/gps/coffee. Pulling over and stopping always seems to add a huge amount of time to long trips.

  7. Re:Set a reminder for 20 years from now on What To Do About an Asteroid That Has a 1 In 625 Chance of Hitting Us In 2040? · · Score: 2

    In 2040 Bruce Willis will be 85. What's he gonna do? Tell the asteroid to get off his lawn?

    I think he's suppose to blow up the asteroid before it hits us and before the asteroid-people send their Bruce Willis to blow up a 14000km wide rock which is on a collision course with them.

  8. Re:Dark Side on 1st Video of Moon's Far Side · · Score: 1

    there is no dark side of the moon. At least, no permanent one -- of course, one side is dark at any moment,

    You're not taking Earthlight into consideration. Midnight (moon time) on the near side always has a full Earth brightening things up. Midnight on the far side is extremely Dark.

  9. Re:Great idea! on NTSB Recommends Cell Phone Ban For Drivers · · Score: 1

    Here's a study by the Virginia Tech Transport Institute which says talking on the phone isn't at all dangerous for truck drivers and is only has a tiny risk for car drivers. Based on real life (cameras logging near misses in actual cars and trucks), so it might be a little more accurate than the video games other researchers use.

  10. Re:Planet of the Parrots on Wild Parrots Learning To Talk From Escaped Pet Birds · · Score: 1

    Isn't it the other way round? 5 million years ago intelligent parrots genetically engineered some apes with smart bird characteristics : they walked on 2 legs (like birds), they vocally talked (no other ape species can), feathers were too hard so they settled on a molted appearance. Naturally our ancestors revolted and destroyed their entire civilisation.

  11. Re:Perversion of Capitalism on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    account.balance += account.balance + account.balance << 3;

    Sadly, I'm afraid the average /. poster (or recently graduate CS'tist for that matter) wouldn't even understand the code refactoring you just proposed. Everything here is "blah, it's easy, I'm awesome, let me show you how", and then they drop a naive turd as an example.

    The thing is they're right : shift has lower precedence than adding so what you're really doing is
    account.balance += (account.balance + account.balance ) << 3;
    which actually multiplies your balance by 17.

  12. Re:implausible? it's magic! on Aussie National Broadband Network Will Be Gigabit · · Score: 1

    Is it really surprising that it seems implausible to a man who doesn't even understand the concept of "peak speed"?

    You could actually explain terms rather being an elitist know it all. I asked a couple of people I know about peak speed and got two different answers, so I still don't know

    Keitha said that Peak Speed is like Peak OIl. That network speeds will increase for a few years before reaching a peak and continue to decline after that. We can push back the date of peak speed further into the future by conserving network speeds with 200MB download limits. This will allow future generations of Aussies an internet so fast that all their slashdot posts will be first posts.

    Bruce said that Peak Speed is like Peak hour traffic, its when everyone gets on the internet at the same time and the data packets crawl along at on tenth of their normal speed. You can get your downloads to speed up by beeping (pinging) your horn and swearing at the data packet in front of you.

  13. Dome sweet dome on How To Build an Open Source House? · · Score: 1

    Just get your city councilors to dome your city. If you get a double-glazed dome then your house doesn't have to keep in heat, or keep out rain, or not fall over in a strong breeze; so you could easily build the walls from paper (recycled of course) and the frame out of cardboard. Domed cities don't just mean cheaper housing : you never to carry an umbrella, you don't have increased car accidents when it rains.

  14. Re:The blame game on Why Online Privacy Is Broken · · Score: 1

    but in a general sense unless the actual source of the problem, a complete lack of laws protecting our privacy, is brought to light, I do not expect any real change.

    I'm pretty sure there a plenty of laws protecting real privacy. Facebook users seem to have a different definition : not about protecting their personal individual information but protecting their clique's information. Protecting cliquishness is probably a bad thing. You'll eventually have a nation sized clique gossiping (in facebook defined privacy) about how awful neighbouring nations are.

  15. Re:Confirmed! the IT industry runs on ... on 10,000 Cows Can Power 1,000 Servers · · Score: 1

    Fringe science like this is just too dangerous to release on the world. The inventor of this should be locked up in that asylum Walter Bishop was in.

  16. Re:NASA tested this a while back on Was Flight Ban Over Ash an Overreaction? · · Score: 1

    http://www.popsci.com/science/article/2010-04/why-cant-planes-fly-through-volcanic-ash-because-nasa-tried-once It basically starts to eat the plane's internals

    What that story really implies is that there was an ash cloud from an icelandic volcano over europe in February 2000. No air space was shutdown. And noone crashed (including the Nasa plane). They found some "scary" engine damage by examining their engine with a microscope.

    (By the way, your link is dead, here is the google cache)

  17. Re:Interesting on Ubuntu Will Switch To Base-10 File Size Units In Future Release · · Score: 1

    those who know how big a MB actually is will continue knowing, and will quickly (and eagerly) find the ways to make their computers show sizes correclty.

    How big is a megabyte?

    Does any binary-ist really know without reaching for their calculator? I date back to 1980's microcomputers and could recite all the powers of 2 upto 2 to the 16th (65536). I gave up after memory sizes went beyond that. I hand assembled Z80 machine code by looking up their hex codes in an opcode table. We don't live in the world where we deal directly with binary any more.

    I've been a decimal-ist for a few years and early on I actually almost finished a decimal file manager (there weren't any at all back then). It used resistor notation (where k/M/G isnt at the end of the number, but in the middle replacing the decimal point [period]). It showed all the digits in the filesize, but only the first four were in black, the rest were ghosted down to gray. That way you could easily read the approximate size, or look harder and read the complete number. Eg 314159265 would appear as 314M159265

  18. Re:So what? on Simpler "Hello World" Demonstrated In C · · Score: 1

    I get 517K for a static link of a hello world executable. 5.8K for dynamic. That really is super pathetic. (I'm on linux running gcc 4.4.3-3, the static file was stripped)

  19. Re:Might be a mistake but not where Rob is pointin on Schooling Microsoft On Random Browser Selection · · Score: 1

    Well unless there is something else going on Rob needs to go back to school too. A simple quicksort algorithm with the comparator replaced with a random choice becomes a recursive random partition of the array. A simple inductive argument shows that this will not produce the unbalanced results he found. So the problem is elsewhere (most likely in the RNG seeding or a bias in the pivot selection, if he is running it in a tight loop and the seed is something like, current second, then the same seed may appear several times).

    You do realise that quicksort is whole family of algorithms? Most library routine writers consider it a bug if you sort the same data twice and it comes up in a different order, so they tend to avoid random pivot and use median of 3 or 9 pivot instead. These will give biased shuffling. They also also switch to insertion sort for small subarrays which will lead to biased shuffling.

    Closing the walls partitioning takes 1/2 to 1/3 times as many swaps as the Lomuto partitioning (which is a simple left to right for loop) so it's usually the preferred method to partition. Lomuto also goes quadratic for equal valued elements. Most closing the walls partitions use the pivot as a sentinal, but with a random comparison the indexes can walk right past the end the subarray and generate an array index error.

  20. Re:Frankly, I was disappointed on Reviews: Star Trek · · Score: 1
    Red matter isn't that big a stretch from today's science. Strange Matter has fairly strong theory behind it and red is just another type of quark.

    Besides I vaguely remember all the star trek episodes and definitely vaguely remember a series finale where Captain Bristow has to stop a big red matter ball from turning a whole city into zombies.

  21. Re:Keep it simple! on Best and Worst Coding Standards? · · Score: 1

    Actually it (thanks to 2s complement arithmetic) gives the right answer. "A" decrements down to MIN_INT then wraps round to MAX_INT then decrements all the way down to 0. It effectively calculates the unsigned equivalent of "a" (being 2**32 -a) times "b". The result of that is b*2**32 - b*a. The first part doesn't fit in your int, so you're left with -b*a. Of course, if you have 64-bit ints you may have wait a few decades.

  22. Re:It's not about teaching it. on How To Teach a Healthy Dose of Skepticism? · · Score: 1
    Early returns are gotos. As are break and continue statements. The Java break from a named loop is absolutely a goto.

    The proper early Pascal way to do this is to make up a loopExit boolean. Set it deep inside your nested loops and have all those loops read while (not loopExit) and realCondition do ...

    Its pretty awful really. All the methodologies and preferredologies promising to eliminate your bugs are just near useless superstitions.

  23. Giant air conditioner on Scientists Blocking out the Sun · · Score: 1
    I'm sure the first thing laymen think of as a solution for global warming is a giant air conditioner. I've never seen any paper or climate blog showing that its impossible or too expensive or even considering it at all.

    I assume there's some really obvious disadvantage but I'd really appreciate if some expert could point it out in a reply.

  24. Re:Old rule. on NASA To Retire Atlantis by 2008 · · Score: 1
    I really think giving up the optimistic launch schedule was the biggest mistake for the shuttle. If they were throwing them up into space as fast as they could (I believe the desired launch schedule was 50 launches a year) and you knew you were cutting corners to achieve it then no-one would suffer from the delusion that they were ever safe and they might use the safety strategy they used for shuttle flight number 1 : only stick one brave pilot aboard and no passengers.

    In five years time you'd either have no shuttles and only 5 deaths and you could start working on a better space craft; or perhaps you get lucky enough to tweak away all the problems and have an ongoing very active space program.

  25. Re:Swap sucks. :) on Is Swap Necessary? · · Score: 1

    Seymour Cray quote on virtual memory: "Memory is like an orgasm. It?s a lot better if you don?t have to fake it."