r/Nootropics • • 15h ago

Discussion Ice bathing as powerful nootropic

0 Upvotes

Hello. I've watched Joe Rogan podcast, where he explains that ice bathing is one of the most powerful nootropicpics. What do you think? It really could be helpful for mental clearance and fight with anxiety. Plus as I understand it is much more effective than simple cold shower.


r/linux • • 9h ago

Discussion Chameleon called to me

2 Upvotes

Replaced kubuntu with opensuse tumbleweed because I liked the chameleon logo (didn’t know much about the distro until post boot), and I am loving it.

Some things I had to learn, but all of them for the better for most part.

Little chameleon was calling to me. And I love it here


r/linux • • 20h ago

Software Release anyconvert v0.1.7 Released

Thumbnail github.com
1 Upvotes

anyconvert is a project for word-sys's PDF Editor that converts PDF documents into DOCX, PPTX, ODT, ODP, and TXT using only the Python standard library. Convert library is anyconvert's itself. Its released on PyPI too.

This update added native JPEG and multi-format image embedding to ODT and ODP emitters to improve ODT & ODP builds, updated Markdown emitter to preserve native image extensions, this feature is start of loseless-image export option, Fixed ODT and DOCX underline issue and DOCX heading color issue, and lastly added end-to-end regression tests across all 5 export formats (DOCX, PPTX, ODT, ODP, TXT) for stability tests. For more details you can look to anyconvert's GitHub page.

Small & quick information: word-sys's PDF Editor is getting ready for v1.11.1 which is Flatpak release, thanks to anyconvert project :)


r/MarioKartWii • • 11h ago

How the hell do I love Claude? Look what I did, I'm continuing this project

Thumbnail
video
0 Upvotes

r/rust • • 14h ago

🛠️ project ratatui-hypertile 0.4.2: palette controls, stable tab IDs, core without Crossterm, 10.000 downloads and a reality check on AI

0 Upvotes

Hello, Rustaceans!

I released 0.4.2 yesterday and wanted to introduce people who might be interested in the project, talk about the changes in the release, where I plan on taking the project in the future and a quick rant on the AI policy the project will have going forward.

First of all, I want to thank @ Seuros, TheAiteb and tom-lubenow for their contributions in the past few weeks and months. This is my first ever open source project and I'm glad that people didn't only find a use case for it but also actively helped improve it!

What has changed in v0.4.2:

  • More control over the palette. Choose which plugin types it offers, open and render it from your app, and receive the selection to handle yourself. Useful when choosing a plugin should focus an existing pane or follow your own application logic.
  • Stable tab IDs. Each workspace tab now has a TabId, with helpers to check which tabs remain open. This makes tracking state such as notifications per tab easier.
  • The core no longer pulls in Crossterm. It now builds for Wasm targets, including wasm32-wasip2. Thanks again to Tom for this.
  • Fixed a bug causing keyboard actions to fire twice on Windows (already fixed in 0.4.1 but I didn't make a post about it)

AI Policy

It's undeniable that LLMs today are not the ones from last year, they are more than capable of producing quality code, finding bugs and improving performance. Hypertile DOES have AI generated code in it, even though it started out as my little learning project. That being said, as of yesterday, the project will adopt ripgreps AI policy as well as an AGENT.md linking to .rules, this one being adopted from Zed. While I do not have any plans on trying to create an artisan or sophisticated guide for LLMs, I am not delusional enough to believe that people contributing won't use LLMs to generate their code. I have also adopted policies from the Linux Kernel regarding the use of coding assistants of any kind.

TLDR: You can use AI for code, you must disclose what you used, you may not communicate in PRs, Issues or anywhere using LLMs. You own the code you publish regarding of how it was created.

FAQ:

I did not think I'd actually need a FAQ question but one thing that constantly keeps popping up is:

Why not just use tmux or ZelliJ?

They are not mutually exclusive! The point of Hypertile is allowing people to write their CLI tools in a way that allows them to be modified at runtime instead of the look and feel being baked in at compile time as most TUIs do. You can use your ratatui-hypertile app in ZelliJ just fine.

As always, any and all feedback is welcome! :)

Repository - Core crate - Extras crate


r/switch2hacks • • 3h ago

Question Should I get a switch 2?

0 Upvotes

With the announcement of the Zelda special edition switch 2 I'm really tempted into buying one, but I know I can't afford the games right now. What I plan to do if I do end up buying it is leaving it completely sealed until a hard mod for it is figured out. I don't mind doing so since I have a huge backlog of games that I haven't completed already. Do you guys think that would be a sound investment or should I wait for a potential switch 2 oled?


r/rust • • 8h ago

🙋 seeking help & advice Which GUI crate would you choose for this project?

0 Upvotes

Hi everyone! I asked this earlier in the week, but I don't think I explained my question very well (sorry for the translation; I'm a Spanish speaker).

I want to learn how to develop graphical user interfaces (GUIs).

I'm generally new to programming, but I really like Rust; I don't know any other languages—just Rust.

I want to build a project for the company I work for. We mostly use Excel for our data; our "database" (an Excel file) is 500k rows by 25 columns (though there are several files covering different areas, so the total exceeds a million data points).

I want to automate this. That million data points is spread across years; the most critical process involves each of us reviewing 100 items in 30/40 minutes—classifying, validating, sorting, etc.

I need to create something like dashboards featuring:

charts and tables that are sortable and filterable.

These two components are absolutely critical.

For the rest, I'm thinking of a data grid (something like Excel, but not a full spreadsheet—just small tables with editable cells).

We need this because our values ​​aren't always 100% accurate; there's a lot of human error involved in our work.

For example: Our system registers a client who has a discount percentage, but that wasn't included in the initial registration request. So, the discount doesn't apply the first time. Later, we receive the correction, and the discount applies to the second sale—at which point we also correct the first sale.

This happens across all areas, so I need something editable. Given our limited review time, I need the interface to be fast and intuitive.

I don't need mobile support—though it would be a nice-to-have, it's not essential. I need a recommendation focused 100% on desktop.

It also needs to properly support Windows, Mac, and Linux.

Which GUI crate would you choose? (I know it's difficult for me, but I want to learn a lot)


r/researchchemicals_DE • • 13h ago

Phm Charge? 2 verschiedene verschickt (Bild bei Slide 2 ist ein altes von Charge 1 zum Vergleich) NSFW

Thumbnail
gallery
0 Upvotes

Kurz zu mir, circa seit PHM aufgetaucht ist bin ich drauf gewesen.. hab in Monat 600 stck weg gemacht.
Dann kam vor 3 Wochen oder so ne neue Charge welche einem eine bunte Clownsnase verpasst hat die man nd weg machen konnte und die auch sehr Müll war entweder keine Wirkung oder Überdosis, sehr gefährlich.. seitdem hab ich nicht mehr bestellt und andere Opis genommen.

Hab die Tage gelesen, dass noch eine neue Charge aufgetaucht sein soll welche nicht abfärbt etc.. also eine dritte Charge. Ich wollt es eig nd aber ich dachte mir wie ein Idiot, komm bestellst du dir noch mal 100 Stück in der Hoffnung eine gute Charge zu kriegen. Hab auch extra zur Order geschrieben, dass er mir ja gar nicht die Clownsnasen Überdosis Charge zusenden soll.

Jetzt mach ich es auf und sehe ein volles bag mit helleren und ein bag mit 5 dunkleren. Eins davon riecht 1 zu 1 wie die erste Charge.. jeder erinnert sich an den starken Geruch.. die zweite 🤡 Charge hat nicht so gerochen.

Hat jemand heute auch seine Order erhalten und das gleiche zugeschickt bekommen? Handelt es sich bei einer hiervon um die clown Charge? Hab irgendwie Angst die grad zu ziehen, kp wieso…

Hab gerade Naloxon Nasenspray gekauft in der Apo.. vllt rettet das mein Leben.. hatte länger kein PHM.. hab sonst mindestens 20 daily weg gemacht eher mehr


r/researchchemicals_DE • • 15h ago

HILFE! PHM intravenös konsumieren(?) NSFW

0 Upvotes

Hat jemand Erfahrung was den i.v. Konsum von PHM angeht?

Ist es einfach wasserlöslich & kann konsumiert werden wie z.b. ❄️ i.v.?

Oder lieber gar nicht dran denken aufgrund der Farb- & Bindemittel in den Pillen?

Danke im Voraus und passt auf euch auf :)


r/rust • • 23h ago

🧠 educational Discovering the language: labeled block - implement early return style control flow w/o sparate function

5 Upvotes

There are situations when decisions must be made based on many variables, and in some points in evalution process, additional costly operations must be performed in order to decide. These decisions are difficult to implement in the form of a single logical expression, and even if it is possible, it is unreadable and hard to modify.

Usually the best pattern for this is to create a separate function which implements the decision, where we can use early returns: the trivial and easy cases that can be decided based on a simple condition (especially exceptions) are evaluated first, we return with the result as soon as possible, so as we're going foward, we reduce the complexity of the remaining cases, and the last case is often a simple condition.

Sometimes a separate function is not an option, because too many parameters would have to be passed (and returned, but Rust have tuples for it), or it simply just does not feel right to split a single decision into two functions, I think, the single-responsibility principle (SRP) must work this way, too. It's even more true for not too complex but nested cases (certain part of the condition is consist of more sub-conditions).

In C and C++, I usually implement this pattern by creating a do..while(false) loop, from which I break at several points, skipping the rest of the evalutation. I store the result in a variable declared just before the block, usually initialized to the default value.

It may just be my fault that I haven't studied the Rust textbook enough, but I've only found the functionally equivalent syntax for this today, and I am very happy with it, with its flexibility and elegance: labeled block.

Let's see an example!

The decision is about whether close (do_close_old flag) the old time window and/or replace with a new one (do_replace_window flag), also log some info about the decision (replace_reason enum), see example (close to actual code):

let (do_close_old, do_replace_window, replace_reason) = 'switch: {

    if just_created {
        break 'switch (false, false, Reason::Create);
    }

    if window.is_retired {
        break 'switch (false, true, Reason::Replace);
    }

    if window.is_expired(timestamp, lifetime_duration) {
        break 'switch (true, true, Reason::Timeout);
    }

    // complicated condition, fake
    let compli = if (x && y) | (a && !b);
    let cation = if z > w {
      countries.find("USA") && languages.find("English")
    } else {
      false
    };
    if compli && cation {
        break 'switch (true, true, Reason::ComplicationHappened);
    }

    (false, false, Reason::None)
};

(Please, don't review my code, I know, I know, somehow the result tuple should be replaced with some named thing.)

I think, it's pretty well readable, even if you haven't met with labeled blocks before. Just as me, until today.

AI disclaimer:

  • helped in translation (my English is not suitable for publications)
  • the pattern was also suggested by AI, I often ask it to refactor short code snippets

r/researchchemicals_DE • • 16h ago

DISKUSSION 7-oh, Pseudo, PHM, MGM-15 — was ist das beste? NSFW

0 Upvotes

An alle die Erfahrung mit den Stoffen gesammelt haben: was ist euer liebstes und warum?

Ich kenne bisher nur Kratom und 7-oh.
7-oh is ganz nett aber sehr kurz und pinkeln is ne echte Herausforderung, auch am Tag danach😅


r/LinuxCirclejerk • • 23h ago

>Yes, I'm a straight white male who uses Omarchy. Hail DHH!

Thumbnail
video
0 Upvotes

r/NixOS • • 7h ago

The nix language is incomprehensible

68 Upvotes

I know three languages(Lua, Python and rust), which I know isn't a lot but at this point in my journey it's very easy to learn a new one. But nix just escapes my grasp, there are so many weird things and the documentation is so horrible. The complex packages like VSCode fhs and the fhs that wraps other packaged are insanely confusing and then there's complex flakes which have tests and have them run a vm. And then it just stops working and it spews forth a unreadable error message that makes you want to clamp your balls in a vise. Not to mention dentritic pattern with all It's helper flakes that have god awful documentation so you just end up reading the source which is incomprehensible.

Maybe it's just because I am not used to functional programming.

Nevertheless I am still going to keep using NixOS and with each year that passes I will understand more.


r/researchchemicals • • 10h ago

Trying to keep my sanity as someone with BPD

12 Upvotes

My favourite person and my anchor has left my life, I cant go to a therapist cause I will probably go to a psych ward and I am just not in a position where I can let that happen.

I also cant get any street drugs for a while and I need something to keep me grounded and sane, what can I take that is not banned and that will not send me spiralling even further ?


r/homebrew • • 1h ago

Question/Help Can you run steam OS on the Wii homebrew?

• Upvotes

r/cpp • • 14h ago

Lets explore the stack

Thumbnail meetingcpp.com
4 Upvotes

r/Nootropics • • 5h ago

Seeking Advice FocusX has anyone tried? Advise needed

Thumbnail image
0 Upvotes

Bought this recently and wondering if anyone here has actually tried this blend.

It’s 450mg/mL total:

- Alcar 150mg/mL

- Choline chloride 150mg/mL

- L-carnosine 150mg/mL

I’m planning to pin 0.5mL to start, so that would be 75mg of each.

Curious if anyone has firsthand experience with it.

* What dose did you use?

* Did you actually notice anything from it?

* How often were you pinning it?

* Does the ALCAR hurt or burn with this blend?

* Any PIP after?


r/NixOS • • 10h ago

How do I change my password from the login screen? :(

4 Upvotes

I’m using Hyprland and the Kitty terminal

Apologies for the basic question. I’m not a very Linux savvy person, but I had a brief foray into it last year. I forgot what my password was and I’ve forgotten basically everything since then, including how to open the terminal to change the password. I need to use my computer for a class, and I’ve been desperately googling for an hour to no avail. I swear I remember it being super easy, but I can’t find the keybind anywhere. Please help. And for proof that I’m not some thief trying to hack into someone else’s computer, you can search “NixOS” in my post history


r/Nootropics • • 14h ago

Experience I feel like my brain is burning all the time

2 Upvotes

I have phases:

The Nihilist - Nothing seems interesting, low energy, darkest mood.

Obsessed Maniac - I feel pretty productive, mind feels it works fast, too fast. imagination is blasting, but I feel overstimulated by the second half of the day or if left without any work. This phase needs to do something all the time. Brain feels like it's burning.

I prefer being in the maniac phase, but both are unpleasant to be in overall. And no, I'm not bipolar.

I tried using lithium orotate, but it can make me just too flat emotionally.


r/rust • • 15h ago

Article from Daniel Lemire: How many strings can you create per second?

Thumbnail lemire.me
54 Upvotes

This is a fairly new article from Daniel Lemire (the SIMD expert, author of simdjson).

It seems to_string() need to use the same trick.

C++ wins by a wide margin at 5.4 ns per string. The trick is the small string optimization: a std::string stores short strings, directly inside the object. Our strings have at most eight digits, so C++ never calls the memory allocator.


r/LinuxCirclejerk • • 22h ago

Omacom foundation is an Extremist organization

250 Upvotes

Omacom foundation is behind the project Omarchy which is not only from a technical perspective bad but even worse on the political side.

You can read these thing [here](https://stopomarchy.org/) and this [reddit comment](https://www.reddit.com/r/linux/s/paUNJl2mgg)

Omacom has publicly said that its against the FOSS ideology and want to induce Proprietary/commercial software as a norm.

DHH, the Creator of Omarchy is an Far-right extremist and racist which you can read [here](https://stopomarchy.org/)

They are trying to destroy the linux community Culture and norms, ethical values, and the free software movement.

You might think that omarchy is open-source but there a difference between free software and Open source software which you can read [here] (https://www.gnu.org/philosophy/free-software-for-freedom.en.html)

Many Big corporation who already hate and want to end the FOSS ideas are donating to Omacom foundation and they have raised a total of 21 million dollar for there trash dotfile.

This is an Culture war againt the whole linux/FOSS communty not just another bad distro.

Come forward and save the FOSS ideology, not all but many proprietary software are an social problem and mixxed with these extremist right-wing ideology, there are terrorist!

Come together to save the FOSS culture

Long live the Free software movement!


r/rust • • 12h ago

🎙️ discussion Rust in Model Research and Development

0 Upvotes

Hi everyone,

I'm Abinash. For the past few weeks, I have been working on building a neural network in Rust to test the idea of using Rust in model development and research.

Rust is being extensively used in LLM infrastructure and is growing in the inference space as we get official libraries to run CUDA kernels from Rust binaries.

But if you see the model design, research or development space, Rust is non-existent.

So I thought I'd give it a try. I tried to build a fairly easy neural network to solve the MNIST handwritten digit identification problem.

I know it's not a huge milestone. But I tried to give it a try to test my idea how easy it is to develop neural networks in Rust.

The neural network I'm developing has 2 hidden layers with 512 and 128 neurons, respectively. The goal is to achieve 95% accuracy on my local CPU-only system.

I got the input system right; it can now take training and testing datasets and prepare the matrices for the training and testing stages.

After that, I plan to start developing a real transformer-based LLM from scratch in Rust.

I'm not sure how it will play out, but I will give it a try.

I'd love to have your thoughts on it. If you're a senior ML engineer or MTS at a frontier lab, I'd love to have your thoughts on it.


r/linux • • 9h ago

Distro News AMD Ryzen AI Developer Platform OS updated with ROCm 10.0, Linux 7.2

Thumbnail phoronix.com
21 Upvotes

r/rust • • 7h ago

🛠️ project Enki – Write GPU compute kernels in pure stable Rust

17 Upvotes

Hey guys!

I've been building a GPU compute platform on pure stable-rust to let you write compute kernels directly in standard rust, Built entirely on Vulkan 1.3 (Compute) for the host api runtime & MLIR/LLVM for the backend JIT compiler.

It can make you write iters-enums-generics-etc.. in your function, and run it across GPU silicon, because the syntax is literally rust, It can execute on native CPU.

Here is a simple example:

```rust use enki::*; use glam::Vec2;

const COUNT: usize = 5;

// Declare the compute kernel with #[nam]

[nam]

fn scale_vectors(_space: &Space, input: &Vec2, output: &mut Vec2, factor: f32) { *output = *input * factor; }

fn main() { // Initialize the headless GPU runtime let enki = Enki::init();

// Allocate physical data directly in GPU VRAM
let in_gpu = gpu_vec![
    Vec2::new(1.0, 2.0),
    Vec2::new(3.0, 4.0),
    Vec2::new(5.0, 6.0),
    Vec2::new(7.0, 8.0),
    Vec2::new(9.0, 10.0),
];
let mut out_gpu = gpu_vec![Vec2::ZERO; COUNT];

let factor = 2.5f32;

// Record and dispatch directly to GPU silicon
enki.flow(|_| {
    scale_vectors.run(
        &Space::gpu_x(COUNT),
        &in_gpu,
        &mut out_gpu,
        GpuParam::new(factor),
    );
});

// Dual Execution: Run the exact same function on CPU native rust
let in_cpu = vec![
    Vec2::new(1.0, 2.0),
    Vec2::new(3.0, 4.0),
    Vec2::new(5.0, 6.0),
    Vec2::new(7.0, 8.0),
    Vec2::new(9.0, 10.0),
];
let mut out_cpu = vec![Vec2::ZERO; COUNT];

for i in 0..COUNT {
    scale_vectors(&Space::cpu_x(i, COUNT), &in_cpu[i], &mut out_cpu[i], factor);
}

// Verify bit-for-bit equivalence
assert_eq!(&out_cpu[..], &out_gpu.to_vec()[..]);
println!("\nGPU Results: {:?}", out_gpu);
println!("\nCPU Results: {:?}", out_cpu);
println!("\nCPU and GPU outputs match.");

} ```

Result:

``text enki_matmul on  master [✘!+] is 📦 v0.1.0 via 🦀 v1.98.1 ❯ cargo run Compiling enki_matmul v0.1.0 (/home/mohiman/Projects/enki_demo_pack/enki_matmul) Finisheddevprofile [optimized + debuginfo] target(s) in 1.86s Runningtarget/debug/enki_matmul`

GPU Results: [Vec2(2.5, 5.0), Vec2(7.5, 10.0), Vec2(12.5, 15.0), Vec2(17.5, 20.0), Vec2(22.5, 25.0)]

CPU Results: [Vec2(2.5, 5.0), Vec2(7.5, 10.0), Vec2(12.5, 15.0), Vec2(17.5, 20.0), Vec2(22.5, 25.0)]

CPU and GPU outputs match.

enki_matmul on  master [✘!+] is 📦 v0.1.0 via 🦀 v1.98.1 took 2s
❯ ```

I've verified it on Linux (Docker Container Testing) & Windows (Wine) & colab T4, and my intel UHD laptop, every thing was great, i'd really love your help testing across more diverse hardware (AMD, Nvidia, Intel)

You can test SDF showcase in 3 commands:

bash git clone https://github.com/enkiruntime/enki_sdf.git cd enki_sdf cargo run --release

(pressing space will toggle execution from GPU (Enki) to CPU (rust-rayon))

Enki is currently in Public Alpha (v0.2.x) release, I would really appreciate any feedback, architectural thoughts, or bug reports.


r/LinuxCirclejerk • • 6h ago

Linux vs Windows Benchmark A PLAGUE TALE INNOCENCE

Thumbnail
youtu.be
0 Upvotes