@eftegarie@TuxCare_ I like Debian too but Ubuntu Pro is generally a better choice than standard Debian Stable if your priority is enterprise-grade security, long-term maintenance and minimizing server downtime, also free for 5 personal servers.
What's happening across Thailand right now? Come and see for yourself!
ExpatHub TV automatically switches between live streams every 15 seconds taking you from the bustling streets of Bangkok to Thailand's beautiful tropical beaches.
We've also upgraded our camera at The Upper Deck Sports Bar on Sukhumvit Soi 20 for even better live views of the Terrace and the street, it changes direction automatically every 5 minutes.
Our latest weekly podcast is now available and our daily curated feed brings together the latest news, local stories and interesting updates from across various social media channels.
Whether you're living in Thailand, planning a visit or simply missing the country, stay connected wherever you are.
Explore more at https://t.co/CSebq4pLmx
#Thailand #Bangkok #ExpatHub #Expats #LiveThailand @ExpatHuB_Asia@billybobbkk@Scottify555
@creativeskg I have always had some little concerns about having a refinery so close to the city centre. It's a serious safety risk. Thank God they managed to put out the fire so quickly!
@Plaphakan I see, great initiative! I contacted all the villas in the top of the mountains and used Ubiquity routers, we had great speed and service, but 4G killed the business, then I moved to Bangkok afterwards.
@MarioNawfal Just getting the news another refinery blowed up, now in Bangkok adding to the growing number of mysteriously happening incidents recently https://t.co/lB82P3u8ij
Great to hear it helped!
What I've discovered is that Chrome keeps re-enabling Aperitif every time the app restarts not just after updates.
So I created a small Swift utility called chrome-flag-guard that runs in the background, detects when Chrome launches without the required flag, shuts it down and automatically relaunches it with Aperitif disabled.
Apparently, Google is determined to force this feature on us whether we want it or not.
You can create a shortcut with the automation or shortcuts app which is much simpler but I prefer to use the guard until chrome blocks it to make it more convenient.
Here's how to set it up on macOS.
1. Create the Swift utility
nano ~/chrome-flag-guard.swift
Paste the following code:
import Foundation
import AppKit
let flag = "--disable-features=AperitifHelpers"
while true {
autoreleasepool {
if let chrome = NSRunningApplication
.runningApplications(
withBundleIdentifier: "https://t.co/6yndODIfv1"
).first {
let ps = Process()
let pipe = Pipe()
ps.executableURL = URL(fileURLWithPath: "/bin/ps")
ps.arguments = [
"-ww", "-p",
String(chrome.processIdentifier),
"-o", "command="
]
ps.standardOutput = pipe
do {
try https://t.co/1Nm5EavkSu()
ps.waitUntilExit()
let data = pipe.fileHandleForReading
.readDataToEndOfFile()
let cmd = String(data: data, encoding: .utf8) ?? ""
if ps.terminationStatus == 0 &&
!cmd.isEmpty && !cmd.contains(flag) {
if chrome.terminate() {
for _ in 0..<100 {
if chrome.isTerminated { break }
Thread.sleep(forTimeInterval: 0.1)
}
if chrome.isTerminated {
let launch = Process()
launch.executableURL = URL(
fileURLWithPath: "/usr/bin/open"
)
launch.arguments = [
"-a", "Google Chrome",
"--args", flag
]
try https://t.co/2guKgD7iI1()
launch.waitUntilExit()
Thread.sleep(forTimeInterval: 3)
}
}
}
} catch {
print(error)
}
}
}
Thread.sleep(forTimeInterval: 1)
}
2. Compile it
swiftc ~/chrome-flag-guard.swift -o ~/chrome-flag-guard
If Swift is unavailable, install Apple's command-line tools first:
xcode-select --install
3. Configure automatic background startup
Run the following in Terminal:
mkdir -p ~/Library/LaunchAgents
cat > ~/Library/LaunchAgents/com.chrome.flag-guard.plist <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Label</key>
<string>https://t.co/muiTrhjqnl.flag-guard</string>
<key>ProgramArguments</key>
<array>
<string>$HOME/chrome-flag-guard</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
EOF
launchctl bootstrap gui/$(id -u) \
~/Library/LaunchAgents/com.chrome.flag-guard.plist
4. Verify it's running
pgrep -fl chrome-flag-guard
That's it. The utility starts automatically when you log into macOS, checks Chrome every second and relaunches it with Aperitif disabled whenever necessary. No sudo privileges , no disabled System Protection (SIP) or manual intervention required.
To disable the utility:
launchctl bootout gui/$(id -u) \
~/Library/LaunchAgents/com.chrome.flag-guard.plist
rm ~/Library/LaunchAgents/com.chrome.flag-guard.plist
Spent way too much time figuring out why Chrome suddenly turned my Mac into a sluggish mess after the latest update on Novermber 12. Turns out it was a bloddy thing called AperitifHelpers, Google's new experimental macOS helper system.
I get that process isolation and sandboxing are important for security, and that's a good thing. But pushing experimental changes into a production release that can seriously affect performance? Come on, Google. 😂
If you're experiencing the same issue, quit Chrome and run this in Terminal:
open -a "Google Chrome" --args --disable-features=AperitifHelpers
Problem solved on my Mac. Security matters but so does making sure your browser doesn't bring the entire computer to its knees. Maybe test things properly before pushing them to millions of users.
@bartelsv@thekebabfather What on earth is that? Reminds me of the good old days when IKEA's beef meatballs came with a little unexpected horsepower :) https://t.co/vjNC9QhVSW
@bkkdude Yeah, one thing I learnt from driving in BKK is that you need to look behind more than ahead and even then you can still get into trouble lol. Never mind the important thing is that we are safe and nobody got hurt. No amount of money can compensate for an injury or life loss.