Sponsored Content
Operating Systems OS X (Apple) Are you sure you want to quit Safari? Post 303032397 by Neo on Saturday 16th of March 2019 01:10:25 AM
Old 03-16-2019
Yeah, thanks.

I had a similar issue recently when my automatic 2AM scheduled shutdown of the MacPro happens with the Terminal app open. I would wake up and see the Mac was in "do you really want to quit the terminal" mode and not shut down (man, I hate that .. LOL), but I found a preferences option to avoid this problem.

Now, when testing web dev apps in Safari, especially on login and registration pages where there are passwords to save, Safari will also stop an automatic shutdown. That's annoying for sure.

This 12 core MacPro uses so much electricity and generates a lot of heat. I don't like it when it runs all night when sleeping, so auto shutdown is a great feature; but now Safari is blocking.

It's not a big deal.

The reason I am using Safari so much these days is that Safari always clears the Javascript cache out "completely" (when I quit and restart the browser) when I am testing live versions of the new CP. I noticed that Opera and Firefox are really troublesome at clearing out the JS cache, even when I quit the browser completely; and Chrome is better but not much. Safari is really great about this. FF and Opera the worst. Chrome is in between. I don't have time to figure out why; but I guess it's some user configuration switch in Chrome I am missing.

So, I develop on Chrome and test live on the web site with Safari to save time, and that is why I'm noticing all these Safari quirks.

After I get past this major Vue.js UserCP project, I'll use Safari less and I will not notice it again.

For those interested, all the Vue.js Javascript development in done on MacOS using node.js and node package manager (npm)).. and node.js is built on the amazing Google Chrome V8 Javascript engine; and so I think this is one reason why Chrome works so great with modern web apps, since almost all current state-of-the-art web apps are built using node.js and V8 is core.

Frankly as a developer, If I tried to develop (anything state-of-the-art) on Firefox or Opera, I would get very little done and be miserable, LOL. Those browsers are really falling behind in 2019 and I am quite sure their downward spiral will continue because Chrome is focused on modern web apps and Firefox is focused on "privacy" and seeming trying to block modern web apps. This is fight which FF will lose for sure with developers. Safari works fine. Opera, well, I open it from time to time, but never use it for anything "useful" from a web dev perspective.

Drifting off topic again......



Cheers.
 
Text::Tabs(3pm) 					 Perl Programmers Reference Guide					   Text::Tabs(3pm)

NAME
Text::Tabs - expand and unexpand tabs like unix expand(1) and unexpand(1) SYNOPSIS
use Text::Tabs; $tabstop = 4; # default = 8 @lines_without_tabs = expand(@lines_with_tabs); @lines_with_tabs = unexpand(@lines_without_tabs); DESCRIPTION
Text::Tabs does most of what the unix utilities expand(1) and unexpand(1) do. Given a line with tabs in it, "expand" replaces those tabs with the appropriate number of spaces. Given a line with or without tabs in it, "unexpand" adds tabs when it can save bytes by doing so, like the "unexpand -a" command. Unlike the old unix utilities, this module correctly accounts for any Unicode combining characters (such as diacriticals) that may occur in each line for both expansion and unexpansion. These are overstrike characters that do not increment the logical position. Make sure you have the appropriate Unicode settings enabled. EXPORTS
The following are exported: expand unexpand $tabstop The $tabstop variable controls how many column positions apart each tabstop is. The default is 8. Please note that "local($tabstop)" doesn't do the right thing and if you want to use "local" to override $tabstop, you need to use "local($Text::Tabs::tabstop)". EXAMPLE
#!perl # unexpand -a use Text::Tabs; while (<>) { print unexpand $_; } Instead of the shell's "expand" comand, use: perl -MText::Tabs -n -e 'print expand $_' Instead of the shell's "unexpand -a" command, use: perl -MText::Tabs -n -e 'print unexpand $_' SUBVERSION
This module comes in two flavors: one for modern perls (5.10 and above) and one for ancient obsolete perls. The version for modern perls has support for Unicode. The version for old perls does not. You can tell which version you have installed by looking at $Text::Tabs::SUBVERSION: it is "old" for obsolete perls and "modern" for current perls. This man page is for the version for modern perls and so that's probably what you've got. BUGS
Text::Tabs handles only tabs (" ") and combining characters ("/pM/"). It doesn't count backwards for backspaces (" "), omit other non- printing control characters ("/pC/"), or otherwise deal with any other zero-, half-, and full-width characters. LICENSE
Copyright (C) 1996-2002,2005,2006 David Muir Sharnoff. Copyright (C) 2005 Aristotle Pagaltzis Copyright (C) 2012 Google, Inc. This module may be modified, used, copied, and redistributed at your own risk. Publicly redistributed modified versions must use a different name. perl v5.18.2 2014-01-06 Text::Tabs(3pm)
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy