There are a lot more speech programs on Linux now. I was a bit curious and searched through the distribution package managers recently.
Some use Vosk or Onnx as runtimes.
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
There are a lot more speech programs on Linux now. I was a bit curious and searched through the distribution package managers recently.
Some use Vosk or Onnx as runtimes.
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
To quiet down Firefox’s network activity at the application level:
Set global (about:policies
) policies in
/etc/firefox/policies/policies.json
Block untrusted connections with
proxy.pac
[?]
in policies.json
. Enable the
file in (about:settings
) network settings.
Additionally user.js is configurable (mine). Firefox derivatives do similar pre-configurations. Chromium derivatives have policy settings too.
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
There’s a quick way to test the offline behaviour of programs on Linux.
unshare -c -n bash
$ ip addr
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
List network namespaces with lsns
.
$ lsns -t net
NS TYPE NPROCS PID USER NETNSID COMMAND
999 net 2 111 user 3 systemd
888 net 1 222 user unassigned └─bash
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
In UNIX everything is a file. A file is a file and a directory is a special kind of file…
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
I saw something peculiar the other day. Hallucination? The microsoft.com domain was serving up 192.168.1.0 and 192.168.1.1 as A records in a 7 address round robin.
That’s a spooky reminder to check your rebinding setup — that is, if you’re playing with fire ().
For example,
unbound
with private-address
and private-domain
. Then
test if DNS rebinding is possible.
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Are the caches warmed up? vmtouch and fincore are two useful programs.
What do they do? Basically, one can peek at what’s been cached into memory. I somehow ended up re–looking into this today. The Linux kernel is intelligent.
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Many fortnights ago, I foolishly thought writing a theme from scratch would be easy. It was mostly unlike GTK2. About 40 minutes in came a horrifying realization: there’s fundamentally (and definitively) no way to write a consistent theme that works reliably with every application. The minor upside was a working (and somewhat accessible) wireframe theme and a basic understanding of debugging. The end.
GTK_DEBUG=interactive firefox
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
An actual but where did my Linux memory go command;
This program
(repositories) came in handy while
helping someone resolve an problem. Want to
see memory usage and shared memory, perhaps
sorted by swap?
smem -s swap -kta
smem --sort swap --abbreviate --totals --autosize
--sort
?
swap (amount of swap space consumed ignoring sharing)
command (process command line)
maps (total mappings count)
name (process name)
pid (process id #)
user (process owner)
pss (proportional set size including sharing)
rss (resident set size ignoring sharing)
uss (unique set size)
vss (virtual set size; total virtual memory mapped)
/tmp/
and tmpfs
(temporary file storage) abusers;
df -h | grep tmpfs
df --human-readable | grep tmpfs
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Incus is worth a look. It’s the fork of LXD, a container and orchestration/hypervisor program for cluster setups and infra models. Incus sits on top of the lower level LXC (Linux Containers).
Another wandering soul whispering into the void. If you are looking for my blog you are in the wrong place. The profile and header pictures are brought to you by cdd20.
Some nix
language gotchas I’ve experienced while using
NixOS personally:
with
expressions unless with the
inherit
keyword for identifying hidden attributes in scope.rec
keyword unless there’s tracking/control of infinite set recursion (self
naming/references).<nixpkgs>
for any
evaluation chain unless there’s magic compute and “infinite” memory.Tricky is numero three, but crucial for fast feedback regardless of the current thing? I don’t poke around as much to know anymore but; legacy, flakes, community, and possibly others.