Readit News logoReadit News
ryang2718 commented on The inevitability of the borrow checker   yorickpeterse.com/article... · Posted by u/rbanffy
demurgos · 10 months ago
Rust's panics are recoverable, so they're more like exceptions. This means that you may need to care about "unwind" safety and values in a potentially invalid state. It's the main reason for mutex poisoning and having to deal with it when locking.

Overall, I'm not entirely sure if Rust would be better or not if panics were non-recoverable.

PS: For completeness, there are flags to control the panic behavior; but you can't rely on them when writing a lib.

ryang2718 · 10 months ago
Unless a library developer decides to abort on panic in the `toml`, then i don’t believe you can unwind.
ryang2718 commented on Trae: An AI-powered IDE by ByteDance   trae.ai/home... · Posted by u/Lermatroid
dartos · a year ago
Don’t worry.

There’s literally nothing an llm can write or tell you that you can’t write yourself or find in a manual somewhere.

ryang2718 · a year ago
Although, tbf, some libraries are documented better than others.

Also, local llms with an agentic tool can be a lot of fun to quickly prototype things. Quality can be hit or miss.

Hopefully the work trickles down to local models long-term.

ryang2718 commented on Trae: An AI-powered IDE by ByteDance   trae.ai/home... · Posted by u/Lermatroid
thekevan · a year ago
There's no way I am using a Chinese IDE with VSCode (w/ Coppilot) and Cursor existing after reading the privacy issues in the court documents with TikTok. Bytedance had some extremely overreaching expectations of data it wanted.

That being said, I am using (Chinese) Deepseek r1 because there isn't currently a free LLM on par with it. I am careful with what I share though, a little more so than with any others that are not locally fun.

ryang2718 · a year ago
How have you found R1? I've been meaning to try it with Aider's Architect mode.

Have you tried the 7b?

ryang2718 commented on Shell Scripts for Managing Markdown Notes   github.com/RyanGreenup/ca... · Posted by u/ryang2718
ryang2718 · 5 years ago
I haven't been on here for long, but I must say, I'm really amazed at how friendly this community is! HackerNews really sets itself apart.
ryang2718 commented on Shell Scripts for Managing Markdown Notes   github.com/RyanGreenup/ca... · Posted by u/ryang2718
blackrock · 5 years ago
The shell had autocomplete suggestions?
ryang2718 · 5 years ago
I’m not sure what you mean.
ryang2718 commented on Shell Scripts for Managing Markdown Notes   github.com/RyanGreenup/ca... · Posted by u/ryang2718
ilSignorCarlo · 5 years ago
I think you wanted to link to your GitHub and Reddit post, but all your links seem to point to the same HN thread. Since I'm interested in the matter, would you mind putting the correct links?
ryang2718 · 5 years ago
Oh you’re absolutely right, what a silly mistake on my end, I put it up on my GitHub here, check it out:

https://github.com/RyanGreenup/cadmus

The original Reddit post is here:

https://reddit.com/r/commandline/comments/hs7g8r/shell_scrip...

ryang2718 commented on Shell Scripts for Managing Markdown Notes   github.com/RyanGreenup/ca... · Posted by u/ryang2718
zwischenzug · 5 years ago
I did a similar thing to replace my personal workflow that I'd been using a home instance of JIRA for for some time.

I thought about opening it up, but TBH there's loads of these things already, and the real value for me is that I built it myself and it conforms perfectly to what I need. I looked at a few others, but the overhead of grokking someone else's tool was just too much of a hassle for me.

The ergonomics of these things are really close to perfect when you decide yourself what features you want and how they should be implemented.

ryang2718 · 5 years ago
I couldn't agree more about the difficulty of grokking somebody else's tool.

The thing is though it took me a long time to get to the level where I could put something like this together and I wish I could have had some sort of guidance earlier on.

That's why I've tried to make my implementation modular, so others can take the things that they haven't figured out from mine and implement it in there workflow.

I should get around to documenting it so others can take replicate, imitate or fork it.

ryang2718 commented on Shell Scripts for Managing Markdown Notes   github.com/RyanGreenup/ca... · Posted by u/ryang2718
ryang2718 · 5 years ago
Recently there was [a thread](https://news.ycombinator.com/item?id=23883270) on Notable and many commented that they were upset that it was no longer open source.

This is something that actually concerned me and so I started using a lot of `bash` scripts to emulate behaviour that I like in Notable, that way I could use Notable without the fear of being locked it but I could try and emulate its behavior in a way that more suited my workflow.

I put the script I use [up on my GitHub](https://news.ycombinator.com/item?id=23883270) and I recently [made a Reddit post](https://news.ycombinator.com/item?id=23883270). I thought maybe you guys could find them helpful or offer feedback?

u/ryang2718

KarmaCake day11July 17, 2020View Original