<<Prev Next>> Scroll to Bottom
Stuff goes here
L1[00:00:24] <Amanda> %remindme 12h it's
probably pihole breaking the sleep tracker again, fix it
L2[00:00:24] <MichiBot> I'll tell you
"it's probably pihole breaking the sleep tracker again, fix
it" in 12h at 07/31/2022 12:00:23 PM
L3[04:22:09] ⇨
Joins: maumagro (~maumagro@78.129.208.81)
L4[04:22:14] <maumagro> Hello
L5[04:22:47] ⇦
Quits: maumagro (~maumagro@78.129.208.81) (Remote host closed the
connection)
L6[04:23:03] ⇨
Joins: maumagro (~maumagro@78.129.208.81)
L7[04:37:51] ⇨
Joins: yoyou446 (~yoyou446@78.129.208.81)
L8[04:38:16] <yoyou446> peepee
L9[04:38:17] <maumagro> Hello buddy
L10[04:38:21] <yoyou446> D:
L11[04:38:22] <yoyou446> woah
L12[04:38:24] <yoyou446> slay
L13[04:38:29] <maumagro> yeah, and it's
online
L14[04:38:33] <yoyou446> can mods see us
type on this?
L15[04:38:35]
<Ocawesome101> not on irc but ima guess
those two are from the same ip
L16[04:38:38] <maumagro> nope
L17[04:38:46]
<Ocawesome101> %hello
L18[04:38:47] <yoyou446> this is so
cool
L19[04:38:47] <MichiBot> Hello! Welcome to
#oc! The one and only opencomputers channel! Please ask your
questions directly (dont ask to ask) and provide error/code
examples! (Use pastebin.com if theyre more than one line!) Dont
mind the random conversation you might have walked into.
L20[04:38:50] <maumagro> we're on a
minecraft server
L21[04:38:56]
<Ocawesome101> yeah i figured
L22[04:39:00] <maumagro> :)
L23[04:39:02] <yoyou446> hey oca
L24[04:39:11] <yoyou446> ur mother
L25[04:40:14]
<Ocawesome101> ok
L26[04:41:34] <maumagro> XD
L27[04:45:55] ⇦
Quits: yoyou446 (~yoyou446@78.129.208.81) (Ping timeout: 189
seconds)
L28[05:06:27] ⇦
Quits: maumagro (~maumagro@78.129.208.81) (Remote host closed the
connection)
L29[05:42:20] ⇨
Joins: maumagro (~maumagro@78.129.208.81)
L30[05:47:15] ⇨
Joins: Guest51794 (~e@78.129.208.81)
L31[05:48:44] ⇦
Quits: Guest51794 (~e@78.129.208.81) (Remote host closed the
connection)
L32[07:19:12]
<Vaur>
%tonkout
L33[07:19:13] <MichiBot> Dogast! Vaur! You
beat your own previous record of 13 hours, 8 minutes and 43 seconds
(By 2 hours, 56 minutes and 22 seconds)! I hope you're happy!
L34[07:19:14] <MichiBot> Vaur has tonked
out! Tonk has been reset! They gained 0.016 tonk points! plus 0.03
bonus points for consecutive hours! Current score: 3.12196625,
Position #1
L35[08:00:17] ⇦
Quits: maumagro (~maumagro@78.129.208.81) (Remote host closed the
connection)
L36[08:06:38] ⇨
Joins: Vexatos
(~Vexatos@p200300eaef041c05d83d81dd5bb79939.dip0.t-ipconnect.de)
L37[08:06:38] zsh
sets mode: +v on Vexatos
L38[10:51:51] ⇨
Joins: FluLu
(~FluLu@ip5f5bfd5e.dynamic.kabel-deutschland.de)
L39[10:52:35] ⇦
Quits: FluLu (~FluLu@ip5f5bfd5e.dynamic.kabel-deutschland.de)
(Client Quit)
L40[11:24:01]
<Forecaster> huh
L41[11:24:51]
<Forecaster> I just tried my headphones
after gluing them back together (mostly) yesterday and I thought
I'd broken the right speaker connection because when testing them
there was no sound at all in the right channel
L42[11:25:05]
<Forecaster> I took out the brand new set
and it was doing the same thing
L43[11:25:28]
<Forecaster> Playing the video in VLC and
telling it to output to the headphones directly works however
L44[11:25:46]
<Forecaster> so for some reason
Voicemeeter is not letting the right channel through...
L45[11:26:16]
<Forecaster> or the base
L46[11:30:52]
<Forecaster> wait...
L47[11:33:02]
<Forecaster> huh, the aux input doesn't
let any base or right channel through
L48[11:33:03]
<Forecaster> weird
L49[12:00:24] <MichiBot> Amanda REMINDER:
it's probably pihole breaking the sleep tracker again, fix it
L50[12:24:50] <Amanda> Fun fact: the mods
probably could see what they're typing with a simple Wireshark
run
L51[12:25:24] <Amanda> Not that it matters,
we've got our own mods
L52[12:28:30]
<Forecaster> wut
L53[13:00:14] <Amanda> Re: the kids earlier
thinking they were safe to be rude
L54[13:03:12]
<Forecaster> ah
L55[14:19:05] <Amanda> %choose spaaace or
train
L56[14:19:05] <MichiBot> Amanda: Some
"train" sounds nice
L57[14:30:59]
<Forecaster> but is there space on the
train?
L58[14:31:33]
<Forecaster> if not you might need to
train the space so it'll go on the train
L59[14:32:41] <Amanda> Oh good, Sweet
Transit doesn't work on linux under proton. :(
L61[14:32:53] <Amanda> Guess I'm waiting
for the gaming PC to boot
L62[14:57:50]
<Forecaster> I've seen that, looked
neat
L63[14:57:55]
<Forecaster> I've meant to try the
demo
L64[15:57:51] ⇦
Quits: Victorsueca
(~Victor_su@190.pool90-165-120.dynamic.orange.es) (Ping timeout:
186 seconds)
L65[16:24:09] ⇨
Joins: Hawk777
(~Hawk777@2607:c000:8283:5500:9373:e55a:c46d:e1ff)
L66[16:24:32]
<Vaur>
%tonk
L67[16:24:32] <MichiBot> Wut! Vaur! You
beat your own previous record of <0 (By 9 hours, 5 minutes and
19 seconds)! I hope you're happy!
L68[16:24:33] <MichiBot> Vaur's new record
is 9 hours, 5 minutes and 19 seconds! No points gained for stealing
from yourself. (Lost out on 0.00909)
L69[16:41:17]
<Forecaster> Okay, ammended the script a
little, now to apply some updates to the server finally, then
reboot, then restart the script
L70[16:41:58]
<Forecaster> assuming none of the changes
prevent it from running of course
L71[17:07:35] ⇦
Quits: Amanda (~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
(Remote host closed the connection)
L72[17:08:22] ⇨
Joins: Amanda
(~m-yt727s@c-73-165-62-84.hsd1.pa.comcast.net)
L73[18:09:42]
<Forecaster> oh, I can't read numbers
apparnetly
L74[18:09:53]
<Forecaster> it's only imported 10M
systems
L75[18:16:09]
<Forecaster> maybe it'd be easier to dump
each system to a file first
L76[18:16:22]
<Forecaster> then process each file into
the db afterwards
L77[18:16:37]
<Forecaster> deleting each file as it
goes
L78[18:16:53]
<Forecaster> that'd make restarting easier
at least
L79[18:17:20] <Amanda> You don't have 200B
inodes though, and that'd take up a bunch of space
L80[18:17:31]
<Wattana>
forecaster what u hosting>
L81[18:18:12]
<Forecaster> oh yeah, that thing
L82[18:19:37]
<Forecaster> I could dump 100k systems per
file
L83[18:20:20]
<Forecaster> @Wattana what?
L84[18:20:28] <Amanda> I'd say just dump
the current index every X ones
L85[18:20:32]
<Wattana>
sounds like ur doing something on a server?
L86[18:20:56]
<Wattana>
or are you just using it to compute stuff instead of your
computer?
L87[18:21:58]
<Forecaster> I don't even keep the file
position currently but I suppose I could do that easily
L88[18:22:18]
<Michiyo>
They are loading a list of E:D Systems into SQL
L89[18:22:26]
<Michiyo>
ALL of the E:D systems
L90[18:22:28]
<Forecaster> I just read the file
character by character until I get a complete json object
L91[18:22:48]
<Forecaster> then it parses it, then moves
on
L92[18:24:37]
<Forecaster> json isn't ideal for this
since you can't easily tell where one object starts and ends
L93[18:24:50]
<Forecaster> would've been easier with
xml
L94[18:27:09]
<Ariri>
>Michiyo: ALL of the E:D systems
L95[18:27:10]
<Ariri>
what-
L96[18:34:39]
<Michiyo>
Star systems in Elite Dangerous?
L97[18:35:11]
<Ariri>
yeah but like what would you need with *all* of that in sql
L98[18:35:39]
<Michiyo>
Easy queryability?
L99[18:36:04]
<Ariri>
does it have all the system data that everyone has discovered
too?
L100[18:36:08]
<Forecaster> Well, for one thing doing
this file scan in 50GB every request would be a bit slow
L101[18:36:50]
<Forecaster> depends what you mean by
discovered
L102[18:37:04]
<Forecaster> I don't think it has
planetary discoveries
L103[18:37:15]
<Forecaster> it does contain literally
everything known about a system
L104[18:37:50]
<Forecaster> stars, planets, data on each
planet
L105[18:37:55]
<Forecaster> I'm discarding most of it
though
L106[18:38:15]
<Ariri> so
what are you doing with it then
L107[18:38:57]
<Forecaster> I mainly want the positions
and names, but I'm also storing whether they're inhabited and what
class the primary star is
L108[18:39:37]
<Forecaster> hrm
L110[18:40:04]
<Ariri> i
see
L111[18:40:14]
<Forecaster> I had the script fetch each
unique system name into memory before running the import to skip
already imported systems
L112[18:40:53]
<Forecaster> this worked fine at the start
when I had to restart the script and it had only imported a small
amount
L113[18:41:09]
<Forecaster> now when there's 10 million
unique names fetching those names is taking a while...
L114[18:41:25]
<Forecaster> I need to change it to query
by name first
L116[18:51:27]
<Forecaster> err
L117[18:51:31]
<Forecaster> this is not ideal
L118[18:51:43]
<Forecaster> I tried just a select query
for a name that doesn't exist
L119[18:52:13]
<Forecaster> it's just been sitting there
for like 10 minutes now
L120[18:57:23] ⇦
Quits: lunar_sam (c44a7f2987@jabberfr.org) (Ping timeout: 189
seconds)
L121[18:57:42]
⇨ Joins: lunar_sam (c44a7f2987@jabberfr.org)
L122[19:03:56] <Hawk777> Sounds like you
might be missing an index or two?
L123[19:05:44]
<Forecaster> index?
L124[19:06:23] <Hawk777> Well, if you’re
trying to SELECT WHERE name='foo' and it’s slow, you’d probably
want to create an index over name.
L125[19:06:54] <Hawk777> With an index,
should be a fraction of a second to query even with millions of
rows.
L126[19:09:30]
<Forecaster> the query has been running
for almost 30 minutes now
L127[19:12:41] <Hawk777> I imagine there’s
a CREATE INDEX command in whatever software this is. Creating the
index might take a long time, but once it’s there, queries should
be fast.
L128[19:14:24]
<Forecaster> there seems to be a create
index statement yeah
L129[19:14:32]
<Forecaster> should probably do that after
the import is complete
L130[19:15:27]
<Forecaster> or maybe the index is kept up
to date automatically
L131[19:15:35]
<Forecaster> that would make sense
L132[19:39:19] <Hawk777> Once created,
adding/removing/modifying rows will also update the index
accordingly automatically, as you said.
L133[19:39:29]
<Forecaster> coming up on 1 hour now
L134[19:39:45]
<Forecaster> (still executing the select
query)
L135[19:40:03] <Hawk777> That said, it
*may* be faster to bulk-insert the data first and then create the
index, than to create the index first and then add the data; the
latter, since it has to keep the index up to date as each block of
data is added, probably involves more shuffling and
rewriting.
L136[19:40:52] <Hawk777> I’m very
surprised that a select over 10 million rows would take more than
an hour, even without any indices, TBH. I’d expect 10 million rows
to be scanned in maybe a handful of minutes, not hours.
L137[19:47:22] ⇦
Quits: flappy (~flappy@85-156-66-177.elisa-laajakaista.fi) (Ping
timeout: 189 seconds)
L138[19:48:47]
<Vaur>
%sip
L139[19:48:48] <MichiBot> You drink a sour
pussplum potion (New!). Vaur barely manages to catch a green shell
that appears in front of them! (Rem. uses: 1)
L140[19:49:48]
<Forecaster> %sip sour pussplum
L141[19:49:48] <MichiBot> You drink a sour
pussplum potion. Forecaster barely manages to catch a green shell
that appears in front of them! (Rem. uses: 0)
L142[20:21:26]
<Forecaster> I've stopped the query I
started in the web interface, running the same one directly on the
server now so it can run overnight
L143[20:33:55]
<Forecaster> `mysql> SELECT * FROM
`web_edcarriers`.`mcp_systems` WHERE name = 'hams'; Empty set (43
min 11.89 sec)`
L144[20:34:26]
<Forecaster> it ran better directly on the
server
L145[20:35:06]
<Forecaster> hrm
L146[20:36:16]
<Forecaster> well... I was about to say it
might be better to skip the "does this system already
exist" check
L147[20:36:37]
<Forecaster> but then I realized that I
can't just import them again since the name isn't the key
L148[20:36:51]
<Forecaster> so I'd still need to find the
key by the name
L149[20:37:50]
<Forecaster> so I'll probably just need to
let it fetch the existing names anyway
L150[20:37:58]
<Forecaster> biggest problem with that is
the memory usage
L151[21:41:28] <Hawk777> Are names
unique?
L152[21:44:07]
<Forecaster> Two start systems can't have
the same name in E:D I'm pretty sure
L153[21:47:02] <Hawk777> You could put a
unique index over the name column. There might be some kind of
INSERT OR UPDATE or similar syntax you could use (you’d have to
look at the details of whatever database you’re using; I don’t
think it’s the same across all of them). I’m also not certain
whether that works for uniqueness violations or only primary key
violations, but it *might* help.
L154[21:54:01]
<Forecaster> there's `IF EXISTS UPDATE`
syntax yeah I know, but that's a lot of extra work
L155[21:54:16]
<Forecaster> I'll just leave it running
and see how long it takes
L156[21:54:52]
<Forecaster> it might just run out of
memory again, in that case I'll have to do it
L157[22:25:06] ⇦
Quits: Vexatos
(~Vexatos@p200300eaef041c05d83d81dd5bb79939.dip0.t-ipconnect.de)
(Quit: Insert quantum chemistry joke here)
L158[22:41:25]
<swand45>
Hi @Sangar ,
L159[22:41:25]
<swand45>
I'm the guy that made the GDB stub for sedna and I'm working on
adding watchpoints now. I have a question. I see that in `loadSlow`
and `storeSlow` TLB entries are only added if the memory device
"supports fetch". Why is that? To support watchpoints
efficiently, I'd like to add a information to the TLB entries (like
I did with breakpoints), but if they aren't always present that
approach won't work as well.
L160[23:16:15]
<Bob> damn
OC2 is about to bring all the gifted peeps here
L161[23:21:10] <Amanda> %choose
laptopnaptime?
L162[23:21:10] <MichiBot> Amanda: Once
the moon cycle restarts you should definitely do it!
L163[23:21:27] <Amanda> Whats with the
obsession with the lunar cycle lately, MichiBot?
L164[23:21:46] <Amanda> Anyway, I'm not
going to potentially wait 14 days for that, so laptopnaptime
L165[23:43:32] ⇦
Quits: Hawk777 (~Hawk777@2607:c000:8283:5500:9373:e55a:c46d:e1ff)
(Quit: Leaving.)