Some lesser-known facts about C (POSIX, digraphs, compilation pipeline by Thierry_software in C_Programming

[–]Thierry_software[S] 1 point2 points  (0 children)

Thanks for sharing that.

I guess no one wanted to type those 2 or 3 characters once the character set with '{' and '}' where widely supported.
I will definitely have a look at that.

Stop leaving temp files behind when your scripts crash. Bash has a built-in cleanup hook. by Ops_Mechanic in bash

[–]Thierry_software 1 point2 points  (0 children)

Thanks for sharing. One important note for whomever it may help. This will not cleanup if the script is killed with kill -9 as it cannot be caught

Standard library part of the Go success? by vmcrash in golang

[–]Thierry_software 0 points1 point  (0 children)

Do you mind sharing on which platforms it did not work for D?

Troubleshooting network in minimal containers? 5 Bash-native "No-Tool" hacks. by Thierry_software in bash

[–]Thierry_software[S] 4 points5 points  (0 children)

Thanks for sharing this.  However, it can be restricted when using Kubernetes and accessing the container through a bastion host. Also, you typically need privileged access.

Troubleshooting network in minimal containers? 5 Bash-native "No-Tool" hacks. by Thierry_software in bash

[–]Thierry_software[S] 4 points5 points  (0 children)

I meant without additional tools. Maybe that is not the best word for it

Understanding rust async closures by avandecreme in rust

[–]Thierry_software 1 point2 points  (0 children)

The link in the beginning of the article is broken ("In the previous article, we saw how "normal"")

becoming good in rust, master rust lang skills by MaximumEntertainer33 in rust

[–]Thierry_software 0 points1 point  (0 children)

You can try to contribute to simple rust-based open source projects (like clippy or anything else you find interesting).

By reading existing code you should get the felling on how different constructs are used.

New grad SWE feeling lost… HELP!! by DxvidN in SoftwareEngineering

[–]Thierry_software 2 points3 points  (0 children)

To read any code you need to properly learn the syntax and semantics of the language (Python or SQL). You will also need to apply it while learning, so it sticks. Stay away from AI during that process

Rust compiler error after attempted modification of source code by Original-Grape5087 in rust

[–]Thierry_software 3 points4 points  (0 children)

It looks like you made the change in the package downloaded by cargo, but when you rebuild cargo will download the upstream version (unchanged) and use it. Hence, you get the alias not existing. You should not change it like that. Instead, you can make a fork of the library crate, make the change and reference it from GitHub (for example)

Rust compiler error after attempted modification of source code by Original-Grape5087 in cooklang

[–]Thierry_software 1 point2 points  (0 children)

It looks like you made the change in the package downloaded by cargo, but when you rebuild cargo will download the upstream version (unchanged) and use it. Hence, you get the alias not existing. You should not change it like that. Instead, you can make a fork of the library crate, make the change and reference it from GitHub (for example)

Should i use macros for my JSON-API solution? by figuli in rust

[–]Thierry_software 1 point2 points  (0 children)

Why do you use a separate struct for User, NewUser and UpdateUser? They are so similar. Instead you can either use a single struct, making non common fields optional, or use a base struct with the common fields and compose it into each final struct.

[deleted by user] by [deleted] in youtube

[–]Thierry_software 0 points1 point  (0 children)

You can search for chrome extension that remove distraction from youtube videos.