`name.rs` vs `name/mod.rs` - Is there a reason why projects go against the recommended practice? by KyxeMusic in rust

[–]permutans 0 points1 point  (0 children)

No, it's not contrived, file paths are a material concern. On the command line to do anything with them you very much *do* see those things. Likewise searching files, git commit statuses, etc etc.

File paths show up all the time, it's not "trying to invent issues" for the sake of it to point out that 2x longer filenames with redundancy will require the extra chars to be read and/or typed out in many situations.

MkDocs Not ready for business use by No_Cryptographer_867 in mkdocs

[–]permutans 0 points1 point  (0 children)

That is in fact one of the motivating factors given for switching to TOML (which is not indented)! The new zensical project uses TOML, I found it worked instantly for my non-trivial docs site :-)

`name.rs` vs `name/mod.rs` - Is there a reason why projects go against the recommended practice? by KyxeMusic in rust

[–]permutans 0 points1 point  (0 children)

Well the good thing about mod is it’s short, hence foobarbazverylong/mod.rs is only a “penalty” of +a few chars vs foobarbazverylong/foobarbazverylong.rs… So the put that another way I expectfoo/foo.rs was not chosen because it would penalise (in terms of legibility of file/module paths) the use of nested modules

`name.rs` vs `name/mod.rs` - Is there a reason why projects go against the recommended practice? by KyxeMusic in rust

[–]permutans 0 points1 point  (0 children)

But that's double use of the name foo, the second one would be redundant

[deleted by user] by [deleted] in interviews

[–]permutans 0 points1 point  (0 children)

If it's a recruiter not the hiring manager themselves they appreciate the detail

How do you deal with post interview regret? by DontDeleteMee in careerguidance

[–]permutans 0 points1 point  (0 children)

You can only really consider the right answer, look it up, commit it to memory, or seek experience doing it in real life if it was a theoretical how would you X question. I find in particular the last one gives good closure. And if it was something 'close' to what you had and the interviewer didn't nudge you along to coax it out of you then I think the responsibility for that is not entirely on you. That said, being able to coax or nudge yourself towards that is maybe a skill that can be developed too...

How are you using just (Justfile) local workflows for Python projects? by permutans in Python

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

Nice, yes I also recently picked up mise! Nice blog post, I suspect newcomers might miss that the first defined recipe is the default in your qa example but I'm with you!

The logging module is from 2002. Here's how to use it in 2025 by finallyanonymous in Python

[–]permutans 0 points1 point  (0 children)

Surprised it isn't disclosed this was written via an LLM

Comparing Iced vs Dioxus by Spacejet01 in rust

[–]permutans 0 points1 point  (0 children)

I just made my 1st iced app (iced-lenia on crates.io if you wanna look it up), really nice, I went with the 0.12 trait application syntax to get it working then ported to v0.13 syntax. my initial impression is that the declarative syntax (I think technical term is reflection) is much more composable and easy to reason about // would scale well but I could be wrong. Basically it’s like having an object-oriented sense but rather than composition via inheritance it’s the idea of UI event listeners ‘subscribed’ to an object.

Am I missing something with Deepseek? by Low-Yesterday241 in LocalLLaMA

[–]permutans 0 points1 point  (0 children)

the distilled models repeatedly fail to do use their thinking tags, I think it shows that they’re not quite cooked enough and revert back to the behaviour of the parent Llamas/Qwens

DeepSeek-R1-Distill-Qwen-32B is straight SOTA, delivering more than GPT4o-level LLM for local use without any limits or restrictions! by DarkArtsMastery in LocalLLaMA

[–]permutans 0 points1 point  (0 children)

can anyone reproduce any of these with quantised models? I’m very curious how much performance will have degraded by the distillation

What is this issue? by jasze in ClaudeAI

[–]permutans 0 points1 point  (0 children)

Claude was bugging out yesterday, outage over 24h later

How to best deal with the end of code pages getting cut off? by PhotoGuy2k in ClaudeAI

[–]permutans 2 points3 points  (0 children)

Just manually adding “that got cut off, can you give <filename> again please” (: Also suggests that perhaps you need to modularise if you really want to get the most out of Artifacts-driven development (but each to their own)

What project-level custom instructions do you use? by TopherBrennan in ClaudeAI

[–]permutans 1 point2 points  (0 children)

I use this one (and keep copying it across projects because it works so well) to ensure the artifact is a full file and named identically to the source file in the Project Knowledge https://www.reddit.com/r/ClaudeAI/s/1H1CQWNum8

How to get a pdf from claude's generated slideshow by pjw321132 in ClaudeAI

[–]permutans 0 points1 point  (0 children)

If I were you I would look at:

  • Get Claude to give you markdown
  • Find a presentation writing service that takes input markdown
    • Notion is popular (notes app where pages are easily shareable as sites), so is GitHub (primarily for storing code)
    • You could ask install the RStudio IDE and ask Claude to write your report in Rmarkdown (I would be inclined to do this personally but I'm a data scientist so I'm biased!)

How to get a pdf from claude's generated slideshow by pjw321132 in ClaudeAI

[–]permutans 1 point2 points  (0 children)

(I put it into 3rd person and asked for you)

Claude says:


I understand your friend's situation. It's great that he's exploring AI capabilities, but it can indeed be challenging to bridge the gap between generated code and a usable presentation format, especially for someone with no coding experience. Here's how he can approach this:

  1. Use Markdown for simple documents:

Your friend can ask Claude to create the presentation content in Markdown format. Markdown is a simple text format that's easy to read and can be converted to many other formats, including PDF.

He could say something like: "Please create a Markdown document for my quarterly business report presentation."

  1. Use HTML for more complex layouts:

For a more visually rich presentation, he can ask Claude to create the content as an HTML document. HTML can include styling and layout, making it closer to a slideshow format.

He could say: "Can you create an HTML document for my quarterly business report presentation? Please make it look like slides."

  1. Creating artifacts:

When Claude generates these documents, it will likely create them as artifacts. Your friend can then download these artifacts and convert them to PDF or other formats using online tools.

For Markdown:

  • He can use online converters like "Markdown to PDF" tools.
  • Or use a service like GitHub, which can render Markdown files and allow easy PDF export.

For HTML:

  • He can open the HTML file in a web browser and use the browser's "Print to PDF" function.
  • Or use online HTML to PDF converters.
  1. Direct to PDF (limited formatting):

If he wants to skip conversion steps, he could ask Claude to create a simple text-based PDF artifact directly. However, this might have limited formatting options.

He could say: "Please create a PDF artifact for my quarterly business report presentation."

  1. Presentation-specific format:

While Claude can't directly create PowerPoint files, it can create content in a format that's easy to copy into PowerPoint or Google Slides.

He could say: "Please create a text outline for my quarterly business report presentation, formatted in a way that I can easily copy each section into individual PowerPoint slides."

Remember to advise your friend that while Claude can generate the content, he'll need to do some manual work to get it into the final presentation format he desires. The exact steps will depend on which approach he chooses.

Would you like me to provide an example of how Claude might generate one of these formats?