Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

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

Submissions

comment 4y ago · link · parent

> Too much government control and I honestly don't feel safe for my money and crypto is a safe haven. Having lived through an oppressive regime for years, I'd support anything that takes power and freedom from authorities back to the people (at least to an extent).

That I can completely understand and is what makes me not totally negative towards crypto related services. There is a lot of people that live under oppressive regimes around the world. If we could use technology to create something completely decentralized that would be unstoppable even by lawmakers that would probably be net positive since it gives power to the people.

I get that smart contracts holds such a value, but there is very little benefit for me at the moment since I trust that the government won't mess up my finances (other than taking a lot of it by tax) but it's nice that there is another option.

I have to say that I see a lot of negative development even in my country in general (especially related to free speech) so putting some money in crypto may be worth it long term. I already have some bitcoin and some eth. I have a hardware wallet but I haven't really used it to anything else than bad speculation which I have now lost 50% of its original value because of the dip.

comment 4y ago · link · parent

Okay sure, but I have yet to meet anyone in my life, developer or not, that actually uses any cryptocurrency stuff in a larger extent that to buy some on some exchange and keep it in their exchange wallet.

I see a lot of hype about it, but very little actual use. It has been the case for cryptocurrencies since they arrived basically and not much have changed for the last 10 years.

I guess that is no proof for things never happening but it's still very complicated to simply use and buy some crypto if you don't want to trust a exchange like coinbase. You still need to understand at least the basics on how cryptocurrency work and I at least have a lot of people in my life that will never do that.

I have not met a single soul IRL that have ever used a smart contract and honestly to me as a dev "smart contracts" seem very bad since you cannot update them afaik so if you make a mistake that's gonna be permanent. It's like an unmutable code base which seems like the worst idea possible to me.

But to be fair I live in a modern society that really doesn't have the need for it atm. I can see the use of stuff like that in countries where everything is corrupt, with insane inflation etc.

comment 4y ago · link · parent

From my perspective, as a developer that reads a lot I have of course read about web3 but in the same time I barely know anything about it and I think I know a lot more than the common lay man.

If I were to mention web3 to my family or my gf they would have no idea what I was talking about.

I pretty much convinced that web3 will never be anything real because of this reason alone. It's just a fluff word that bears no real meaning, it's also too complicated so that most people won't care or know what it is about, not even developers.

comment 4y ago · link · parent

As a linux user electron has been a blessing. Before it, not many apps did support linux for obvious reasons but now most do.

comment 4y ago · link · parent

Ok I had no idea that was possible. Will this work with the cluster module in pm2? How does it work exactly? Does pm2 have its own webserver and just forwards the request to whatever interpreter you specify?

comment 4y ago · link · parent

Yes of course there is a lot of talk about it but it's hard to actually prove anything since studies on food are extremely hard due to the many variables that exist.

Another example is the extreme use of vegetable oils that was supposed to be healthy but as it turns out it seems like it is quite the reverse. Even if it is proven to be unhealthy it will continue to be in everything because it's cheap and makes products last longer.

I don't know how it is in other countries, but at least in my country of origin (Sweden) they have pushed a lot of oat milk for example but pretty much all milk derivatives have vegetable oil in them and a lot of it too. Then they make adverts suggesting it to be the more healthy option.

comment 4y ago · link · parent

I hoped this article would provide more info than it actually did.

For me, a javascript developer that mainly use Node.js for work, Deno is interesting and I want to use it but the hosting part is what prohibits me from using it. In node it's easy to run production code with pm2, you can cluster it and it's super easy to configure it so that it will run one node process per available core.

With Deno, you can't do this because there is no clustering available so you kind of have to run it on single core machines to get maximum performance out of your hardware. In other words, on cloud solutions like Deno deploy or a Kubernetes cluster configured to run it on single cpu docker containers.

I am not interested in that and as long as it is that way, running Deno is unfortunately a waste of my hardware. Sure there are web workers and they are great for stuff but if my process dies for some reason I don't want that to halt the application.

comment 4y ago · link · parent

If this is the dinner in the future, I am sure glad I am alive today.

I think we probably at some point will realize that food like we ate in the past are way better than it is today and the type of heavily processed food we eat today is unhealthy. I think we will go back to more raw food and also the biggest change will be in how we grow that food and treat our animals.

There is a lot of issues with modern agriculture and the future is probably not in a lab. At least I hope so.

309.

“PHP DoeSNt SCaLE” – Pieter Levels Reached 99.999% Uptime(twitter.com ↗)

9 points · by ecmascript · 4y ago · discuss

comment 4y ago · link · parent

I have tried to convince people to not purchase stuff that has non-stick properties and / or water resistance in clothes etc.

Unfortunately, people close to me don't care and now this. I have also wondered why the new straws are so much better than the old paper ones. This makes me so incredibly sad since I really try to avoid to purchase stuff with these kinds of chemicals in them among others.

Just like one hour ago I was stopping at a fast food restaurant and ate, they had these kinds of straws which I imagine contains PFAS.

Fuck. Even if you really try it seems you can't avoid it.

comment 4y ago · link · parent

Modern, online dating is horrible for all men and we have the statistics that proves it. While every girl has a smörgåsbord of guys, most men have a ghost town as an inbox even if they have an easy time IRL.

Sometimes I wish I lived my life before the internet, where friday nights people would go out dancing because there was nothing to do at home. Today, you could go clubbing but I firmly believe it's not the same thing. When you go out socializing most people pick up their smartphones anyway.

I hate social media, it's the worst part of the modern society.

comment 4y ago · link · parent

As a javascript dev myself which write javascript heavy websites, I think all of my sites would perform just fine on a raspberry pi, at least on the newer models.

What I am most afraid of is the editing experience mostly.

comment 4y ago · link · parent

You can just view/copy the titles and search for them on whatever service you're using to find music?

But here you go, some of my favs from that playlist:

https://saoir.se/track/tidal/108030305

https://saoirse.kvm.vufuzi.se/track/tidal/83981884

https://saoirse.kvm.vufuzi.se/track/tidal/109311763

comment 4y ago · link · parent

I am a bit curious on why the OP think it's a pain. What version of raspberry pi is he/she using?

comment 4y ago · link · parent

Maybe not that many tracks on my metal list but at least there is some, I hope you find something to enjoy :)

https://tidal.com/browse/playlist/e17c930e-6e8e-4f29-856f-b9...

316.

Ask HN: Does anyone use a Raspberry Pi as your main computer?

173 points · by ecmascript · 4y ago · 186 comments

comment 4y ago · link · parent

Jänkarna vet inte vilka de kommer att möta, när de snart vaknar så ska de möta kungens vrede

Pic related:

https://imgs.search.brave.com/_-PBhLuSzgNHIjPEvJqWdDdQHIE6d3...

comment 4y ago · link · parent

Since there is at least 2.5 times more people that speak Dutch I have no doubt that it is probably the case.

comment 4y ago · link · parent

Det är bra grabbar, fortsätt upvotea så tar vi över den här plattformen med svenska fanan högt i vinden

comment 4y ago · link · parent

True true, but at least you will have to check the api and start implement the library itself. Chances increase that you will see something weird about it the more you have to look at it.

comment 4y ago · link · parent

I have forgot about how maven works, but at least in npm you have the post install script that lets a package run anything after the dependency is downloaded. So that means package creators can run any code they want on your machine.

I don't really remember if maven has something similar since it was years I did anything in the jvm ecosystem but I think some package managers (like composer if I remember correctly) doesn't give this opportunity.

But since node doesn't have a large standard library it means people will reach out for third party packages for stuff that is small tasks in most languages / runtimes.

comment 4y ago · link · parent

I don't get why this happens to node all the time. They have a very extensive code of conduct that forbids this /s

323.

Yoyo: PHP framework to build interactive PHP apps with minimal JavaScript(getyoyo.dev ↗)

1 points · by ecmascript · 4y ago · discuss

comment 4y ago · link · parent

Can someone tl;dr this for me and others? Thanks in advance!

comment 4y ago · link · parent

Wow this is very cool and comes with a perfect timing for me since I am starting a new project. Thanks a bunch!

comment 4y ago · link · parent

> philosophical? they are the most responsible company ever https://www.apple.com/environment/

LOL. If Apple actually cared about the environment they would make their products repairable and not fight people who repairs them.

It doesn't matter what you say if people are force to trash the entire computer because of one part failure. Most computers will not be recycled and a lot of them end up in toxic fires and stripped for metals.

Linking to a marketing page of one of the absolute worst offenders and claiming that they are the most responsible company ever is delusional.

comment 4y ago · link · parent

Sad to see, I have always looked on Elementary as a nice alternative to Windows and Mac. I am kind of glad to see that even if the founders seem kind of politically active they haven't pushed it on the official elementary site or repos.

Usually today people seem to want to push politics everywhere, so kudos to them on not doing it.

comment 4y ago · link · parent

> I also would like to believe that but it doesn’t seem to have worked out in favour of democracy in Russia

Has it though? I personally know younger russians and they are a lot more skeptic against the government and the propaganda than other older folks I've spoken to. It seems younger people that are more internet savvy and know english, has access to VPNs in general does not support their government as much.

These are of course just my personal anecdotes but since there isn't that much data about it I think that's all I have to go on. If people in Russia don't learn english and have no contact with the western world the likelihood of them being subjected and believing the propaganda is probably higher.

What good does shutting the russians out of the internet do?

comment 4y ago · link · parent

Putting a country with a lot of nukes in a corner and even disconnecting them from the internet seems like a bad move to me if I read the article correctly. This will only make it harder if not impossible for russians to know what is going on and they kind of have no other choice than to consume state propaganda for news.

I believe internet is a great force for democracy and cutting a whole country of it will probably not lead to anything good.

comment 4y ago · link · parent

Yes the OPML import would import all podcasts in the OPML that is not currently in the database. I am going to add support for adding podcasts on the site but in the meanwhile you can add them by using http post to https://api.podd.app/podcasts with an x-www-form-urlencoded array called "urls".

You can have 1 or several urls, they will be added to the repository of podcasts if we don't already track it. :)

1
101112
28