Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Sounds cool (Score 2) 31

Found and tried it. Looked really cool, but apparently, my neighborhood is not interesting enough to be listed in that database.

Anyway, for others who would like to check it out, the site is https://www.mylnikov.org/ and to query the database, the URL is "https://api.mylnikov.org/geolocation/wifi?v=1.1&data=open&bssid=YOUR_BSSID"

On Linux you can use iwlist to show the BSSIDs of APs around you, so you can do this to query the DB for all the APs you see:

sudo iwlist wlp3s0 scan \
| perl -nle '/ Address: (.*)/ && print $1' \
| while read bssid; do
        echo $bssid;
        curl "https://api.mylnikov.org/geolocation/wifi?v=1.1&data=open&bssid=$bssid";
        echo;
    done

Unfortunately all I got was a long list of

{"result":404, "data":{}, "message":6, "desc":"Object was not found", "time":1609801950}

Comment Used it as alternative to Cocoa Dialog (Score 1) 17

I'm not sure if I actually ever really used it, but I have a 12 year old Perl script where it is called when Cocoa Dialog is not available. I also don't remember why I prefered CocoaDialog and tried that first.

In case anyone cares to see how it can look when called in a script, here is that part:


my $me = basename("$0");
my $notify_name = "$me";
my $notify_title = "$notify_name - $VERSION";
my $notify_id = "cc_$$";

sub mynotify {
        my $msg = join("\n", @_);
        if ( -x "/Applications/CocoaDialog.app/Contents/MacOS/CocoaDialog"
                        && eval "require Mac::CocoaDialog"
                    ) {
                  my $c = Mac::CocoaDialog->new();
                  my $b=$c->bubble();
                  $b->titles( map { " " } @_); # don't use titles, but they are required
                  $b->texts(@_);
                  $b->no_timeout()->background();
        }
        elsif ( -x "/usr/local/bin/growlnotify" ) {
                open (NOTIFY, "| /usr/local/bin/growlnotify -n '$notify_name' -t '$notify_title' -d '$notify_id' -s ")
                        or die "Cant open notify : $!\n";
                print NOTIFY $msg or warn "Cant notify: $!\n";
                close NOTIFY;
        }
        else {
                warn $msg, "\n";
                Log("Cant notify, so logging instead: $msg");
        }
}

Comment Re:Wash, Riinse, Repeat? (Score 1) 20

Yes, I remember that "Rendezvous/Bonjour zero-configuration" new "standard". I had used .local as a TLD for various intranets. Then I had to update all my intranet DNS zones, DHCP configs and rename all my internal hosts from example.local, other.local, etc. to use a different TLD.

I used .lan instead of .local. And I guess one of these days, .lan will suddenly also be an official TLD...

Comment The real problem with commas (Score 1) 231

because the pause is already used to separate portions of numbers

And this is the only real problem. What does "123,456" mean? Is it 123.456, or is it thousand times more: 123'456.0 ?
54,45 or 54.45 are both OK and non-ambiguous. But using commas as a cosmetic thousands separator is really stupid. I guess it's one of these stupid US ideas, like feet and inches and of course Fahrenheit, and all that, though I actually don't know where it came from.

Comment Re:Why does Solitaire track statistics (Score 1) 35

they probably use the usage statistics that Windows 10 collects

So they ignore me, and I'm not in these stats? That hurts... I play Solitaire under wine in Linux, almost every day. And have been copying it to every machine on which I needed to work on for the last 20+ years. Nothing beats Solitaire when you have to wait on some download or some rendering or whatever.

Comment Yes, tapes. But it makes no sense (Score 1) 120

Well LTO tapes have completely wrong sizes printed on their case and labels (and the real size in a much smaller font size). That is because they do use hardware compression.

Besides all the other problems of tape drives, the problem with compression is that it's unpredictable and most of the time useless anyway.

What do you want to compress? What's the point? Anything big enough to be worth compressing is compressed already. I have never seen a drive with so many compressible files that it would be worth the trouble. Video and still images are all compressed already. PDFs are almost always compressed. Even Office documents like Word or Excel are compressed already now.

So if you have 1 TB of only html/javascript files, you could probably compress them and save 500 GB. or more. But is that worth the trouble of finding a hard drive with hardware compression, installing it, moving everything to that drive, and hope that this unusual hard drive feature does not come with some stupid unknown bug?

Comment Re:Browser DNS is Bad (what about my own DNS?) (Score 1) 79

The real problem not that secure DNS existis, its that DNS is being handled by the browsers instead of by the OS

Do I understand correctly that browsers would use their own DNS servers instead of the ones I have configured in the OS (or through my DHCP server)?

That sounds really bad indeed. And what does it mean for office LANs, which often have their own DNS for excellent reasons. Mainly because the internal DNS is also the only one to know about the intranet domain(s).

Slashdot Top Deals

Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!

Working...