There is a little improvement: if (process.server) { options.baseURL = `https://${process.env.HOST || 'localhost'}:${process.env.PORT || 3000}` } else if (window) { const ...
Hello chat! I'm running Express server on Nuxt app using serverMiddleware. Whenever I try to fetch data from Express using axios.get('/api') I'm getting 404. What can I do? Fe...
There was some funny moment. Yevgeniy (Y) and some politician (P) are arguing about cultural degradation and lack of education among younger people. Y: Have you ever heard Ch...
if (typeof process !== 'undefined' && process.server) { options.baseURL = `https://${process.env.HOST || 'localhost'}:${process.env.PORT || 3000}` } else if (typeof window !...
Remember what was I telling about Yevgeniy Ponasenkov, the guy on my profile pic? I mentioned that he may have some mental disorders. Just found out that there is some narciss...
if (typeof window === 'undefined') { options.baseURL = `http://${process.env.HOST || 'localhost'}:${process.env.PORT || 3000}` } else { const { protocol, hostname, port } ...
Is there point in typeof window !== /(undefined)|(null)/?
Let's say we have server, which is white, client, which is blue and request, which is purple. Request contains some JSON data, which is green and several binary files, which a...
Whatever. Did you know that it is possible to determine text's language checking frequency of it's characters?
Why the hell it doesn't work when you write a regular method but does when you write arrow function?
Do elements of the baz array have their own IDs too or do I have to assign them manually?
Как можно оптимизировать эту часть? def check_code(): start_time = datetime.now() while session['phone_code'] == '' or (datetime.now() - start_time).total_seconds() >=...
Isn't IO single-threaded by design? I mean, HDD has only one reading thing
https://marketplace.visualstudio.com/items?itemName=hoovercj.vscode-power-mode
SIM cards are cheap af and sold everywhere. What's the problem?
Then I should check if protocol, hostname and port also do exist?
Did you know that there's Android chat in the network?
I mean, look. Isn't it weird for a software developer?
Do you use mods? I used to have Neptunia characters, dildos instead of melee weapons, Minecraft zombies instead of regular ones and Shrek instead of tank
>data is beautiful So that's your channel? I love it!