2,500 karma · joined Dec 4, 2013 (13y ago) · 1,025 submissions
comment 4y ago · link · parent
Interesting to see that you have chosen Kotlin for the client parts as well. I am assuming it's compiling kotlin to javascript?
What do you think of it so far?
It would be nice with an available option not to sign in with Github since it seems like the requested stuff like "act on your behalf" makes me not want to login.
It's too much of an hassle to create a new github just to play a game so that is unfortunately where you lost me.
comment 4y ago · link · parent
If I use a web worker it will be for one specific thing and that thing only, not for the entire web request? Thus, if there is anything slowing down the request in form of CPU intensity, it will "kill" the application at least until the cpu intensive request completes.
Sometimes it's hard to know beforehand what users do for example and surprising things can happen. I have had the same issues with Meteor for example where users killed the app because they tried to upload something unexpected that crashed the app and them spamming the upload button kept it crashing after restarts. It was of course an error from my part but it could be avoided if Meteor did support the cluster module. I have also had the exact same issue when unexpected large datasets occurred by user input (not file uploads), the app got so slow it stopped answering requests from other sources. It was after that I discovered that pm2 can run any node app in a clustered mode, which was very nice.
But with that experience in my baggage, it am very hesitant to use Deno because of this reason. I can't host my app on a serverless platform because reasons and I am not sure I even want to even if I could.
comment 4y ago · link · parent
What is the recommended way of running Deno in production on a multi core machine? In node there is the cluster module that allows one process to run a cpu intensive task while the other processes to continue answering web requests.
This is good for stuff like excel exports as an example on larger datasets. Obviously you could run some kind of cronjob in the background but it seems like I may a bit confused about Denos architechture regarding this subject. I am afraid of switching to Deno because of this since I often want to do these kind of operations without having to do the hassle of breaking the app up for simple exporting/importing operations.
Also, will Deno really utilize other cores on the machine? It seems like if you have a machine with multiple cores Deno won't use the full potential of the hardware or am I just confused about this subject?
comment 4y ago · link · parent
I get that in serverless environments like in Deno deploy each instance gets one core etc but if you're running it on a VPS or just on a normal server I would want something like the cluster module like in node.
comment 4y ago · link · parent
In order to make progress you can't throw out people because their opinions differs from yours. Identity politics is something that destroys productivity and prohibits challenging thoughts since it basically requires everyone to think and act in the same way.
Just look at Mozilla, Firefox usage it's the lowest it's ever been and their focus seems to be on everything except what's relevant to their core business.
comment 4y ago · link · parent
Since I think those people already lie in the first accusation I wonder what else they may be lying about.
comment 4y ago · link · parent
comment 4y ago · link · parent
Fuck you too, though.
comment 4y ago · link · parent
Please explain how I made the lives of my friends harder. By being their friend? You know nothing about me or my life. Being unfriendly doesn't convince anyone, you're just as much of an example of it as I am.
I just shared my thoughts since I at least have experience of it and if you disagree that's completely fine by me. I don't understand the sentiment today that you're not allowed to have opinions on stuff unless you're a scientist. It is imho impossible to be well read upon all things in life, sometimes all you have is anecdotes and experience.
comment 4y ago · link · parent
I wrote my comment pretty hastily and couldn't articulate well enough what I thought about the subject. Luckily people like you exists that can understand my shitty written comment and fine tune it to perfection.
Even if I have it and would get a diagnose from my doctor, I don't think it would change my life for better or for worse so what's the point?
comment 4y ago · link · parent
People today seem to read too much into a small statement and immediately creates a straw man that they later attack in the response.
I am sorry if you have diagnosed ADHD and it has affected your life negatively. I hope and believe that you may overcome your issues whatever they may be. It is great if you can ask for help and see improvement from it.
comment 4y ago · link · parent
It is my opinion that it hasn't affected me in a negative way since I am satisfied with my life and I have had other issues that have had a much greater negative affect on my life.
I don't think you should chose a company or career based on a disease or a disorder. If you can live with it, which I think most can that have diagnosed ADHD, you could overcome whatever issues come up and still be successful.
I'll even give one practical example, I am usually all over the place and in the tech field I've used that to read up and learn a lot of different languages, tools etc making my skillset in tech very broad which have helped me tremendously in my career. I have a hard time to stick with one programming language and is never satisfied with one thing and switch back and forth on everything. That is both a negative thing and a positive one. I have a (really) hard time sticking to one thing and seeing it through but with tools like todolists and communities like WIP it makes it just a bit easier even if I always have the urge to pick up something else and restarting everything.
comment 4y ago · link · parent
The society is structured in a way that makes it easier for some types of people to succeed but it doesn't mean that people who doesn't fit that model can't or that it's something wrong with them. That is what I meant by my initial comment but it is clear that it wasn't how people here read it.
Maybe it exists and is a real disorder, perhaps I even have it. I don't care either way and I try not to let it affect me or my life.
comment 4y ago · link · parent
I never tried to convince anyone that it is their fault for whatever problems they encountered in life and sadly one of them died by an overdose in an early age. Perhaps ADHD contributed to their lifestyle of choice, perhaps not.
I am not impossible to convince that I am wrong, I have just never seen any evidence for it (I haven't really searched for it though). AFAIK ADHD is a disorder that we just don't know that much about and maybe it has a biological function that has been positive in the development of mankind.
As I stated, I am not a doctor tho and maybe there is loads of evidence for it in which I am not aware about but frankly I don't care much one way or the other. It's not an issue that I care about that much and I just wanted to share my take since one of my exes was completely convinced that I had it. I know that people with ADHD can be very successful and I don't think people should think less of themselves because of some diagnosis.
comment 4y ago · link · parent
But I can't help to feel like Node is progressing kind of slow compared to other languages / tools. This is just a personal impression from a bystander who is not really into the actual progression though. I have a feeling that node used to push new features all the time but in last couple of years have stagnated somewhat. Stuff like imports etc is still not really here.
I understand that developing an api that has such huge userbase as node is a massive undertaking that probably has issues that I can't imagine but it doesn't really help me in my day-to-day experience with it.
comment 4y ago · link · parent
Last question I have is will this be included in the next version of the LTS version or how do experimental features usually progress for someone who are unfamiliar?
Can't wait until I can use fetch in my codebase without any additional dependencies!
comment 4y ago · link · parent
I hope you realize no disrespect, this will greatly improve the daily work for me since I use node at work every day.
comment 4y ago · link · parent
I remember installing stuff 10-15 years ago it would constantly fail with weird errors and bugs. Using linux was a real pain. Everything was much more monopolistic than it is today. You had to use x for that, you had to used y for this. While we still have a lot of issues today it is vastly better than it used to be.
I haven't had any machine crash with a BSOD on windows for years and on linux everything just kind of works and I have fewer and fewer issues. I can work remotely 100% of the time and do impressive things in the browser, stuff that was simply not possible at all 10-15 years ago.
I remember what a big deal Gmail was when it came out and today we take that kind of service for granted. Even with all the warts modern software has, it is still better than it used to be.
comment 4y ago · link · parent
Just a matter of time until happens to a lot of other appliances.
comment 4y ago · link · parent
It's a leadership issue and for an outsider looks almost like a hostile takeover. I stopped using Firefox years ago at this point and have stopped testing what I build for it since the relevance of Firefox unfortunately is miniscule anyway. They have too little market share now and they just continue turning their backs on everyone that used to support them.
comment 4y ago · link · parent
Maybe the firmware is important for the dishwasher though, but it should still function without it. I imagine a dystopian future where some society fails for some reason and internet stop being reliable. So much of our technology is dependent on it to work.
It could be war, it could be solar winds or even more likely that the manufacturer goes out of business and closes down their servers.
This is just pretty bad and I think most of us can agree. Nothing will ever change though since you pretty much don't know about this until it happens to you.
comment 4y ago · link · parent
It makes you faster on developing complex web applications that would otherwise take much longer time with a traditional SPA-framework. You don't have to worry about handling server communications, how to send data and in what format etc, all updates will be handled in a consistent manner and it's scary easy to make live updates to all connected clients.
Of course, these things are getting more popular now and a lot of people on HN may already know about it but I would assume most laymen still have no clue that this is a thing.
comment 4y ago · link · parent
I had to login to both mine and his account in order to complete my support request or they wouldn't help me. When I called them it was like any crappy indian support team which I barely could understand.
Compare that to DigitalOcean for example, there you can actually group resources for an org and their support is actually knowledgeable about their products and can answer questions even about implementation details. Also, you don't need a PhD in order to understand the UI which is a great plus.