<sad_plan>
oh, more rust stuff. I swear to god, everything is written in rust these days...
paper_ has joined #kisslinux
mtj has quit [Ping timeout: 255 seconds]
mtj has joined #kisslinux
<testuser[m]>
hi
<testuser[m]>
sad_plan whats wrong with it lol
<testuser[m]>
from a dev's standpoint
<testuser[m]>
its much better
<testuser[m]>
packaging is pain
<sad_plan>
Im sure its great from a devs standpoint. probably alot of nice features (muh memory safty. lol)
<sad_plan>
but yes, the packaging is mostly my issue with it
aelspire has joined #kisslinux
<aelspire>
And due to inclusion in linux and in firefox rust toolchain is expected to be installed on most linux systems
<aelspire>
so amount of rust programs will grow
<sad_plan>
im also sure its worth pointing out, im rather unfamiliar with rust to begin with. with the only exception of me using rust to build firefox..
<sad_plan>
I would like to use a more minimal setup, like a webkit browser like surf, vimb or something of the sort. buut those are less ideal tbh
<aelspire>
I'm in progress of doing comparison of rust and zig and comparing it to my C and C++ knowledge
<aelspire>
so far rust is not bad
<aelspire>
im not sure if it's good yet
<sad_plan>
aelspire: yeah, I see more and more rust programs, so im sure itll just continue to grow, as is the case with go. I tend to see more rust/go programs as I go than before
<aelspire>
I would dive into zig without this rust in linux kernel
<aelspire>
basically in near future if You compiled our own kernel both C and rust toolchain will be already installed so its there and available to play with it
<aelspire>
this is main selling point for me
<aelspire>
line POSIX shell
<aelspire>
like*
<aelspire>
but still I'm not sure what I like, and there is Hare too
<aelspire>
but without generics its bound to have houndreds of incompatible workarounds around lack of generics
<aelspire>
I'm low level guy who like to write toy programs on bare metal (STM32Fx) so Go is noGo (pun intended) for me
<aelspire>
what I like in rust actually is *very* strong type system, You can via traits allow or disallow to make simple copy of struct if it contains pointer to somewhere which need to be guarded, disallow movin struct if it is referenced from somewhere, disallow to move data from thread to thread
<aelspire>
it makes sense, actually
<aelspire>
but sometimes is pain in a**
<aelspire>
> "I would like to use a more minimal setup, like a webkit browser like surf, vimb or something of the sort. buut those are less ideal tbh": and thats my thoughts, but web is totally fucked so sane web browser is already impossible and lost battle
<aelspire>
I've tried to use qutebrowser but somebody there said that compiling chromium takes 8h so webengine from Qt will probably take similar time
<aelspire>
and firefox even with rust is not that bad
<aelspire>
and it is actually functional browser with good ads blocker
<sad_plan>
never tried qutebrowser, but I know distrotube uses it, and it seems to be usable, to a certain degree anyway. never built qt at all, so cant speak for buildtimes though.
<sad_plan>
I dont dislike firefox, I actually like firefox, but its massive..
<aelspire>
sad_plan: every web browser is bound to be massive…
<aelspire>
they added everything… have You read drew devault blog?
<sad_plan>
I know the web has some *requirements*, which will evedentually make browsers bigger, sure, but they dont need to be that massive though..
<sad_plan>
Ive visited a couple of times, but not really read much, no
<aelspire>
I've heard about dillo browser and that looked not bad
<sad_plan>
it was..
<sad_plan>
I tried it some time ago, and it was horrible.
<sad_plan>
couldnt even access lots of sites for some reason
<aelspire>
but with all that online banking and goverment stuff I'm not sure if I can use stripped-down browser
<aelspire>
so web is already lost it will grow and grow untill it makes everything else obsolete
<aelspire>
at some point it will be easier to add kernel to web browser than all required by web API to kernel
<sad_plan>
yeah, the shift for making everything an app drop offline methods have its drawbacks indeed. I dont really like where things are going, but what can one do
<sad_plan>
> "I conclude that it is impossible to build a new web browser. The complexity of the web is obscene. The creation of a new web browser would be comparable in effort to the Apollo program or the Manhattan project." yup
<aelspire>
nothing really but for simple blogs there are alternatives, but still only thing for few interested nerds
<aelspire>
web is hard requirement for today computing…
<sad_plan>
yeah more or less. you can live with a dumbphone, but youll have a fair amount of hoops to jump though to get around on all kinds of things
<aelspire>
yeah, and I have pragmatic soul so doing hard stuff which brings You nothing (I count having fun as something) is no go for me. I'm a cyclist who constantly are getting lost somewhere faw away from phone so I thing I would be already dead without GPS
<aelspire>
I falled from the rock once because track ended with cliff
<aelspire>
but it was not 90° so I slided from it instead of free fall so I'm still alive
midfavila has joined #kisslinux
<aelspire>
but now I'm always checking where path go on OSM before
midfavila has quit [Client Quit]
<sad_plan>
well, its not rewarding at all if you do something that doesnt bring you anything at all. so I can relate to that.
<sad_plan>
gotta pay attention to where you go though :p
<aelspire>
yeah, so dumbphone is no go today for me
<sad_plan>
its not for everyone. I mean, it has alot of drawbacks that most people just isnt comfortable with. and I get that. a smartphone is a great tool to have in ones disposal. giving up that doesnt make sense for most
<aelspire>
as there is no up-to-date paper maps here anymore
<aelspire>
I had installed LineageOS on my phone before but now I have new one which still have guarantee
<sad_plan>
how out of date could they be anyway? I get that some cities change rather rapidly, but on the nature part, most stuff stay the same for decades
<aelspire>
smartphone without all that preinstalled crapware is not that bad actually
<sad_plan>
rooting and switching OS shouldnt breat the guarantee though
<sad_plan>
I run pixel 4a with graphene, and yeah, its great to avoid all that crapware..
<aelspire>
forest pathes go out-of-date pretty quickly here
<aelspire>
they are making new pathes for logging, so taking next turn right is not always valid options
<sad_plan>
how? is someone ruining tha paths, or is the city expanding really quickly?
<aelspire>
and sometimes less used pathes is going missing as trees now grows on it
<sad_plan>
I see
<aelspire>
I think rooting and changing OS is invalidating guarentee here
<aelspire>
I'll check it
<sad_plan>
its worth checking anyway, if one likes to fiddle with the phone
<sad_plan>
I had a oneplus 6 before, and I couldnt resist changing OS all the time. now I just stick with graphene instead, as its way better..
<aelspire>
I count spending weekend on decraping my phone as fun
<sad_plan>
it is fun
<aelspire>
but spending year on trying to fix sending SMS as time lost
<sad_plan>
thats a pain. gotta have basic functionality atleast
<sad_plan>
being able to recieve texts and calls is rather detriental if you ask me :p
<aelspire>
yup
<aelspire>
I had broken crap tablet once and managed to compile kernel for it and install it on the HW
<aelspire>
but that was actually not easy at all
<aelspire>
anyone tried to use postmarketOS?
<sad_plan>
sounds complicated :p
<sad_plan>
not me, but Ive been eying it for some time
<aelspire>
yes, me too
<aelspire>
if basic functionality works, and there is way to run GPS on it it could be fun idea
<aelspire>
but none of my devices are supported…
<sad_plan>
I belive it does, on some of the more developed ports of it. the pinephone is iirc one of them. oneplus 6 was too. and several others
<aelspire>
I was thinking about fairphone before but iPhone level price scared me off
<aelspire>
and it could run postmarketOS so I did another mistake…
<sad_plan>
ditto. fairphone is really nice, but its expencive. I also like to have aux on my phone
<sad_plan>
pinephone isnt that badly priced though
<sad_plan>
250$ or something
<aelspire>
I've heard that it will suport only Manjaro in future
<aelspire>
but I didn't researched it
<aelspire>
so don't quote me or take it as granted
<sad_plan>
I doubt that. pine64 is all about the community stuff. theyre more or less reliant on it
<sad_plan>
yeah, the *default OS* was mentioned there.
<sad_plan>
that does however not lock users into any OS. users are still free to switch if they want
<aelspire>
ah, ok
<aelspire>
as I said I didn't researched it
<aelspire>
today smartphones are designed to last 5 years max
<aelspire>
I've managed to use my last one for 7-8
<sad_plan>
neither did I, but Ive been reading some of their blogposts, as Ive been interested in the pinehpone for some time, aswell as other projects of theirs. but Im not sure what to use it for tbh :p
<aelspire>
but any longer is streaching it…
<sad_plan>
yeah, smartphones has a short lifespan, but it is turning though. atleast for some. pixel phones are getting longer vendor support, making their lifespan longer
<aelspire>
so price of fairphone scared me off
<aelspire>
but pinephone looks interesting if there is no problem with support for other distros
<sad_plan>
if you look at it from another angle, it might not be as bad. say if the phone is supposed to live 5 years, and its 500$, its only 100$ a year
<sad_plan>
the pinephones OS's is probably abit hit or miss.
<sad_plan>
atleast it has been. havent looked into it for a while now, so things might be better now than last year
<aelspire>
yeah, so I'm currently betting on installing some dacrapwared android after guarantee period
<aelspire>
it the most painless method for fairly open phone
<aelspire>
I had good impression on it before
<aelspire>
LineageOs worked nice for 5-6 years for me
<aelspire>
after 2 years on official OS
<sad_plan>
LOS is fine I suppose, but I dont partilarly like that their builds are all debug, and you can relock the bootloader. from a security standpoint that is. hence me using grahpene instead due to those things. among other stuff :p
<aelspire>
graphene supports only pixels?
<sad_plan>
yep
<aelspire>
ehhh
<aelspire>
I'm always trying to make the best possible decision and somehow always failing…
<sad_plan>
there were talk of supporting one of the xiaomi (or w/e its called), but there were no interest from the community appearantly. calyx supports it though
<sad_plan>
why?
<aelspire>
I recently bought pretty standard samsung as I bet that after 2 years it should be very popular model
<aelspire>
A33 5g
<aelspire>
so I thought that there should be no problem with unofficial ROM
<aelspire>
I should go with pixel…
<sad_plan>
samsungs are the worst, they must hate their users using their phones more than a year at most. theyre just like apple. firmware support is so short its ridiculus really
<sad_plan>
but yes, pixel is the way to go imo
<aelspire>
and just before AMD released it super open source drivers I've bought PC with nVidia 970
<aelspire>
but when I looked for which brand has the most models suported via unufficial ROMs the samsung looked good
<aelspire>
I treat official ROM as necessary evil and temporary solution
<sad_plan>
such a pity.
<sad_plan>
look at xda for that kind of thing, or search up what people recommend at r/privacy or something
<sad_plan>
you can also instead look at the ROM youre aiming for, look for the supported devices instead
<aelspire>
I'm not sure what ROM I'm aiming for
<aelspire>
LineageOS was popular when I made the switch
<sad_plan>
divestOS is also an option btw. is a fork of LOS, but has alot of improvements over LOS
<aelspire>
at that point I'm considering ditching google from phone
<aelspire>
I've no use for it anymore
<sad_plan>
yeah, that would for me anyway, be my 3rd choice I suppse, if neither graphene nor calyx would be possible. unless I go for linux phones that is.
<aelspire>
even with new phone a looked into official play store and found nothing interesting in it
<aelspire>
all my important apps are from F-Droid
<sad_plan>
ditto. dont even use playstore at all
<aelspire>
there is choice today
<aelspire>
good
<aelspire>
few years before there was not much going
<aelspire>
and now there are some serious android distros
<aelspire>
I like it
<aelspire>
ehh, decision making is hard process
<aelspire>
I need to make my mind about rust and zig soon as programming in C or C++ is no longer fun for me
<aelspire>
And holidays are going so there will be time to play with some fun project
<aelspire>
And I've missed advent of code which looks pretty fun this year becouse constantly changing opinion about this languages
<aelspire>
because*
aliosablack has joined #kisslinux
<sad_plan>
just make sure youre having fun. thats the important part :p
<aelspire>
both are pretty fun and both have strong selling points from my point of view
<aelspire>
I'm not the true suckless guy, and I accept bloat if the price is worth the things it brings so rust is not that bad for me
<aelspire>
C is generally good but have a few flaws and C++ i generally bad but has a few good points
<aelspire>
Zig and Hare tries to fix the flaws in C without destroying what is good
<aelspire>
and Rust is its own thing
<aelspire>
virtually similar to C++ but only for someone who doesn't know C++ good
sad_plan has quit [Quit: nyaa~]
midfavila has joined #kisslinux
midfavila has quit [Client Quit]
schillingklaus has joined #kisslinux
midfavila has joined #kisslinux
midfavila has quit [Quit: Leaving.]
<wael[m]>
im so eepy
<wael[m]>
<aelspire> "Zig and Hare tries to fix the..." <- Hare looks really cool but its syntax looks really weird
<aelspire>
well, syntax is just syntax after getting used to it it no longer matter
<aelspire>
but reusing the same symbol for few things hinders readability
<aelspire>
so as long as it doesn't look like regex its ok
<schillingklaus>
the syntax of posix shell takes some time to get used to
<aelspire>
yup, even after all this years I got things wrong sometimes
<aelspire>
so I prefer fish for quick scripts, I usually can brute force my way around it without looking into manual
<aelspire>
but use POSIX for everything I need to be sure it will work for longer time
<aelspire>
as I'm not sure if I'll use fish tommorow or find something better
<aelspire>
but POSIX shell will be there
<wael[m]>
all i know is POSIX shell
<wael[m]>
and something like hare is gonna be torture
<aelspire>
after 3rd programming language everything starting to melt but learning n+1 is usually pretty quick
<aelspire>
so sometimes I'm not sure if this what I'm writting is correct for posix shell or this is perl or awk
<aelspire>
POSIX is problematic mainly because gotchas
<aelspire>
You find nice flag for eg. in sed which solves your problem
<aelspire>
and bang we got you
<aelspire>
this is not POSIX
<aelspire>
and finding what is POSIX and what is extension is hard sometimes
<schillingklaus>
the worst are bashisms in #!/bin/sh files
<aelspire>
yup
<aelspire>
but this is not the source of the problem but the symptom
<aelspire>
almost nobody knows what is the POSIX and what is not
<aelspire>
and finding it is hard and used to be much harder before shellcheck
<aelspire>
dylan wrote cool posix bible and it is how I find him and KISS linux