902 karma · joined Mar 1, 2019 (7y ago) · 822 submissions
comment 5y ago · link · parent
Litterally anywhere. On Github, on the Deno webpage, in a slack chat message. It is how the browsers has worked for ages and there's never been any issues with that. If the package has deps Deno will download them too in the same manner.
It also means that if there is any problems or dissatisfaction in how your dependencies are hosted you are free to change it to another hosting solution.
> These are empty words that literally mean nothing. The rest is at the link so as not to have the same conversation in several places.
What do you mean it doesn't mean anything? It means that there is not one single place where you have to get your dependencies from. You may think of it as something negative, but I think it's great.
comment 5y ago · link · parent
Why not?
I thought programming languages was just a tool, a means to an end. If that is the case, which I believe it is, it shouldn't really matter in which way it is created.
I would pick a tool that's grown out of actual needs over some guy thinking in the basement for 20 years any day of the week. Because the first one will solve problems and the second most likely won't.
comment 5y ago · link · parent
Yes.
> What limitations have you run into?
Libraries that exist for node that can't easily be ported over that don't yet exist for Deno. But that is basically it. In the beginning it was a bit hard to keep up with the rapid changes as well but that seems like a positve thing anyway.
comment 5y ago · link · parent
Yes but with ES modules you can just import them straight into the code and there is really no need for a package manager.
> Does Deno implement its own TypeScript compiler? Even if it does, it's entirely at the mercy of Microsoft who are the only ones who develop Typescript specs.
This may be somewhat true. However I am not using typescript so I am not really sure about this.
My point is not really tied to the language typescript which I am sure will continue just fine. What I am much more worried about is all the packages hosted on npm. At any time Microsoft could do something to restrict it in ways I can't control. Highly unlikely that something extreme will happen perhaps, but I don't trust Microsoft enough.
For example, I could easily see them forcing everyone to use github for node packages in the future etc.
comment 5y ago · link · parent
Plus, just look at this dudes website. Sure it works just fine but it's nearly impossible to read on my large screen. It feels like it was designed for an older CRT screen and has never been updated since.
I wonder how people like this can survive in todays world with the requirements people have on web software. You will sooner or later be out competed by a guy using a web framework.
comment 5y ago · link · parent
I mean, the talibans are many because many of the population supports them. They win because as soon as western forces leaves no one opposes them because there are too many that are not willing to fight or simply want them to be in power.
This video seems like it is a bit of propaganda. Unfortunately many afghans supports the talibans and I think it would serve them better to acknowledge that fact instead of trying to wish it away. Islam is a crap religion and ideology, there is no nation with a majority of muslims that I would want to live in.
Until videos like this acknowledges that islam is the root cause to the shitty situation in the middle east, I won't listen.
comment 5y ago · link · parent
But for my curiosity, does the rules not apply for the posters as well? Is it ok to post stuff that is inherently racist or promotes segregation?
For example, if someone would have made a dating site for nazis would that be ok on HN as a post and when the obvious comments are coming, I guess those would get warned and removed?
372.
Pregnant man emoji added to draft(emojipedia.org ↗)
5 points · by ecmascript · 5y ago · 2 comments
comment 5y ago · link · parent
Altough, I moved to a country house and every time I need to go to the fridge for examples I basically take 2-3 times the steps I did in my apartment before. When I need to get eggs I need to go outside, walk to the chickens and retrieve them.
Small things like that adds up and now I more often than not take 150k steps per week. I think this is good for my health.
378.
Sensor.Community is a contributors driven global sensor network(sensor.community ↗)
39 points · by ecmascript · 5y ago · 14 comments
comment 5y ago · link · parent
People like us should get together and fill the world with at least sensors so that it becomes more visible.
comment 5y ago · link · parent
I have been a web dev for about 10 years now and I rarely if ever run into these issues. More likely, I face issues and bugs regarding state and just flaws in the logic rather than issues based on that the language wasn't designed so great.
For sure this can be worrying if you do something really important but at the same time you have a lot of other languages to choose from.
comment 5y ago · link · parent
This and many more of his advice are very good for companies but suck for the individual.
I would say not to follow the authors advice because it will make no one reliant on you. It is also incredible time consuming and will only weaken your position.
This article is basically saying not to drive you car so much or else it won't be fresh for the next owner. This is corporate simping.
comment 5y ago · link · parent
You can fund it yourself with basically any income. Of course you will never get anywhere with an attitude like the one you currently have.
It's not the skill or resources that is the problem, it's the mindset.
comment 5y ago · link · parent
Doesn't almost every large front end framework have a static site generator? I think Vue for example has it built in for example.
Why would anyone use this over the already existing one in their current ecosystem?
comment 5y ago · link · parent
Caddy is just really awesome as a reverse proxy (2 line config!!) and I am in the processes of moving all my projects to it. It is fast enough as well since other things will be the bottle neck way before that.
I am not affiliated with Caddy in any way, just blown away by the quality of it.