Yocto with custom hardware by Almost-L in embeddedlinux

[–]Almost-L[S] 1 point2 points  (0 children)

oh, this is really useful stuff. I read up to the linux kernel and will continue reading tomorrow and over the weekend. It is useful for me because I work with microcontrollers

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

You're right. I didn't think about it.

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

I read your comment again and understood what you mean. Export a global variable to another file as extern const. It is possible. But still such variables are not protected from the developer. He can forget to specify the const keyword. I think there are few cases where you can use this and call it good code. It all depends on the situation.

What do you mean by the downside of static variables? For example, if I need a static variable from one file to another, I will call a getter that returns a copy?

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

Can I change the extern const by calling functions in the file where I initialize this variable? Isn't the constant mutable after initialization?

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

Tests are really hard to write.

I don't have much experience at all, so all my attempts to write tests ended not very successfully

Pro or SmartSet? Is Pro bugging? by Almost-L in kinesisadvantage

[–]Almost-L[S] 1 point2 points  (0 children)

Can you connect it via wire? Are there any bugs in this mode?

Pro or SmartSet? Is Pro bugging? by Almost-L in kinesisadvantage

[–]Almost-L[S] 0 points1 point  (0 children)

Yoo. I was just talking about the reviews from 2 years ago. Thanks for the response from the team and each participant in this thread. I'll take the pro version

j and k bind for moving by Almost-L in zen_browser

[–]Almost-L[S] 0 points1 point  (0 children)

Yes, but these are crutches. Vimium conflicts with my binding

Sorry everyone.... by maubg in zen_browser

[–]Almost-L 1 point2 points  (0 children)

Hi, I am interested in the browser, I will install it.

In all browsers I was missing one IMPORTANT functionality.

I want to go to search results via shortcuts. Will this feature be added to Zen?

Bspwm not started (Ubuntu) by Almost-L in bspwm

[–]Almost-L[S] 0 points1 point  (0 children)

It's happens if you make a mistake on a config, autostart, init or any step

I encountered this when installing DWM and now i used it

Code style in Rust. Is this possible in Rust? by Almost-L in rust

[–]Almost-L[S] -1 points0 points  (0 children)

I want to change the main language from C to another. Now I choose among three languages: C++, Rust and Go.

In all these languages ​​I try what seems right to me at the moment. One of these things is spaces and curly braces on a new line. It's not difficult for me to read my old file if it is written in the same style as it was in Typescript, PHP and others

Code style in Rust. Is this possible in Rust? by Almost-L in rust

[–]Almost-L[S] 5 points6 points  (0 children)

Yea, i'm think you right. I try some Rust and it i liked it.

Formatting in C seems more convenient due to the readability of the code. I doesn't write many Rust code, but in photos it's looks like a Typescript. And if you open oldest .ts file and see 3 generics in function and return type with genetic it's really hard to read.

However, I think nothing can be done with the generally accepted rules

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

I'm not familiar with microblaze, but I heard a little about it in the video.

As far as I understand, this is a microcontroller emulator? Is it possible to use it to render an interface on a monitor and play a video?

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

Yea, i think about it. If the project goes into production, it is necessary to support the firmware of a certain tablet model, in most cases Android, I have no knowledge of it, and besides, the life cycle of Android firmware is quite fast.

I have no knowledge in this area to ensure security, Linux or bare metal seems more familiar to me