It does. Empty collections, 0, None
How does that work?
This is amazing, thank you! You've given me a lot to think about, not just with respect to this program, but what sort of things to consider when analyzing the behavior of any program. Describing the classes of input like you did was enlightening.
I added a description to OP.
Gambler (PROGRAM 1.3.8) is a simulation that can help answer these questions. It does a sequence of trials, using Math.random() to simulate the sequence of bets, continuing until the gambler is broke or the goal is reached, and keeping track of the number of wins and the number of bets.
What a great read! Thanks so much for sharing this.
In case this thread turns up a google search, or anyone is keeping score, I think I more or less managed to achieve what I wanted by putting this is in my config:
assign [class="Firefox-esr"] "2"
exec wezterm -e cmus
exec swaymsg [app_id="org.wezfurlong.wezterm"] focus
exec swaymsg move container to workspace "10"
exec firefox
the only thing i don't love is that if quit cmus, it closes the window instead of bringing me back to the shell. maybe i have so chain commands or something, i don't know. i'm happy to have made it this far. Another thing is I don't know if it's possible to distinguish between the specific instance of wezterm that's running cmus, and the other one i want running on workspace 1.
I want my terminal to start on workspace one. Since this is default behavior of adding 'exec ' to my sway config, this requirement is satisfied. I also want Firefox to start up on workspace 2. And I would like another terminal to open on workspace 10, but to automatically run cmus, a terminal music player.
If this ever happens to you again, you can try doing ctrl + alt + < F1 - F12>. That will bring up different screens/terminals and its so baked into linux it might have still worked even in that broken state. Still bonkers the installer didn't accept keyboars info though. Its ironic because so much of my linux experience has been about reducing mouse/touchpad use.
If also like to know what site this is so i can avoid it. I DMed you.
Im curious to check it out in case anyone wants to DM me an invite code.
got one! thanks lemmy
Yea I did, it wasn't my intention when I made the post but I basically got the rubber duck experience. I've edited the title.
Hammerheart
0 post score0 comment score
Yes, it was meant to be a self deprecating admission that I have used this unnecessarily verbose command.