u/Ustice
-
41points
Ustice
Ustice
It was also significantly more expensive.
Ustice
I haven't been able to figure out how to actually USE the new UI. Is it available on the macOS platform?
Ustice
I use a CPAP too. Get yourself a solar generator. It’s basically a solar panel and battery. I go a few days early, and never have problems with power.
Ustice
I love this. We could no longer support ES6+. Anything beyond es5, is off-topic. Non-programmers would have no idea.
Edit:
To be clear, I was not serious with this post.
Ustice
We’re playing for time
Ustice
Technically, just about everything can be coerced into a string, but it’s useless for most things. For your case number | string is likely best.
Don’t use implicit coercion. It will bite you in the ass.
Ustice
r/JavaScript indefinite
Ustice
I love this community. I hope that this goes as well as when the D&D community protested against Wizards/Hasbro.
Ustice
I use Apollo for reading and moderation. Losing access to that tool will make Reddit not fun anymore. I support this community going dark. I can’t disable /r/JavaScript myself, but I’ve messaged /u/kenman about this.
I don’t think it will matter, but I’ve been wrong before.
Ustice
Your Scientists Were So Preoccupied With Whether Or Not They Could, They Didn’t Stop To Think If They Should - Dr. Ian Malcom
Ustice
Go on. Ask a nerd about the thing that they need out about. It’s much harder to get them to stop .
(Speaking as a nerd myself)
Ustice
If your just looking for practice, just take a completed website, and treat it like a figma design.
Ustice
I’m afraid this post is off-topic. Just because you’re using JavaScript doesn’t mean that it is relevant to this community.
Ustice
I don’t think that word means what you think it means.
A server in this case is any piece of software that is listening for connections, and provides a response to those requests. P2P is still a server. There may not be a central server, but your software has server components.
The answer to your original question is that you can not directly get user location. You can get the referring IP address, and use geolocation to look that up, but it can be spoofed. You can also have your client component send GPS coordinates, but you’re relying on the request being valid.
Node itself doesn’t have the ability to get the geolocation of the server. You can look up your IP address, but it may not have the accuracy you want.
Perhaps you could use a headless browser and check navigator.geolocation, which isn’t available in Node.
You may need to look at hardware solutions: https://dzone.com/articles/read-gps-data-with-a-raspberry-pi-zero-w-and-nodej
Ustice
Reaching out to other software engineers is important when you need it; however, unfortunately this isn’t the place for that. /r/JavaScript is not a support forum. You might want to check out /r/LearnJavaScript for the newer members of our community. Also, Stack Overflow is a great resource for getting support. For more information, check out our AskJS wiki page. Good luck! We hope that you find the answers that you are looking for.
Ustice
This is closer to what you want. Typescript Playground
The issue here is that the types don’t get matched up together. You really need to use generics.
Ustice
No. Call the owner. I bet they have done this three times already.
Ustice
/r/JavaScript tries to uphold a certain standard of articles in terms of quality and in spite of clickbaity titles. This post has been removed as a result of being deemed clickbait first, article second.
Thank you for your understanding!
Ustice
(numbers just for reference)
(1) How do you see Bun.App being used in two-to-three years?
(1a) What do you feel will be easier then than is now?
(1b) What is possible then than isn’t now (either inside our outside of the Bun ecosystem?
(2) How do you feel code generation fits into the picture with bun?
(2a) What about type generation?
Ustice
Does it really affect sales? really?
Idiocy
Ustice
Or… you could basically get the same behavior with built-in structures.
```Typescript const [ result ] = await Promise.allSettled([ fetch(‘https://backend.api/route’).then(r => r.json()) ])
if (result.status === ‘rejected’) {
handleError(result.cause)
}
processResults(results.value)
```
Ustice
This post was removed. Please see our guidelines on job postings and the likes.
Ustice
It’s useful when you create class/method decorators, which can be used on many classes.
I'm still unsure about the z. My capital letters are good enough, and not used enough that improving their efficiency is likely to improve my overall effeciency.