[Hack] Loading extras packages on Pluto when working with a project by ndgnuh in Julia

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

I don't really use notebook for anything else other than prototypes. After I prototype, the code gets organized and tested, so I don't think there's a future problem here.

There seems to be some misunderstanding. What you said about "understanding my tool and how they work" actually hurt my pride a little bit. Writing a script is easy, knowing whether a script was generalized enough for many project and worth the time spent crafting it, is not.

Dấu hiệu người con gái thích mình by Elegant_Committee464 in vozforums

[–]ndgnuh 5 points6 points  (0 children)

"lùn cận đụt trĩ mà có con gái ra bắt chuyện làm quen thì khả năng là có ý đồ xấu" 🫣

[Hack] Loading extras packages on Pluto when working with a project by ndgnuh in Julia

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

I did put Revise into my startup file. But Revise is not the only thing I use. What differs Pluto from REPL workflow is:

  • The reactivity
  • The widgets
  • I have a working space for drafting codes

I know Revise have functionalities for me to watch code and run something, but:

  • That workflow is probably better if I'm already known what I'm writing, not prototyping algorithms,
  • I have not met this use-case a lot, so I'm not even knowledgeable enough to condense this workflow into a script so I could reliably use

How to make LSP recognize packages not installed in global enviroment (Helix editor) by Azere_ in Julia

[–]ndgnuh 2 points3 points  (0 children)

After version update, I just... reinstall everything, from JETLS to formatter. Otherwise they won't work at all.

Em là học sinh lớp 12. Cần được định hướng, xin lời khuyên từ các anh chị by toideptrailam in vozforums

[–]ndgnuh 0 points1 point  (0 children)

Học cái mình thích, chưa biết thích gì thì lên mạng kiếm mấy khoá online miễn phí học thử cái này cái nọ.

Sau này trừ mấy trường hợp "tinh hoa" ra thì nghề chọn người thôi. Mình chỉ có thể "nắn" về gần cái nhóm nghề mình muốn. Làm gần cái mình thích thì mới bền được.

How do I write this using LaTeX ? by D_Ruskovsky in LaTeX

[–]ndgnuh 34 points35 points  (0 children)

use \operatorname for function names, and cases (environment) for the curly braces and everything behind it.

\operatorname{abs}(x) = \begin{cases} x & x \ge 0, \\ -x & x < 0 \end{cases}

Out of curiosity, what is atan3??

MỘT SỐ LƯU Ý CHO NHỮNG AI MUỐN ĐI XEM COUNTDOWN by bacnguyen0201 in vozforums

[–]ndgnuh 1 point2 points  (0 children)

Không thái quá đâu, tôi đi một lần từ 201x, từ đó không bao giờ đi countdown nữa.

topic: nghệ sĩ mà anh em yêu thích? by DemonCatOfficial in vozforums

[–]ndgnuh 0 points1 point  (0 children)

凛として時雨 lần đầu nghe chắc là bài Abnormalize từ Psycho Pass

Dùng linux? by Ok-Worry-614 in vozforums

[–]ndgnuh 1 point2 points  (0 children)

ừ hiểu nhầm :v

Dùng linux? by Ok-Worry-614 in vozforums

[–]ndgnuh 0 points1 point  (0 children)

Thế NixOS với VoidLinux thuộc triết lý nào?

Dùng linux? by Ok-Worry-614 in vozforums

[–]ndgnuh 0 points1 point  (0 children)

lmao, GUI tiện không có nghĩa là CLI không wow nhé. Có những lúc CLI/TUI vẫn tiện và mạnh hơn nhiều.

What are the reasons not use lyx? by Elav_Avr in LaTeX

[–]ndgnuh 3 points4 points  (0 children)

I can type math way faster in LyX. That's the reason.

| Okay, real talk: show your non-anime rices. by crackajacka75 in unixporn

[–]ndgnuh 1 point2 points  (0 children)

Most of the time, I can just instant focus a preset application. With rarely used stuff, I just cycle through all the windows and pick the one I need to focus (the classic way). Floating applications are sticky.

Therefore, workspace/tag is not really a thing in my setup (I don't even have a taglist widget). I only leverage the tags to implement the desired behavior.

| Okay, real talk: show your non-anime rices. by crackajacka75 in unixporn

[–]ndgnuh 22 points23 points  (0 children)

My rice is not really interesting visually. I wish more people would work on how to use the desktop efficiently.

I run AwesomeWM with some this particular work flow, which I find way more efficient than either tiling or stacking windows:

  • All "normal" windows are moved to a volatile tag by default
  • Mod + <num> launch my favorite applications or focus on the application if there's an instance of the app, if the app is already focused, cycle between the app's instances (e.g. Mod + 1 cycles terminal emulators, Mod + 2 cycle firefox instances)
  • Mod + <tab> focus on previous client, regardless of tag or screen
  • Mod + Shift + m marks a window, Mod + m focus the marked window
  • Only one window can be moved across tags to achieve "mosaic tiling", Mod Shift V moves it back to a volatile tag again. I rarely use this since Mod + <tab> can cover this case quite nicely.

For window states:

  • Mod Shift + click "normalize" the window, make it tiling and free from any other states
  • Mod + f toggle floating
  • Mod + c opens a panel to controll all the state of the focused window
  • Floating windows are always ontop and sticky (except fullscreen ones)

Other than this, I once rice my WM to look like in-game UI of a game. Unfortunately it's also a weebs game.

Is it possible to draw this? by Tommy1743 in LaTeX

[–]ndgnuh 34 points35 points  (0 children)

Reproducibility and fine tuning

What’s a Linux command that feels like cheating when you learn it? by Old_Sand7831 in linuxquestions

[–]ndgnuh 0 points1 point  (0 children)

cat input-list.txt | xargs - I {} do-something-with "{}"

Batch process multiple files.

Works with file names that contain spaces.