mech
cheatsheets
Our great sponsors
mech | cheatsheets | |
---|---|---|
5 | 60 | |
200 | 5,596 | |
2.0% | 1.5% | |
7.0 | 7.6 | |
6 months ago | 2 days ago | |
Rust | TeX | |
Apache License 2.0 | Creative Commons Attribution 4.0 |
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.
mech
-
Reactive Programming Without Functions
There's also https://github.com/mech-lang/mech which is a sort of descendant of Eve https://witheve.com/ . That too seems to be getting close to hiatus. It's a bit of a shame since it seems like quite a nice paradigm for some stuff like GUIs, interactive stuff, and discrete event simulation, but I suppose the paradigm is both a bit obscure and different enough from everything else that it becomes a "boil the ocean" situation where one or a few people try and hack away but aren't really able to get much traction and eventually tired themselves out.
-
What features would you want in a new programming language?
You should take a look at the language Iām developing, Mech: https://github.com/mech-lang/mech
-
How do you think of concurrency and parallelism and what would your dream syntax be for it?
I'm working on a language called Mech (github.com/mech-lang/mech) that is semantically parallel and asynchronous first. You can write something like this:
-
Mech Lang Spring Update: On the Road Toward Beta!
Hi everyone. I've posted here a couple times about my language Mech, which you can find here. I've just put together an update which I hope this community will find interesting!
-
Frustration: One Year with R
> HN readers - do you have an "up and coming" language that you think has better structured the fundamentals from R, that you hope will someday have enough capabilities you can use it instead of R?
Hope is the operative word here!
I'm writing a language to compete in this area. It's called Mech and I'll be releasing the first beta in October. You can think of it like Matlab + Excel. It's very fast, has default-parallel semantics for operators and functions, and supports full interactive coding with no startup/compilation latency issues. It's meant for robots, but I've also designed it to be a better Matlab, and I think it should take on R handily. Fair warning, it's public alpha now so error messages are sparse and the happy path is narrow.
https://github.com/mech-lang/mech
cheatsheets
-
Tools a Data Scientist should know:
If you're an R user, stringr + its cheatsheet gets you very close to remembering what to do without needing to look further!
-
JSON to PDF Magic: Harnessing LaTeX and JSON for Effortless Customization and Dynamic PDF Generation
For more information on how to use ggplot2 and create charts consult the ggplot2 official page or the ggplot2 cheat graphic.
-
Best packages to learn?
I'd suggest you have a look at cheatsheets (or download them from GitHub) if you want to get to know your way around a package or set if functions, it saves you a lot of time.
-
How do I make these shapes (pictured below) in ggplot?
You could use geom_hline and geom_vline, geom_abline, or geom_segment for this. (The ggplot cheat sheet is very useful for answering these kinds of questions, BTW.)
-
Why does my scatter plot look like this?
I can't say for sure because I don't know what your ultimate aim is for your visualization. Check out the cheat sheet for ggplot2 here.
-
Import from Excel
Finally just do your analysis. You should also should give a try and see the cheat sheet for data importing on the tidyverse package.
-
[Request] How to best visualize percentages with R?
That said, when Iām trying to come up with an interesting way to visualize data, I find the ggplot cheat sheet very helpful: https://github.com/rstudio/cheatsheets/raw/main/data-visualization-2.1.pdf
-
Need help with variables
Here's a cheat sheet: https://github.com/rstudio/cheatsheets/blob/main/strings.pdf
-
Data manipulation in R
The cheat sheet of the stringr package should give you good overview of string manipulation/ regex in R.
-
I'm trying to recreate this plot but I keep failing
I would very highly recommend that rather than trying to get started by translating an existing graph, you check out some documentation about ggplot first. If nothing else, the ggplot cheat sheet from RStudio should help explain what the component parts of the code are, and that might help you figure out what you actually want to do.
What are some alternatives?
Frustration-One-Year-With-R - An extremely long review of R.
tidytuesday - Official repo for the #tidytuesday project
ggplot2-book - ggplot2: elegant graphics for data analysis
forcats - šššš: tools for working with categorical variables (factors)
COVID-19 - Plots and analysis relating to the pandemic
mostly-adequate-guide - Mostly adequate guide to FP (in javascript)
tidyr - Tidy Messy Data
ggplot2 - An implementation of the Grammar of Graphics in R
tokay - Tokay is a programming language designed for ad-hoc parsing, inspired by awk.
reveal.js - The HTML Presentation Framework