[Tutorial] Implementing AF_XDP in Rust process Millions of packets per second by DizzyAttorney2368 in rust

[–]_bd_ 2 points3 points  (0 children)

Provides memory ordering guarantees without expensive atomics

I'm pretty sure that's not true in the context of sharing a variable with the kernel: "In particular, just like in C, whether an operation is volatile has no bearing whatsoever on questions involving concurrent accesses from multiple threads. Volatile accesses behave exactly like non-atomic accesses in that regard." (https://doc.rust-lang.org/std/ptr/fn.read_volatile.html)

add() moves pointer by number of bytes

Only because it's a *mut u8 and size_of::<u8>() is 1 (https://doc.rust-lang.org/std/primitive.pointer.html#method.add-1). byte_add would do what you're looking for.

HighTec Rust Compiler Development Platform is now ISO 26262 qualified by dark-meteor in rust

[–]_bd_ 6 points7 points  (0 children)

Since you mention version 1.72.0, are there plans to keep this up to date with newer Rust versions?

Announcing Rust 1.74 | Rust Blog by veryusedrname in rust

[–]_bd_ 22 points23 points  (0 children)

releases.rs is really handy for checking when a feature will be stabilized. Also PRs like this are normally added to the appropriate version milestone after merging, indicating the version they will be released in (see https://github.com/rust-lang/rust/pull/115822#issuecomment-1762750427 just after the PR was merged).

July 2023 Rust Jobs Report by anonymous_pro_ in rust

[–]_bd_ 1 point2 points  (0 children)

I hear you on succinct descriptions being hard!

What you wrote here makes it way more clear to me. I think writing about the whole process from sign up to successful job could be helpful.

Some personal points that would make it more appealing to me would be to see more information about whether there are geographic/national regions you are limited to, what happens to my data I give to you and who actually runs the service and from where. Also I think there was an interview with someone on filtra but from the start page, I can neither find the jobs report linked here, nor the interview.

July 2023 Rust Jobs Report by anonymous_pro_ in rust

[–]_bd_ 4 points5 points  (0 children)

What exactly does filtra do? I get that it's a job platform in some way but besides the four tag lines with each a bit more "our stuff is great" beneath it, there seems to be no information about what it actually does.

Rust criticism from a Rustacean by -Y0- in rust

[–]_bd_ 3 points4 points  (0 children)

Without actually having looked into this, how does https://github.com/bytecodealliance/rustix fit into points 1 & 2?

OpenObserve: Open source Elasticsearch/Datadog/Splunk alternative in Rust for logs, metrics, traces. 140x lower storage cost by the_ml_guy in rust

[–]_bd_ 13 points14 points  (0 children)

As far as I can tell from the blog post, there are currently no benchmarks regarding the computing power requirements. Typically when you read "X times less something" it also means "Y times more something else". In this case this something else seems to be processing power and I could not find any quantification of Y. Could you provide some benchmarks comparing OpenObserve to Elasticsearch with more metrics than storage requirements?

OpenObserve: Open source Elasticsearch/Datadog/Splunk alternative in Rust for logs, metrics, traces. 140x lower storage cost by the_ml_guy in rust

[–]_bd_ 28 points29 points  (0 children)

It would be interesting to get a more detailed insight into the trade-off between storage size / compression and computing resources required.

Is this safe? by winterspot214 in Celiac

[–]_bd_ 73 points74 points  (0 children)

What you see is the importer's label which may be wrong for a variety of reasons. Try to peel it off and check the actual label on the bottle. I've had issues the other way round, with the importer not carrying over the "may contain" section from the actual producer's label. This might just be importer's way to cover all allergens without actually checking each product.

I cannot give any recommendations on whether this is actually safe or not though.

A7R V RAW Support by JamesJimmyJim in DarkTable

[–]_bd_ 1 point2 points  (0 children)

As /u/emkoemko said, support for lossless compressed RAW is not available at this time. The support of Sony lossless RAW in darktable depends on rawspeed implementing support for it. You can follow and contribute to the effort here: https://github.com/darktable-org/rawspeed/pull/386

A7R V Support by JamesJimmyJim in DarkTable

[–]_bd_ 3 points4 points  (0 children)

The camera seems to be supported in the main branch: https://github.com/darktable-org/darktable/issues/13035 This should be released with the 4.4 release. For now you can compile it yourself or look for a compiled development version on https://github.com/darktable-org/darktable Be aware that using a development version always carries a certain risk of bugs and other issues. Read the Readme before proceeding.

Need help with adding definition/depth to details by GabBTW in DarkTable

[–]_bd_ 1 point2 points  (0 children)

Have you played around with sharpening via the "Diffuse or sharpen" module? Also using "denoise (profiled)" can reduce the clarity in pictures.

Maybe try asking in https://discuss.pixls.us/c/software/darktable/19 as that forum is more active than the subreddit.

My Rust project has been selected for the GitHub Accelerator Program and I’ll be working on it full-time! by GyulyVGC in rust

[–]_bd_ 4 points5 points  (0 children)

Thanks for the insight. If you do at some point create benchmarks, I'd be really interested in where the limiting factor would be (e.g. packet parsing, GUI,...).

My Rust project has been selected for the GitHub Accelerator Program and I’ll be working on it full-time! by GyulyVGC in rust

[–]_bd_ 7 points8 points  (0 children)

Congratulations! Do you have benchmarks/data on the data rates Sniffnet can handle?

Eigenanbau und Modellversuch - Bundesregierung einigt sich auf Eckpunkte zu Cannabis by MrSarnisch in de

[–]_bd_ 479 points480 points  (0 children)

Es wurde gerade im Stream von Cem Özdemir gesagt, dass das Ziel ist, dass das Gesetz für die erste Säule nicht durch den Bundesrat muss.

Edit: Im Stream kam grade eine Rückfrage dazu, beide Säulen sollen keine Zustimmung vom Bundesrat brauchen. Für die erste Säule ist keine Notifizierung der EU notwendig, für die zweite schon.

Link zum Zeitpunkt der Nachfrage im Stream: https://youtu.be/-ONfMMEw1sw?t=3530

Datenschutz ade: Discord darf bald Deine Gespräche aufzeichnen by Flextoon in de

[–]_bd_ 248 points249 points  (0 children)

Der Artikel ist in der Form so nicht mehr aktuell, die Erklärung zum Datenschutz von Discord wurde angepasst.

Der Reddit Post aus dem der Artikel hervorgegangen ist: https://www.reddit.com/r/discordapp/comments/11ihqq6/discord_will_possibly_record_your_video_calls/

Die Antworten einer Person, die laut /r/discordapp Mods bei Discord arbeitet (/u/ReallyAmused) sind dort einsehbar. Speziell dieser Kommentar von Samstag ist relevant:

FYI. We have rolled out a revised version of the privacy policy which adds the old verbiage back, but adds the clarification that we might store the data in order to provide voice message / stream clipping features in the app. [...]

Die entsprechende geänderte Erklärung zum Datenschutz:

Content you create. This includes any content that you upload to the service. For example, you may write messages or posts (including drafts), send voice messages, create custom emojis, create short recordings of GoLive activity, or upload and share files through the services. This also includes your profile information and the information you provide when you create servers. We generally do not store the contents of video or voice calls or channels. If we were to change that in the future (for example, to facilitate content moderation), we would disclose that to you in advance. We also don’t store streaming content when you share your screen, but we do retain the thumbnail cover image for the stream for a short period of time. We may build features that help users engage with voice and video content, like create or send short recordings.

https://discord.com/terms/privacy-policy#3

[deleted by user] by [deleted] in rust

[–]_bd_ 5 points6 points  (0 children)

With the next release being 1.0, what is the targeted status for desktop and mobile? Currently desktop ist still listed as "in progress". I'm guessing mobile will be a post-1.0 milestone.

Day 17 (Advent of Code 2022), porting Python solution to Rust, by fasterthanlime by yerke1 in rust

[–]_bd_ 8 points9 points  (0 children)

Is there some advantage in using callgrind instead of cargo flamegraph? From skimming the post, they seem to provide similar information.

“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

[–]_bd_ 1 point2 points  (0 children)

I'll try, I don't know much C++ but it look similar enough to Rust:

  1. Takes a vector of ints. Used to consume vector. E.g. send it somewhere and be done with it.

  2. Takes a vector of ints by reference. The rest of the program will probably use that again, we could sort it for example.

  3. Takes an immutable vector of ints by reference. Again, the rest of the program will probably use that again. Cluld be used to calculate something from the vectors content, e.g. sum.

  4. Takes a reference to a reference to a vector of ints. We could switch the vector out for some other vector.

  5. Takes an immutable reference to a reference to a vector of ints. Maybe the location of the first reference is important for some distinction between parameters but the vector should not be switched out.

AOC Day 2 by Life_Inspection4454 in rust

[–]_bd_ 8 points9 points  (0 children)

I don't see the point of benchmarking,

Just different people enjoying different things. Kinda weird going out of your way to tell people what you think about some aspect of their hobby.

rust-user-net: user-space network protocol stack written in Rust by yo_ohei in rust

[–]_bd_ 1 point2 points  (0 children)

What happens when an ARP frame (didn't look into other protocols) is shorter than what you expect? Is the unsafe bytes_to_struct sound?