<geist>
trying to figure out how to build marlin firmware for my board
<geist>
since like 100% of the guides are written for windows, i guess i'll have to do it there, grr
[itchyjunk] has quit [Remote host closed the connection]
rustyy has quit [Ping timeout: 244 seconds]
netbsduser` has joined #osdev
rustyy has joined #osdev
Arthuria has joined #osdev
netbsduser` has quit [Ping timeout: 244 seconds]
gorgonical has quit [Ping timeout: 255 seconds]
Arthuria has quit [Ping timeout: 246 seconds]
netbsduser` has joined #osdev
SGautam has quit [Quit: Connection closed for inactivity]
netbsduser` has quit [Ping timeout: 245 seconds]
LittleFox has quit [Server closed connection]
LittleFox has joined #osdev
Burgundy has quit [Ping timeout: 240 seconds]
Osmten has joined #osdev
netbsduser` has joined #osdev
bnchs is now known as Cindy
goliath has joined #osdev
netbsduser` has quit [Ping timeout: 240 seconds]
Jari-- has quit [Remote host closed the connection]
rustyy has quit [Ping timeout: 240 seconds]
netbsduser` has joined #osdev
rustyy has joined #osdev
tutu_wind has quit [Quit: Client closed]
GeDaMo has joined #osdev
netbsduser` has quit [Ping timeout: 252 seconds]
agent314 has quit [Ping timeout: 264 seconds]
* cloudowind
asking google about what marlin firmware is
<FireFly>
3D printer firmware thingy
<FireFly>
I'm surprised the project wouldn't have generic build instructions though, but maybe needs something Special for the board in question I guess
<cloudowind>
yea seems like
<cloudowind>
geist got a 3d printer then
<zid>
idk, a lot of commercial embd stuff is just heavily tied to random windows apps written by some guy in china
<zid>
and there's no docs for what it does
<zid>
And the instructions are please run "MegaSerialFlash 2000.exe" and follow the prompts.
<geist>
yeah the marlin firmware apparently originally started as an ardiuno sketch but grew past that, since it supports like 10000 different configurations
<gog>
hi
<geist>
so apparently you can still build it with arduino, if it's AVR, but the newer ARM boards require something called PlatformIO which I hadn't heard about
<geist>
seems to be some sort of embedded/IOT/etc library/engine/build system thing
<geist>
anyway i tried to build it on linux using the command line, but really seems that everyone just uses vscode + some sort of extension that automates everything
<geist>
i grudgingly accepted that and it builds pretty easily. edit a huge Configuration.h file and push a button
* geist
shrugs
<FireFly>
apparently there's another 3D printer firmware people use now
<FireFly>
ah klipper
<FireFly>
but yeah, reasonable to just give up and go with the thing that everyone else does tbh
<cloudowind>
wb gog
<gog>
it's Monday morning please kill me
<kazinsal>
i refuse
* kazinsal
hugs gog instead
* gog
prr
<kazinsal>
nya~
<zid>
but monday is mynesday
<zid>
And last week we just hit the part where they basically said the name of the novel, and the reaction shots are all this week
Left_Turn has joined #osdev
orccoin has joined #osdev
tixlegeek has joined #osdev
<cloudowind>
Left_Turn very interesting nick you have chosen to yourself
<Left_Turn>
:)
nyah has joined #osdev
gog has quit [Ping timeout: 264 seconds]
gog has joined #osdev
qookie has quit [Server closed connection]
qookie has joined #osdev
Burgundy has joined #osdev
netbsduser` has joined #osdev
rustyy has quit [Ping timeout: 252 seconds]
tixlegeek has quit [Quit: tixlegeek]
rustyy has joined #osdev
Hammdist has quit [Quit: Client closed]
bauen1 has quit [Ping timeout: 264 seconds]
rustyy has quit [Ping timeout: 240 seconds]
rustyy has joined #osdev
tixlegeek has joined #osdev
Osmten has quit [Quit: Client closed]
cloudowind has quit [Quit: Lost terminal]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
<puck>
geist: the platformio cli is pretty good imo, and has been pretty stable to me, and at least lets you do arduino avr stuff from cli easily (better than just having a .ino :p)
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 264 seconds]
theboringkid has joined #osdev
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 244 seconds]
bauen1 has joined #osdev
theboringkid has quit [Ping timeout: 258 seconds]
rustyy has quit [Ping timeout: 244 seconds]
rustyy has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 245 seconds]
bauen1 has quit [Ping timeout: 240 seconds]
bauen1 has joined #osdev
grumbler has joined #osdev
Arthuria has joined #osdev
Arthuria has quit [Remote host closed the connection]
Arthuria has joined #osdev
edr has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
Ermine has quit [Ping timeout: 248 seconds]
Ermine has joined #osdev
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 264 seconds]
Turn_Left has joined #osdev
<mcrod>
hi
<gog>
hi mcrod may i hug you
xenos1984 has quit [Read error: Connection reset by peer]
<mcrod>
of course
* mcrod
hugs gog
* gog
hug mcrod
Left_Turn has quit [Ping timeout: 258 seconds]
[itchyjunk] has joined #osdev
Arthuria has quit [Ping timeout: 258 seconds]
xenos1984 has joined #osdev
<sham1>
hi
<gog>
hi
<mcrod>
hi
<mcrod>
sham1: one day we will write ANSI C and be happy together
<bslsk05>
github.com: Libc/stdio/FreeBSD/vfprintf.c at master · apple-open-source-mirror/Libc · GitHub
<heat>
glibc has the same thing but needs to parse /proc text!!!!!!!!!111111!!!!!!1111111
<mcrod>
you're a weird guy
<gog>
lonix
bauen1 has quit [Ping timeout: 248 seconds]
<netbsduser`>
heat: the quintessential problem of linux
<gog>
should i be using netbsd instead
<gog>
can i play factorio on it
<netbsduser`>
when i ported systemd to the 5 BSDs i was able to replicate a set of functions for grabbing process data (on gnu/linux by reading /proc) in an eighth of the sloc-count using kvm/libproc
<gog>
i read a thread of poeple arguing about initware
<gog>
on reddit i think
<gog>
you can't win
<netbsduser`>
it inflamed a lot of senseless passions
<gog>
i hate computers
<gog>
why did i get into this godforsaken field
<netbsduser`>
one guy compared me to, and i quote from memory, "jezebel, who undid israel in a day with idol worship"
<gog>
whaa
<gog>
that's unhinged
<mcrod>
gog: one of my favorite pastimes is to play with really old hardware
<netbsduser`>
the really sad part is that i have informed and sensible critiques of systemd on the repo wiki
<mcrod>
it reminds me of a simpler time, where complicated things had to happen on terrible hardware
<mcrod>
and it *worked*
<gog>
i'm gonna get an itanium
<netbsduser`>
indeed there is a roadmap there with am ambitious plan to completely and utterly refactor the thing
<mcrod>
my packard bell is a treasure
bauen1 has joined #osdev
Hammdist has quit [Quit: Client closed]
Hammdist has joined #osdev
<kof13>
i would imagine it was somewhat tongue in cheek, but if they are idolizing an os then, well... projection :D
<Ermine>
itanium fsys fsys itanium
<Ermine>
gog: may I pet you
bauen1 has quit [Ping timeout: 252 seconds]
<gog>
yes
<Ermine>
heat: you have u8 in onyx. Maybe I misunderstood your take on how to name those types
* Ermine
pets gog
goliath has joined #osdev
* gog
prr
xenos1984 has quit [Ping timeout: 246 seconds]
xenos1984 has joined #osdev
nvmd has joined #osdev
nvmd has quit [Client Quit]
theboringkid has joined #osdev
theboringkid has quit [Ping timeout: 255 seconds]
sauce has quit [Ping timeout: 264 seconds]
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 240 seconds]
<mcrod>
i still say shortening those types is just a waste of time
<mcrod>
whoop-de-doo, 5 characters
Left_Turn has joined #osdev
<mcrod>
er, disregard that one
Turn_Left has quit [Ping timeout: 264 seconds]
sauce has joined #osdev
<Ermine>
"4.3BSD and 4.4BSD implement pipes with Unix domain sockets"
gog` has joined #osdev
gog` has quit [Client Quit]
gog has quit [Quit: Konversation terminated!]
xenos1984 has quit [Ping timeout: 245 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 258 seconds]
<heat>
lol
<heat>
Ermine, what?
<heat>
what's the problem with u8?
<Ermine>
Iirc you didn't like it
<Ermine>
Am I wrong?
<heat>
my take is that I dislike uint8_t but like u8 because it's just much shorter and easier to type
<heat>
yes
xenos1984 has joined #osdev
<Ermine>
ok, sorry then
<heat>
SHAME ON YOU
<heat>
how do you not know my preferences smh
<ChavGPT>
u8 too ez to make a typo when you meant u16
<ChavGPT>
trust me, i'm a geezer
gog has joined #osdev
<heat>
u_int8_t >>
<ChavGPT>
u_int_EIGHT_t
<ChavGPT>
there you go
<heat>
UNSIGNED_INT_EIGHT_TYPE
<ChavGPT>
no type confusion
<heat>
UNSIGNED_INTEGER*
<ChavGPT>
or pull off a php and replace EIGHT with the same word in hebrew
<heat>
int is too easy to typo to when writing float
<bslsk05>
arxiv.org: [2209.05433] FP8 Formats for Deep Learning
<ChavGPT>
oh no
<ChavGPT>
wtf 'bookmark on reddit'
<Ermine>
UINT8
<ChavGPT>
UI8NT
theboringkid has joined #osdev
<kof13>
you guys are all anti-c89 with your fixed-width types
* kof13
hears more geezer than geezer playing in the background
bauen1 has joined #osdev
aejsmith has quit [Server closed connection]
aejsmith has joined #osdev
<ChavGPT>
foo(bar)
<ChavGPT>
int bar;
<ChavGPT>
amirite
<kof13>
that's like 3x geezer, i am maybe 1.5
<ChavGPT>
i have been doing kernel programming for 30 years,t herefore i always i know better
<ChavGPT>
and i'm totally not stuck in lol ways
agent314 has joined #osdev
nvmd has joined #osdev
theboringkid has quit [Ping timeout: 240 seconds]
carbonfiber has joined #osdev
heat has quit [Remote host closed the connection]
heat has joined #osdev
<Ermine>
heat, dumb question: implementing pipe_read_iter through iterating over iter and doing pipe::read on each iovec is wrong solution, right? Seems like read_iter_emul does the same thing
orccoin has quit [Ping timeout: 240 seconds]
linearcannon has quit [Remote host closed the connection]
linear_cannon has joined #osdev
<heat>
Ermine, no
<heat>
read_iter_emul is a wrong solution as it's not POSIX compliant
<heat>
POSIX says that readv({2 bytes, 2 bytes}) must behave in a similar way to read(4 bytes)
<heat>
lets say you have a pipe with 2 bytes then
<heat>
read(4 bytes) = 2 bytes
<heat>
proper readv({2 bytes, 2 bytes}) = 2 bytes
<heat>
read_iter_emul({2 bytes, 2 bytes}) will read 2 bytes and then block waiting for 2 more bytes
<Ermine>
I'm thinking of adding 'make tags' target to onyx's makefile
<ChavGPT>
tags with what mofer
<heat>
why?
<heat>
you're supposed to use clangd
<heat>
i have a whole llvm toolchain with clangd and wrapping the make with bear works fine
skipwich has joined #osdev
<heat>
<heat> i have a whole llvm toolchain with clangd(1) and wrapping the make(1) with bear(1) works fine
<heat>
bsd'ed it for you ChavGPT
<Ermine>
In vim? If I find non-shitty extension to integrate with clangd
Jari-- has quit [Remote host closed the connection]
<heat>
i mean i got LSP to work fine in neovim
<heat>
i don't know about vim though
<heat>
sorry, vim(1)
<heat>
one must always refer to the manpages
<heat>
man(1)pages
<Ermine>
isn't clangd 8 or something
<mcrod>
heat: nothing
<mcrod>
I just hate strings in C
<heat>
clangd(1) isn't a traditional daemon so probably not?
<mcrod>
nothing's wrong... just, I hate strings
<heat>
>No manual entry for clangd
<mcrod>
because no one can agree on a Right Way for anything
<heat>
that settles it, they're not UNIX boomers
<heat>
is that C or C++ mcrod
<heat>
because i understand the C strings hate, i truly do
<heat>
C++ is a lot more palatable due to std::string but still
<mcrod>
don't use strcmp because what if no null terminator, don't use strncpy because it doesn't produce null terminated strings, you shouldn't need str* at all because you should always know the size of your strings and can use the more efficient mem* funcs
<mcrod>
and it goes on
<mcrod>
er, strncpy doesn't guarantee that the result will be null terminated*
<heat>
don't take advice too literally
<mcrod>
and there's probably some hidden rule I'm forgetting
<mcrod>
which is buried deep in some old fart's brain
<heat>
>don't use strcmp because what if no null terminator
<mcrod>
yes I know
<heat>
this is C, strings are always null terminated implicitly
<heat>
>don't use strncpy because it doesn't produce null terminated strings,
<heat>
i agree
<heat>
strncpy is ass
<heat>
>you shouldn't need str* at all because you should always know the size of your strings and can use the more efficient mem* funcs
<heat>
bullshit.jpeg
<mcrod>
I'm rattling off talking points
<mcrod>
that one is an ulrich drepper one
<mcrod>
he's wrong, obviously
<Ermine>
I end up knowing string sizes usually
<ChavGPT>
ulrich is my fav programmer
<ChavGPT>
i just use rust
<ChavGPT>
all problemd dodged
<heat>
you should like take advice less literally, because sometimes it applies, other times it doesn't
<heat>
you can't try to be dogmatic about things
<ChavGPT>
RUST KURW^WMOTHERF^W
<Ermine>
RUUUUUUUUUST
<heat>
like "goto sucks don't use it!!!!!!!"
<heat>
C error handling without goto is like, horrendous
<heat>
but would I tell you to use goto loops? probably not, kill it with fire LINUX IDIOTS^W^W
<Ermine>
I was taught that goto sucks and you shouldn't use it, so when I first time saw it in real code, I was shoked
<Ermine>
shocked*
<ChavGPT>
people who tell you to not use goto in c are webdevs
<mcrod>
there isn't a *hint* of goto in the embedded shit at work
<mcrod>
because MISRA compliance
<heat>
people who tell you to not use goto in C are not C programmers
<ChavGPT>
i was told in college goto is not used
<mcrod>
oh shut up
<mcrod>
embedded counts
<heat>
no fuck you mcrod
<ChavGPT>
unfortunately for the fucking PHD i had my laptop
<mcrod>
we're real too
<heat>
embedded? more like cringedded
<ChavGPT>
i told the guy linux is full of goto for error handling
<heat>
how many cores does your code scale to?
<ChavGPT>
then he asked when was the last commit with goto
<ChavGPT>
and it was pretty fresh
<Ermine>
Anyway, goto is to be used carefully, it can turn code into spaghetti if abused
* gog
prr
<ChavGPT>
heat even mcrod admits wmbedded is webdev of osdev
<ChavGPT>
innit
<gog>
webosdev
<Ermine>
OS.js when
<mcrod>
there are things we simply _are not allowed to do_ if we want to maintain MISRA compliance
<heat>
there's a v8 OS out there
<mcrod>
a lot of the rules are pretty choice
<heat>
unfortunately they beat me to the punch
<mcrod>
*however*
<Ermine>
Akshually it exists
<mcrod>
some of them are slighly ridiculous
<mcrod>
slightly*
<mcrod>
so much so to the point that until you read the footnotes of some, you'll laugh out of your chair
<heat>
give me one
<mcrod>
"all code must be compiled without compiler extensions of any kind"
<heat>
i understand the goto stuff because give a bad C programmer goto and they will abuse it
<ChavGPT>
don't use git
<ChavGPT>
:X
<heat>
jesus fuck MISRA
<mcrod>
note: we are in embedded
<mcrod>
what did I just say
<mcrod>
"until you read the footnotes of some"
<heat>
what's the footnote?
<mcrod>
they make explicit exceptions for that stuff where it is absolutely required
<heat>
ChavGPT, BSD guidelines?
<heat>
use CVS, it's really good
<ChavGPT>
bro
<heat>
tag everything with $FreeBSD$
<ChavGPT>
want some geezer
<ChavGPT>
there was a write up why use svn over git
<ChavGPT>
and it was full of geezer points
<heat>
i use got
<mcrod>
heat: I have a copy of MISRA C 2023 if you want to peruse
<mcrod>
however, be aware that I had to pay for this and I'd appreciate it if it didn't land on the internet with my name on it :)
<mcrod>
because the PDF says "LICENSED TO MICHAEL RODRIGUEZ"
<Ermine>
heat: is bsd' __RCSID shit also stems from CVS? Or is it even more ancient?
<ChavGPT>
can't find it
<heat>
mcrod, yeah i won't take that sorry
<Ermine>
Even suckless.org recommends git over svn
<heat>
particularly as you've just announced in a logged channel that you're willing to do illegal shit
<Ermine>
so, consensus
<mcrod>
heat: :)
<ChavGPT>
Ermine: where
<heat>
like, weird move pal, there's a pm feature in IRC
<heat>
or DM if you're under 30
<ChavGPT>
and over 12
<Ermine>
ChavGPT: what where
<ChavGPT>
Ermine: 23:44 < Ermine> Even suckless.org recommends git over svn
<ChavGPT>
heat: btw all that $FreeBSD$ stuff recently got removed
<ChavGPT>
heat: it was a cvs leftover
<mcrod>
i find that the suckless people are nutty people
<gog>
succless
<ChavGPT>
succcessless
<ChavGPT>
:
<ChavGPT>
X
<heat>
mcrod, naziful
<mcrod>
that too
<mcrod>
i forgot about that
<Ermine>
ChavGPT: suckless.org/sucks, section 'Version control'. Well, correction: it says that svn sucks, but tells nothing about git
<bslsk05>
suckless.org: software that sucks less | suckless.org software that sucks less
<mcrod>
i remember I stopped using dmenu because of the nazi ties from suckless
<bslsk05>
Note by warthog9: "@jann vger is a particularly busy set of mailing lists, on a daily basis it will send literally millions of emails to individual addresses. Gmail has a lot of users, and thus w[…]"
<heat>
this is fuckin erm depressing and explains why a bunch of linux-efi mail never reached me
<zid>
gmail should just have a mailing list api tbh
<zid>
like, they absorbed all of google groups
skipwich has quit [Ping timeout: 240 seconds]
<zid>
I could just type into google, "kernel.vger.org" to browse those mailing lists or whatever, saves them tens millions of emails
<zid>
basically, vger sends a single email to gmail, and any gmail user can subscribe internally to those lists
skipwich has joined #osdev
<heat>
but then they implemented an API without consulting anything and then google bad destroying the internet
<heat>
and this affects what could be rounded to 0% of everyone
<zid>
It's literally the same as google groups
<zid>
identicals
noeontheend has joined #osdev
skipwich has quit [Ping timeout: 264 seconds]
skipwich has joined #osdev
skipwich has quit [Ping timeout: 244 seconds]
carbonfiber has quit [Quit: Connection closed for inactivity]
skipwich has joined #osdev
Burgundy has quit [Ping timeout: 264 seconds]
grumbler has joined #osdev
<ChavGPT>
heat: ey heat, did you know openbsd vfork does not skip copying the address space
<ChavGPT>
heat: it literally is just fork with waiting for the parent