pikzen

Joined 12 years ago

Karma
619
Submissions
348
Member since
Jun 13
I rant about Javascript being crap and stupid practices in software development.
View on Hacker News

Recent submissions

Comment · 9 years ago
Except that MDN isn't your hipster startup website with a 20MB hero image that needs to get its point across immediately. You're never going to end up on MDN and say "I have no idea what this is". You're there because you already know what's under the damn fold.
Comment · 9 years ago
What a genius idea, design only for people with expensive screens, make software only people with a dual Xeon and a GTX1080 can run, and be sure to make the minimum resolution 2560*1900. You're sure to make friends.

Welcome to reality, most people use cheap $20 chinese screens.

Comment · 9 years ago
>Perhaps if government lowered taxes and relaxed the labor code

Oh, Brian, we meet again, and we disagree once again. Taxes and the labor code are not what is making things expensive.

- The labor code is not even close to being the one reason companies do not hire : https://www.insee.fr/fr/statistiques/2871900?sommaire=287202...

- Countless fiscal advantages have already been given and tried, effectively the same thing as lowering taxes on companies. That includes the CIE, CICE, CIR, the reduction of TVA in restaurants, fiscal benefits for life insurance holders, lowering the ISS to 34.6%, removing taxes on plus-value, the globalised worldwide profits regime, and the countless things that can be listed here : https://fr.wikipedia.org/wiki/Niche_fiscale

All of these happened, and the costs have not changed. Some of them were given in exchange of promise of jobs (the change of TVA in restaurants being one of the most notable), and none happened. Profits went up, though.

I would rather have microwave repair costs go up to 80€ than lower our living standards.

>I certainly wouldn’t be happy if I had to pay several hundred euros more for a microwave because of a law mandating the type of screw holes that must be used.

hyperbole.txt

Comment · 9 years ago
One solution to the any typing problem is to use tslint with no-any. It's a bandaid, but it's better than nothing.
Comment · 9 years ago
Agreed upon tax deals have to be legal in the framework laid down by the European union if you're a member. Ireland made a deal that wasn't legal. The EU reminded Apple they had to pay it. Nothing more.
Comment · 9 years ago
>Fight dictatorial control with dictatorial control.

...You do know that communism advocates for a society where control is something done in collaboration with others? Because China, or the USSR calls itself communist does not mean it is. A simple reading of Marx & Engels' work would clarify that.

Comment · 9 years ago
*citation needed

The congested road network still happens with Google cars.

Comment · 9 years ago
> Air routes are more flexible than rail routes.

Except for having to build an, uh, entire airport.

Comment · 9 years ago
> as was Donald Trump

>The notion of no longer blowing up the Middle East and treating Russia as a villain, was impossible for them to stomach re Trump,

Ah, yes, which is why he's threatening North Korea, attacking airfields in Syria, selling weapons to Saudi Arabia (which is currently in a war with Yemen), bombing in Afghanistan, in his own words giving the military "total authorization", authorized a raid in Yemen, and the list goes on.

You were _sold_ no more nation building, by a man who has interests in having his fingers everywhere in the globe. That you bought it hook, line and sinker is yet another problem.

In the same way, the Vietnam war was reasonably popular at first. It was barely around 67 and after countless deaths that the opinion was overwhelmingly negative, forcing the US to go back tail between its legs.

Maybe Americans no longer want war. Every single leader they are electing certainly doesn't share that opinion though. So, either they actually quite enjoy playing world police, or they're quite frankly so manipulable it becomes scary. But go on ahead and blame "the globalists" and "the deep state" (which, intended or not, is very much an InfoWars term, not exactly a reputable source), I am certain that'll do a lot of good.

Comment · 9 years ago
It's actually pretty good. I have no idea how or why, but it's pleasant to the eye and very readable.

... It's probably not worth $200 though.

Comment · 9 years ago
A single m4.16xlarge on AWS is at the very least $2200 per month. That doesn't even include storage costs. Depending on your country, that definitely pays for an already trained sysadmin. Also, some stuff just cannot be put onto AWS. I worked with financial, medical data, it just doesn't go on AWS. Especially since the datacenters are very likely not in your country.
Comment · 9 years ago
>But one server is barely enough for anything nontrivial nowadays

If I facepalmed any harder, my hand would go through my face. A properly setup server, with caching and a backend not written in node, will go a hell of a long way. You can scale to tens of thousands of concurrent users with a single server.

Spoiler: your startup will most likely not even scale up to that level.

These posts are stuck in a tiny little world, made up of hackernews and what is currently hyped on hackernoon and smashing magazine. In the reality, JS still hasn't won, IIS is still powering half of the servers, and Java is still winning. Javascript has gotten better, and if you use Typescript it even becomes a good language. There are certainly some very good things that came out of it (and some very, very dumb wheel reinvention), and I dare say there is not a single UI toolkit that gets close to Vue/React, thanks to the composability and CSS being good enough for theming. Animations are still a major pain point. Serverless will cost you an awful lot past the beginning point, much more so than renting servers, or even having them on-place and paying sysadmins when you are at that stage between medium and big.

While being optimist and non-flamey, which is a good read, it is also a sad state of affairs. The backend, database and "native" side of things boils down to "I don't understand servers, I don't understand databases, I don't understand that bringing a browser along with my application is a bad thing.". I get it. We are asked to push ot feature after feature after feature. But it is genuinely holding everyone back. It's making our software worse. Electron applications are a 15 years jump back in the past, except that they look pretty.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton