Show newer

@freemo Qutebrowser is pretty good these days. You can configure it to work with the same ad-blocking engine that brave uses + a hosts list
Also its completely keyboard driven with vim keybindings

It's probably the most configurable browser I've used to date

Between the electron and tui programming it feels so much better to work on a tui program

>easier testing
>naturally lightweight
>easily debug gable

Sometimes I wonder why I bother writing an electron client for software that really only caters to FOSS/privacy people

As it turns out multi-threaded asynchronous web servers are much harder to write than I expected in Rust. Haven't had an issue with the borrow checker/lifetimes until I realized that passing shared memory is probably not the way to go for what I'm doing.

At least in my case(RTC server) I realize it makes more sense to not rely on using threads to take incoming message to broadcast on one thread and broadcast on another thread. Instead it makes more sense to have a special data structure that actually organizes connections and manages its own data.

>being organized makes things easier
who would have thought

>Remove mysql driver depenancy from project
>100 less packages get pulled in

Literally how is the mysql rust driver so bloated I just don't get it

I though tokio(a whole asynchronous runtime) would have been heavier but nope its mysql

Never though I would get to the point of implementing an an authenticated RTC server with Freechat but here I am...

Soon I'll have text message listening capabilities and as soon as that is done I can move towards implementing VOIP.

Shilling below:

Freechat is a chat platform I've been working on in order to replace platforms like Discord/Slack. It's still a work in progres and there's somethings I need to retroactively fix but at least the server portion is usable. I'm adding RTC on various channels as an optional feature but polling for recent messages also works. The biggest challenge right now is coming up with an application that regular people can use(which I'm also working on).

If a FOSS Discord/Slack alternative sounds interesting check the gitlab project linked at the bottom.

Finally I've been building the backend with the intention that the API be easy to use so anyone can make their own client; heck I used to and sometimes still test the API with just a bash script!

API Reference: freechat.shockrah.xyz/

Gitlab Repository: gitlab.com/shockrah/freechat

Turns out qutebrowser now has real adblocking alongside a hosts file. Finally I can leave behind brave make my dwm setup full mouse-less

Finally wrote some proper documentation for my to-be discord replacement
now to figure how tf to make a proper app for this thing because im getting really impatient using discord so much

oh and it doesn't use any javascript! yay
freechat.shockrah.xyz

>aws provides a shell in the browser
as much as i dislike using amazon products i have to admit, thats pretty cool

ToDo lists? No thank you I'll stick to my ToDo Graphs.
It's pretty easy to prioritize issues this way, whatever has the most dependencies gets done first.

Got to implement a Berger Table Generator today
Even though it was simple it felt really nice to think about a janky little algorithm instead of features or deadlines

Also never heard of this stuff before so I felt like a first CS student again lots o fun :^)

Ref: en.wikipedia.org/wiki/Round-ro

Disclaimer: rocket.rs is actually incredible especially for writing up simple web servers _really_ quickly

things breaking on rust nightly every other day has finally pushed me to straight up drop using rocket entirely
I'd rather just do things myself than be at the mercy of a massive library from now on
Hyper here I come!

Made the switch to Debian Sid from Buster and it went surprisingly smooth
I only had hiccup nouveau not detecting drivers and preventing booting but was apparently as simple as grabbing the `firmware-linux` package

@aluaces Honestly I have no idea, my todo list had a lot of stuff in its "in progress" section so I was probably in the middle of doing some big change along with the other upgrades.
In any case everything is fixed at this point and things are looking much cleaner now.
The joys of jumping off projects over and over again

@aluaces
New version of rust-nightly and rocket.rs was enough to set off a ton errors with Diesel, the library I use to do database things. I didn't think I'd have so many though xd

rust language server reported 72 errors when i opened up an old project
felt good bringing that down to just 1 and a warning

Ran some tests querying data off a firebase instance from python with synchronous and asynchronous methods and wow.
I really want to refactor a lot of code for those massive query time gains but the code but I have in mind is already fraught with problems and missing features oh well maybe one day I'll get to it, for now it goes on the todo list

@freemo I've bounce between VSC and Vim a lot but lately I've found that a good set of plugins for Vim so I'll probably stay there for awhile

Also in case anyone didn't know there's a Vim extension for VSC which makes it much more comfortable to use

its incredible how many uses I've found for dmenu these days
> wifi connection script with multiple configs generated using dmenu
> script to setup projectors
> youtube-dl wrapper with dmenu as frontend for input

feels /comfy/ i cant lie

Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.