HNHacker News
TopNewBestAskShowJobs

ecmascript

902 karma · joined March 1, 2019

submissionscomments
ecmascript··on Dropbox Engineering Career Framework
Every senior role is always very arbitrary while the junior ones are very practical. I feel that this is why big companies fail because you can never actually tell if the senior employees fulfill their expectations because it comes down to personal preference.

Stuff like this only shows that it's not worth making too much of an effort since it's not really recognized anyway. The only time effort and monetary benefits go hand in hand is when you are the owner of the company you make your efforts for.

ecmascript··on Dioxus 0.6 – Crossplatform apps with Rust
I'm not, I find the entire Rust language to be very unreadable.

I have seen a lot of templating languages like the one in Dioxus but I don't think you will "win" the hearts of people with a templating like this:

``` rsx! { footer { class: "footer", span { class: "todo-count", strong { "{active_todo_count} " } span { match active_todo_count() { 1 => "item", _ => "items", } " left" } } ```

Even if I can read it, it's much more of a hassle since I have to translate this into actual html in my brain. Why would I pick this over regular jsx with React? Sure crossplatform is cool, but I already do crossplatform since I only do web dev like most people nowadays.

Maybe I'm not the target customer here, but I have a hard time finding a reason why I should pick something that is much more complex. Speed sure but the gains are not good enough to warrant learning this and if I was a betting man I would bet against it in it's current form due to the learning curve. Also I worry about the financing sine I've read that you guys are taking in VC. Obviously there is some kind of plan in order to make money in the future and I wonder what rug-pull will happen.

The thing is, I have been looking on Rust due to the performance and the potential in wasm (I do very client heavy apps that would benefit from it). But I really don't like the language or the community so I'm basically waiting for other languages to keep up.

When I go in on a technology, I want to master it. So it will require a lot of learning and time investment for me which is my most precious resource and not something I will throw away lightly.

ecmascript··on Vercel/fun: ƒun – Local serverless function λ development runtime
Serverless seems to me be just to be a more complicated way to do php shared hosting.
ecmascript··on Dioxus 0.6 – Crossplatform apps with Rust
It's cool but I could never live with that syntax. Impossible to read, it feels like.
ecmascript··on U.S. math scores drop on major international test
I don't know about the US, but in Sweden scores are dropping because mass immigration. Native swedes do better than ever but the immigrants does very poorly. I would assume the same would be true for basically every western country that have been taking in massive amounts of people from third-world countries.

Even more interesting is that there is an anti-education sentiment from muslim minorities. I think our leaders that force mass immigration on us will be looked down upon and hopefully punished in the future.

ecmascript··on Added sugar intake and its associations with incidence of cardiovascular disease
As a swede myself I agree somewhat but also I don't think what you're saying is the case anymore, even if it used to be.

Today I think swedes in general consume a lot more sugar and much more in a super processed way that we used to. The culture of only eating candy on saturdays is probably alive and kicking among many children but I think isn't that strong anymore with grown ups. A lot of swedes, including myself, struggle with overweight and I think it is mostly how the food culture has changed to go from european to american inspired.

It's basically impossible to find a restaurant close to a highway that doesn't serve ultra processed food that is cooked in some other kitchen far away or simply fast food where it used to be common place to have basically home cooked meals everywhere you went. Now it's mostly low quality crap food just like the USA.

Also the pasteries to the fikas have changed to be more processed. Everything is made with vegetable oil instead of butter etc. Even things that are supposed to be healthy like yoghurt and similar things are filled up with thickener additives or unnecessary added sugars.

Unfortunately Sweden goes along to be more and more americanized (especially food-wise) and I think it sucks. I wish Sweden would be more like the rest of europe and keep it's food culture.

TL;DR: It used to be like the OP said, but it isn't anymore. It is hard to eat healthy because manufacturer keep pushing so much crap in their products and the availability of crappy food items is just insane.

ecmascript··on Sora is here
Honestly, stuff like that could also be because of compression. We're all used to see low quality videos online.
ecmascript··on Send someone you appreciate an official 'Continue and Persist' Letter
Really great idea, but why free? At least take like $5 or something.
ecmascript··on DOJ will push Google to sell off Chrome
The ideal solution would be if they sell Chrome to a player like Shopify would buy it that actually makes money in a traditional sense.
ecmascript··on Google employees pressure execs at all-hands meeting for clarity on cost cuts
Sorry for the late reply, but I was rate limited by HN.

If you live in a culture that does not appreciate quality and the only focus is to make money whatever way possible, you will do whatever in order to make money. The likelihood of people starting to produce quality stuff in such a community is very low.

If everyone around you is throwing trash on the street, you will likely do that as well. You must have your basic needs met before you can start worry about things like quality and unfortunately many people in India does not have this kind of security afaik.

ecmascript··on Google employees pressure execs at all-hands meeting for clarity on cost cuts
Yes obviously. I can name a few:

1. Doctors that prescribe drugs and shouldn't be prescribed to a lot of people.

2. A too unregulated big pharma that makes a lot of money selling these drugs and pushing them to the doctors.

3. Unhealthy food that leads to people taking these unnecessary drugs in the first place.

4. No social security net for people that obviously need help and are unable to help themselves.

This summer I visited the US and let me tell you that the food is really, really bad and probably a big source to a lot of issues the US have in my opinion. If you consume hazardous foods, you will get sick both mentally and physically and it was nearly impossible to get good healthy food during my visit. After my visit to Bulgaria it was easily the worst breakfasts and food in general I've had. I was bloated and feeling like shit the entire time in I was in the US and chocked of all the homeless people clearly on drugs that were just hanging around everywhere in the big cities. I actually lost 2kg during my stay because I was a bit disgusted by the food. It was just fat with extra fat. Every. Single. Meal.

Then I went to Italy, and my stomach was back to normal almost immediately and I've never had better food than in italy. My stomach was thanking me every day and it's easy to see why. They have make everything from fresh produce, basically no conservatives and other crap that both the US and the western/northen europe have in basically everything.

Man the bread in Italy is on another level and available everywhere. Even if you order a sandwich in a gas station it's like freshly baked and tastes amazing. When you go to restaurants, the pasta is made the same day as you order it and so on. Zero km restaurants.

The world should copy whatever Italy is doing food wise because man they have shit figured out.

ecmascript··on Google employees pressure execs at all-hands meeting for clarity on cost cuts
Yes obviously there are exceptions to the rule. I use Postman, which is an awesome software built by an indian (I think).

Also I didn't say their culture was garbage, I said it was built on garbage which is a bit different.

ecmascript··on Google employees pressure execs at all-hands meeting for clarity on cost cuts
[flagged]
ecmascript··on Google employees pressure execs at all-hands meeting for clarity on cost cuts
Maybe, but I think it's true unfortunately. India has a lot of problems and it's very obvious.
ecmascript··on SSH Remoting
The difference is, all the important features are behind a paywall. This will not be the case for Zed it seems.

I have never worked at a place that uses Jetbrains products which does not pay for their premium offering.

ecmascript··on SSH Remoting
But with Jetbrains products, you pay or the entire software, not just part of it .
ecmascript··on Ask HN: Website with 6^16 subpages and 80k+ daily bots
I have an API that is getting bashed by bots, I will definately try some of these tips just to mess with bot runners.
ecmascript··on Ask HN: What's the most creative 'useless' program you've ever written?
Once I wrote a Wordpress image downloader that would recursively go through a wordpress blog and download all the images. Only issue was that I had a bug that made it keep redownloading all images over and over again which made the bill for data go through the roof.

Ended up scrapping the project and didn't pay the bill. Luckily it was hosted on a platform that just complained on me for going over it instead of requiring me to pay.

ecmascript··on Ask HN: Companies of one, what is your tech stack in 2024?
Very cool, I have had my eyes on liveview since it came out but since what I am building is a heavy user of maps and client side functionality that will utilize offline support, liveview brings unfortunately pretty little to my table and would be impractical.

Besides I can get the same functionality for most of the app with Server Sent Events and EventEmitter in node even if it is a tiny bit more of a hassle. But since the SSE is a better protocol than Websockets (especially with http3) you also get benefits you can't get with Liveview such as stuff working when customers have Proxies or firewalls that block stuff that is not http.

I really like Elixir as a language and I think Phoenix Liveview is a game-changer and I can't fathom why more people don't use it that doesn't have the same client side requirements as myself.

ecmascript··on Ask HN: Companies of one, what is your tech stack in 2024?
I'll start since this year I'm finally in the process of building my first startup, even if it isn't official yet.

What is your tech stack?

I use React with the Remix lib/framework together with Mapbox for mapping purposes and PostgreSQL and SQLite for data storage. I host everything on a GleSYS server. I also use some C# that acts as a plugin to retrieve and sync data to the web app.

Why did you choose it?

I chose it because I am building a thick front end application and because it is tech I already knew. I need a lot of client side functionality so using what tech I already have knowledge of seemed easiest and I can bring whatever I learn to my day job and vice versa to get the synergy effects.

Do you think your choices had any impact on your success or failure?

Haven't had failure or success yet since I am still in the process of building it.

ecmascript··on Google is cracking down on ad blockers, but here's how you can fight back
The only way of fighting back is stop using Chrome and preferrably chromium based browsers.

I recommend using https://librewolf.net/

ecmascript··on Show HN: OpenFreeMap – Open-Source Map Hosting
Very good initiative, I will try it out for my project and donate monthly if it is successful!
ecmascript··on We have lift-off Element X, Call and Server Suite are ready
Android 14, build AP2A.240905.003

But it has only happened a few times for me. I have not created any github issues. I only have 1 friend on matrix so I don't get that many messages :)

But each time I open the app, the syncing is kinda slow, much slower than on the computer in my experience. Isn't it possible to enable fetching in the background?

ecmascript··on We have lift-off Element X, Call and Server Suite are ready
I use Element X every day. On the phone it's very buggy and doesn't get push notification for the latest messages sometimes.
ecmascript··on Admins wonder if the cloud was such a good idea after all
I have never understood the rush for "the cloud".

I run all my shit on a VPS (which could be called a cloud) or a dedicated rented server but that is so easy to setup and I can run all projects on the same server. Easy, simple and if I need to scale I just rent a bigger server.

Scaling vertically is easy, scaling horizontally is hard. Most people never need to scale horizontally but does so anyway because they think they do.

You also get like 10x the perf for the same money. Using SQLite makes it easy to have backups and even time-specific testing databases.

ecmascript··on Mako – fast, production-grade web bundler based on Rust
Just me being curious since I have used nvm for years without any issues. What do you mean by slow shell startup times? In what way do you use nvm in order to experience any slowness?
ecmascript··on Mako – fast, production-grade web bundler based on Rust
Yeah okay, but that's not the reason why people write it in the title. They write it in the title because they know that many engineers like Rust and think people will immedietly be drawn to it.

But the language itself is not a goal or at least shouldn't be IMO. Thus it have the opposite effect on me, who do not care about what language my bundler is written in.

If I did, it still wouldn't have any competitive advantage since as you point out Vite will soon also be based on Rust.

ecmascript··on Mako – fast, production-grade web bundler based on Rust
Can't people figure out some other tooling besides bundlers? I mean, how many do we really need?

It's probably fine, but so are all the others as well. The authors have probably spent a fair amount on time on this project so I don't want to be negative but it's just hard to be excited when it brings nothing new to the table.

Why should I use this over Vite or esbuild? Because it's written in Rust? I don't understand why that even matters. Even if it was 10 times faster I wouldn't use it because Vite is fast enough and have all the plugins I would ever need.

ecmascript··on Uncomfortable truth: How close is "positivity culture" to delusion and denial?
Damn, I have a hard time reading articles like this since it feeds into my health anxiety I have developed over the years after having many issues with my bowels.

I have several issues due to this, reflux being one and I am afraid of getting a diagnosis like this man. Somehow, by reading about it, I can catch myself almost convincing me that I must have something else badly going on even if it is just the same old problems that I have had ever since the symtoms first started appearing.

I sincerely hope that he survives his disease and that researches can develop vaccines against cancer.

ecmascript··on Two million checkboxes (written in Elixir)
Seems like the server disconnects pretty often. I get disconnected twice now which ruined the boxes I had selected. :(
Page 1 of 25Next →