25+ Podcast sources for your ears

A free and easy source for information.

Podcasts are easy to find, you can sometimes listen to them online or you simply download them and listen later.

Put them on your “walkman” when you go out for a walk or when you take the public transports, at work when you are in an environment with multiple noise sources (it reduce them to a single source), when you are in a meeting for which you have no interest , or even in a family meal while your stepmother is talking about her last haircut.

You can also take it in your car when driving work or to home. It’s the option I take because I spend 4 hours a day in the car. I simply copy them on an usb stick and plug it to the radio. (you can also burn it on a cd, depends of your car radio system).

Do it your way !

Podcasts are a great idea, they allow you to listen to a show you missed, to be informed of the latest buzz and so on.

Listening to posdcasts is a good thing because even if you aren’t really attentive to what is said, your subconscient is smart enough to make you listen at important parts, so you if you heard of a subject after listening to a relative podcast, you know a little of the subject and you seem less dumb that you are.

Plus, il like me you listen to podcasts in a foreign language, you can significantly improve your knowlege by simply semi-listening to conversations in that language.

Like I early said : Podcasts are cool, so listen to them !

Here is my list of podcasts’s sources for developers : share it and enjoy it !

Use DropBox as version control system for a single person project

If you are a single person working on a personal project, you maybe have encountered some backup and versioning issues.

Let’s examine a few solutions…

Manual backups

So you can do manual backups, naming them by date or by functionality and saving them on different supports but this can quickly become a real hell to maintain.

manual_backups_zoom

SVN

You can also us a svn tool, which is really nice : backups are usually on a remote server but you have to remind to do a “sumbit” when you want your sources to be saved.

subversion

There are some really good and free svn hosting (such as xpdev.com) but usually with annoying advertisements and limitations. Furthermore, for a single person project, it’s maybe be taking the bazooka to kill the fly…

Other source control solutions

There are plenty other solutions like git, cvs, or Microsoft team server but once again it’s maybe unneccesary for a single person project.

My current solution

The solution I use for my personal projects is “DropBox”.

dropbox

What is DropBox ?

Here is the description on the website

Dropbox is software that syncs your files online and across your computers.

Put your files into your Dropbox on one computer, and they’ll be instantly available on any of your other computers that also have Dropbox installed (Windows, Mac, and Linux too!). Because copies of your files are stored on Dropbox’s secure servers, you can also access them from any computer or mobile device using the Dropbox website.

How to use it like I do ?

First register at DropBox then install it.

Create your project directory

Put your project files there.

That’s it !

Now you have an automatic backup and versioning system for your files.

Look at the versioning system : it’s great !


Now if you want to develop with other persons, DropBox is certainly not the solution.

You can use it but you will have to be sure that the different persons aren’t working on the same files !

There is no merge system !

If your are about to create a new account, please use this link : I will earn extra storage space.

Dropbox is software that syncs your files online and across your computers.

Bind StackPanel Visiblility to Radiobutton IsChecked

First steps with Silverlight …

The context :

I have some radiobuttons, and a stackpanel I want to be visible if one or the radiobutton is checked

The solution I found :

1) Write the code

The radio buttons


// ...

<RadioButton Name="SomeRadio"  IsChecked="True" Content="some radio/>
 <RadioButton Name="WantedRadio" Content="the wanted radio"/>

// ...

The StackPanel


// ...

<StackPanel Name="ThePanel">

// some content

</StackPanel>

2) Convert

Since the Visibility property type  is an enum and the Ischeckd a boolean, we need a converter

Create it : you must implement the IValueConverter Inerface which is in the “System.Windows.Data” namespace


using System;
using System.Windows;
using System.Windows.Data;

namespace TheNamespace
{
 public class VisibilityConverter : IValueConverter
 {
 public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 {
// just in case
if (value == null)
{
return Visibility.Collapsed;
}

bool ischecked = System.Convert.ToBoolean(value);
return ischecked ? Visibility.Visible : Visibility.Collapsed;
 }

// had to be implemented
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();
}
 }
}

Reference the namespace of the converter in the xaml file


xmlns:local="clr-namespace:TheNamespace"

Add the class as ressource for the user control

<UserControl.Resources>

 <local:VisibilityConverter x:Key="VisibilityConverter" />
</UserControl.Resources>

And now you can use it to bind the properties


Visibility="{Binding IsChecked,  ElementName=WantedRadio, Converter={StaticResource  VisibilityConverter}}">

Incoming search terms:

  • binding visibility to radiobutton
  • asp bind textbox visiblility to radiobutton
  • vnext radio button null
  • visibility converter bound to radio button ischecked property windows phine
  • stackpanel visibility binding
  • silverlight binding null radio buttons
  • radiobutton change visibility stackpanel
  • how to bind radio button in with windows phone
  • Bind visibility to radiobutton checked
  • bind coontrol visibility to radion button

Image to byte array and vice-versa

This is an old code snippet I posted on the www.developpez.com faq a few years ago.

I needed it today, and I decided to post it here

Image to byte array :


public static Byte[] ImageToByteArray(Image img)
{
try
{
MemoryStream mstImage = new MemoryStream();
img.Save(mstImage, System.Drawing.Imaging.ImageFormat.Jpeg);
Byte[] bytImage = mstImage.GetBuffer();
return bytImage;
}
catch (Exception ex)
{
// do something smart
return null;
}
}

Image to Byte array


public static Image ByteArrayToImage(Byte[] BArray)
{
try
{
MemoryStream mstImage = new MemoryStream(BArray);
Image img = Image.FromStream(mstImage);
return img;
}
catch (Exception ex)
{
// do something smart
return null;
}
}

http://dotnet.developpez.com/faq/csharp/?page=gdiplus#gdip_convert_image_bytes

Incoming search terms:

  • memorystream from controls image
  • convert image to byte[] in wp7
  • mstimage
  • byte array to writeablebitmap
  • byte[] to writablebitmap wp8
  • convert byte array to writeablebitmap net
  • csharp image to byte array
  • writeablebitmap to byte array wp8
  • how to bind image from byte in C# net
  • how to use the system windows media imaging to convert an image to byte[]