<rqou>
felix_: what are the ugly blue/purple pipes suspended over various roads used for?
<felix_>
probably some sort of water supply pipes
<rqou>
temporary?
<felix_>
uh, i don't know. in karlsruhe there is a temporary water supply system for the contruction of a subway line. iirc in dresden (or was it leipzig) those are the main water supply lines
<felix_>
hm, those being the main water supply lines might be due to some ground construction work
<felix_>
don't really know much more about that
pie_ has joined ##openfpga
talsit has left ##openfpga [##openfpga]
X-Scale has joined ##openfpga
<rqou>
apparently with wifi on my phone believes I'm in Leipzig HbF
<rqou>
with wifi off it goes to the correct location (near Hanau HbF)
<rqou>
Google Now still insists I'm in Leipzig HbF though
<rqou>
fail attempt to do wifi to location mapping?
mifune has quit [Ping timeout: 258 seconds]
MikeFair_ has quit [Ping timeout: 265 seconds]
mifune has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
<rqou>
offtopic: my phone GPS is now bouncing between Leipzig HbF and Halle HbF (real location) literally every ten seconds
<qu1j0t3>
interesting. one wouldn't expect a GPS to do that?
<qu1j0t3>
does it include a fallback to the bad wifi data?
<rqou>
somebody was probably on the same train (has on-board wifi) while in Leipzig and Google somehow thought that was authoritative
<rqou>
not realizing that the wifi is tied to the train
<rqou>
strangely enough it didn't oscillate back and forth at the previous stop
<lain>
lol
<felix_>
hehe, nice bug
mifune has quit [Read error: Connection reset by peer]
mifune has joined ##openfpga
<openfpga-github>
[openfpga] azonenberg opened issue #63: "Tristate" test does not respect LOC constraint on top-level port "c" https://git.io/vMvhP
Bike has joined ##openfpga
<rqou>
Grand Hyatt Berlin uses mifare ultralight C
<rqou>
unfortunately the Android NFC stack can't emulate mifare classic
<rqou>
otherwise I would clone all the hotel/transit cards onto my phone :P
<azonenberg>
lol
digshadow has quit [Quit: Leaving.]
<rqou>
because mifare classic doesn't use APDUs
digshadow has joined ##openfpga
<whitequark>
azonenberg: this is the point at which I would made a RAII wrapper around FILE*
<whitequark>
there is so much stupid fclose code here
<rqou>
STL/boost doesn't already have one?
<whitequark>
we don't use boost and STL's iostreams are not wrappers around FILE*
<whitequark>
not to mention unusabke
<cr1901_modern>
Is this just to avoid the fclose calls (file is close when goes out of scope)?
<rqou>
why is FILE* a requirement?
<whitequark>
rqou: well what else will you use?
<whitequark>
POSIX IO is not portable, also a pain in the ass to use with text
<rqou>
just pretend all the world is a *nix? :P
<cr1901_modern>
Yea, you and the world would like that, wouldn't ya
<rqou>
FILE* on an API boundary will footgun yourself badly on Windows
<rqou>
although I heard that "fds" on Windows aren't much better
<rqou>
iirc there are C/POSIX functions in the Windows CRT that return a "fd" that is local to that CRT
<rqou>
for maximum footgun potential because it's an untyped integer
mifune has quit [Read error: Connection reset by peer]
mifune has joined ##openfpga
<whitequark>
they aren't indeed
<whitequark>
and uhm
<whitequark>
if you statically link to msvcrt then all of the C/POSIX functions do that
<whitequark>
actually, hm
<rqou>
dynamic linking doesn't save you because all versions of visual studio except the recent ones have a different version of the CRT
mifune has quit [Read error: Connection reset by peer]
mifune has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
<rqou>
although Microsoft has switched to a "universal CRT" because apparently they realized that people didn't want to deal with their special shit
<whitequark>
that switch is a total clusterfuck though
<rqou>
so now there is a version-independent main part of the CRT and a per-compiler glue
<rqou>
why?
<whitequark>
well, not as much the switch itself as UWP
<rqou>
afaik UWP has nothing to do with universal CRT
<rqou>
other than universal CRT improving compatibility with UWP
<rqou>
anyways, my current approach for dealing with Windows really is "Don't. Pretend it's a *nix"
mifune has quit [Ping timeout: 260 seconds]
mifune has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
mifune has quit [Read error: Connection reset by peer]
mifune has joined ##openfpga
mifune has quit [Read error: Connection reset by peer]
mifune has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
<rqou>
offtopic: I should buy a proper NEMA to Schuko adapter instead of using a flaky and unreliable universal to universal adapter
mifune has quit [Ping timeout: 260 seconds]
<rqou>
maximum electrical safety: 3ds charger (110VAC in, 4.6VDC out) plugged into a multi-decade-old step up/down transformer (changeable with a tiny switch on the back) plugged into a "universal socket" power strip from HK with its "BS 1363" plug replaced with a NEMA 5-15 plug plugged into a "made in China" universal socket to universal plug adapter currently configured in Europlug mode plugged into a Schuko outlet
<rqou>
whitequark
<rqou>
(note that the ground wire disappears somewhere in this chain of adapters :P )