Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

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

Submissions

comment 2y ago · link · parent

Altough not freelance, but I operate almost 10 websites atm. I use Remix on pretty much all of them since the dx is great and goes fast to develop more complex things. I host every site on one dedicated server from Hetzner with the Caddy webserver as a reverse proxy in front. I have super fast load times and a cheap monthly bill. I could 10x the traffic and it wouldn't be near hitting the limit of the server and it's like €18/month.

comment 2y ago · link · parent

I don't really get it how it works. I wrote down a bunch of keywords but what it spat out was a long sentence with most of the keywords and perhaps some related ones together.

Not really cool or useful to me.

comment 2y ago · link · parent

Well perhaps, but I think it's so overly complex and verbose to the point that learning it and making sure that everyone working on the project is on the same level is hard or near to impossible.

I really tried to learn RxJS, I used a lot of different methods like filter and what not but I still got into a huge amount of issues but honestly a lot of that was because angular was not really fit for the type of application we were trying to build. Especially as we relied heavily on query params for state. There were many strange behaviors of Angular Router that I ran into several times. It has some kind of own internal state and fires updates in an unexpected way. I remember sitting hours just to try to get the query params to update correctly and I was not the only one having these kinds of issues.

Even if I agree useEffect is unnecessary complex, it's still far far away from being as complex as RxJS and Angular. I remember I was trying to add some pipe service or whatever it was called and it was near to impossible to achieve what I wanted to do which would be trivial in any other framework/vanilla JS (unfortunately I don't remember what it was).

Then using third party stuff in Angular is a nightmare as well. You have to deep dive into how it's being built to make sure all the stuff is brought into the build step etc. The configuration is a nightmare if you want to do something special like making use of Angular Elements that's barely documented at all.

I never got to use the Signals feature, because I left the company before it got introduced into Angular.

comment 2y ago · link · parent

I didn't care so much about the syntax but rather the over reliance on the subscriber pattern that you have to have like a subscriber to even read something as fundamental as query params. And the funny thing is that is will fire once and then again when the query params is actually set. So you will have an empty fire for when they are not yet set for some strange reason, presumably from when the observer is created.

The problem with Angular, especially as the app grows is that you will have many different subscribers that all listen on the same state changes, then fire them again so you will have code that just runs again and again and it's extremely hard to have a mental model on how the system work and what code runs when.

The code also easily gets super slow because you run something, it affect state, then it triggers something else that triggers something else that just happen to affect the first state, whoops now you have a loop. Even if the loop resolves, it's pretty much inevitable to get a loop sometimes if the app is complex enough, at least in my experience working with several other devs.

comment 2y ago · link · parent

I hate Angular with a passion. It's easily the most verbose, overly complex front end framework I've ever used which just takes the fun out of building web apps and make it a pure pain. I would rather work on a farm and shovel pig shit all day than work in Angular again.

My last job forced Angular on me, I quit after a while (not because of solely that reason) but I told them Angular was a bad choice and they chose to overrule me. Pretty funny now, they will have to endure the pain of migrating a large app which makes me feel good.

Make stupid choices, win stupid prizes.

comment 2y ago · link · parent

Well you are prohibiting others free speech by protesting in that way. I do not agree that prohibiting others from speaking is a form of speech. So in that case, you are only using your voice in order to destroy others. If you were protesting in the hallway outside trying to convince people of your opinion, that is just fine but don't prohibit other people from speaking their minds.

But yes I do believe in some processes, you can host an event on the campus as well to tell everyone how he is wrong.

I won't read any book recommended by people like you, sorry.

comment 2y ago · link · parent

It wasn't dead when I replied. I know this, I show dead since I often find my comments to be flagged or killed since I have some unpopular opinions. Just watch the my history and view the sea of down votes I've collected. ;)

comment 2y ago · link · parent

The experience I have of working in C# and .NET is that you use everything from Microsoft, even if it sucks. It's like a rule that goes through every "Microsoft shop" out there.

They are as much of zombies as the apple fanboys are. It doesn't matter what the company do, they will buy it and lick it up like they were a cat licking cream from a platter.

comment 2y ago · link · parent

Seriously, spam at HN? That is pretty unusual to see.

comment 2y ago · link · parent

Imagine all devs working on macs, myself included. If I were to update and I can't run java, I can't work so this is pretty serious.

comment 2y ago · link · parent

I don't understand how you suggest I am opposed to it. I am not giving anyone more or less freedom of speech rights lol.

comment 2y ago · link · parent

The point of free speech is to accept that other peoples opinions can be aired and shared. If you do not like him, do not attend his talk. That doesn't mean you have to prohibit everyone else from attending it too. I am not arguing the specific case of Milo, I think he may be a grifter but I honestly don't care. If people are trying to censor him I will stand by his side as I would with yours if you were being censored or "cancelled".

Since someone paying tuition perhaps feels the same way of someone you like, no one would be allowed on the campus in the long run with the logic that grifters should be cancelled.

comment 2y ago · link · parent

It's not tho. I think he should be able to host events without getting "cancelled" even if he is a grifter. That is the whole point with having free speech to begin with.

If you are not on board on that, you are not on board with free speech at all.

Besides that, your counter-argument falls short because the one that is suggesting something have the burden of proof. If you say he is a grifter, the burden of proof is up to you. If I say water is wet, the burden of proof is up to me. Also even if you think he is a grifter, I may perhaps not agree and thus someones opinion either have to be valued higher OR we just let everyone speak and host events like we do with free speech. If you do not like the guy, don't attend his event.

Why is that so hard?

comment 2y ago · link · parent

So only certain people should have free speech? Who determines who is a grifter? You? The angry mob?

Your comments is anecdotal proof of what the article tries to convey.

comment 2y ago · link · parent

> actual real problem or just conservative provocateurs whining

Can't tell if this is a joke or not. If not, can't you see the irony in your own typing?

comment 2y ago · link · parent

Their mindset is "my ideology is good and pure, thus anyone that have other opinions are evil and must be fought by any means necessary"

comment 2y ago · link · parent

The difference is that you can live a normal life in the western part of the world where as in palestine you would be dead. In the west, if you get harassed because of your sexuality you can take legal action against them. That is not possible in most middle eastern countries because your sexuality is the thing that is illegal and even if you were harassed in reality you would be the one being persecuted.

Of course you would experience more issues at home, because that is where you live. But I dare you to go to a middle eastern country if it's so safe. Stay there for a couple of months and tell me how much of an islamophobe I am. It's not islamophobia if it is the reality.

Your kind of type of argument reminds me of my chickens, they have no survival instinct and barely run away from my dog that tries to eat them. This is what the safety of the west have turn people into in my opinion.

comment 2y ago · link · parent

Dude, you kind of do the same thing but with fancier words.

You claim that I am uneducated about the topic, you claim that I only view "zionist" media whatever that means and you claim that I live in a bubble. It's funny to me because the Western part of the world, at least where I live, the media is clearly biased towards the Palestinians. You have no idea how much I know about the topic or not but you act in writing like you are so much more knowledgeable than me and try to set the underlying topics such as what is humane and what is indirectly not humane. That is a very frustrating way to have a conversation.

If you would talk to me like that IRL I would definitely keep calling you bad words. So don't you act like I am the only one making the conversation harder to have in a normal sense. Just look at these responses. It's not me who cannot accept others opinions it's people who think like you do cannot accept other opinions. All my posts are flagged, and only mine even if it was really the last one that was a bit of nasty even if you deserved it.

But to answer your questions, yes I watched war content of the conflict and I cannot fathom how people are on the side of the terror organization when you have access to media from both sides. It's rather unbelievable and you sir have a very horrible moral compass.

comment 2y ago · link · parent

My point is that the oppressor is not israel, it is hamas. You completely missed my actual argument.

They wouldn't get shot, bombed and starved if the terror organization of hamas would not start a war. But many palestinians is still supportive of hamas, so they get what they deserve.

The sad part is those who lives under the oppressor of hamas and is not supportive of them and suffers daily but as long as the terror group is in power, it will continue to be like that.

comment 2y ago · link · parent

Even if it doesn't come through I wasn't upset, I was very calm.

It's just that I don't really care in being effective when it comes to this sort of thing. I have little sympathy for people who takes side with and defends actual terrorist and terrorism.

If you do take side with Hamas and live in the west, you pretty much are mentally disabled in some way even if it is because of brain washing. I think most people with physical mentally disabilities would have a better moral compass than these people.

comment 2y ago · link · parent

I don't know what I think about this, probably it's not great. I'm afraid this will hinder smaller developers and enable larger corporations to get ahead just because extra legalize.

Also, why is some stuff unacceptable but acceptable for the government? That seems a bit like censorship to me. The EU is really becoming a large organization that just does random shit that people don't really ask for.

My government still publishes my personal data online for anyone to see, no one seems to care about that. Rules for thee but not for me.

12345
28