<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:11] <Amanda> ... don't some
bluetooth adapters also use something serial-like? So, bluetooth
lte modem is serial talking to serial talking to serial
tal....
L2[00:00:12] <dequbed> Yeah I think you told
me about taht
L3[00:00:25] <dequbed> Amanda stop.
L4[00:00:34] <dequbed> Bad kitty
L5[00:05:17] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@37.152.254.97) (Ping timeout: 204
seconds)
L6[00:06:35] * Amanda
decides MichiBot is wrong, she should use the rain box before it
gets too late and she forgets again
L7[00:08:37] ⇨
Joins: ThePiGuy24 (~ThePiGuy2@37.152.254.97)
L8[00:20:11] <Michiyo> %p
L9[00:20:12] <MichiBot> Ping reply from
Michiyo 0.58s
L10[00:31:11]
<Kodos>
%tonk
L11[00:31:12] <MichiBot> Wild! Kodos! You
beat Vaur's previous record of 8 hours, 35 minutes and 26 seconds
(By 42 minutes)! I hope you're happy!
L12[00:31:13] <MichiBot> Kodos's new record
is 9 hours, 17 minutes and 27 seconds! Kodos also gained 0.0063
(0.0007 x 9) tonk points for stealing the tonk. Position #3. Need
0.12088663 more points to pass Forecaster!
L13[00:31:39] <Amanda> %b
L14[00:31:57] <Amanda> Michiyo: %b should
be %p ran through %flip
L15[00:32:01] <MichiBot> Amanda:
(╯°□°)╯┻━┻
L16[00:32:30] <Amanda> %choose cubes or
greek mythos or something else
L17[00:32:30] <MichiBot> Amanda: I have a
pamphlet that says never to engage in "something else",
so you should definitely do it!
L18[00:33:18] <Amanda> %choose greek mythos
or observe puppers
L19[00:33:18] <MichiBot> Amanda: The sands
of time whisper to me... they're saying "greek
mythos".
L20[00:40:39] <dequbed> Amanda: When you
come back from Hades, will you bring me a croissant?
L21[01:01:05] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@37.152.254.97) (Remote host closed
the connection)
L22[01:01:36] <Amanda> dequbed: actually,
going to play Fenyx Rising, but got distracted
L23[01:02:33] ⇦
Quits: Vexaton (~Vexatos@port-92-192-125-5.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L24[01:11:03]
<i develop
things> %p
L25[01:11:04] <MichiBot> i develop things:
Sorry. You can't get your ping from over a bridge. You can ping irc
users by passing one or more as arguments.
L26[01:11:07]
<i develop
things> ah
L27[01:38:07] ⇦
Quits: t20kdc
(~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net)
(Remote host closed the connection)
L28[02:03:37]
<Kodos>
%sip
L29[02:03:37] <MichiBot> You drink a
simulated weather potion (New!). The potion contained a computer
virus! Kodos hears a maniacal laugh as their cursor flips upside
down!
L30[02:03:39] <Amanda> dequbed: Immortals:
Fenyx Rising summed up: zeus/prometheus bicker telling fenyx's
story. Fenyx: fangirling over "replicas" of greek gods
artifacts
L31[02:04:54]
<20kdc>
interesting quotation marks you have there
L32[02:05:02] <Amanda> At leasta at first.
I think I may have crashed it by getting a bonus to a power /
upgrade I've not received yet by veering off the rails to do a
chalange
L33[02:05:18]
<20kdc>
...they aren't just replicas, are they
L34[02:05:32] <Amanda> @20kdc it's heavily
implied not.
L35[02:06:07] <Amanda> S/not/that they're
not/
L36[02:06:43] <Amanda> But I'm still in the
tutorial, just taking a break for biological functions since I
crashed it
L37[02:33:41] ⇨
Joins: Atlasim (~Atlasim@24.53.56.207)
L38[02:35:00] ⇨
Joins: Grumpz (~Grumpz@71.37.243.176)
L39[02:35:00] ⇦
Quits: Grumpz (~Grumpz@71.37.243.176) (Client Quit)
L40[02:35:04] ⇦
Quits: Atlasim (~Atlasim@24.53.56.207) (Remote host closed the
connection)
L41[04:00:58] ⇨
Joins: ThePiGuy24 (~ThePiGuy2@37.152.254.97)
L42[04:55:17] ⇨
Joins: travisscottfan00 (webchat@101.180.150.136)
L43[05:03:18] ⇦
Quits: flappy (~flappy@88-113-153-45.elisa-laajakaista.fi) (Ping
timeout: 194 seconds)
L44[05:06:32] ⇦
Quits: travisscottfan00 (webchat@101.180.150.136) (Quit:
webchat.esper.net)
L45[05:12:36]
<Z0idberg>
So there's a light gun that works extremely fast now and on
lcds
L46[05:38:27] <Amanda> Oops I ended up just
watching YouTube for way too long
L47[05:38:41] *
Amanda tucks in around Elfi, zzzmews
L48[05:38:44] <Amanda> Night nerds
L49[05:42:02] ⇨
Joins: ghoul
(~ghoul@cpe-67-11-147-222.satx.res.rr.com)
L50[05:42:28] <ghoul> clear
L51[05:42:45]
<Ariri>
Console cleared.
L52[05:44:31] ⇦
Quits: ghoul (~ghoul@cpe-67-11-147-222.satx.res.rr.com) (Remote
host closed the connection)
L53[05:48:52]
<Ariri>
Disconnected()
L54[05:50:27]
<Forecaster> %sip
L55[05:50:28] <MichiBot> You drink a sour
copper potion (New!). Forecaster's nails turn the color of rubium
until Sozin's Comet returns.
L56[06:29:04]
<Kodos>
%sip
L57[06:29:05] <MichiBot> You drink a
simulated salmon potion (New!). Kodos turns into a purple crocodile
until they say the word "Swing".
L58[06:48:21]
<bad at
vijya> so
L59[06:48:29]
<bad at
vijya> smoke test passed
L60[06:54:26] ⇦
Quits: Thutmose (~Patrick@host-69-59-79-181.nctv.com) (Quit:
Leaving.)
L61[06:56:39]
<bad at
vijya> It boots
L62[07:00:38]
<Jewson> Is
there a way to check if EEPROM is read-only
L63[07:00:42]
<Jewson>
?
L64[07:05:06]
<ThePiGuy24> bad at vijya: or does it
:micheal:
L65[07:19:10]
<bad at
vijya> yes
L66[07:19:12]
<bad at
vijya> it does
L68[07:27:52]
<Saphire>
Awoo
L69[07:37:35]
<Ariri>
Awoo?
L70[07:41:31]
<bad at
vijya> got my soundblaster to work
L71[07:41:32]
<bad at
vijya> 🦀
L72[07:41:36]
<bad at
vijya> fuckin
L73[07:41:42]
<bad at
vijya> pulseaudio's sampling settings
L74[07:45:39] <CompanionCube> %loot
L75[07:45:39] <MichiBot> CompanionCube:
You get a loot box! It contains a baseball cap with the octan logo
on it. (Junk)
L76[07:45:48] <CompanionCube> yes that is
junk
L77[07:53:01]
<Saphire>
Like, original one?
L78[07:53:38]
<bad at
vijya> Audigy Rx
L79[07:54:23]
<Saphire>
crunch
L80[08:26:25]
<bad at
vijya> cronch
L81[08:29:45]
<richarde>
Hey, I've been looking for a program that makes a to do list for a
server i'm on with some friends, but can't find code for it
L82[08:30:17]
<richarde>
i havent found it, would anyone know of any programs that do that
or how i could make one?
L83[08:32:44]
<Forecaster> oh boy
L84[08:33:00]
<Forecaster> I made a todo list program
and put it on oppm
L85[08:34:24]
<richarde>
oh nice!
L86[08:34:28]
<richarde>
didnt know it was on oppm
L87[08:34:30]
<richarde>
thanks
L88[08:34:40]
<Forecaster> it's called OpenTODO I
think
L89[08:35:04]
<Forecaster> yeah
L91[08:59:49]
<richarde>
the control x doesnt work to exit
L92[08:59:54]
<richarde>
will it still save?
L93[09:00:18]
<Forecaster> probably not
L94[09:01:50]
<richarde>
i mean its not the end of the world i can just hide the computer so
no one turns it off
L95[09:10:15]
<Forecaster> oh
L96[09:10:25]
<Forecaster> @richarde it's not `ctrl +
x`
L97[09:10:32]
<Forecaster> it should say `ctrl +
c`
L98[09:10:43]
<Forecaster> it uses the interrupted
event
L99[09:30:54] ⇦
Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e58:3f00:420e:1c1e:b9a0:1e85)
(Remote host closed the connection)
L100[09:36:32]
<Forecaster> I fixed it
L101[09:37:34]
<richarde>
kk
L102[09:38:22]
<Forecaster> by which I mean I fixed the
text so it correctly says c instead of x
L103[09:50:15] ⇦
Quits: hnOsmium0001 (uid453710@id-453710.stonehaven.irccloud.com)
(Quit: Connection closed for inactivity)
L104[11:05:19]
⇨ Joins: a (~a@747393181.vpn.mgn.ru)
L105[11:05:49] ⇦
Quits: a (~a@747393181.vpn.mgn.ru) (Client Quit)
L106[11:38:27]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-125-5.dynamic.as20676.net)
L107[11:38:27]
zsh sets mode: +v on Vexatos
L108[11:41:15]
⇨ Joins: Victor_sueca
(~Victor_su@90.165.120.190)
L109[11:42:00] <dequbed> Amanda: Doesn't
sound like you get to go to hades then. Shame. They make
mouthwatering croissants there.
L110[12:02:24]
⇨ Joins: Inari
(~Pinkishu@p4fe7ee50.dip0.t-ipconnect.de)
L111[12:38:44]
⇨ Joins: t20kdc
(~20kdc@cpc139384-aztw33-2-0-cust220.18-1.cable.virginm.net)
L112[12:43:25]
<Kodos>
@tonkout
L113[12:43:31]
<Kodos>
%tonkout
L114[12:43:31] <MichiBot> Holy tiny packet
of packets Batman! Kodos! You beat your own previous record of 9
hours, 17 minutes and 27 seconds (By 2 hours, 54 minutes and 52
seconds)! I hope you're happy!
L115[12:43:32] <MichiBot> Kodos has
tonked out! Tonk has been reset! They gained 0.012 tonk points!
plus 0.022 bonus points for consecutive hours! Current score:
1.63150188, Position #3 Need 0.08688663 more points to pass
Forecaster!
L116[12:46:50]
<Jewson> I
literally can't find anything on this topic, I've seen people
displaying pixel art on monitors, how is it possible
L117[12:46:57]
<Jewson> I
literally can't find anything on this topic, I've seen people
displaying pixel art on monitors, how is it possible?
[Edited]
L118[12:47:13]
<Forecaster> braille characters
L119[12:47:23]
<Jewson>
Wait wat?
L120[12:47:26]
<Jewson>
Wait what? [Edited]
L121[12:47:37] <Izaya> braille or
half-block characters
L122[12:48:08] <Izaya> you can set
foreground and background colour, and braille gives you 8 square
"fields" in each character
L123[12:49:13]
<Jewson> So
it works a bit like those old gpus? where you could get in one
"square" only 2 colors
L124[12:49:20]
<Jewson>
correct
L125[12:49:26]
<Jewson>
correct? [Edited]
L126[12:51:02] <Izaya> right
L127[12:56:40]
⇨ Joins: ben_mkiv
(~ben_mkiv@2001:16b8:1e58:3f00:420e:1c1e:b9a0:1e85)
L128[13:06:48] ⇦
Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e58:3f00:420e:1c1e:b9a0:1e85)
(Killed (NickServ (GHOST command used by
ben_mkiv|afk!~ben_mkiv@200116b814c5e700a12e7b90abf486b6.dip.versatel-1u1.de)))
L129[13:06:52]
⇨ Joins: ben_mkiv|afk
(~ben_mkiv@200116b814c5e700a12e7b90abf486b6.dip.versatel-1u1.de)
L130[13:15:11] <Amanda> dequbed: you do
get to go to tartarus though
L131[13:17:43] <dequbed> Amanda:
Kinky
L132[13:17:54] <dequbed> Wait. I misread
that.
L134[13:26:51]
<Forecaster> Well you certainly don't want
to accidentally soften your engine
L135[13:37:30]
<pauliunas>
does anyone have an app that can download an entire code repository
from github?
L136[13:42:02]
<Forecaster> I think Izaya had something
like that maybe
L137[13:42:12] <Izaya> not me
L138[13:42:25]
<Forecaster> hm, dunno who it was
then
L139[13:42:25] <Izaya> though I think
there was something along those lines on oppm
L140[13:52:29] <ben_mkiv|afk> you are
aware that GIT literary offers a "download as zip"
button?
L141[13:52:50] <Izaya> github*
L142[13:52:57] <Izaya> do they do .tar.gz
downloads yet?
L143[13:53:25] <ben_mkiv|afk> no, maybe
the http request uses gzip compression :P
L144[13:57:47] <Amanda> Elfi~ Inari's
trying to feed me salmonella! D:
L145[13:58:16] <dequbed> Izaya:
Technically they do but there's no button for it.
L146[13:58:34] <dequbed> It's
//archive/<branch>.tar.gz instead of .zip
L147[14:00:48]
<pauliunas>
sure, now make my OC robot click that button and extract it
L148[14:01:23]
<pauliunas>
ben_mkiv|afk: sure, now make my OC robot click that button and
extract it [Edited]
L149[14:02:18] <Amanda> is there even an
unzip tool for OpenOS?
L150[14:03:07]
<pauliunas>
exactly my point lol
L151[14:03:51]
<pauliunas>
however, github has a REST API that could be used to download files
one by one
L152[14:04:57]
<ThePiGuy24> ive never looked into zip
archives, but since it hasnt been done already, im guessing there
is a reason
L153[14:06:23]
<pauliunas>
uh, you got it wrong
L154[14:06:29]
<pauliunas>
I don't want to extract a zip archive
L155[14:06:46]
<pauliunas>
I just want to download a github repository, and there is an easier
way to do that without dealing with compression at all
L158[14:07:37] <ben_mkiv|afk> im pretty
sure that a git downloader for oc existed somewhere at some
point
L159[14:07:38] <Amanda> gitrepo by
gopher
L160[14:07:48]
<pauliunas>
if you look at the first answer, it has enough information to get
individual files with their URLs
L161[14:08:07]
<pauliunas>
oh thanks Amanda! 😛
L162[14:19:00] <Inari> Amanda: semolina,
not samonella
L163[14:19:01] <Inari> <.<
L164[14:19:27] <Elfi> Time to port git to
lua
L165[14:19:56] <Amanda> Elfi: last time I
looked, a lot of the data structures of it were basically writing C
structs to disk
L166[14:20:10] <Amanda> like, straight
from memory
L167[14:23:03] <Inari> Makes sense
L168[14:23:16] <Inari> Means you don't
have to specify a binary format, just use that of your stuct
:p
L169[14:26:39]
<pauliunas>
well that's how binary formats are designed... unless you want to
compress something
L170[14:26:58] <Inari> Sorta
L171[14:27:25]
⇨ Joins: Atlasim (~Atlasim@24.53.56.207)
L172[14:34:15] <Amanda> %choose cubes or
grece
L173[14:34:16] <MichiBot> Amanda: Eeny,
meeny, miny, cubes.
L174[14:43:16] <dequbed> @pauliunas no,
pretty far from it. "C ABI serialized straigt to disk" is
the utmost exception for binary formats.
L175[14:43:26] <dequbed> Amanda: Anyway,
have you done Tartarus yet?
L176[14:43:49]
<pauliunas>
dequbed, well how do you normally define them then?
L177[14:44:12] <dequbed> ... in
writing?
L178[14:46:52] <dequbed> Like you write
down the way bits are stored and what metadata is placed where.
Generally you do that in writing. Noting down like the overall
structure, bit-offsets, metadata fields, field sizes etc.
L179[14:47:55] <Amanda> dequbed: I believe
the "shrines" equivalents are meant to take place in
Tartarus
L180[14:48:17] <dequbed> @pauliunas In
most cases that you find out there every information is explicit
because you can assume just about nothing when caring about
interexchangeability. Most binary formats write out the size of a
bool.
L182[14:49:17]
<pauliunas>
oh, I meant the implementation, not documentation
L183[14:50:01] <dequbed> Amanda: No, I
misread your initial message as "You get to do Tartarus
though" which completely made sense since Tartarus is often
personified more than used as "place". The latter came
with the Bible. :P
L184[14:50:12] <Amanda> The c abi is
different between OSes, architectures, even gcc versions
L185[14:50:15]
<pauliunas>
and writing out the size of a bool doesn't make sense, since then
you need to know the size of an integer lol
L186[14:50:29] <dequbed> No you
don't?
L187[14:50:44]
<pauliunas>
well you do need to "write it out" somehow
L188[14:50:49]
<pauliunas>
so you need to know where it ends
L189[14:50:51] <Amanda> Most binary
formats aren't portable straight to a c struct
L190[14:50:55] <dequbed> "The size
field is 4 octets long"
L191[14:51:13]
<pauliunas>
again, I'm talking about the implementation
L192[14:51:16] <dequbed> "The size
field is a varint of 7 bits per octet, the highest bit indicating
the final bit"
L193[14:51:37] <dequbed> You don't need to
"know the size of an integer" You just need to define how
to read sizes.
L194[14:51:46] <Amanda> Even flatbuffers
or whatever that api was google made doesn't use straight memory
structs dumped to disk, just something that can be portablynand
easily converted to that
L195[14:51:48]
<pauliunas>
and that defines your "size" size
L196[14:51:53]
<pauliunas>
your size is an integer
L197[14:52:11]
<pauliunas>
if you know how to read the "size", you know how to read
an integer
L198[14:52:16] <Amanda> No
L199[14:52:17]
<pauliunas>
because your "size" is an integer
L200[14:52:24] <Amanda> No it's not
L201[14:52:32] <Amanda> It's. A
size_t
L202[14:52:34]
<pauliunas>
then what is it? a float?
L203[14:52:41]
<pauliunas>
yes that is an integer
L204[14:53:09]
<pauliunas>
size_t, int, long, they're just integers with different
lengths
L205[14:53:11] <Amanda> That's like saying
strings are just integers, technically correct, but semantically
useless
L206[14:53:20]
<pauliunas>
no that wouldn't be correct
L207[14:53:28] <dequbed> Amanda: Of all
binary formats I know out there flatbuffers and cap'n proto come
closest to "dumping C structs to disk". They are
generally doing to least amount possible and prefer to instead
define the ABI they assume (since some 99% of CPUs are
x86-esque)
L208[14:53:33]
<pauliunas>
a string is never parsed as an integer
L209[14:54:08]
<pauliunas>
anyway my point is you need to know at least some predefined
sizes/lengths to ever start defining a format
L210[14:54:26] <Amanda> Usually that
ore-defined size is a byte, 8 bits
L211[14:54:27] <dequbed> Not really. You
can define the lengths just as much.
L212[14:54:36]
<pauliunas>
with what?
L213[14:54:43] <dequbed> the number of
bits.
L214[14:54:51]
<pauliunas>
and how do you write that number?
L215[14:54:55]
<pauliunas>
in a byte
L216[14:54:56]
<pauliunas>
or two bytes
L217[14:54:58]
<pauliunas>
or whatever you decide
L218[14:55:01]
<pauliunas>
THAT part is predefined
L219[14:55:27]
<ThePiGuy24> to read and int (32 bit), you
read 4 bytes, to write said int, you write 4 bytes
L220[14:55:48] <Amanda> Everything's
settled in 8-bit bytes I believe, so using a variable-width int is
perfectly qcceptible
L221[14:55:49] <dequbed> You are confusing
implementation and definition while (trying to) chass us for
confused implementation and definition. Great job there
@pauliunas.
L222[14:56:04]
<pauliunas>
I told you trice
L223[14:56:09]
<pauliunas>
i am ONLY talking about IMPLEMENTATION
L224[14:56:17]
<pauliunas>
not confusing anything with anything
L225[14:56:21] <dequbed> Yet you just said
you need X to /define/ a format.
L226[14:56:25] <Amanda> Implementation is
useless without definition
L227[14:56:41]
<pauliunas>
well, a reference implementation can act as a definition
L228[14:56:52] <dequbed> You need nothing
to /define/ a format. You need exactly the definition to
/implement/ a format.
L229[14:56:55] <Amanda> That's still a
definition
L230[14:57:06]
<pauliunas>
and an implementation
L231[14:57:16] <Amanda> See: asie's
recreation of zzt
L232[14:57:42]
<pauliunas>
so, my point is, C ABI is totally valid as a reference
implementation (definition) as long as you use portable types
L233[14:57:54] <Amanda> He recreated a
lost software source by brute forcing implementing it until it was
the same binary output
L234[14:58:11] <Amanda> Portable types
aren't defined in the c abi
L235[14:58:13] <dequbed> @pauliunas you
assume the C ABI is stable or portable. I can assure you, it is
not.
L236[14:58:28] <Amanda> Is an int 4 or 8
bytes? Depends on the qbi
L237[14:58:45] <dequbed> Amanda: Well for
that particular point you *do* have uint32_t and uint64_t
L238[14:58:55]
<pauliunas>
then don't use `int`, use `uint32_t` or whatever it's called
L239[14:59:04] <dequbed> stdint.h, even
get it in freestanding.
L240[14:59:10] <Amanda> Oh, I thought
those were c++ extensions
L241[14:59:11]
<pauliunas>
that's what I meant when I said use "portable"
types
L242[14:59:21] <dequbed> @pauliunas yes
but struct {} is not and will never be defined, stable or
portable.
L243[14:59:30] <dequbed> Amanda: Nah they
are C99 or C89
L244[14:59:38]
<pauliunas>
struct{} is exactly zero bytes lol
L245[14:59:43] <dequbed> Nope.
L246[14:59:54]
<pauliunas>
then what is it?
L247[14:59:55] *
dequbed has read EN ISO 9899
L248[15:00:06] *
dequbed can assure you that struct {} is not 0 byts.
L249[15:00:15]
<pauliunas>
dafuq is that?
L250[15:00:23] <dequbed> Not /necessarily/
at least.
L251[15:00:35] <dequbed> @pauliunas The C
language spec.
L252[15:00:39] <Amanda> What was that one
site that let you run the same code tough several compilers? That
might be a good way to demonstrate it.
L253[15:00:43] <dequbed> Ah sorry ISO/IEC
not EN ISO my bad
L254[15:00:49] <dequbed> Amanda:
godbolt
L255[15:00:54]
<pauliunas>
uh
L256[15:00:58]
<pauliunas>
so what else can it be?
L257[15:01:02] <dequbed> Anything
L258[15:01:06]
<pauliunas>
lmao
L259[15:01:20]
<pauliunas>
well, if an EMPTY struct is not actually empty, screw that
implementation and hang whoever came up with it
L260[15:01:23] <dequbed> It's
implementation defined how you define structs. With some caveats of
course
L261[15:01:29] <Amanda> C does not define
what structs like like in memory
L262[15:01:42] <Amanda> Look like
L263[15:01:49] <dequbed> @pauliunas that
is genuinely the most asshole thing you said so far. Fuck
off.
L264[15:02:35]
<pauliunas>
lol thanks
L265[15:02:37]
<pauliunas>
no, seriously
L266[15:02:38] <Amanda> It's not
nessarially just a linear series of bytes of the fields. They can
be padded, to optimize the lookup of them
L267[15:02:44]
<pauliunas>
if anyone came up with such ridiculous implementation
L268[15:02:47]
<pauliunas>
hang that guy
L269[15:02:59] <Amanda> I'm not sure if
they can be as far as rearranged
L270[15:03:16] <dequbed> Amanda: Padded,
ripped apart, whatever makes it good on the hardware. Only
requirement is that later in def means higher* in memory
L271[15:03:22] <dequbed> *whatever higher
means on your hardware
L272[15:03:25]
<pauliunas>
most C code I've seen heavily relies on having the padding exactly
as defined in the struct
L273[15:03:35]
<ThePiGuy24> how would one define
something that takes up no space in memory?
L274[15:03:51] <Amanda> You could combine
several bools into one int, instead of several, possibly padded,
bytes
L275[15:04:02] <Amanda> (I assume)
L276[15:04:08] <dequbed> Amanda: In C?
Yes, sorta.
L277[15:04:11]
<pauliunas>
so if you make a struct with two 32bit integers, just take the
pointer to it, add `sizeof uint32_t` and you should get your second
integer, just as an example
L278[15:04:27] <Amanda> Okay
L279[15:05:05] <Amanda> What about on
x86_64, where it's more preformant to look up on multiples of
8?
L280[15:05:38] <Amanda> C let's compilers
insert padding there to optimize it
L281[15:05:57] <Amanda> Then
sizeof(struct) is 16 not 8
L282[15:08:47] <Amanda> C is low-level
sure, but it's not nearly as low level as you're implying.
Compilers have a lot of wiggle room to do optimisations like
that
L283[15:09:09] <Amanda> And it's also not
nearly as portable as you're implying, not if you're relying on ABI
specifics like that
L284[15:09:20] <dequbed> Amanda: So
structs in ISO/IEC 9899 are section 6.7.2.1 and packing bools is
always explicitly okay if the programmer used as bit-field by
constraint 4 / footnote 125 but it's not explicitly allowed for not
bit-field bools. If your implementation does it well it's okay but
you need to be careful.
L285[15:09:49] <dequbed> Yes I had to look
the specifics up
L286[15:15:42] <Amanda> dequbed:
appologies for the nerd-snipe,then. :3
L287[15:16:17] <dequbed> Amanda: Eh I
wanted to know regardless since C++ has a special exception for
Vec<bool> to be packed %actualshrug
L288[15:16:19] <MichiBot> dequbed:
¯\_(ツ)_/¯
L289[15:18:57] <dequbed> @pauliunas
Anyway. Code like that is bad and you should feel bad if you ever
write such code.
L290[15:19:24] <dequbed> ... Scratch that.
Code like that keeps me gainfully employed with a very large
salary. It's still very bad code.
L291[15:23:59] <dequbed> @pauliunas Do you
want "Our code only compiles using this 15-year old compiler
from a long defunct company :("? Because that is how you get
"Our code only compiles using this 15-year old compiler from a
long defunct company :(".
L292[15:24:17] <dequbed> Well at this
point I'd be 25-year old compiler.
L293[15:24:25]
<pauliunas>
lol
L294[15:24:58]
<pauliunas>
nah you just don't rely on anything specific to one compiler and
regularly test it with other compilers
L295[15:25:15] <dequbed> AHAHAHAHAHAHA oh
my sweet summer child!
L296[15:25:26]
<pauliunas>
can you be less of an ass?
L297[15:25:52]
<Kristopher38> Amanda: but have you seen
recreating source of software running for an apollo guidance
computer on a spacecraft that is flying somewhere far in space?
:P
L298[15:25:53]
<pauliunas>
I don't need your toxicity
L299[15:26:39] <dequbed> No. Also, have
you *seen* corporate code? And not relying on compiler specific
bugs isn't much of an option.
L300[15:26:49] <dequbed>
s/bugs/"features"
L301[15:26:51] <MichiBot> <dequbed>
No. Also, have you *seen* corporate code? And not relying on
compiler specific "features" isn't much of an
option.
L303[15:27:19] <MichiBot>
Recovering
the Lost Apollo 10 LM Software | length:
22m 29s |
Likes:
2,972 Dislikes:
21 Views:
46,451 | by
CuriousMarc
| Published On 7/6/2020
L304[15:37:42] ⇦
Quits: Atlasim (~Atlasim@24.53.56.207) (Remote host closed the
connection)
L305[15:43:42] <dequbed> Amanda: I was
debating doing a true chaotic neutral move and give a workshop
about how to write the worst possible C code that technically
works.
L306[15:43:47] <dequbed> Interested?
:P
L307[15:44:28] <Amanda> dequbed: seems
like a very bad idea, cause you know someone's going to take a
picture of a slide or bit of code, and it'll end up in someone's
feed as a good idea
L308[15:44:46] <dequbed> Remeber: Chaotic
Neutral.
L309[15:47:12] <dequbed> Amanda: But yeah,
that's a risk. If I title it "How to make your maintenance
engineer quit" and have that title on every slide, would that
help?
L310[15:47:33] <Amanda> :P
L311[15:49:01] <dequbed> "The Chaotic
Neutral software talk - or - How to make your maintenance engineer
quit" sound suprisingly good }:D
L312[15:53:49] <dequbed> Izaya: Also
completely unrelated but that is a thing that Go does *really*
well: Making it hard to write worse code than standard Go. Which is
quite the achievement.
L313[16:09:49]
<Forecaster> %tonk
L314[16:09:49] <MichiBot> Swell!
Forecaster! You beat Kodos's previous record of <0 (By 3
hours, 26 minutes and 18 seconds)! I hope you're happy!
L315[16:09:50] <MichiBot> Forecaster's new
record is 3 hours, 26 minutes and 18 seconds! Forecaster also
gained 0.00344 tonk points for stealing the tonk. Position #2. Need
0.12095141 more points to pass CompanionCube!
L316[16:24:13] <Amanda> %choose observe
puppers or greece
L317[16:24:13] <MichiBot> Amanda: If I've
learned anything in life it's that you always pick "observe
puppers"
L318[16:24:32] <Amanda> %choose br or
lr
L319[16:24:32] <MichiBot> Amanda: If I've
learned anything in life it's that you always pick
"lr"
L320[16:24:44] *
Amanda eyes MichiBot suspiciously
L321[16:26:06] *
dequbed boops Amanda
L322[16:26:49] *
Amanda sneezes
L323[16:27:13] <dequbed> naw
L324[16:59:12] ⇦
Quits: ben_mkiv|afk
(~ben_mkiv@200116b814c5e700a12e7b90abf486b6.dip.versatel-1u1.de)
(Remote host closed the connection)
L325[17:09:48] ⇦
Quits: grant1mul (~Grant@141.156.234.79) (Ping timeout: 198
seconds)
L326[17:13:51]
⇨ Joins: Thutmose
(~Patrick@host-69-59-79-181.nctv.com)
L327[17:45:02]
⇨ Joins: opencomputers
(~opencompu@194.125.251.26)
L328[17:45:53] ⇦
Quits: opencomputers (~opencompu@194.125.251.26) (Client
Quit)
L329[17:56:36]
⇨ Joins: TPG24 (~ThePiGuy2@37.152.254.97)
L330[17:57:25] <Izaya> RIP the box fan
I've been beating until it works for several years now
L331[17:58:20] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@37.152.254.97) (Ping timeout: 189
seconds)
L332[18:00:33]
⇨ Joins: opencomputers
(~opencompu@194.125.251.26)
L333[18:12:35] ⇦
Quits: opencomputers (~opencompu@194.125.251.26) (Quit:
opencomputers)
L334[18:13:00] ***
TPG24 is now known as ThePiGuy24
L336[18:42:35]
<Forecaster> heh
L337[18:43:52]
<ThePiGuy24> Damnit prometheus stop doing
drugs
L338[18:46:05]
⇨ Joins: opencomputers
(~opencompu@194.125.251.26)
L339[18:46:19] <opencomputers> Anyone
alive?
L340[18:46:24] <Izaya> nope
L341[18:46:31] <ThePiGuy24> nah sorry im
dead
L342[18:46:35]
<Forecaster> what's
"alive"?
L343[18:47:00] <Izaya> dequbed: threw this
together out of what I had laying around and it has 870m/s of dV
left once I hit LKO
https://w1r3.net/ZaUtec.jpg
L344[18:47:02] <Izaya> kinda mad
L345[18:47:04] <opencomputers> Just had a
heart attack and died. I guess this is "heaven"
then.
L346[18:47:18] <Amanda> just us undead
here
L347[18:47:32]
<Forecaster> or elaborate
simulations
L348[18:47:50] ⇦
Quits: opencomputers (~opencompu@194.125.251.26) (Client
Quit)
L349[18:48:06] <ThePiGuy24> rip they got
revived
L350[18:48:39] <Izaya> pretty sure this
engine is meant for booster duty but it has such a high TWR that
it's wonderful for my upper stage
L351[18:50:31]
⇨ Joins: flappy
(~flappy@88-113-153-45.elisa-laajakaista.fi)
L352[19:01:08]
⇨ Joins: Vexaton
(~Vexatos@port-92-192-127-25.dynamic.as20676.net)
L353[19:01:08]
zsh sets mode: +v on Vexaton
L354[19:04:01] ⇦
Quits: Vexatos (~Vexatos@port-92-192-125-5.dynamic.as20676.net)
(Ping timeout: 204 seconds)
L355[19:12:16] ***
Vexaton is now known as Vexatos
L356[19:13:34] <dequbed> Izaya: TWR
doesn't matter for upper stages though?
L357[19:14:03] <Izaya> it's super light
though
L358[19:14:21] <dequbed> Just means you
can put a smaller engine on it and get even more dV to LKO
L359[19:14:58] <dequbed> My 20t launcher
has <0.3 TWR on the circularization stage
L360[19:42:09] <Amanda> You nerds with
your dV and your TWRs, I just point the explody end at the ground
and pray
L361[19:43:15] <Amanda> %choose run
away?
L362[19:43:15] <MichiBot> Amanda: Why
would you do that when you could do something else instead?
L363[19:43:27] <Amanda> Run away, the
dishwasher's annoying
L364[19:43:44] *
dequbed points the explody end at Amanda
L365[19:43:51] <Amanda> D:
L366[19:43:54] <Amanda> Rude!
L367[19:44:15] <dequbed> Get of of my
~~lawn~~ launchpad! D:
L368[19:45:47] <Amanda> but Inari said
there'd be warms there! D:
L369[19:47:41] <dequbed> Well yes /we
launch rockets here/
L370[19:48:48] <Amanda> I don't see what
that has to do with warms!
L371[19:49:44] <dequbed> It'll be warm
when we do, it may just smolder your fur a bit.
L372[19:55:16]
⇨ Joins: hnOsmium0001
(uid453710@id-453710.stonehaven.irccloud.com)
L373[20:10:34]
<Forecaster> %sip
L374[20:10:35] <MichiBot> You drink a
gloomy blue potion (New!). The potion contained a computer virus!
It changed Forecaster's theme to one they don't like!
L375[20:10:42]
<Forecaster> D:
L376[20:11:07]
<Forecaster> %tonkout
L377[20:11:07] <MichiBot> Yay!
Forecaster! You beat your own previous record of 3 hours, 26
minutes and 18 seconds (By 34 minutes and 59 seconds)! I hope
you're happy!
L378[20:11:08] <MichiBot> Forecaster has
tonked out! Tonk has been reset! They gained 0.004 tonk points!
plus 0.006 bonus points for consecutive hours! Current score:
1.7318285, Position #2 Need 0.11095141 more points to pass
CompanionCube!
L379[20:29:13] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@37.152.254.97) (Remote host closed
the connection)
L380[20:31:14]
⇨ Joins: ThePiGuy24 (~ThePiGuy2@37.152.254.97)
L381[20:49:35] *
Amanda boops Inari, demands snacks before dinner
L382[21:16:24] ⇦
Quits: Vexatos (~Vexatos@port-92-192-127-25.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L383[21:16:34]
⇨ Joins: Vexatos
(~Vexatos@port-92-192-127-25.dynamic.as20676.net)
L384[21:16:34]
zsh sets mode: +v on Vexatos
L385[21:56:32]
<Kodos>
%tonk
L386[21:56:33] <MichiBot> Wow! Kodos! You
beat Forecaster's previous record of <0 (By 1 hour, 45 minutes
and 25 seconds)! I hope you're happy!
L387[21:56:34] <MichiBot> Kodos's new
record is 1 hour, 45 minutes and 25 seconds! Kodos also gained
0.00176 tonk points for stealing the tonk. Position #3. Need
0.09856663 more points to pass Forecaster!
L388[22:01:30] ⇦
Quits: Crystal|AFK (crystal@eris.the.sexiest.cat) (Read error:
Connection reset by peer)
L389[22:01:30] ⇦
Quits: Away_21 (crystal@bronyville.me) (Read error: Connection
reset by peer)
L390[22:01:50]
⇨ Joins: Crystal|AFK
(crystal@eris.the.sexiest.cat)
L391[22:03:20]
⇨ Joins: Away_21 (crystal@bronyville.me)
L392[22:22:48] <Amanda> Izaya: "I
guess hoping nothing would happen was too much to ask for" --
ofc, you realise this is the pen-ultimate episode of the series,
right?
L393[22:54:25] <Amanda> %p
L394[22:54:26] <MichiBot> Ping reply from
Amanda 0.64s
L395[22:54:32] <Amanda> Damn,IRC sure is
dead tonight
L396[22:55:25] <ThePiGuy24> egg for egg
purposes
L397[23:07:04] ⇦
Quits: Crystal|AFK (crystal@eris.the.sexiest.cat) (Read error:
Connection reset by peer)
L398[23:07:27]
⇨ Joins: Crystal|AFK
(crystal@eris.the.sexiest.cat)
L399[23:07:51] ⇦
Quits: Away_21 (crystal@bronyville.me) (Ping timeout: 204
seconds)
L400[23:08:58]
⇨ Joins: Away_21 (crystal@bronyville.me)
L401[23:10:23] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@37.152.254.97) (Ping timeout: 204
seconds)
L402[23:16:47]
⇨ Joins: ThePiGuy24 (~ThePiGuy2@37.152.254.97)