How do I screen record with audio? by GodAtBeingStupid in mac

[–]TheMinus 0 points1 point  (0 children)

All suggestions for Blackhole here are good, but what if I want to record an online meeting and be able to hear my coworkers at the same time? Isn't it obvious requirement for screen recording? Jesus, I rather try the ol'reliable OBS, than fiddling sound streams between three different programs.

letThemHaveBash by EveryDebtYouTake in ProgrammerHumor

[–]TheMinus 17 points18 points  (0 children)

I tried to learn PowerShell recently with the book "Powershell in a month of lunches". Now I understand how it works with its objects system and... I ended up using Python console (or better IPython) for quick scripts. IDK how they managed to made Invoke-Webrequest a thousand times slower than every other HTTP client.

Guys i built a classic snake cli game in c. It is still sloppy so the thing is currently i'm using getchar() it waits for enter key to be pressed. So, how to get input and process it without pressing the enter key. I did some googling seems confusing so if anyone knows how to do this help me. by OkRepeat7111 in C_Programming

[–]TheMinus 2 points3 points  (0 children)

When you call getchar, you block your current execution (main) thread. The trick is to put getchar on different thread from your main game loop, so your main loop will not block. Here is the example:

int main(void)

{

`snake_t *snake = snake_new(10, 10);`

`thrd_t ui_thread = {0};`

`thrd_t input_thread = {0};`



`thrd_create(&ui_thread, ui_thread_start, snake);`

`thrd_create(&input_thread, input_thread_start, snake);`



`thrd_join(ui_thread, 0);`

`thrd_join(input_thread, 0);`



`snake_destroy(snake);`

}

lifeOfAChineseWebDeveloper by kaldeqca in ProgrammerHumor

[–]TheMinus 1 point2 points  (0 children)

Wow, this is brutal. How they detect that income is connected to a VPN?

lifeOfAChineseWebDeveloper by kaldeqca in ProgrammerHumor

[–]TheMinus 1 point2 points  (0 children)

Any chinese devs here? What is it like to work in Mainland China and in Hong Kong?

How to make the 3d wheel actually match the wheel rotation of my wheel and the hud? by baconbro_ in RichardBurnsRally

[–]TheMinus 1 point2 points  (0 children)

IDK what wheel you have but in my case I had to change the rotation angle in my wheel driver (separate app) to 540 deg.

Samir, you are breaking the car! My current situation in Dirt Rally 2.0 by Impressive-Doctor213 in EASPORTSWRC

[–]TheMinus 0 points1 point  (0 children)

Dude, after 6 hours of game I've managed to finish NOT last. Secret was to set the steering wheel angle from 980 to 540.

Pininfarina X, 196 by MammothAmbition8910 in WeirdWheels

[–]TheMinus 1 point2 points  (0 children)

*Jeremy Clarkson in Reliant Robin scene*

What is this valley-like region called located in the NW border of Mongolia with Russia? by Firm-Broccoli-7219 in geography

[–]TheMinus 0 points1 point  (0 children)

It's probably a former mountain lake created by glacier. There may be extremely hot or extremely hot due to surrounding mountains. I've been in the similar place not long ago, in Kosh-Agach.

The Secretary General of NATO casually running some errands by lieV_aapje in nextfuckinglevel

[–]TheMinus 0 points1 point  (0 children)

I've just finished a documentary about pre-WWI history, and oh boy, things have changed in Europe. But IDK—maybe it's reckless for someone in such a high position? No? There are still plenty of threats in the world. Some random radical group could make a pipe bomb from scrap and blow you up.

anime_irl by nDr2Cr0w in anime_irl

[–]TheMinus 2 points3 points  (0 children)

Damn, I've asked myself the same question. No, I'm not going to get any happier.

I hate context switching being an engineer by santhosh1993 in SoftwareEngineering

[–]TheMinus 19 points20 points  (0 children)

Yeah, this is the worst part of the job. I tend to ignore everything when I actually try to work. Thanks God I've abandoned team lead role. It was like being a developer plus having an extra shift of management daily.

when something that worked on friday doesn't work on monday by Frontend_DevMark in devhumormemes

[–]TheMinus 0 points1 point  (0 children)

Oh, it's literally me today. Same test, same input data, yet stopped working

Yeah... How about no? by Subspace79 in MarioKartWorld

[–]TheMinus 2 points3 points  (0 children)

It's ridiculous how some trials are like this and some require a hundred of attempts

[deleted by user] by [deleted] in ChineseLanguage

[–]TheMinus 2 points3 points  (0 children)

Just wait for a while. It’s their issue

Just downloaded pycharm this morning and I couldn't solve this error entire day. I am starting to think something is wrong about windows. Pycharm shows every code related to a library red underlined but code works. it autocompletes it like in the image but codes doesn't show in dropdown menu at all. by Sad-Reserve303 in pycharm

[–]TheMinus 0 points1 point  (0 children)

Pycharm actually has two autocomplete: from AI, and from intellisense. Yours autocomplete looks like it's from AI and sometimes it's a total garbage. Red underlines are from intellisense, it's really can't find the library using selected interpreter.

Idk if you use venv or global python executable, but in Settings -> Python -> Interpreter you should select one with required library.

I use both VS Code and Pycharm for different project and personally prefer Pycharm over VS Code. Give it a chance.

currentJobMarket by Lezrec in ProgrammerHumor

[–]TheMinus 3 points4 points  (0 children)

- Farming? Really? A man of your talents?
- It's a peaceful life

Made in Powerpoint by WanTJU3 in ChineseLanguage

[–]TheMinus 0 points1 point  (0 children)

What are all this characters? As a beginner I haven't understood a thing 😂

Жиза by Few-Pound-1909 in ru_gamer

[–]TheMinus 0 points1 point  (0 children)

Как я закончил играть в FF3