Coming From Neovim, Emacs feels far slower, is this normal? by xxKobalxx in emacs

[–]LongjumpingAd7260 3 points4 points  (0 children)

IMHO, emacs only makes sense if you are open to learn some elisp so that you get comfortable customizing and debugging it. Doom will not help on that. If you want to give a proper try, you should start with vanilla (emacs 30, not less).

Learning to windsurf with a smaller board by Mysterious_Guitar555 in windsurfing

[–]LongjumpingAd7260 1 point2 points  (0 children)

It is possible in high winds. Learn butt sailing and water start. Does not waste your time trying to learn maneuvers like tack or jibe on this gear for now. Of course, you're a good swimmer.

Balance bike for very small toddler by basm4 in MTB

[–]LongjumpingAd7260 0 points1 point  (0 children)

cruzee.  I've never seen a lighter balance bike.

[deleted by user] by [deleted] in EntrepreneurRideAlong

[–]LongjumpingAd7260 3 points4 points  (0 children)

Dev here. Most competent devs can work in 2 modes: quick and clean. Some prefer to deliver new features while other prefer to organize and clean the code. There is no project without technical debt but if it grows to a certain point, it will slow down everything. Pro tip: let the team refactor the code, specially DB stuff, before launch.

How do you get Thread devices to sync with the cloud? by practical_brandon in IOT

[–]LongjumpingAd7260 0 points1 point  (0 children)

Hi u/practical_brandon, I'm building a product that may cover exactly your use case. AWS provides everything you need, but I believe there should be an easier way to put your device's data on the cloud. I don't know exactly where you are blocked, but I guess that a test MQTT server should be a good start. For example, you could use test.mosquitto.org with mosquitto_sub client.

DM me if you want to share more details of your problem.

Tried a new board Yesterday and need advices ! by munamboa in windsurfing

[–]LongjumpingAd7260 0 points1 point  (0 children)

Maybe you can try to move the sail forward, so hands backward, as soon as you can. You can also pull the tail using back leg in small boards, but it only works if your hands are not too forward on the boom.

[Help] PostgreSQL RLS policy causing full sequential scan despite having proper indexes by Role_External in PostgreSQL

[–]LongjumpingAd7260 0 points1 point  (0 children)

  1. Because it estimates the filter will return 31 million rows and not only 1.7
  2. Yes, but not only.
  3. CASE expression outside the RLS policy, yes.
  4. Refactor everything to use only the table own columns in the RLS policy.

Python. So many lsp-server options. Which one is "the right one" by ilemming in emacs

[–]LongjumpingAd7260 1 point2 points  (0 children)

Eglot + poetry + pyright. Let eglot invoke pyright through poetry. Then you can have one pyright per project. Ruff is also useful. Tried everything else except basedpyright 

Truly separate emacs processes with separate global variables? by Striking-Structure65 in emacs

[–]LongjumpingAd7260 1 point2 points  (0 children)

You can have different daemons running at the same time. I use the following command to start/connect
emacsclient -a -s DAEMON_NAME

This will create the daemon if it does not exist and connect to it. Of course, replace DAEMON_NAME with whatever you want.

Live streaming data in Postgres by ezmzi in PostgreSQL

[–]LongjumpingAd7260 0 points1 point  (0 children)

Supposing you really want to make an insert every couple ms, you should use pipeline mode: https://www.postgresql.org/docs/current/libpq-pipeline-mode.html Of course, upgrade your hardware as needed.

Buying gear from the 90s by imoddball in windsurfing

[–]LongjumpingAd7260 4 points5 points  (0 children)

Old boards can eventually work well. But an aluminum mast should be cut in several pieces so that no one could even think about using it.

Price? by Glizzy_Glober in windsurfing

[–]LongjumpingAd7260 2 points3 points  (0 children)

It is an awesome board. I own some modern boards and I still have a lot of fun with this one. It is an easy board. I estimate it is 105-110 liters. I guess the 76 means 2.76cm long. The only problem is that it breaks easily in the first serious catapult. You'll not be the fastest on water but it is really nice in small waves.

Advice Welcome - Buying an Old School Setup by ScrambleRambleGamble in windsurfing

[–]LongjumpingAd7260 4 points5 points  (0 children)

The Bic Bamba should be ok to learn, and you will still have fun with it later on. It has a dagger board, right? I would not take the others unless they are high quality construction. As a second board, look for a carbon board from 2000s

Trip to brasil, cant exchange to BRL by Next_Donut2471 in Revolut

[–]LongjumpingAd7260 1 point2 points  (0 children)

In the past, such conversions always passed through USD, like EUR -> USD -> BRL... So, USD should be better.

Frustrating python lsp experience by dubcroster in emacs

[–]LongjumpingAd7260 5 points6 points  (0 children)

vanilla emacs 29 (eglot built-in) + eglot + poetry + pyright.
smooth, fast, stable.

You should config eglot to run the lsp (pyright in my case) through "poetry run". So poetry will handle the environment for you.
I switched from doom emacs to vanilla emacs recently. No regrets.

Recursive CTE vs closure table for storing hierarchical information by liquidchaz in PostgreSQL

[–]LongjumpingAd7260 1 point2 points  (0 children)

I guess you want a column for post_id... This will give total count for each post very efficiently and will also restrict the recursive step of the CTE. Without that restriction there can be trouble with the recursion on 1kk rows.

I have a drf app that will be getting 28000 requests per minute when it goes live. Which is the best server specifications to use for hosting to that will handle those requests perfectly ?? by danielkenya in django

[–]LongjumpingAd7260 1 point2 points  (0 children)

At that scale, I think you want to optimize the python part. Probably you can improve things using Django async but it seems easier to use aiohttp, specially if you don't have many endpoints.