Slashdot Mirror


User: TheLink

TheLink's activity in the archive.

Stories
0
Comments
12,789
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 12,789

  1. Re:007087 on Van Rossum: Python Not Too Slow · · Score: 1

    It'll be nice to be able to introduce the good old LISP "optimize" concept to python or similar.

    So that the compiler/JIT will only try extra-hard on the small section of code you really need to be fast.

    That way you can write most of your python program in whatever style you think suitable (idiomatic or not), but then at a crucial part you write it in a more easily JIT'ed way[1] and tell the compiler "make this bit really fast". And the compiler might spend 5 minutes on that small bit (exploring various possibilities) and while only needing 5 seconds for everything else. The result being equivalent to optimized C for trivial cases and close in not so trivial cases. After all why should c=a*b in python have to be slower than in C?

    The limitation might be only certain types of functions can be optimized, not just a section of the code. That way inside the function it could be really fast, you only pay some o(1) cost between the function and the rest of the python code. I bet many python programmers would be happy with that. Others might want the interactions with network and other IO to be optimizable too, but that might be trickier (though possibly more fun ;) ).

    [1] could provide some code guidelines and examples, and have the compiler have an option to provide performance warning messages when you have "make it fast" but something in the code prevents that.

  2. Re:almighty dollar on Bring Back the 40-Hour Work Week · · Score: 3

    There are some bosses with a rather different world-view. I had a friend who told me about the time when he worked at a Scandinavian company. Soon after he started, he stayed in the office after everyone else had left. Did the same thing for a few days. He didn't really have anything left to do, I guess he just stayed late because it was what people did in his previous job.

    Then one of the bosses came up to him and asked whether anything was wrong, did he need extra training to do the job? Did the project need more people? Was the project going ok? Was the job a good fit for him? etc.

    So after that he stopped messing around and went home on time ;).

    I gather the view is if people are having to work longer than standard working hours for extended periods then something is wrong. I can agree with that. If most people need to work longer hours than farmers in the bad old days (before the agricultural revolution) then isn't something wrong somewhere? That's not progress is it?

    Why should we work towards a world where most work long hours so that a few can live a life of excess and leisure? I can understand having to work long hours in times of war or great disaster. But looking at the world situation, this really is not the case at least in the West- there is plenty of food and wealth around (just not that distributed that evenly ;) ).

  3. Re:Thespians on Pay the TSA $100 and Bypass Airport Security · · Score: 4, Funny

    It's a real free market when you get to buy (or bid for) your preferred government regulations and laws.

  4. Re:Maybe they did see it? on Wikipedia Didn't Kill Brittanica — Encarta Did · · Score: 1

    The management might have figured out it would be "Someone Else's Problem" - since by that time they might have retired or changed jobs.

    That's the problem with most "professional CEO" sorts - they don't really care that much about the company. Whereas the founder CEOs very often still have an attachment to "their baby" so they're not going to let their baby die. On the other hand that you might get a Yahoo situation ;).

  5. Re:Expensive on Pentagon Wants Disposable War Satellites · · Score: 2

    Sometimes it costs even more to hit the wrong target ;)

  6. Re:Fails in Chrome - works in Firefox on Google Introduces Programming Challenge In Advance Of GoogleIO · · Score: 1

    Works on both for me, but I find it interesting that the Google IO "canvas" can end up a different size. This means the "end-point" of the Google IO machine can be in a different position on different browsers and computers. And so an endpoint that is reachable for you might not be reachable for others.

    Not sure if this is a bug or a feature ;).

  7. Re:Doesn't sound workable to me on UK Plan Would Use CCTV To Stop Uninsured Drivers From Refueling · · Score: 1

    So the fuel pumps will work for cars with foreign-looking plates while automatically being shut off for local plate cars that are uninsured according to the DB?

  8. Re:Doesn't sound workable to me on UK Plan Would Use CCTV To Stop Uninsured Drivers From Refueling · · Score: 1

    How about cars from France and elsewhere?

  9. Re:Makes sense. on AC and DC Battle For Data Center Efficiency Crown · · Score: 1

    Resistivity "rho" (ohm-metre) is not the same as resistance R ohms.

    Thicker wires have lower resistance than thinner ones:
    http://en.wikipedia.org/wiki/American_wire_gauge#Table_of_AWG_wire_sizes

  10. Re:Fraud on The Laser Unprinter · · Score: 1

    It's harder to forge if you sign the stuff with PGP/GPG and print the entire thing out (including the PGP/GPG signature). Make sure you have time and date as part of the document to defend against replay attacks.

    But nobody really cares that much about security AND it isn't a big enough problem in real life. Otherwise a system for creating and checking such documents reliably and efficiently would be more common.

    A possible problem with the PGP/GPG method is if one day your private key is compromised, you're really screwed - you'd have a harder time convincing the courts you didn't sign certain stuff. Whereas since everyone including the judge knows that credit card transactions are insecure they are more inclined to believe you when you say you didn't buy something. In fact quite often the card company believes you.

  11. Re:Freaky Beasties on Jawless Creature Had the World's Sharpest Teeth · · Score: 1

    Being attacked by a hundred 20cm long leeches with very sharp teeth would be scary. Horror movie material even.

  12. Re:HotS on Can $60 Games Survive? · · Score: 1

    But I'm not playing Crysis - I'm just using it as a graphics card benchmark ;).

  13. Re:Uh huh.. right. on TVShack Creator's US Extradition Approved · · Score: 1

    1) Is there an extradition treaty between your current country of residence and Saudi Arabia?

    2) Are you a citizen of Saudi Arabia and is your country of residence a muslim country or one with very friendly ties with Saudi Arabia?[1]

    If the answer is No to both 1) and 2) you're not going to get extradited to Saudi Arabia whatever you do.

    [1] http://www.guardian.co.uk/world/2012/feb/12/malaysia-deports-saudi-journalist-prophet

  14. Re:Sigh... on TVShack Creator's US Extradition Approved · · Score: 1

    Incestuous is when your in-laws are outlawed.

  15. Re:Cycles on Can Microsoft Afford To Lose With Windows 8? · · Score: 1

    Windows 7 search is broken, you cannot find stuff unless it has been configured to index the types of files you are searching for. So if you have lots of different file types you have to configure each one. You might have problems if you want to do a plain text pattern search but the file is not a plain text file type...

    What I do is use 3rd party tools like command line grep, baregrep or similar.

    The "navigate up a directory" arrow is gone because it is now redundant. To go to a particular directory in the existing path just click on the name of that directory in the address bar. This is actually an improvement over XP.

    Which Desktop Linux distro do you find easier to use than Windows 7? How about when compared to XP?

  16. Re:They alienated a major sector before on Can Microsoft Afford To Lose With Windows 8? · · Score: 1

    They took a look at GNOME, Unity, etc and ran back into Microsoft's clutches?

    As for OS X, if you're the right 20% of the population, it's "insanely great". Otherwise you're holding it wrong.

  17. Re:Cycles on Can Microsoft Afford To Lose With Windows 8? · · Score: 5, Interesting

    I think Microsoft will survive. The desktop is here to stay (for at least for a decade).

    And the options are:
    a) Windows 8
    b) Windows 7
    c) OS X
    d) Desktop Linux

    Most corporations will skip Windows 8 just like they skipped Vista. As long as Microsoft doesn't go nuts and stop selling Windows 7, people will continue to use Windows 7.

    OS X is great for some people (15-20%?), but so far at least in my office more people prefer Windows 7. To the extent of installing it on their MacBooks! Other people - my friend installed Windows 7 on his Mac too! As for me, I've got a Mac on my desk and I use it mainly via ssh. OS X's GUI doesn't suit my workflow, I'm the sort of person who keeps 30+ windows open at work.

    If your tastes are in line with "Steve Jobs and Team Apple" then OS X is great, wonderful even, otherwise in their opinion "you're holding it wrong" or something.

    In contrast if you don't like the new Windows 7 interface you can go back to "classic mode" (not completely nowadays though).

    Desktop Linux is a sad joke. The things the developers do sometimes make me wonder if they are paid by Microsoft to sabotage Desktop Linux! Vista and Windows 8 would have been great opportunities for Desktop Linux to gain marketshare in the corporate world. But time and time again they keep coming up with stuff that makes Microsoft's crap look good - just look at masses of disappointed people here being "forced" to switch distros. How long did it take for the Desktop Linux "saboteurs" to get even fundamental stuff like sound working? I half expect someone to chime in that it still doesn't work!

  18. Re:Less than half on 'Honey Stick' Project Tracks Fate of Lost Smartphones · · Score: 1

    I have my own number on my phone. That way I can more easily send it in a message to someone else.

    It is also useful in other cases - e.g. when you temporarily change your SIM. Or send test messages to yourself.

  19. Re:Facebook is secure against hackers? on Chinese Spies Used Fake Facebook Profile To Friend NATO Officials · · Score: 1

    That's as I said:

    You have to add them as friend first then move them to the restricted list. So there's a window of opportunity for them to get the data out.

  20. Re:jury trials cost more money on How To Crash the US Justice System: Demand a Trial · · Score: 2

    On hearing this, Jesus said, "It is not the healthy who need a doctor, but the sick. But go and learn what this means: 'I desire mercy, not sacrifice.' For I have not come to call the righteous, but sinners."

    http://www.biblegateway.com/passage/?search=Matthew%209:12-13&version=NIV

    Many Christians don't appear to be even trying to follow Jesus. They might be following some preacher/pastor guy shouting sermons of hate (or greed), but that's very different from following Jesus.

  21. Re:Uh, no on How To Crash the US Justice System: Demand a Trial · · Score: 5, Interesting

    That's why nowadays you cannot assume that a large majority of those in jail are guilty. Given the way the system works, many innocent people can be convinced that it is in their best interests to plead guilty.

    Heck in one case an innocent (but mentally ill) person was told that he was helping to find the real culprit by pleading guilty!
    http://www.innocenceproject.org/Content/Eddie_Joe_Lloyd.php
    At least there's a bunch going around trying to such people out.

  22. Re:Facebook is secure against hackers? on Chinese Spies Used Fake Facebook Profile To Friend NATO Officials · · Score: 1

    I only see the option when I request. I don't get the option when I receive requests. I have to confirm those requests first then only set the lists after.

  23. Re:Hmm... on Journalist Gets Blasted By the Pentagon's Pain Ray — Twice · · Score: 2

    For psy-ops you'd probably want to add this:
    https://www.youtube.com/watch?v=5imaJwfJMZ8#t=0m55s
    http://en.wikipedia.org/wiki/Sound_from_ultrasound

    That way you can "Voice of God" someone with the sound beam without anyone hearing, and punish them with the pain beam as "proof".

  24. Re:Facebook is secure against hackers? on Chinese Spies Used Fake Facebook Profile To Friend NATO Officials · · Score: 4, Interesting

    And even if you are friends with someone it doesn't mean they can see your data.

    At one point of time Facebook in the "confirm friend request" step let you add friends straight to a friend list of your choice. You could lock down that friend list really tight, so that they couldn't see much, while you _might_ be able to see their data (and thus decide whether "Spongebob" is really someone you know). Doesn't seem possible now. You have to add them as friend first then move them to the restricted list. So there's a window of opportunity for them to get the data out. If I'm wrong about this do tell me how to do it.

    But no matter what privacy "controls" and "promises" Facebook provides, Facebook can see all the data and actions, so NATO officials shouldn't be exposing confidential data and actions to FB. Especially since some of that data may be passed to people outside the USA whether by apps/partners or by people who are paid to moderate stuff: http://www.telegraph.co.uk/technology/facebook/9118778/The-dark-side-of-Facebook.html

  25. Re:Quest for Glory... on Computer Games That Defined RPGs In the 1980s · · Score: 1

    There are plenty of other role playing games if you're using a more general meaning of "role playing" (especially since the "real" D&D style role playing just doesn't work for most computer games).

    Examples: Autoduel, Sundog, Elite, Ali Baba and the 40 Thieves (the RPG one! Which was one of the earliest games with friendly, neutral and hostile creatures that fought each other - not every creature was against you, and it had multiplayer support - it was turn based and you could add more human controlled players!). Then there was Sid Meier's Pirates.

    There was also a more "conventional" RPG game called Moebius Windwalker (seems it's actually a sequel ).