Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

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

Submissions

comment 3y ago · link · parent

The problem with using Microsofts stuff is that is half baked all the time and it's hard to fix. I have made an Xamarin Forms app and it was hard to do things that were not basic.

Just use the web platform unless you really, really need to do something specific which cannot be done as a web app.

comment 3y ago · link · parent

I know, I think you misread what I meant. I mean that even if it isn't unhackable due to bugs you can do in runtime, that it can guarantee stuff like no SQL Injection and possible no XSS if it compiles is pretty amazing.

But maybe that is pretty much the same as other frameworks in other languages provide also but the difference is that it's not guaranteed by the compiler.

comment 3y ago · link · parent

I agree, but at least they are fighting the monopoly.

comment 3y ago · link · parent

What got me interested in Rocket was from this talk (a great talk btw): https://youtu.be/lBQHrj6vwAo?feature=shared&t=1934 (A Case for Oxidation)

The main selling point for me was that Rocket made security threats (XSS, SQL injection etc) impossible by guarantees which was a bit mind blowing imo. It is a bit like database guarantees which is insanely useful as an application grows. Is this still the case with Rocket and if so, how come it's not all over their web page as the unique selling point? I mean, security is getting more and more important and if we can solve many preventable security threats permanently by a technical choice this seems like the obvious way to go for the future.

I mean, Rust is fast and secure and makes my software "unhackable" for the price of a bit slower development? Seems like an obvious choice then.

When I browse their website, I don't understand if this is still the case and coming from a php/node background this would be the main driver for me since the language performance is very rarely a concern of mine and coding rust is.. slow and requires a lot of learning because of the weird syntax that makes me think about memory when I don't really care.

What I also really, really like about Rust, Go and other similar languages is that the deployment option that becomes available. Just deploy a single binary file. That is super simple and awesome. But the one thing that made me look away from Rust is the foundations weird rules and new draft that you cannot use the word Rust in urls, courses etc and if you like guns?

I don't know how it's been developing so far but the Rust foundation seems to do some crazy stuff that makes it hard to trust.

comment 3y ago · link · parent

How do you handle https if you don't? Do you use certs directly in code? Also, do you use LetsEncrypt or do you actually pay for certs?

I have been developing websites all my grown life and I always put them behind a reverse-proxy. That has never been the culprit of any slowdowns in my experience and nginx is very, very fast and supports everything you may want to have.

I usually nowadays reach for caddy just because it's so much simpler and fast enough.

comment 3y ago · link · parent

Good job Tim. I hope Epic succeedes with their anti-trust cases. Smaller companies that can't afford this type of legal battle will enjoy the benefits if they win.

comment 3y ago · link · parent

All these posts about OpenAI.. are people really this interested in whatever happens inside one company?

comment 3y ago · link · parent

I am assuming your asking where I'd go, and the honest answer is that I do not yet know but I won't raise my kids in todays Sweden, that is for sure.

comment 3y ago · link · parent

Mostly because there is a shooting happening where my family lives daily or bombs that go off close to where they may be.

But also if I go into a larger town, especially at night, there is very few swedes out in large parts of sweden nowadays. You see immigrant gangs hanging out everywhere and you can't really walk freely in pretty much any city anymore at night without being afraid of being a victim of some crime. Most of the time, people may just threaten you but you never know and there is no idea to call the police because they aren't doing shit and your problems may just become larger if you do.

comment 3y ago · link · parent

In general, I agree with you. I hate the swedish culture in that aspect. In Sweden, "diversity" is another word for skin color, if you are diverse in how you think or your opinions you will be ousted very quickly and people will distance themselves from you which is most likely why I don't have many friends and have moved many times under my life. Quite often, I don't feel swedish at all.

I kinda agree with the prospect that the swedish right demonizing them but the problem is that it usually comes from bad experiences with immigrants. Immigrants that work, are productive and do their due diligence very few swedes have an issue with.

comment 3y ago · link · parent

What area exactly? I honestly as a swede do not believe you.

comment 3y ago · link · parent

There is no country that compares to sweden if you compare the numbers by capita.

comment 3y ago · link · parent

I'd pay in a heartbeat for youtube premium if youtube weren't owned my the FAANG companies. I dislike these companies and don't want them to have a cent of my money so I'll continue to be a freeloader and I don't care if the company goes bankrupt because the world needs more competition.

comment 3y ago · link · parent

They make money from members yes, but no one wants to be a member if they can't utilize their power over companies. That is why they do these kind of stunts.

Please explain who they are fighting for in this case? Not the workers because they aren't even on strike lol.

comment 3y ago · link · parent

So I guess what you're saying is that 1/5 swedes sympathises with neo nazis then, since it's the second largest party?

Also it's the largest political party if you count only the people in the unions.

comment 3y ago · link · parent

As a swede I have commented it in the other thread (https://news.ycombinator.com/item?id=38190600) but this is basically a legalized mafia from the unions.

The workers don't want the union, they have better terms right now. They are not on strike. You may then say, well it's because they are afraid but in Sweden most employees are in a union agreed employment contract and it is very illegal to prevent employees from engaging with an union or go on strike like this.

The issue here is that the union wants in because that is how they make money and now they are becoming less relevant because they care more about themselves and their political power which is extensive in Sweden. They don't really care about the workers here in my experience. They exclude members based on political affiliations and make bad deals.

I hope Tesla do not give up this fight and just continues on because this is shit behavior from shit organisations. I like the idea of unions but in Sweden they have completely forgotten what their purpose is.

Everyone who downvotes, please explain who they are fighting for in this case? The Tesla workers are not on strike, they say openly to journalists that they have never had better terms. The people who actually need to be unionized (young people working in service jobs like restaurants) seldom are and is getting exploited on a daily basis in Sweden since there is no minimum wage.

Here is an article if you don't believe me:

https://www.svt.se/nyheter/lokalt/vast/trots-strejken-teslas...

comment 3y ago · link · parent

> Because nobody asked you about Gleam and you still brought up gender. And then you said you would continue to bring up politics whenever the language came up.

No I read on the website hacker news, someone submitted a link to the language website. The website brought up gender and centered in in the page about community guidelines.

> I find it comical you think a programming language can be used to push a political agenda. That's got to be the least effective way to spread political ideology I've ever heard. You make it sound so sinister.

Well it is because it is sinister imo. Maybe it's ineffective but it's still there which is kind of undeniable. A lot of technical projects have had political agendas on their websites. React, Go, Node.js, Emberjs etc etc. I kind of get it and support the anti-war stuff for Ukraine but for normal everyday politics that's mainly american? C'mon.

> Nobody called you a Nazi.

Yes the website kind of did, since I don't adhere to the ideology that they do.

Stop being so god damn naive dude, it's ridiculous.

comment 3y ago · link · parent

> But you're also inserting politics in a technical discussion.

The discussion is about everything about the language not just the technical aspects so no I am not.

> The real issue is not that someone is putting politics in a technical place, it's that it contradicts yours.

No I wouldn't care whatever political agendas the author hadn't he put it straight on the website calling me a nazi.

> If I say I'm interested in using Gleam and you tell me there's only two genders, I do not see how that makes you any better.

Why would you assume I would say anything about genders if you asked me about gleam?

I would say it's run by political extremists that use their programming language to push political agendas and that due to that, they are probably untrustworthy. I would say I would refuse to use it because of that but encourage you to make up your own mind.

comment 3y ago · link · parent

> Assuming that I don't know anything about or have zero experience in the skill-sets I am hiring for, how does one start?

You start by doing the tasks you need done yourself. When you learn what is needed and can't manage it yourself anymore then you know what to ask and hire for.

comment 3y ago · link · parent

But if they do know, like if you do work for a political party or are open with where your sympathies lies, they can easily exclude you and prevent you from working within the union.

Besides if you do vote for SD and don't tell anyone why would you want to pay someone that is actively work against your interests?

comment 3y ago · link · parent

Well you may be as skeptical as you want, you can still be a member of an union if you vote SD but why would you when they will actively work against your interests and may exclude you at any time?

Famous example:

https://www-svt-se.translate.goog/nyheter/lokalt/norrbotten/...

comment 3y ago · link · parent

> There is no such thing as a "union-contract". What you meant is that there was a collective bargaining agreement in place at one employer which prevented them from paying you less than some minimum. That you then failed to negotiate a higher salary than the minimum is on you and not the union.

Whatever dude, you know what I meant. I am not talking about salary really, the problem is that the unions and the employers tried to convince me and others to accept a shittier contract (which we didn't do) but ultimately we finally got the choice to accept or get fired. Although at one of these jobs we got them to improve the terms since no one wanted to sign it and they couldn't fire everybody.

The unions don't work for the employees, they work for themselves only. They don't care about the employees which was very obvious both of the times when the companies I worked in got unionized.

> Nope. Unions have barred active members of Sweden Democrats from becoming functionaries, but have not terminated their memberships. For developers, unions still offer insurances and have pretty good lawyers which can negotiate agreements if there are disputes over, for example, IP, patents, or severance packages.

Again nitpicking (and you're wrong [1]) also since still being allowed to pay for a membership where you don't get anything to say because of your political affiliations is disgusting and just adding insult to injury. I don't want to be a member of such a disgusting organisation. If I get badly treated on a job I'd never stay and try to fight, I just leave for another job since there is plenty of jobs as a developer with most companies being really nice and most companies will give you good terms. If I really wanted to fight (over an IP or similar) I would never trust a shitty union to take care of it, I would just use my saved money (instead of wasting hundreds of SEK on a worthless union every month) and employ my own lawyer that _actually_ works for me and my interests.

As a dev there is absolutely no need to be part of a union. I have never been part of one and never will unless they radically change a lot. The idea of unions is good but the practice is horrible, mostly because they themselves has gotten so big and greedy they have forgotten where they came from and what their purpose was.

[1]: https://www.svt.se/nyheter/lokalt/norrbotten/dom-i-hovratten...

comment 3y ago · link · parent

As a person born in Sweden myself I have to say that the two times I have gone from a non-union contract to a union-contract the terms has been worse in a union.

Pretty much all unions are left leaning politically, exclude members if you are connected to the wrong political party (Sweden Democrats) and don't offer many benefits for at least programmers.

The workers don't want to strike obviously because they are satisfied with the contracts and have better terms and pay than in their previous jobs for the same age group according to themselves. It's illegal for employers to punish people for participating in unions in Sweden so anyone could go on strike without getting punished for it.

Unions have outplayed their role in society for the most part. The jobs in Sweden that really need unions rarely have them (service jobs).

comment 3y ago · link · parent

That is like saying not smoking is implicitly a habit and supportive of non-smokers.

comment 3y ago · link · parent

> Sounds like you care a lot if you're gonna actively discourage people from interacting with the project.

If someone would ask me in the future if I heard anything about Gleam, yes then I would actively discourage people from interacting with the project. If I read about it in a positive manner in the future here or in other forums, yes then I would probably write a comment warning people about it.

If you think that is caring a lot then I care a lot. I don't consider that to be caring a lot though.

comment 3y ago · link · parent

No they're not. They are common phrases used to shoehorn a lot of politics and meaning into a simplified message that doesn't really reflect everything it stands for.

Everyone knows this and it is highly controversial which is the point. I don't agree with any of these things because I know what they mean in reality.

comment 3y ago · link · parent

Casually calling people nazi on a website for a programming language isn't really cherrypicking and I find it to be quite interesting and very influential in my decision NOT to use this language.

This message is right in your face, it isn't like you have to search for it.

1
567
28