Magesh Ravi

Artist | Techie | Entrepreneur

avatar

Display bluetooth device names while scanning

Open or create the /etc/bluetooth/main.conf with the following contents,

[General]
NameResolve=true

Then restart with systemctl restart bluetooth

Permalink
avatar

I had trouble connecting to my bluetooth headphones from my Linux laptop.

Reason: I couldn't see the device names. Only the hexadecimal IDs with hyphens.

I asked Perplexity and ChatGPT. ChatGPT gave me the fix that worked.

Permalink
avatar

MS SQL 2019 does not run well on Apple Silicon. Saw false "storage full" errors at random. Had to switch to my Intel-Linux machine.

Permalink
avatar

Mongo announced the public preview of their Django backend.

Permalink
avatar

Alembic: I used SQLite during development and MS SQL for beta testing. The switch wasn't smooth. Had to make changes in the model file and replace the revisions/migrations. Is this the expected behaviour, or am I missing something?

Permalink
avatar

I've been playing around with FastAPI for the past few days. I was surprised that FastAPI didn't have the concept of migrations OOB. I then found Alembic and have been using it. Not impressed.

Permalink
avatar

Since 2009, I have used many Linux distros. I say with certainty that openSUSE is the best in terms of reliability and stability.

Permalink
avatar

GitHub Copilot + VS Code = 🔥

Permalink
avatar

You might find this pyproject.toml configuration handy with ruff.

[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]
Permalink
avatar

Tried Ruff recently. Impressive.

Ruff replaces flake8, black and isort. Additionally, has a VS Code extension.

Permalink