Fix “OBS did not shut down properly during your last session” in Linux
OBS is awesome program but sometimes boring because it is giving this error. Let me show fix error:
OBS is awesome program but sometimes boring because it is giving this error. Let me show fix error:
When we work on a project we need facilitator functions for strings. In rust we can make lots of things on strings (for example getting length, concataneting strings, split, trim etc) but unfortunatelly substring feature isn’t exist. When we make investigation then almost everybody suggest to use range operator over Devamı…
Programming history is too old (about half of the century or a little bit more) and lots of experienced and highly talented programmers, engineers and mathematicians are invented new paradigms and methods. Now we will look to imperative and declarative programming paradigms. When we write code we’re try to solve Devamı…
As you know Rust is null-safe language and no garbage collection. It has some pointers which have some rules for preventing shooting our foot. We can’t use pointers directly as we wish in Rust, we must use them behind of some types, these types have special name: Smart Pointer. Actually Devamı…
Generics are powerful thing for all languages. With generics you can create awesome algorithms. Rust has all requirements about generics and with that Rust took it one step further. So what the hell is where thing? Just imagine that, you want to use an Iterator as generic but Iterator‘s Item Devamı…
Do you really want to Mutex for getting mutable reference to inner value of Arc? Actually no. You can use Arc::make_mut(&mut arc_clone) method. Let us code something: The output will be like that: As you see we can get mutable reference to inner value of Arc without Mutex or RwLock. Devamı…
This issue took me 6 months to figure this out. Adding explicit lifetime to the biggest function is what will make it clear to the rust compiler that a and b need to stay in scope just as long as return value. so once we add lifetimes to biggest we Devamı…
Every developer has own settings for each IDE. Because everybody have different habits and experiences. Now let me share my own settings for vscode. The config file path: .vscode/settings.json { “editor.tabSize”: 4, “search.exclude”: { “**/.git/objects/**”: true, “**/.git/subtree-cache/**”: true, “**/node_modules/*/**”: true, “**/bower_components”: true, “**/*.code-search”: true, “**/dist/*/**”: Devamı…
Hi, in linux there isn’t auto update feature in vscode. Because of that we have to update it ourself. This is the easiest and fastest way for updateing vscode: wget ‘https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64’ -O code_latest_amd64.deb sudo dpkg -i code_latest_amd64.deb Happy coding…
Hi folks, I hope everything doing well. Novadays I’m using Ubuntu with Cinnamon desktop environment and I’m receiving a strange problem. The problem is keyboard ‘speed’ and ‘repeat’ settings resetting after sleep. This is so annoying problem but I found a fix to this. Now I’m going to explain that how Devamı…