Slashdot Mirror


User: whoisisis

whoisisis's activity in the archive.

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

Comments · 92

  1. Re:Is FORTRAN still winning? Was Re:Poor Alan Kay on Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize · · Score: 1

    Repeatedly allocating and deallocating can give a huge performance hit, so I tend to do all my allocations before the main loop.

    which is the correct way of doing it. Allocating and deallocating, especially larger chunks of memory, requires you to interact with the operating system.
    This should off course be avoided in tight loops.

  2. Re:Is FORTRAN still winning? Was Re:Poor Alan Kay on Bjarne Stroustrup Awarded 2015 Dahl-Nygaard Prize · · Score: 1

    I've been writing a scientific simulation in Fortran for half a year now. I usually like to write in some combination of C and Python.

    While Fortran does make the life of a compiler writer easier, I think C benefits from being a small and very popular language.
    C compilers are just more advanced, which gives it the speed advantage. But the speed difference for most purposes is negligible.
    Choosing the right algorithm and approximations is a much more important concern (factors of 10-100-1000 vs. 1.1-1.2-1.3).
    Dynamic memory management is not much different from C.

    In my experience, Fortran is extremely useful for expressing linear algebra, which is heavily used in quantum mechanics.
    At least it is much much better than C. So in terms of programmer efficiency in scientific calculations, I think Fortran beats C by quite a margin.

    Fortran sucks at pretty much anything else though. For example, I think it's a lot easier to have a config module (e.g. class) to manage simulation parameters and recompile the whole application every time you change settings than it is to use an actual configuration file.

    The next time I write a scientific application, I think I will have Python handle the logistics (parallelization, files, user input, etc.) and let Fortran do the (heavy) computations.

  3. Re:Has anyone done this? on Ask Slashdot: How To Pick Up Astronomy and Physics As an Adult? · · Score: 1

    I didn't but one of my friends did. He is some 15 years older than me, and was working as an electrician. On top of that, he is dyslexic.
    We both study physics now. He's soon finished with his masters degree. I started right after high school, and I'm currently doing a phd.

  4. RE: howto on Ask Slashdot: How To Pick Up Astronomy and Physics As an Adult? · · Score: 1

    I am a phd student in physics. I started the same year as an electrician about your age. I'm not sure if he quit his job or went down in time.
    But he manages very well.

    He's only a few years behind me, and about to finish his masters degree. He's even dyslexic, so I'm quite impressed by him.

  5. This could get messy on Electrical Grid Hum Used To Time Locate Any Digital Recording · · Score: 1

    So now what the bad guys have to to after tampering with audio recordings is to subtract the hum of the mains and add the hum at a different time. ?

  6. Re:Space/time duration/distance on Gamma-Ray Photon Observations Indicate Space-Time Is Smooth · · Score: 3, Interesting

    Seven billion light years away (seven billion years ago)

    I may not have this right, but due to the expansion of space, wouldn't it have been closer than seven billion light years away at the time of the kaboom? And if the light's taken seven billion light years to get here, space will have expanded further, so the remnants would now be further than seven billion light years away. Right?

    Or is this the sort of thing where you can be specific about the distance, or the time, but not both?

    Wikipedia has an answer, but I think the above is just meant to give the layman some rough understanding of what's going on.

    Beware that it is extremely difficult to measure these kinds of distances exactly. The figure may be a few orders of magnitude wrong, so whether you take into account the expanding universe or not may not be that important...
    Cosmologists measure everything in gigaparsec. 7b light years is only 0.3 GPc so it may not be that important.

  7. Re:Better Details on Nmap 6 Released Featuring Improved Scripting, Full IPv6 Support · · Score: 2

    I find it a bit amusing that their IPv6 address starts with 2600

  8. TEMPEST on Stealing Smartphone Crypto Keys Using Radio Waves · · Score: 1

    Looks like they need some TEMPEST shielding.

  9. Re:256 qbit per atom? on IBM Shrinks Bit Size To 12 Atoms · · Score: 1

    See also Phys. Rev. A 78, 012336 (2008) http://pra.aps.org/abstract/PRA/v78/i1/e012336. With Holmium they get 60 qbits per atom from these "pooled states".

    The articles are slightly old. K. Mølmer said during a lecture some time ago that they have found an atom suitable for 128 or 256 qbits with this method.

  10. Re:256 qbit per atom? on IBM Shrinks Bit Size To 12 Atoms · · Score: 1

    Not exactly. They have quite some clever ways to handle these Rydberg states in neutral atoms. They use hyperfine splitting to get a large amount of qbits in single atoms.

    See Rev. Mod. Phys. 82, 2313–2363 (2010) (http://rmp.aps.org/abstract/RMP/v82/i3/p2313_1)

  11. Re:1/12 bit per atom? Not impressed. on IBM Shrinks Bit Size To 12 Atoms · · Score: 1

    I think they used one or a few electrons in iron or nickle. An electron can be in any number of excited states.

  12. 1/12 bit per atom? Not impressed. on IBM Shrinks Bit Size To 12 Atoms · · Score: 1

    I've seen researchers at our university create 256 qbits in a single atom. Of course, qbits are not directly usable in conventional computing...

  13. News for nerds on North Korean Dictator Kim Jong Il Dead at 70 · · Score: 0

    How does this qualify as "News for nerds, stuff that matters"?

  14. Re:interesting, but vaguely in line with estimates on Smallest Known Black Hole Found · · Score: 3, Informative

    I am a physicist, although not an astronomer. Indeed, microscopic black holes (less than the earth mass) are speculated to exist. They're called primordial black holes and must be created in the early universe.

    They're candidates for the sources of gamma ray bursts.

  15. Encrypt your data on Ask Slashdot: Is Your Data Safe In the Cloud? · · Score: 1

    Well, I trust both Google and Dropbox enough to store my encrypted backups. Wouldn't upload anything important without encryption though.

  16. tp-link wr1043 on Ask Slashdot: Best Flash-Friendly Router To Replace Aging WRT54GS? · · Score: 1

    I run OpenWRT Backfire on my TP-link WR1043. It even comes with an USB port.
    It's MIPS based, comes with 32 MB ram and a gigabit switch etc.

    Can only recommend.

  17. Re:"Truly random numbers" on Physicist Uses Laser Light As Fast, True-Random Number Generator · · Score: 2

    Well, something has to explain what we observe in the lab.
    So far, quantum physics is the only successful theory.

  18. I don't really see the problems in wind/solar powe on The Myth of Renewable Energy · · Score: 1

    In wind power, yes, you use rare earth materials. But at end of life, these can be recycled. It's not like we throw
    the rare earth materials into space when we're done with them.

    Solar power uses ground water in deserts. Does this even run out? I mean, ground water is there because it rains or comes in from the sea.
    Evaporating water from solar panels still make it into rain and so the cycle should continue.

    What's the fuss?

  19. Re:Plasticity on MIT Creates Chip to Model Synapses · · Score: 1

    or rather how it does so

  20. Plasticity on MIT Creates Chip to Model Synapses · · Score: 1

    I wonder if this chip can do plasticity and learning just as a real brain.

    One thing is to hardwire a neural network, another is to mimic the brain.
    The brain constantly rewires itself in different ways to learn.

  21. Re:I actually value speed on Ask Slashdot: Unity/Gnome 3/Win8/iOS — Do We Really Hate All New GUIs? · · Score: 1

    I'm 23 too, and I use Fluxbox for the exact same reasons.

  22. What is this unity of which you speak? on Ask Slashdot: Unity/Gnome 3/Win8/iOS — Do We Really Hate All New GUIs? · · Score: 1

    When I started using Linux, I used WindowMaker as my window manager. It was a bit bloated, but it was fast and efficient.
    I soon switched to Fluxbox, since it is much nicer and easier to customize and it does not get in your way.

    With Fluxbox, there is nothing (no icons, and no annoying screen-estate eaters or blinking distractions) but a single menu always /just one mouse click away/
    with your most used applications in it. You don't even have to move your mouse and hit (or miss) an icon first.
    Desktop switching couldn't be faster, just press alt+fx or scroll with your mouse.
    No annoying or time consuming animations to distract or delay you.

    I love Fluxbox!

  23. Historical counterexample on The Stroke of Genius Strikes Later In Life Than It Used To · · Score: 2

    Joseph Fourier made a scientific breakthrough quite late in his life (ca. 1820). We wouldn't be where we are today without his theories.

  24. Re:Another approach on How To Catch a Laptop Thief? · · Score: 1

    With encryption you don't even have to think about it. You can just forget you ever owned the computer.

  25. Another approach on How To Catch a Laptop Thief? · · Score: 2

    I just encrypt my hard drive. If a thief nicks my laptop, all he's going to get is a piece of (old) hardware and a disk full of seemingly
    random numbers. While it's annoying, you don't need to put resources into tracking the bastard, just get on
    with it and buy a new machine, which you would anyway.

    Hardware is cheap. Data is your time, work and money, so protect it with encryption and keep backups.