HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pleoxy

no profile record

comments

pleoxy
·3 年前·discuss
You can adopt a centralized system. And it's fashionable to do so. Lots of people here and other places advocate doing everything you can on the server.

But it's not required. Additionally, there are plenty of good incentives not to, including cost. Client CPUs are fast, free to use, and don't require a high latency network hop. Local ram, disk, and network transfer are also available in abundance. You can totally reverse the architecture where the client is doing the heavy lifting and provide the user a good experience.

Intel CPUs are inefficient when pegged, but more efficient at idle. On AMD your using the same cores the cloud is. Without the massive IO attached on the server side the client CPUs are more efficient for a unit of work. Apple is more efficient than the PC side presently, and Qualcomm is entering the fray and appears to be quite efficient.

So I'm really not certain where you're efficiency claim about client hardware comes from. All that hardware is just sitting there and sales vary, but they are not cratering for high performance local compute.

You have a point about GPUs, but only a very few very specialized applications need those.
pleoxy
·3 年前·discuss
What is that, 48 more states to go?
pleoxy
·3 年前·discuss
Definitely a better solution than the brick wall he hit. Complicated beastie. I can see the appeal if you just love, eat, and breath SQL.

But a query language within a query language feels bolted onto something alien to do something pretty basic. Pass. If I'm teaching this to new engineers, pass also.
pleoxy
·3 年前·discuss
I apologize for being short with you in my previous response. I need to be better about assuming good faith.

Your response seems to betray a certain ignorance of mongo. Don't you realize that mongo has indexes?

For handling documents, this blog post covers the topic in some depth.

https://jimb-cc.medium.com/postgres-jsonb-meets-mongodb-part...

Might I suggest you actually use mongo on a project before engaging further on the topic. It clearly has had a lot more thought put into it in the context of json documents.

If postgres works great for your use cases, great, go be happy with the tool.
pleoxy
·3 年前·discuss
All you do is poop all over the story about postgres. I'm convinced that no use cases will convince you of anything. I'm not really looking to involve myself in a database holy war.
pleoxy
·3 年前·discuss
When one doesn't want SQL for one.

Nosql is a fun target to beat up on of late. But there are good, even infamous, reasons to avoid SQL. Particular if you want to accomplish flexible record queries from untrusted clients.
pleoxy
·3 年前·discuss
Unless it's not.
pleoxy
·3 年前·discuss
Nothing wrong with picking mongo if it's a good fit for your use case.
pleoxy
·3 年前·discuss
> True, but SaaS still runs on cloud infrastructure so the costs are still there

You can bring the costs way down. Their margins include a pretty insane amount of features that not everyone needs. There is a lot of meat there if you have skills in the area.

Making/saving money via DIY compute is an area ripe for improvement via better vertical integration.

The big cloud providers simply do not have this market cornered even with this mind share that prevents perfectly good engineers from seeing the path plain before them.
pleoxy
·3 年前·discuss
Some of us do, actually.
pleoxy
·3 年前·discuss
It's been a while, but this was my experience. Lots of dev hours burned fighting with expo.
pleoxy
·3 年前·discuss
You completely missed the nuance I tried to convey.

Making a giant bucket of lots of things and declaring it bad because there is something bad in there shows your ignorance.

Ignoring reasoning shows an unwillingness to learn about stuff.
pleoxy
·3 年前·discuss
A totally generic and unthinking generalization.

There is a place for religion. Something that pushes you to be better than you are. Along with the happiness and fulfillment that comes from that effort. Selflessness, love, compassion, truth.

Plenty of bad religions telling you that you are perfect the way that you are. Just give me money, fame, or influence and I will flatter you and pump your ego.

Another form of this is flattery in exchange for hating something. Many doomsday cults fit this category. All your life problems are because of 'insert target X'. But I, I have the answers you need.

Religion is more attuned with purpose, where your heart is, than the belief in God. Though the two are often paired.

And yes, we crave purpose.
pleoxy
·3 年前·discuss
The biggest problem is that map, filter make copies of the structure. That's an allocation, that means GC calls.

You can make a similar function that changes the data in place and will be faster. But that comes with side effects which is not functional style.
pleoxy
·3 年前·discuss
> How do you get "proclaimed evil for that" from that?

The title of the section, "the hateful browser", tells you the appropriate lense through which to view the entirety of the content. The reader is primed to assume bad faith everywhere.

He reenforces the view with his commentary, the disbelieving and sarcastic "okay Brendan" which further primes the reader into a bad faith view of his accomplishments and life.

It's not a rebuttal that directly addresses any of Mr Eich's points. If we assume good faith on the part of Eich's quote, then an entirely different approach to the points is warranted.