ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | "Seek simplicity but distrust it" -- Alfred North Whitehead
<phoebos>
no idea if the approaches i used are considered good practice
akspecs has quit [Remote host closed the connection]
akspecs has joined #kisslinux
<midfavila-laptop>
i definitely wouldn't know, pft
<midfavila-laptop>
i haven't touched lisp in a while, unfortunately, outside of elisp
<midfavila-laptop>
been focusing on maths
hyrc has quit [Ping timeout: 256 seconds]
hyrc has joined #kisslinux
<acheam>
phoebos: ew that man page is bad
<acheam>
racket is a superset of the scheme standards
<acheam>
AFAIK
<acheam>
to be fair to racket, it has very good documentation
<acheam>
its documentation itself is racket code, which lets you do some very powerful stuff
<acheam>
the language is called "scribble"
<acheam>
and all the documentation is in one place, for all pacakges
<acheam>
I haven't used drracket, but I do use racket-langserver, which is a lanugage server for racket based on DrRacket's API, so it gives you the same functionality in whatever editor (in my case nvim)
<acheam>
phoebos: I'm not very good at lisp, but your formatting is quite non standard from the lisp I've seen
<acheam>
also does standard lisp not have the function define syntactic sugar?
<acheam>
where you dont need the lambda
<acheam>
hello midfavila-laptop
<midfavila-laptop>
racket is a superset of r5rs yes
<midfavila-laptop>
and define is not a part of lisp itself
<midfavila-laptop>
only lambda is technically provided
<midfavila-laptop>
defun and define and etc are just sugar on a per-language basis
<midfavila-laptop>
also hello acheam
<testuser[m]>
Hi
<acheam>
yay an early hi
<acheam>
midfavila-laptop: oh nice
<testuser[m]>
noocsharp: I'll try
<acheam>
when you say "defun and define" I assume you mean the shorthand I'm referring to?
<testuser[m]>
Have been working on a project for most of my time
<acheam>
not a lack of a way to define variables
<acheam>
nice what project?
<testuser[m]>
matrix client
<testuser[m]>
It definitely aint KISS though
<acheam>
why isnt it kiss?
<acheam>
c11 and cjson?
<testuser[m]>
Needs a database
<testuser[m]>
And matrix protocol itself is pretty big
<testuser[m]>
Also i had to implement half assed generics in C using union Lol
<acheam>
what kind of database?
<testuser[m]>
Just for caching messages
<acheam>
your own implementation, or sqlite or something?
<testuser[m]>
lmdb
<testuser[m]>
It's a key value store
<testuser[m]>
So it's easy, i just store json and reparse it into a matrix event
<testuser[m]>
Don't need to do anything extra for this, I just reuse the original code that parsed the json from server in the first place
<acheam>
nice
<acheam>
oh interesting, lmdb is part of openldab
<acheam>
ldap*
<midfavila-laptop>
yes, that's what I'm referring to, acheam
<midfavila-laptop>
sorry for the late response
<midfavila-laptop>
i was playing games with a friend
<acheam>
unnacepetable
<acheam>
I must be attended to at all times
<midfavila-laptop>
anyway the standard for defining variables is set afaik
<midfavila-laptop>
maybe I should just write a mid-bot
<midfavila-laptop>
also phoebos i'm disappointed you didn't use the method of successive approximation for your sqrt procedure
<acheam>
midfavila-laptop: where in math are you now?
<midfavila-laptop>
well, currently I'm working through serge lang's "Basic Mathematics", and I've just finished the second chapter, so I've worked out proofs for all basic principles of algebra and some basic proofs for systems of equations
<midfavila-laptop>
i'm working on geometric proofs as well
<acheam>
nice
<acheam>
it sounds like your learning much more in-depth and with a greater understanding than I ever did
<acheam>
I wish I had your kind of motivation to do that
<bujeddhazeus>
To each their passion, from which motivation flows
<midfavila-laptop>
well, the way I see it is that I can't apply algorithms without an understanding of calculus and related fields, which require algebra and geometry, which in turn depend on arithmetic. meaning I need to become at least proficient in those if I want to have any hope of calling myself a computer scientist
<acheam>
bujeddhazeus: brave of you to assume I have any passion
<bujeddhazeus>
acheam: I lose mine a lot. I know how that goes
<bujeddhazeus>
I felt too empty to learn anything during my 20's
<midfavila-laptop>
and I mean, re:passion, I tend to get discouraged a lot
<midfavila-laptop>
because it's like,
<midfavila-laptop>
most people in my position already have at least a vague understanding of this stuff
<midfavila-laptop>
meanwhile I'm over here working on the absolute fundamentals,
<midfavila-laptop>
but then I remind myself that I'm being much more thorough and it's all okay again. - w-
<bujeddhazeus>
midfavila-laptop: yeah... going in blind is more challenging
<midfavila-laptop>
well, i'm going from essentially an eighth or ninth grade maths understanding, so that's definitely true
<bujeddhazeus>
And thoroughly learning a subject is something I have a lot of trouble with
<midfavila-laptop>
i ended up getting shafted pretty hard with school because of the pandemic
<bujeddhazeus>
Aw
<hyrc>
did you know that the WHO 'redefined' what a pandemic is?
<midfavila-laptop>
that's pretty gay
<midfavila-laptop>
they should just like
<midfavila-laptop>
not do that
<bujeddhazeus>
Are there good moocs out there still?
<hyrc>
always beware the word benders, they never do it for your benefit
<midfavila-laptop>
they have a complete curriculum that's equivalent to a bach degree in CS
<midfavila-laptop>
i'm supplementing it with courses from MIT
<bujeddhazeus>
Sweet
<bujeddhazeus>
Good
<midfavila-laptop>
currently I intend to learn Japanese and German and take a few philosophy courses, to round out my humanities
<midfavila-laptop>
that way I can read all the latest animes and watch the latest mangas before they're translated
<bujeddhazeus>
That's smart
<midfavila-laptop>
i'm very neurotic about these things uwu
<bujeddhazeus>
Heh
<midfavila-laptop>
honestly I wish I had the ability to focus for longer
<midfavila-laptop>
right now I can only average about four or five hours of useful study per day
<bujeddhazeus>
Use it while you can
<bujeddhazeus>
I'm in my mid-30's now. The brain slows down
<bujeddhazeus>
Hence big tech's ageism
<midfavila-laptop>
although there was one day I clocked thirteen and a half hours of straight studies. that was motivating.
<midfavila-laptop>
and yeah, I've heard about that
<bujeddhazeus>
Wow
<midfavila-laptop>
unless you work hard to preserve neuroplasticity it drops off in your late twenties
<bujeddhazeus>
Yeah all nighters working lol
<bujeddhazeus>
Hmm I see
<midfavila-laptop>
god, I pulled way too many all-nighters in the past few years
<midfavila-laptop>
my sleep was so fucked
<midfavila-laptop>
couldn't even muster the energy or focus to read books for the longest time
<bujeddhazeus>
Heh I hear you
<midfavila-laptop>
bleh, I'm gonna turn twenty in a couple weeks
<midfavila-laptop>
i feel ancient
<midfavila-laptop>
absolutely decrepit
<bujeddhazeus>
Bahaha
<midfavila-laptop>
>:c
<bujeddhazeus>
You can't even drink in USA
* midfavila-laptop
laughs in leaf
<bujeddhazeus>
And you can't buy any weed yet in most of Canada
<midfavila-laptop>
meh, drugs are a waste of time and money
<bujeddhazeus>
Nah
<midfavila-laptop>
i could spend that money on more textbooks
<bujeddhazeus>
Therapeutic
<bujeddhazeus>
Sure but
<bujeddhazeus>
There's libgen for that
<midfavila-laptop>
i don't like PDFs or ePubs
<bujeddhazeus>
Ah
* bujeddhazeus
has an eink kindle
<midfavila-laptop>
physical books are a lot easier for me, especially when I work on my laptop
<bujeddhazeus>
Ok
<midfavila-laptop>
since my laptop's only got a vertical res of 768
<bujeddhazeus>
Ooh Chromebook?
<midfavila-laptop>
toughbook
<hyrc>
laptops had crappy res for a long time
<midfavila-laptop>
i used to have an IBM A31p
<midfavila-laptop>
which had an absolutely astonishing 1600x1200 screen
<hyrc>
1600x1200?
<hyrc>
nice
<midfavila-laptop>
yeah
<midfavila-laptop>
flexview
<hyrc>
i need to repair mine
<midfavila-laptop>
maxed the memory, upgraded the CPU, added master-slave CF cards
<midfavila-laptop>
wireless, bluetooth, the whole nine yards
<midfavila-laptop>
dual batteries...
<hyrc>
what's m-s cf cards for
<bujeddhazeus>
I'm going to be messing with wayvnc's experimental h264 support soon and hardware accelerate the encoding/decoding to an android tablet with that resolution actually, or almost. 1280x800 5"
<midfavila-laptop>
hard drive replacement
<hyrc>
it was a 'workstation' laptop
<midfavila-laptop>
yeah, but IDE SSDs are too expensive and too limited in capacity :P
<midfavila-laptop>
you can fit two CF cards in there ezpz
<midfavila-laptop>
some asshole stole it from me though
<midfavila-laptop>
i was so mad
<hyrc>
i thought it had two slots
<acheam>
lmao imagine accusing midfavila-laptop of being a chromebook
<midfavila-laptop>
if you use one of the expansion bays yeah
<midfavila-laptop>
you can have up to three
<acheam>
the deepest insult known to humanity
<midfavila-laptop>
but I used the two bays for extra batteries
<acheam>
IDE SSDs are a thing?
<midfavila-laptop>
why wouldn't they be
<hyrc>
i think it was a pentium-m? or p-III?
<midfavila-laptop>
P4
<hyrc>
hm
<midfavila-laptop>
not a mobile variant
<midfavila-laptop>
desktop
<midfavila-laptop>
i had a 2ghz model in mine with a custom heatsink
<acheam>
midfavila-laptop: idk, I think about IDE as old and SSD as new, and them not having much overlap
* midfavila-laptop
grinds their teeth together
<acheam>
but I am proven incorrectly
<acheam>
s/ly//g
<midfavila-laptop>
SSDs were really popular in industrial computers as disks on module
<midfavila-laptop>
but yeah ever since that day I've had PTTS
<midfavila-laptop>
post-theft thinkpad syndrome
<hyrc>
i got that too
<midfavila-laptop>
no other thinkpad can compare to the A31p
<hyrc>
my x200 got kyped
<midfavila-laptop>
rip
<midfavila-laptop>
i should have installed a LoRa beacon in my machine...
<midfavila-laptop>
the worst part isn't even that it was stolen
<hyrc>
i have a borken one here if you want to fix one up
<midfavila-laptop>
it's that some loser probably saw that it was old and then threw it out
<midfavila-laptop>
and I mean, what's wrong with yours?
<hyrc>
idk
<midfavila-laptop>
hmm
<midfavila-laptop>
does it just not turn on?
<hyrc>
yes
<midfavila-laptop>
bah, there could be any number of things wrong with it...
<hyrc>
yes
<hyrc>
oh here's one going for 12 euro 'for parts'
<midfavila-laptop>
i've heard that the GPUs can overheat and disconnect from the motherboard in some revisions
<midfavila-laptop>
so maybe that was it
<midfavila-laptop>
i'll probably just stick with toughbooks though
<hyrc>
that's panasonic?
<midfavila-laptop>
yeah
<midfavila-laptop>
i used to use a Getac
<midfavila-laptop>
once I have the money I'm gonna buy an MNT Reform
<hyrc>
i have a bunch of old hardware but i'm fanless addict now
<hyrc>
if i can't run it fanless it stays off
<midfavila-laptop>
my laptops are all fanless :P
<midfavila-laptop>
the Reform is fanless too, I believe
<acheam>
midfavila-laptop: did you get rid of the getac since the other day when we spoke?
<acheam>
I thought you had it then?
<midfavila-laptop>
no, I still have the getac
<midfavila-laptop>
i just don't use it as my main machine
<acheam>
also this lora thing looks pretty cool
<acheam>
oh I misread
<midfavila-laptop>
it's gonna be going into the kitchen soon as a terminal
<midfavila-laptop>
and yes, lora is very nifty
<acheam>
"I used to use" as "I used to have"
<midfavila-laptop>
i helped the civil engineering corps deploy a LoRa network a few years ago
<midfavila-laptop>
for monitoring the tide of the river and distributing information about flooding and shit
<midfavila-laptop>
that was fun
<hyrc>
what's a supercheap low power lora board
<midfavila-laptop>
raspi zero with a lora module slapped on top
<noocsharp>
doesn't pine have some
<midfavila-laptop>
maybe?
<midfavila-laptop>
also hi noocsharp
<midfavila-laptop>
you're a math nerd right
<noocsharp>
hello, perhaps
<midfavila-laptop>
have you ever read any of serge lang's books
<acheam>
ha nerd!
<midfavila-laptop>
thank you acheam
<noocsharp>
i think i briefly wanted to read his number theory book a few years ago, downloaded it an never did
<hyrc>
i wouldn't need that much computer tho
<hyrc>
stm32 or something would be fine
<midfavila-laptop>
aw, unfortunate. i wanted to ask a mathy person what they thought of his work
<hyrc>
just relay some sensor data
<midfavila-laptop>
i've been reading his "Basic Mathematics" lately
<noocsharp>
what does it cover?
<midfavila-laptop>
hyrc can't you just program a microcontroller then?
<midfavila-laptop>
noocsharp everything in a K-12 mathematics program as well as first-year college maths, complete with proofs
<hyrc>
yeah is there like a lora radio card with microcontroller and solar panel or somethin
<hyrc>
that can send a few bytes per minute
<midfavila-laptop>
so arithmetic, algebra, euclidean geometry, basic calculus, trigonometry, etc
<midfavila-laptop>
hyrc you'll probably have to make that
<midfavila-laptop>
i can't see it being hard though
<midfavila-laptop>
if you want it to be Extra Reliable:tm: use an RCA CDP1802A
<midfavila-laptop>
it's eight-bit but it's also shielded against electrostatic discharge and radiation
<midfavila-laptop>
and it's fairly cheap
<midfavila-laptop>
gonna make myself a microcomputer based on it
<midfavila-laptop>
although I'd really rather modify it to be thirty-two bit so that it can have a flat address space...
<noocsharp>
what was the last math book that you worked through?
<midfavila-laptop>
well, I'm working through Basic Mathematics right now
<noocsharp>
before that
<midfavila-laptop>
as well as George Simmons' "Precalculus in a Nutshell"
<midfavila-laptop>
and before that? elements of algebra
<midfavila-laptop>
although I didn't finish elements of algebra
<midfavila-laptop>
because the translation isn't modern english
<midfavila-laptop>
it's hard enough to self-teach mathematics without having to also interpret archaic grammar
<midfavila-laptop>
but yeah, I'm gonna be working through those while also making regular tests for myself referencing James Stewart's precalc text, as well as Spivak's
<noocsharp>
i worked through spivak, i think stewart was used in the precalc class at my high school
<midfavila-laptop>
there's a book on proofs I want to get, as well, since I'm having some trouble grasping how proofs work
<midfavila-laptop>
what do you think of them?
<midfavila-laptop>
the books, not proofs
<noocsharp>
what are you having trouble grasping about proofs?
<noocsharp>
i liked spivak
<noocsharp>
no opinion on stewart
<midfavila-laptop>
well, for some stuff, I just don't get how it... proves things
<noocsharp>
logs pls
<noocsharp>
(like what?)
<midfavila-laptop>
there was a geometric proof for the pytagorean theorem for example that tiled right triangles such that they were arranged in a square
<midfavila-laptop>
and then the book was like
<midfavila-laptop>
"this proves the pythagorean theorem"
akspecs has quit [Remote host closed the connection]
<midfavila-laptop>
and I was just like
<midfavila-laptop>
"wtf"
akspecs has joined #kisslinux
<noocsharp>
think about what the pythagorean theorem says
<midfavila-laptop>
the proof itself makes sense, but... idk I'm having a hard time articulating it exactly
<noocsharp>
the a square with the length of the hypotenuse has the same area as the sum of the areas of squares with side lengths as the legs of the triangle
<noocsharp>
s/the a/a/
* midfavila-laptop
shrugs
<midfavila-laptop>
i'm just gonna work through a dedicated book of proofs
<midfavila-laptop>
because the whole thing is just kind of vaguely defined and touched-on in my current books
<noocsharp>
it's very cool because it turns the concept of a square of a number into a concrete geometric thing
<midfavila-laptop>
yeah, i've learned to appreciate geometry as a way of connecting statements to algebra
Denshi has joined #kisslinux
<noocsharp>
a proof is simply a rigorous argument
<midfavila-laptop>
mmh. i think the two main types of proof used are proofs from absurdity and proofs from axioms... can't recall the actual term for the latter atm
<midfavila-laptop>
it's been a long day
<midfavila-laptop>
deductive reasoning or whatever
<noocsharp>
a proof is a proof, reductio ad absurdum is still deduction
<midfavila-laptop>
no, I'm thinking of *inductive*. deductive is the other way around, durr
<noocsharp>
an inductive proof is still deductive
<midfavila-laptop>
well, fair enough, I guess
<noocsharp>
induction is just a technique used in deduction
<noocsharp>
(the mathematical sense of induction)
<midfavila-laptop>
yeah
<midfavila-laptop>
induction is the specific term for what I was thinking of
<midfavila-laptop>
applying axioms to derive more complex axioms
<midfavila-laptop>
even if I don't become spectacular with mathematical concepts I'd at least like to be competent
<midfavila-laptop>
oh, by the way, acheam, you might or might not find these useful
<midfavila-laptop>
in particular the unix workshop
<acheam>
midfavila-laptop: bookmarked, thanks!
<midfavila-laptop>
np
<noocsharp>
noble goal, but as you've heard from me before, the best way to learn these things is not textbooks but finding ways to apply things in real life
<midfavila-laptop>
oh, definitely. it's unfortunate that I can't come across more organic applications of some of the concepts I've learned
<hyrc>
to do some things in real life you need a foundation though
<midfavila-laptop>
also that
<midfavila-laptop>
i've been using lisp instead of a calculator while working on problems so to test my understanding of functions and concepts I've been working on a homebrew math library, which is at least something
<noocsharp>
go write a program to evaluate a riemann sum or something
<midfavila-laptop>
i don't even know what a riemann sum is
<midfavila-laptop>
reminder that I'm actually a mathlet
<noocsharp>
you'll find out soon enough
<midfavila-laptop>
looks like it's something to do with calc, so hopefully
zlg has joined #kisslinux
<midfavila-laptop>
once I've become decent with single-variable calculus I think I'll be able to call myself at least numerate. that's the big goal right now
<midfavila-laptop>
arithmetic, then algebra and geometry, then trigonometry and graphing stuff, probability and stats, then calculus and... from there idk
<acheam>
its usually taught in calc courses, but you could probably learn it now if you wanted to
<midfavila-laptop>
doubtful
<noocsharp>
do you know what a derivative is?
<midfavila-laptop>
the opposite of an integral
<acheam>
do you know what an integral is?
<midfavila-laptop>
nope
<midfavila-laptop>
no clue
<midfavila-laptop>
i only took up to tenth grade geometry before the pandemic happened
<midfavila-laptop>
i have a lot of ground to cover
<noocsharp>
a derivative of a function at a point is the limit of the approximation of slope at that point
<noocsharp>
so its just a function that gives you the slope of the original function at some x value
<midfavila-laptop>
i see.
<midfavila-laptop>
once I have a deeper understanding of functions and their graphs I'm sure I'll appreciate your explanation more
<noocsharp>
the integral is the area between the x-axis and the graph of a function
<noocsharp>
there, you now know calculus
<midfavila-laptop>
declaratively, maybe
<noocsharp>
do you know what the slope of a function is?
<noocsharp>
at a point?
<midfavila-laptop>
i do not. like I said, my formal mathematics education never finished a tenth-grade level
<midfavila-laptop>
and even then I was taught poorly
<midfavila-laptop>
embarassing to admit, honestly.
<noocsharp>
do you know what a tangent line is?
<acheam>
the slope is just the rate of change of the function. So if the slope of a line is 2, then for every 1 unit a line moves in the X direction, it increases 2 in the Y direction
<midfavila-laptop>
Ah.
<acheam>
tangent lines usually come after learning slope, at least they did in my curriculum
<midfavila-laptop>
Yeah, slope was the last thing I recall learning...
<noocsharp>
well i asked because tangent lines are easy to understand conceptually
<noocsharp>
actually nvm, probably makes sense to define in terms of slope
<midfavila-laptop>
gonna point out that it's like
<midfavila-laptop>
1am
<midfavila-laptop>
and my brain is fried right now
<acheam>
stfu its 12:42
<noocsharp>
stfu its 10:42
<midfavila-laptop>
- w-
<acheam>
ugh mountain timers
<midfavila-laptop>
anyway, I just need to study more
<midfavila-laptop>
that's the conclusion I've reached
<acheam>
you dont even live near a mountain
<noocsharp>
cst
<acheam>
oh yeah
<acheam>
for some reason I thought 11-10=2
<midfavila-laptop>
big rip
<midfavila-laptop>
that makes me feel a little better :P
<acheam>
mid, got any good books on preschool level arithmatic?
<midfavila-laptop>
i mean
<noocsharp>
learn to count with elmo
<midfavila-laptop>
serge lang starts out by teaching you how to count
<midfavila-laptop>
with proofs
<midfavila-laptop>
and then in ten pages he's moved on to talking about factorials and shit
<midfavila-laptop>
which is kind of amusing
<acheam>
damn how could I forget about elmo
<noocsharp>
well factorials are pretty important for counting
<midfavila-laptop>
oh, definitely
<Denshi>
yeah
<Denshi>
so is a fundamental grasp of linear algebra
<midfavila-laptop>
it's just amusing how he covers basically an entire k-10 education in as many pages
<Denshi>
vector addition is essential for preschool knowledge
<midfavila-laptop>
fuck
<midfavila-laptop>
i'm going back to preschool i guess
<midfavila-laptop>
four year old me is literally a dumbass
<noocsharp>
math textbooks often start out with chapters on what is supposed to be prerequisite knowledge
<hyrc>
in a sense you're doing it when you catch a ball, yes Denshi :)
<midfavila-laptop>
oh, well, yeah, that makes sense
<midfavila-laptop>
but this book doesn't make any assumptions about requisite knowledge other than decent reading comprehension, I would say
<noocsharp>
well that goes for many math textbooks, but a terse chapter on prerequisites may not be the best learning material
<noocsharp>
just review
Denshi has quit [Quit: Denshi]
<midfavila-laptop>
the arithmetic/algebra chapter is the longest one in the book last I checked
Denshi has joined #kisslinux
<midfavila-laptop>
most chapters are no larger than maybe twenty pages
<midfavila-laptop>
complete with proofs and exercises
<midfavila-laptop>
my only complaint with it is that the bastard didn't include a full answer key
<noocsharp>
tbh go grind khanacademy for a year
<noocsharp>
that should get you up to speed
<midfavila-laptop>
i worked on KA for about three months during the summer
<midfavila-laptop>
i remember almost none of it
<midfavila-laptop>
the material lacks substance. that and it was also like 40C+ in my apartment
<midfavila-laptop>
...and I was sleep deprived, and there was a lot of shit happening, but point is, I didn't benefit as much from it as I have from my texts
<noocsharp>
wdym lacks substance
<midfavila-laptop>
well, there's not as many exercises as I would like, nor are there step-by-step proofs for things. not that KA is a bad resource because of either of those, especially the latter, but I do appreciate my texts as a primary resource
<midfavila-laptop>
KA would shine as a secondary resource, I think
<noocsharp>
it's probably the sleep deprivation and 40C+ that caused you to not remember anything
<midfavila-laptop>
yeah
<midfavila-laptop>
anything about 20C and I just melt
<midfavila-laptop>
above*
<testuser[m]>
Bruh
<noocsharp>
haha 20C
<midfavila-laptop>
look I'm canadian
<midfavila-laptop>
give me -20 and I'm fine
<midfavila-laptop>
give me 20 and I die
<midfavila-laptop>
what do you want
<midfavila-laptop>
i fucking hate my province so much though. it has an 80-100C temperature gradient
<midfavila-laptop>
-40 to 40 on average with extremes of -50 to 50
<hyrc>
dig down far enough and you get stable temps
<noocsharp>
at least you're province supplies you with water in that temperature range
<midfavila-laptop>
yeah and charges me a fortune in the process
<noocsharp>
and electricity
<midfavila-laptop>
also a fortune and it goes out constantly
<midfavila-laptop>
can't fucking wait until I learn enough EE to build a decent UPS
<midfavila-laptop>
NB Power can go suck a dick
<midfavila-laptop>
oh, speaking of building things
<midfavila-laptop>
not sure if any of you are into homebrew computers, but I found one that approximates the specs of an Amiga 1k
<noocsharp>
lmk when you do learn enough EE, i'll be on the look out for a story about an apartment building burning down
<hyrc>
i did a digital electronics course. very fun
<midfavila-laptop>
i'm sure it'll be fine noocsharp :^)
<midfavila-laptop>
seems more reputable than veritasium or other plebbit-tier soyence channels
<noocsharp>
i want a riscv homebrew computer
<midfavila-laptop>
riscv is literally going to bring about the technocalypse
<midfavila-laptop>
nobody can dissuade me from this opinion
<noocsharp>
wdym?
<midfavila-laptop>
death of the IBM PC and hobbyist computing as we know it
<midfavila-laptop>
commodity hardware that isn't total ass while still being flexible is going to become a myth
<midfavila-laptop>
because stuff is just going to be cost-reduced to SoCs that require an internet connection to do literally anything
<midfavila-laptop>
and people are going to be fine with it because "wow dude it's like so convenient and stuff to just do all my things in the cloud bro"
<noocsharp>
alternatively we kill the ibm pc and build a better platform on riscv
<noocsharp>
because riscv is just a processor architecture
<noocsharp>
rather instruction set
<midfavila-laptop>
and so is ARM, and yet the overall design of most ARM systems is that of an SoC that's cost-reduced to all hell and completely inflexible
<noocsharp>
yes, but arm has licensing costs, so no individual can go and build an arm platform
<midfavila-laptop>
and no individual can reasonably afford to make their own risc-v machine
<akspecs>
thoughts on the m1 chip?
<midfavila-laptop>
literally just an ARM core with a bunch of coprocs
<midfavila-laptop>
it's nothing special
<noocsharp>
macos is so slow that they had to make hardware faster than anybody else
<midfavila-laptop>
but it's applel so it's Innovative:tm: and Courageous:r: and Brave:c: and all that other shit
<midfavila-laptop>
honestly I think if I get another modern desktop PC I'll just save for a while and buy a POWER9 machine
<akspecs>
noocsharp: is the hardware faster, or is it just as fast while using less power?
<midfavila-laptop>
that's a poor question
<akspecs>
how so?
<noocsharp>
also have you seen the hifive unmatched midfavila?
<midfavila-laptop>
it's extremely difficult to perform direct performance comparisons between even microarchitectures of the same ISA, let alone entirely different ISAs following entirely different principles
<midfavila-laptop>
RISC will perform worse on more complex workloads and CISC will perform worse on simple workloads, as I understand it, so even in terms of power consumption it's difficult to make a case for things
<midfavila-laptop>
but I'm also a NEET so feel free to ignore me
<midfavila-laptop>
and yes I've heard of the unmatched noocsharp
<midfavila-laptop>
it's that new development board right
<hyrc>
a case could be made that we have more computing power than is good for us now
<midfavila-laptop>
i mean, yes
<midfavila-laptop>
that's indisputable
<midfavila-laptop>
making computers easily accessible was a mistake
<hyrc>
at least there are some downsides
<midfavila-laptop>
most of the internet's bandwidth is wasted on streaming services and social media
<midfavila-laptop>
and all that results is massive environmental damage, brain rot, and a huge increase in global vitriol
<midfavila-laptop>
as well as yet another product to consoom
<hyrc>
and the state has a command-and-control capability that's a bolshevik's wet dream
<midfavila-laptop>
which is why we all need to go full schizo and design our own ISA and system architecture in our secret basement workshop
<midfavila-laptop>
that's an eventual goal of mine
<noocsharp>
it's called risc-v + some future standard platform
<midfavila-laptop>
>uses an SoC
<midfavila-laptop>
already lost any interest in it
<midfavila-laptop>
call me when there's a desktop form factor motherboard that uses a socketed CPU
<midfavila-laptop>
until then it's useless to me
<testuser[m]>
Soon
<midfavila-laptop>
:tm:
<midfavila-laptop>
doesn't even have a full sixteen lanes of PCIe
<midfavila-laptop>
gonna stick with my 96 lanes and dual xeons thx
<noocsharp>
with a garbage crufty architecture
<midfavila-laptop>
look, I'm not happy about it either
<midfavila-laptop>
if I could have a scaled-up 1802 or superh i'd be using that
<midfavila-laptop>
unfortunately the former is only used in missiles and the latter is only used in cars
<midfavila-laptop>
and risc-v has no modular backplanes or similar yet
<noocsharp>
risc-v is an isa
<natris1979[m]>
do ya'll know if it's possible to run wayland apps through a chroot?
<noocsharp>
an isa cannot have modular backplanes, it can only have instructions
<midfavila-laptop>
yes I'm aware of this
<midfavila-laptop>
the fact remains that there are no modular systems that allow for the usage of a risc-v processor
<midfavila-laptop>
at least that I am aware of
<midfavila-laptop>
if there are, i'd be very interested
<noocsharp>
Soon
<midfavila-laptop>
:tm:
<testuser[m]>
natris1979: bind mount /tmp export WAYLAND_DISPLAY=wayland-1
<midfavila-laptop>
the Reform is the closest I've seen to a modular RISC-V system
<midfavila-laptop>
and even it uses an SoC
<midfavila-laptop>
but it's a laptop so it kind of gets a pass
<noocsharp>
isn't reform arm?
<midfavila-laptop>
it's architecture agnostic
<noocsharp>
hmm interesting
<midfavila-laptop>
the standard compute module is ARM, but there are risc-v and xilinx modules in development
<midfavila-laptop>
or, rather, the xilinx comes with a risc-v softcore loaded by default
<hyrc>
i just want hardware that isn't backdoored
<midfavila-laptop>
use nothing made after 1985
<noocsharp>
reflections on trusting trust
<midfavila-laptop>
i suggest buying an early lisp machine
<noocsharp>
go make it yourself
<midfavila-laptop>
someone should crowdfund a modern lispm
<midfavila-laptop>
call it the EVAL
<midfavila-laptop>
i wonder why that hasn't happened yet
<testuser[m]>
make it happen
<midfavila-laptop>
can I make it happen after I'm not a useless dweeb
<noocsharp>
because people who like lisp are too busy evangelizing
<midfavila-laptop>
they should just build stuf
<midfavila-laptop>
stuff*
<midfavila-laptop>
smh
<midfavila-laptop>
make mcclim not perform like ass
<midfavila-laptop>
that would be a good start
<midfavila-laptop>
anyway, I really do need to sleep
<midfavila-laptop>
so I'm gonna log off in like five minutes
<noocsharp>
same
<midfavila-laptop>
right, well, it was good talking to you noocsharp
<midfavila-laptop>
hopefully next time I'll be able to provide more interesting perspectives on math than "wow it's a thing"
<natris1979[m]>
testuser: that's getting me closer for sure
<midfavila-laptop>
see you later acheam and the rest of you
<midfavila-laptop>
will probably be on tomorrow for a bit
midfavila-laptop has left #kisslinux [#kisslinux]
<hyrc>
ttyl
<natris1979[m]>
but I think I'm mounting /tmp wrong. When I chroot it, it seems to blow away the contents of /tmp on the "host" (not sure if that's the right terminology
<testuser[m]>
mount --bind /tmp /chroot/tmp
<hyrc>
i don't see why the chroot needs to share tmp with host
<testuser[m]>
That's where the wayland socket is
<testuser[m]>
Usually
<testuser[m]>
Check XDG_RUNTIME_DIR
<hyrc>
ok, doing gui stuff fine
<testuser[m]>
and bind that
<natris1979[m]>
testuser: yeah, I'm already sharing that folder successfully
<hyrc>
the whole /tmp thing is fucked since idiots decided to make it a ram drive by default
<hyrc>
now it's doing dual-use, including things that should never require a ram drive
<hyrc>
like python putting gigs of files into it
<natris1979[m]>
so maybe sharing /tmp is fruitless
<testuser[m]>
natris1979: what error do u get
<testuser[m]>
When running a program
<natris1979[m]>
`[backend/wayland/backend.c:401] Could not connect to remote display: No such file or directory` then `couldn't create backend`
<natris1979[m]>
but that's down from like 5 errors a minute ago!
<testuser[m]>
Are u trying to run nested compositor from chroot
<testuser[m]>
Then maybe share your gpu from /dev
<testuser[m]>
It's in /dev/dri but i bind mount the whole /dev
<natris1979[m]>
yeah, it's iffy and experimental. Ultimately it connects to windows through wslg. (at which point you probably throw up your hands and "say you're on your own my friend"
<testuser[m]>
Brush
<testuser[m]>
Bruh
<natris1979[m]>
lol. Yeah. Surprised I've been able to do this much
<hyrc>
testuser[m]: btw you ever use barrier (synergy) to share mouse/kbd between computers?
<testuser[m]>
no
<natris1979[m]>
hyrc: I used to use that between linux and windows
<natris1979[m]>
was pretty slick, really
<hyrc>
it's on my todo to write a wayfire plugin that handles it
<hyrc>
but i'd like to fob the project off on someone else
<hyrc>
it's pretty fun natris1979[m]
an3223 has quit [Quit: WeeChat 3.3]
<hyrc>
but the way to do it under wayland/wayfire is as a windowmanager plugin
<hyrc>
just somebody needs to do it
<natris1979[m]>
was really nice when I was still doing windows development part time. Glad those days are behind me
<hyrc>
:)
<hyrc>
shoulda invested in crypto. i'd sponsor all kinds of cool FOSS stuff.
<natris1979[m]>
I think I actually sent the synergy guy some money once
an3223 has joined #kisslinux
<hyrc>
nice. i supported freenx on arm if you remember that
<natris1979[m]>
nope never heard of that one
<hyrc>
was basically x11 networking, compressed. so you had reasonable performance over slow wifi
<natris1979[m]>
oh that's neat
<hyrc>
i used it on a psion netbook running debian
<hyrc>
would run around with that on a little satchel and ppl were all impressed
<hyrc>
before little computers were mainstream
<natris1979[m]>
I suspect I'll probably end up getting this to work using a "remote" x client from windows. But I'd really like to do wayland if I can pull it off. I know it's a long shot
<hyrc>
i'm kinda stupid now but wayfire was usable for me
<hyrc>
soreau did great work with it
<hyrc>
and x11 apps work on it pretty nice
<natris1979[m]>
seems heavy to me (says the guy on windows). But on pure linux I'm a dwm guy
<hyrc>
wayfire?
<natris1979[m]>
at very first glance
<hyrc>
wayfire doesn't waste cycles that I noticed
akspecs has quit [Remote host closed the connection]
akspecs has joined #kisslinux
<hyrc>
right now there's some badness with it and my current panfrost gpu drivers though
<hyrc>
so i'm back to x until that resolves itself
<hyrc>
panfrost is the best thing to happen to arm linux in a long, long time
<hyrc>
heroes, those people
<natris1979[m]>
oh is that the key? Does this run on arm and most don't?
<natris1979[m]>
wayland window managers I mean
Denshi has quit [Quit: Denshi]
<natris1979[m]>
progress. Making progress
<natris1979[m]>
I'm finding `strace` is my friend
<hyrc>
fatrace is another friend.
<hyrc>
gpu drivers for linux in arm space were few and far between
<hyrc>
particularly open source ones
<hyrc>
a few projects made progress, but panfrost really rocked arm-world
<natris1979[m]>
ah yes, seems like a poor state even now
<hyrc>
so for gpus between mali400 (i think?) and bifrost, we now have both opengl and opengl-es
<hyrc>
and some vulkan
<hyrc>
which pretty much transformed my toy amlogic sbc into my daily desktop
<hyrc>
there's limitations of course. but going from useless to being able to see doom3 run at decent fps was just a treat for me
<hyrc>
but i'm an old graphics nerd
<natris1979[m]>
that's pretty awesome actually
<hyrc>
yeah and it was basically just some young devs with a fanatical devotion to the cause
<hyrc>
'unreasonable people change the world'
<hyrc>
the good kind of crazy :)
<natris1979[m]>
hehe yes
<natris1979[m]>
hrmm. For some reason I can't get /dev/shm to mount into the chroot properly
<hyrc>
mount -o bind /dev/shm /thingy/dev/shm works for me
<testuser[m]>
Cuz u not doing recursive bind
<testuser[m]>
Just do it manually
<natris1979[m]>
from arch `ls /dev/shm` returns nothing (and wayland apps work), and from the kiss chroot returns ls: /dev/shm: No such file or directory
<natris1979[m]>
manually how?
<hyrc>
now i learned what recursive bind does yay.
<hyrc>
not seen an instance where i'd need that though. i think.
<natris1979[m]>
Windows -> WSL -> Arch -> Kiss chroot might be it :D
<natris1979[m]>
oh wait, you said when you'd need it :D
<natris1979[m]>
hmmm. on arch if I do `df -h1, I have `/run/shm` instead of `/dev/shm` I wonder if I need to mount kiss's `/dev/shm` to that
<natris1979[m]>
oof, messed up the tickmarks there
<hyrc>
on my system /run/shm is symlinked to /dev/shm
<hyrc>
it's used for some kind of interprocess communication
<natris1979[m]>
yup, here too. mounting directly didn't help
* hyrc
waves hands in air vaguely
<natris1979[m]>
that's currently my level of understanding too :)
<natris1979[m]>
Yes!
<natris1979[m]>
I did it!
<natris1979[m]>
just had to create /mnt/kiss/dev/shm with the right permissions and it worked!
<natris1979[m]>
needed to do `mkdir /mnt/kiss/dev/shm` then `chmod +t /mnt/kiss/dev/shm` and `chmod 777 /mnt/kiss/dev/shm`. Mounted it same a the other stuff cribbed from kiss-chroot with ` mmount "$1/dev/shm" -o bind /dev/shm`
<natris1979[m]>
for anyone else in IRC logs trying to do this, I also had to similarly mount /mnt/wslg into the chroot (and /mnt/wsl, but I'm unsure if that was needed)
<natris1979[m]>
Then I had to set the folllowing ENV variables `DISPLAY=:0`, `XDG_RUNTIME_DIR=/mnt/wslg/runtime-dir` and `export WAYLAND_DISPLAY=wayland-0`
<natris1979[m]>
thanks hyrc and testuser for letting me bounce ideas of you. Now I need to try to sleep when I super excited
<natris1979[m]>
*off of you
Denshi has joined #kisslinux
<natris1979[m]>
*I'm
<testuser[m]>
Np
<hyrc>
glad you made progress
<natris1979[m]>
"progress" he says. I solved it :D :p
Denshi has quit [Client Quit]
<natris1979[m]>
I'm just glad I'll be able to use a half way decent window manager outside of a (traditional) vm or dual booting
bibliocar has joined #kisslinux
bibliocar has quit [Client Quit]
ella-0_ has quit [Ping timeout: 252 seconds]
<testuser[m]>
> [400/49394]
<testuser[m]>
adding 5000 new targets every release
<testuser[m]>
bruh
<testuser[m]>
100k by 2023
<phoebos>
oof
<phoebos>
ah you're right acheam i didn't need the lambda wrapper
<phoebos>
initially i had too many parentheses so the function was trying to execute the result of the calculation as a function
<testuser[m]>
bruh
sereg has quit [Remote host closed the connection]
travankor has joined #kisslinux
akspecs has quit [Remote host closed the connection]
akspecs has joined #kisslinux
<phoebos>
maybe i'll try to do some of the advent of code problems in scheme
<phoebos>
that way by the end of december i should be almost able to write decent code
<bibliocar>
I was looking at the musl sin function. Oh, nothing kiss related, really. I just thought I'd share my confusion at "return x - x;" in the musl sinf function.
<bibliocar>
I assume it's some weird floating point magic to return the correct error value or something.
<testuser[m]>
> sin(Inf or NaN) is NaN
<testuser[m]>
if u gonna return nan then why not just return x which is already a nan
<testuser[m]>
ask in #musl irc
<testuser[m]>
this is taken from freebsd anyways
<testuser[m]>
> trig(+-INF) is NaN, with signals;
<testuser[m]>
maybe this
<testuser[m]>
idk what a "signal" is here
<bibliocar>
I'm not smart enough to ask in #musl
<bibliocar>
maybe not smart enough to ask here either... I dunno.
<bibliocar>
It wasn't important
<bibliocar>
I was just observing that even though C is pretty basic, there's still some nuances that still confuse me.
<acheam>
just something to get used to/look out for with lisp ig
* midfavila-laptop
waves
* noocsharp
beach
* acheam
sand
<midfavila-laptop>
why do I bother visiting this channel - w-
<hyrc>
avoiding the rotting fish carcass
<hyrc>
just an association i have with walks on the beach
smartin has quit [Ping timeout: 252 seconds]
an3223 has joined #kisslinux
<sereg>
midfavila-laptop: heyo there
<midfavila-laptop>
hello
sereg has quit [Remote host closed the connection]
mahmutov has quit [Ping timeout: 256 seconds]
<natris1979[m]>
midfavila-laptop: you come around to gather support for your eval lisp effort?
an3223 has quit [Ping timeout: 276 seconds]
<kqz>
anyone have a posix shell wg-quick implementation?
<midfavila-laptop>
natris1979[m] lmao no
<midfavila-laptop>
i don't have even part of the necessary skills to make a modern lispm
<midfavila-laptop>
i just come here to talk about math and scream about how awful wayland and GTK3/4/Qt are
<midfavila-laptop>
sometimes I contribute useful information but that's pretty rare
<midfavila-laptop>
just ask acheam
<natris1979[m]>
oh, you'd be a fan a discussion I had over on #qutebrowser:libera.chat today. A guy is having segfaults running it, and they're deep in the QTWebEngine rendering code. Fun times
<midfavila-laptop>
that's disgusting on so many levels
<midfavila-laptop>
webkit makes me want to throttle someone
<midfavila-laptop>
or is webengine based on blink now?
<midfavila-laptop>
if so, even worse
<acheam>
webengine has always been blink
<midfavila-laptop>
has it? gross
<acheam>
there is qtwebkit and qtwebengine
<acheam>
qutebrowser supports both but is phasing out support for qtwebkit as it uses a really old webkit version
<acheam>
kissmoon when?
<midfavila-laptop>
when I get around to learning how to write a web engine
<acheam>
the serenity os guy has a lot of great browser hacking videos
<acheam>
on yewtube
<midfavila-laptop>
Yeah, I've seen Kling's stuff before
<midfavila-laptop>
It's pretty nifty.
<acheam>
c
<acheam>
++ tho
<acheam>
at least its high quality c++
<midfavila-laptop>
mmh
<midfavila-laptop>
honestly I don't even want to stick with unix in the long term
<midfavila-laptop>
C is kind of painful and writing programs with it even moreso
<midfavila-laptop>
at least compared to lisp
<acheam>
yeah
<midfavila-laptop>
or like, shit
<midfavila-laptop>
C would be fine on Plan 9
<midfavila-laptop>
but no
<midfavila-laptop>
we can't have any nice things because legacy support