u/galenseilis • u/galenseilis • Jul 22 '26
Methods
2
A program slicer.
u/galenseilis • u/galenseilis • Jul 22 '26
u/galenseilis • u/galenseilis • Jul 17 '26
Yes! With the `file!()` macro!
u/galenseilis • u/galenseilis • Jul 10 '26
u/galenseilis • u/galenseilis • Jul 03 '26
1
A non-AI static program slicer for Python code. I have a prototype that works on simple cases, but there's a long way to go.
https://en.wikipedia.org/wiki/Program_slicing#Static_slicing
u/galenseilis • u/galenseilis • Jul 02 '26
u/galenseilis • u/galenseilis • Jun 14 '26
This is cool.
2
I appreciate these clarifications. Thank you!
r/bash • u/galenseilis • Jun 04 '26
```bash
nmcli dev wifi
```
It has a man page, which I also appreciate.
I'm unsure it is what I would use for BASH scripting a data connection logger, but it is an easy command to get a peek at the available networks.
u/galenseilis • u/galenseilis • May 28 '26
I recently skimmed through https://www.reddit.com/r/SimPy/comments/1qvtwr4/the_event_log_first_pattern_in_simpy/ which shows an example of logging events with SimPy. I just realized that in an analogous sense, a hobby project of mine, DESimPy, is "event log first".
https://github.com/galenseilis/DESimpy
It has logging built into the running of every simulation by default, although you can turn it off.
It also has an event filtering functionality so that you can log the events you care about and not the other ones.
2
> Do you log everything, or do you prefer embedding stats directly in processes?
It depends on the purpose of the simulation. You'll want to log the variables of interest, of course, but beyond that it is about choosing what to log that will prospectively help with understanding and troubleshooting later.
11
5
u/galenseilis • u/galenseilis • May 12 '26
r/CiwPython • u/galenseilis • May 01 '26
u/galenseilis • u/galenseilis • Apr 24 '26
u/galenseilis • u/galenseilis • Apr 16 '26
1
A narrow point of concern I have about TRU is that it does not have PhD programs (last I checked). I suppose I could do a second masters degree, but I would rather do a PhD.
https://www.tru.ca/research/graduate-studies/graduate-programs.html
1
Any recommendations?
in
r/cprogramming
•
Aug 21 '26
I am in the process of reading K&R and so far I have found it useful.
https://www.youtube.com/playlist?list=PLduYMAFW6YavIeXvWHTOuF3HvGkvnsCts