factoriolab
semver-trick
Our great sponsors
factoriolab | semver-trick | |
---|---|---|
192 | 15 | |
424 | 413 | |
6.6% | - | |
8.9 | 0.0 | |
6 days ago | 6 months ago | |
TypeScript | Rust | |
MIT License | Apache License 2.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.
factoriolab
- Space exploration recipes
- Beginner here, is there any tips to make this like way smaller. At this point idek how ima do the other sciences
-
can anyone tell some "golden ratios" for a beginner
Kirk's calc is superseded by https://factoriolab.github.io
-
Graphical item dependency
https://factoriolab.github.io supports many popular factorio mods, if you want a web-based interface
-
Py, but at work.
FactorioLab has some popular mods including Py's up to PyAL, but don't expect it to work at any decent speed, there are just too many recipes, and too many recipe versions.
-
Space exploration calculator???
https://factoriolab.github.io/ has an option for SE. It's like Kirk McDonald's Factorio calculator.
-
(Space Exploration) Am I the only one who finds it impossible to plan out a build without a clear visualization of the production chain like this? And why is it impossible to find charts or tools like this?
I don't know of generic tools, but I know FactorioLab has support for several games, so I assume things behind the scene can be compatible, if you have the correct data dump.
Then I grabbed this sprite sheet by looking at the dev tools page source for https://factoriolab.github.io after I selected the SE mod: https://i.imgur.com/H177ugr.jpg
-
my spread used to make my builds
That's a nice spreadsheet, but you can do that with this website. And probably with less effort.
There is a mod for that, and a mod for that, and a website for that, and another website for that, and a standalone application for that for big modpacks like Seablock and Py
semver-trick
-
Making Rust supply chain attacks harder with Cackle
Let's say crate B depends on crate A with a pinned dependency, and uses one of its types in a public interface.
Crate C depends on them both. It now can't bring in updates to A until B does, and when B updates that's a breaking change, so it better bump its major version.
Take a look at this teick, for example, for foundational crates updating their major version: https://github.com/dtolnay/semver-trick
Now imagine that being an issue every single patxh update.
-
My first year with Rust: The good, the bad, the ugly
A library author concerned about this can use the semver trick. TL;DR: if your current version is 0.42, you can do a 1.0 release, then do a 0.43 release that depends upon your 1.0 release and re-exports all the symbols.
-
Does Rust have any design mistakes?
I mean for all the parts of the standard library that do not change, one could presumably use the semver-trick.
-
Rust is hard, or: The misery of mainstream programming
The semver trick can help with libraries at least when they go to unify the ecosystem. Release new versions that replicate previous APIs in a compatible way while moving to the standard library implementation.
-
This Year in Embedded Rust: 2021 edition
It's called the "semver-trick" [1].
-
The chip shortage keeps getting worse. Why can't we just make more?
The JVM is 114MiB on my machine. A near-minimal ggez program in debug mode is about 100MiB,¹ and ggez is small for a Rust application library. When you start getting into the 300s of dependencies (i.e. every time I've ever got beyond a trivial desktop application), you're lucky if your release build is less than 100MiB.
Sure, I could probably halve that by forking every dependency so they aren't duplicating versions, but that's a lot of work. (It's a shame Rust doesn't let you do conditional compilation based on dependency versions, or this would be a lot easier. As it is, we have to resort to the Semver trick: https://github.com/dtolnay/semver-trick/ — not that many people do that, so it's functionally useless.)
¹: I can get it down to around 8MiB with release mode, lto etc., but that significantly increases the build time and only about halves the weight of the intermediate build files.
-
publishing a forked library with opinionated patches without changing internal crate names.
The semver issue might be possible to mitigate using the semver trick, but at that point it's probably simpler to just get your patches merged upstream.
-
Stable versions of most important community crates
When I hear about the libcpocalypse I think about the semver trick: https://github.com/dtolnay/semver-trick
-
Serde and const generic arrays
From a language/cargo point of view, there is no issue. But the issue arises when you look at the ecosystem. It's really well explained in the semver-trick readme. semver-trick isn't a complete solution to the problem, but rather equivalent to a band-aid (or a hack).
-
David Tolnay - thank you
And on top of all his crates, he's also the origin of the SemVer trick.
What are some alternatives?
FactoryPlanner - A mod for Factorio. Allows you to plan out your production in detail.
yafc - Powerful Factorio calculator/analyser that works with mods
Foreman2 - Visual planning tool for Factorio
factorio-lab-tools - Lua parser to build data and icons for FactorioLab base recipe sets
factorio-blueprint-visualizer - A python library to artfully visualize Factorio Blueprints and an interactive web demo for using it.
FactorioSimulation - Multiple tools for factorio stuff, most notably the belt balancer analyzer.
jira-clone-angular - A simplified Jira clone built with Angular, ng-zorro and Akita
ksp-visual-calculator - Online tool for Kerbal Space Program that helps players determine delta-v requirements for a mission, and what type of comms dishes a certain satellite requires.
drawio-desktop - Official electron build of draw.io
d3-sankey-circular - A fork of the d3-sankey library to allow circular links.
lang-team - Home of the Rust lang team
cargo-llvm-lines - Count lines of LLVM IR per generic function