Readit News logoReadit News
y1zhou commented on Notion releases offline mode   notion.com/help/guides/wo... · Posted by u/ericzawo
y1zhou · 7 months ago
Been trying out [SiYuan](https://github.com/siyuan-note/siyuan) as a local alternative and love it so far. The files are single-line JSONs so not as ideal as Obsidian .md files, but it seems to be trivial to export to various human-friendly formats.
y1zhou commented on uv: An extremely fast Python package and project manager, written in Rust   github.com/astral-sh/uv... · Posted by u/chirau
richard___ · 9 months ago
Why use this over micromamba?
y1zhou · 9 months ago
I use the two together with no issues. Micromamba works great for conda dependencies that’s not on PyPi (for many reasons), and everything else I go for uv.
y1zhou commented on Ask HN: What is your recommendation for a wireless keyboard and mouse?    · Posted by u/kirtyv
y1zhou · 9 months ago
FWIW since cherry’s switch patents expired there has been a ton of great keyboards from China. I got a PMO Wave 75 and loved it.

Mine is same as the green one in this post: https://www.reddit.com/r/MechanicalKeyboards/comments/1h8011...

y1zhou commented on Transparent peer review to be extended to all of Nature's research papers   nature.com/articles/d4158... · Posted by u/rntn
probably_wrong · 9 months ago
I want to stick my neck out to say that this has the potential of being very bad for science.

Imagine saying "no" to a researcher with a big social media profile. Imagine 4chan coming at you with style-detection and deanonymization tools simply because their favorite racist or antivaxer got their nonsense rejected and sent their followers after you. And this is not just me feeling this way - quoting myself from a previous comment, and according to the ACL's 2019 survey [1], "female respondents were less likely to support public review than male respondents" and "support for public review inversely correlated with reviewing experience".

A measure that women ~~and inexperienced researchers~~[2] do not support is a measure that favors only those who are already part of the club.

[1] Original here (currently offline): http://acl2019pcblog.fileli.unipi.it/wp-content/uploads/2019..., summary here: https://www.aclweb.org/adminwiki/images/f/f5/ACL_Reviewing_S...

[2] This part has been correctly pointed out as being wrong.

y1zhou · 9 months ago
Has there been recent developments in the style detection and deanonymization tools you mentioned? I would assume many would not work well given the high usage of LLMs nowadays.

Dead Comment

y1zhou commented on How to Use Em Dashes (–), En Dashes (–), and Hyphens (-)   merriam-webster.com/gramm... · Posted by u/Stratoscope
A_D_E_P_T · a year ago
AFAIK most computer keyboards don't have em dashes. Rather than hit ALT+0151 every time, I've always just strung along two hyphens, like: --

Absolutely proper and correct use of em dashes, en dashes, and hyphens is, to me, the most obvious tell of the LLM writer. In fact, I think that you can use it to date internet writing in general. For it seems to me that real em dashes were uncommon pre-2022.

y1zhou · a year ago
A few years back a journal editor maticulously reviewed all dashes in our manuscript and pointed out places where em dashes should have been used. Since then I started noticing different dashes everywhere around the internet.
y1zhou commented on Switching from Pyenv to Uv   bluesock.org/~willkg/blog... · Posted by u/harryvederci
quickslowdown · a year ago
I highly, highly recommend uv. It solves & installs dependencies incredibly fast, and the CLI is very intuitive once you've memorized a couple commands. It handles monorepos well with the "workspaces" concept, it can replace pipx with "uv tool install," handle building & publishing, and the docker image is great, you just add a FROM line to the top and copy the bin from /uv.

I've used 'em all, pip + virtualenv, conda (and all its variants), Poetry, PDM (my personal favorite before switching to uv). Uv handles everything I need in a way that makes it so I don't have to reach for other tools, or really even think about what uv is doing. It just works, and it works great.

I even use it for small scripts. You can run "uv init --script <script_name.py>" and then "uv add package1 package2 package3 --script <script_name.py>". This adds an oddly formatted comment to the top of the script and instructs uv which packages to install when you run it. The first time you run "uv run <script_name.py>," uv installs everything you need and executes the script. Subsequent executions use the cached dependencies so it starts immediately.

If you're going to ask me to pitch you on why it's better than your current preference, I'm not going to do that. Uv is very easy to install & test, I really recommend giving it a try on your next script or pet project!

y1zhou · a year ago
Adding dependencies to the script directly was a game-changer. I was able to write a script for a friend with no coding background at all and everything ran smoothly on his machine. No more rabbit holes of bundling Python packages and setting up environments!
y1zhou commented on Fish shell announces 4.0 release   lwn.net/Articles/1002820/... · Posted by u/askl
UI_at_80x24 · a year ago
One thing that holds me back from using FISH is the inability to declare variables at the CLI.

I.E. VAR1=test echo $VAR1

y1zhou · a year ago
Support was added for this a few versions back and made life much easier!
y1zhou commented on Uv 0.3 – Unified Python packaging   astral.sh/blog/uv-unified... · Posted by u/mantapoint
y1zhou · 2 years ago
Does uv handle cases where dependencies go beyond Python? For example, many bioinformatics-related conda packages would come with external binaries written in C++ or other languages. Would uv be able to pull from conda?

u/y1zhou

KarmaCake day6June 6, 2019
About
https://github.com/y1zhou
View Original