-
polyex
14.1 shaping up to be the best release ever
-
jbo
glad to hear that
-
jbo
hopefully no ZFS drama
-
polyex
ya that could be bad
-
polyex
zfs rewrite in rust would be gold
-
jbo
stop
-
polyex
well it helps catch bugs
-
polarian
polyex: heresy, does this look like Linux?
-
polyex
you mean successful? progressively not, no. rust is better than C there's just no debating it
-
edenist
polyex: I'm not against rust from a language perspective. My main issue with it is portability and bootstrapping it, which currently is a real pain
-
polyex
ya i think its compiler is like 75mb. just got an idea, what if there was a really naive simple compiler distributed instead of the official one
-
polyex
like 5mb and just doesn't make as fast code but it can bootstrap
-
polyex
maybe that's what cranelift is
-
rennj
en.wikipedia.org/wiki/Commodore_BASIC bill gates got the shaft, "I'm already married,"
-
VimDiesel
Title: Commodore BASIC - Wikipedia
-
rennj
basic in rom
-
rennj
vic20 style
-
hubertm
after installing gdb on raspberry pi 4 and trying to start it, i just get "command not found" and if i try its file /usr/local/share/gdb i get "permission denied" (even though permissions are OK)
-
crest
has anyone used varnish as an on-site cache for the official package mirrors?
-
montar
anyone knows how can I directly access LPT port to use it as GPIO, is it even possible?
-
dch
-
VimDiesel
Title: Local cache for PKGs? | The FreeBSD Forums
-
dch
stupid question of day, given a panic & subsequent crash dump how do I "connect" to it?
-
crest
dch: one reboot the system should save the core it dumped to swap to a file
-
crest
*on reboot
-
crest
iirc via the savecore rc.d script
-
dch
crest: yeah I have that file
-
dch
I want to do `bt` and stuff in it
-
dch
this is 14.1-RC1 crapping its pants on airport wifi
-
dch
-
VimDiesel
Title: Chapter 10. Kernel Debugging | FreeBSD Documentation Portal
-
dch
kgdb
-
crest
iirc the (k)gdb file command is what you're looking for
-
crest
to point it at the kernel
-
crest
and the core command to point it at a specific kernel dump
-
dch
ok in panicmail I see ` Panic String: sleeping thread`
-
dch
looks like a linuxkpi / iwlwifi issue again
-
crest
does iwlwifi depend on linuxkpi and its incomplete reimplementation of the linux driver APIs or does it just clash in general to annoy you^^ ?
-
crest
did you encounter this on amd64 or arm64?
-
crest
if it only happens on arm64 it could be an other example of code expecting the more restrictive x86 memory model
-
crest
TSO (total store order) instead of whatever your specific arm64 core would do
-
dch
crest: this is my boring laptop and it needs intel wifi which is either old if_iwm, or new iwlwifi which requires linuxkpi
-
dch
its super annoying, I'm continually on the verge of installing almost anything else, just to have usable wifi speeds :-(
-
crest
does if_iwm still limit you to 802.11n throughput?
-
crest
dch: how about openwrt inside bhyvE?
-
crest
there is a ready to use port for that
-
dch
crest: not doing that path as a matter of principle
-
dch
if we dont eat the dogfood then freebsd-as-a-{desk,lap}-top is dead
-
crest
agreed, but sometimes you need a workaround for the annoying 5% to get to enjoy the other 95%
-
crest
dch: i have varnish working as a PoC
-
crest
it's nice to have curl fetch packages at line rate (even more locally)
-
crest
the next question would be should i be honest and update the pkg.conf on every system or should i just hijack the names and run them through a transparent cache?
-
dch
definitely the latter
-
dch
I wish we'd gone the path of collaborating with netbsd and openbsd on their reimplementation of wifi
-
dch
but as I'm only testing the code, not writing it, my wishes are not really relevant
-
jbo
lw, ping
-
polarian
hmm... chromium has a lot of CVEs being reported
dpaste.org/7fuTj
-
VimDiesel
Title: dpaste/7fuTj (Python)
-
polarian
still no port update for it
-
polarian
firefox is being updated though... so I assume firefox is easier/better maintained?
-
crest
dch: did you verify that your nginx cache really works and serves cached packages?
-
crest
i'm asking because pkg.freebsd.org will serve packages with Cache-Control: max-age=0 and Cache-Control: private
-
crest
which disables shared caches in a more or less sane default configuration
-
crest
because it's both already stale and should only added to private caches which neither nginx nor varnish should consider themselves
-
polarian
how do you set a gtk4 theme on FreeBSD... I have tried in the config but its just ignored, the only thing that seems to work is setting GTK_THEME
-
polarian
but this only works if you launch from the shell
-
polarian
using a launcher you cant do this
-
trashboat
my friend, set the env var
-
trashboat
in your .profile or somewhere
-
polarian
trashboat: launchers do not pick up on these
-
trashboat
well then your launcher sucks
-
trashboat
put it in /etc/environment or equivalent
-
polarian
I beleive I already tried .profile with rofi
-
trashboat
try .bashrc?
-
polarian
I am not using bash
-
polarian
this isn't Linux
-
trashboat
..what!? where am i??
-
trashboat
oh yeah.
-
trashboat
.cshrc?
-
trashboat
thats what youre looking for.
-
trashboat
setenv GTK_THEME adwaita or whatevs
-
polarian
hmm
-
polarian
I am using sh not csh
-
polarian
BUILTIN(1) states sh doesn't support setenv
-
trashboat
i dont even know what you mean by "launcher"...but it sounds like its a script. put it there.
-
debdrup
Yea, setenv is a Cshell-ism. With anything related to Bourne, you just set it by typing it: ENVVAR=foobar
-
trashboat
debdrup: where would you put it so that it is set on login?
-
trashboat
you could also change your shell to csh
-
debdrup
~/.shrc
-
debdrup
you can also use ~/.login if you want something that gets applied to all shells, but you need to ensure what you're doing is compatible with both Bourne and C-derived shells
-
debdrup
for an example of the default .shrc that freebsd provides (which has at least one environment variable), check /usr/share/skel/dot.shrc
-
tmp_
Depending on setup, .shrc may be called everytime you run a shell. If you want something to run once, on login: .profile
-
debdrup
oh right, ~/.profile is also a thing
-
trashboat
eh said that wasnt working
-
trashboat
s/eh/they
-
debdrup
what wasn't working?
-
polarian
trashboat: rofi
-
voy4g3r2
then you throw in zsh and there is the whole ~/.config/zsh stuff :)
-
debdrup
...
-
polarian
debdrup: I am not sure if rofi will pick up on the env variables though
-
debdrup
that seems like a rofi issue then
-
llua
zsh doesn't read files from there thankfully
-
debdrup
procstat(1) can show which environment variables have been set for a given process
-
debdrup
thank fuck for whoever wrote the stats(7) page, because that's how i found it :D
-
polarian
trashboat and debdrup sticking GTK_THEME in .profile or .shrc doesn't have any affect on rofi
-
trashboat
polarian: how are you calling rofi?
-
trashboat
init script?
-
trashboat
put it there
-
polarian
hm
-
polarian
its a keybind
-
trashboat
put it in the commad line that calls rofi, wherever it is
-
polarian
trashboat: doesn't work attempting to change the keybind in i3 config will not work
-
polarian
bindsym $mod+d exec --no-startup-id rofi -show drun -font "Ubuntu Mono 10" -theme "gruvbox-dark" -show-icons
-
trashboat
put setenv in there
-
polarian
where...
-
trashboat
sorry ENVAR
-
trashboat
whatever makes it work
-
polarian
try sticking it before exec breaks exec
-
polarian
after exec breaks
-
trashboat
i would try right be rofi
-
trashboat
and maybe it will need quotes
-
trashboat
i'm not the expert just thinking of how i would accomplish what you are after
-
trashboat
*right before rofi -sorry
-
trashboat
but wait
-
trashboat
what user is i3 running as?
-
trashboat
i guess you were trying with that user
-
polarian
trashboat: thanks worked
-
trashboat
excellent
-
polarian
I don't get why specifying the font in the gtk config work s
-
polarian
but specify a theme doesn't
-
polarian
gtk such a pain in the arse
-
polarian
and my configs have too many linuxisms in it currenttly
-
trashboat
100%
-
polarian
seen as they were used on Linux and adapted for BSD
-
trashboat
qt even worse
-
polarian
welp it works now, so thats all that matters :P
-
trashboat
cheers
-
polarian
and gtk3 applications still use the gtk3 theme as I wanted... perfect
-
al1r4d
I just bought #FreeBSD from Indonesia VPS Provider with the following specs:
-
al1r4d
1 GB of RAM, 1 vcpu, 10 GB NVMe SSD
-
al1r4d
If you have similar VPS, how can you tune performance and harden the server?
-
polarian
well you can start off by reading the handbook on it:
docs.freebsd.org/en/books/handbook/security
-
VimDiesel
Title: Chapter 16. Security | FreeBSD Documentation Portal
-
polarian
its not exactly mandatory... its always about trade off between usability and security
-
polarian
there is a whole heap of sysctl stuff you can do but some have major performance impact
-
debdrup
meena: are you around for the devsummit?
-
makr
are binary packages being updated more frequently now?
-
makr
`pkg upgrade` seems to suggest upgrades more frequently now
-
rwp
It might depend upon if you are on Quarterly or Latest.
-
makr
rwp: i'm on latest
-
rwp
I would expecdt Latest would have more updates more frequently than Quarterly.
-
polarian
chromium obviously isn't :P
-
polarian
its been vulnerable for like a week now
-
makr
rwp: yes, but i've been on latest for a while
-
makr
last couple of weeks or so updates are more frequent
-
polarian
how stable is latest compared to quarterly
-
makr
previously you'd get updates like once a week max
-
polarian
makr: firefox is updated very often it seems on quarterly
-
makr
very stable
-
makr
possibly security updates
-
polarian
most firefox updates are security updates :P
-
makr
haha
-
rwp
I am on Quarterly and get frequent Firefox updates.
-
polarian
it must cost a fortune to pay for the amount of compute to build for all the different versions and the different branches (latest/quartly etc)
-
polarian
rwp: do you use chromium?
-
rwp
I have Chromium installed but I only use it when a site requires Chromium. Otherwise I use Firefox all of the rest of the time.
-
rwp
85% of the world is using a Google Chromium based web browser. That's not a healthy ecosystem. Wish things were better.
-
polarian
rwp: that is what I do, but if you have done pkg audit -F
-
polarian
chromium has been vulnerable for a while now
-
rwp
One of the problems with CVEs is that people now use them for complaints about stupid things. "rm removed my file, I think that's a security problem, CVE!" And so now I just don't know if a CVE indicates a real problem or just someone being stupid.
-
voy4g3r2
rwp: can't it just be retracted.. reason for closure: stupidity?
-
rwp
voy4g3r2, We could only hope. We could only hope.