icecream
qmk_firmware
icecream | qmk_firmware | |
---|---|---|
41 | 1,589 | |
8,504 | 17,159 | |
- | 1.5% | |
5.4 | 10.0 | |
about 1 month ago | 1 day ago | |
Python | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
icecream
-
Show HN: Dbg.h: C macro for quick and dirty print debugging
Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.
https://github.com/gruns/icecream
- When you are looking at someone else's code base and you want to make a copy of it to put in a million print statements to understand it, what is good practice in terms of version control and naming the copy?
-
Pythoneers here, what are some of the best python tricks you guys use when progrmming with python
Icecream is great for this. Just calling ic(foo) gives you the same thing on stderr.
- What's you fav ice cream??
-
What Python debugger do you use?
I get around this by using loguru (a wrapper around python's logger), so I get information like the calling function and line number with my debugging statements. I don't use it these days (and actually built something extremely similar around the same time), but icecream is another alternative that facilitates debugging-by-print
- Top 3 hardest things with debugging as a beginner?
-
Does anyone use python debugger?
Most of the time I simply use icecream (a much better version of print()), and sometimes, I use pudb (a visual debugger) for tougher/trickier bugs.
-
Let's do a war
We also have ice cream
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
I found icecream in a post on this subreddit and still use it as an alternative to print for debugging.
-
A script for print debugging python code
In the future using something like icecream might be interesting as well.
qmk_firmware
-
00Key a 75% Keyboard
I only use keyboards running QMK or ZMK, so:
My Caps Lock key is a Control/Escape key (when tapped it behave like a Escape, when hold it's Control), and my left Control is a one shot layer switch key [1], which means I tap LCtrl once, and then press Caps Lock + 5 to get Ctrl+F5. Doable with single hand and more ergonomic as I have an unusually small hand.
[1] https://github.com/qmk/qmk_firmware/blob/master/docs/one_sho...
-
Principles for Keyboard Layouts (2022)
I agree that reduced finger movement is a crucial step in achieving typing efficiency. This is nicely solved by mod tap modifiers in QMK/ZMK[1] where key acts as a char when tapped and as a layer while pressed.
[1]: https://github.com/qmk/qmk_firmware/blob/master/docs/mod_tap...
- Lkbm: LED-Key BitMasks to Control the Ploopy Nano Trackball
-
QMK and Keyboards
Separate wireless controller, see the glue code at [0]
[0]: https://github.com/qmk/qmk_firmware/compare/master...nuphy-s...
-
Debugging a Failing Hotkey
If you have a keyboard that runs QMK firmware[0] with the VIA[1] feature enabled[2], then there is a convenient testing app available from the same place you customize your keys [3].
[0] https://qmk.fm/
- How to make 2 or more layers become default ON with key
-
Just setting up my first corne layout. It will take a while for me to get used to this wow... It's taking so long to type. Attached is my layout, and I mainly use c# on visual studio. Any concerns/advice/suggestions are welcome. It will take a while for me to reply on this thing though.. haha..
I made a layout that I'm happy with. Spanish is my native language, so it has characters like the accents and 'ñ', but it's meant to be used for programming as well. Visual Studio uses a lot of Ctrl and Ctrl + Shift shortcuts, so I left them in the same place as the default Corne layout so I can press them both with my pinkie finger. Perhaps some of the ideas are useful to you.
-
Adafruit Feather RP2040 with USB Type A Host as a QMK converter board?
Also, it would be possible to do this for the RP2040. However, it needs some work to get working. but for example: https://github.com/qmk/qmk_firmware/pull/20999
-
If anyone knows of a good tutorial on how to make this tft display useful on a board controlled by an rp2040 and flashed with qmk configurator, I would be most grateful if you could point me in that direction. Gracias!
Ok, it's an ST7735, not too different from the ST7789. You should be able to get running by looking at their files in the QMK repo and going from there. You should also check their resources page.
- Keyboard missing from QMK MSYS.
What are some alternatives?
pdb++
zmk - ZMK Firmware Repository
Loguru - Python logging made (stupidly) simple
kmk_firmware - Clackety Keyboards Powered by Python
py-spy - Sampling profiler for Python programs
vial-qmk - QMK fork with Vial-specific features.
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
kmonad - An advanced keyboard manager
remote-pdb - Remote vanilla PDB (over TCP sockets).
pico-examples
PySnooper - Never use print for debugging again
zmk-config - ZMK Configuration