Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
midrus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
421.
▲
by
midrus
5y ago
Totally agree. I've been in this industry since 2001 and never, ever had a performance problem which couldn't be solved with just thinking what your code is actually doing. The bottleneck has been always the database, or the netwo
422.
▲
by
midrus
5y ago
<button @mouseenter.once=" fetch('/dropdown-partial.html') .then(response => response.text()) .then(html => { $refs.dropdown.innerHTML = html }) "
423.
▲
by
midrus
5y ago
So what's the recommended approach for doing it without liveview in the liveview world? jquery? just document.addEventListener? That's what hotwire gives you: an opinionated approach and a golden path to do things in a manageable
424.
▲
by
midrus
5y ago
Liveview (as well as stimulus-reflex) promote minimal JavaScript by trying to push most interactions to the server, and let the server decide what should change in the frontend. So for example, to show a modal, you send an event that signal
425.
▲
by
midrus
5y ago
My company is moving away from it. We built a few services but after a few years some of the original people that introduced it left the company and it became very difficult to hire for. New hires were either people wanting to learn (so we
426.
▲
by
midrus
5y ago
Ok, so here are a few examples of the things we didn't like: 1. We were doing SSR, and given we needed authentication we used next-auth [1], which is a great library btw, but the problem is given the architecture you buy into when yo
427.
▲
by
midrus
5y ago
Not the parent commenter, but maybe my experience saves you some time. Next js is awesome, and it is the best alternative in my opinion if you go the SPA route. Now, things get really, really, really messy and complicated when you start to
428.
▲
by
midrus
5y ago
Even if you are talking about SSR such as how Next.js does it, you wouldn't be spanning processes from your ruby/php application. You would deploy it as a separate application responsible of the frontend, using your ruby/php
429.
▲
by
midrus
5y ago
So npm gives you warnings about vulnerabilities and that's a bad thing? You notice you have thousands of outdated dependencies and that's a bad thing? I used to work a lot with python years ago, and the only reasons we didn't
430.
▲
by
midrus
5y ago
Which for them is like 0,01€ for me.
431.
▲
by
midrus
5y ago
They probably could handle it with perl and cgi scripts. Most of their traffic is reads, and serving cached HTML is fast whatever backend framework you're using.
432.
▲
by
midrus
5y ago
This is your purely subjective opinion. I've worked with both profesionally, and my also purely subjective opinion is that while Ruby is better than Python, Rails is thousands of miles ahead of Django. On the Ruby side, the standard li
433.
▲
by
midrus
5y ago
Ruby on Rails.
434.
▲
by
midrus
5y ago
Best reasoning I've read so far. Can't agree more with you.
435.
▲
by
midrus
5y ago
20% is less than 50%, so I bet most employees are going to be happier now that politics at work are over.
436.
▲
by
midrus
5y ago
“...They just want to build cool shit all day,” the employee said. “They don't want to deal with people, which is something you have to do as a manager … Jason and David just threw us away...” That's... a win?? I mean, I've w
437.
▲
by
midrus
5y ago
After so much time wasted with all of this, SPAs, microservices, microfraneworks, etc, I've ended up pretty burned out of the amount of work it takes, and the incredible number of corner cases I've found. From development environm
438.
▲
by
midrus
5y ago
Yes, the ecosystem is a lot smaller. There are not as many well maintained libraries as in Ruby, or node. Just look and compare the numbers in the package managers websites. Also, the vscode editor plugin for elixir is atrocious. And finall
439.
▲
by
midrus
5y ago
The downvotes you're getting seem to indicate otherwise.
440.
▲
by
midrus
5y ago
> If the company had shut down the list as being unprofessional and that "work is for work" we wouldn't be here Ok, I assumed this was done and part of all the changes they just did. Wasn't it? Are they still sharing
441.
▲
by
midrus
5y ago
Thanks for the explanation. It is a difficult situation to understand from the outside tbh. I agree dhh looks like the person that, if you agree with his points of view, everything is awesome. The moment you don't seems you'll hav
442.
▲
by
midrus
5y ago
Sorry, I think that's the right thing to do. And should have been done a lot erlier. Like 10 years ago when the list first started. And I'd also consider firing everyone that contributed names to that list, and that I can find pub
443.
▲
by
midrus
5y ago
Can't agree more with this. As I commented in other thread, here in europe this is very uncommon. Here we go to work, to work. Football and politics don't lead to good ends anywhere. So, join any company outside to the US if you w
444.
▲
by
midrus
5y ago
As an European. I don't get this. So, employees create a list for making fun of people. Employees start to fight each other because they take offense. Company states at work, you're supposed to work, not to discuss politics. Th ba
445.
▲
by
midrus
5y ago
Given infinite resources (time and energy), everything is worth learning. Having said that, it depends on what you want to build. In my opinion, Go is great for building command line applications, infrastructure applications (Kubernetes and
446.
▲
by
midrus
6y ago
I used to work for a company that picked up elixir at its peak and after struggling a lot with hiring a few years later they deprecated it and started to replace it where possible with other technologies. So I totally understand and agree w
447.
▲
by
midrus
6y ago
Having used in the past both Django and Rails ORMs, I totally agree with this. Prisma is awesome, it's been the best experience I've ever had so far with SQL databases.
448.
▲
by
midrus
6y ago
What is the HN equivalent of "slashdotted" ?
449.
▲
by
midrus
6y ago
By database I mean the actual database servers. Like postgresql or the actual thing storing data to disk, those things are usually implemented in C/C++. By infrastructure services I mean things as DNS servers, network queues, etc.
450.
▲
by
midrus
6y ago
This. I've already stated it a lot. Go is great if you're building a CLI application, a DNS server, a database, some core infrastructure service, Kubernetes extensions/plugins, etc. But people learn it, get hyped, and want to
More ›