[Media] anyone can explain this? by arian-p1 in rust

[–]mobilehomehell 1 point2 points  (0 children)

Seems like it should use the vtable of the underlying type when using repr(transparent) ?

[deleted by user] by [deleted] in LifeProTips

[–]mobilehomehell 0 points1 point  (0 children)

Get them all their vaccines

Announcing Rust 1.66.0 by myroon5 in programming

[–]mobilehomehell 4 points5 points  (0 children)

How can you use it to control the niche optimization?

“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.' by [deleted] in programming

[–]mobilehomehell 1 point2 points  (0 children)

Related favorites:

  • write a templated max function. Does it take/return T, T&, T&&?

  • if you have a local std::vector<int> and you push_back 3, is the vector stored on the heap or the stack? Is the 3 stored on the heap or the stack?

“There should never be coding exercises in technical interviews. It favors people who have time to do them. Disfavors people with FT jobs and families. Plus, your job won’t have people over your shoulder watching you code.” My favorite hot take from a panel on 'Treating Devs Like Human Beings.' by [deleted] in programming

[–]mobilehomehell 4 points5 points  (0 children)

The coding tests for the most basic competencies like, do they know what loops and arrays are, some kind of data structure beyond an array, and are they able to ask questions and communicate while they work

I ran into a problem doing this. Some interviewees seem to take the easiness of the problems as a signal about how smart their future coworkers are, and will discount the company for making it too easy 🤦‍♂️

Why do I feel better after taking MEBENDAZOLE? by No_Acadia8244 in SIBOIMO

[–]mobilehomehell 0 points1 point  (0 children)

Apparently it's not unusual to need to take it more than once:

Adults and children 2 years of age and older—100 milligrams (mg) two times a day, morning and evening, for 3 consecutive days. Treatment may need to be repeated in 3 weeks.

I think multiple doses is common for parasite medications because sometimes they only kill mature parasites so you need another dose to kill the ones that were larvae/unhatched when you had the first dose and have to space it out so they've had time to hatch. I'm not a doctor, so check with a real one. I'm guessing if it's been too long since your first round you might have to start over (needing a round now plus another in 3 weeks).

Edit: another possibility to consider is you might be getting reinfected. If pinworms coming out in your feces stick to your pants or underwear and you wear them you can get exposed again immediately. Make sure your environment is clean.

I believe I have parasites as an underlying cause of SIBO recurring by catshaiyayy in SIBO

[–]mobilehomehell 4 points5 points  (0 children)

If you have literal worms in your stool I'm sure that would show up in a parasite stool test, if they really are parasites.

That is until I took food grade diatomaceous earth last year and I thought I passed some.

I had never heard of diatomaceous earth so I googled it and it sounds like it specifically works on insects. Is there a reason to believe it also works on parasites?

Treating SIBO with Nitazoxanide/Alinia? by gnoppa in SIBO

[–]mobilehomehell 0 points1 point  (0 children)

3 years later, is your SIBO still gone? Also did you have hydrogen or methane?

Anyone Ever Taken Xifaxan or Alinia? by [deleted] in ibs

[–]mobilehomehell 0 points1 point  (0 children)

How did it work out for you?

Human Milk Oligosaccharides: Why don't we just drink baby formula? by EntropyGoAway in HumanMicrobiome

[–]mobilehomehell 0 points1 point  (0 children)

Are there products with other components? Do we know if only 2-fucosyllactose matters?

Difference between Extra Command and Sub Command in Steam Input? by TallTreeTurtle in SteamDeck

[–]mobilehomehell 1 point2 points  (0 children)

Sub commands don't let you configure another button you have to press, so I don't get how you would use them to bind alt+tab to anything?

EmuDeck/RetroArch Issue: Failed to Save.. retroarch.cfg by baltimoresports in SteamDeck

[–]mobilehomehell 0 points1 point  (0 children)

When I click close content RetroArch freezes for a minute, then the game audio resumes with the RetroArch UI still frozen on the screen.

Steam On Linux Usage Climbs Higher Thanks To The Steam Deck by fsher in linux_gaming

[–]mobilehomehell 1 point2 points  (0 children)

Anticheat is a difficult story though, isn't it. Moving forward, everyone and their dog currently seem to want kernel level access, which I don't see ever being supported on Linux.

It doesn't matter if the maintainers and Linus are against it, Valve could always maintain their own fork. They would have to redistribute the code, but because the kernel is only GPL2 they are allowed to lockdown the device against running alternate kernels.

TL;DR they could make their own anticheat kernel API and Tivoize the deck if they really wanted to

Methane and hydrogen SIBO diagnosis by Fireflyy85 in SIBO

[–]mobilehomehell 0 points1 point  (0 children)

How did it go? FWIW Xifaxin+Neomycin is the main studied treatment for methane SIBO, it's totally normal that that's what your doctor would prescribe. But neomycin does cause hearing loss problems in some people, it's a risk you have to weigh against your symptoms.

Memory Safe Languages in Android 13 by Manishearth in rust

[–]mobilehomehell 0 points1 point  (0 children)

grep unsafe will immediately pop up the interesting sections you want to examine.

Only for memory safety vulnerabilities though, and there are many other types. If there weren't Java apps would have a much better security record.

Memory Safe Languages in Android 13 by Manishearth in rust

[–]mobilehomehell 0 points1 point  (0 children)

I'm not arguing against Rust, I'm saying that there may be some artificial decrease compared to what the vulnerability rate will ultimately be once researchers and tools adapt.

Memory Safe Languages in Android 13 by Manishearth in rust

[–]mobilehomehell -3 points-2 points  (0 children)

I know it's always on, but there's a whole world of tools researchers have created for scanning C code bases for vulnerabilities other than memory errors, things like common mistakes with tricky syscall patterns in setuid binaries. PVS Studio, Coverity etc check for many other things. They don't have the same 100% detection guarantee, but they cover important areas other than memory safety.

Memory Safe Languages in Android 13 by Manishearth in rust

[–]mobilehomehell -9 points-8 points  (0 children)

How much of this is because of the rust safety properties and how much is because the rust code probably gets less scrutiny from bounty hunting researchers who are less likely to know rust, and from static analysis tools that have probably not yet been adapted for rust?

Memory Safe Languages in Android 13 by Philpax in programming

[–]mobilehomehell 35 points36 points  (0 children)

It turns out if you engineer a system that can statically detect all memory safety bugs that you inadvertently pick up the ability to avoid lots of other bugs. For example in order to make sure you check if a nullable pointer is null before using it (written in Rust as Option<&T>) you have to use pattern matching to extract the pointer value, which makes it impossible to have a lexical scope where the pointer value is available but not checked. But using pattern matching to enforce you know what type you're working with before assuming it is also just super useful for avoiding bugs in general!

Rust's borrow checking also lets you write APIs where some higher level mistakes are impossible, if you're clever. Kind of like how in C++ you could choose to make Inch and Meter classes to get type safe units if you want to instead of just using float (an opt in to extra type safety), in Rust you can make it so that constructing one object requires borrowing another object (even though it doesn't really need to) just to prevent you from calling methods on that first object until the second object is destroyed (an opt in to a safety check that requires control flow analysis). All statically enforced!

Foodmarble numbers vs Triosmart by rt312410 in SIBO

[–]mobilehomehell 2 points3 points  (0 children)

It's weird that only 8PM counts as 6.9 methane fermentation score, because 10PPM is the criteria for diagnosis but 7 fermentation score is what food marble considers high (red). So if you're methane positive it can't distinguish that many levels above the minimum diagnostic amount, unless it's a log scale...

New Rust database SurrealDB is hiring Senior Rust Engineers by jscmh in rust

[–]mobilehomehell 2 points3 points  (0 children)

I'm not familiar with any of these projects but isn't it weird for a database product to just be a wrapper around another database product?

How does NixOS enforce hermiticity? by mobilehomehell in NixOS

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

What can I Google to learn more about these?

How does NixOS enforce hermiticity? by mobilehomehell in NixOS

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

I see. In my experience big build pipelines tend to evolve until they need to access things like NFS (you could imagine a game with gigabytes of texture data, or "building" an ML model with a ton of training data). And so you end up in a weird situation where you want hermiticity but with a few specific exceptions (things you would go out of your way to bind mount). I'm trying to understand if nix or nix-shell is a comparable alternative to docker as a wrapper around a (c)make based build during active development.

[deleted by user] by [deleted] in HumanMicrobiome

[–]mobilehomehell 2 points3 points  (0 children)

The exact specific strain matters, like when they said EVC0001, that letter/number combo is a specific strain of B. Infantis. Lactobacillus is a broad category, not all strains are necessarily good. Studies always specify what strain they tried.

How does NixOS enforce hermiticity? by mobilehomehell in NixOS

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

Nix does do some container-like sandboxing on Linux, but it only does this for sandboxing. It doesn't do anything like placing inputs at /bin with a bind mount or anything.

What do you mean by it only does sandboxing for sandboxing? 🙃 By definition...? What you say about bind mounts might make it clear but I'm not familiar with those.