Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

902 karma · joined Mar 1, 2019 (7y ago) · 822 submissions

Submissions

comment 2y ago · link · parent

So does node.js nowadays. But yeah, I agree it is an awesome feature!

comment 2y ago · link · parent

I have a deno app in production and it is working just fine. However, I still think node is superior when you self host when you are not using docker. Deno afaik still doesn't support any way of running one process for every CPU like the cluster module in Node.js.

I like to run my shit on the metal and without Docker and it feels like Deno was designed to run on Docker or some other kind of virtual containerized environment.

However, you can run it on node thanks to pm2, but I guess why even run on Deno in the first place?

comment 2y ago · link · parent

I hated tailwind with a passion at first glance. I thought it looked horrible and while it still does, I decided I don't care.

After a while of using Tailwind at work, I have started to love it. It it just so much more productive and I rarely need to step into css-land anymore. You still need to know and understand how CSS works in order to get the most out of Tailwind.

Tailwind is just like CSS but with shortcuts ready there for you to use.

comment 2y ago · link · parent

Nothing special really, I just like competition

comment 2y ago · link · parent

I thought "ah nice, maybe a mapbox alternative" but it seems not to be the case unfortunately

comment 2y ago · link · parent

If the americans killed him it would be a great way to make sure less people are willing to help them in the first place.

comment 2y ago · link · parent

Yesterday close to where I live there was a big queue that still isn't resolved in a winter storm (over 1000 cars got stuck). With a gas car, you can physically go and get gas and fill it up manually but an EV would run out of battery, die and would need to be towed.

Maybe you live in a place where winter storms are not a reality but where I live the range isn't the problem it's the weather combined with the range. EVs range go down during winter and it's already worse, the risk of getting stuck in a snowstorm is thus higher.

But yes, during summer and perfect road conditions an EV would be great. That is not the reality of my life though and that is just speaking about the range issues. I live on the country side as well and I need a car that can handle roads that are not in perfect condition. EVs are also generally sedans and wouldn't even fit my family while being a lot more expensive, adding the risk of freezing to death in the car is just making it a no-go for now.

comment 2y ago · link · parent

Many countries in Europe have had immigration without any control what so ever for years so I guess all of them?

comment 2y ago · link · parent

Maybe move to another state or country? If nothing else helps I guess that could be your best option.

comment 2y ago · link · parent

> nobody is against telling people to sleep more / exercise more / eat better

Actually, I am not so sure. People today are effing insane, especially on the internet.

His motivations are as clear as a blue sky to me. He is building a company, the company will make money by selling products like meal replacements or good olive oil (maybe other things in the future, who knows). But in general that is probably just a way around the problem of financing the whole ordeal since he is obsessed with health and trying to figure out the optimal way to live in order to age the best way possible.

Most diet studies are just as good or bad as his because the issue with diets is that there can be so many factors playing in so it's hard to know if it's the diet or other factors weighing in. He is just trying stuff with the help of doctors and dieticians (and probably others as well) and I applaud that. Maybe things work for him that will also work for the majority of people, in fact I think it is likely.

Sure it is culty, but you kind of have to be in order to be able to live like he does. It's an extreme form of living and not for everyone but I think most people today can learn a lot from him by simply doing some of the things he does.

Today we live in a world where many countries have like 50% of the population being fat and many are even obese. If you go to any store in many western countries at least they are optimized for you to pick candy and sugar water at the end. It's hard to find healthy products in many cases, you have to read the label on basically everything. If you go on a road trip, pretty much the only restaurants by the roads are fast food that is super bad for you. It is HARD to be healthy today and the statistics clearly shows it. So much so that in my country at least many clothing stores have started to display fat models in commercials because people (mostly women) demands it. We also have mukbangs on youtube, super obese people spreading their crap online but the one that gets a lot of hate is a guy that tells people to be more healthy. That is the insane part to me.

comment 2y ago · link · parent

So you're telling me you wouldn't donate blood to your family members if they believed they maybe would live longer? Even if it's just for a trial.

comment 2y ago · link · parent

Oh wow. So he has an affiliate link, which he doesn't push anywhere except on his website. Such a criminal behavior.

> Snake-oil salesmen generally don't.

Dude. Snake-oil doesn't do shit for you while if you follow the blueprint protocol maybe you won't live longer but the probability increases (by being healthy).

What I am saying is it's fine to make money of something you have spent so much time in researching and building. Who cares? He's giving out most of the advice, diet etc etc for free. Sure you will be able to buy some products in the future but you don't have to. It doesn't mean that lots of the advice is good advice for your health.

I just don't understand the phenomena of hating on a guy that is super wholesome, tells people to be more healthy and live longer.

comment 2y ago · link · parent

> Personally, I'm against using my children as blood banks

C'mon dude. Stop the hate and grow up.

If my father called me today and asked for my blood in order to live longer I would gladly help him. I want my father to be healthy and live as long as possible. Besides giving blood is not bad for you, it can even have positive health effects that several studies have shown.

You also have to assume that the blood giving is consensual since there is no reason to assume otherwise.

Also it was a trial in which he stopped when no positive effects were shown: https://www.businessinsider.com/millionaire-bryan-johnson-st...

comment 2y ago · link · parent

Can you link me to a statement where he actually tells people to buy sheets with silver in them?

Honestly, I've followed him for quite a while and pretty much all of his content is wholesome and while a bit culty, it's not like he is forcing anyone to do anything. For the stuff that actually makes him money, he is a lot less sales-pushy than the overwhelming majority of youtubers. You can get his protocol for free and follow as much as you want to, buy the supplements and silver sheets from wherever if you want to.

comment 2y ago · link · parent

Well yeah, but he doesn't say people should follow him but rather that everyone are free and should make changes to his "protocol" in order to make it fit their life.

I still see no problem here..

comment 2y ago · link · parent

I think Bryan is an interesting dude and no matter if you think he is insane or not, it's interesting to follow and the message is a good one.

He is literally telling people to sleep more, exercise more, eat better etc etc.

How can you be against that?

comment 2y ago · link · parent

I think he looks old and young at the same time. It's obvious he is not 20 years of age. But he doesn't look like 44 either. It's almost like he looks much younger than his age giving him this unnatural look.

Since very few people are measured and as fit as he is, it's not strange that we think he looks strange. But mostly I think it's lightning and makeup giving him this unnatural look.

comment 2y ago · link · parent

I think the light phone is a great idea but with some caveats that makes me not want to make me jump.

If they made it an open platform so I could code my own apps into it, that'd be great and email would probably be nice. I only check my email when I have to anyway so that doesnt give me stress. It's async!

A bigger battery would be nice. If they are rocking an e-ink display it would be nice with a phone that lasts a week or more.

comment 2y ago · link · parent

No I meant that it did not load. But it did now. I read it.

I still don't understand what the problem is. ¯\_(ツ)_/¯

comment 2y ago · link · parent

...or I could use a operating system that doesn't spy on me per default. :D

Which is what I did and I will support pop!_OS with my hard earned money.

comment 2y ago · link · parent

Link doesn't load for me.

comment 2y ago · link · parent

I finally got rid of my last windows install last week. Feels good. Windows was a pretty good OS until Windows 8 and then with Windows 10 it turned into a surveillance hellhole.

You can't have any privacy if you use Windows because it talks so much with the mothership. Linux is the only way to have privacy in 2023 which is very sad.

comment 3y ago · link · parent

What you're writing is probably true but kind of irrelevant. They set whatever price they want and if you don't like it, don't use it.

Personally, I block all the ads and tracking, use a specific browser for whenever I browse facebook under a fake account so paying $10 a month is not worth it to me.

I maybe would pay if it was like $2 but at the same time I don't really use Meta products to actually pay for it. I agree that the price is ridiculously high but at the same time I can't blame them. At least they finally give users a choice, something I never thought would happen.

comment 3y ago · link · parent

If that is the case, why are people writing desktop apps with Electron / other web tech?

comment 3y ago · link · parent

And then you don't even have come to the real meat, the freedom the web gives you. Freedom to deploy whenever, freedom from app stores with arbitrary rules set by big boring corporate interests.

Why publish with restrictions when you can be free?

comment 3y ago · link · parent

I do front end stuff for a living and have been in the javascript space for several years. I do other backend development as well and I can't see why people think like you honestly.

Most other GUI libraries is in a much worse state than front end web dev. That is probably also the reason why people use front end tech to make native apps today, because you can customize and make apps much faster than in basically any other way.

I think front end gui development is very easy today and very powerful as well and we have progressed a lot. Making stuff with web components isn't event that hard and if you want you can just use one of the many available syntax sugar libraries that exist like Lit and others.

comment 3y ago · link · parent

Well, just being a great maintainer of a great product could be argued to be innovative in today's world.

comment 3y ago · link · parent

I use Librewolf (https://librewolf.net) which is a fork of firefox and truly privacy oriented.

comment 3y ago · link · parent

Electron is owned by Github which is owned by Microsoft tho. They also own npm and typescript. So Microsoft themselves has been moving away from native apps a long time so your main point is still valid.
1
456
28