Slashdot Mirror


User: MichaelSmith

MichaelSmith's activity in the archive.

Stories
0
Comments
11,670
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 11,670

  1. Re:Python: better than JS, except for JSON on Python 3.6 Released (python.org) · · Score: 1

    So you don't know what your interpret is doing with JSON, even after you wrote it yourself?

    Its a message from Dr Evil.

    And "do_something_with" is not an interpreter?

    It might be print(my_data)

  2. Re:Python: better than JS, except for JSON on Python 3.6 Released (python.org) · · Score: 1

    With json in python I am going to go:

    import json
    my_data = json.loads(message_contents)
    do_something_with(my_data['part_of_data'])

    Which is better than passing message_contents directly into my own interpreter and assuming it doesn't do something it shouldn't be doing.

  3. Re:Slashdot much? on How Social Isolation Is Killing Us (nymag.com) · · Score: 1

    She is definitely an outlier. Better at making friends than keeping them.

  4. Re:Python: better than JS, except for JSON on Python 3.6 Released (python.org) · · Score: 1

    The one downfall of python is JSON object literals aren't as easy as in JS.

    Dunno I don't really like the idea of having my communication protocol interpreted as code.

  5. Re:And yet... on Python 3.6 Released (python.org) · · Score: 1

    I use python3 as well but there is a lot of important stuff out there which doesn't, like google oauth libraries.

  6. Re:Have they added curly braces yet? on Python 3.6 Released (python.org) · · Score: 1

    lol it does do that.

  7. Re:Have they added curly braces yet? on Python 3.6 Released (python.org) · · Score: 1

    Not if there is triple quotes inside the block you want to remove.

  8. Re:Have they added curly braces yet? on Python 3.6 Released (python.org) · · Score: 1

    I completely agree. The K&R braces argument has always come down to the fact that people who disagree can just use an editor which shows them what they want to see. Code is a sequence of tokens so why not store it as a sequence of tokens, rather than a sequence of characters.

  9. Re:Slashdot much? on How Social Isolation Is Killing Us (nymag.com) · · Score: 1

    I am dead serious. This is the most connected age in human history. Everybody has as much isolation and interaction as they want. My sister has 1500 facebook friends and is rarely off line. I confine my online activities to reddit, /. etc. Some people are still isolated but these are people who rarely go on line, and they were going to be isolated in any era.

  10. Here we are on How Social Isolation Is Killing Us (nymag.com) · · Score: 0

    Posting on /. in the most connected society ever.

  11. Re:On GitHub becoming a critical SPOF on Building a Coder's Paradise Is Not Profitable: GitHub Lost $66M In Nine Months Of 2016 (bloomberg.com) · · Score: 2

    Fortunately DVCS makes it trivial to keep mirrors.

  12. Git is Linus Torvalds's name for Andrew Tridgell.

  13. Re:They could always work elsewhere. on Struggling Workers Found Sleeping In Tents Behind Amazon's Warehouse (thecourier.co.uk) · · Score: 5, Funny

    Yes, they could work in a book shop for example.

  14. Re:Well there would be a lot of it on Alien Life Could Thrive In the Clouds of Failed Stars (sciencemag.org) · · Score: 1

    Fair arguments but I think you are assuming that their means of getting around will be too much like ours. Forget space ships. Consider a plume of information laded bacteria squirted up out of the atmosphere into the path of an orbiting asteroid. They splat on to the surface, some survive and grow into a new spacegoing species.

  15. Re:Well there would be a lot of it on Alien Life Could Thrive In the Clouds of Failed Stars (sciencemag.org) · · Score: 1

    Yeah "to same the degree as the Aliens in Blindsight" .

    Great book.

  16. Re:Larry Niven Called it on Alien Life Could Thrive In the Clouds of Failed Stars (sciencemag.org) · · Score: 1

    I was thinking more Peter Watts. When did Niven suggest this idea?

  17. Well there would be a lot of it on Alien Life Could Thrive In the Clouds of Failed Stars (sciencemag.org) · · Score: 2

    And if it developed space travel I wonder if it would notice our kind. Would it even interact as well as the aliens in Blindsight?

  18. Re:I don't want a smartwatch on Motorola Has No Plans For a New Smartwatch (theverge.com) · · Score: 1

    Pebble gets about a week of battery life. I got close to that even using a watch face with a moving second hand.

  19. Re:Probably under seal on Edward Snowden Loses Norway Safe Passage Case (bbc.com) · · Score: 1

    Yeah but it allows the Russians to probe the Norwegian intent towards Snowden. Norway can refuse to accept him, or accept him in a non-extraditable form. Either way Snowden is safe.

  20. Re:Radar on ESA: European Mars Lander Crash Caused By 1-Second Glitch (space.com) · · Score: 1

    The article says that the radar was working. But the data from the radar seems to be have been ignored at this point.

  21. Re:What the? on ESA: European Mars Lander Crash Caused By 1-Second Glitch (space.com) · · Score: 1

    You can even correlate it with your own kinematic model. The scenario which the vehicle followed is impossible. It can't land one second after dropping the parachute, and so timing alone should have made it reject the invalid data.

  22. Ariane 5 on ESA: European Mars Lander Crash Caused By 1-Second Glitch (space.com) · · Score: 1, Interesting

    Brings to mind the failure of the first Arianne 5 launcher because control software spat an Ada stack trace over a line which was supposed to only contain kinematic data.

  23. Re:Some comments completely ignore the use cases on MongoDB CEO Claims They're Luring Customers From Oracle (diginomica.com) · · Score: 1

    use flat files

    ...or redis but then I repeat myself.

  24. Re:MCS-4 family, 4004 CPU--Inside View Mazor on Intel's 4004 Microprocessor Turns 45 (4004.com) · · Score: 1

    put I/O on the ROM and RAM chips

    Like the 6502 which only had one bus, for ROM, RAM and IO. But memory mapped video RAM was obviously IO as well.

  25. Re:could just be the beginning on MongoDB CEO Claims They're Luring Customers From Oracle (diginomica.com) · · Score: 1

    99% of Oracle installations could be replaced with SQLite

    Ah no. sqlite can't even handle my little embedded applications because it falls over when accessed from more than one process at a time. I have seen a webapp with an openoffice back end. Works surprisingly well.