C++ Icon

C++

C++ is a general purpose and object-oriented programming language.
18 Stories
All Topics

Practices rachelbythebay.com

Returning values and errors

If you agree with the notion that you need to be able to tell the difference between the absence of a value and a value itself, then this has some impacts on the code you write. If you want to keep ’em separated (so they can come out and play), then it gets you looking at your API designs in certain ways.

These are my reactions to some of the ways a value can be returned (or not).

Before you head off to read Rachel’s post, allow me to close the loop on that Offspring reference for those of us who didn’t grow up in the 90’s.

Security github.com

A digital image forensic toolset

Sherloq is a personal research project about implementing a fully integrated environment for digital image forensics. It is not meant as an automatic tool that decide if an image is forged or not (that tool probably will never exist…), but as a companion in experimenting with various algorithms found in the latest research papers and workshops.

The original version was written in C++ in 2015, but a port to Python is in the works. It looks super useful, but buyer beware:

I’m happy to share my code and get in contact with anyone interested to improve or test it, but please keep in mind that this repository is not intended for distributing a final product, my aim is just to publicly track development of an unpretentious educational tool, so expect bugs, unpolished code and missing features! ;)

A digital image forensic toolset

Tooling flameshot.org

Flameshot – powerful (yet simple) screenshot software

Holy moly this thing looks useful. It’s cross-platform with the following disclaimer:

Flameshot can be installed on Linux and Microsoft Windows currently.

There is no macOS port of Flameshot currently that can be easily installed. But you can build Flameshot yourself and use it. Please participate in the development of Flameshot and help us make a macOS version.

Flameshot – powerful (yet simple) screenshot software

Linux github.com

NymphCast – an audio/video casting system with support for custom apps

NymphCast is a software solution which turns your choice of Linux-capable hardware into an audio and video source for a television or powered speakers. It enables the streaming of audio and video over the network from a wide range of client devices, as well as the streaming of internet media to a NymphCast server, controlled by a client device.

In addition, it supports powerful apps (NymphCast apps) written in AngelScript to extend the functionality of NymphCast with a variety of online services.

NymphCast – an audio/video casting system with support for custom apps

Eevee eev.ee

A geometric Rust adventure

I recently ported some math code from C++ to Rust in an attempt to do a cool thing with Doom. Here is my story.

Buckle up, because this a #longread. However, it’s worth it because you will be entertained while wading through the mucky-muck of solving what sounds like a simple problem (but isn’t): I have some shapes. I want to find their intersection. Who knows, you might even learn some Rust along the way…

Windows github.com

Even the Windows Calculator is now open source

The Windows Calculator app is a modern Windows app written in C++ that ships pre-installed with Windows. The app provides standard, scientific, and programmer calculator functionality, as well as a set of converters between various units of measurement and currencies.

It’s like Microsoft is just teasing us at this point. How long before they open source Windows itself?!

0:00 / 0:00