opinion – AlbeBaubles https://albebaubles.com Mobile & IoT Development Tue, 18 Feb 2025 15:11:20 +0000 en hourly 1 https://wordpress.org/?v=6.8.1 https://albebaubles.com/wp-content/uploads/2019/10/cropped-247306-3-32x32.png opinion – AlbeBaubles https://albebaubles.com 32 32 Daring Fireball: Golfo del Gringo Loco https://albebaubles.com/opinion/daring-fireball-golfo-del-gringo-loco/ https://albebaubles.com/opinion/daring-fireball-golfo-del-gringo-loco/#respond Tue, 18 Feb 2025 15:11:20 +0000 https://albebaubles.com/?p=1040 Incredible write-up from Gruber on Daring Fireball regarding the ‘Gulf of America’ nonsense.

Daring Fireball: Golfo del Gringo Loco:

]]>
https://albebaubles.com/opinion/daring-fireball-golfo-del-gringo-loco/feed/ 0
Six Colors – Apple, technology, and other stuff by Jason Snell & Dan Moren https://albebaubles.com/opinion/six-colors-apple-technology-and-other-stuff-by-jason-snell-dan-moren/ https://albebaubles.com/opinion/six-colors-apple-technology-and-other-stuff-by-jason-snell-dan-moren/#respond Wed, 08 May 2024 15:27:04 +0000 https://albebaubles.com/?p=987 Great write-up from Jason Snell asSix Colors:

Six Colors – Apple, technology, and other stuff by Jason Snell & Dan Moren:

What’s lighter than air? On the iPad, Pro. Pro is lighter than air

]]>
https://albebaubles.com/opinion/six-colors-apple-technology-and-other-stuff-by-jason-snell-dan-moren/feed/ 0
Michael Tsai – Blog – Pkl Programming Language https://albebaubles.com/opinion/michael-tsai-blog-pkl-programming-language/ https://albebaubles.com/opinion/michael-tsai-blog-pkl-programming-language/#respond Sat, 24 Feb 2024 14:43:02 +0000 https://albebaubles.com/?p=932 Continue reading Michael Tsai – Blog – Pkl Programming Language]]> Pickle! Love the name! I haven’t had a chance to put this in action, but I expect this to be big.

Michael Tsai – Blog – Pkl Programming Language:

We created Pkl because we think that configuration is best expressed as a blend between a static language and a general-purpose programming language. We want to take the best of both worlds; to provide a language that is declarative and simple to read and write, but enhanced with capabilities borrowed from general-purpose languages.

]]>
https://albebaubles.com/opinion/michael-tsai-blog-pkl-programming-language/feed/ 0
Apple News You Can’t Use https://albebaubles.com/opinion/michael-tsai-blog-apple-news-you-cant-use/ https://albebaubles.com/opinion/michael-tsai-blog-apple-news-you-cant-use/#respond Fri, 16 Feb 2024 14:02:29 +0000 https://albebaubles.com/?p=920 Michael Tsai – Blog – Apple News You Can’t Use:

I 100% agree with this. I’m also highly bothered by seeing the same advertisements dozens of times as I doom scroll for an article to read.

]]>
https://albebaubles.com/opinion/michael-tsai-blog-apple-news-you-cant-use/feed/ 0
BP to divest stake in Russian state-oil company Rosneft | Financial Times https://albebaubles.com/opinion/bp-to-divest-stake-in-russian-state-oil-company-rosneft-financial-times/ https://albebaubles.com/opinion/bp-to-divest-stake-in-russian-state-oil-company-rosneft-financial-times/#respond Sun, 27 Feb 2022 21:43:19 +0000 https://albebaubles.com/?p=792 Continue reading BP to divest stake in Russian state-oil company Rosneft | Financial Times]]> BP to divest stake in Russian state-oil company Rosneft | Financial Times:

The UK-listed oil group said in a statement on Sunday that it would no longer report reserves, production or profits from Rosneft, and its chief executive, Bernard Looney, would resign from the Rosneft board “with immediate effect”.

 

Incredible move by BP – bravo.

]]>
https://albebaubles.com/opinion/bp-to-divest-stake-in-russian-state-oil-company-rosneft-financial-times/feed/ 0
.user.ini — Godaddy Hosting defaults PHP to 128MB https://albebaubles.com/opinion/user-ini-godaddy-hosting-defaults-to-intentional-de-optimization/ https://albebaubles.com/opinion/user-ini-godaddy-hosting-defaults-to-intentional-de-optimization/#comments Sat, 26 Feb 2022 04:55:23 +0000 https://albebaubles.com/?p=770 Pissed at GoDaddy and pissed at myself; this is both embarrassing AND infuriating.

My website has been GoDaddy and WordPress hosted for the last decade.  While I’ve never found it to be as performant as one would expect, I just assumed this was due to the fact that my site gets very little traffic and thus nothing is cached.

Additionally, in the last 3-4 years a number of websites I administer have moved from older tech to WordPress. I also found them to be not as performant as one would expect.  In the last 2 years I’ve had to upgrade all of my clients’ hosting plans to higher plans to get the sites to keep from failing (running out of memory).

I noticed WordPress on my home NAS was super fast compared to myself and my client’s websites hosted on GoDaddy, and finally started to investigate.

————

A WordPress install on a Godaddy host will not have any intelligent settings applied based on your plan.  It is totally up to the site admin (YOU) to update the defaults-constants.php to allocate appropriate memory to WordPress.  (Hint, provide more memory to WP)

UntitledImage

This is great and all — your WordPress site will now use up to 4096 * 1024 MB of memory (if available) — you should see a noticeable improvement in your sites. Yet, you’ll find your site pages are still very slow to load — waiting 3-4 seconds for a page to load — you’ve given WordPress as much ram as you can, but since it runs under PHP your site is still limited by PHPs memory limit.

——————

This has been driving me crazy all week. Why is my site – that gets almost no traffic – so slow to load?  I do not have enough traffic to require (or justify) a hosting upgrade – something is wrong.

After spending half a day running down Godaddy/Wordpress optimization issues, I discovered — WordPress has nothing to do with the issue.  By default a godaddy hosted website will be allocated 128MB of RAM REGARDLESS OF THE AMOUNT OF RAM THE SERVER HAS.  This is clearly a simple ploy on Godaddy’s part to separate their customers from their money.  GREED.  Increases support calls. First line support is not aware and will not tell you – will suggest an upgraded plan. Second level support will suggest you pay for an ‘expert’ to help ‘optimize’ your site.

—————–

All you have to do is create a .user.ini file — and in it be sure to allocate a suitable amount of RAM based on your server’s available RAM….

UntitledImage

Do not fall for the godaddy “Need admin help and a higher capacity plan” – modify your defaults-constants.php and create a /.user.ini file as noted above — and Bob’s your Uncle!

Loading

]]>
https://albebaubles.com/opinion/user-ini-godaddy-hosting-defaults-to-intentional-de-optimization/feed/ 2
Hacked Highway Sign in Phoenix Condemns Vladimir Putin | Phoenix New Times https://albebaubles.com/opinion/hacked-highway-sign-in-phoenix-condemns-vladimir-putin-phoenix-new-times/ https://albebaubles.com/opinion/hacked-highway-sign-in-phoenix-condemns-vladimir-putin-phoenix-new-times/#respond Fri, 25 Feb 2022 23:27:34 +0000 https://albebaubles.com/?p=740 Hacked Highway Sign in Phoenix Condemns Vladimir Putin | Phoenix New Times:

It didn’t take long for the hacker or hackers to target another illuminated message board on I-17, this time on the interstate near Thunderbird Road.

The political vigilante manipulated the traffic sign to say “FUCK PUTIN.”

Screenshot 2022 02 24 11

Love it!!!

]]>
https://albebaubles.com/opinion/hacked-highway-sign-in-phoenix-condemns-vladimir-putin-phoenix-new-times/feed/ 0
Shawn Adrian ✨ on Twitter: “Am I the only one who can literally never find a thing on this panel without using search? https://t.co/vtWLlhgDHJ” / Twitter https://albebaubles.com/opinion/shawn-adrian-%e2%9c%a8-on-twitter-am-i-the-only-one-who-can-literally-never-find-a-thing-on-this-panel-without-using-search-https-t-co-vtwllhgdhj-twitter/ https://albebaubles.com/opinion/shawn-adrian-%e2%9c%a8-on-twitter-am-i-the-only-one-who-can-literally-never-find-a-thing-on-this-panel-without-using-search-https-t-co-vtwllhgdhj-twitter/#respond Fri, 25 Feb 2022 23:08:48 +0000 https://albebaubles.com/?p=736 Continue reading Shawn Adrian ✨ on Twitter: “Am I the only one who can literally never find a thing on this panel without using search? https://t.co/vtWLlhgDHJ” / Twitter]]> Shawn Adrian ✨ on Twitter: “Am I the only one who can literally never find a thing on this panel without using search? https://t.co/vtWLlhgDHJ” / Twitter:

Am I the only one who can literally never find a thing on this panel without using search?

100% agree with this. I don’t bother going to System Preferences if I can use spotlight to search for the app directly.

]]>
https://albebaubles.com/opinion/shawn-adrian-%e2%9c%a8-on-twitter-am-i-the-only-one-who-can-literally-never-find-a-thing-on-this-panel-without-using-search-https-t-co-vtwllhgdhj-twitter/feed/ 0
Police Say This Profane Prank in Phoenix Wasn’t Such a Bright Idea https://albebaubles.com/opinion/police-say-this-profane-prank-in-phoenix-wasnt-such-a-bright-idea/ https://albebaubles.com/opinion/police-say-this-profane-prank-in-phoenix-wasnt-such-a-bright-idea/#respond Thu, 24 Feb 2022 23:29:18 +0000 https://albebaubles.com/?p=744 Police Say This Profane Prank in Phoenix Wasn’t Such a Bright Idea:

That was just enough space for pranksters to display the lewd haiku, “SUCK MY ASSHOLE,” to motorists driving past a stretch of I-17 that sees more than 100,000 vehicles every day.

Lgtn

I’m thinking a u-turn is the proper move here….

]]>
https://albebaubles.com/opinion/police-say-this-profane-prank-in-phoenix-wasnt-such-a-bright-idea/feed/ 0
1/6/2021 – The Capitol https://albebaubles.com/opinion/1-6-2021/ https://albebaubles.com/opinion/1-6-2021/#respond Thu, 07 Jan 2021 02:30:10 +0000 https://albebaubles.com/?p=275 I’m scared for my country.

 

https://en.wikipedia.org/wiki/2021_storming_of_the_United_States_Capitol

 

]]>
https://albebaubles.com/opinion/1-6-2021/feed/ 0
Fold code for functions you don’t mutate https://albebaubles.com/opinion/collapse-code-for-functions-you-dont-mutate/ https://albebaubles.com/opinion/collapse-code-for-functions-you-dont-mutate/#respond Sun, 05 Jan 2020 22:24:11 +0000 http://albebaubles.com/?p=90 Continue reading Fold code for functions you don’t mutate]]> Something I’ve found very helpful for my busy mind is to fold the code within functions I’ll rarely mutate. Folding/Unfolding code is as easy as tapping option-command-leftarrow to fold and option-command-rightarrow to unfold.

So take the following code:

NewImage

Place the cursor anywhere within the function brackets and tap option-command-leftarrow, and this is what you have:

NewImage

One heck of a lot cleaner, and easy to unfold by either clicking the ellipsis or tapping option-command-rightarrow. Encourage your developers to use this practice – once comfortable with it, you’ll save time.

Of course — do not forget the code folding options from the editor menu to be able to fold or unfold entire files.

]]>
https://albebaubles.com/opinion/collapse-code-for-functions-you-dont-mutate/feed/ 0