902 karma · joined Mar 1, 2019 (7y ago) · 822 submissions
comment 6y ago · link · parent
Well not necessarily, if you are like 1-2 devs it's really hard to manage to make such a web application if it's a complicated one. And for what reason? So that you can cater to the 0.00001% of the users because they hate javascript for no other reason than that they hate it?
> Of course I couldn't do photo editing with that concept in a browser, but that's not what I use a browser for anyway.
Maybe not you, but I certainly use my browser for that kind of purpose as one example of several that won't work with javascript disabled.
> Having this fallback also has the advantage that it helps disabled users and users on poor network connections.
Yeah maybe having an alternative for drag n drop helps disabled users but just removing javascript doesn't help them at all. I would actually argue the reverse. With javascript you can do text to speech for example for people that may have bad eye sight. On poor networks a well written PWA works a lot better than a traditional server side generated page, depending a bit on the application itself of course. I would agree that because SPA apps need to do stuff the browser does for you, people simply don't build resilient enough apps that handles failures well.
There are many bad SPA apps out there, but also many good. I was travelling and used Airbnbs web app that was terrific when I had a bad connection. I could still open up cached content and access a lot of stuff even if some things wouldn't load which was very good for me.
If you don't want to use javascript but still want a SPA like feel there are alternatives like Phoenix Liveview for example. They still use javascript, but it works without it since it's just server side generated stuff. Unfortunately it doesn't work well on bad connection or at all when offline but I guess most sites would be ok with that trade off.
comment 6y ago · link · parent
Honestly, I have a huge problem with this mentality even if I can agree with most other stuff. There is a lot of features and apps that are very useful that won't work without javascript. C'mon, this is a really bad point. It is not javascript itself that is bad, it's how people misuse it. Why would native apps be any better? People include tracking and alaytics in those as well and it's just even harder to block / know what actually gets monitored since the application is likely not sandboxed.
I use many apps that require javascript that is really good and privacy motivated. Apps like, Fastmail.com, DI.FM, podd.app etc. I use adblockers and a pihole to take out the worst offenders and tracking scripts.
The solution is not to go back in time and try to convince people to use sites without javascript, that will never work because there is a lot you cannot do without javascript. Drag and drop for example, video conference, photo editing etc etc. There are so many examples of apps that weren't possible before but now is. The web is clearly the best platform to be on since no one company can block you and you can self publish whenever you want. You are in control, not some shitty american company. I have a hard time actually believing that this person never use anything else than that shitty browser. I just don't buy it because the user experience is horrible.
Instead, it's better to lead by example. Build apps that challanges the modern overuse of javascript and tracking / analytics. Don't be the old guy that simply complains how everything was better in the past, you couldn't do shit on the web in the past and now 80%-90% of the applications I use on a daily basis is web based.
484.
Plypp Piano - play instruments in the browser(plypp.net ↗)
7 points · by ecmascript · 6y ago · discuss
comment 6y ago · link · parent
So when you think you're paying ~32% income tax, in reality it's closer to 50%.
comment 6y ago · link · parent
But is it possible to configure a locked down instance, so that not anyone can upload videos? Because I would like to publish videos myself but prohibit others from uploading videos on my instance.
Thanks
comment 6y ago · link · parent
They usually are, for most people. But for me the first time I did it was the most painful experience ever. So painful in fact that they had to abort it and book me for another time and that time I went under.
That was before my surgery and when my intestines were all over the place. That being said, after my surgery in which they corrected the placement of my intestines, it was painless. That time, the last time I did it, I chit chatted with the doctor and nurse and it was funnily a pretty relaxing experience since I'd gotten some mild drugs before because I was nervous it would hurt as it did the fist time.
I have done a colonoscopy 3 times.
comment 6y ago · link · parent
When you point out the very obvious flaws, it gets you downvoted as well because orange man bad. HN has become a sad place just like everywhere else.
comment 6y ago · link · parent
The reason you don't include full time students is the same for children and retired people. They are on their way to becoming productive citizens or have done their part for society.
comment 6y ago · link · parent
That seems like it will give you a really bad number because they are for sure unemployed but a lot of people in the age 16-20something will go to school.
I didn't earn a living wage until I was 22, but I also earn pretty well nowadays and pay a more taxes than most of my friends.
Seems like the author has come to a conclusion before writing the article. A pretty dishonest piece imo. Because if you include students, why not include children and retired people as well?
comment 6y ago · link · parent
I had surgery and I am basically living a normal life, I didn't have symptoms until I was about 25 years old. The thing is it made me lactose intolerant and very sensitive against sleep deprivation.
What basically happens is stomach pains from time to time and that I need to visit the bathroom quite often, sometimes in a big hurry.
I'm living basically as before, eating too much lactose still and getting too little sleep. I am starting to get better on it though.
Get enough sleep is a big point in general I believe if you want to your body to be healthy. Also eat healthy and move a lot. I have a standing desk and tries to stand most of the day. It helps a lot.
comment 6y ago · link · parent
For example, their VPN service is not actually theirs, it's a Swedish company called Mullvad that actually provides the service. I am already a user of Mullvad and I can't get Firefox VPN. Isn't that kind of strange? Even if I could get it, why would I pay Mozilla extra money for a service that I can get cheaper directly from the provider? Not only that, but Mullvad accepts cash and I believe Mozilla VPN probably won't. So the privacy aspect is already bigger with simply using Mullvad to begin with. They go into the VPN business because they want to make money but paint the picture of that they want to protect the privacy of consumers. It's just a dishonest picture they're painting and I think users sense that a mile away these days. It's the woke mindset that they pretend to care but doesn't really. They just follow like so many other tech companies what's popular to care about in California and completely forget that the world is larger than one US state. And even if they did care, really a VPN service? That market is so overly saturated by hundreds of services it doesn't require a genius to realize that this will be a hard thing to make any kind of dough on.
Their ventures into other things have mostly been failing ones and if they really want to get rid of google the obvious choice is to monetize Firefox itself. I, like many others, would gladly pay for Firefox if I knew it went to the development of Firefox and maybe to other projects that benefits it like Rust, MDN etc. But if I donate today, my money will most likely go to Bakers ridiculous salary.
comment 6y ago · link · parent
Then, the clients have to replace their devices because otherwise they can't run the new app versions. This is literally a hype.
I on the other hand dont use any big frameworks, I just do web apps after the open standard that everyone agreed upon. You're a slave for whatever platform you develop for.
In 10 years when people run iPhone 50 my apps will still work as they do today or probably better due to better hardware. Can you really say the same of yours, given no updates are made?
comment 6y ago · link · parent
I can see arguments and I am not like that, you're portraying your predisposed view about me onto me.
This argument you have is not really saying a lot to me actually since you could use Rpis with a web app as well? Tbh I don't think you save that much battery on just making it native. You complain about battery, but fail to mention that Android phones needs to be switched to be able to use the newest api:s in android development. So if you want to use new shit, your client needs to update their phones, something they would not have to do if it were a web app. But in your case, I would probably also have made a native app but that app you built don't really describe how most apps are. You are talking about an exception to the rule IMO.
I can give you a pretty similar counter example:
I worked for a client once that made a newspaper. This client has a list with all shops, kiosks etc that sell their newspaper in a database. To save fuel and to be efficient, they used an old Java Swing application that would every day calculate the most efficient route for each driver. It did a lot of other stuff as well, but that isn't important for the story. The app was fine, it was just a pain to develop and release. Because it was still actively developed. In every release, a jar file had to be distributed to each user of the app since there was no good way of auto updating the app since it was so old. Any way, the users of the java swing application would run the calculation functionality and it would give a result that was printed out and given to the drivers.
What happened later was that the app was remade and presented in a web page. Each driver didn't have to wait for a paper printout of the result of the java swing app, they could simply open their phone, visit a specific url and see their route for that day. There was nothing to install for each driver, since drivers was often changed, no need to wait for some guy that had to print out a paper for them and everything was basically automated.
The benefit here of a web app was great, since as you say truck drivers aren't the most tech literate people in the world, managing a native app here would be a great pain.
So what can we learn from our examples? That the needs are different. I get that. I never said every app should be a web app. But if you can make it a web app, you probably should at least consider it. The benefits usually outweighs any negatives. My entire point was never to not make native apps, it was to avoid them if possible.
comment 6y ago · link · parent
For example, if I want my users to be able to scan a generated qr code, I am not going to write a qr code generator myself since that is quite a lot of work. I will use a trusted library to do that for me.
In this way, the library will have had a lot of eyes, patches all the time fixing bugs and so on. If I would try and make a QR code generator, I would most likely make a lot of mistakes and bugs that more seasoned people that have experience in making such functionality already have experienced and fixed.
If I stopped writing code for the company I work for today, the application would work just the same in one year, in two years etc. I don't get why a desktop app would be more stable than a web app in that sense. I would argue a web app is more stable since we don't really break backward-compatibility in a browser in the same way people do in desktop operating systems.
Sure there is something to be said to not use a big ass framework for some small app. I think frameworks usually brings more pain than it's worth in the long run. But having dependencies in modern applications is a must, even in desktop applications because people expect and demands it. If you would not use dependencies, your customers would choose your competitors most likely.
comment 6y ago · link · parent
Ok if you make an AAA-game title with extreme need of performance or if you make a database engine or something. This is however a very tiny minority of apps with extreme performance needs but again probably 99% of the apps on the appstore doesn't have those requirements and could be done as a web app.
I understand why you don't want code running medical equipment be dependant on some garbage collection or whatever, but no one is saying that we should use javascript for your heart monitoring equipment, unless it can fail and it won't kill you or hurt you physically.