Browsing Posts / Page 11 of 33

Elon Musk can say whatever he likes about Mark Zuckerberg and #Threads. Zuckerberg wasn't born into apartheid wealth like Musk. He earned every penny through intellectual property theft like any honest business person.

#ElonMusk #Twitter #MarkZuckerberg #hypocrisy #humor

Jul 10, 2023

So this U.S. Supreme Court case of Smith versus no one is either a litany of incompetence or a brilliant conspiracy.

#gop #scotus #politics

Jul 3, 2023

Question: Given that daily reading limits at Twitter prevent real-time news providers from getting their content out to everyone, what is Twitter without all those content providers?

Answer: A right wing disinformation and hate speech machine that shows you the occasional animated GIF of a deviant wagging his dick in your face.

#elonmusk #twitter #tech #opinion #humor

Jul 2, 2023

Elon Musk's decision to add daily reading limits to prevent data scraping also has the following impact:

  1. Reduces Twitter's search engine exposure, reducing new signups
  2. Reduces the number of real-time info providers, which also reduces the number of people looking for that content
  3. Reduces Twitter's advertising revenue as active user count and confidence in the future of the platform are also reduced

#elonmusk #twitter #dumpsterfire #tech #opinion

Jul 2, 2023

The travesty of recent U.S. Supreme Court rulings that take away basic rights to opportunity and body autonomy is partly the failure of Congress to make these rights laws that the court is required to uphold.

#GOP #SCOTUS #BlameCongress #Politics

Jun 30, 2023

StackOverflow has introduced Labs, an enhanced developer experience that uses AI to streamline the process of insulting and demeaning people looking for help.

Stack Overflow Labs - Stack Overflow
Stack Overflow Labs - Stack Overflow

stackoverflow.co

#AI #LLM #tech #opinion

Jun 20, 2023

The #Reddit CEO saying that the API transition time and pricing changes are “a business decision they won’t undo”, in addition to threats of replacing moderators who don't reopen subreddits, is a short-sighted dick move. I've gone from thinking Reddit will die a slow death to wishing for it.

#tech #opinion

Jun 15, 2023

This is that one time that life should imitate art. No, seriously.

Angel Investors Flock To New AI Technology That Removes Jeffrey Epstein From Old Photos
Angel Investors Flock To New AI Technology That Removes Jeffrey Epstein From Old Photos

www.theonion.com

#tech #humor

Jun 15, 2023

Mac Pro Tip: When copying a git repository directory to your network file server using rsync, try this:

rsync -brtlvP --chmod=Fu+w --delete-before Code/MyProject/ /Volumes/MyServer/Code/MyProject/

This will copy the files with timestamps but no other attributes, and will also give the file owner (you) full access rights. This ensures that you (or even Windows users with access rights) can overwrite the directory contents later because local read-only files (e.g. in the .git directory) won't be read-only on the server. You can also change the chmod option to customize the rights, like ensuring everyone has full control.

#apple #macos #windows #code #developer #YOUREWELCOME

Jun 14, 2023

The recent change to Google Chrome that removes the option to accept a self-signed certificate is another reason developers need a system-wide “Developer Mode” that removes these barriers erected for the normies. It's hard to code with Google, Microsoft, Apple, et al. holding one of my hands all day.

#tech #developer #opinion

Jun 12, 2023

So this is how Google Street View cars work.

#tech #humor

Jun 7, 2023

No, they don’t.

#blm #nldm #truth #opinion

Jun 5, 2023

Unless the audio recording was made with a tape recorder onto magnetic reeled media, the “tapes” that newscasters keep referencing are not “tapes”. They are digital recordings. They, of all people, should know this.

#news #grammar #pedantry

Jun 2, 2023

And now we have the first X-ray taken of a single atom, courtesy of scientists from Ohio University, Argonne National Laboratory, and the University of Illinois-Chicago, according to a new paper published in the journal Nature.

#science #awesome

Jun 1, 2023

Microsoft Teams is adding an avatars feature but I wish they would first focus on basics like working microphone audio on macOS. I have to perform a test call before my meetings every time I launch Teams, otherwise I sound like the monster in your closet.

#microsoft #teams #gripes

Build 2023: Avatars for Microsoft Teams Meetings Are Coming This Week
Build 2023: Avatars for Microsoft Teams Meetings Are Coming This Week

www.thurrott.com

May 23, 2023

My favorite iOS Mastodon app is being released for macOS on May 23, 2023! It’s elegant and feature-rich on iOS. I can’t wait to use it on my Mac.

#apple #macos #mastodon #app #recommendation

Ivory for Mac
Ivory for Mac

tapbots.com

May 23, 2023

Mimestream is the BEST macOS email app for people who use Gmail. I’ve been using it throughout the beta period and subscribed immediately when they released 1.0 today. It’s great!

#apple #macos #email #app #recommendation

The best Mac client for Gmail users is now a 1.0 release with nifty new features
The best Mac client for Gmail users is now a 1.0 release with nifty new features

arstechnica.com

May 22, 2023

Animate CSS Auto Height Without Javascript

Web developers rejoice! There's an easy way to animate the height of an HTML element even if the height is dynamic, determined by its content, with only CSS. This is typically used for navigation menus and the like, and now it's much easier to code and maintain.

The strategy is to actually animate the grid-template-rows not the height. For example, take the following HTML markup:

<div class="menu">
  <div class="inner-wrapper">
    <p>Here is some content.</p>
    <p>Here is some content.</p>
    <p>Here is some content.</p>
  </div>
</div>

The CSS for this markup would be:

.menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 100ms;
}

.menu.active {
  grid-template-rows: 1fr;
}

.menu .inner-wrapper {
  overflow: hidden;
}

Initially the outer div will be hidden since it has no overflow and the grid template rows are zero. When you add active to the outer div element's class list, the browser will animate the transition from zero row height to 1fr, which essentially means the height it needs for its content to render.

#css #html #javascript #code #tech #YOUREWELCOME

May 16, 2023

CNN giving Trump a national stage is bad enough. But the audience laughter about his liability for sexual assault, and at the victim, is truly sickening.

#CNN #Trump #EJeanCarroll #politics #opinion

May 11, 2023

My D&D Chaotic Evil Mage. I named him Lord Hatsalot.

#politics #humor

May 7, 2023

I have no words.

#humor #opinion

May 4, 2023

Automate The Installation of All Your Mac Apps Using Homebrew

On macOS it's pretty easy to automate the installation of all your apps, including Mac App Store apps, for those times when you get a new Mac or wipe your current one. As a software developer I find this capability indispensable, as would any professional or power user.

All you need to do is install Homebrew and then use it to install mas (which is an acronym for Mac App Store). Once they are installed, you can install all your software using a convenient Bash script. Homebrew will be used to install non-store apps, and mas will handle installing the Mac App Store apps.

Note: only Mac App Store apps you have already installed previously can be installed with mas. You cannot install new apps you have never installed from the store.

Why Do This?

The most obvious reason to script out your software installations is that it greatly reduces the time to set up a new Mac, as well as ensure that you don't forget to install one or more apps. It also provides a way to update all the apps at once via the brew upgrade command. And it also provides a way to update apps that don't have their own update feature.

Apps installed with mas will be updated normally by the Mac App Store.

How Does This Work?

In order to use this process you need to know the names of the Homebrew formulae/casks for each application, and you also need to know the IDs of the Mac App Store apps for mas. Fortunately this is super easy.

First, Homebrew has a tool for finding software available in their service at https://formulae.brew.sh/. Simply use this to find your apps and make sure you're installing the right ones. Those listed as “casks” are GUI Mac apps (normal apps you don't run from the Terminal). Ones listed as “formulae” are typically command line tools run from the Terminal or services without an interface.

Second, for Mac App Store apps you simply use mas to list what's currently on your computer from the Mac App Store.

mas list

This will give you a list of currently installed apps from the Mac App Store, with their IDs:

1569813296  1Password for Safari      (2.10.0)
975937182   Fantastical               (3.7.12)
409183694   Keynote                   (13.0)
etc.

You can also search for Mac App Store apps by name using the mas search command:

mas search Xcode

This will show a similar result for matches. You can even install all search results with a single “lucky” command. See the mas help for these and other options.

Script Example

Here's an example of a Bash script to get you started. I keep a similar script updated as I use new apps or stop using others. Then I'm ready to go when I have to set up a new or wiped Mac.

# Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# App Store Automation

brew install mas

# Install App Store Apps

mas install 409183694   # Keynote
mas install 409201541   # Pages
mas install 409203825   # Numbers

# Install Non-Store Apps

brew install --cask firefox
brew install --cask knockknock
# etc.

You can name the Bash script something like install-software.sh and execute it in a Terminal like this:

zsh install-software.sh

The first time you use the script will absolutely justify the time spent writing it. The second time you run it you will thank your past self for being so smart 😉

#apple #macos #mac #tech #code #recommendation #YOUREWELCOME

May 2, 2023

Install SQL Server 2022 with Full-Text Search on Apple Silicon Macs

It looks like a recent change to Docker has allowed Macs with Apple Silicon to run a full installation of Microsoft SQL Server 2022 with full-text search in a Docker container.

How is this possible? Docker has a new feature that can use Rosetta 2 for x64 emulation. That means it supports creating an x64-based Linux image/container and installing the free but full version of SQL Server with FTS.

Step 0: Enable Rosetta in Docker

Enable this feature in the Docker settings as seen in the image below. Look in Settings => Features in development.

Step 1: Create The Dockerfile

Take the content below and save it as a text file named Dockerfile. This configuration creates an Ubuntu 20.04 image, then installs the Microsoft package repositories, SQL Server 2022, FTS, and MS Tools.

# Docker image with msssql 2022 with full text search enabled;
# Based on work in: https://github.com/Microsoft/mssql-docker

# Base OS layer: Latest Ubuntu LTS
FROM --platform=linux/amd64 ubuntu:focal

# Install prerequistes since it is needed to get repo config for SQL server
RUN export DEBIAN_FRONTEND=noninteractive && \
    apt-get update && \
    apt-get install -yq curl apt-transport-https gnupg && \
    # Get official Microsoft repository configuration
    curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
    curl https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb --output packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && \
    curl https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2022.list | tee /etc/apt/sources.list.d/mssql-server.list && \
    apt-get update  && \
    # Install SQL Server from apt
    apt-get install -y mssql-server && \
    # Install optional packages
    apt-get install -y mssql-server-fts && \
    ACCEPT_EULA=Y apt-get install -y mssql-tools && \
    # Cleanup the Dockerfile
    apt-get clean && \
    rm -rf /var/lib/apt/lists

# Run SQL Server process
CMD /opt/mssql/bin/sqlservr

Step 2: Build The Dockerfile

This will build the Dockerfile and create a Docker image named sqlserver.

docker build -t "sqlserver:latest" .

Step 3: Run the Container

This will create a container from the new image and run it. The sa user will have a password of P@ssw0rdz!, the EULA will be accepted, and port 1433 will be opened.

docker run -d --platform linux/amd64 --name sqlserver -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=P@ssw0rdz!' -p 1433:1433 sqlserver:latest

At this point you should have SQL Server running! You can also have it start up with Docker by executing the command below:

docker update --restart=always sqlserver

#docker #code #mssql #AppleSilicon #YOUREWELCOME

Apr 27, 2023

Decades of financial gifts from Harlan Crow to Thomas, Gorsuch hiding $2M property sale to law firm with court business, and Roberts refusing to testify before the Senate regarding #scotus ethics… I think that we officially have the most corrupt Supreme Court in history.

#politics #opinion #gop

Apr 26, 2023

Page 11 of 33
Pageof 33

Copyright © 2025 Michael Argentini. All rights reserved.