902 karma · joined Mar 1, 2019 (7y ago) · 822 submissions
comment 3y ago · link · parent
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
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
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
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
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
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
comment 3y ago · link · parent
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
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
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
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
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
Famous example:
https://www-svt-se.translate.goog/nyheter/lokalt/norrbotten/...
comment 3y ago · link · parent
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
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
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
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
This message is right in your face, it isn't like you have to search for it.