HackerTrans
トップ新着トレンドコメント過去質問紹介求人

markandrewj

no profile record

投稿

Don't Block the Event Loop (Or the Worker Pool)

nodejs.org
1 ポイント·投稿者 markandrewj·10 か月前·0 コメント

コメント

markandrewj
·先月·議論
Hello, neat project. I am also from Edmonton area. I wonder if we have talked previously, in the the late 90s I ran a local BBS system with my colleague.
markandrewj
·先月·議論
Sounds like an absolutely terrible work environments for a knowledge worker to be in.
markandrewj
·3 か月前·議論
I am not saying this is a solution, but the reason you see this is because a number of companies, such as TikTok and LinkedIn, have been caught scraping the clipboard.

https://www.forbes.com/sites/daveywinder/2020/07/11/iphone-u...

https://www.forbes.com/sites/zakdoffman/2020/06/26/warning-a...

That said, for web applications, you are required to do things like use HTTPS for the modern clipboard API, which provides the user some guarantees. Not much works without HTTPS anymore though.
markandrewj
·3 か月前·議論
Do you work in the agricultural industry? Farm equipment is expensive, farmers will maintain the equipment as long as possible, which is a long time. Manufactures such as John Deere have tried to make it not possible for farmers to do self repair.

https://youtu.be/EPYy_g8NzmI
markandrewj
·4 か月前·議論
Wow, this is unfortunate and a loss for the Python community. I have been impressed with the quality of everything under Jazzband.
markandrewj
·6 か月前·議論
I personally don't have a need for JQuery anymore, but I still have a lot of respect for John Resig.
markandrewj
·10 か月前·議論
Maybe, but I wouldn't go back to Python 2 without async. It has also improved over time in Python. I have also had success using async in Python. I do understand what the article talks about however. Understanding the difference between blocking and non-blocking code is also a concept relevant to Python. In Node it's one of the concepts you are first introduced to, because Node is single threaded by default. I also understand in Go and other languages there are different options.

https://nodejs.org/en/learn/asynchronous-work/overview-of-bl...

I will agree with what some is said a above, BEAM is pretty great. I have been using it recently through Elixir.
markandrewj
·10 か月前·議論
Hey Yoric, I do not want to underplay what it is like to work with async, but I think there has been a lot of improvements to make it easier, especially in JavaScript/ECMAScript. It is nice not to have to work directly with promises in the same way that was required previously. The language has matured a lot since I started using in Netscape Navigator (I see you formerly worked at Mozilla). I think coding can be complicated in general, although it shouldn't have to be. I think having a mental model for async from the start can be helpful, and understanding the difference between blocking and non blocking code. A lot of people learned writing synchronous code first, so I think it can be hard to develop the mental model and intuit it.
markandrewj
·10 か月前·議論
I can tell you guys work with languages like Go, so this isn't true for yourselves, but I usually find it is developers that only ever work with synchronous code who find async complicated. Which isn't surprising, if you don't understand something it can seem complicated. My views is almost that people should learn how to write async code by default now. Regardless of the language. Writing modern applications basically requires it, although not all the time obviously.
markandrewj
·11 か月前·議論
Almost never here Claude say no about programming specific tasks.
markandrewj
·昨年·議論
It is interesting hearing feedback from the frontline. Even with the issues, I think it is clear drones are changing modern warfare when you have companies like Anduril. What most people think is coming next is autonomous drones, although I don't morally agree with it. Sorry you had to have this experience, I wish this war would end, too many lives have been lost and it is senseless.
markandrewj
·昨年·議論
Postgres is commonly used in GIS, via PostGIS (https://postgis.net). That said it is Oracles model to try to lock customers in.