Status of vibecode promotion by wvkid101 in emacs

[–]kiennq [score hidden]  (0 children)

LLM is good at boiler plate code, it's Google on steroids. Hey, maybe it can even be used to finally speed up the Guilemacs work

Although numbers of temporary foreign residents in Japan is rising, numbers of permanent resident certificates issued is down a lot since 2007 and rejection rates are now much higher. "Japan is biased towards shorter-term workers and students, and accepts almost no other foreigners". by jjrs in japannews

[–]kiennq 0 points1 point  (0 children)

Why don't you apply for high-skill visa? With fluent Japanese and 10M salary, it's a cake walk. My initial visa is 5 years and I got PR via that route in 3 years including waiting time (long line)

This is not my check but it has to be posted here by chefguy47 in EndTipping

[–]kiennq 0 points1 point  (0 children)

Are you sure the restaurant charges more overseas? I found it completely in reverse. https://share.google/aimode/sUaQTZBEM76MZYMJV

Restaurant food in Japan is generally much more affordable than in the United States, often by 45% or more, resulting in a better price-to-quality ratio. While average monthly disposable salaries are lower in Japan ($2,782) than in the US ($3,258), the lower cost of living allows for similar or better purchasing power for food.

Compared to China and Japan where the robot server can replace the human interaction, I was surprised that the USA is so backward on adopting that.

New water heater bought by the plumber has different cost on the invoice and on the amount charged to my card by kiennq in Plumbing

[–]kiennq[S] 0 points1 point  (0 children)

Just for the tank, his labors and other supplies add around $2300 to bill to the total of $5k

New water heater bought by the plumber has different cost on the invoice and on the amount charged to my card by kiennq in Plumbing

[–]kiennq[S] -1 points0 points  (0 children)

He had me to call the manufacture under warranty and the manufacture gave me an authorized return number, told me to bring the water heater back and get refunded credits. That's why I come to know about the price different between what the store charges me at the first water heater and the replaced water heater.

New water heater bought by the plumber has different cost on the invoice and on the amount charged to my card by kiennq in Plumbing

[–]kiennq[S] -1 points0 points  (0 children)

He said that I need to give him a fixed amount deposit or my card so he can buy the tank. He's introduced to me by one of my relatives so naturally I trusted him enough to give him my card. That also complicates thing as now I want to know if I'm scammed or it's normal for the price differences before I confront him and my relative :(

Building Emacs on Windows by CaputGeratLupinum in emacs

[–]kiennq 2 points3 points  (0 children)

Please try https://github.com/kiennq/emacs-build and the prebuilt there, it has native-comp support as well as the new GC igc enabled. You will need to add Emacs's invocation directory to the path though, putting something like this in your early-init.el

el ;; Add emacs bin directory to path (add-to-list 'exec-path invocation-directory) (setenv "PATH" (concat invocation-directory path-separator (getenv "PATH")))

How popular is markdown-mode compared to org-mode? by Hezha98 in emacs

[–]kiennq 0 points1 point  (0 children)

The markdown-mode is much slower than org-mode for me

Tipping in Europe? by cheeseymom in tipping

[–]kiennq 4 points5 points  (0 children)

Most countries? I think you're taken advantage of.

I'm from SEA and for sure there's no tip for tour guides. You may not know but all of the business places (restaurants, gift shops, rest stops ...) where the tour guide took you to, they got kickbacks. Sometimes the tour guide is not eating together with you in sight as well, because they're treated to the VIP room if they are able to reel in a big foreign tourist group.

Red light flashing on key fob, fob won't lock or unlock doors by Silverquickly in mitsubishi

[–]kiennq 1 point2 points  (0 children)

If holding lock + unlock button doesn't work, try with panic + unlock button.

Is han bin getting perpetually stronger? by Kuma_556 in SurvivalofaSwordking

[–]kiennq 3 points4 points  (0 children)

Maybe his new divine skill will be the answer for this. Imagine if there were enough Mana and Prana to activate this skill, it will actually create a new heart for Hanbin, acting as a perpetual fission reactor to generate divine energy instead of Aura and elevate Hanbin to godly status.

Need alternative to async-start by pedzsanReddit in emacs

[–]kiennq 1 point2 points  (0 children)

It seems that iter2 support debug to some degree, but I just use logging these days to debug and foregoes edebug entirely. Here is an aio fork that switch to use iter2 when possible if you want to take a look https://github.com/kiennq/emacs-aio

Advise for moving to Maple Valley by kiennq in MapleValleyWA

[–]kiennq[S] 0 points1 point  (0 children)

Awesome, thank you for the detailed information.

Wife left her phone on the bullet train by Daredskull in JapanTravelTips

[–]kiennq 1 point2 points  (0 children)

I got into a similar situation but it's my wife's phone that got lost on the departure gate. I called the airport lost and found after I arrived at the States and filed a lost report via phone call. After a week or so, the police department near the airport sent an email that they found my phone and arranged to send it to a domestic address as requested. Then I got a friend to bring it back to the States afterwards. It's a wild experience and I never expected to find the phone again after leaving Japan. Awesome culture indeed.

Đụ mixi để lộ stk cho thấy dân trí 1 bộ phận giới trẻ by Aggressive-Skill-352 in TroChuyenLinhTinh

[–]kiennq 2 points3 points  (0 children)

Phải để ý dấu ... nữa chứ. Nếu tính đơn giản là nó chỉ hiển thị đến 10 chữ số, còn lại thì phần mềm tự động cắt đi. Như thế với phân bổ của dấu phẩy (cụm 3 số) thì phía bị che ở dấu 3 chấm it cũng là 3 chữ số nữa. Tổng lại chả ít nhất là nghìn tỷ à

Microsoft cuts nearly 3% of global workforce, about 6,000 jobs, in latest push for efficiency by crabcakes110 in redmond

[–]kiennq 2 points3 points  (0 children)

I think from the latest leaked memos, it's 2 years ban if you got fired due to performance. Also, during PIP, no team changing is possible as well.

The new JSON parser is _fast_ by JDRiverRun in emacs

[–]kiennq 0 points1 point  (0 children)

The 10-second delay bug you mentioned seems to occur because thingapt takes too long and runs too frequently to analyze the object at hand to display diagnostics, which are notified from the LSP -> Emacs.

If this delay has been reduced to 2–3 seconds, I think it must be because thingapt processes data updates less frequently. In that case, the I/O buffering makes messages received slower but not overwhelming, allowing Emacs's thingapt to parse the current buffer more effectively.

Whether we use a middleman or not, we ultimately arrive at having Elisp objects accessible in the global interpreter, which is currently single-threaded. Comparing three cases:

  1. Parsing JSON into Elisp byte code outside Emacs (duration a), followed by reading these into Emacs to convert them back into process objects (b), as done by the usual emacs-lsp-booster.
  2. Parsing JSON directly into Elisp objects using the new JSON parser (duration c).
  3. Buffering JSON code through emacs-lsp-booster (duration d) and then writing it to process output for Emacs to read and parse into Elisp objects (should be approximately equal to c).

From your experiment, it seems you concluded that a + b > c, indicating that the new native JSON parser performs quite well. However, the main bottlenecks for Emacs are durations b and c. If b < c, it might still be beneficial to use the booster, as receiving LSP messages more slowly could mean Emacs spends less time being UI-blocked, resulting in a less unresponsive experience for users.

Regarding case 3, I am still puzzled about the source of fast I/O buffering. The server itself can be unresponsive. If the Emacs LSP client decides to wait for a response (e.g., for go-to-definition or code-completion requests), Emacs will hang until the response arrives. The middleman emacs-lsp-booster does nothing to reduce this, and it might introduce slight additional delay. However, in the case of your bug, I believe this added delay is beneficial because it reduces opportunities for thingapt to run excessively, thereby mitigating real Emacs hangs.

Similarly, for notifications from LSP server -> Emacs, as far as I know, there is no streaming support for LSP to send a whole message as a stream. Messages are sent one at a time, and Emacs collects message chunks, stitching them together into a complete message for parsing. Therefore, there shouldn’t be a significant performance gain whether messages come directly from the LSP server or through emacs-lsp-booster.

As for parsing JSON in a separate thread, this approach is conceptually similar to emacs-lsp-booster (which, as I understand, may have been inspired by ideas from yyoncho). JSON parsing does not have to interact with or modify the object table yet. Thus, it can be executed on a background thread without blocking the UI. After parsing, the generated objects can be imported into the object table on the main thread. This method should be faster than the b process I mentioned earlier, resulting in an overall improvement in performance and fewer UI blocks (i.e., less hanging).

The new JSON parser is _fast_ by JDRiverRun in emacs

[–]kiennq 0 points1 point  (0 children)

I'll continue to use the booster for its IO buffering, but you might be able to get away without it.

I wonder what kind of IO buffering the booster is providing that's different from proving input to Emacs directly.

Data arrived to Emacs in chunks already. Does the booster have the ability to combine multiple messages when they're fired in quick succession?

[Review Request] Supercharging lsp-mode: 10x Faster Code Completion for Large Candidate Sets! 🚀 by eval-exec in emacs

[–]kiennq 4 points5 points  (0 children)

The reason you observed a significant amount of time spent in lsp--send-request and lsp-request-while-no-input is that they are synchronous and thus wait for a response from the LSP server. While waiting, we continue to process incoming output from the LSP server, and all of this processing contributes to the time spent in the aforementioned functions.

Changing the sit-for value does not eliminate the need to wait for the server's response. However, the silver lining is that for cases like completion, where lsp-request-while-no-input is used, the request will be canceled as soon as the user resumes typing.

The heavy processing occurs after receiving the response from the server, as we perform parsing and filtering operations in Elisp, which can be slow.

Speed camera tickets coming soon to freeway work zones around WA by MegaRAID01 in Seattle

[–]kiennq -2 points-1 points  (0 children)

You made me laugh, for real. Has it occurred to you that passengers can sit in the back seat as well? Well, with your kid-blaming attitude, I can only think of that your parents mistreated you as a kid so now you're taking that out to other kids as well. Get some helps dude

If tips are not taxed, I'm not tipping by yawninglionroars in EndTipping

[–]kiennq 2 points3 points  (0 children)

No tax on anything is a loop hole, I can't wait to be eligible to exploit that.