<sb0>
I'm not sure if SOCK_SEQPACKET works at all on windows. afaik it's only available on some unices.
<sb0>
it's kinda remarkable how crappy IPC is in 2015
<cr1901_modern>
It seemed to work during testing- at least with graycounter.py. But I'll read up on it. I added debug messages earlier between send and recv
<sb0>
it certainly works some of the time. but probably not always.
<sb0>
try sending a message that exceeds the MTU of the loopback interface ...
<cr1901_modern>
If I had any clue what that meant, I would try it XD
<cr1901_modern>
basically, send a really long message?
<sb0>
yes
<cr1901_modern>
Doing this: print("{0:0{1}b} CE={2} bin={3}".format(selfp.gc.q, self.width, selfp.gc.ce, selfp.gc.q_binary) * 1024), messages are still received correctly without any breaks
<cr1901_modern>
in graycounter.py
<cr1901_modern>
Btw, did the server eat my message or did you receive it?
<sb0>
I received it
<cr1901_modern>
Okay, this appears to work b/c the MTU for the loopback interface on Windows is (unsigned int) -1... i.e. the maximum possible
<GitHub142>
[artiq] sbourdeauducq pushed 3 new commits to master: http://git.io/vJLOI
<GitHub142>
artiq/master 8a796a6 Sebastien Bourdeauducq: artiq_run/ELFRunner: create a core device object (necessary for runtime exception processing)
<GitHub142>
artiq/master 87ae250 Sebastien Bourdeauducq: runtime: validate pointers received from kernel CPU
mindrunner has quit [Quit: quit]
mindrunner has joined #m-labs
<sb0>
got vacuum :) obviously my gauge isn't calibrated yet, but that cheap chinese rotary pump is good enough to create and then extinguish a plasma discharge
<cr1901_modern>
I'm... trying to fall asleep by watching YT videos and otherwise not being productive with my time.
<cr1901_modern>
Maybe I'll finish that PCB pattern library... only 4 more parts to go
mumptai has joined #m-labs
fengling has quit [Ping timeout: 252 seconds]
fengling has joined #m-labs
early has quit [Ping timeout: 256 seconds]
fengling has quit [Ping timeout: 265 seconds]
early has joined #m-labs
<cr1901_modern>
Aaaand done... bleh. That wasn't a bright idea, but at least it's done.
fengling has joined #m-labs
fengling has quit [Ping timeout: 276 seconds]
fengling has joined #m-labs
<sb0>
whitequark, what exactly is that "caster" you wanted to build?
<whitequark>
sb0: pump a chamber down, melt the alloy using an induction heater, tilt the crucible and pour the metal into a tubular carbon glass fiber forms
fengling has quit [Ping timeout: 256 seconds]
<whitequark>
clearly the last part is mechanically troubling
<whitequark>
sb0: oh wow the atx power supply keeps on giving
<whitequark>
remember the output stabilizing coil thing? the one in a dashed rectangle
<whitequark>
it's called "group stabilizing choke" (RU term. no idea how it's called in the west)
<whitequark>
and the idea is that it has a ferrite core, it works like a transformer and it transduces the changes in current in +-12V -5V into the feedback channel attached to +5V
<whitequark>
in reality it's an enormous hot choke wound with thick wire on a toroidal ferrite core
<whitequark>
reading even more
<whitequark>
the ATX PSU is done in a way that its output stage can tolerate 80% PWM duty cycle, because that's what happens when it works pretty much off the capacitors during the UPS switch
<whitequark>
amazing
<whitequark>
oh, the english term is "coupled inductors"