Slashdot Mirror


User: gdm

gdm's activity in the archive.

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

Comments · 4

  1. Re:Roaming in EU on US Wireless Data Prices Are Among the Most Expensive On Earth (vice.com) · · Score: 1

    I recently spent a month in the UK, and for that subscribed to GiffGaff (https://www.giffgaff.com/). For 20 UKP (a discount from 25 because I was referred by a friend) I got "unlimited" data, text and calling in the EU. In reality, that's 20 gigs unrestricted data, then it's throttled. With no WiFi where I was staying, I tethered a laptop and tablet. I ended up using about 15 gigs of data, including a trip over to Belgium, where everything still worked.

    As a Canadian, these are excellent prices, but I'm sure you could do better.

    g

  2. Re:I've been over it for years on Has the Love Affair With Driving Gotten Stuck in Traffic? (washingtonpost.com) · · Score: 1

    There comes a point when your lost time becomes significant too: http://www.mrmoneymustache.com...

  3. Re:Unix systems had it first on Windows 10 and Windows Server 2019 To Support True UTC-Compliant Leap Second (thurrott.com) · · Score: 1

    > Unix don't currently ever return 23:59:60 as a valid time for any normal time related system call

    I'm not sure I'd agree with that. If you look at the contents of struct tm, as returned by various time-related calls, you'll see:

                          int tm_sec; /* Seconds (0-60) */

    That's 60, and not 59, for a reason. If leap seconds are added at midnight in your time zone, then you could see the 60.

    g

  4. Re:hate to nitpick but... on Details of the PCWeek Securelinux Crack · · Score: 1

    Actually, not understanding the script probably cost a bit of time.

    That regex is a very lame attempt to strip a path from a filename, leaving just the name part (the basename). However, it assumes firstly that if you have a backslash to start, every other delimiter would be a backslash, or conversely on forward slashes. Seeing Windoze allows both (mixed), that's a clue.

    Apart from that, there's an error: if you match in the second part of the regex (after the `or' | ), the replacement should be \2, since \1 is not defined then (first part not matched). So if you match on the second part you get an empty string.

    So, the thing to do is to match on the first part: give it any character(s) (the .+) then a backslash, then something other than a backslash, which will be replaced by the "something other". So "x\/a/b/c/d" -> "/a/b/c/d", and you have a root based path, which can be a bit easier to work with.

    gdm@shrdlu.kw.net