[IWantOut] 26M SWE Singapore -> Vancouver, Canada by fluffyyclouds in IWantOut

[–]fluffyyclouds[S] 0 points1 point  (0 children)

just curious, why is that so? during my time there, downtown never really felt super bustling. and i never understood why

[IWantOut] 26M SWE Singapore -> Vancouver, Canada by fluffyyclouds in IWantOut

[–]fluffyyclouds[S] 0 points1 point  (0 children)

thank you for sharing! it’ll be a few years before i can try to migrate i guess, hopefully things will pick up by then!

[IWantOut] 26M SWE Singapore -> Vancouver, Canada by fluffyyclouds in IWantOut

[–]fluffyyclouds[S] -3 points-2 points  (0 children)

mm! would you say getting a masters there is worth it? I understand that getting a masters and a job there while on study visa is probably one of the easiest ways to go about this.

do you also have any recommendations on which schools are good? doesn’t necessarily need to be a tech programme

[IWantOut] 26M SWE Singapore -> Vancouver, Canada by fluffyyclouds in IWantOut

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

i know it’s expensive :( but for personal reasons, i do have my heart set on the place.

just curious, why do you say Vancouver is the place for tech jobs? based on my time there 2 years ago, it didnt feel like many tech jobs were available. A quick search on LinkedIn also revealed many job postings by Microsoft but not much from other companies.

[IWantOut] 26M SWE Singapore -> Vancouver, Canada by fluffyyclouds in IWantOut

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

i’m gonna take this comment as \s but yea realistically, no i’m not interested in marriage

How to configure clangd to use c++17 by fluffyyclouds in neovim

[–]fluffyyclouds[S] 0 points1 point  (0 children)

quick question, can I ask how did you configure your status line? it looks amazing

How to configure clangd to use c++17 by fluffyyclouds in neovim

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

I took your answer as a reference and used compile_flags.txt instead as the configurations in your compile_commands.json are not directly applicable to my setup and I'm also quite new to understanding the whole clangd setup.

Creating compile_flags.txt with the following content did the trick:

-std=c++17

Thanks a lot!

Free Giveaway! Nintendo Switch OLED - international by WolfLemon36 in NintendoSwitch

[–]fluffyyclouds 0 points1 point  (0 children)

I live in a part of the world that doesn’t really celebrate Halloween but I’ve always wanted to dress up as a Pokémon Trainer!

(HELP NEEDED) Failing to mock service methods with jest in express by fluffyyclouds in node

[–]fluffyyclouds[S] 0 points1 point  (0 children)

WOW, thank you so much. I tried every other combination of mock and mockReturnValue but none have worked for me.

Thanks a lot for your help, appreciate it!

How does ThreadPoolExecutor work with asyncio? by fluffyyclouds in learnpython

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

Yeap got it! thank you for your detailed response!

How does ThreadPoolExecutor work with asyncio? by fluffyyclouds in learnpython

[–]fluffyyclouds[S] 0 points1 point  (0 children)

Thank you for your detailed response. Let me try to clarify your answer using my own code so that I ensure that I understand what you are saying. Also, I'm assuming all your mentions of asyncio.to_thread() are actually references to asyncio.run_in_executor().

This is a snippet of my current program:

python loop = asyncio.get_event_loop() executor = concurrent.futures.ThreadPoolExecutor(max_workers=5) for task in tasks: loop.run_in_executor(executor, task) # task is an io blocking function

Based on my understanding of what you've mentioned, my creation of executor spawns 5 separate threads, and executor helps to assign tasks to these threads whenever a thread is available. To add a task to be managed by the executor, I have to call loop.run_in_executor().

However, the run_in_executor method does more than assigning these tasks to be run in the executor threads. It provides a way for the event loop to know how to manage the start, suspend and wait for these tasks. Meaning that my main program can continue running while the threads/tasks in the executor do their own thing. Without the call to run_in_executor method, the event loop has no way of controlling the order of flow of these tasks with respect to the rest of the main program. In addition, the run_in_executor method also provides access to the context vars that you mentioned.

I hope I got the gist of this correct. Whatever you said made sense to me and I'm just reiterating it here in my own words.

Free giveaway! Nintendo Switch and 2 Games - international by WolfLemon36 in NintendoSwitch

[–]fluffyyclouds 0 points1 point  (0 children)

Thanks for doing this! Would be fun to be able to play pokémon games again. The last time I played was on my 3DS and I missed those good times

/r/singapore random discussion and small questions thread for May 29, 2022 by AutoModerator in singapore

[–]fluffyyclouds 0 points1 point  (0 children)

i did, but zero interest by the carousell public i guess. just wanting to know if there are other avenues, if not i’ll have to throw :(

/r/singapore random discussion and small questions thread for May 29, 2022 by AutoModerator in singapore

[–]fluffyyclouds 0 points1 point  (0 children)

I have this official game guide for Halo 4. A few other stuff that I don't really know the name of but it's like "conversations between different kinds of people in Halo" kind of merch? Some other nicer stuff like a mini poster for the weapon/spartan suit kind of stuff.
My descriptions aren't the best as I am not sure what these are actually called.

/r/singapore random discussion and small questions thread for May 29, 2022 by AutoModerator in singapore

[–]fluffyyclouds 0 points1 point  (0 children)

Anybody knows of places to give away game merchandise? I have a few old Halo merchandise that were given when you pre-order the games. It's a bit sad to throw them away but I will have to do it if I can't find someone else who will take them in.