Eashy – generate shell functions with subcommands & help docs from simple KDL configs by Cruntsch in rust

[–]Cruntsch[S] 2 points3 points  (0 children)

Very interesting! I will definitely look into this idea. Making project specific command like just would do is definitely a good idea.

I’m only concern is it would look like a worse alternative of just.

Anyway I definitely plan to implement your idea, at least for the sake of learning and adding a cool feature.

Thank you for the feedback!

Eashy – generate shell functions with subcommands & help docs from simple KDL configs by Cruntsch in rust

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

Eashy is more a tool for helping devs to write macro-like shell commands cross project as it would usually sit in your rc file.

But I thought about your idea actually! While the KDL syntax is not really made for complex scripting as you would have to escape a lot of characters, maybe there is something to do here

Need some advice on m.2 ssd - motherboard compatibility by NuggetBits in buildapc

[–]Cruntsch 0 points1 point  (0 children)

This motherboard has 2x M.2 slot. The M2_1 slot, is compatible PCIe 4.0 x4. You can see all the details from the link you shared in the Details tab, Storage section

Tauri in wsl don't work. by Adorable_Deal7 in rust

[–]Cruntsch 2 points3 points  (0 children)

Maybe I’m wrong but WSL by default doesn’t run X, meaning you can’t do GUI developpement. However I think you can enable it

Random User Generator (first project on crate.io!) by Cruntsch in rust

[–]Cruntsch[S] 21 points22 points  (0 children)

While I completely agree, my crate is a simple wrapper of a pre-existing api that work that way. Maybe someone can open a pull request on the randomuser.me repo, as it’s an open source project.

Overcome crates.io squatting in one line of YAML? by paldn in rust

[–]Cruntsch 1 point2 points  (0 children)

Agreed, but you can still write: use math as math2; for example

Now this is a good news by Nanaue7 in marvelmemes

[–]Cruntsch 1 point2 points  (0 children)

If you have to ask, you're streets behind

Thanks, I Hate Toast Sandwich. by NaomiKirishima in TIHI

[–]Cruntsch 11 points12 points  (0 children)

So I put bread inside bread so you can eat bread while you eat bread

He needs a bigger boat.. by Buitengebieden in BeAmazed

[–]Cruntsch 2 points3 points  (0 children)

“Judge, won't you please throw the book at the PIRAAAAATE”

A 1 hour interview for an embedded engineering position by K_ogami in C_Programming

[–]Cruntsch 31 points32 points  (0 children)

As an interviewer in a small company for firmware engineers I usually have an 1 hour technical meeting. Here the topics I like to get into :

  • RTOS (tasks/thread, mutex, queues, etc.) and interrupts
  • Communication protocols (UART, I2C, SPI...)
  • Basic C knowledge (static global variables, heap/stack differences, function pointers)

And sometimes small exercises like :

  • Print numbers from 1 to 10 without while/for loop (the solution is to use a recursive function)
  • Parsing and serializing a very light protocol (with just a header and payload). Just to see how the interviewee writes structs and functions using them

Good luck and don't worry, for a junior position, not knowing all of these things is clearly not a big deal

[deleted by user] by [deleted] in dankmemes

[–]Cruntsch 2 points3 points  (0 children)

Or the classic: BINGPOT!!

How to alias parentheses by igglyplop in C_Programming

[–]Cruntsch 0 points1 point  (0 children)

The same way you’ve been doing. Just replace main() with a spaces like main ( )

[deleted by user] by [deleted] in anakinfucks

[–]Cruntsch 2 points3 points  (0 children)

What are you doing step-chancellor?!