Articles

(Nov 06) #c

For some, an ideal world is where malicious or not intended behavior is impossible on a computer system. For others, not so much. Eitherway, it's always interesting to learn about how your machine's behavior can be manipulated. Carl Schou does just that in his article, where he shows us how information can be intercepted from drivers and changed to achieve whatever it is you're aiming to do.

(Nov 08) #haskell

Creating statistical models and analyzing them is how we can determine the probability that a specific process is influencing the data. Why is this important? Because it allows you to pinpoint the key factors. In their technical article, Siddharth Bhat and Matthias Meschede demonstrate how the monad-bayes Haskell library can be used to "set up a statistical model that describes an ensemble of data generation processes", "generate synthetic data with one specific process in this ensemble", and then "infer which process we have used from the ones that our statistical model describes".

(Nov 07) #swift #rust

Dynamic linking is "a system where you can compile an application against some abstract description of an interface without providing an actual implementation of it". It's useful because it allows you to update the actual implementation of the interface without having to rebuild everything that's running on the system. In this extensive article, Alexis Beingessner gives a background on Swift and dynamic linking, then goes on to dive into the details about its implementation with a comparison to Rust.

(Oct 30) #c #compilers #security

Compilers do a lot of tricky stuff behind the scenes to optimize your code for maximum performance. One of these includes adding padding in memory to make the members of structs in C aligned. But how does this work and why does it matter? Well that's what Jack Leadford covers in his article; he briefly covers how compilers pad, but then goes on to take a closer look at how this can be exploited for disclosing bytes when writing code for kernel drivers and network code.

And that''s it for today! Discuss this issue at our subreddit r/morningcupofcoding.

Did you like what you read? Let us know by clicking one of the links below.

Liked - Disliked

I hope you enjoyed reading the latest issue of Morning Cup of Coding. If you did, consider supporting us by becoming a patron (Patreon) for perks like ad-free issues, or via a one-time donation via PayPal.

Cheers,

Pek