Slashdot Mirror


User: hcs_$reboot

hcs_$reboot's activity in the archive.

Stories
0
Comments
4,371
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 4,371

  1. Re:The actual code on Singapore's Prime Minister Shares His C++ Sudoku Solver Code · · Score: 1

    The guy is probably proud of his prog, that's why he published it. Indeed, that's more a C approach than a C++, but anyway for solving a sudoku there is no need to put in place a lot of complex data structures.
    What I like in this prog is that he optimizes the process by simply considering that since any 1-9 digit can only be once in each column, each row, and each of the nine 3×3 sub-grids, he uses a 10 bits int and associate 2^i with a digit (instead of an array, or worse checking all digits each time). Then 'Place()' recursively tries only possible combinations which converges quickly to a solution.
    Good prog. I wish all political figures would be able to show such an artwork!

  2. Re:That's C code on Singapore's Prime Minister Shares His C++ Sudoku Solver Code · · Score: 1, Funny

    a C programmer would put it as void Succeed(void)

    A C programmer would put it as 'void succeed()' or even 'succeed()'.

  3. Re:lol on Two Gunman Killed Outside "Draw the Prophet" Event In Texas · · Score: 1

    I grew up in the North and was taught how to shoot by the Boy Scouts at a relatively early age.

    And anywhere else kids are taught to shoot at men and other various creatures through violent games. Which is worse?

  4. Re:Don't mess with Texas on Two Gunman Killed Outside "Draw the Prophet" Event In Texas · · Score: 1

    about half of US murders are committed by African Americans, who make up about 1/8 of the population. If you adjust the rate of that population to the national average, you get a US murder rate of less than 2.7/100000

    But you'd have to apply the same rule to the European rate to get something comparable, wouldn't you? However in Europe, in order to avoid crime-race dangerous and abusive aggregation, the rates published do not show associations between crime and skin color.

  5. Re:Looks like the prophet's gunmen on Two Gunman Killed Outside "Draw the Prophet" Event In Texas · · Score: 5, Insightful

    Well, when all you have to convince people that they should work for you is promises of eternal bliss after death without any kind of proof, you can't really expect nobel prize material to flock to you...

    Not sure that's the only reason. Some of these people are just looking for something in which they can get deeply involved, out of the ordinary society stuff. They would actually love being enrolled in some armies to fight for a country, kill or be killed, but they just don't see themselves fighting for our western countries. So the actual reason may not really be Santa Claus / God / Mahomet / [...] and the "eternal bliss", but just the desire to fight for something in which they feel more free than within the regular organized and stricter western armies.

  6. Re:PLease delete this topic on Two Gunman Killed Outside "Draw the Prophet" Event In Texas · · Score: 2

    gunmen-kill-12-wound-7-at-french-magazine-hq 1300+ comments
    pope-francis-there-are-limits-to-freedom-of-expression 900 comments
    So yes, we really want this kind of discussion on Slashdot.

  7. Re:Looks like the prophet's gunmen on Two Gunman Killed Outside "Draw the Prophet" Event In Texas · · Score: 5, Insightful

    After the Paris "Charlie Hebdo" shooting, it was obvious that such an event, in Texas, would be well protected against similar attacks. Isn't that attack another proof that fanaticism == stupidity?

  8. Re:Why hasn't anyone wondered... on NASA Probe Spies Possible Polar Ice Cap On Pluto · · Score: 1

    Absolute zero? Pluto's min temp is 33 K, quite far from 0 K.

  9. Re: Count cards on In New AI Benchmark, Computer Takes On Four Top Professional Poker Players · · Score: 0
  10. Will the computer be prohibited from counting cards? Humans may bluff, but they cannot fake statistics.

  11. Re: News for nerds on 7.8 Earthquake Rocks Nepal, Hundreds Dead · · Score: 1

    depends if you are in LA..

  12. Re:News for nerds on 7.8 Earthquake Rocks Nepal, Hundreds Dead · · Score: 4, Insightful

    This is /. so we can expect comments about 1) was Nepal ready to fight such a disaster, compared to, eg, Japan 2) what are the progresses in terms of EQ detection 3) what is the chance of such a strong EQ happening in that region 4) do we have more & more of such big disasters recently 5) is it linked to the Sun activity, linked to the human oil/gas digging 6) will China offers help to Nepal? ... All of this is rather interesting IMO, so wait and watch!

  13. Angry at Ubuntu on Ubuntu 15.04 Released, First Version To Feature systemd · · Score: 1

    They release a major update while 14.04 is supposed to be LTS = Long time support (3 years, 15.04 is 1 year). Some bugs have been fixed in 14.10 (and 15.04) that are still live on 14.04. Annoying.

  14. Re:The Best Investment on Hubble Turns 25 · · Score: 2

    seriously one of the best investment we have made up there.

    This is one of the reasons funding doesn't always go where it would make science progress the better. Hubble outcome is visually attractive and nice (photos). Other fields, particle accelerators, neutrino research etc... that people hardly understand, may not gather the same amount of enthusiasm.

  15. Re:Lightning never strikes twice on Cosmic Rays Could Reveal Secrets of Lightning On Earth · · Score: 1

    s/when/where/

  16. Lightning never strikes twice on Cosmic Rays Could Reveal Secrets of Lightning On Earth · · Score: 3, Funny

    Provided that Lightning never strikes (the same place) twice, just keep statistics and you'll know at least when it won't strike again.

  17. Re:Summary, TFA, concept wrong on German Court Rules Adblock Plus Is Legal · · Score: 1

    Can you apply the same reasoning to a Blu ray or DVD you bought and own? I didn't think so.

  18. Re:Really crappy article on How False Color Astronomy Works · · Score: 1

    Don't blame the article, blame the messenger.

  19. Re:News for nerds? on How False Color Astronomy Works · · Score: 1

    You should write /. articles!

  20. Re:Daredevil... on Netflix Is Betting On Exclusive Programming · · Score: 1

    Casting is ok, Fisk is excellent, but Murdock is, unfortunately, not the best choice. Too bad he's the main character. Reminds me of McGuire in Spiderman.

  21. Re:I gave in and bought Intel on AMD Publishes New 'AMDGPU' Linux Graphics Driver · · Score: 1

    And what about perf/price ratio?

  22. Re:Waiting for the killer app ... on Why the Journey To IPv6 Is Still the Road Less Traveled · · Score: 1

    Have Facebook and/or Google go IPV6 only for website access. You will see virtually 100% adoption of IPV6 within 24hrs ...

    This is why that's never gonna happen.

  23. Re: I'm ready....My ISP isn't. on Why the Journey To IPv6 Is Still the Road Less Traveled · · Score: 1

    How good is that?

  24. Re:They should resurrect some shows... on Netflix Is Betting On Exclusive Programming · · Score: 1

    8.2 on IMDb, not so good for a tv series.

  25. Re: I'm ready....My ISP isn't. on Why the Journey To IPv6 Is Still the Road Less Traveled · · Score: 1

    So we may end using Internet from a NATed ISP, itself NATed... and we may run out of private IPs as well!