<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:13:24] ⇦
Quits: Vexatos (~Vexatos@port-92-192-131-75.dynamic.as20676.net)
(Quit: Insert quantum chemistry joke here)
L2[00:34:31]
<Compu> is
there a good library for storing a database into a file?
L3[00:34:42]
<Compu>
something like sqlite but light enought for OC?
L4[00:40:46]
<Saghetti>
%tonk
L5[00:40:48] <MichiBot> Potzblitz!
Saghetti! You beat Forecaster's previous record of <0 (By 3
hours, 4 minutes and 34 seconds)! I hope you're happy!
L6[00:40:49] <MichiBot> Saghetti's new
record is 3 hours, 4 minutes and 34 seconds! Saghetti also gained
0.00308 tonk points for stealing the tonk. Position #10. Need
0.0519028 more points to pass ThePiGuy24!
L7[00:41:14]
<Saghetti>
@Compu: what's your use case?
L8[00:45:41]
<Compu>
>Saghetti: <@!208512715008770048>: what's your u…
L9[00:45:41]
<Compu> i'm
making a sign up sheet app that i want to store the entries in a
database file, there will be a fileserver running on the same
computer so other computers can access the same file
L10[00:46:16]
<Saghetti>
i wouldn't try to do concurrent access
L11[00:46:29]
<Saghetti>
using a shared file
L12[00:46:42]
<Saghetti>
think about what happens if 2 computers write to the file at the
same time
L13[00:47:02]
<Compu>
well the sign up sheet would only access the file once an entry is
complete, which is going to be extremely rare
L14[00:47:04]
<Neuro> you
can code your own lock system, it's not that hard
L15[00:47:28]
<Compu> i
don't think concurrent access will be a big deal
L16[00:47:35]
<Saghetti>
there's still better ways to do this though
L17[00:47:40] ⇨
Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-127-228.as13285.net)
L18[00:48:00]
<Saghetti>
the way i would approach this is to roll a very basic db
L19[00:48:04]
<Saghetti>
(just a table)
L20[00:48:21] ⇦
Quits: TPG24 (~ThePiGuy2@host-92-31-110-4.as13285.net) (Ping
timeout: 189 seconds)
L21[00:48:26]
<Compu> how
do i convert between table and file?
L22[00:48:28]
<Saghetti>
you can serialize/deserialize a table to/from a file using api
calls
L23[00:48:30]
<Saghetti>
1 sec
L24[00:48:52]
<Saghetti>
~ocdoc serialization
L25[00:49:06]
<Saghetti>
~w serialization
L26[00:49:09]
<Saghetti>
forgot the command
L27[00:49:10]
<Compu> if
this was python i'd use pickle
L29[00:49:34]
<Saghetti>
pass in a value and it spits out a string
L30[00:49:39]
<Saghetti>
pass in a string and it spits out a value
L31[00:50:11]
<Compu>
what is cycles in tables?
L32[00:50:26]
<Saghetti>
when a table references itself
L34[00:50:43]
<Saghetti>
this is a cycle
L35[00:50:43]
<Compu> ah
so probably not a problem here
L36[00:50:54]
<Saghetti>
yeah
L37[00:51:20]
<Saghetti>
what i'd do then is make a really basic api to modify your table
over the network
L38[00:51:52]
<Compu>
well the current fileserver client only supports downloading to a
local file and uploading from a local file
L39[00:52:00]
<Saghetti>
what are you using
L40[00:52:19]
<Saghetti>
for the fileserver
L42[00:52:37]
<Compu>
they been modifying it for what i need
L43[00:52:48]
<Compu> cuz
they really really want me to use it and GERT
L44[00:53:04]
<Compu> i
was originally planning on using minitel and frequest
L45[00:53:44]
<Saghetti>
gert might be overkill for this
L46[00:53:51]
<Saghetti>
your computers are just connected to eachother with cables
L47[00:53:53]
<Saghetti>
right?
L48[00:55:30]
<Compu>
no
L49[00:55:38]
<Saghetti>
wireless modems?
L50[00:55:48]
<Compu> uh
it's somewhat complicated
L51[00:55:53]
<Compu>
basically i built a programming school
L52[00:56:17]
<Compu>
there's a computer lab with 6 tier 2 computers with wired network
cards
L53[00:57:09]
<Compu>
these network cards go to relays, 3 computers each, which then goes
to 2 of the 3 network cards i have on a server in a network closet
running GERT's MNC server
L54[00:57:18]
<Compu> the
server also has a wireless card
L55[00:57:30]
<Compu> and
the rest of the computers in the school have wireless cards
L56[00:57:45]
<Compu>
GERT allows all of these computers to interconnect
L57[00:58:04]
<Compu> so
one of the wireless computers can reach the computer lab computers,
for example
L58[00:58:21]
<Compu> i
originall was using minitel but had problems
L59[00:58:30]
<Compu>
someone DMed trying to get me to switch to GERT
L60[00:58:58]
<Compu> in
the process of switch we found the problem (the rack's network
switch was enabled), but by then all the computers had been
switched over to GERT
L61[00:59:11] <Izaya> sunk cost fallacy's a
bitch
L62[00:59:21]
<Compu> oh
not at all
L63[00:59:25]
<Compu> i
could switch back
L64[00:59:36]
<Compu> but
the devs of GERT r basically begging me to use it
L65[01:00:02]
<Compu> i
literally have a script that would only require slight modification
but would handle all the work of switching back for me
L66[01:00:10]
<Compu>
since i kept all the config files in place
L67[01:00:55]
<Compu> and
the devs here have put enough work in because of my feature
requests i don't really want all their work to be for nothing
L68[01:01:05]
<Compu> and
the devs of GERT have put enough work in because of my feature
requests i don't really want all their work to be for nothing
[Edited]
L69[01:01:24] <Izaya> some real-world use
would be good for it, I suppose
L70[01:01:37]
<Compu>
ye
L71[01:16:57] ⇨
Joins: MajGenRelativity (~MajGenRel@185.187.243.143)
L72[01:51:37]
<lunar_sam>
man
L73[01:51:44]
<lunar_sam>
i should beg people to use tsukinet once it works
L74[01:51:56]
<lunar_sam>
also i should write an IRX for it so i can have TN on the PS2
L77[02:24:04] ⇦
Quits: MajGenRelativity (~MajGenRel@185.187.243.143) (Quit:
Leaving)
L78[02:33:44] ⇨
Joins: Hawk777
(~chead@2607:c000:8274:b100:cdca:bac8:814c:86ad)
L80[03:56:16] <MichiBot> Amanda: Invalid
arguments. %remind Time:string Message:string
L83[03:57:44] *
Amanda curls up around elfi, hopes she can actually get to sleep
without having to pass out, attempts to zzzmew
L84[05:25:45]
<Forecaster> %tonk
L85[05:25:46] <MichiBot> Consarn it!
Forecaster! You beat Saghetti's previous record of 3 hours, 4
minutes and 34 seconds (By 1 hour, 40 minutes and 23 seconds)! I
hope you're happy!
L86[05:25:47] <MichiBot> Forecaster's new
record is 4 hours, 44 minutes and 58 seconds! Forecaster also
gained 0.00668 (0.00167 x 4) tonk points for stealing the tonk.
Position #2. Need 0.43050254 more points to pass Vaur!
L87[05:52:11] ⇦
Quits: flappy (~flappy@91-154-0-54.elisa-laajakaista.fi) (Ping
timeout: 189 seconds)
L88[07:49:16] ⇨
Joins: Vexatos
(~Vexatos@port-92-192-131-75.dynamic.as20676.net)
L89[07:49:16] zsh
sets mode: +v on Vexatos
L90[08:10:11] ⇨
Joins: ben_mkiv
(~ben_mkiv@2001:16b8:1e37:3e00:fe34:97ff:fea9:75f2)
L91[08:25:43] ⇦
Quits: Hawk777 (~chead@2607:c000:8274:b100:cdca:bac8:814c:86ad)
(Quit: Leaving.)
L92[10:12:10]
<Kristopher38> Izaya: damn, good roast
🔥
L93[10:12:32] <Izaya>
I was trying to be
nice
L94[10:12:41] <Izaya> I take it it didn't
work >.>
L95[10:30:26]
<Ashirg>
%sip
L96[10:30:27] <MichiBot> You drink a rather
rainbow potion (New!). Ashirg's eyes glow cyan until someone stops
looking at them.
L97[10:38:28] ⇦
Quits: feldim2425
(~feldim242@dynamic-2jhq9r49taisl92s7v-pd01.res.v6.highway.a1.net)
(Quit: ZNC 1.8.x-git-91-b00cc309 - https://znc.in)
L98[10:38:38] ⇨
Joins: feldim2425
(~feldim242@dynamic-2jhq9pouv6udpzt2t5-pd01.res.v6.highway.a1.net)
L99[11:12:44] ⇨
Joins: MajGenRelativity (~MajGenRel@185.187.243.141)
L101[13:47:49]
<Forecaster> Ashirg you have to stop
looking at your own eyes too
L102[13:50:32]
<Ashirg> Oh
fuck
L103[13:50:34]
<Ashirg>
How do I do that
L104[13:51:04]
<Vaur>
%tonk
L105[13:51:05] <MichiBot> Wow! Vaur! You
beat Forecaster's previous record of 4 hours, 44 minutes and 58
seconds (By 3 hours, 40 minutes and 20 seconds)! I hope you're
happy!
L106[13:51:06] <MichiBot> Vaur's new
record is 8 hours, 25 minutes and 19 seconds! Vaur also gained
0.01835 (0.00367 x 5) tonk points for stealing the tonk. Position
#1.
L108[14:21:16]
<Ashirg>
%sip
L109[14:21:16] <MichiBot> You drink a
resonating dilithium potion (New!). Ashirg feels a sudden surge of
static electricity.
L110[15:08:46] ⇦
Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
(Remote host closed the connection)
L111[15:10:47]
⇨ Joins: Amanda
(~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L112[15:17:07]
<Ocawesome101> @Ashirg that's pretty good
lol
L113[15:19:24]
<Neuro> oh
wait its a real thing lol
L114[15:19:34]
<Neuro> I
tried to see it yesterday but it just refused to load
L115[15:19:40]
<Neuro>
stuck at 0:00/0:00
L116[15:19:43]
<Neuro>
pretty funny
L117[15:19:46] <Izaya> a classic
L118[15:39:50]
⇨ Joins: flappy
(~flappy@91-154-0-54.elisa-laajakaista.fi)
L119[16:04:07]
⇨ Joins: kinkijin (~pch@66.49.131.33)
L120[16:04:07] ⇦
Quits: kinkinkijkin (~pch@66.49.131.33) (Read error: Connection
reset by peer)
L121[16:36:14] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-127-228.as13285.net)
(*.net *.split)
L122[16:36:14] ⇦
Quits: Vampyre (~spy@87.214.188.202) (*.net *.split)
L123[16:36:14] ⇦
Quits: lordpipe (~ba7888b72@66.109.211.50) (*.net
*.split)
L124[16:36:14] ⇦
Quits: Izaya (~izaya@210.1.218.92) (*.net *.split)
L125[16:36:14] ⇦
Quits: infina (~infina@claudius.lobsternetworks.com) (*.net
*.split)
L126[16:36:14] ⇦
Quits: pwootage (~pwootage@new.pwootage.com) (*.net
*.split)
L127[16:37:03] ⇦
Quits: dmod (sid32492@ilkley.irccloud.com) (Ping timeout: 192
seconds)
L128[16:37:38]
⇨ Joins: ThePiGuy24
(~ThePiGuy2@host-92-17-127-228.as13285.net)
L129[16:37:38]
⇨ Joins: Vampyre (~spy@87.214.188.202)
L130[16:37:38]
⇨ Joins: lordpipe (~ba7888b72@66.109.211.50)
L131[16:37:38]
⇨ Joins: Izaya (~izaya@210.1.218.92)
L132[16:37:38]
⇨ Joins: infina
(~infina@claudius.lobsternetworks.com)
L133[16:37:38]
⇨ Joins: pwootage (~pwootage@new.pwootage.com)
L134[16:39:26]
⇨ Joins: dmod (sid32492@ilkley.irccloud.com)
L135[17:13:34]
<Ashirg>
Was that an issue with the bridge?
L136[17:18:30]
<Forecaster> no, it's just an irc
thing
L137[18:00:07]
<Michiyo>
Any time you see a .net .split it means an IRC server disconnected
from the network
L138[18:01:43]
<Neuro>
wait why is pipe here
L139[18:02:12]
<Neuro>
>Michiyo: Any time you see a *.net *.split it m…
L140[18:02:12]
<Neuro> why
did that happen>?
L141[18:02:17]
<Neuro> why
did that happen? [Edited]
L142[18:09:19]
<Forecaster> the big irc providers, such
as esper, host many servers on a network that are all linked
together, but sometimes a server briefly loses the connection to
the other servers, the users who are connected to that server are
"split" from the network until the server
reconnects
L143[18:09:27]
<Forecaster> this is called a
netsplit
L144[18:12:23]
<Neuro> ah
ok
L145[18:56:56]
<Z0idberg>
@Neuro The Internet splits in half.
L146[20:25:47]
⇨ Joins: TPG24
(~ThePiGuy2@host-92-17-127-228.as13285.net)
L147[20:27:26] ⇦
Quits: ThePiGuy24 (~ThePiGuy2@host-92-17-127-228.as13285.net) (Ping
timeout: 195 seconds)
L148[20:27:59]
<Forecaster> %sip
L149[20:28:03] <MichiBot> You drink a
seeping strawberry potion (New!). Once empty the potion bottle
fills with a different potion.
L151[21:21:36]
<Neuro>
this is funny as fuck
L152[21:24:12] ⇦
Parts: lunar_sam (d83d0855c1@2a00:c70:1:178:170:40:189:1)
(Disconnected: Replaced by new connection))
L153[21:24:13]
⇨ Joins: lunar_sam
(d83d0855c1@2a00:c70:1:178:170:40:189:1)
L154[22:00:51] <Amanda> %choose
pizza?
L155[22:00:55] <MichiBot> Amanda: Is the
moon full? That means you should definitely go for it!
L156[22:01:59]
<Forecaster> it is not
L157[22:10:30] <Amanda> dequbed~ Halp, I
want to get a prometheus metric for my hosts to monitor block
device errors, because that's always been my first indication
shit's going to hit the fan, but near as I can tell I'd have to
write a custom program for this that attaches to the perf
"block:block_rq_complete" tracepoint event and look for
non-zero error arguments, and that's way more effort than I can
find the spoons for
L158[22:33:25]
<Neuro>
>Neuro: ok figured out fast memory access con…
L159[22:33:25]
<Neuro>
hahahaha
L160[22:33:28]
<Neuro> I
had not figured it tou
L161[22:33:32]
<Neuro> I
had *not* figured it out [Edited]
L162[22:33:33]
<Neuro>
what a mess
L163[22:33:44]
<Neuro> I
have a working solution now but I don't like it
L164[22:33:53]
<Neuro> had
to reduce the number of memory access channels to 8
L165[22:34:40]
<Neuro> in
order to add communication instead of the previous planned system
of fully autonomously synchronous chips
L166[22:34:45]
<Neuro> had
to reduce the number of memory access channels to 8 (from 13)
[Edited]
L167[22:35:06]
<Neuro> the
irritating part is the previous solution was obviously
theoretically possible
L168[22:35:22]
<Neuro> but
the two major problems were that it would have been monstrous to
build and implement
L169[22:35:30]
<Neuro>
requiring a 13-bit barrel shifter as well as a 13 bit line
decoder
L170[22:35:47]
<Neuro> and
it also required more i/o sides than the chip, well, has
L171[22:36:06]
<Neuro> the
second problem had a workaround but it was more mess
L172[22:36:25]
<Neuro> the
first problem, well, I spent most all of yesterday trying to think
of a cleverer bitmagicky way to do the operation I wanted to
do
L173[22:36:28]
<Neuro> but
nothing came up
L174[22:36:37]
<Neuro> so
alas, weaker solution it is
L175[22:36:40]
<Neuro> it
is fast tho
L176[22:36:54]
<Neuro> it
can do a read or writeop in 6 ticks
L177[22:37:01]
<Neuro>
continuously
L178[22:37:26]
<Neuro> and
doesn't have problems with requests arriving on the same tick,
something I feared might be tricky to figure out
L180[22:40:22]
<Forecaster> Ones and zeroes
L181[22:40:40]
<Neuro>
beep boop
L182[22:40:55]
<Forecaster> Do I get a prize? :P
L183[22:41:02]
<Neuro> no
😛
L184[22:41:06]
<Neuro>
😛
L185[22:41:14]
<Neuro> why
do i get the emoji and you don't?
L186[22:41:19]
<Neuro>
mysteries of discord I guess
L187[22:41:28]
<Forecaster> I've turned it off
L188[22:41:34]
<Neuro>
ah
L189[22:41:54]
<Forecaster> I'll reward myself a
%sip
L190[22:41:55] <MichiBot> You drink an
eroded spice potion (New!). Forecaster's left sock is now
cursed.
L191[22:42:00]
<Forecaster> Dangit
L192[22:42:20]
<Neuro>
cursed
L193[22:42:48]
<Neuro>
well, bit of a futile exercise that was
L194[22:43:06]
<Neuro> I
mean I came out of it with something that works but I am miffed
that I couldn't come up with something clever
L195[22:46:31] ⇦
Quits: ben_mkiv (~ben_mkiv@2001:16b8:1e37:3e00:fe34:97ff:fea9:75f2)
(Ping timeout: 192 seconds)
L196[23:41:29]
<Vaur>
%tonkout
L197[23:41:32] <MichiBot> Jiminy Cricket!
Vaur! You beat your own previous record of 8 hours, 25 minutes and
19 seconds (By 1 hour, 25 minutes and 6 seconds)! I hope you're
happy!
L198[23:41:33] <MichiBot> Vaur has tonked
out! Tonk has been reset! They gained 0.009 tonk points! plus 0.016
bonus points for consecutive hours! Current score: 4.22488264,
Position #1
L199[23:47:08] <Amanda> %choose laptop nap
time?
L200[23:47:08] <MichiBot> Amanda: Boo!
No!