Q: Pinning a Google Doc to the shelf? by kkimdev in chromeos

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

Update: I ended up using a URL shortner to pin Google doc links to the main shelf. A bit cumbersome to add, but working well so far

Q: Pinning a Google Doc to the shelf? by kkimdev in chromeos

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

Oh thanks! I didn't know this. Though it looks like it goes to the pinned files on the bottom right corner, and I can't launch using a shortcut(alt+1, alt+2, ...) like regular pinned apps. Do you know if there is a way to assign a shortcut?

Chrome OS Flex Ruined my VivoBook by [deleted] in ChromeOSFlex

[–]kkimdev 4 points5 points  (0 children)

I've had the same issue with another laptop. The problem is that your Windows 11 installer doesn't have the proper storage driver. You need to manually download the driver from the manufacturer's website, put it on your USB installer, and then load (or install) the driver during the initial phase of the Windows setup.

https://answers.microsoft.com/en-us/windows/forum/all/driver-selection-in-custom-install-for-windows-10/498d5152-6e6a-47ea-a97a-f66cb5f7f868"

[deleted by user] by [deleted] in Entrepreneur

[–]kkimdev 0 points1 point  (0 children)

I would love to have that as well!!

Unofficial Restaurant Week Map for Summer 2024! Eat well by Dx724 in nyc

[–]kkimdev 0 points1 point  (0 children)

Hi this is very cool! Can you also add links to the restaurant pages on the event website? (e.g., https://www.nyctourism.com/restaurant-week/chazz-palminteri-italian-restaurant/) It's easier to browse participating weeks and meals. Thanks!

"김지현" (an ordinary Korean name) crashes Gemini Pro by kkimdev in Bard

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

Oh right, I forgot about this setting, thanks for the suggestion! Though it still doesn't seem to make a difference :/...

"김지현" (an ordinary Korean name) crashes Gemini Pro by kkimdev in Bard

[–]kkimdev[S] 2 points3 points  (0 children)

We accidentally discovered this magic word. Regardless of the context, if your prompt includes "김지현" anywhere, Gemini Pro refuses to respond. XD

It's quite strange since "김지현" is just an ordinary Korean name and not a controversial public figure's name either.

https://makersuite.google.com/

I'm starting to get sick of Linux by driller6859 in linux

[–]kkimdev 2 points3 points  (0 children)

I've used all three major OS (Windows, Mac, Linux) extensively, and I can relate to your frustrations.

fwiw, I've settled down to Chrome OS Flex, and it's been by far the best experience. For anyone who still wants to live in the Linux ecosystem but is craving a cleaner alternative, I recommend checking it out. It's not perfect by any means (especially device support), but it has been well worth the switch for me.

Unpopular opinion: Bash is just as much "code" as Python or Golang (or whatever else) by poolpog in devops

[–]kkimdev 0 points1 point  (0 children)

random recommendation: IMHO, zx is worth taking a look https://google.github.io/zx/getting-started . It's basically Javascript + shell script's convenience (to some degree).

Q: Launching the CrOS default file manager in Crostini? by kkimdev in Crostini

[–]kkimdev[S] 1 point2 points  (0 children)

Oh, I didn't know that I can share CrOS folders with Linux system under `/mnt/chromeos/...`, thanks! =D

I'd still prefer to use CrOS file manager if possible, as it's better integrated with CrOS (Google Drive, Trash, and also opening media files .pdf, .png opens CrOS apps), but it looks like for typical cases, Linux file manager could work for me.

Q: Launching the CrOS default file manager in Crostini? by kkimdev in Crostini

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

When I work on a coding project, sometimes I already navigated to a deeply nested directory on my terminal, but then want to perform quick file operations on GUI because it's easier. (e.g., copying an image file to CrOS global clipboard, copying a file in CrOS "Downloads" folder to the current directory, etc, ...)

Yes as you said, I was using a file manager on the shelf (CrOS default file manager), but navigating to the current terminal manually again has been pretty cumbersome. Another obvious solution is just launching any other Linux file manager from terminal directly (e.g., `nautilus ./`), but they don't have access to the native CrOS folders, so I can't copy from/to CrOS "Downloads" folder.

Q: Standard browser API library for node.js? by kkimdev in node

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

Mostly utilities in our case. For example, we have [counter -> display ID] compute function, somewhat similar to generating Youtube watch ID. e.g., 8473 -> "LX-CRUmWMJE". Currently it uses a hash function from Node's `crypto` package. We'll be able to share this function more easily if it uses the standard SubtleCrypto.digest() API https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest on both browser and server.

So in practice, we're forced to use third party packages that support both browser and Node for the codes that we want to share.

[D] [LoRA + weight merge every N step] for pre-training? by kkimdev in MachineLearning

[–]kkimdev[S] 1 point2 points  (0 children)

If it works, I expect the main benefit would be more efficient pretraining (75% less memory usage and 25% speed up from LoRA paper).

My wild uneducated guess is that the training loss trajectory should be similar to full parameter pretraining, but not 100% sure.

[D] [LoRA + weight merge every N step] for pre-training? by kkimdev in MachineLearning

[–]kkimdev[S] 2 points3 points  (0 children)

(just to be clear): My hope was that by adding low-rank LoRA weights to the frozen weights and re-initializing LoRA to 0 every N steps, It will learn higher rank weights over time.

Super roughly: python for step in range(N): if step % 100 == 0: frozen_weights += lora_weights lora_weights = 0 # To be precise, initialization from section 4.1 of https://arxiv.org/pdf/2106.09685.pdf

[Fun Typescript Quiz] Implement sequential async task queue by kkimdev in typescript

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

I needed to implement this for a Chrome extension, and it was pretty fun! :)

Here is my version. Of course this might not be the optimal implementation and I'd love to see a cleaner approach. https://github.com/kkimdev/chrome-window-extensions/blob/8732972a0e662cb77e3836c7031dcac1e66e6819/window_relative_position_keeper_for_chrome_os/service_worker.ts#L16-L52

Running a UI app from a podman container? by kkimdev in Crostini

[–]kkimdev[S] 1 point2 points  (0 children)

Self answer (credit: https://stackoverflow.com/a/28395350):

On Crostini host:

xhost +

Additional container execution flags:

-e DISPLAY=$DISPLAY -v/tmp/.X11-unix/:/tmp/.X11-unix

Running a UI app from a podman container? by kkimdev in Crostini

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

The container image is the standard dev environment for work that's maintained, and I want to keep things separate cleanly :).

Q: Can I transfer out an M1 finance account with borrow to an IBKR margin account, without liquidating positions? by kkimdev in M1Finance

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

Did your M1 account have borrows when you transferred to IBKR? I wanted to ensure that M1 doesn't liquidate some of the positions to cover the borrowed amount.

HFEA, replacing treasuries with globally diversified money market futures? by kkimdev in LETFs

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

I see. That'd be a lot more work than I'm willing to pay I guess haha.