265 karma · joined May 25, 2018 (8y ago) · 26 submissions
comment 10mo ago · link · parent
4.
Ticker: Don't die of heart disease(myticker.com ↗)
600 points · by colelyman · 1y ago · 488 comments
comment 1y ago · link · parent
Having used Graphviz for fairly complex visualizations I was initially shocked that someone would rewrite it themselves. Then I saw the breakdown of the algorithm and realized it may not be as complicated as I first thought.
All that being said, as a general rule it is hard to know what the hidden complexities may be until you are finished implementing the algorithm.
comment 1y ago · link · parent
comment 1y ago · link · parent
In the past I have also used it to generates quotes (in terms of finances, invoice etc.). It was neat because all of the logic for adding up the subtotal was written in the language (and was fairly easy to understand). I can imagine trying to do that logic in LaTeX…
comment 1y ago · link · parent
While I do think that deleting the whole thing is extreme, I can imagine that there is a level of catharsis experienced by that.
Lately I have subscribed to Oliver Burkeman’s (author of “4,000 Weeks”) line of thinking where life, and subsequently thoughts, are more meant to be experience rather than optimized. For me, I have seen a negative drop in “life enjoyment” when I have tried to capture everything, and have yet to realize the results and even stick with it consistently (which may be the reason for not seeing the positives).
comment 2y ago · link · parent
comment 2y ago · link · parent
I agree that this is a tooling problem, but magit is a breath of fresh air in many ways (including verbose commit messages).
comment 3y ago · link · parent
comment 3y ago · link · parent
We used it to create models of networked biological systems (e.g. the immune system, gene regulatory networks, etc.). The network topology was constructed from mined academic literature and then the model was constrained using data. The great thing about using MiniZinc was that it could propose multiple models with the same or similar “accuracy” to the data. You would then have an ensemble of models from which to make predictions (i.e. how does a drug affect the system).
We would have MiniZinc files that were 10s or 100s of MBs and would run for days. Sometimes they would be unsatisfiable within a few seconds, other times within hours. Many of the solvers are single threaded, and those that are multithreaded don’t seem to be much more efficient with more cores.
MiniZinc is very difficult to debug and the paradigm shift can be jarring coming from procedural languages. However, I am grateful it exists and for the work that many have put into it. Similar to the train yard comment, we used Python to construct the MiniZinc models and then submitted them to the solvers via the minizinc-python package which is well written and meek maintained.
comment 5y ago · link · parent
20.
Adaptive Simulated Annealing (ASA)(github.com ↗)
2 points · by colelyman · 6y ago · discuss
comment 6y ago · link · parent
- MiniZinc, https://www.minizinc.org/ a constrain set programming language that can also optimize an objective
- Picat, http://picat-lang.org/ a general purpose language that specializes in logic and optimization
comment 8y ago · link · parent
Also, I have found Doom to be much quicker (takes about 2 seconds to load, not using server/client) and less buggy than Spacemacs. I would highly recommend giving Doom a try!