digshadow has joined ##openfpga
digshadow has quit [Quit: Leaving.]
digshadow has joined ##openfpga
digshadow has quit [Client Quit]
digshadow has joined ##openfpga
digshadow has quit [Client Quit]
digshadow has joined ##openfpga
mifune has quit [Ping timeout: 246 seconds]
scrts has quit [Ping timeout: 245 seconds]
scrts has joined ##openfpga
_whitelogger has joined ##openfpga
MikeFair_ has joined ##openfpga
pie_ has quit [Ping timeout: 248 seconds]
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined ##openfpga
kuldeep__ has quit [Ping timeout: 265 seconds]
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <-]
digshadow has quit [Quit: Leaving.]
digshadow has joined ##openfpga
mifune has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
MikeFair_ has quit [Ping timeout: 246 seconds]
MikeFair_ has joined ##openfpga
Bike has quit [Quit: sleep]
kuldeep has joined ##openfpga
<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> actually somewhat secure for once
<rqou> :P
<cr1901_modern> Key applications:
<cr1901_modern> Public transportation
<cr1901_modern> Event ticketing
<cr1901_modern> Loyalty
<cr1901_modern> "Please show your loyalty by getting mifare ultralight C embedded into your skin"
<azonenberg> lol
<openfpga-github> [openfpga] azonenberg pushed 2 new commits to master: https://git.io/vMvjm
<openfpga-github> openfpga/master 3f404d7 Andrew Zonenberg: greenpak4: Implemented INT output for GP_SPI primitive
<openfpga-github> openfpga/master 17b5286 Andrew Zonenberg: greenpak4: Refactored Greenpak4Device::Save() error handling to reduce chance of resource leaks
<openfpga-bb> build #47 of openfpga is complete: Success [build successful] Build details are at https://openfpga-dashboard.antikernel.net/builders/openfpga/builds/47
<openfpga-bb> build #48 of openfpga is complete: Success [build successful] Build details are at https://openfpga-dashboard.antikernel.net/builders/openfpga/builds/48
<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 )
<whitequark> "now get sound working"
<rqou> but nested virtualization doesn't have safety problems :P
<rqou> e.g. switching the transformer to step up by accident probably produces 440V and/or insulation breakdown
<whitequark> depends, if you show this to a sysadmin you could cause a heart attack
<whitequark> lol
<rqou> it's also NEMA 1-15 on both input and output
<whitequark> wait
<rqou> regardless of voltages
<whitequark> is the 3ds charger using a transformer?
<rqou> idk how the charger itself is designed
<whitequark> is it heavy or light
<whitequark> ;p
<rqou> it's the only non-universal-voltage device I have
<whitequark> it's really surprising to encounter 110V switchers
<rqou> it's very light, quite probably a SMPS
<whitequark> but in any case what I would do is simply use an LDO off USB
<rqou> blame Nintendo
<whitequark> that eats less than 1A right?
<rqou> yeah probably less than 1A
<whitequark> then get urself a TLV1117 or something
<whitequark> mh, no, dropout too high
<whitequark> a... well
<whitequark> use a diode.
<whitequark> with Vf=0.4V
<whitequark> that's it.
<rqou> but what if I want to use an unsafe transformer and/or want to plug it into a "shaver" outlet? :P
<whitequark> if you want to plug it into "shaver" outlet then you use any universal voltage USB supply.
<whitequark> then... a diode :p
<rqou> lol
<rqou> btw what is the history behind 110V shaver outlets anyways?
<whitequark> presumably imported from NA (I don't actually know)
<mtp> i wish the phone company would provide appreciable current at -48v so i could have a phone-jack-to-USB charger
<mtp> but nooooo,
<whitequark> oh
<whitequark> that has an isolation step-down transformer and current limiting
<whitequark> because GFCIs did not exist
<whitequark> and 110V was considered to have less risk of electrocuton
<rqou> that's pretty silly in retrospect
<rqou> I wonder if Nintendo sells a giant ugly BS 1363 charger?
<rqou> yes, and it's as hideous as ever :P