Slashdot Mirror


User: abies

abies's activity in the archive.

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

Comments · 507

  1. Re:No, not really on G7 Vows To Phase Out Fossil Fuels By 2100 · · Score: 1

    One of my friends was so early adopter of the hybrid cars that he got one as soon as possible, with considerable premium paid - because it got transported to Germany by plane. He was so proud touting his environmental friendliness until I asked him to compute when his car will save enough gas/pollution to save extra things which had to be used to transport it by plane instead by ship...
    Another, living in quite cloudy/rainy part of Germany, installed solar panels on his roof to save environment. This was in 90ties... you can imagine pollution cost/effectivness of producing/transporting panel back then to what he was getting in terms of electricity.

    Anyway, a lot of 'normal' German people are very eco-oriented, but they look at it with specific approach - they are early adopters of anything sounding 'green', regardless of actual benefits or cost to environment.

  2. Re:terrible idea, already fucked up on Leaked Document Shows Europe Would Fight UK Plans To Block Porn · · Score: 1

    'Someone with beef against government' may mean someone explaining how to make 2 tons of explosives and where to park them in Westminster to cause maximum damage.

  3. Re:Doing it wrong. on Hydrogen-Powered Drone Can Fly For 4 Hours at a Time · · Score: 1

    http://www.airships.net/hydrog...

    It is very hard for me to get exact numbers in few minutes, but we would need to compare amount of people transported by dirigibles/number of deaths to amount of people transported by planes/number of deaths. I have no doubts that more people died in airplane crashes over all time, but at same time I feel that number of people who survived plane flights will anyway make this ratio better by orders of magnitude.

    Big part of it might be due to maturity of technology - if we had dirigibles now, they would be quite flawless. But I don't think that you can compare 1900-1940 era of dirigibles to 1950+ era of commercial aviaton in any kind of safety metrics and have dirigibles come on top.

  4. Re:Doing it wrong. on Hydrogen-Powered Drone Can Fly For 4 Hours at a Time · · Score: 1

    Yep, Hindenburg got it wrong. If they only knew your trick...

  5. One-time pads on Australian Law Could Criminalize the Teaching of Encryption · · Score: 2

    What is the 'key length' of one time pad containing 1MB of data? Xoring against properly randomized one time pads is one of strongest encryptions possible, will teaching about XOR also forbidden under new ruling?

  6. Re:Progress on Arab Mars Probe Planned For 2020 · · Score: 1

    Aren't you confusing Enlightenment with Renaissance? Thirty Years War ended in 1648 and Enlightement is generally counted from 1650 onwards. One of the points of Enlightement was that it was getting away with ugly, supersition-based wars.

    As for GP, don't worry, Arab states are nowhere near that point.

  7. Re:The ultimate ugly hack? on C Code On GitHub Has the Most "Ugly Hacks" · · Score: 1

    For me XOR swap was always an example of hack which is extremly ugly if not commented.
    http://en.wikipedia.org/wiki/X...

  8. Re:Very C like. on Singapore's Prime Minister Shares His C++ Sudoku Solver Code · · Score: 1

    Modern C++ would involve solving sudoku on compile time with template metaprogramming. All the stuff with classes, virtual functions, STL etc is so 90ties...

  9. Best deals? on How an Open Standard API Could Revolutionize Banking · · Score: 3, Insightful

    I can understand benefits of standard, open API for automatic processing of orders for companies and various home-budget tools. But I don't get "automatically calculating the best deals in complete transparency". Do you really need a program, querying 100 of banks in realtime for the best place to have your current account _today_? And tomorrow you are going to switch, because international transfers over there are half cent cheaper?
    API for transactions - sure yes. But API for bank offers metadata? Isn't it bit too much?

  10. Re:uh... on Verizon Tells Customer He Needs 75Mbps For Smoother Netflix Video · · Score: 3, Interesting

    I understand your idea, but I think this is not true with TCP/IP. Latency IS affecting throughput considerably.
    a) There is a limit of un-acked bytes which can be pushed, so there is guaranteed limit depending on distance (and with 5 seconds it is going to be very visible)
    b) With any kind of packet loss, which is to be expected, window size will reset, slowing it even more

    Only info I was able to find about that was quite old and metioning various workarounds which will be implemented for that in 2010 or so ;) Does anybody know how it looks like these days on majority of internet? What will be expected maximum throughput over TCP/IP with 5s ping, with 0% packet loss, 0.1% packet loss and 1% packet loss?

  11. Re:No disrespect to GCC, but why not LLVM? on GCC 5.1 Released · · Score: 1

    I know - this is why it was taking me 2-3 days to find a 100% reproducible bug (at least before I added debug printfs...). I just could not believe the gcc might be at fault.
    Now, to be completely honest, first bug was present only on SPARC cpu on Solaris, x64 AMD was fine. We had to use gcc because one of libraries we were using was based on stlport compiled with gcc, so CC was out of question. I suppose that SPARC backend of gcc get a lot less testing. But second one on vanilla x64 intel linux and is still happening (gcc 4.8.2, but I think it was also checked to happen with 4.8.3). Magic option to avoid bug is -fno-tree-dse, whatever this means.

    But yes, I was just unlucky - I have no doubts that gcc works fine for thousands programs out there. Guess what - it also works fine for both programs I have done, AFTER finding magic reordering of lines or command line option to get them to work. Who knows how many strange options are lurking in some of popular programs to work around similar issues ;)

  12. Re:No disrespect to GCC, but why not LLVM? on GCC 5.1 Released · · Score: 3, Interesting

    GCC is the old, very reliable and well-known workhorse, that produces good results.

    I'm mostly working with java and python, but I had two non-trivial encounters with gcc in past 10 years. In both cases C++ code was written by experts with me being just slightly involved.

    In both cases I have hit gcc bugs which resulted in very wrong behaviour. Both times I have spent 2-3 days trying to find any reasonable explanations, ended up doing assembly dump of generated code and finding a place where gcc was generating plain wrong opcodes. In one case it was shift +or of two 32-bits to make a 64-bit number which sometimes was not loading one of registers from the stack, in second case conditional jump where condition was not set properly on second and further loops. Best part of first one was that it was working as long as there was any printf in same function (even 20 lines further down the method) - but as soon as we commented our debugging printf it was back to crashing.

    Solution to first problem was to reorganize method randomly till it started compiling properly with same random useless local variables. Solution to second was to do some kind of -no-whatever flag, which we have found of by bisection by recompiling over and over with all the combinations of flags.

    In both cases 'experts' were saying - no chance gcc can make such basic mistakes, you are looking in wrong place, I don't want to look at assembly dump, you are not supposed to second guess the compiler, linux kernel is using gcc so it is good, etc etc.

    Yes, I probably just have bad luck. But I just don't accept 'reliable and good results', being burned 2 out of 2 attempts to use gcc in commercial work.

  13. Re:4x strategy when? on Computer Beats Humans At Arimaa · · Score: 1

    I don't think it is THAT complicated. You don't really have hundreds of options each time - you have probably 10-20 options or so like 'explore', 'invest in infrastructure', 'build up military', 'attack players', etc. For each of these goals, you might need to do number of small actions - but I don't think this part is hard for computers. Given goal of 'churn out best miliary units in 5 turns', computer should be always able to come up with optimal set of moves.
    Now, moving between these higher level goals is certainly non trivial. But these are longer term decisions (few turns probably), so I don't think that decision tree explodes that much - if you keep micromanagement and high level goals separate.
    With chess, separating overarching goals from low level movements is a lot harder, as every move influences a lot more aspects of play and a lot of choices are effectively forced on both sides when you go down certain path. When you want to improve your city by building farms with no enemy units in close range, it really doesn't matter which of grasslands you go to first. I'm quite sure that most players play these things on 'auto' anyway.

    I'm not trying to say that AI in cmputer games is easy. I'm just saying that trivially multiplying all possible choice of inputs by length of game and comparing that number to chess is not really fair.

  14. Re:They're called trees. on Breakthrough In Artificial Photosynthesis Captures CO2 In Acetate · · Score: 4, Informative

    Europe and Asia (where the former has few forests left [...]

    http://en.wikipedia.org/wiki/L...
    Canada and the United States 26%
    European Union 35%

    And from
    http://wdi.worldbank.org/table...
    Europe it was 36.5% in 200 and 37.9% in 2012.

    Not sure how good these statistics are, because it says 'Canada &United States = 26%' and then 'Canada =31%' and 'USA= 30.84%'... In any case, Europe has more forest area atm and amount of forest is growing rather than decreasing.

    Or did you mean Europe has few forests left compared to situation from 2000 years ago? I can agree with that, but I don't think that global warming is THAT old - we used to have some mini ice age in meantime I think...

  15. 4 types of immortality on A 2-Year-Old Has Become the Youngest Person Ever To Be Cryonically Frozen · · Score: 0

    One of the TED talks was covering this subject - it was really a kind of eye opener for me
    https://www.ted.com/talks/step...
    Presenter argues that there are 4 basic stories about immortality, which get repeated across the ages, with slightly different color, but same underlying idea - and realizing that helps to put some distance into believing latest 'science magic'
    1) Elixir - immortality of the body (Philospher Stone, Fountain of Youth, hormone teraphy, gene telomere therapy etc)
    2) Ressurection - getting raised from dead (bible Apocalypse raise-from-dead at end of times if you are buried properly, being ressurected from cryogenic sleep by future scientists if frozen properly)
    3) Soul - preserving mind/person even if body is gone (most religions afterlife/reincarnation, mind upload)
    4) Legacy - preserving your ideas and/or genetics (having children, rising/teaching children, creating works of art, science discoveries, blowing yourself up to good of your village/country/religion etc)

    In this case, parents just wanted to believe their 'scientific' version of ressurection fairy story. It is just more expensive and slightly more gruesome than lot more common rite of putting body into ground with priest chanting over it, so it can get ressurected by allmighty God at end of time. As long as child was properly circumcised in time. Or baptized. Or hasn't killed any puppy. Or was frozen to exactly proper temperature with right mix of chemicals.

  16. Re:Isn't Cheaper, the American Dream? on IT Worker's Lawsuit Accuses Tata of Discrimination · · Score: 5, Funny

    Depends on definition of 'equal work'. I'm not sure if American workers are as good in reverting mails and doing the needful.

  17. Re:HTTP.SYS? on Remote Code Execution Vulnerability Found In Windows HTTP Stack · · Score: 4, Insightful

    Bundling http support with OS distribution is one thing. Making it _kernel_ module is different thing altogether.

  18. This is trick is old - God did that with Pi when creating the universe... Unfortunately, we still don't know how many fingers God has.

  19. UK solution on Spain's Hologram Protest: Thousands Join Virtual March In Madrid · · Score: 3, Interesting

    Few years ago, when teachers were protesting against low wages in UK, protest was routed through biggest commercial street in London (Oxford Street). Before it has reached the end, half of the people protesting was gone, shopping (they came from all over UK, so being able to visit all the shops, both discounts and posh ones was a real treat).

  20. Re:Only correlation has been established. on Being Overweight Reduces Dementia Risk · · Score: 1

    Only if you define 'ideal weight' as one which reduces mortality by highest margin. If there would be a way to guarantee 200 years of body life by putting person in pharma coma for all that time, would it be 'ideal state' to go through live?

    Mortality quality of life. Probably a lot of people will trade extra 1% of chance dying few years earlier, for 80% of having 10 last years of life bearable instead of being bed-bound.

    Now, I'm not saying that being slight overweight neccesarily decreases quality of life (looking at what my weight-aware friends are eating I'm quite sure of opposite) or will make you a cripple. Just want to point out that there are more things to take into account that pure statistical mortality.

  21. Developer commits suicide on Why Some Developers Are Live-Streaming Their Coding Sessions · · Score: 1

    after learning that 'view counter' got stuck at 5 due to buggy refresh and for last 2 months NOBODY was watching his stream...

  22. Re:Why empathize that it's Java? on BioWare Announces Open-Source Orbit Project · · Score: 3, Interesting

    You can call java from other environments, it is just not trivial - and you will need spawn parts of jvm inside your process.

    It is also not trivial to call into C++ library which uses a lot of STL goodness in its API from some of languages. Basically, it is just plain C which got very good and easy compatibility in every language out there - and you end up with a lot of C++ libraries doing poor-man extern "C" interfaces just to make compatibility easier.

    But the real answer I think is - nobody wants to. If you have your golden framework in java, there is nothing forcing you to endure C++ anymore ;)

  23. Re:What's glibc? on Valve Bootstrapped Source 2 Engine On an Open-Source Vulkan Driver · · Score: 1

    Nothing yet, because Vulkan is not yet public, so no 'free' implementations exist. But I'm quite sure that as soon as it appears, projects like Ogre3D or openscenegraph will provide their bindings over Vulkan.

    This analogy is flawed in some respect - because glibc is a drop in replacement for libc. There is no such agreement on higher level API in this case, but rather competing APIs/engines.

  24. Re:No thanks on Valve Bootstrapped Source 2 Engine On an Open-Source Vulkan Driver · · Score: 1

    It doesn't meant that code to render million triangles will have 600 million lines. It is just a constant overhead to deal with various device trickery (multiple GPUs, multiple monitors, full screen versus window, etc etc). There will be 3rd party libraries immediately which will allow you to do 'render things on default screen, with default resolution, on default graphic card, not using SLI, using default malloc for memory allocation' with single function call, reducing line count drastically (but still probably considerably larger than 5-10 lines you would need in opengl). On the good side, as soon as you start creating parameterized shaders, instanced meshes etc, difference in line count will start to be neglible - it will be huge for both Vulkan and plain opengl/DirectX.
    And it is still too much, then download Unity, Unreal or Cryengine. Especially Unreal should be good - you can program there with drag&drop (http://cybereality.com/wp-content/uploads/2015/02/UE4_Pong_BP.jpg)

    Vulkan is API for game engine programmers, not for game developers. It is a lot closer to kernel API than to libc API if you want to compare with normal programming.

  25. Re:Github is scary for critical code on Github Under JS-Based "Greatfire" DDoS Attack, Allegedly From Chinese Government · · Score: 2

    Technically, it is not China itself which is DDOSing them, but all the people from _outside_ of china which are accessing Baidu servers in China. Basically some part of chinese disapora is DDOSing github. Which is considerably smaller number of people than 'China'.
    Plus, it is happening just on browser refresh, not as dedicated trojan running heavy DOS attack from each PC.