Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @CecileTonglet
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @CecileTonglet
-
Prikvačeni tweet
Finally released my second blog post!
About the importance of empowering your team & the motivation that comes with it https://blog.cecton.com/posts/empowering-and-motivation/ …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cecile Tonglet proslijedio/la je Tweet
Rust Ownership by Example by Richard L. Apodaca: https://depth-first.com/articles/2020/01/27/rust-ownership-by-example/ …
#startingHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cecile Tonglet proslijedio/la je Tweet
Rust compiler performance is hard to have meaningful discussions about because: (1) There’s no single part of the compiler which is slow. In fact the compiler is pretty well optimized.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cecile Tonglet proslijedio/la je Tweet
Newish to parenting reckons.. the lack of diverse gender roles in children's books is really disappointing. Maybe there's more to being a woman than being a princess who needs to be saved?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
*cargo git update (not cargo update)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
cargo git delete <branch> To delete a branch and its remote/upstream branch in one go.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Another useful thing: cargo git squash This will soft reset your branch to the parent branch. It's like doing a rebase and squashing everything. This is useful when you want to write the proper commit message before merging.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
When you want to visualize your work: cargo git diff This runs the `git diff` command but only on files that are not Cargo.lock. When you want to stage changes: cargo git add Just like git add, but it will ignore Cargo.lock. All the git add options are available (like -p)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Another cool feature: cargo git update --deps This will not touch at your current Git state. Run `cargo update`. And make a commit with just Cargo.lock. Any changes (stages or not) are kept, no need to stash or anything.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
The main advantage is also that you solve conflicts commit-per-commit like a rebase but without being in a rebase state. And you solve them from bottom to top. The update command will try to update as much as possible without your intervention.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
That's my new workflow. It doesn't use rebase at all and it has the advantage to keep the commits in their original order. Of course it is expected that you squash merge at the end and not merge (otherwise you will have a lot of WIP in master)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
4. You update your branch with master: cargo update This will try to merge as much as possible without conflict. 5. If there is a conflict, the command will stop like a git merge. You resolve and commit. 6. Run again: cargo git update (Run again until it's up-to-date)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
In brief: 1. You create new branches using: cargo git fork my-new-branch origin/master (You want the parent to be origin/master, not just master) 2. (add changes) 3. You commit with: cargo git commit (This will create a WIP, no need to put a commit message for now)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I finished all the commands of my new cargo-git. A Git helper to use with
#rustlang 's cargo. I should make a video or a demo to show how this workflow works but you could use it for some specific helpers and keep your own workflow https://crates.io/crates/cargo-git …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I finished the base for my git nuk.. I mean, git merge command. When it merges, it automatically destroys your local branch and the branch on the upstream
use it with care!!https://github.com/cecton/cargo-git/blob/master/src/commands/merge.rs …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cecile Tonglet proslijedio/la je Tweet
For each consecutive argument in a function I indent 2.5 spaces. Ending braces are indented an amount of spaces equal to the line distance from the start brace - brilliant for visualising the amount of lines in a block.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I'm already using the cargo git diff in place of my cargo diff. Now when I press F10 or F11 on my terminal I don't have the huge Cargo.lock showing up anymorehttps://github.com/cecton/cecile/blob/master/.config/fish/config.fish#L86-L118 …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I think about integrating
@o0ignition0o 's cargo-scout to this tool. So you don't need to add git-hooksPrikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Most common annoying thing: "expected type somecrate::error::Error, got ()" and when you copy-paste it, it says "module somecrate::error is private" and it is actually in somecrate::Error
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
It would be great if rustc displayed the actual importable name of types in the compiler messages. Most of the time I just want to copy-paste them but I can't because the type is behind a private module or it is already imported but uses an alias
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Happy birthday! .... I mean, every time these is a release it feels like a great event with lot of surprise presentshttps://twitter.com/rustlang/status/1222927933532254214 …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
Rustacean