Hacker Newsnew | past | comments | ask | show | jobs | submit | more VMtest's commentslogin

my comment on greppability from 3 months ago could be relevant https://news.ycombinator.com/item?id=41467681


creating indexes will lock the tables if not mistaken, the problem about database is that many of us just don't study enough to make sense out of it


In PostgreSQL you can create indexes concurrently, so the database doesn't have to go down to create a new index:

https://www.postgresql.org/docs/current/sql-createindex.html...


I am not sure if you are ignorant or what, but GP obviously means someone else other than Apple


It means Apple. See: "Are you sure Apple can’t read them too?".

Next time you insult someone, better use your cognition powers to avoid looking like that which you call others


My bad, I didn't mean to insult you. I meant it as a criticism

By GP, u/blitzar's comment, my cognition tells me that his comment meant anyone can break AES 256-bit encryption, including Apple, but in this context, he could have meant everyone else


good engineers choose their own tools

otherwise, they are bad engineers, period

keep your strong opinions to yourself and don't be judgemental

you can, however, criticize their workdone instead of their tools


From users' point of view, they only care about the performance really

Some e-commerce apps use React in WebView on Android and the apps will become unresponsive after visiting several product pages (more than 10 probably). They have to be force closed and opened to be used again


This has the essential bits of one of the most common critiques of React, its claimed slowness.

As a seasoned React dev of 10 years (aka a heavily biased person) I would claim 99% of this issue is better explained by: - React is the most popular choice => used in all kinds of places by all kinds of people - with varying skill - under all kinds of business pressure to deliver features => a lot of slow apps in React

I'm not saying a case for specific areas where React is slow can not be made, these anecdotes just don't do it for me.

We do have the synthetic framework benchmark, where React is indeed one of the slower candidates. I have yet to build an app with functionality akin to adding 10s of millions of rows, so it has not been an instructive decision driver for technology choice. The project I have been working on (also in Vue, Svelte, SwiftUI) had their bottlenecks in other places.

The non-synthetic argument in favor of React passing the performance test is billions of people using FB, Insta, Netflix, MS Office (to name some of the big React apps), about which I have not much in terms of complaints.\ This is usually where the second big React critique kicks in: it being a Fortune-500 framework. That has not been my non-fortune-ate experience.

I think a residual argument can still survive this: I/my org has not been able to write performant React. I'd be curious to read someone go into the details of where it broke down and how switching view layers solved for that specific situation (I hope that does not read cynical, I'd really be curious).


reply to my own comment

reddit switch from reactjs to lit for performance reasons

https://www.reddit.com/r/reactjs/comments/12yxva6/whats_you_...

nothing is wrong with react, performance is obviously depending on how optimization is done


Yeah. And that’s basically the thing, right?

If I need to hit a certain performance because the business has concluded that it matters, and React can’t get us there, then I’m likely switching to Svelte or whatnot.

If none of my tools can do the job, I’m going to the store and buying a new tool and learning how to use it. I don’t feel ideologically attached to my palm sander. I’ll buy a belt sander if the palm doesn’t make sense for a task.


But your tools can't do the "performance" job right now, it's just that there is enough "friction" in the management/decision chain that it may not be decided on by "the business".

Though the desire to improve without external pressure could be considered ideological


Hora do you know that? I've seen really well optimized React apps and very poorly optimized Svelte apps. It's not like using Svelte magically makes performance good. Just like using Unreal Engine doesn't mean that a game is optimized. You just have different, maybe better, tools to improve performance.


to note here is that fuse(virtiofs) can be used for better performance in qemu than 9p(virtio-9p)

can read the faq in https://virtio-fs.gitlab.io


those who said using an IDE is better for tasks like the article describes, I would say, not really

I have experienced a number of cases where IDEs were opened but they were useless, and I had to grep+find+vim+tmux for everything in front of ex-colleagues who didn't know better

1. a python codebase written for web scraping, this project can single-handedly be used to teach people how to not write python

2. production service in linux bare-metal servers where nginx + lua files were used for load balancing, backend written in go a few years ago, and there were php files as well

3. php and typescripts large codebases, debuggers were used as well, and no, no one could reason with the problematic areas, particularly on multiple inheritance diamond problems. I was never contented with my successful attempts to adding code in them

I don't know how useful IDEs can be in these cases, but no one other than me in those ex-companies could handle them. I even lent my laptop with IDE and full environment to some supposedly-very-senior colleagues, they could only avoid the problems at best

edit: and for a project like chrome, [Fixing a bug in Google Chrome as a first-time contributor](https://news.ycombinator.com/item?id=41355303)



interesting

I have deleted the default screenshot program and use flameshot instead, but I'm not sure if Win+Shift+S can replicate this behavior with flameshot



Unrelated to the actual topic at hand, it’s mind blowing how much better nitter is in usability, speed, and user experience.


I think this shows what you can do with server-side generated HTML without any JavaScript frameworks and bloat.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: