1

How to install unsigned drivers in Windows 10

For several days I am successfully upgraded to Windows 10. Contrary to the experience of some of my family members and friends, who got black screens or even a total failure while updating to Windows 10, my upgrade proceeded extreme smothly. And as much Windows 10 inspires me with it’s new features, there still remains a vexed issue. How to install unsigned drivers under Windows 10? (For Windows 8 and 8.1, I had already written a guide.) Since the release of Windows 10, a few steps in the click sequence have changed, so there is this follow-up article now, which describes how to install unsigned drivers on Windows 10. And here’s how you do!

Install unsigned drivers with Windows 10

In general there are two approaches to install unsigned drivers in Windows 10. Either you enable the test mode in Windows or you restart the computer in a certain mode. I will put the test mode alternative on the sidelines for this article, as it has the unpleasant peculiarity, that after activation of the test mode, a label “test mode” and some other information remain permanently on the Desktop. Therefore we want to take a closer look at the “traceless” variant by restarting.

Step 1:

Windows 10 unsignierte Treiber installieren durch Neustart

First, the compter must be restarted into the so-called “options menu”. The easiest way to get there is via the “Run”-dialog, which is opened by means of the key combination Win+R. The command you have to enter, to boot into the Options menu is as follows:

shutdown.exe /r /o /f /t 00

Caution: This command starts the reboot process immediately! No ifs, no buts! If you still have programs open, save everything from the stuff you want to save, before you execute the command.

Because nobody likes to executes commands, he does not know, you’ll find the explanation of the individual parameters below:

  • shutdown.exe  – It’s a Command-Line application which is inclusive with Windows. It does various kinds of restarts and shutdowns.
  • /r – means “restart”
  • /o – means “the PC should start in the Option menu”
  • /f – means “restart directly and close all opened programs immediately”
  • /t 00 – shows the time until the restart happens (in seconds). In this case 0 seconds, which equals an immediate restart

Step 2:

Windows 10 unsignierte Treiber - Optionsmenü (1)  Windows 10 unsignierte Treiber - Optionsmenü (2)

After you have successfully rebooted into the “Options menu”, click “Troubleshoot” and then “Advanced options”.

Step 3:

Windows 10 unsignierte Treiber - Optionsmenü (3)  Windows 10 unsignierte Treiber - Optionsmenü (4)

Now click on the “startup settings”-button and the press “reboot”.

Step 4:

Windows 10 unsignierte Treiber - Optionsmenü (5)

After another reboot, you’re at the startup settings page. Here you can choose between various options, which can be entered by pressing the respective number key. For our needs, you have to click option 7 – “Disable driver signature enforcement”. This deactivates the driver check and enables you to install unsigned drivers in Windows 10.

Step 5:

unsignierte_treiber_unter_windows8_installieren (7)

In the last step and after another restart, you are able to install unsigned drivers by using Windows “Device Manager”. Don’t get confused. There still will be a question in the beginning, as you can see in the screenshot above, but nevertheless the installation of the driver will be possible without problems.

One last advice:
Please keep in mind that the functionality of Microsoft’s signed drivers was implemented for a special reason. A bad or broken driver can cause instability and dysfunction of your system. Therefore only install unsigned drivers, if you know the source and/or the publisher and if you are able to evaluate the risk. If you want to be on the “safe side”, simply set an system restore point.

0

Drawing 3D graphs in C# with ILNumerics

ILNumeric - different 3D plotsThis article deals with how elaborate graphs can be drawn in C# with the help of the ILNumerics class libraries – if requested the graphs can even be animated as well.

Similar to all of my articles on this blog, I will briefly introduce the library first, then I will obtain the necessary bases which are needed for the coding later on and finally I will show you step by step how to get there. Let’s start!

What is ILNumerics?

ILNumerics is a .NET class library that includes a number of components. The two core components are the Compute Engine and the Visualization Engine. ILNumerics expands the .NET-Framework by complex numbers, scalars and vector calculations, matrices and matrix operations, multi-dimensional data structures and much more.

Another advantage of ILNumerics is the Visualization Engine that makes plotting of two or three-dimensional graphs possible. This will be the focus of this article.

What does ILNumerics cost?

If you have dealt with ILNumerics before, you might think that ILNumerics is completely free. That was the case between 2007 and 2011 when ILNumerics was offered by LGPL for free.

Since 2011 ILNumerics has been sold under a proprietary license which starts at 89€ (monthly payment) or 1.300€ (annual payment). Contrary to the annual payment model, the subscription model (with monthly payments) includes updates, upgrades and support.

So, there is still the possibility of a free trial which can be used to evaluate the libraries for your own purposes.

Project idea and data basis

Let’s start with the practice project which we want to implement. The aim is to plot several thousand points into a 3D system. The three coordinates represent information about download numbers, rating and costs of every WordPress plugin on CodeCanyon.

If you want to reconstruct the problem with updated daily data, you may use my small Python crawler that I have written only for the purpose of obtaining these data.

The problem should be clear now and the data should be obtained by the crawler. Let’s move on to the implementation in C#.

Creating a 3D diagram in C#

ilnumerics visual studioFirst, we need a new project in Visual Studio – for the sake of simplicity a WinForms Project is sufficient. Now, we go to the form designer and pull the component ILPanel from the toolbox to the form. (The component should be located in the “ILNumerics”-tab in the toolbox after the installation of ILNumerics. If this is not the case, you may right-click in the toolbox, then choose “Add controls” to search for ILNumerics controls and finally add it.)

The code is quite clear, so you may take the function principle of the code direct from the comments in the source code.

//When form loads...
private void Form1_Load(object sender, EventArgs e)
{
	//Open a filestream and read the data points into an comma-seperated string
	StreamReader sr = new StreamReader(Application.StartupPath + "\\stats_plugins.csv");
	string dataLines = string.Empty;
	while (sr.Peek() != -1)
		dataLines += sr.ReadLine().Replace(";",",") + "\n";
	sr.Close();
	dataLines = dataLines.Trim('\n');

	//Convert the data-string into an ILArray
	ILArray<int> AN = ILMath.csvread<int>(dataLines);

	//Create a new scene, which is the base for our graph
	var scene = new ILScene();
	using (ILScope.Enter())
	{
		//Convert all data points to float
		ILArray<float> A = ILMath.tosingle(AN);

		//Add a plot to the scene and configure it
		scene.Add(new ILPlotCube
		{
			//Render in 3D
			TwoDMode = false, 

			//Add 3 axes
			Axes =
			{

				XAxis =
				{
					Label = { Text = "Price in $" },
					GridMajor =
					{
						DashStyle = DashStyle.Dashed,
						Color = Color.DarkGray,
						Width = 1
					}
				},
				YAxis =
				{
					Label = { Text = "Rating count" },
					GridMajor =
					{
						DashStyle = DashStyle.Dashed,
						Color = Color.DarkGray,
						Width = 1
					}
				},
				ZAxis =
				{
					Label = { Text = "Download count" }
				}
			},
			//Add the data points
			Children = {
				new ILPoints {
					Positions = A
				},
			},
			//Set start rotation for 3D rendered graph
			Rotation = Matrix4.Rotation(new Vector3(1, 1, 1), 0.5f)
		});
	}

	//Add the scene to the ILPanel
	ilPanel1.Scene = scene;
}

This code will suffice to obtain the result which you see next to this text. By using the ILPanel, you not only receive a decent 3D-plot but you can also rotate, zoom and move it.

ilnumerics

By the way, the ILPanel is only one possibility to illustrate a scene. So, it is also possible to create a SVG from the scene which gives you the possibility to show the illustration in web projects. For further information you may read Scott Hanselman’s article on his blog.

Conclusion

The results shown at the end of this paragraph are quiet respectable. Even complex graphs can be plotted without much effort. Though I have to admit that ILNumerics can carry out many more tasks but this exceeds by far my mathematical capacities.

download rating price  download price  download rating  price rating

However, the price is high. I definitely don’t have 89€ left every month. Nevertheless compared to the offered perfomance the price seems to be fair and if you get a high volume order, it shouldn’t be an obstacle at all.

Finally, here are three links that may help you in the beginning and with any problems.

0

Tutorial: Configuring Sublime Text as Arduino IDE with Stino

Stino - Sublime Text Arduino IDETo develop my programs and web applications I mainly use two editors/IDEs. For the former I use the wonderful Visual Studio, and for the latter – Sublime Text, the editor that I cannot do without ever since I first discovered it. If you still don’t know what Sublime Text is, you should download the free unlimited demo version. I bet a few among you will switch to it from your editors!

But that’s not going to be the topic of this post. See, when I worked on my Arduino projects before, I was bound to Arduino’s standard IDE, which, in all fairness, wasn’t exactly eye-candy and needed getting used to. The good news? Recently it became possible to develop for Arduino in Sublime Text. From coding, to compiling, to uploading onto the actual Arduino. Even the serial monitor is available in Sublime Text. All that is possible thanks to a plugin for Sublime Text called Stino.

This article will tell you how to install Stino, configure it and write your first Arduino sketch.

Installing Stino for Sublime Text

First you need to install the Package Control plugin for Sublime Text. It’s available both for version 2 and version 3 for free. To do this, click View in the menu bar and click Show Console. Once the console is open, open the browser of your choice and go to the Package Control website.

On the left side of the page you can select which version of Sublime Text you’re working with – version 2 or 3. Once you selected the correct version, copy the entire code presented in the text field and paste it into the console window opened earlier. Now press the Enter to begin installation.

Once the installation is complete, restart Sublime Text – you should see Package Control under the Preferences menu. If this is too fast for you, look at the three following screenshots that outline the entire process.

Stino Installation Schritt 1  Stino Installation Schritt 2  Stino Installation Schritt 3

So, now that Package Control is installed, we can use it to install Stino, the Arduino plugin. Open the Preferences menu and click Package Control. In the input field of Package Control’s command window enter “install” – you should see “Package Control: install” in the field. Press Enter to confirm.

Stino Installation Schritt 4  Stino Installation Schritt 5

Once Package Control loads a list of all available packages, enter “arduino like” into the field and select “Arduino-like IDE”. Clicking that will begin installing Stino that will automatically complete after a quick wait. Sublime Text will have to be restarted once more after this.

Configuring Stino

Before we can finally begin, we need to edit one setting. In order for Stino to function, it needs to know the path to Arduino’s IDE. That’s right, to the original IDE. Sadly, without it the plugin won’t work correctly.

Stino konfigurieren Schritt 1  Stino konfigurieren Schritt 2

To configure the path, click on the newly added Arduino menu above, hover over Preferences and click Select Arduino Application Folder. You will now need to enter the path to your Arduino Installation in the selection dialogue. The usual path is “C:\Program Files (x86)\Arduino”.

Wenn ihr den richtigen Pfad gewählt habt, dann quittiert Stino dies mit folgender Meldung: “Arduino Application is found at …”.

First steps with Stino

Now that installation and configuration are dealt with, we can finally start developing. The Arduino menu above contains everything that the default Arduino IDE had.

Clicking New Sketch will create a new project, Sketchbook will show you your existing projects, and Examples has some example projects, as per usual.

Before you can use the Serial Monitor, you’ll need to explicitly select the COM port through the Arduino menu. If you open Arduino -> Serial Monitor, or press Ctrl+Alt+M, you’ll be able to configure the baud rate and start the monitor.

Once your code is ready for upload, you will have to select the type of Arduino you want to run your code on. This can be done by going to Arduino -> Arduino AVR Boards. Now that the board type is selected, the upload (and compilation) can be started in the menu or by pressing Ctrl+Alt+U.

Conclusion

I’m personally very happy with Stino – it completely replaced the classic Arduino IDE a couple of days ago for me, and I still haven’t had the need to open the standard IDE. The programming process itself is pleasantly simplified thanks to the functions that Sublime Text provides, which means I work more efficiently – or at least I feel like I do.

Now I’d like to hear from you. Have you known about Stino before, or have you seen it for the first time in my article? I’d like to know what you think of Stino, if it’s easy to use for you and whether you know and/or use other Arduino IDEs.

0

Activating margin and border settings for images in WordPress

Wordpress klassichen Bildeditor wiederherstellen - Titelbild

The new 3.9 release of WordPress brought with it some new changes. Sadly, this time around at least one feature was removed, which is missed by quite a few people. Since WordPress 3.9 it’s impossible to edit borders or margins in the image editor.

This isn’t a huge problem for me personally, since I know how to set these properties manually in HTML. Still, this workaround isn’t always the best solution and editing HTML isn’t for every WordPress user. Solving this problem is going to be the topic of this article.

Activating the margin and border editing interface

At the moment, to be able to conveniently edit the borders and margins in the new version of WordPress you need a plugin. It’s called Advanced Image Styles and it’s available for free in the WordPress plugin repository. After you‘ve install the plugin, the image details dialogue will once again have the options to set the border thickness, border colour and margins for an image.
Wordpress klassichen Bildeditor wiederherstellen - Schritt 1  Wordpress klassichen Bildeditor wiederherstellen - Schritt 2  Wordpress klassichen Bildeditor wiederherstellen - Wie funktioniert es

A look at the HTML code in the WordPress editor will show that the plugin works just like the original functionality of WordPress 3.8 and earlier did and just like I would have done it. It sets the attributes as inline CSS styles. It’s not pretty, but it gets the job done – it would have been better if it had generated a stylesheet and styled the images using classes.

Why was the features removed?

Another justified question is why the feature was removed in the first place. If I understand correctly, the WordPress team had two reasons for the change. The first is making it even easier for beginners to get into WordPress, and the second is reducing the amount of inline CSS to lower loading times.

According to the WordPress team, things like margins and borders should be moved into CSS classes and those classes should be applied to pictures in posts and on pages. A good and practical approach in principle, however in practice it isn’t always the best solution. In the end, not everyone has the skills or the possibility to edit their CSS stylesheets, add the necessary class and apply it to every picture. It’s not the best approach for single pictures – creating a separate class for every single picture would make the stylesheet unnecessarily large.

Wordpress klassichen Bildeditor wiederherstellen - Kommentar des WP Staff

The WordPress team seems to be giving in, though – I’ve read a post by a team member on the WordPress forums who says that it has been proposed to include the plugin mentioned above in the next WordPress version. Still, whether or not that happens is still unclear.

What is still missing and what would I like?

I really do miss one feature – the slider to resize pictures to a percentage. Sadly, WordPress 3.9 also removed that. Right now, the replacement for that is resizing pictures directly in the WYSIWYG editor, but it can’t really be compared. If I have 5 pictures that I want to resize to 70%, I could do that in a couple of clicks with the old slider. The new function needs a lot more effort from me, since I can’t see how much smaller I’ve made the picture I resized. Only a look at the HTML code helps in this case, and the whole process becomes a bit of a hassle.

5

Update: Cloud Downloader 2.6

Cloud Downloader 2.6 - SearchingToday is “update day”. From now on you can download the new Cloud Downloader 2.6. Besides some bugfixes, I have implemented some new features which came from you – the community. At this point I really like to say “thank you” for your outstanding support, your bug reports and your new ideas.

Below is a quick overview of what has changed in the new version:

  • [Feature] Search- and download status are shown in the taskbar from now on. So you can minimize the Cloud Downloader window without leaving focus the app’s status.
  • [Feature] Album covers are saved in a higher resolution (500×500 px instead of 100x100px) from now on.
  • [Feature] You can get more songs from an artist and support him, by clicking on the shopping cart icon in the search results. (This starts an amazon.com search for the artist’s name and the song’s title.)
  • [Bugfix] Soundcloud url’s in the form of search requests (http://…search?q=) are working again.
  • [Bugfix] If you choose the “keep search results for the next searches”-option, already marked/checked songs will be remembered. (Until now the markings got lost if you started a second search.)
  • [Refactoring] The Windows MediaPlayer dependency was removed. Instead the NAudio-library will be used for streaming music. I hope that this will fix the crashes at some user’s machines.

 

Download: Cloud Downloader 2.6

 

Cloud Downloader 2.6 - Searching  Cloud Downloader 2.6 - Shopping  Cloud Downloader 2.6 - Status in Taskbar

Page 1 of 33