Hello Devz, You may want to use Linux for many reasons: services, development, scripting, or just for the environment. And you can use it in a few different ways: Install (dual boot) a distro like Ubuntu, Fedora, Mint, … Use a virtual machine with VMWare or VirtualBox Use “Bash on Ubuntu on Windows” or also […]
AI – Tensorflow First Steps
Hello Devz, Do you want to learn more about Artificial Intelligence? Tensorflow is your best bet… Tensorflow is a framework developed by Google which allows you to do almost everything you could imagine with AI’s. There are different ways to use Tensorflow. Being a fan of C#, you could use TensorflowSharp. But it is known […]
AI – Image Recognition with Darknet
Hello nerdz, Being a fan of TED Talks, I found a really interesting one about AI and object recognition. Joseph Redmon is presenting in this show his work about the Darknet. It’s an open source C code which is an AI that can be trained to recognize any object, and it’s damn fast! Here is […]
Python – Simple example
What is Python? Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. What are the advantages of Python? The Python language has diversified application in the software development companies such as in gaming, […]
C# – JSON serialize and deserialize
Hello Devz, JSON files are really common, we can see them everywhere. They provide a good structure to organize data, are simpler and lighter than XML files, and still human readable. In this simple example, we will show you how to use the Json.NET library (Newtonsoft) from NuGet. It is pretty simple to serialize and […]
C# – Copy a folder, its content and the sub-directories
Hello Devz, It’s unbelievable but yes, the System.IO provided by .NET doesn’t have a simple method to copy a folder, its content and the sub directories to another destination. There are a few different techniques to copy a directory with C#, using the command XCopy, or using a recursive method. The best one I saw […]
WPF – Animated Image
It is sometimes interesting to have an animated icon to tell to our user that their command is actually processing. Typically for a refresh icon. So, two solution: you could use an animated GIF and use an external library like WpfAnimatedGif (or the XAML MediaElement), or use an rounded icon (like this one) and create […]
WPF – Animated text
Sometimes it can be useful to have an animated text even in WPF. Typically a “Loading…”, where the 3 dots are moving one by one. Here is a simple way to do an animation with text: <StackPanel Orientation=”Horizontal” Margin=”20″> <Button Content=”Start” Height=”20″ Command=”{Binding StartCommand}” VerticalAlignment=”Top” Margin=”5″ /> <Button Content=”Stop” Height=”20″ Command=”{Binding StopCommand}” VerticalAlignment=”Top” Margin=”5″ /> […]
WPF – Nullable binding
Hello Devz, Imagine you have a TextBox binded to a nullable integer and you put a value in it. Now let’s say you delete this value. You expect to have your value to be null. To be able to do that, you need to update the properties of you binding like this: <TextBox Text=”{Binding Value, […]