Slashdot Mirror


User: Penguin

Penguin's activity in the archive.

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

Comments · 119

  1. Re:"Linux Command Line Tirckery" HA! on Windows 8 Features With Linux Antecedents · · Score: 4, Insightful

    Well... since you didn't bother to limit it to only "simple user tasks".....

    for i in * do mv $i `echo $i | tr [:upper:] [:lower:]` done

    Done, all the files in that directory are now lower case.

    Except:

    • it fails with file names with spaces in them (which shouldn't be anything out of the blue)
    • it fails with file names beginning with "-"
    • it might overwrite in an unwanted way if two files exist with the same name but different case
    • it warns when file is already lowercase

    And that's just it. It's another case of "See how easy that was? Oh, we just need to add some quotes. Oh, and -- as an argument for mv. Oh, and -i as an argument for mv. But remember to put -i before --. Everybody knows that." - and yet you created a script that is a text book example of creating a fragile script.

    Great default settings are of utter importance and the whole list of the default tools is much influenced by historic (and backwards compatible) reasons. It still leads to different interesting design cases:

    • head and tail are extremely similar but have two different commands. GNU head can't even behave as tail with command switches.
    • most people would want to create soft links (as opposed to hard links) in their daily routine but still have to go through ln -s instead of a command just for soft links. That is not unlike the -o loop example in GP, as a case of "yeah, you should obviously know that".
  2. Re:Your math does not calculate on Samoa and Tokelau Are Skipping December 30th · · Score: 4, Interesting
    .. and cal even supports it:

    $ cal 9 1752
    September 1752
    Su Mo Tu We Th Fr Sa
    1 2 14 15 16
    17 18 19 20 21 22 23
    24 25 26 27 28 29 30

    ... however it's not that effective as locale is not taken into consideration. As your link mentions, "only" England+Scotland+colonies switched at that point.

  3. US restricts US companies' sat.photos of Israel on Google Street View Gets Israeli Government's Nod · · Score: 5, Informative

    There are some real bizarre laws out there. For instance, United States companies are restricted in the resolution of satellite imagery of Israel.

    This is truly bizarre, albeit true. With the passing of the National Defense Authorization Act in 1997, private companies in United States aren't allowed to provide high resolution satellite/aerial imagery of Israel. This restriction boggles my mind for a free country. Not that it matters much longer as other countries such as Turkey are going to provide high-resolution imagery of Israel in 2013.

    It could be possible to construct a rudimentary "aerial" view by warping street view imagery (of course several areas and building roofs would not get into that picture) however. So yeah, there are some pretty weird restrictions out there.

  4. Re:IRONY OVERLOAD on OK Go Goes HTML5 · · Score: 1

    Apparently the video requires a browser that supports opening tens of windows and moving them around all over the screen for maximum annoyance.

    Not a great sales argument for Chrome.

  5. TinEye matched a painting from Google Street View on Google Launches Search By Image · · Score: 1

    TinEye searches much more than exact images.

    I just took a screenshot from Google Street View in The Museum of Modern Art. From the screenshot I cropped out a painting (and didn't even change the perspective) and searched at TinEye which resulted in this search. Colour me impressed. Once again, my image is just a screenshot from a photo taken non-orthogonally at a painting.

    TinEye is also extremely useful to help understand a photoshop meme :-)

  6. Pictures from Chinese television on Has China Already Flown a Space Plane? · · Score: 1

    Following their recent pictures of their J-10 fighter aircraft here are the pictures of their prototype space craft:
    http://www.theforce.net/swtc/Pix/given/rb/tyd-door.jpg

  7. Re:mobile platform on Why Android Is the New Windows · · Score: 1

    Isn't that pretty much like saying: "Actual Windows developers don't seem to share your concern. As I've said before, only Linux fanboys seem to care about Windows' supposed security issues."?

    (replace with your favourite OS/kernel/whatnot)

    Maybe the developers should care?

  8. Re:Freedom on Can an Open Source Map Project Make Money? · · Score: 1

    dude, just because it's _legal_ doesn't mean it's _ethical_.

    And the reverse is true as well. Just because it's legal doesn't mean it isn't ethical.

    I have spent lots of time adding data to OpenStreetMap with almost 25.000 edits (including the import of millions of address points in my country). I did it because I would like a map that's available for pretty much any purpose, not excluding Microsoft's usage.

    I'm pretty fine with the arrangement. My contributions are to be used and Microsoft does exactly that. However trying to use my contributions as arguments against Microsoft (or any other part that uses the data) is douchebaggery.

    Creative Commons is not a cult. There shouldn't be any kind of hidden zealotry about using data - it's not okay to say "This data is free under a CC license and you are encouraged to use it" - and when that happens shouting "However you are a dick if you don't contribute! We want your money or work or other stuff!".

  9. iPod Touch experiences - and working offline usage on Germany Finds Kismet, Custom Code In Google Car · · Score: 1

    (user from Denmark, Europe)

    Furthermore, the iPod Touch receives information about nearby wifi networks for local storage (offline usage).

    When I'm walking around the area with my iPod Touch (without any internet access) it is still able to tell me where I am.

    It seems like the local information received is in the range of about 2 kilometers (about 1.25 miles).

    This is a GPX track from a bus ride a few weeks ago heading north, logged with my iPod Touch:
    http://maps.google.dk/?q=http://stock.ter.dk/bustur_touch_2.gpx

    At the northest point of the track the iPod Touch couldn't find the local position anymore. The iPod wasn't online at any time.

    Unfortunately it seems like it flushes the local database whenever it gets online. If I travel away from my home I can see my position until I reach about two kilometers away. If I go online at my destination (e.g. a friend's house) and travel home I can only see my position for a few kilometers away from my earlier destination and nothing from that point before I reach my own home again. It really would be cool if it was possible to store more information locally.

    I'm pretty sure the iPod use Google's database as well as the Google Street View vans have been around Denmark pretty thoroughly last year. All the positions seem to be snapped to roads as well where the cars were positioned when driving around.

    On another node; several public means of transportation in the metropolitan area of Denmark is now fitted with some kind of Internet access - usually free access with commercials injected in the web pages. This helps being online in trains or the most frequent buses (however not that one I was on when I logged the above track).

    But as the wifi geolocation service is based on the idea that an access point is stationary the results for positioning when riding a bus or train could usually put you at that station where the train (carrying the access point) just happened to be when the Google vans were driving around. I hope the self healing mechanisms in Google's (and Skyhook's) databases could "invalidate" these access points.

  10. Re:Implications on China on Google Offers Encrypted Web Search Option · · Score: 1

    The most common way is to use a meta refresh "header". When redirected this way browsers don't include the referer header.

    Some forum software use such a feature when making URLs clickable.

    Other methods include javascript tricks.

    The actual output from Google when searching for slashdot is this and clicking the link is the following, which is primary javascript with fallback to the html meta header:

    <script>var a=parent,b=parent.google,c=location;
    if(a!=window&&b){if(b.r){b.r=0;a.location.href="http://slashdot.org/";c.replace("about:blank");}}else{c.replace("http://slashdot.org/");};
    </script><noscript><META http-equiv="refresh" content="0;URL='http://slashdot.org/'"></noscript>

  11. Re:Porn according to whom? on Wales Supports Purging Porn From Wikipedia · · Score: 4, Informative

    .. and to elaborate on this subject; I could upload every random picture I shoot with my camera or any picture my webcam takes every five seconds.

    In that case it makes perfect sense to remove a lot of these pictures even though some randomly might happen to contain something interesting one day.

  12. Re:Porn according to whom? on Wales Supports Purging Porn From Wikipedia · · Score: 1

    FTFA: ".. all images that are of little or no educational value .."

    These images you mention seem to have educational value.

    Yeah, there might be different opinions about how much is sufficient to be educational, but the comment is not "If this is porn/'inspiring', then it should be removed" but "little or no educational value but which appeal solely to prurient interests".

  13. Re:$15 dollars for 4 hours of gameplay? on EA To Charge For Game Demos · · Score: 1

    Four hours of clicking to gain progress of some sort?

    Sounds like most MMORPGs to me as well :)

  14. Re:Is this good or bad? on Mafia Boss Betrayed By Facebook · · Score: 1

    It works, but it's not as accurate as one might think. Signals bounce, which (at least in the GPS world) is known as multipath. This both result in a longer distance (and delay) and a weakened signal. The recipient (the antenna tower) do not know how much the signal has bounced.

    Actually the distortion and reflection in the GPS signal makes it possible to gather (crude) information about the location and shape surrounding buildings. I wish I could find the appropiate video :-/

  15. Re:Trace the signal from his internet key? on Mafia Boss Betrayed By Facebook · · Score: 1

    Have you seen Italian computers? They actually do require a key for the ignition.

  16. Re:Mixed Feelings on Jeff Jaffe Named CEO of W3C · · Score: 1

    it will allow w3c to influence Microsoft more

    Or do you mean allow Microsoft to influence W3C more?

    The Sphinx: To learn my teachings, I must first teach you how to learn.

    The Sphinx: He who questions training only trains himself at asking questions.

    The Sphinx: When you care what is outside, what is inside cares for you.

    Mr. Furious: Okay, am I the only one who finds these sayings just a little bit formulaic? "If you want to push something down, you have to pull it up. If you want to go left, you have to go right." It's...
    The Sphinx: Your temper is very quick, my friend. But until you learn to master your rage...
    Mr. Furious: ...your rage will become your master? That's what you were going to say. Right? Right?
    The Sphinx: Not necessarily.

  17. Law of reverse service on USA Has More Open Wi-Fi Hotspots Than EU · · Score: 3, Interesting

    User from Denmark ( EU) here.

    I admire the amout of (deliberately) open wifi hotspots in USA. A couple of friends traveled around the States last year and found free wifi services everywhere - except Las Vegas.

    This seem to be an interesting phenomenon. At first it might seem reasonable: wherever you are expected to pay for services you are also expected to pay for Internet access.

    However, this leads to some curious cases. I have experienced hotels in Denmark, England and Spain that charge for internet access. But on the other hand it is not uncommon for hostels (that are cheaper and where one would expect a lesser degree of service) to have free wifi.

    The economic background is interesting. The cost of putting up a hotspot is pretty low, especially at simple hostels that probably already have internet access and wifi for the employees. But the expenses of putting up a payment solution and handling support is high.

    This leads to an interesting paradox: It is the payment solution that might not be feasible at "cheap" places such as hostels; not the Internet connection by itself. The result is that since it is not worthwhile putting up a payment solution the Internet access is simply free!

    In some places this leads to even more interesting results:

    The suburban railway service in Copenhagen has free wifi on the the trains. These trips are usually short, hence the payment process might itself take too long to be convenient.

    However the inter-city trains where travel times are usually about 1½-4 hours there is a wifi payment solution. At first it might make sense but as it is charged per minute any delays underway would lead to a larger travel time and therefore a higher total cost.

    Free Internet access could partially make up for a bad travel experience with delays (one would be able to still work online, pass time by casual surf, chat and so on or update successive travel arrangements). Instead passengers are simply punished further economically when the travel is delayed underway.

  18. Re:Serious question on Google Chrome For Linux Goes 64-bit · · Score: 1

    Besides all the other posts, this might just be a small improvement in rare cases:

    The V8 javascript engine does some clever work when performing regular expression matching. Normal engines would compare one character at a time, but whenever the possibility occurs V8 matches several characters at once (eg. for /foobar/ it will try fo match "foob" instead of just first "f", then "o", then "o"), doing comparison on longer segments than just (usually) 8 bits at a time. This usually means that comparisons are grouped together as 32 bit values matching several characters at once.

    I reckon the 64-bit edition would simply match up to 64 bits as well.

    There are a lot of exceptions where the engine can't just simply match long segments (unicode, case-insensitive searches and so on) and there surely are operations that are a lot more cpu intensive than just comparing strings. I'm just excited about that simple optimization :)

  19. ob NiemÃller on Passenger Avoids Delay By Fixing Plane Himself · · Score: 1

    .. but I didn't speak up because I wasn't Soylent Green. .. but I didn't speak up because I wasn't Charlie Brown. .. but I didn't speak up because I wasn't Technician Ted. .. but I didn't speak up because I wasn't Striker, Ted.

  20. I won at Facebook. on Social Networks As Gaming Platforms · · Score: 4, Funny

    The end of level monster is pretty hard.

  21. Re:So if he takes the head of Goofy on Tennesee Man Charged In "Virtual Pornography" Case · · Score: 1

    Pastes it on the nude body of Nancy Pelosi.......

    Wait a sec. I don't think I should go any further with this.......

    Well, if there isn't a law against this, there should be!

  22. Re:I was pleasantly surprised... on DTV Transition Mostly Smooth, Windows Media Center Problems · · Score: 5, Funny

    I got eight new channels on Friday -- the MHz and ION networks went digital in my area, so now I can watch Bollywood movies, English-language Russian TV, NHK Today, and some Chinese thing, among others.

    These actually can be quite interesting to browse -- the Russian take on the Iranian election was kind of interesting.

    Caveat: These reports origin from foreign dubious sources and haven't been processed by the US News un-bias-o-matic.

  23. Re:Software really has yet to catch up to hardware on A Twitter Client For the Commodore 64 · · Score: 5, Funny

    Care to count how many layers of abstraction there are between a typical GUI application and the bare metal on a modern *nix?

    I look forward to reading /. in fifteen years.

    "Windows FOX is bloated. Why does it require 2 TB of ram just to boot when I can browse the intercloud without problems on Gnubun*x running with only 512 GB ram?"

  24. Re:A hundred uses! All invalid! on Don't Like EULAs? Get Your Cat To Agree To Them · · Score: 1

    It's people like you (and your fish) who created the economic crisis in the first place!

  25. does it come with "yes" command? on Bug In Android Passes Keystrokes To Root Shell · · Score: 1

    If the command "yes" (that outputs a string repeatedly until killed) is included I would guess it would be pretty common to suddenly have your android mobile become slower.