HNHacker News
TopNewBestAskShowJobs

0xblinq

959 karma · joined September 19, 2022

submissionscomments
0xblinq··on Denial of service and source code exposure in React Server Components
I think the same. To me it looks like a Vercel marketing employee wrote that.
0xblinq··on Denial of service and source code exposure in React Server Components
This is why I'm a big advocate of Inertia.js [1]. For me it's the right balance of using "serious" batteries included traditional MVC backends like Laravel, Rails, Adonis, Django, etc... and modern component based frontend tools like React, Vue, Svelte, etc. Responsibilities are clear, working in it is easy, and every single time I used it feels like you're using the right tool for each task.

I can't recommend it enough. If you never tried/learnt about it, check it out. Unless you're building an offline first app, it's 100% the safest way to go in my opinion for 99.9% of projects.

[1] https://inertiajs.com/

0xblinq··on Django 6
Great argumentation…
0xblinq··on Django 6
Haters are downvoting you probably because of mentioning anything PHP related.

But what you say is true. Blade is amazing.

0xblinq··on Django 6
Glad to hear that works for you. But nothing of what you are mentioning is part of Django, nor an official package,etc.

And I’m not going to get into the details of whether that stack would work for non backend developers, developers working on medium/large projects and/or medium/large teams. That’s a separate and unrelated discussion.

But compare what Django brings you (Stone Age templating system and that’s it) to what Laravel provides out of the box (or via official packages) like assets bundling, live reloading, an amazing and modern template system with proper “component like” partials or even if you need them, the “big guns” such as Inertia or Livewire. More or less the same is true for Rails with the Hotwire stuff.

There’s absolutely no point of comparison here. Even if that works for you, Django is not even in the same league.

It is still a great backend framework though, which was my point.

0xblinq··on Django 6
That’s true as long as you are only talking about the backend.

Frontend wise, Django is in the Stone Age.

Look at Laravel or rails if you want a really complete full stack solution.

0xblinq··on React and Remix choose different futures
That’s subjective
0xblinq··on React and Remix choose different futures
What terrifies me about Remix 3 is Remix 4.

That is… I wouldn’t even think about using it because it’s very likely they will change their mind next year and come up with something totally different. Again.

0xblinq··on React and Remix choose different futures
The reason is simple.

These guys are really, really obsessed with download counts. They brag a lot about that in twitter every time they have a chance.

What they want to reuse is the package name.

So now they launch whatever bullshit they are playing with now under the “remix” package and the next day they’ll say “look… we have N thousands downloads per second!!! We are so successful”

They did this multiple times. And will keep doing it because they are obsessed with this.

0xblinq··on Google Antigravity
As if this was something one could trust it won't be shut down 3 years from now...

No thanks...

0xblinq··on Cloudflare Global Network experiencing issues
Plot twist: They work at Cloudflare
0xblinq··on Cloudflare Global Network experiencing issues
Do you guys work at Cloudflare? Do you mind reverting that change just in case?
0xblinq··on Cloudflare Global Network experiencing issues
All bets on DNS being the root cause.
0xblinq··on Marko – A declarative, HTML‑based language
Why are you copy pasting the same comment, under different usernames everywhere?
0xblinq··on I built the same app 10 times: Evaluating frameworks for mobile performance
As somebody using Svelte for a real production application, I can only 100% agree with their recommendations regarding Svelte because of the overall dev experience is unmatched. It just feels right. Easy. Simple. And I'm not even considering performance here as another benefit.

I usually make the analogy of a video game, where you can pick the difficulty. Svelte/SvelteKit is working in the "easy" difficulty level. You can achieve the same end result and keep your sanity (and your hair).

0xblinq··on US Government Uptime Monitor
Where's the up time monitor for this site? It seems to be down.
0xblinq··on Chinese EV giant BYD sees UK sales soar by 880%
Because of racism, probably
0xblinq··on Chinese EV giant BYD sees UK sales soar by 880%
What's the alternative? Tesla? No thanks.
0xblinq··on Svelte’s characteristics that likely contribute most to improved performance
Anyone can write svelte. Or solid. Or Angular.

I don’t even want to talk to somebody that defines themselves as a “React” developer. Let alone work with them.

If you know any of these frameworks, and the basics of web development you can work in any of them.

So the hiring part is not an excuse for this.

0xblinq··on Doing Rails Wrong
> The front-end dev space feels like a cacophony of people all blurting out the same over-engineered stack. If your app is a few lists, a chart, and a form... Does it _reaaallly_ need React?

If your app is that simple you don't even need Rails.

In my experience, everything starts that simple. But then time passes, team members rotate, and... your PM keeps asking to add more and more features... And that's when the "simplicity of hotwire" becomes a nightmare to maintain. And guess what, the next dev that comes to the project will hate all the hotwire crap, and whoever built it.

It's easier to make a simple list and a form with React/vue/svelte even if it seems overkill at first, because when things get more difficult you already have the big guns. If you start with the tools to build simple, well.... wish your project stays that simple forever, or that you're given enough time to rewrite everything.

> 37signals is afterall running multiple successful products with Rails, and one of them is an email client.

These applications may be a successful product, despite of hotwire, but they're not a good example of anything. They feel like shit to me (using them from Europe). And again, the main problem is not the end result but the maintenance. If there's anything we've got from all of this mess, is that implementing UIs as "components" are the best idea in the last 10 years.

Stop beating the dead horse of variables interpolated in templates. It just doesn't work (unless you work alone).

0xblinq··on Doing Rails Wrong
Yes. It's also recommended to not use much of it and do almost everything else with turbo drive, or turbo frames, or with turbo streams, or with whichever convoluted magic you can do to avoid it until you can't anymore. Then you use Stimulus. Yes, I know it.

The fact people can't escape JavaScript doesn't stop people from being JS haters.

0xblinq··on Doing Rails Wrong
That's the only good reason to use Hotwire. Being a JS hater.
0xblinq··on Doing Rails Wrong
This. We replaced Hotwire frontend with Inertia and it's night and day.

Unless you work 100% alone (and for a smallish project) hotwire leads to a real mess nobody can work on way before anything else I've ever seen in my life.

0xblinq··on React is winning by default and slowing innovation
You don’t have to. Inertia.js exists.
0xblinq··on Next.js is infuriating
For all of you struggling with these modern frameworks (Next, Nuxt, Remix, TS start, etc, etc, etc)...

Don't waste your time.

They're all almost the same (crap), but the real issue is the instability of all of them. They change every week, they're constantly pushed sideways by the VCs or other interests behind them (or the constant mind change of their devs, i.e. React Router.. I mean Remix... I mean framework mode... I mean now we nap and then invent our own frontend framework but keep the old name, just to add a bit more to the confusion and keep everyone entertained).

They're overengineered, complex, and promote the little shiny "look how fast this counter updates in a type safe way" while they totally break down when you have to do real world serious stuff like authentication (ehh...go and use this SaaS..), authorization (ehh..what's that? just put an "if"), translations (who speaks other than english?..no need for that), background jobs or anything else a real world application needs. They're focused on the shiny "typesafe call server function" and everything else is just let on you to figure out, and good luck with the library you pick, because next week it's going to be a different one and you'll be out of fashion!

Many years ago I started using Inertia [1]. I'm confident to say it's the right, simple, most effective way to use React/Vue/Svelte. It's a super simple "protocol" with very thin adapters implementations that glue together your favorite frontend lib (react, vue, etc) with your favorite full stack backend framework (laravel, rails, django, adonis).

I've used it for client projects with both, Rails, Laravel and Adonis. I have no complaints about it. It works super well, follows a simple to understand model and you literally get the best of both worlds: a powerful frontend, and a powerful backend. It keeps things simple and stable using rock solid battle proven production ready building blocks with great documentation and community support.

I'm just done with all these other "meta frameworks". They're all marketing and hype and everyone is swallowing it and then ending up cornered with a terrible solution and a lots of problems they didn't account for and have no official or recommended solution to get out of it.

That won't happen if you use plain React/Vue. That won't happen if you use plain Laravel/Rails/Django/Adonis. Inertia just glues plain X + plain Y. No lock in. No possibility of being "stuck" in a situation where "I can't do X because...."... you can.. and you can in a very nice and clean framework-supported way.

It's a fantastic undervalued idea, and we're not paying enough attention to it (yet).

Don't fall for the marketing and the hype. Look for the simple and pragmatic solutions, they're there. They work. They're just not as hyped, so I'm hyping it up a bit for you in this post. Apparently that's what everything needs: Marketing.

[1] https://inertiajs.com/

0xblinq··on Next.js is infuriating
+1 for this stack.

Adonis + Inertia works wonderfully well. It's the best of both worlds. And the simplicity of this architecture is something to admire. It's very easy to know what's going on at every point: It's just requests, responses, middlewares and routes/views. Simple and easy, while still super powerful.

0xblinq··on Next.js is infuriating
You must be building extremely simple/minimal frontends with near to zero interactivity requirements. Otherwise "no javascript" and "no livewire" just doesn't work.
0xblinq··on Linear sent me down a local-first rabbit hole
Yes, you’re missing a lot of things. Like how to update that data when you are offline and have everything sync around when others have made updates to the same data in the meanwhile. Among many other concerns and use cases.
0xblinq··on PHP: The Toyota Corolla of programming
Exactly. I remember that at the time, the alternative was the nightmare of setting up tomcat, Jboss, etc and dealing with all that bullshit.

Thanks God most of us didn’t have to deal with that enterprise crap for long, and in my case it was thanks to PHP too.

0xblinq··on Bypassing Google's big anti-adblock update
Facebook entered the chat
← PreviousPage 2 of 15Next →