01:19
egg|egg has quit [Read error: Connection reset by peer]
05:50
_whitelogger has joined #glasgow
05:53
<
whitequark >
tnt: that's fairly easy to implement now, i could take a stab at it
05:53
<
whitequark >
not sure where to put the cache on windows offhand
06:08
_whitelogger has joined #glasgow
06:22
<
electronic_eel >
whitequark: I suggest path.expandvars(r'%LOCALAPPDATA%\Glasgow')
06:23
<
whitequark >
electronic_eel: thanks, that sounds perfectly reasonable
06:26
<
whitequark >
does anyone here have a windows machine on hand?
06:27
<
electronic_eel >
some bare win7 vm which I'd have to install python and all the other dependencies on
06:28
<
whitequark >
right. hrm
06:29
<
electronic_eel >
probably even updating it will take half a day, I think I last used it like half a year ago
06:30
craigo has quit [Ping timeout: 265 seconds]
06:30
<
whitequark >
yeah that's exactly why i asked
06:33
<
whitequark >
i should write the installation instructions for windows too
06:36
<
electronic_eel >
If you have something I can try it on my vm
06:36
<
whitequark >
i don't
06:37
<
sorear >
was there a policy change? I thought we rejected caching out of a desire that Glasgow have no host state
06:39
<
whitequark >
sorear: caching used to be hazardous with migen
06:39
<
whitequark >
nmigen was designed from ground up such that its output is (a) pure, (b) dependent on implicit inputs like nmigen version
06:41
<
sorear >
what are sources of impurity that apply to omigen but not nmigen?
06:42
<
whitequark >
omigen let you include random files from the filesystem for example
06:46
<
whitequark >
god i fucking hate windows
06:47
<
whitequark >
worthless user-hostile piece of shit. now it doesn't boot
06:48
<
sorear >
hmm, I’ll need to look later at how nmigen prevents arbitrary imports
06:49
<
whitequark >
it doesn't
06:49
<
whitequark >
but it doesn't require them either
06:50
<
whitequark >
whereas in omigen if you wanted to include verilog you were stuck dropping it somewhere in the environment
07:02
<
whitequark >
hm, i really do wonder what's a good way to distribute glasgow for windows. for linux too, to a lesser extent
07:02
<
whitequark >
there needs to be a turnkey option. but. the same option can't be turnkey AND carry a whole development environment with it
07:05
<
sorear >
how much development environment is too much development environment
07:06
<
sorear >
unhelpful: I think this question is most of what drives people to Lua
07:08
<
whitequark >
ok well you know what? fuck this, python doesn't even work on windows
07:12
<
JJJollyjim >
Can you use libusb in WSL? :P
07:21
<
whitequark >
i wonder if i should write that libusb stub i wanted and tell people to just use WSL
07:22
<
whitequark >
by libusb stub i mean a small program in something that can be distributed as dependencyless .exe (rust, maybe?) that bridges usb and tcp
07:22
<
whitequark >
or like a named pipe, you get the idea
08:06
<
sorear >
would an unnamed pipe work? can you start win32 processes from wsl processes?
08:09
<
whitequark >
no idea
08:09
<
whitequark >
i don't really care
08:11
<
daveshah >
I've seen win32 processes started from the wsl shell, so I guess you can
08:21
<
gruetzkopf >
yeah you can
08:25
<
ktemkin >
"i wonder if i should write that libusb stub i wanted" <-- you hae no idea how many times I've thought to myself that I should do this
08:27
<
whitequark >
ktemkin: ok i mean that's pretty straightforward, i should probably just do it
08:27
<
ktemkin >
I just keep putting it off, because there are $infinitely_many things I'd rather do
08:28
<
whitequark >
i'd probably make it control/bulk only
08:32
<
ktemkin >
interrupt transfer handling is pretty much trivial once you implement bulk; so it'd be super easy to add them if/when you need them
08:33
<
ktemkin >
isochronous transfer support is just vaguely cursed and staying away until you Really Need Them is advisable for mental health~
08:34
* tnt
loves those sweet 512b packets in Full Speed though.
08:34
<
whitequark >
the main reason is that the rust libusb binding i'm using doesn't have iso support
08:35
<
whitequark >
neither does python-libusb1, i think, but at least that is reasonable
08:41
<
_whitenotifier >
[Glasgow] whitequark commented on pull request #166: applet.interface.i2c_master: add "scan" command -
https://git.io/JeCIO
08:52
<
_whitenotifier >
[Glasgow] electroniceel commented on pull request #166: applet.interface.i2c_master: add "scan" command -
https://git.io/JeCIG
08:52
<
_whitenotifier >
[Glasgow] whitequark commented on pull request #166: applet.interface.i2c_master: add "scan" command -
https://git.io/JeCIZ
08:52
<
_whitenotifier >
[Glasgow] electroniceel commented on pull request #166: applet.interface.i2c_master: add "scan" command -
https://git.io/JeCIn
08:57
<
_whitenotifier >
[GlasgowEmbedded/glasgow] whitequark de024eb - Use more consistent, and lowercase, names for repositories.
09:44
<
ZirconiumX >
whitequark: I almost wrote a replacement USB library before deciding I didn't have the motivation for it
09:52
ali_as has joined #glasgow
10:36
oeuf has joined #glasgow
10:53
<
_whitenotifier >
[GitHub] Encourage flow.
11:26
_whitelogger has joined #glasgow
11:29
Exec1N has joined #glasgow
11:37
umarcor has joined #glasgow
12:50
Xesxen has quit [Ping timeout: 265 seconds]
12:51
Xesxen has joined #glasgow
13:35
_whitelogger has joined #glasgow
15:04
josi7 has quit [Read error: Connection reset by peer]
15:09
<
_whitenotifier >
[glasgow] electroniceel synchronize pull request #166: applet.interface.i2c_master: add "scan" command -
https://git.io/JecjH
15:18
Exec1N has quit [Ping timeout: 276 seconds]
16:00
<
_whitenotifier >
[archive] electroniceel opened pull request #2: Add G00043: INA260 I2C power monitor (used on the test jig board) -
https://git.io/JeCY6
16:00
<
_whitenotifier >
[archive] whitequark closed pull request #2: Add G00043: INA260 I2C power monitor (used on the test jig board) -
https://git.io/JeCY6
16:00
<
_whitenotifier >
[GlasgowEmbedded/archive] electroniceel 90d0401 - Add G00043: INA260 I2C power monitor (used on the test jig board)
16:18
craigo has joined #glasgow
16:30
<
_whitenotifier >
[GlasgowEmbedded/glasgow] whitequark 2d7161f - software: use python_requires instead of an ad-hoc condition.
17:15
setrofim has quit [Ping timeout: 246 seconds]
18:20
setrofim has joined #glasgow
19:08
ali_as has quit [Remote host closed the connection]
19:09
ali_as has joined #glasgow
19:09
josi7 has joined #glasgow
20:06
umarcor has quit [Ping timeout: 240 seconds]
20:58
<
_whitenotifier >
[glasgow] electroniceel opened pull request #167: applet.sensor.ina260: add applet for the INA260 I2C power monitoring IC -
https://git.io/JeCZS
21:48
umarcor has joined #glasgow
22:15
jim123_456 has joined #glasgow