poulette
icecream
poulette | icecream | |
---|---|---|
3 | 41 | |
181 | 8,480 | |
- | - | |
0.0 | 5.4 | |
about 3 years ago | about 1 month ago | |
JavaScript | Python | |
MIT License | MIT License |
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.
poulette
-
Hacker News top posts: Mar 30, 2021
Show HN: Poulette – A Color Palette GUI\ (13 comments)
-
Show HN: Poulette – A Color Palette GUI
Really cool!
So it looks like you're combining Delauny triangulation for the points with linear interpolation along the created triangles using Barycentric coordinates? Did I get that right? Pretty elegant solution (not to mention all the other little details that went into designing the interface).
It still looks a bit strange along the edges sometimes, and glancing at the source code it seems like you're mixing in linear RGB[0] so it's not that. I guess that just means that I'm looking at a saddle point in the color space?
(this made me wonder how smoothing functions would work for triangle meshes (that aren't secretly quads split into two triangles), and a quick search suggests that could be quite a deep rabbit hole to fall into)
[0] https://github.com/grgrdvrt/poulette/blob/main/src/utils/col...
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.
What are some alternatives?
rose-pine-theme - All natural pine, faux fur and a bit of soho vibes for the classy minimalist
pdb++
muboard - Self-rendering and distributable mathematics chalkboards
Loguru - Python logging made (stupidly) simple
py-spy - Sampling profiler for Python programs
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
remote-pdb - Remote vanilla PDB (over TCP sockets).
PySnooper - Never use print for debugging again
pyflame
django-debug-toolbar - A configurable set of panels that display various debug information about the current request/response.
winpdb - Fork of the official winpdb with improvements
profiling