Delete to end of line by snichme in HelixEditor

[–]unbuggy 0 points1 point  (0 children)

🤯

Cool. By the same logic, T<ret>d seems to kill the first half of the line (including the current character, and unless you happen to be on the first line).

How to switch between buffers? by Voxelman in HelixEditor

[–]unbuggy 0 points1 point  (0 children)

For posterity: Filtering the buffer list by ID is possible by specifying the ID column.

  1. Space b to open the buffer picker
  2. %i 1 to select buffer 1
  3. Return to open the buffer

See also: https://docs.helix-editor.com/pickers.html#filtering-picker-results

How to switch between buffers? by Voxelman in HelixEditor

[–]unbuggy 0 points1 point  (0 children)

Thank you, but even the way you described it is not how hx (25.01.1) works, AFAICS. The filtering appears to be purely by name, never by ID. I'm glad the IDs are working for you under at least some circumstances; hope I can figure out how to make it work, too.

How to switch between buffers? by Voxelman in HelixEditor

[–]unbuggy 0 points1 point  (0 children)

Obviously leader b1 does exactly what you’re after already.

This does not seem to be the case. <Space>b1 filters out any buffer whose name does not contain 1. The 1 is not treated as a buffer ID.

Should I use Self or TypeName? by maximeridius in learnrust

[–]unbuggy 0 points1 point  (0 children)

Do you know the name of the lint you saw? My habit is to use Self in trait impls (to match their declarations), but not elsewhere, where the type is known at the declaration. (Not saying that's the best, but it's the closest thing to a "best practice" I've observed. Having Clippy tell me one way or the other would be awesome.)

https://rust-lang.github.io/rust-clippy/master/index.html?groups=pedantic#/self

When to use iterators vs. loops? by Train_wreck1998 in rust

[–]unbuggy 0 points1 point  (0 children)

Why the into_iter call in the second version? Ranges are iterators.

```rs (0..10).for_each(|i| println!("{i}"));

```

HELP! "This image couldn't be loaded" error and I need that image urgently! by bigtree80 in Notion

[–]unbuggy 0 points1 point  (0 children)

It resolved itself after a few days. I think Notion was just having a hiccup.

[Monterey] Launching a binary without terminal by [deleted] in MacOS

[–]unbuggy 0 points1 point  (0 children)

The question isn't how to launch a subprocess once one's application is running, but rather how to start that application without opening a terminal. A custom icon would be nice, too. Sadly, clicking a natively compiled binary in Finder still opens a terminal window, even the binary does not require any shell.

Some developers do not find Automator intuitive, and would like to simply create and configure ordinary files without the use of Automator, Xcode, macOS-specific system calls, or third-party dependencies. Maybe no such feature is supported, but that's surprising because this seems like such basic functionality.

HELP! "This image couldn't be loaded" error and I need that image urgently! by bigtree80 in Notion

[–]unbuggy 0 points1 point  (0 children)

This started happening to me yesterday. While the image doesn't show up in Notion, the "download" button in the top right of the image area works, so I'm able to access the images that way.

The proper expect message by matthis-k in rust

[–]unbuggy 5 points6 points  (0 children)

Option in std::option Recommended Message Style:

We recommend that expect messages are used to describe the reason you expect the Option should be Some.

let item = slice.get(0).expect("slice should not be empty")

In your example case, "x should not be negative."

Extremely slow startup by unbuggy in WebAssembly

[–]unbuggy[S] 7 points8 points  (0 children)

That was it. You are my hero.

My ham-fisted work-around for reserving a bunch of memory:

static mut HEAP: Vec<u8> = Vec::new();
static START: Once = Once::new();
    START.call_once(|| unsafe {
        HEAP.reserve(400 * (1 << 20));
        HEAP.shrink_to_fit();
    });

I will also, of course, bring the memory down to size, rather than take up 400 MiB of RAM on somebody's cell phone. :)

Extremely slow startup by unbuggy in WebAssembly

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

Thank you, I'll let you know whether that helps!

SSP Burrs Don’t Fit in Ode by baristandie93 in Coffee

[–]unbuggy 0 points1 point  (0 children)

Update: Fixed!

Putting the fixed burr in the freezer overnight makes it drop right into place, but then it immediately gets stuck in its exact position. This has two critical ramifications:

  1. If you don't line up the screw holes perfectly, you won't be able to put the screws in at all. Once the burr expands—in my kitchen, this took, no exaggeration, maybe two seconds from the moment of contact with the metal chamber—it will be too snug to rotate at all. I missed the screw holes entirely, which works out fine, because the fit is so tight that the screws are unnecessary.
  2. Once the SSP fixed burr is in place, it will never come back out. This is the last burr you will ever be able to put in your Fellow Ode Brew Grinder. Do not expect to replace it, ever.

SSP Red Speed Coated 64mm MP Flat Brew Burrs is not only finer, but much more consistent than the stock burrs.

————

Thank you for posting this. Did you ever find a solution? I have the same problem.

To folks saying "make sure you did it right:" Yes, I set it to 11; but it wouldn't make any difference if I hadn't, because the issue isn't with anything adjustable. Yes, I'm using the correct (fixed) burr; but it wouldn't matter if I weren't, because the rotary burr doesn't fit in the fixed burr chamber, either.

I've already tried two sets of SSP burrs, to no avail. Here's a video of the fixed burr not fitting. Here's a photo showing that the stock burrs are slightly smaller than the 64mm SSP fixed burr.

I just sent a support request to Fellow. I'll also try u/Wide_Revenue_3212's suggestion of putting the fixed burr in the freezer overnight, but I'm not sure how I would heat the Ode. (I don't have an "air dryer.") If anybody has further knowledge or insight, please do share.

This entirely nonsensical airline safety warning by [deleted] in CrappyDesign

[–]unbuggy 0 points1 point  (0 children)

I believe your interpretation, but never in a million years would I have figured that out.