News for hackers. Stuff that matters.
Re:Germany is turning on its monster stellarator by jakeogh on Monday November 02, 2015 @06:23AM (#10491248)
Re:Germany is turning on its monster stellarator by adrianN on Monday November 02, 2015 @06:46AM (#10491336)
I find watching the assembly of these ultra-high tech machines to be super inspiring. It gives me all kinds of warm fuzzies to see what we're able to do if we put our mind to it.
Re:Germany is turning on its monster stellarator by balabaster on Monday November 02, 2015 @07:51AM (#10491540)
Mostly it's inspiring because most people sit back and say "It can't be done, it's impossible" or "wow, they must have had a shit ton of luck to get this out of the door" instead of looking for solutions or ways to circumvent or exploit the million little problems along the way that seek to obstruct the endgame.

Kudos to these guys for sticking at it long enough and persevering to achieve their vision.

Re:Germany is turning on its monster stellarator by TeMPOraL on Monday November 02, 2015 @09:53AM (#10492047)
I guess different people see different things in such projects. What I see:

  - *massive* success of coordination and cooperation
  - illustration of potential humanity has
  - that careful and methodical approach can make even such monsters of recursive complexity work
Luck does not enter the picture. Will and determination do though.
Re:Germany is turning on its monster stellarator by balabaster on Monday November 02, 2015 @11:29AM (#10492805)
You'd be surprised how often will and determination is more of a factor of success than luck.

[Your level of surprise may vary]

Re:Germany is turning on its monster stellarator by nerdy on Monday November 02, 2015 @09:16AM (#10491888)
My inspiration from massive science projects is more like: "With that in mind, debugging this 1500-line function is nothing!"
Re:Germany is turning on its monster stellarator by balabaster on Monday November 02, 2015 @09:28AM (#10491939)
Dude... refactor that shit. There is no place in today's development world that a 1500 line function is okay :P
Re:Germany is turning on its monster stellarator by fsloth on Monday November 02, 2015 @09:53AM (#10492046)
Not all functions are refactorable. A 'purely hypothetical' scenario: a numeric routine of several klocs on length, that takes in 20 parameters with 1-3 letter obscure variable names, was written 30 years ago in fortran, was f2c:d 20 years ago into c and has been doing it's 'stuff' correctly ever since somewhere in the bottom of mission critical code in a codebase of millions of lines. Commercial codebase. Only a handful of developers. Management expect new features and expedient, safe bugfixes that do not change end user functionality.
Re:Germany is turning on its monster stellarator by annnnd on Monday November 02, 2015 @10:10AM (#10492140)
The scenario you describe is a disaster waiting to happen.

Refactor it, preferably yesterday - but make a "shadow deploy". For each set of input / output parameters run both functions and compare them. If they differ, use the old one and go back to figuring out where it went wrong. After some time you can be quite sure that the new clean function works as it should - then you just switch.

Re:Germany is turning on its monster stellarator by HerpDerpLerp on Monday November 02, 2015 @11:09AM (#10492619)
I am not sure the above idea is mentioned by Michael Feathers in his amaze book "Working Effectively with Legacy Code" but it is a great idea, and combined with the things that Michael does cover will do you a lot of good!

http://www.amazon.co.uk/Working-Effectively-Legacy-Michael-F...

Re:Germany is turning on its monster stellarator by TeMPOraL on Monday November 02, 2015 @09:58AM (#10492072)
That's actually simple. All you need is to npm yeoman to generate a proper skeleton for grunt and gulp to work using Mockito.js, C2F.js and Fortran.js, then you can auto-generate unit tests that will be paralelly distributed over AWS.

More seriously though, the kind of code you described will be what I imagine the first subject of study of the software archeology field in the future.

http://akkartik.name/post/deepness

Re:Germany is turning on its monster stellarator by Practicality on Monday November 02, 2015 @09:45AM (#10492013)
Indeed. It will save you from needing inspiration to debug it as well. It's much less cognitive load when you break those crazy things into understandable parts.
Re:Germany is turning on its monster stellarator by joelberman on Monday November 02, 2015 @10:08AM (#10492126)
The potential speedup on those old F2C routines is amazing. The ability to use much more memory, understand cache levels, etc. have a huge impact.
Re:Germany is turning on its monster stellarator by TeMPOraL on Monday November 02, 2015 @09:45AM (#10492015)
When was the last time you've seen pure Assembly? Also, JavaScript namespacing shenanigans & stuff... :P.
Re:Germany is turning on its monster stellarator by nerdy on Monday November 02, 2015 @10:50PM (#10497369)
I make 3rd party/unsanctioned mods for video games in my free time, which involves plenty of Assembly :)
Re:Germany is turning on its monster stellarator by nerdy on Monday November 02, 2015 @11:55AM (#10493007)
It's a legacy system developed by someone who is lucky he lives 4300 miles away!

I've been working at the system to free it from that subsystem with an eventual replacement. There are all kinds of single-letter variables and Russian words, refactoring wouldn't be economical or sane.

Re:Germany is turning on its monster stellarator by justifier on Monday November 02, 2015 @09:37AM (#10491975)
the first video claims a magnetic field strength of 2.5 Tesla(o) roughly that of an MRI(i)

can anyone speak to sort of considerations that lead to this value? 2.5T seems insignificant considering the events it will be confining

how sensitive is the field to magnetic interactions outside of the device?

(o) https://youtu.be/lyqt6u5_sHA?t=301 (i) https://en.wikipedia.org/wiki/Tesla_(unit)#Examples

Re:Germany is turning on its monster stellarator by jessriedel on Monday November 02, 2015 @09:49AM (#10492024)
Steady magnets can't get much stronger than that. The very strongest steady magnets, purpose built, are in the 40-70 tesla range. I believe the limit is set by the break down of normal matter. Higher field strengths can be achieved, but only for fractions of a second and are general destructive.
Re:Germany is turning on its monster stellarator by madaxe_again on Monday November 02, 2015 @11:16AM (#10492680)
Imploding coils. This stuff gets me every time I see it - chills down the spine. You can induce a field in the MEGAtesla range for an infintesimal amount of time. Take a copper (or superconductor, if you're feeling ballsy) coil, run a huge current through it from your enormous capacitor bank, set off a wad of high explosive surrounding the apparatus - the near-instantaneous collapse of the conductor causes the field within to become absolutely enormous - and equally importantly the Ts-1 - i.e. the rate of change of the field - again, you can induce enormous currents outside of the apparatus through induction.

This technique is mostly used in solid state and, surprise surprise, fusion experiments. Oh, and you can make an EM bomb if you make a big enough one, and wipe out a city's electronic infrastructure in a microsecond. https://en.wikipedia.org/wiki/Explosively_pumped_flux_compre...

Re:Germany is turning on its monster stellarator by madaxe_again on Monday November 02, 2015 @09:46AM (#10492018)
That's part of the beauty of the stellarator design - you need a comparatively weak (2.5T is still an unholy field) field to maintain containment.
Re:Germany is turning on its monster stellarator by ihsw on Monday November 02, 2015 @10:10AM (#10492136)
Probably for each magnet, of which there are fifty.

And considering these devices are heavily shielded, I would doubt there would be much interaction outside.