00:00
admiral_frost has quit [Quit: It's time]
00:06
blockhead has joined #osdev
00:29
netbsduser`` has quit [Ping timeout: 255 seconds]
00:34
janemba has quit [Ping timeout: 255 seconds]
00:42
rustyy has quit [Ping timeout: 264 seconds]
00:48
janemba has joined #osdev
00:50
bauen1 has joined #osdev
00:58
heat has quit [Ping timeout: 255 seconds]
01:02
admiral_frost has joined #osdev
01:03
vai has quit [Ping timeout: 255 seconds]
01:09
rorx has quit [Ping timeout: 255 seconds]
01:49
craigo has quit [Ping timeout: 258 seconds]
02:00
craigo has joined #osdev
02:17
gog has quit [Ping timeout: 245 seconds]
02:20
admiral_frost has quit [Quit: It's time]
02:25
gbowne1 has quit [Remote host closed the connection]
02:28
vdamewood has joined #osdev
02:47
[itchyjunk] has quit [Remote host closed the connection]
02:48
admiral_frost has joined #osdev
03:20
rorx has joined #osdev
03:43
Burgundy has joined #osdev
03:51
craigo has quit [Ping timeout: 260 seconds]
03:59
netbsduser`` has joined #osdev
04:10
[Kalisto] has quit [Quit: Ping timeout (120 seconds)]
04:10
[Kalisto] has joined #osdev
04:18
rustyy has joined #osdev
04:19
netbsduser`` has quit [Ping timeout: 258 seconds]
04:28
Burgundy has quit [Ping timeout: 245 seconds]
04:59
netbsduser`` has joined #osdev
05:17
air has quit [Ping timeout: 255 seconds]
05:19
netbsduser`` has quit [Ping timeout: 255 seconds]
05:21
admiral_frost has quit [Quit: It's time]
05:25
zielliger has joined #osdev
05:28
air has joined #osdev
05:30
zielliger has quit [Quit: Lost terminal]
05:40
Osmten has joined #osdev
05:53
leon has quit [Ping timeout: 245 seconds]
05:58
leon has joined #osdev
05:59
netbsduser`` has joined #osdev
06:18
netbsduser`` has quit [Ping timeout: 252 seconds]
06:55
danilogondolfo has joined #osdev
06:59
netbsduser`` has joined #osdev
07:18
netbsduser`` has quit [Ping timeout: 260 seconds]
07:58
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
08:37
nyah has joined #osdev
08:51
gog has joined #osdev
08:58
gog has quit [Remote host closed the connection]
09:03
GeDaMo has joined #osdev
09:13
Osmten has quit [Ping timeout: 245 seconds]
09:36
gog has joined #osdev
09:57
Burgundy has joined #osdev
10:05
zxrom has joined #osdev
10:26
rustyy has quit [Ping timeout: 255 seconds]
10:28
rustyy has joined #osdev
10:38
[itchyjunk] has joined #osdev
10:55
netbsduser`` has joined #osdev
11:24
goliath has joined #osdev
11:58
rustyy has quit [Ping timeout: 255 seconds]
12:00
rustyy has joined #osdev
12:31
<
mcrod >
ASP.NET is pure shit
12:33
zxrom has quit [Ping timeout: 255 seconds]
12:39
<
formerly-twitter >
whoa there mcrod
12:39
<
formerly-twitter >
this cannot be true by definition
13:29
zxrom has joined #osdev
13:39
heat has joined #osdev
13:49
[Kalisto] has quit [Ping timeout: 255 seconds]
13:54
Left_Turn has joined #osdev
14:21
netbsduser`` has quit [Ping timeout: 258 seconds]
14:32
Turn_Left has joined #osdev
14:35
nickster has joined #osdev
14:35
Left_Turn has quit [Ping timeout: 252 seconds]
15:02
netbsduser`` has joined #osdev
15:11
sbalmos has quit [Quit: WeeChat 4.0.2]
15:45
heat_ has joined #osdev
15:45
heat has quit [Read error: Connection reset by peer]
15:47
edr has joined #osdev
15:48
<
mcrod >
neat, apparently we rolled our own RTOS here
15:51
<
mcrod >
looks like shit
15:51
<
mcrod >
i commend the effort
15:59
sbalmos has joined #osdev
16:30
xenos1984 has quit [Ping timeout: 245 seconds]
16:31
xenos1984 has joined #osdev
16:46
<
kof123 >
"looks like" you mean the code?
16:50
<
heat_ >
did you write it
16:51
danilogondolfo has quit [Ping timeout: 246 seconds]
16:51
danilogondolfo has joined #osdev
16:51
danilogondolfo has quit [Client Quit]
16:52
<
heat_ >
did I write it?
16:52
<
mcrod >
it would look worse if I did
16:52
<
mcrod >
yes, because it’s pretty bad
16:52
<
heat_ >
well that doesn't check out because my code is perfect
16:52
<
heat_ >
and your code is ass
16:52
<
mcrod >
my back hurts
16:53
<
heat_ >
man struggles to not overengineer everything in trivial code
16:53
<
heat_ >
local man tests asserts [GONE WILD] [IDIOT]
16:57
<
mcrod >
at least the next commit will clean up a very good portion
16:57
<
pitust >
testing for assertions is a great idea with no drawbacks
16:58
<
pitust >
its especially cool how you it means your tests don't work if you make a non-debug build which omits assertions
16:59
<
mcrod >
in safety critical stuff at least, even assertions are tested
16:59
<
pitust >
okay, i guess
16:59
<
mcrod >
this is because you want “unambiguous” guarantees that your landmine is actually there
17:02
<
mcrod >
there’s nothing wrong, in theory, with making sure that for a given function, it dies if ‘x’ is true, even if it is testing for an assertion
17:02
<
mcrod >
overkill, but not technically wrong.
17:03
<
heat_ >
tbf it's not that hard to test
17:03
<
heat_ >
i don't remember why you had so many issues
17:03
<
mcrod >
because google test is a SHIT
17:03
<
mcrod >
and on top of it
17:03
<
heat_ >
#define assert(expr) throw shittests::assert_exception(##expr)
17:04
<
heat_ >
you could've also used death tests
17:05
<
heat_ >
but death tests are kind of ambiguous here, which sucks
17:05
<
heat_ >
you can't tell abort() and assert() apart
17:06
<
mcrod >
SAMETHING_ASSERT calls samething_dbg_assert_failed, because I may not want it to just abort()
17:07
<
heat_ >
so that above assert() define plus EXPECT_EXCEPTION using try-catch sounds ok to me
17:07
<
mcrod >
i may want to do something else before I abort
17:11
<
mcrod >
yeah death testing is what i want
17:27
project10 has quit [Quit: Ping timeout (120 seconds)]
17:30
craigo has joined #osdev
17:30
craigo has quit [Remote host closed the connection]
17:31
project10 has joined #osdev
17:36
xenos1984 has quit [Ping timeout: 252 seconds]
17:51
xenos1984 has joined #osdev
17:53
gog has quit [Quit: Konversation terminated!]
18:13
edr has quit [Quit: Leaving]
18:16
craigo has joined #osdev
18:36
gog has joined #osdev
19:13
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
19:24
heat_ has quit [Read error: Connection reset by peer]
19:24
heat_ has joined #osdev
20:58
Matt|home has quit [Quit: Leaving]
21:02
admiral_frost has joined #osdev
21:27
project10 has quit [Quit: Ping timeout (120 seconds)]
21:32
sbalmos has quit [Quit: WeeChat 4.0.5]
21:33
project10 has joined #osdev
21:36
gbowne1 has joined #osdev
21:39
gbowne1 has quit [Remote host closed the connection]
21:40
gbowne1 has joined #osdev
22:00
dza has quit [Quit: ]
22:01
dza has joined #osdev
22:17
heat_ has quit [Remote host closed the connection]
22:17
heat_ has joined #osdev
22:18
project10 has quit [Quit: Ping timeout (120 seconds)]
22:20
Burgundy has quit [Ping timeout: 255 seconds]
22:24
project10 has joined #osdev
22:30
gog has quit [Quit: byee]
22:39
[itchyjunk] has quit [Ping timeout: 260 seconds]
22:45
[itchyjunk] has joined #osdev
22:51
Turn_Left has quit [Read error: Connection reset by peer]
22:56
netbsduser`` has quit [Ping timeout: 252 seconds]
22:58
netbsduser`` has joined #osdev
23:02
MarchHare has joined #osdev
23:08
<
MarchHare >
I'd chitchat, but back to work on fixing this air compressor!
23:34
<
zid >
I've been doing nothing but play erectile dy^W^W elite dangerous cus someone gave me it on steam
23:37
<
heat_ >
its me linus torvalds
23:37
<
heat_ >
please send me pictures of your credit card
23:38
<
formerly-twitter >
HI LINUX WERE REVEW OF MY PATCHEN
23:41
<
heat_ >
formerly-twitter sir please your "patchen" request is pending a google play store giftcard
23:42
<
formerly-twitter >
MR LINUX CAN'T SEND PICTURE PLZ FIX WIFI
23:43
<
bslsk05 >
lore.kernel.org: [PATCH 1/2] vfs: predict the error in retry_estale as unlikely - Mateusz Guzik
23:44
<
heat_ >
what's with the openbsd-level commit msg
23:44
<
formerly-twitter >
OH
23:44
<
formerly-twitter >
FAK JU
23:45
<
formerly-twitter >
by tryin' to want more for this one you are pulling off a freebsd
23:45
<
formerly-twitter >
heat mctwat!!
23:46
<
heat_ >
i like pulling off a freebsd
23:46
<
heat_ >
do they know you're cheaeting on them with linus
23:47
<
formerly-twitter >
ey it's not wrong if they don't know
23:47
<
heat_ >
btw, answer to my struct user question: it seems that you ppl just moved everything to td->
23:47
<
heat_ >
which is fine, really
23:47
<
formerly-twitter >
and who did not
23:47
<
heat_ >
i could've sworn you still had extern struct user u;
23:48
<
formerly-twitter >
i would be surprised if fucking OPENBSD still had it
23:48
<
heat_ >
yeah i was curious if u. could be efficiently implementable through some trick
23:48
goliath has quit [Quit: SIGSEGV]
23:48
<
formerly-twitter >
that i doubt, but i also don't see why would you even try
23:48
<
heat_ >
because the mapping trick doesn't work on SMP
23:48
<
formerly-twitter >
given swapgs
23:48
<
heat_ >
oh, just for the funzies
23:49
<
heat_ >
i want to note that swapping struct user seems like a horrendous idea oh god oh god why
23:49
<
geist >
finally truly grokked how the cache coherency works with riscv and why you do or dont need to be coherent
23:49
<
geist >
its documented in plain sight in the sifive manuals, just not obvious
23:50
<
heat_ >
my shitnix is slowly coming along
23:50
<
heat_ >
it's
*so* refreshing to keep shit simple
23:50
<
heat_ >
like if (irq == 0) schedtick(); on an irq handler
23:50
<
heat_ >
no locks either
23:51
<
mcrod >
it's friday the 13th
23:51
<
heat_ >
no bud it's saturday the 14th
23:51
<
heat_ >
try again next time!
23:51
<
geist >
also thing i discoveered: C++s [[likely]] [[unlikely]] tags can be applied to switch statement cases
23:51
<
geist >
that's neat
23:51
<
geist >
or the else clause of an if statement
23:51
<
heat_ >
also in theory you can apply them on goto labels AFAIK
23:51
<
heat_ >
but clang does not yet support that
23:52
<
mcrod >
in a way i'm honestly surprised [[(un)likely]] became a thing
23:52
<
mcrod >
I get why, don't get me wrong
23:52
<
mcrod >
but it is a bit annoying when I hear "those attributes are no good, trust your compiler"
23:52
<
formerly-twitter >
lmao
23:52
<
heat_ >
those people have NOT used asm goto
23:52
<
geist >
someone rewrote our assert macro in the kernel to something like `if (thing) { } else [[unlikely]] { do the assert }`
23:53
<
geist >
reason being that now you can put fairly complicated statements in 'thing', ncluding alloctaing local variables, etc
23:53
<
heat_ >
why not if (!(thing)) [[unlikely]]?
23:53
<
geist >
because it doesn't have to be wrapped with !() or () == false or something
23:55
<
geist >
there was some other reason, i'm trying to remember now
23:55
<
bslsk05 >
fuchsia.googlesource.com: 4c6fcebae9b53573ac0daec2fc59455d415508ed - fuchsia - Git at Google
23:55
<
geist >
helps with some warnings
23:56
<
geist >
ie, ASSERT(foo = bar) wouldn't trigger the 'you probably meant ==' warning since it used to expand to if (!(foo = bar)), but with the new style it does
23:57
<
heat_ >
the commit message is wrong
23:57
<
formerly-twitter >
weird
23:57
<
heat_ >
the commit preserves likely/unlikely
23:57
<
geist >
well sure that was the point
23:58
<
geist >
but alas it can't be done in C because of the [[ ]] stuff
23:58
<
geist >
no, we're compiling with C++17
23:58
<
geist >
oh you mean C23, yeah
23:58
<
heat_ >
sure but C23 got [[]] I think
23:58
<
geist >
that'd be nice
23:58
<
heat_ >
but yeah i was talking about
23:58
<
zid >
yea c23 has those funky attributes
23:59
<
heat_ >
>It looks a bit odd, and it loses the `unlikely` annotation
23:59
nyah has quit [Quit: leaving]
23:59
* zid
sticks to his /* fallthrough */ comments
23:59
<
heat_ >
because it ends up not losing the unlikely
23:59
<
geist >
i'm not a gigantic fan of the [[]] stuff, but it beats a bunch of compiler specific builtins
23:59
<
heat_ >
i like it over if (likely(cond))