<dilyn>
exercism is sort of really a super bad resource at times. this one should be supremely simple (parse time), but the only notes are "here is how dates are formatted in Go. Read this seven pages on all the methods in the Time package". It's the most dense thing...
<midfavila>
since KISS is basically just LFS with a package manager, their stuff is super applicable
<midfavila>
>golang
<op_4>
midfavila: thanks for the tip
<midfavila>
dilyn, that's... le BAD
<dilyn>
(I think my problem earlier is that go doesn't do x < var < y; you have to split it)
<midfavila>
op_4 np. you'll also benefit from reading the install scripts for packages, although keep man sh(1) open if you aren't used to scripting
<op_4>
midfavila: interesting, although i think i'm some distance from this presently. The most immediate learning opportunity is kernel+initramfs. I've compiled kernels before, but always relied on dracut/mkinitcpio/... and distro magic to cut something grub can understand. So that will be a good adventure
<op_4>
(doing LVM on LUKS FDE)
<dilyn>
oh no it isn't a corner case, that third function is just wrong lmfao. the date format is different
<midfavila>
the biggest corner case, pebkac
<midfavila>
hate it when that happens
<midfavila>
so many hours lost debugging only to realize a hilariously stupid mistake was made
<dilyn>
yeah imagine not knowing what methods are or how they work and banging your head against your desk for two hours (:
<dilyn>
love it
<dilyn>
works now though. though I had to do something really SUPER dumb - converted a string into what amounts to exactly a verbatim copy of itself just to change the type from string to time
<dilyn>
there's gotta be... a neater way
* midfavila
coughs in casting
<midfavila>
guessing go doesn't have that though
<midfavila>
honestly probably for the best if it doesn't
<dilyn>
haven't learned how to cast
<midfavila>
well in C it's just (type) foo;
<dilyn>
well I say "haven't"
<dilyn>
it was glossed over in an earlier section
<dilyn>
type conversion is... one of the last concepts for go on exercism...
<dilyn>
that seems wrong to me lmfao
<midfavila>
yeah
<midfavila>
should be covered at the same time as declaring variables imho
<dilyn>
is there any actual overhead created in assigning a variable to a value and using that variable instead of just directly using the value?
<dilyn>
or is just a sort of ease of reading thing
<op_4>
do you guys use kiss as your daily driver? what drew you to it? (sorry, probably pretty common questions around here)
<midfavila>
i use my own version of kiss as a daily, because it's the only way for me to quench my autistic need to micro-optimize everything
<dilyn>
I assume it doesn't matter as the compiler would just replace all the variables it can or some such chicanery
<midfavila>
re:overhead I don't think so
<midfavila>
at least if go works similarly to C the only overhead would be memory allocation and access
<midfavila>
but if it can be optimized away to a constant your compiler should do so
<op_4>
midfavila: haha, cool
<dilyn>
op_4: yeah I'm similar to mid; I've been using KISS daily since... 2020... Shit its been two years
<dilyn>
but I maintain all my own packages :S
<op_4>
impressive
<op_4>
ah, wow, that sounds like a lot of work dilyn
<dilyn>
well it helps that there are fewer than a hundred haha
<dilyn>
the hard part is not using gmake
<midfavila>
dilyn has a hateboner for GNU software :p
<dilyn>
fax
<dilyn>
I have (in some cases INCREDIBLY shakey) homemade makefiles for... 7 packages rn
<op_4>
dilyn: ah, is it the case that a lot of code depends on gmake specific Makefile stuff?
<dilyn>
it's mostly that many Makefiles seem to make use if ifeq which bmake doesn't implement
<midfavila>
i'm in a similarish boat but with stuff controlled by FAGMAN. i don't think there's anything on my system other than LLVM reliant on big tech rn
<dilyn>
or things like $?
<op_4>
i see
<dilyn>
llvm is the way
<midfavila>
and the only thing that relies on llvm is mesa,
<midfavila>
and the only thing that relies on mesa is amdgpu
<midfavila>
:^)
<dilyn>
lol
<dilyn>
but amdgpu also relies on Big Tech(tm)
<op_4>
midfavila: that acronym took me a moment
<midfavila>
look
<midfavila>
as much as I would love to daily my matrox GPU
<midfavila>
i need more than 2mb vRAM
<dilyn>
what ever for
<dilyn>
i remember when we were talking about how noone would ever need a gig of vram
<dilyn>
smh the good ol days
<midfavila>
i mean, for daily use, yes
<midfavila>
but that's more than an order of magnitude's difference
<midfavila>
:v
<op_4>
midfavila: my x200 has 384mb of shared vram ;p
<dilyn>
turns out you need more vram if you've got more pixels to push :v
<dilyn>
kekw
<dilyn>
integrated graphics are the best
<midfavila>
iGPU is fine for most stuff yeah
<midfavila>
my laptop's only got a few hundred megs of shared memory
<midfavila>
main benefit is no need for proprietary firmware
<op_4>
it's good enough for doom, which i presume is still the state-of-the-art in modern AAA games
<midfavila>
considering the quality of most modern games, yeah
<op_4>
midfavila: that's exactly why i bought the x200, libreboot, replace wifi card, install internal libre bluetooth = mostly free system
<op_4>
so i understand the urge
<midfavila>
wish my laptop had libreboot support
<acheam>
port it?
<midfavila>
BIOS is the only non-free component :/
<acheam>
which laptop is this?
<midfavila>
acheam I can barely program a bubblesort, slow down
<midfavila>
this is the toughbook
<acheam>
learn faster damn it
<acheam>
the world needs you
<midfavila>
but I have to memorize more geometric proofs
<midfavila>
i can't program until I literally have a PhD in theoretical mathematics
<acheam>
join the united leauge of programmers for international freedom
<op_4>
midfavila: and the EC firmware, right?
<midfavila>
well, yeah, but I tend to lump that in with the BIOS
<midfavila>
guess it's technically a discrete component
<op_4>
oh, cool, are you doing a PhD in mathematics?
<op_4>
yeah
<midfavila>
LMAO no
<midfavila>
i'm basically a NEET
<midfavila>
just been relearning maths from the ground up for the past few months
<midfavila>
getting some books on set theory and logic soon
<op_4>
i read "i can't program until I literally have a PhD in theoretical mathematics" as an order of operations :p
<midfavila>
it's just my fear of abstraction getting in the way of things
<midfavila>
i don't like top-down perspectives
<op_4>
midfavila: that's great, i'm chuffed! I am just finishing up my PhD and i'm happy to spread the love
<midfavila>
because people usually stop at the "top"
<midfavila>
oh, is yours in mathematics?
<op_4>
yep
<midfavila>
cool, now there's two of you
<midfavila>
any specialization?
<op_4>
wutlol
<op_4>
categtory theory
<op_4>
s/gt/g/
<midfavila>
oh, iirc noocsharp is also studying maths
<midfavila>
not a PhD though, I think
<noocsharp>
a lowly B.S.
<midfavila>
ngmi
<acheam>
there is something weird about KISS that attracts mathematicians
<midfavila>
it's the aura of culture and sophistication
<acheam>
and generally, academists (you can tell I'm not one because I just made up that word)
<midfavila>
you could have just used "academics"
<midfavila>
smh
<acheam>
academicists
<op_4>
as for my area midfavila, unfortunately i think you might find it inaesthetic for its love of abstraction. Nevertheless, keep learning maths! Don't let other people's preferences and styles put you off, that was an important lesson for me in my studies
<midfavila>
yeah, fair. and it's less that I have a problem with abstraction as a concept and more I dislike abstraction as an excuse for ignorance
<op_4>
oh absolutely!
<midfavila>
it's how you end up with shit like electron and flutter
<midfavila>
like I said, people start with top-down and never go to the "down" part
<op_4>
i agree, super important
<noocsharp>
abstraction in math is different than abstraction in software because there is no cost to abstraction in math
<op_4>
noocsharp: i think there is a cost to understandability/communication, no?
<midfavila>
it's why I'm devoting any time at all to set theory and basic logic as part of my maths studies. i mean, beyond that it's interesting and kind of necessary for computer science
<midfavila>
logic->set theory->arithmetic->algebra->geometry->trig->calculus is the current goal
<noocsharp>
i would say understandability/communicability is benefitted by abstraction
<midfavila>
nonsense
<midfavila>
everything has to be broken down into addition
<midfavila>
otherwise it's too complex
<noocsharp>
because without it things become so complicated that they cannot be understood
jgart has joined #kisslinux
<op_4>
or something
<op_4>
noocsharp: i don't disagree, but there's a happy medium with costs on either side. Too little and it's too difficult to communicate complex ideas, too much and the substance of the communication might be lost
<midfavila>
anything beyond the successor function is bloat
<op_4>
midfavila: hah
<noocsharp>
fair
<noocsharp>
i had a professor who tried to introduce inner products without mentioning euclidean distance even once
<midfavila>
sounds like my cue to drop out of this conversation lmao
<op_4>
erg sorry, don't want to wreck the chat
<midfavila>
you're not, I'm half-shitposting
<midfavila>
it's pretty dead most of the time
* op_4
doesn't have too much to do while gcc is compiling
<midfavila>
>he doesn't have 48 threads
<op_4>
that's the part about CPUs from 2006 that noone warns you about
<midfavila>
:v
<op_4>
oh *sorry*, 2008! Huge difference
<midfavila>
yeah that's around the time the ME started showing up
<op_4>
right you are
<midfavila>
one day I shall design a homebrew computer using exclusively open hardware and software
<midfavila>
release it for the people of the world to use
<midfavila>
and then we shall be free from the shackles of silicon valley
<op_4>
that would be amazing. I've long wanted this, only, i want someone else to do it for me
<midfavila>
yeah fair
<midfavila>
i doubt i'll ever accomplish something like that
<op_4>
i tried to design an 8bit cpu, what a hassle
<midfavila>
if I was gonna bother I'd want at least 32bit
<midfavila>
anything less and you need bank-switching to have any decent amount of main memory
<op_4>
maybe the future is FPGA, people write software descriptions, and magic pixies turn those descriptions into CPUs
<midfavila>
but yeah, just thinking about the sheer amount of... everything I would have to learn is overwhelming xwx
<op_4>
but you could select your CPU at boot
<midfavila>
and that's already kinda happening
<midfavila>
there's at least two devices I know of based around FPGAs and open hardware
<op_4>
really?
<testuser[m]>
Hi
<midfavila>
one is a RISC-V handheld with an OS in Rust and the other is a laptop called the Reform with modular hardware, including an FPGA system board to replace the CPU
<midfavila>
quick everyone
<op_4>
whoa
<midfavila>
respond to testuser
<midfavila>
hi testuser[m]
<op_4>
hi testuser[m]
<midfavila>
although what I'm most interested in is the idea of implementing high level languages in hardware
<midfavila>
and using that as your main CPU
* op_4
sees the Mnt Reform price T_T
<midfavila>
yeah it's not cheap unfortunately
<midfavila>
if I had the cash I'd get one just to support MNT, but... >.<
<op_4>
likewise
<midfavila>
neetbux don't provide that kinda funding
<midfavila>
and textbooks are already demolishing what I do have
<op_4>
lemme tell you, phdbux don't either
<midfavila>
yeah but you get /comfy/ university lifestyle :p
<op_4>
really? where do i sign up for one of those? :p
<dilyn>
wait wait wait a PhD in category theory??
<dilyn>
my man
<midfavila>
oh yeah, dilyn also exists
<dilyn>
that's what they tell me
<midfavila>
he does math sometimes too
<op_4>
dilyn: an interest of yours?
<dilyn>
i have a BA in maths
<op_4>
nice!
<dilyn>
my BA in philosophy was on logic
<op_4>
man what is this place
* op_4
checks this is #kisslinux not #academia
<midfavila>
an obscure corner of an obscure network running an obscure protocol for an obscure version of an obscure operating system
<midfavila>
ofc it's going to be filled with weirdos
<dilyn>
more the linguistic scoping of quantifiers around ordinals
<acheam>
wow testuser[m] is up early
<dilyn>
I'm a #washout academic:P I didn't get into any good PhD programs so I became a sellout
<op_4>
i /want/ to sell out, why is it so difficult!
<dilyn>
it's hard when you're so smart :v
<midfavila>
PhDs are overqualified i imagine?
<midfavila>
it's like
<midfavila>
what are they gonna make you do
<acheam>
op_4: welcome to #kisslinux, where the topic is never kiss linux
<midfavila>
^
<op_4>
yeah, mostly what midfavila said
<op_4>
dilyn: sorry, i didn't mean to imply that about myself at all
<op_4>
but people expect either miracles or weird things from a phd in maths, and i can't provide too much of either
<acheam>
that is honestly the most cool/disturbing/badass picture I've seen in a long time though
<midfavila>
this is the model I own
<midfavila>
need to strip the rust off the pommel and guard and refit the grip though
<acheam>
nice
<midfavila>
believe it or not it makes a pretty shitty sword
<midfavila>
it's hilariously unbalanced
<acheam>
how are the knife laws in canada/your province?
<midfavila>
has to be a certain length and can't be gravity or spring-loaded
<midfavila>
can't carry with intent to harm
<midfavila>
otherwise have fun
<midfavila>
unfortunately the second clause applies to self-defense
<acheam>
okay to totally change the subject: I'm kind of regretting not being anonymous on the internet before now.... my main concern is being able to show work for myself in job applications and stuff.... testuser[m], midfavila, do you plan on ever showing off your computer stuff in a resume or job and how do you plan on doing that without revealing your identities?
<midfavila>
keep a local copy of the source tree and show it in action at your interview
<acheam>
In the city near me its a max of 2.5" which sucks... and no daggers/two sided blades in the entire state
<midfavila>
otherwise no, I don't intend to link my online activity with my physical activity
<acheam>
thanks for the input
<midfavila>
np ig
<acheam>
I need to figure out what to do with all my existing projects...
<acheam>
I guess keep developing those under my name
<midfavila>
but yeah I intend to just hunt certs
<midfavila>
probably do bounties and contracting since those are less... how do I put this lightly... completely fucking retarded than most employers
<acheam>
ye
<acheam>
midfavila: you never bowed to me for changing the topic
<acheam>
the irc topic that is
<acheam>
not the topic of conversation
<midfavila>
i'm supposed to bow?
<testuser[m]>
acheam: what's wrong with just linking ur shithub or sourcehut
<midfavila>
on the topic of retarded interviewers and employers
<midfavila>
part of the reason why I don't intend to showcase any projects
<midfavila>
it's pretty clear most employers don't care about them
<midfavila>
they just want someone who can fizzbuzz and pass their stupid multiple-choice quizzes
mov_eax has joined #kisslinux
<testuser[m]>
Yeah
<midfavila>
my favorite question from that article is "Why Quicksort is the best sorting method?"
<midfavila>
the hyperfocus people seem to have on omicron scores really fucking dries my paint
<testuser[m]>
Bruh
<acheam>
midfavila: bowing is mandatory
<midfavila>
i bow to nobody
<acheam>
testuser[m]: because then the username I use there becomes linked to my names
<acheam>
s/s$//g
<midfavila>
fuck where's my impending death pepe when I need him
<testuser[m]>
I don't plan on using my real name for anything other than profeshnul stuff so that's why I'm fine with it
<acheam>
makes sense
<midfavila>
you've also got to take into account the fact that something you say today might end up triggering the programming socks off of some metaverse random ten years from now
<midfavila>
dealing with mobs isn't fun :^)
<acheam>
I frequently hold myself back from making certain jokes or saying certain things because I'm afraid it will come back to bite me
<acheam>
on this nick
<noocsharp>
acheam: why do you care about showing off computing stuff without revealing your identity?
<acheam>
I more just want to be able to speak freely without everything I say being associated with my name and following me around
<midfavila>
notorious terrorist acheam needs to stay anonymous
<acheam>
midfavila: how do these mod things work? on the radio you sent
<acheam>
midfavila: shhhhhh
<acheam>
they already know I'm brown
<midfavila>
"mod things"?
<acheam>
> find track on modarchive
<noocsharp>
well if i wasn't on a watchlist before, i am now
<acheam>
> songname.mod
<midfavila>
--i was gonna say notorious white supremacist because of the irony factor :v--
<midfavila>
oh, that
<midfavila>
no clue
<midfavila>
i just ffplay the ogg stream directly
<acheam>
kk
<acheam>
I was hoping to download it
<acheam>
last track was a banger
<midfavila>
oh, you can probably just search for the trackerfile on the net
<midfavila>
it'll almost certainly come up
<midfavila>
probably on aminet or something
<acheam>
speaking of downloading music, and testuser[m]'s recent question about using storage space
<acheam>
I've started collecting flac files
<midfavila>
do you protect them from the effects of quantum tunnelling
<acheam>
of course
<acheam>
with a gold-plated HDMI cable
<midfavila>
good
<midfavila>
now you just need electrostatic stax headphones
<acheam>
i have 6630 tracks so far... a reasonably small collection
<acheam>
and it takes up....
<acheam>
get ready for this....
<midfavila>
>reasonable
<midfavila>
>small
<acheam>
175 GiB
<midfavila>
i have like maybe 200 tracks across all of my machines
<acheam>
I pretty much downloaded the full discography of the artists I like
<midfavila>
fair enough
<midfavila>
i just download individual songs
* midfavila
shrugs
<acheam>
I haven't listened to most of this
* acheam
likes listening to full albums at a time
<acheam>
I don't really use playlists
<midfavila>
virgin album-listener versus chad one-track infinite looper
<midfavila>
that reminds me, I still need to buy the parts for a homebrew m68k computer
<midfavila>
there's a whole system available on tindie for like 100USD
<midfavila>
it's about equivalent to the A1000
<midfavila>
...I think
<midfavila>
yeah it's a little better than a maxed A1k
* acheam
doesn't know what any of that means
<midfavila>
m68k is an older architecture from motorola used by apple before PPC, as well as by commodore
<midfavila>
tindie is a site with schematics and parts and stuff to make hobby electronics projects
<midfavila>
the amiga 1000 was the baseline model and its max specs were 8.5mb of memory and a 7.16mhz CPU
<midfavila>
a lot of early unix workstations were also m68k
<midfavila>
i think linux still supports it?
<midfavila>
the amiga has so much soul
<midfavila>
wish commodore wasn't so retarded
<acheam>
gotcha
<midfavila>
we could have a fourth major choice in computers if they were still around
<midfavila>
but they blew it ripping on the CDi
<midfavila>
now I think they're just made by some european company called Hyperion Entertainment
<midfavila>
basically just souped up powerPC computers with a bespoke system bus
<midfavila>
anyway I'm gonna go like
<midfavila>
try to sleep
<midfavila>
you guys have fun
<acheam>
good night midfavila
<testuser[m]>
acheam: what jerb are you going to do
<acheam>
sweet dreams
<acheam>
dont let the bed bugs bite
<acheam>
testuser[m]: job?
<testuser[m]>
Ye
<testuser[m]>
Jerb
<acheam>
ah ofc
<acheam>
I'm not sure right now... I'm applying to colleges with pretty broad intentions. My main interests for studying are: classics (ancient latin, greek), computer science, and stage lighting design
<noocsharp>
"It is free because it is 25 years out of date, non-standard C++, and (tbh) crap.
<noocsharp>
"
<noocsharp>
yep, just like the other free c++ compilers
<acheam>
lmao
<testuser[m]>
They're also notorious for asking questions like tell the output of a++ + ++a
<noocsharp>
sounds like ap comp sci
<acheam>
can confirm.
<testuser[m]>
ap?
<acheam>
standardized test system in the US
<acheam>
(its super soft compared to india though)
<acheam>
"AP" classes are college level, and if you do well on the test, some universities will let you skip that class
<testuser[m]>
Rich
<noocsharp>
except they're not really
<noocsharp>
"college level"
<testuser[m]>
Here JEE rank decides whether you go to a shithole college or a "tier 1"
<acheam>
yeah
<acheam>
thats why I said its super soft
<testuser[m]>
It's just shekels for "coaching centers" lol, sell dreams of getting a placement in FAGMAN companies to parents only to disappoint them later
<acheam>
i'm stealing "FAGMAN"
<noocsharp>
there go your job prospects
<noocsharp>
and mine too probably
<acheam>
Note to any job prospecters: my client, hereafter known simply as "acheam" is queer and by the rule of myself, is allowed to say that
<acheam>
that oughta do it
* acheam
sets up an IRC bot to send a disclaimer after every message
<dilyn>
yeah I took a few AP classes and started college as a sophomore
<dilyn>
just meant that I got to start paying more $/credit hour sooner :V ripoff
<noocsharp>
wait, you had to pay more per credit hour the farther along you were?
<dilyn>
yessir indeed sir
<dilyn>
engineers also had to pay more, AND they had to take more classes than their peers
<dilyn>
same with med students/nurses/law students etc
<dilyn>
college is a racket
<noocsharp>
it's not like that here
<noocsharp>
tuition just goes up every semester
<dilyn>
:v
<dilyn>
where u @
<noocsharp>
well i mean the paying more per credit hour thing
<dilyn>
lemme holla \@ yo dean
<dilyn>
see we also had that
<noocsharp>
i'm sure people in specific majors have to take more classes
<noocsharp>
major specific classes that is
<dilyn>
before I started, they had a three year tuition increase freeze. after I left, they wouldn't charge you extra if you took more than twelve credit hours in a semester
<dilyn>
so I got double supremely fucked in every possible way
<noocsharp>
unfortunate
<dilyn>
and those loans will never be payed back :v :v :v
<noocsharp>
unfortunater
<dilyn>
only for the creditor:D
<noocsharp>
unfortunatest
<acheam>
just saying... admission into the university of acheam is free, and we have an unparalleled academic program
<acheam>
free as long as you count the soul of your first-born son to be free