00:01
craigo has quit [Ping timeout: 256 seconds]
00:18
ur5us has quit [Ping timeout: 244 seconds]
00:28
_Vi has quit [Ping timeout: 272 seconds]
00:35
<
pixelherodev >
Almost at the point where I figure out just how broken stage2 gets when there's a zero-register architecture :P
00:36
<
andrewrk >
s/broken/unimplemented/
00:36
<
pixelherodev >
Well, sorta
00:36
<
pixelherodev >
A bit of both
00:36
<
pixelherodev >
I don't think we have a proper fallback for when we can't allocate a register, for instance
00:37
<
pixelherodev >
Actually, I think the
*only* thing it needs to do is use stack as fallback, so it might be fine already, depending on whether we have that
00:41
<
shakesoda >
you've got something register free?
00:44
ur5us has joined #zig
00:52
waleee-cl has quit [Quit: Connection closed for inactivity]
01:15
aarvay has quit [Quit: Connection closed for inactivity]
01:35
daex has quit [Ping timeout: 265 seconds]
01:39
<
pixelherodev >
shakesoda: SPU II has no general-purpose registers
01:39
<
pixelherodev >
Stack pointer, instruction pointer, flag register, base pointer <- four registers only
01:40
<
fengb >
Wasm has no registers
01:41
bens has joined #zig
01:42
<
pixelherodev >
good to know
01:42
<
fengb >
Well it has locals that can be thought of as registers. So infinite registers?
01:42
<
shakesoda >
i suppose that makes sense
01:42
<
fengb >
Depends on your POV :P
01:43
<
pixelherodev >
Found the SPU-II issue
01:43
<
pixelherodev >
There's some x64-specific code being generated even when arch != .x86_64
01:47
<
pixelherodev >
Okay, back to where I was pre-rebase :)
02:27
aarvay has joined #zig
02:40
squeek502_ has quit [Ping timeout: 256 seconds]
03:01
squeek502 has joined #zig
03:33
tdeo has joined #zig
04:00
tdeo has quit [Remote host closed the connection]
04:01
tdeo has joined #zig
04:03
tdeo has quit [Remote host closed the connection]
04:07
tdeo has joined #zig
04:23
tdeo has quit [Remote host closed the connection]
04:23
tdeo has joined #zig
04:38
<
andrewrk >
my goodness azure, what is your problem now
04:38
<
andrewrk >
you are so needy
04:46
<
pixelherodev >
andrewrk: any reason not to host our own CI?
04:47
<
andrewrk >
opportunity cost
04:47
<
pixelherodev >
Not worth the time?
04:48
<
andrewrk >
right this minute I'm working on stage2. I'm not going to drop it and work on the CI
04:49
<
pixelherodev >
Agreed
04:49
<
pixelherodev >
On that note, I should figure out the codegen issue for SPU II
04:49
<
torque >
gitlab's ci is ridiculously easy to set up on custom hardware
04:50
<
pixelherodev >
There's easier (and better) too, but it's still an investment in time
04:50
<
pixelherodev >
Not just short-term either
04:50
<
pixelherodev >
It means you have to maintain it long-term
05:02
<
daurnimator >
torque: lies. outside of x86_64 is essentially broken
05:19
<
torque >
idk, we've been running it on raspi 4's at work for a while
05:20
<
torque >
also, I suspect this is probably only needed for the docker integration based on the mr description
05:21
<
torque >
since it's written in go there shouldn't be anything stopping the basic shell runner from working on any arch go supports?
05:21
<
torque >
frankly, the way docker supports different architectures is hot garbage anyway
05:31
<
daurnimator >
torque: we have access to powerful arm64 servers; tried to set up gitlab runner on them for zig; and ran into a whole load of things including that pr i linked
05:37
ur5us has quit [Ping timeout: 260 seconds]
05:41
craigo has joined #zig
05:43
cole-h has joined #zig
05:48
<
torque >
interesting
06:12
<
andrewrk >
oh yeah that was disappointing
06:25
aarvay has quit [Quit: Connection closed for inactivity]
06:29
marnix has joined #zig
06:36
dermetfan has joined #zig
06:46
marnix has quit [Ping timeout: 246 seconds]
07:01
decentpenguin has quit [Read error: Connection reset by peer]
07:04
decentpenguin has joined #zig
07:11
nikita` has joined #zig
07:31
cole-h has quit [Quit: Goodbye]
07:40
matti has joined #zig
07:54
_Vi has joined #zig
08:13
dermetfan has quit [Ping timeout: 272 seconds]
08:25
<
danyspin97 >
is there any way to iterate over files in a dir?
08:29
<
ifreund >
danyspin97: see Dir.iterate()
08:30
<
danyspin97 >
ifreund: thanks!
08:30
marnix has joined #zig
09:08
dermetfan has joined #zig
09:19
<
danyspin97 >
ifreund: I am reading the std.fs tests, and Dir.iterate is almost clear to me
09:20
<
danyspin97 >
but I can't understand how to create a Dir from a path
09:22
<
ifreund >
std.fs.cwd().openDir()
09:22
<
danyspin97 >
and without cwd?
09:22
<
danyspin97 >
i.e. open /tmp/mydir
09:22
<
squeek502 >
still use cwd() and pass an absolute path
09:23
<
danyspin97 >
ah, I see
09:23
<
danyspin97 >
a little counterintuitive though
09:23
<
squeek502 >
yeah seems to be a source of confusion for a lot of people
09:24
<
squeek502 >
as i understand it, its to better support platforms like WASI that don't have a concept of an absolute path
09:25
<
ifreund >
this, and to encourage use of relative paths wherever possible
09:25
<
ifreund >
note that fs.cwd() is basically free on most platforms
09:25
<
ifreund >
you can even call it at comptime on some
09:26
<
ifreund >
on everything except windows and wasi infact
09:27
<
danyspin97 >
std.fs.cwd().openDir(path)
09:27
<
danyspin97 >
std.fs.cwd().openDir(path, OpenDirOptions{})
09:28
<
danyspin97 >
I assumed it was std.fs.cwd(path)
09:30
marnix has quit [Ping timeout: 240 seconds]
09:55
marnix has joined #zig
10:05
waleee-cl has joined #zig
10:23
marnix has quit [Ping timeout: 240 seconds]
10:23
<
danyspin97 >
(it says that there is no addType function)
10:25
<
squeek502 >
danyspin97, you need to do const Rules = @import("Rules.zig).Rules;
10:26
<
squeek502 >
you're getting the file's namespace rather than the pub const Rules struct within it
10:26
<
danyspin97 >
Ah yea
10:26
<
danyspin97 >
but shouldn't have the compiler complained before?
10:26
<
danyspin97 >
when I declared `rules: *Rules`
10:27
<
squeek502 >
no, files are valid structs as well
10:27
<
danyspin97 >
ah, I see
10:29
<
ifreund >
danyspin97: note that you can totally use toplevel fields in files and then import and use them as `cons Rules = @import("Rules.zig");`
10:49
marnix has joined #zig
11:26
_Vi has quit [Quit: _Vi]
11:47
marnix has quit [Read error: Connection reset by peer]
12:02
layneson has joined #zig
12:04
marnix has joined #zig
12:06
Nypsie has joined #zig
12:15
lanodan has quit [Ping timeout: 260 seconds]
12:26
layneson has quit [Ping timeout: 240 seconds]
12:27
layneson has joined #zig
12:33
layneson has quit [Ping timeout: 256 seconds]
12:47
lanodan has joined #zig
12:57
marnix has quit [Ping timeout: 260 seconds]
12:58
layneson has joined #zig
13:01
<
danyspin97 >
ifreund: ah, so river wm is yours
13:01
<
danyspin97 >
nice project
13:04
marnix has joined #zig
13:05
layneson has quit [Ping timeout: 240 seconds]
13:19
marnix has quit [Ping timeout: 240 seconds]
13:19
<
danyspin97 >
I haven't tried it yet because the AUR package does not work
13:19
<
danyspin97 >
with zig master
13:19
marnix has joined #zig
13:20
<
ifreund >
ah yeah, I decieded to stick with 0.6.0 to make packaging and contributing easier
13:20
<
danyspin97 >
yea, that's nice
13:21
<
danyspin97 >
I'll package it for exherbo when zig compiles there for me
13:22
<
danyspin97 >
I guess I can add a (kind of) eclass for zig packgaes
13:22
<
ifreund >
that'd be cool, though I've haven't actually done an 0.1.0 release yet
13:22
jmiven has quit [Quit: reboot]
13:23
<
ifreund >
I daily drive river and it works quite well, but there are a couple more features I want before a first release
13:23
jmiven has joined #zig
13:29
marnix has quit [Ping timeout: 256 seconds]
13:33
bsrd has joined #zig
13:47
dingenskirchen has quit [Quit: dingenskirchen]
13:47
dingenskirchen1 has joined #zig
13:49
dingenskirchen1 is now known as dingenskirchen
14:10
<
fengb >
0.1 is the new 1.0 :P
14:11
<
ifreund >
indeed :P
14:15
<
ikskuh >
fengb: so you say i should release dunstblick 0.1 now? :D
14:26
Nypsie has left #zig ["WeeChat 2.9"]
14:26
<
danyspin97 >
ikskuh: any link? :D
14:27
marnix has joined #zig
14:27
Nypsie has joined #zig
14:28
<
ifreund >
ikskuh: I see that zig finally overtook c++ :D
14:36
letoram has quit [Ping timeout: 260 seconds]
14:38
<
danyspin97 >
the site isn't working though
14:39
tdeo has quit [Remote host closed the connection]
14:39
tdeo has joined #zig
14:40
letoram has joined #zig
14:56
Ashpool has joined #zig
15:04
<
ikskuh >
danyspin97: yeah, i forgot to patch that up
15:04
<
ikskuh >
should do that later
*grin*
15:04
<
ikskuh >
ifreund: it will continue that way until i'm done
15:05
<
ikskuh >
also: it works for certain values of "works" :D
15:05
<
ikskuh >
has a lot of TODOs still and may crash at the first unexpected event, but hey. it works!
15:06
<
ikskuh >
latest push: 50.7% zig code
15:07
<
ifreund >
ikskuh: I'm not sure I'm grasping the vision of dunstblick, how do you plan to use this?
15:07
<
ikskuh >
are you okay with spoilers for my next showtime talk? :D
15:07
<
ikskuh >
i figured that dunstblick may be the right project for a talk
15:08
<
ikskuh >
i create a lot of self-made IoT devices
15:08
<
ikskuh >
small scale (lpc1786 or smaller) or large scale (RPI, ...)
15:08
<
ikskuh >
also i have a lot of services deployed on several machines
15:09
<
ikskuh >
my vision for dunstblick is to access all those systems with a very resource-gentle UI system
15:09
<
ikskuh >
web stack is too bloatet imho for that, it also requires you to write a lot of web servers and html/js frontends
15:10
<
ifreund >
neat, this is making a lot more sense with that use-case in mind
15:10
<
ikskuh >
so the idea of dunstblick is that you can easily discover applications in your local network and attach a interface to them
15:10
<
ikskuh >
for example: i have a rack with RGB LEDs built-in
15:10
<
ikskuh >
and i want to set the color/animation for those
15:10
<
ikskuh >
open up dunstblick, attach to "LED Control", change some colors, done
15:11
<
ikskuh >
same workflow for everything else
15:11
<
ifreund >
sounds quite handy
15:11
<
ikskuh >
the network-controllable power board? sure thing :D
15:11
<
ikskuh >
attach, flip some checkboxes, done :D
15:11
<
ifreund >
what all do your IoT devices do?
15:11
<
ikskuh >
right now, not that much :D
15:12
<
ikskuh >
i have these two i told you about, but i also have my stereo as IoT
15:12
<
ikskuh >
it's just an RPI+Amp
15:12
<
ikskuh >
and i would like to control the media playing there not via SSH anymore :D
15:12
<
ikskuh >
another example: you could make a generic pulseaudio volume control
15:12
<
ikskuh >
throw that on all your machines and you can now control volume of your computer with your smartphone
15:13
<
ikskuh >
have a weather service sampling data from your local weather station? covered :D
15:13
<
ikskuh >
(i should add that conversation to the repo :D )
15:14
<
ikskuh >
and maybe write that down in a less conversation-style some time
15:14
<
ikskuh >
but i plan to make dunstblick also available as a normal application development UI system without networking
15:14
<
ifreund >
that would certainly help people grasp what dunstblick can do
15:19
st4ll1 has quit [Ping timeout: 240 seconds]
15:19
st4ll1 has joined #zig
15:21
<
danyspin97 >
cool project ikskuh
15:26
marnix has quit [Read error: Connection reset by peer]
15:34
marnix has joined #zig
15:48
<
ikskuh >
ifreund, could you test dunstblick later? i would like to get my dependency list up to date :)
15:49
<
ikskuh >
i reduced it a lot
15:52
dermetfan has quit [Ping timeout: 272 seconds]
15:52
<
ifreund >
ikskuh: sure, probably have time this evening
16:01
marnix has quit [Ping timeout: 260 seconds]
16:06
Ashpool has quit [Read error: Connection reset by peer]
16:07
Ashpool has joined #zig
16:18
marnix has joined #zig
16:27
KKRT has joined #zig
16:46
dermetfan has joined #zig
16:51
Ashpool has quit [Remote host closed the connection]
17:02
cole-h has joined #zig
17:19
marnix has quit [Ping timeout: 240 seconds]
17:39
tdeo has quit [Read error: Connection reset by peer]
17:40
tdeo has joined #zig
18:00
waleee-cl has quit [Quit: Connection closed for inactivity]
18:26
Akuli has joined #zig
19:07
riba has joined #zig
19:18
<
pixelherodev >
ikskuh: what
*is* dunstblick?
19:18
<
ikskuh >
it's my UI framework which is now 50% written in zig :)
19:19
<
ifreund >
haze gaze is my current translation to english
19:19
<
ikskuh >
it's a german wordplay
19:20
<
ikskuh >
dunst is haze, mist or fog
19:20
<
ifreund >
mist look?
19:20
<
leeward >
cloudy clouds?
19:20
<
ikskuh >
probably haze is the most fitting
19:20
<
fengb >
Why are we gazing at Haze?
19:20
<
ifreund >
i love the sound of haze gaze tbh
19:20
<
ikskuh >
blick is "look" as in "the look she gave me"
19:20
<
leeward >
I thought this was a no-hazing club.
19:21
<
ikskuh >
but: there's a german word "Dunstkreis"
19:21
<
ifreund >
like a ring of haze?
19:21
<
ikskuh >
which dict.cc translates as "society" which is right, but also completly wrong :D
19:22
<
ikskuh >
dunstkreis is the set of people with which you have regular contact
19:22
marnix has joined #zig
19:22
<
ikskuh >
like your friends, workplace, ...
19:22
<
ikskuh >
so the question "to which dunstkreis do you belong?" could be answered with "I'm one of thoe Zig people"
19:22
<
ifreund >
ok kreis makes sense, but I don't get the dunst part
19:23
<
ikskuh >
i cannot explain it more, it's a pretty specific german word
19:23
<
ikskuh >
but the bigger project is called "dunstwolke", so "misty cloud"
19:23
<
ikskuh >
which is a kind of (computer) cloud which is defined by your immediate (computer) surrounding
19:23
<
ikskuh >
and dunstblick is just a variation of dunstwolke
19:24
<
ikskuh >
"ikskuh --explain dunstblick" completed
19:25
<
ifreund >
oh I understand what a dunstkreis is now, just don't follow the logic behind the Kompositum
19:26
<
ikskuh >
aah, well. the project is way bigger than dunstblick alone ;)
19:26
<
ikskuh >
so dunstblick itself doesn't really make sense :D
19:27
<
ifreund >
no, but it sounds cool
19:28
<
ikskuh >
that's what i figured as well
19:28
<
ikskuh >
so i've gone with it :D
19:30
<
ikskuh >
i wonder if the @fieldParentPtr stuff is good enough to do a UI library with it
19:30
<
ikskuh >
without getting too inconvenient
19:31
<
andrewrk >
ikskuh, have you seen the foo.cast(T) pattern?
19:32
<
andrewrk >
it's pretty reasonable IMO
19:32
<
ifreund >
i mean, gtk is written in C
19:32
<
ifreund >
I'm sure you can pull something off
19:33
Nypsie has left #zig ["WeeChat 2.8"]
19:35
<
andrewrk >
there are 2 functions in the above example because I introduced a non 1-to-1 correspondance between the type and the tag
19:35
<
ikskuh >
andrewrk, no i haven't yet
19:36
<
andrewrk >
in practice it looks like: if (widget.cast(ScrollBar)) |sb| sb.moveToBottom();
19:36
<
andrewrk >
or just widget.cast(ScrollBar).?.moveToBottom();
19:37
<
andrewrk >
honestly starting to think about closing #130 with no plan for dynamic dispatch at all
19:38
<
andrewrk >
if somebody made a GUI lib with reasonable API it would seal the deal
19:40
nikita` has quit [Quit: leaving]
19:40
<
shakesoda >
i've been doing gui where the widgets are just enum/int typed with a unique id/index for whatever data they have. it doesn't have different actual types for widgets, they are just layout items
19:42
<
shakesoda >
i should port that to zig
19:47
<
andrewrk >
I think I've solved result locations in a clean way in self hosted
19:54
<
andrewrk >
meanwhile azure is shitting its pants
19:54
<
ikskuh >
<andrewrk> if somebody made a GUI lib with reasonable API it would seal the deal
19:54
<
ikskuh >
i am afraid :D
19:55
<
ikskuh >
it might be my job to kill #130
19:58
<
ifreund >
do it! in the words of andrew kelly, "abstraction is overrated"
20:03
<
shakesoda >
needless abstraction is the cause of most software complexity
20:06
riba has quit [Ping timeout: 260 seconds]
20:17
marnix has quit [Ping timeout: 246 seconds]
20:22
<
pixelherodev >
andrewrk: result locations solved
*already*?! *Wow* you're moving quickly :P
20:22
<
andrewrk >
yeah hope you're ready for some "fun" rebasing :P
20:22
* pixelherodev
sobs
20:22
<
pixelherodev >
Mind giving me like
20:22
<
pixelherodev >
six hours to finish up the PRs before you merge that?
20:22
<
andrewrk >
7 files changed, 972 insertions(+), 695 deletions(-)
20:22
<
pixelherodev >
Wait no, that'd just mean
*you'd* have to rebase
20:22
<
pixelherodev >
Whelps
20:23
<
andrewrk >
0 codegen.zig changes fwiw
20:23
<
andrewrk >
it's mostly in astgen.zig and related
20:24
<
ifreund >
man I can't wait to get to use stage 2
20:25
<
pixelherodev >
Oh sick
20:25
<
pixelherodev >
That means I probably don't have to rebase
20:25
<
pixelherodev >
No linker changes?
20:25
<
pixelherodev >
Perfect
20:26
waleee-cl has joined #zig
20:28
<
pixelherodev >
ikskuh: Okay stupid question, but do you mind encoding an instruction for me? :P
20:28
<
ikskuh >
yeah, i'm at the phone right now :D
20:28
<
ikskuh >
ask some binary editor or something :D
20:31
dingenskirchen has quit [Remote host closed the connection]
20:31
dingenskirchen has joined #zig
20:36
<
pixelherodev >
ikskuh: heh, heh, uh, yeah
20:36
<
pixelherodev >
Shouldn't 0x088E (little endian) be a load16???
20:37
<
pixelherodev >
I wanted to do a proper encoding (`@bitCast(u16, Instruction{})`) but it hits a TODO in stage1 :(
20:37
dingenskirchen has quit [Quit: dingenskirchen]
20:37
<
pixelherodev >
It can't do that at compile time I think
20:37
<
pixelherodev >
Might work if I make it var?
20:37
* pixelherodev
shrugs
20:38
dingenskirchen has joined #zig
20:40
<
pixelherodev >
Huh, yep!
20:40
<
pixelherodev >
Woot, it works now!
20:44
<
pixelherodev >
Woot, it fully works!
20:44
<
pixelherodev >
Generates a valid ELF, which the emulator can run!
20:46
<
ikskuh >
what was the test program?
20:46
<
pixelherodev >
Pushed ;)
20:46
<
pixelherodev >
You can take a look your - oh wait no
20:46
<
pixelherodev >
It's not in the test suite
20:46
* pixelherodev
facepalms
20:46
<
pixelherodev >
Let me just fix that
20:46
<
pixelherodev >
It calls a function killEmulator() which is `asm volatile("undefined0");`
20:48
<
andrewrk >
tfw you have a ZIR instruction called coerce_result_block_ptr
20:51
<
pixelherodev >
I love that the GOT calls are one instruction :)
20:51
ur5us has joined #zig
20:52
<
andrewrk >
honestly I think our debug builds are going to have quite reasonable perf
20:52
<
pixelherodev >
Definitely
20:52
<
ikskuh >
andrewrk: that's good to hear :)
20:52
<
pixelherodev >
Uhh, `LLVM ERROR: 64-bit WebAssembly (wasm64) is not currently supported` ??
20:52
<
andrewrk >
wasm64 doesn't exist
20:52
nvmd has joined #zig
20:53
<
pixelherodev >
Right, I have no idea why it thinks it should be targeting that
20:53
<
andrewrk >
the CI gods are angry today
20:53
<
pixelherodev >
Maybe it's because I messed up when adding to std.Target?
20:55
<
pixelherodev >
I'd run the tests locally but potato
20:58
KKRT has quit [Quit: KKRT]
21:01
<
ikskuh >
pixelherodev: what is os "spu_2"?
21:01
<
pixelherodev >
Wait what?
21:01
<
pixelherodev >
I didn't mark it as an os!
21:02
<
ikskuh >
wait, i've read that wrong
21:02
<
pixelherodev >
In self.os.tag?
21:02
<
pixelherodev >
The switch thingy there?
21:05
nvmd has quit [Quit: Later nerds.]
21:05
nvmd has joined #zig
21:06
<
ikskuh >
pixelherodev: btw, we can just integrate a 100% zig written assembler for spu mk2 :D
21:07
nvmd has quit [Client Quit]
21:08
nvmd has joined #zig
21:17
<
ikskuh >
ifreund: still awake for some testing?
21:17
<
ifreund >
ikskuh: lets do it, cloning the repo
21:17
<
ikskuh >
wait a sec
21:17
<
ikskuh >
still ripping out stuff :D
21:18
<
ikskuh >
less code → better
21:18
<
ifreund >
of course
21:19
<
ifreund >
I think river should never break 10k LoC
21:20
<
ifreund >
I'm at 4k right now but am missing a few major features
21:21
<
ifreund >
suckless wouldn't be all that impressed I know, but it significantly less that e.g. sway
21:22
<
ikskuh >
i already have 6018 LOC C++ for dunstblick and 11496 loc zig :D
21:24
<
fengb >
8k on Fundude D:
21:24
<
fengb >
Oh wait, 4k is a giant test
21:25
<
ifreund >
oh, yeah I guess river might be a little under 4k then if I exclude tests
21:26
<
ifreund >
I don't have very many though to be honest
21:26
<
ikskuh >
ifreund: you can clone now, only external dependency is sdl2, don't forget to checkout submodules
21:26
<
fengb >
I'm sad that my toy emulator has as many lines as your real project :(
21:28
<
ifreund >
well, my line count is going to jump up a good bit when I implement damage tracking
21:28
<
ifreund >
complexity as well
21:29
<
ikskuh >
i'm excited to see if it will build on first try or not :D
21:30
<
ikskuh >
and even more:
*work*
21:30
<
ifreund >
I think my zig build is a few days old
21:30
<
ikskuh >
or too new :D
21:31
<
ikskuh >
i'm going to update mine and check
21:31
<
ikskuh >
okay, i'm at current from website
21:32
<
ifreund >
just rebuilt master and it seems to have made it to the c++ code
21:34
<
ikskuh >
okay nice!
21:34
<
ikskuh >
you did "zig build run", right?
21:34
<
ikskuh >
ah, both run and normal build
21:34
<
ikskuh >
open another terminal and start calculator and minimal from the cache dir :)
21:36
<
ikskuh >
but: the zig experience is real :D
21:36
<
ikskuh >
it works :d
21:37
<
ifreund >
minimal seems to work as well
21:37
<
ikskuh >
wonderful :)
21:38
<
ifreund >
yes, running a experimental zig networked gui framework thing inside an experimental zig wayland compositor
21:38
<
ifreund >
andrewrk should be proud of us :D
21:38
<
ikskuh >
with an experimental compiler :D
21:38
<
leeward >
Does wayland itself still count as experimental?
21:39
<
ifreund >
leeward: the core protocol? no. the ecosystem? yes
21:39
<
leeward >
Fair enough.
21:39
<
ikskuh >
ecosystem is definitly experimental
21:40
<
ikskuh >
i'm using it for some time now, but i will probably go back to x11+i3
21:40
Akuli has quit [Quit: Leaving]
21:40
<
ikskuh >
i've lost some valueable parts of my workflow
21:40
<
ifreund >
ikskuh: curious, what in particular?
21:40
<
ikskuh >
screen sharing, mostly
21:41
<
ikskuh >
ad-hoc sharing from any program (obs, discord, jitsi, ...)
21:41
<
ifreund >
yeah that works (i did it for showtime) but is still experimental
21:41
<
ikskuh >
also sway glitches keyboard input
21:41
<
ikskuh >
repeated key presses when none are happening
21:41
<
ikskuh >
broken input states (meta key doesn't react anymore)
21:42
<
ifreund >
interesting, I never noticed any weirdness there in sway myself
21:42
<
ifreund >
I wonder if it would happen in river for you as well
21:43
<
ikskuh >
how often do you send your machine to standby? :D
21:43
<
ikskuh >
it often loses info when awaking from standby
21:43
<
ifreund >
hmm, not regularly
21:43
<
ikskuh >
for me it's the default mode
21:43
<
ifreund >
that'd probably be worth reporting though
21:44
<
ifreund >
It's certianly something that should be solved
21:44
<
ikskuh >
but i cannot reproduce it
21:44
<
ikskuh >
so i can only say "it happens"
21:44
<
ikskuh >
not why, not when
21:44
<
ikskuh >
it's just a gut feeling atm
21:44
<
ifreund >
no fun :(
21:45
<
ikskuh >
and i have no time for making nice bug repots
21:52
<
leeward >
Is there a version of @truncate that chops off the least significant bits?
21:53
<
ikskuh >
truncate + shift :D
21:53
<
leeward >
@intCast(uSmaller, v >> (bigger - smaller)) ?
21:54
<
ikskuh >
@truncate, but yeah :D
21:54
<
ikskuh >
i know that someone once build for android with zig. does anyone remember who that was?
22:00
<
andrewrk >
ikskuh, it was akavel
22:01
<
ikskuh >
because dunstblick needs both a windows and an android client :D
22:01
<
andrewrk >
oh, I'm remembering the wrong thing. I know what you're talking about now
22:01
<
andrewrk >
don't remember that other person
22:02
<
ikskuh >
no worries
22:02
<
ikskuh >
i think i got enough info :)
22:02
<
ikskuh >
i found a nice project building a android apk without java :D
22:02
<
ikskuh >
which is a good starting point
22:10
<
ikskuh >
> Requesting permissions in the JNI "oh you have to do that in Java" or other dumb stuff like that. I am completely uninterested in your opinions of what is or is not possible. This is computer science. There aren't restrictions. I can do anything I want. It's just bits. You don't own me.
22:13
<
ikskuh >
if i get this to compile with "zig cc" instead of the NDK clang
22:13
<
ikskuh >
we can build android apps with zig :D
22:19
doesntgolf has joined #zig
22:23
doesntgolf has quit [Quit: doesntgolf]
22:23
doesntgolf has joined #zig
22:37
cole-h has quit [Ping timeout: 256 seconds]
23:01
dermetfan has quit [Ping timeout: 272 seconds]
23:19
<
andrewrk >
it's not uncommon to see a successful test output this in stage2: [info] (compiler): Update completed in 0 ms
23:19
<
andrewrk >
that's a debug build.