Better HN
topnewbestaskshowjobs
Log inSign up

ecmascript

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

Submissions

comment 2y ago · link · parent

I am a dog owner, my gf is a dog owner. My dog does this very particular thing when he wants attention and my gfs dog have started doing the same after some time.

Humans may be good at learning from others and pick up stuff fast but that don't automatically mean we're unique in our ability to do so. This idea that humans are so special feels very odd to me.

comment 2y ago · link · parent

The input energy could be from gravity, could it not?

comment 2y ago · link · parent

> On the other hand, this shows Elon doesn't care jackshit about the lack of openness from OpenAI. He's just mad only that he walked away from a monumental success.

You really come to that conclusion from a "yup"? Damn.

comment 2y ago · link · parent

So.. as an individual living in the northen part of Europe, can I expect a nice summer then?

comment 2y ago · link · parent

Looks cool but what is the pricing? Get started for free kind of implies that it isn't free after a while or..?

comment 2y ago · link · parent

Good luck getting sued! :)

comment 2y ago · link · parent

I'm assuming it won't run on my GPU though since I am a white man

comment 2y ago · link · parent

Yeah obviously you can use Remix at Vercel as well, but since Vercel is the company behind Next.js I would think you will probably have a better time using Next.js with Vercel.

Altough, I have never used Vercel so that was just an assumption from my part. From my understanding though, they make it really easy to host Next.js apps with Vercel.

I guess the good part of using Remix if you use Vercel is that when they pull the rug from beneath you, you can always switch to another hosting provider.

comment 2y ago · link · parent

Haven't tried sveltekit but I think it's nicer than next because it "uses the platform" more like the standards are supposed to. You will never get a button that is not clickable because some javascript is not loaded.

It's also more straightforward to get started and has sane defaults for the different "stacks" that exist. It's also way easier to self-host. So there are many positives for remix.

I would say if you know that you are going to use Vercel, use Next.js but otherwise I would always argue for Remix. I was a bit hesitant towards React before but Remix had me totally converted due to how easy it feels developing a full stack react app. Nothing even comes close in the javascript land imo. I have done years of work with SPA with web components/Vue/Angular and an api but using Remix I feel like I am several times more productive.

You don't need a state machine with remix as long as you use a backend (I haven't tried the new Remix SPA mode yet), even if you have a backend in another language it is a great way to do backend for frontend meaning that you can gather the data you need and provide it to the client in a nice way. No more spinners everywhere, let your fast server do the api calls and serve the rendered page to the client. You won't have the issues that usually comes with a SPA if you use Remix with a backend. You can stream stuff if you know you have requests that will take a bit longer to complete: https://remix.run/docs/en/main/guides/streaming

You can read more about why remix is nicer here: https://www.epicweb.dev/why-i-wont-use-nextjs

comment 2y ago · link · parent

This is awesome news. Remix has become my standard go-to for all new projects. They have really sane defaults and together with stuff like their indie-stacks etc developing apps goes really super fast.

I have never been so productive as I have been with Remix and it's really good that the finally have embraced Vite so I can use all the different plugins etc that exist for it.

comment 2y ago · link · parent

I have a dedicated server that I got on their auction page for 30 euro per month. That gives me 64GB of ram, 8 cores and some disk space.

Sure, you can get a cheaper VPS, but given a VPS with the approx same perf it would cost much more.

comment 2y ago · link · parent

I don't work at Hetzner, I live in Sweden. I'm just a happy customer giving praise for a company that really doesn't get so much attention.

With all big american companies seemingly getting so much attention nowadays, I am glad for the European alternatives that we have where you don't have to ship your customers data to the three letter agencies.

comment 2y ago · link · parent

why not?

comment 2y ago · link · parent

They have VPS cloud offerings similar to DigitalOcean as well, with no setup fees.

comment 2y ago · link · parent

The setup fee is a one-time fee though, so if you have a server for many years that won't hurt so much. I pay around €30/month for the server I am renting but I know it will last a long time even if I get spikes on any on my many projects. For a 8 core, 16GB droplet/vps at DigitalOcean it will cost you ~$96/month. The performance is better at Hetzner for about 1/3 the cost.

comment 2y ago · link · parent

Not really related to their GPU offering but Hetzner is such a great company. I have a dedicated server I rented where I host all of my side projects. For the same price as one shitty VPS I get 8 cores, 64GB ram and a disk of 240GB or something like that.

Just incredible, response times are incredibly low and there is no cap on data. The few times I have contacted support they've been great. The only times I have experienced downtime is when I have stopped or rebooted the servers.

Can't recommend enough, especially if you are inside the EU and care about data privacy. The fact that they're a european company is of great value to me.

If you are new on server provisioning and want to learn how to setup a new server, I wrote a small guide for how to do it for node-projects (works for pretty much any web app if you replace the node.js stuff): https://deployjs.com/ (hosted on that server)

comment 2y ago · link · parent

Why do you have a small team when you can build it yourself?

I would advice, given that you have money to spare, to go solo full-time on whatever project you're building because that will let you build at it for a longer period of time. Create an MVP asap and if it fails to generate revenue fast enough, take part time jobs as a contractor to finance your passion project.

comment 2y ago · link · parent

Porn is the best use of any VR-headset imo for the simple reason that it is a short term enjoyment that benefits greatly from a more immersive experience that VR can give you.

When you are done you can take it off in shame and go back to doing something that actually gives you value in life. The only reason I would buy a headset would be if I were single and to watch porn and while many would not confess it, I think I'm not alone in this regard. Hence, I would never buy an closed Apple system like AVP even if it's technically better.

comment 2y ago · link · parent

Well I use Hetzner myself, I have never used Fly or their support. But this comment is much more helpful for readers so it's good that you elaborated :)

comment 2y ago · link · parent

I'm looking at these devices and while cool, they all feel pretty dystopian so far. I have tried VR and honestly, I don't think the experience is that good to warrant the price except perhaps VR-porn which was the most impressive usage of VR I have tried.

comment 2y ago · link · parent

Comments like these are just sad to see on HN. It is not constructive. What is these basic features that need fixing you're speaking about and what is the fixes required?

comment 2y ago · link · parent

Just a few days ago I was down voted for stating AI will be better in creating music than human would be: https://news.ycombinator.com/item?id=39273380#39273532

Now this is released and now I feel I got grist to my mill.

Sure it still kind of sucks, but it's very impressive for a _demo_. Remember that this tech is very much in it's infancy and it's very impressive already.

comment 2y ago · link · parent

Well what is the size of .NET that I assume you need installed?

comment 2y ago · link · parent

Honestly this article is just really depressing. Just goes to show how modern technology has ruined peoples lives in ways that we could not anticipate. I always thought internet and social media would bring you more friends but it appears like people are way more lonely today and I identify as one of them.

Honestly, finding new friends as a grown up, especially as a man, is very hard. But I rather have my wedding alone with just my family than with some random people I pay. I'd rather not have any party before the wedding than with people who are not my real friends. Maybe that's just me but I find this "trend", if you can call it that, a dystopia.

We don't need more fake friends, we need less.

comment 2y ago · link · parent

Well. What I mean is that people have used mathematics in order to create music for a long time. But you're correct that everything is mathematical in a sense.

People tend to like the same pieces of music, so there is obviously specific patterns that people generally like. AI is good at finding patterns so in the end AI will become good at creating music.

I think.

comment 2y ago · link · parent

Yes but there is a reason for it being 100mb. You get a self-contained app where you can get to write in javascript. You don't have to spend 100x the time in order to get the same app working in Rust.

If size is such a big deal, then don't use Deno, Node or Bun.

My issue is that most people that are working in restricted environments would never touch javascript since it's not well suited for those kinds of environments. People that complain tend to be haters that just want something to hate upon.

It used to be about php, now it's about javascript.

comment 2y ago · link · parent

Pretty much all cloud services offers way more than that for free and besides, maybe don't use javascript if 100mb is such big of a deal?

comment 2y ago · link · parent

Well my point is that it isn't that bad and there's a reason for it being ~100mb. You can throw out the Intl stuff and remove a large portion of that for example.

comment 2y ago · link · parent

Since music is mathematical I assume that AI will be much better at creating music in the long run than humans will be.

comment 2y ago · link · parent

When I download a modern game it's like 700GB so I donno why people complain about 100mb self contained deploys for javascript. Most of it is the international libraries anyway so.

I find it pretty ridicolous since I go to a website today and it's at least 15MB each time I refresh but 100MB on the server is a problem? Dude cmon.

12345
28