#TIL How to synchronize the time axis of Highcharts with the client’s timezone

In the context of front-end development, you’ve probably dealt with Highcharts. This tool is very powerful, but sometimes you have to read the long pages of detailed documentation to get the result you want. That’s if you know what you’re looking for in the first place.

That was my case few days ago. My problem even though Highcharts was plotting my data correctly, the tooltip above the data points reflected the time in the client’s time zone while the time axis was in UTC.

After some research, it turns out that Highcharts can be configured to be in UTC mode or local mode as documented here.

To put it simply, you need to do the following:

Highcharts.setOptions
  time:
    utUTC: false
  }
});

Another important point, your points in the time axis must be in ISO format or as a Momentjs or Date object. If the format of your dates is a bit special, you can define the parseDate method shown in this example.

Be sure to let me know if I made a mistake in the article or if you have any suggestion, correction or question!

Filed under: Front-end Web , JavaScript , Today I've LearnedTagged with: , , , , ,

#TIL How to correct sorting on ngx-datatable

If you’re currently working with Angular 4, chances are you’re using ngx-datatable somewhere in your app.

It is also very likely that automatic sorting will not work. To remedy it I looked a little on my side and I came across these two resources:

Basically, you’ll need to add the following two attributes to your code:

<ngx-datatable-column [sortable]="true" [prop]="yourColumnName"></ngx-datatable-column>

Note that prop represents the prop attribute in your model object that you assign to the data table. If you haven’t defined it, ngx-datatable adapts it to the camelCase format as documented here.

Be sure to let me know if I made a mistake in the article or if you have any suggestion, correction or question!

Filed under: Front-end Web , HTML , JavaScript , Today I've LearnedTagged with: , , , , , , , ,

Solve the problems of AMD 5700/XT graphics cards

EDIT 15/Nov/2019: I decided to roll back to driver version 19.7.1 because after extensive testing, it turns out I’m still having the same issues sadly, I’ll keep you posted when a new release will be up.

EDIT 09/Nov/2019: The 19.11.1 driver looks stable after my tests, you can install it and enjoy the latest version!

Note: I would keep this article up to date depending on the driver considered “stable” for the AMD 5700/XT.

If you are one of the lucky owners of the new AMD Radeon 5700 or 5700XT (or partner version as in my case the Sapphire 5700 XT Pulse). It is possible that you are having problems in recent days with several video games.

Don’t worry, it’s not your new graphics card that’s giving up. It’s the drivers who are unfortunately riddled with bugs.

Do not use any drivers besides version 19.7.1

To check your current version of Adrenalin drivers, launch “AMD Radeon Settings” via your start menu. Then click on the “System” or “System” tab depending on the language of the software. Make sure your driver’s version is the 19.7.1 as shown in the screen print below.

The System tab in the AMD Radeon settings with the software version

Where to download version 19.7.1?

If you have a newer version of the driver, this is the very source of your problem. You must download and install the 19.7.1 version of the driver and test it. Your problems will be ancient history. Click on the link below and scroll down to the “Download Locations” section as shown in the screen print below. Be careful, keep reading the section below before you jump into the water.

Download Adrenalin 19.7.1 software on Guru3D

Download links on the Guru3D website

Uninstall the driver before installing this version

In order for everything to go well, you need to uninstall your current driver using Display Driver Uninstall which you can download via this link. Just like before, scroll down to the “Download Locations” section to download the software.

You will not be able to uninstall the driver of your graphics card directly. You need to restart in safe mode and launch DDU. To restart in safe mode on Windows 10:

  • Click the start button and then shuffle the settings button with a gear icon.
  • Click on the “Update and Security” tile.
  • Choose the “Recovery” tab on the left.
  • Then click the “Restart Now” button.
  • A blue screen will then appear with several options, click on the “Troubleshooting” tile.
  • On the next screen, choose “Advanced Options.”
  • On the next screen, choose “See more recovery options” at the bottom, then “Settings” and finally the “Restart” button.
  • Your computer will restart and you will have another screen. Press the F4 button to start in safe mode.

Phew, once in safe mode, you will see that the whole interface has become “big” it is mostly the screen resolution that is too small. In short, launch DDU, choose the device type first and then the device below as in the screen print below. Finally, click the “Clean and restart” button.

Display Driver Uninstall interface

Install the driver after restarting and ignore the new version

Once your machine has restarted, start installing the driver you’ve downloaded previously in the section above from Guru3D. During installation, the assistant will suggest you install the new version, ignore this message and continue to install the driver.

A final word for Overwatch players

For readers who play Overwatch, I would caution you against certain options not to activate or risk having crashes of the game:

  • Virtual Super Resolution: Reported as interfering with Overwatch.
  • Accentuation of image sharpness: Can interfere with Overwatch.
  • GPU scaling: Can interfere with Overwatch.

Filed under: Microsoft Windows , Software optimizationsTagged with: , , , , , , , , , ,

This software lets you control your external monitor’s brightness

Ever wanted to control your external monitor’s brightness via software on Windows? Well this great piece of software will help you do it in few clicks.

ClickMonitorDDC 7.0

The first thing we need to do is to download and install ClickMonitorDDC to see if your hardware configuration works. After installing it, launch it. If nothing shows up, check the task bar near the clock where you might see some numbers like in the screenshot below :

ClickMonitorDDC 7.0 taskbar icons
ClickMonitorDDC 7.0 taskbar icons

How to control my monitor’s brightness?

First, you need to click any of the icons you see in the taskbar. You’ll be greeted with the following window :

ClickMonitorDDC 7.0 main window with the monitor's brightness settings
ClickMonitorDDC 7.0 main window with the monitor’s brightness settings

Try to use the slider that says Brightness and if everything’s working as expected, your monitor’s brightness should change accordingly. This is of course as you may notice not the only feature of this software. You can adjust the contrast as well as the color profiles and other functionnalities that your monitor may support.

My desktop monitor for example supports volume control as well as custom color temperature settings (located in the bottom-left side in the scroll items).

Custom profiles for specific apps !

Another neat feature is that ClickMonitorDDC can also enable specific screen settings depending on the app you might be using. Click the little button located on the top-left corner, you’ll see a settings window as follows :

ClickMonitorDDC 7.0 settings window
ClickMonitorDDC 7.0 settings window

You can fiddle around with specific apps profiles, timers and hotkeys. To be honest, I was really surprised with how complete this software is.

Final thoughts

Whether you’re a developer, a creator or any type of user, I’m more than sure that this great piece of software can be greatly useful for you. I’m using it on all my computers to quickly control my monitor’s brightness with just a click. If you like this software, please don’t forget to support the developer with a little donation.

Filed under: Customizations & appearance , Free SoftwareTagged with: , , ,

Improve your work environment with FiraCode

As a developer, you give a lot of attention to your workflow. In this article, we’re going to discuss a really subtle workflow tool that can be a game changer.

TL;DR: Go to FiraCode repository , download, install and apply to your IDE. Follow the installation instructions here.

Your IDE’s font matters, A LOT

Right now, you might be looking with a lot of skepticism to this whole article telling yourself why font matters. It’s just an aesthetic choice and so on. But here’s a simple example :


Monospace fonts compared to Fira Code

I took two fairly known monospace fonts; Courier New which is the default monospace font on Windows (usually, don’t take my word for it) and Consolas which is the default PowerShell in my Windows 10. As you might already see, Courier New is the worst when we want to differentiate 1 from l and 0 from O.

This is just an example, but what I’m trying to explain is that we should not waste our time trying to figure out if the symbol we’ve written is easily intelligible from another. We are supposed to read and understand code as fast as possible to work comfortably.

FiraCode improves your work environment with ligatures

FiraCode is not just an elegant typeface, it uses ligatures (a very simple typeface concept) to make the developer’s life way easier. Below an example of simple code with the three precedent fonts :

Monospace fonts compared to FiraCode in VSCode

As you can notice, FiraCode with ligatures makes this JS snippet much more legible! Of course, you’ll have to try it in your IDE and see for yourself.

You can learn more about Fira code over here :

https://github.com/tonsky/FiraCode

And you can check the supported IDEs you can apply it to with the install instructions here.

Finally, please don’t forget to support the developer on Patreon for his amazing work.

Filed under: Android , CSS , HTML , Open souceTagged with: , , , , , , , , ,

OnePlus will regret removing the 3.5 mm jack

OnePlus will soon release its new 6T Smartphone. But even with all the hype, there is some tension because of OnePlus’s pretty dubious decision.

I was a fan of OnePlus, I even have the 5T I used to write half of this article and I confess that I am satisfied. But since the OP6, I started doubting the brand’s strategy.

This article reflects my opinion and my view of the situation. Feel free to share your personal opinion, I would be delighted to discuss it. I decided to write this article especially to clear my feeling towards OnePlus and other Android manufacturers in the market.

Who is OnePlus and where do they come from?

OnePlus is a company belonging to the BBK electronics group which also owns the oppo and vivo brands. Even though OnePlus claims to have control over their design process and strategy, they remain dependent of BBK. For this reason, for example, theOnePlus 6T looks very much like oppo R17.

It is also important to know that OnePlus does not have sufficient resources to do research and development or build and test their devices. You can see some kind of shortcut to operate in this way and recycle a design and hardware already established by oppo or vivo. But at the end of the day, profit is a decision-making element.

That was the most important point to clarify. Now let’s talk about the stupidity of this decision and incidentally the stupidity of the builders who follow the same optics.

The 3.5 mm jack port was an evolution

A few years ago, smartphones were not yet popular. Each Builder had fun making phones in his corner and every one had his own proprietary port. My first phone was a Nokia that had a circular charging port. The next one, Siemens had a single port for charging or for the hands-free headset. My Motorola also had a data/recharge port and a 2.5 mm jack port not compatible with some Nokia 2.5 mm headsets. But beware, Nokia had linear ports for their hands-free headsets too. It was just redicilous.

The worst though was Sony Ericsson. They had the most screwed-up port in the world. In fact, I never remember having a Sony Ericsson hands-free full headset, I had DIY my own 3.5 mm adapter to plug in my headphones. Because Yes, it was almost impossible to find accessories other than Samsung or Nokia.

Then the constructors started implementing the 3.5 mm port. For me it was paradise, listen to my music with my favorite headphones or connect the phone to any other device supporting an auxiliary input.

My last phone having a proprietary port for the audio kit was a HTC dual (Niki) and I bought so many headsets that I started looking for a Bluetooth A2DP headset to make my life easier. Butif I had a choice, I would have chosen the wired solution.

In short, then there was Android, the 3.5 mm jack ports became a standard and everything went to the best.

Then came Apple

Oh Apple . . . I liked their products, especially the iPod and iPod touch. But it’s been years since their started making me crazy. Their elitist vision is only ruining everything around them.

Apple decided to “revolutionize” the world by removing the 3.5 mm connector because it was an “outdated technology”.

What Apple did was part of their marketing strategy. They wanted to both push AirPods to the general public while forcing accessory builders to use the proprietary “lightning” port as a single solution. Indeed, any Builder who will manufacture an accessory using the lightning port will have to give royalties to Apple otherwise they will risk a lawsuit that will ruin them.

This strategy is much clearer when we look at the launch of the new XS and company with the port ligntning. Amazing coming from a company that decided to remove all the ports of the MacBook and leave only the USB type-C ports and… The 3.5 mm jack port.

Okay, I’m digressing, let’s go back to the main topic.

The 3.5 mm jack port is not obsolete

Everywhere, the 3.5 mm port remains useful. It is a port designed for a simple task that it accomplishes wonderfully. The fact that it is a circular plug allows it to rotate and thus minimize the degradation of the cable. So yes, you have the syndrome of the left or right earpiece that stops working (or worse, the micro button that activates) but it is due to the cable that is damaged more than the jack plug in itself.

USB type-C to Jack adapters exist, but there is a twist, it’s worse! On Android, manufacturers are not agreeing on the correct implementation. Some adapters are analog and non-standard others are digital and incompatible with some phones. Great, here we are back in time 14 years ago!

I urge you to watch this video to understand the magnitude of the situation.

Content not availab
le. Please accept cookies by clicking on "accept" on the banner.

To summarize the video above, some USB type-C dongles make a digital to analog conversion. So they can work practically with all smartphones. Other dongles are non-standard and make a kind of analogue to analogue Voodoo and therefore can not work with some smartphones.

The big problem is that you won’t be able to tell the difference between a digital and analogue USB type-C adapter. You will need to test an adapter before you buy it. Does that remind you of a certain situation? ;)

Oh yes also, you can not plug your headphones while recharging your phone (Yes, there are splitters but seriously I’ve seen people leading a sad life with them) and if you have the misfortune to ruin your USB type-C port, good luck recharging your Phone!

Are there Bluetooth solutions? Definitely, I was one of the first to have a Bluetooth A2DP headset and the experience was good. But it stops there. Recharging the headset every evening (good luck if you forget to do it). Having disconnections or annoying latency and above all an audibly different quality, frankly it’s too much of a compromise.

Well, that reminds me of an anecdote. I had to make a 7 hours trip, my Bluetooth headset had a battery life between 7 to 6h. When I was out of battery, I had to stop my music, plug it into the power Bank and voila, no music for an hour. Great, huh? Oh yes, the headset could not recharge and play music.

You would say that by buying a new model of headphones like the gorgeous Sony 1000XM3 I would not have that kind of problem. But it’s stupid that I’ve already invested in a wired Bose QC25 to then throw €300 on a new high quality headset when you already have something.

Why is OnePlus going to regret this decision?

OnePlus has already attempted its hit with the “notch”. And a lot of fans were disappointed including me at the release of the 6. So I know it’s just about tastes and we can’t discuss tastes. But this decision gives off two points:

  • OnePlus is in the process of tracking the mass of builders who themselves follow Apple.
  • We could have inspired the essential phone that uses the slot space or Xiaomi mix 3 that moves the camera down.

Many OnePlus fans have noticed the lack of apparent innovation. The disappointment is apparent and frankly, the arguments that the CEO of OnePlus, Pete LAU, are a joke. “To gain more space for components”, for a larger battery or fingerprint reader under the screen? Seriously? Does the 3.5 mm jack connector take that much? Fortunately, Samsung succeeded in fitting the 3.5mm connector, the stylus and the big battery in their Note 9 then.

In short, OnePlus will regret this decision especially in their sales. People who buy Apple devices make compromises because they are willing to do anything for an iPhone. OnePlus has only one advantage, the price, and again! According to the latest leaks, this new OnePlus 6T will be even more expensive than the 6.

But the 3.5 mm Jack will disappear

Possible, if all phone manufacturers continue to push it towards obsolescence, it will disappear from the phones. But not PC, TV and other equipment that must remain compatible. This only creates confusion for the consumer who will have to buy a Bluetooth headset/headphones to use them with his phone, headphones for his PC, etc…

It is possible that you may not agree with me, in this case I understand. This is only a rant from an occasional blogger who spits out his hatred about the current situation of smartphones that are copies of copies of other copies.

Filed under: Uncategorized

Fix the error "your rendering device has been lost" on overwatch

Update 2 (30/August/2019): If you have an AMD graphics card take a look at this article.

Update: I was able to change the motherboard of my Lenovo Y510p against another (so mainly I changed my graphics card) and after several parts, I can confirm that the problem came from my graphics card (NVIDIA 750M) and more precisely the graphics memory. This me
ans that if you have this bug, that you have tried all the solutions listed in the article, it is unfortunately possible that your graphics card is in the process of making the soul.
______

I started playing overwatch recently, an excellent game if we put aside the community enough… Different. But this article will focus on a fairly particular subject that I have partially solved. I will share with you the leads I have followed and the conclusions I have been able to draw
. Note that I have not solved 100% of this problem. Nevertheless I decided to consolidate all the information I have collected in this article, it will serve as a reference to those who galed like me.

The error "your rendering device has been lost!"

After installing the game and two parts, I got this error message. At first I thought it was an isolated problem except that by looking for a little bit, I realized it was a nightmare for all users alike.

Indeed, the error can occur on:

  • Laptops.
  • Fixed computers (desktops).
  • Computers with AMD or nVidia graphics cards.
  • All configurations combined.
  • On almost all models of graphics cards.

Faced with the magnitude of this problem, I decided to follow the forums. According to Blizzard's official support, this error may arise if the rendering device (in our case the graphics card) stops responding. Except that this bug has been there for quite a while and no one seems to present a viable solution.

Tested configurations

I tested overwatch on two laptops and a desktop:

  • Lenovo Y510p (my personal laptop):
    • Intel I7-4700MQ
    • nVidia GT750M
    • 12 GB DDR3 RAM
  • ASUS Vivobook Max X541J (laptop from a friend):
    • Intel i5-7200U
    • nVidia GT920M
    • 8gb RAM DDR4
  • Desktop Custom (desktop personal):
    • AMD Athlon X4 860K @ 4.2 GHz.
    • nVidia 1030GT
    • 8gb DDR3 RAM

The "solutions" suggested by the forums

I was able to find solutions on the forums, since I practically tested all these solutions, I propose to make you the list and put you my feedback below. If you want to contribute to this list with your solution, write a comment and I would be happy to add it.

Uninstall drivers and reinstall them with display driver uninstaller (DDU)

This solution is my first recourse in case I feel that there is a display problem. The first thing is to download DDU via this link then, reboot into safe mode and uninstall the Intel drivers then nVidia/AMD.

The second step is to reboot in normal mode, to install the Intel drivers first then nVidia/AMD. Of course, the Intel driver uninstall/install step applies only if your PC supports dual graphics card functionality.

I followed the routine, everything reinstalled but without results, it did not solve the problem.

Disable DVR and Xbox games on Windows 10

Windows 10 offers some very useful in-game features. However, several players have reported that these features are the source of this problem. To disable DVR and Xbox games:

Click the Start button» settings button above the stop button» in the new window that appears, select ' games ' in the tab ' game bar ' disable the feature then go to the ' game DVR ' tab disable all Features.

Before disabling DVR, I noticed that if I'm on overwatch and Windows shows me the game bar I instantly have the error in question. By disabling this feature, I thought it would be solved but not really, after a game, I had a crash.

Close all applications that may interfere

Almost all modern applications solicit your graphics card, from what I could understand, if an application tries to solicit the graphics card other than overwatch, the game will crash. Here is a non-exhaustive list of applications that can interfere:

  • Google chrome, Mozilla Firefox or any other browser.
  • VLC, steam, origin…
  • nVidia GeForce experience/AMD catalyst.
  • Any application that can use your graphics card in fact…

This is not a joke, even steam can interfere. I suspect the built-in browser feature that solicits the GPU.

I also followed this lead, with no results. I was able to make two parts and crash.

Turn off the graphics card overclock

If you tried to overclock your graphics card, overwatch will crash. In fact, the game itself will show you a different error if it crashes and your graphics card is Overclocked.

Small problem, some graphics cards are already overclocked (like those of EVGA or GIGABYTE). The solution is to try to downclocker them up to the default frequency of the same model.

Example: If you have anEVGA GTX FTW 98 0, its base frequency is 1279 MHz, off the 980 GTX referencehas a base frequency of 1126 MHz.

By lowering the frequency of the graphics card to its reference frequency, the game no longer displayed the error message about overclock but it crashed anyway.

Downclocker the graphics card

This seems to be the most viable solution on the forums. I even found someone who has the same Lenovo y510p and who tried to downclocker his graphics card. By lowering from-60 MHz the graphics heart and from-400 MHz memory, it reports that the game has not crashed since.

I tried this method, I prepared a profile on MSI Afterburner and I tried to play some parts. Even if the game has not crashed, I feel that I need more time to test this configuration.

Change/add key "TdrLevel" and "TdrDelay"

I was able to find this solution on a few sites, forums and YouTube, from what users say, TDR is the value of waiting time before resetting the driver. I tried it without results. I'm not going to explain how to follow this step because it involves changes in your Windows registry and I stronglyadvise against it.

Reinstall Windows

This solution seemed to me the most coherent, if there is a problem, it is probably by reinstalling Windows 10 that I will be able to solve it. Unfortunately for me it did not work, the game was very stable at first but it chained the crashes then in a phenomenal way.

The solutions I could try without forums

I tried a few solutions to see if I could overcome this problem. These small trials then allowed me to draw some conclusions.

Decrease graphics settings

Simple, I changed the graphics settings to the minimum (you also have to click on "Advanced" and change the settings to the minimum possible).

Play in windowed and windowed mode without borders

I tried this and I had a result for interesting. Almost at the end of my game, I had a bug that I never had in full screen mode. Everything went black except the interface of the game (icons, HUD etc…) below a screenshot that I found on the Internet (I could not take a screenshot on my side).

By having this bug, I have more or less corollé two things, the error "your rendering device has been lost" and this bug seem to be related. It is possible that in full screen mode, this happens and the game crashes while in windowed mode the display bug but the game continues. Indeed, if you have noticed, when you have this error message, the game continues to walk, the audio in-game is still functional!

Playing with the Intel integrated graphics card

If you are in the mood to play 30FPS in low quality and disgusting resolution, you can try forcing the Intel graphics card to load the game's rendering. To be done:

  • For nVIDIA:
    • Go to the "NVIDIA Control Panel".
    • Choose "manage 3D settings".
    • Go to the "program settings" tab.
    • In the drop-down list, search for "overwatch (overwatch. exe)" or click the "add" button and search for "overwatch", otherwise browse and choose "overwatch. exe" in the installation directory.
    • Once this is done, choose from the second "built-in charts" drop-down list.
  • For AMD:
    • Open the AMD Catalyst Control Center Panel.
    • Under ' Gamig ' locate ' application profiles '.
    • Choose overwatch and force Intel integrated graphics.

PS: having no graphics card AMD, I can not give you the precise steps.

By playing overwatch with the integrated Intel graphics card, I never had the error "your rendering device was lost". However, the gaming experience is terrible.

A lead to solve the problem?

For now I can't find what's causing the problem and I've been looking for weeks. The only lead I had was that the problem probably came from systems with two graphics cards. I quickly dropped this track when I saw that several users with a single graphics card were suffering from the same problem.

Many talk about overheating and downclock to alleviate this problem. This is what I am currently doing, I sacrificed a little performance on my GT 750M (knowing that already she has trouble with overwatch) to be able to play. I still haven't tried to play in competitive mode because it will be signing my death stop.

If you have a solution that you want to add to this list or if you want to share your feedback, I would be delighted to answer you in the comments.

Filed under: Microsoft WindowsTagged with: , , , , ,

A better Wi-Fi Manager for Windows 10

Hello world!

If like me you had the misfortune to galate with the Wi-Fi Manager of Windows 10, I have the solution for you. In this article, I'll introduce you to "NetSetMan Pro". This software will also help you manage specific address profiles for each Wi-Fi, a very useful feature in Linux and which I miss a lot on Windows.

Identifying the problem

In Windows 10, the Wi-Fi Manager is a nightmare. I am talking about a personal experience but it is possible that you have encountered this problem. Basically, as soon as I try to connect to a Wi-Fi, it's common for Windows to no longer display the list of available networks. Another common problem is when Windows simply cannot connect to the network without any explanatory error. In short, a whole list of bugs that I could not solve.
But what pushed me to look for a solution was at work. We have problems with the network infrastructure of the desktop and it is common for the DHCP server to stop working. The only solution is to set up Windows with fixe d IP addressing.

How do I set up Windows 10 in fixed IP address mode?

The setup step is quite tedious. You must first connect to the Wi-Fi network. Then right click on the network connections icon in the taskbar at the bottom right. Choose "open network and Internet settings". Locate the "network and sharing Center" button at the bottom. Click on the Wi-Fi network. In the "Wi-Fi status" window, click on the "Properties" button at the bottom left. Then in the list of elements double click on "Internet Protocol version 4 (TCP/IPv4)". On the tab "General" choose "use the following IP address" and enter the IP, mask, gateway and DNS corresponding to your network.
An even more frustrating problem is that this fixed IP addressing configuration will be effective on any Wi-Fi on which your Wi-Fi adapter will connect. So if you connect to another network that works in DHCP, you will disable fixed addressing that will be erased. You will then have to redo the whole step described if you need to reset the fixed address!
So I'm forced to set up my fixed addressing every time I'm at the Office. Then disable my fixed addressing once at home. And it's terribly frustrating, believe me.

The solution with NetSetMan Pro

NetSetMan Pro is a software for managing Wi-Fi network connections on Windows 10 (and not only is it compatible with Windows 7 and 8). It will greatly make your life easier with a well thought-out interface and especially hyper complete.

Download NetSetMan

Once installed, you will have a new icon of the software in your State bare right down. Make a right click on the icon you will have a menu as below:

NetSetMan menu
NetSetMan menu

I will introduce each option from top to bottom:

  • NSM WiFi management: displays the built-in Wi-Fi network manager you can use it to connect to your registered or new Wi-Fi networks.
  • NSM tools: some useful tools like a network scanner etc…
  • NSM system settings: allows you to simply configure system settings.
  • Windows shortcuts: allows you to quickly access certain Windows settings in Control Panel.
  • [double clic]/cookie: named profile, in my case I named it "cookie", I explain later.
  • SET1.. SET5: named profiles.
  • Close
  • NetSetMan: displays the main window of NetSetMan.

Now we are going to move on to the most interesting part, i.e. the management of IP addressing profiles per network.

Profile management with NetSetMan Pro

Double click on the NetSetMan Pro icon, or right clicking and choose "NetSetMan". You will have a window as follows:

NetSetMan profile management window
NetSetMan profile management window

Under the blue bar "NetSetMan", you can notice tabs, in my case "cookie", "SET1", "SET2"… "SET5". These tabs represent the different profiles that you have available. Each profile depends on the network interface on which it is assigned. This is very important. In my case, I chose to assign it to my built-in Wi-Fi card. If you have different Wi-Fi or other cards, you need to choose the correct card.
Then, when you tick "IP & gateway", you can choose to ophold an IP address automatically or use a specified IP address as I did in the print screen. Notice also the IP + button that allows you to add another IP if you want to avoid conflicts for example.
By ticking "DNS server" you will be able to specify a particular DNS server, in my case it is the DNS servers Google. For the WINS server, it's kind of like the DNS server, in most cases, you don't need to use it.
The additional part allows you to configure certain points. In my case, I fixed the Wi-Fi for which the profile will activate. The rest of the options are very interesting, but I'm not going to cover them.
Note: it is possible that like me, you will be looking to save the data, from what I understand, this is done automatically.

Activating profiles

NetSetMan Pro is not perfect, I noticed that it does not always automatically activate the IP profile. In such a case, right-click on the NetSetMan icon in the status bar and choose the corresponding profile. This will be done automatically.

This is for NetSetMan Pro, I hope it will be useful to you as for me. Let me know if you are having any problems with or if you have a much better alternative!

Filed under: Uncategorized

How to earn Bitcoin with perseverance

I will introduce you to a tool that allows you to earn a very small amount of Bitcoin daily. It is not a hoax in itself. I personally received the amount I earned. However, you have to know that I can't guarantee anything.

Is that true? Is that legitimate?!

Know that you are a totally sane person if you ask yourself this and you have to ask yourself questions when a random site offers you to earn money for free.
On my side I have tried this site for a while and I received a payment (insignificant at the time and considerable now). The site also offers some proof of calculation and eligibility but nothing requires you not to do your investigation!
I grant you however, the design of the site is… In fact it is what it is, we can do nothing x).

Where is the site?!

Freebitco.in

Sign up directly via this link, once directed to the "free BTC" section fill in the CAPTCHA and click the roll button. Every hour you can make a roll, I hope you will have more Exchange than me:D!

A few points to keep in mind

You will be invited to play the "multiply BTC", if you know what you are doing, I do not have to advise you. If you don't understand how it works, in short, it's betting. You bet that the number generated will be more than or less (like a coin you throw in the air). In short, if you are good at statistics and you have a very good chance, go ahead, but I chose not to play this game.
By making a roll, you will also be entitled to lottery tickets, you can buy with your balance but personally, I am not tempted. In short, making a roll gives you a small chance to win the lottery so why not:).
The "earn BTC" section is quite simple, if your balance contains 0.0003 BTC, the site will pay you interest, much like a bank. However, you should disable auto-withdraw (automatic removal) of your funds.
Rewards are a little more special, each roll gives you 2 reward points. You can convert your reward points to BTC but also to gifts.
The "refer" section gives you a link to share with your friends, you will have a small percentage if they register and remain active.

How do I know it's reliable?

Difficult question, to tell you everything, I received a payment, without any problems. Currently I continue to use Freebitco.in daily.

I intend to prepare another article about another solution that allows you to win some Bitcoin. You will find tips and especially how to recognize a site that will honor what it claims to propose or not.

Some explanations

You are probably wondering, why I am talking about it, and especially why I talk about it. In fact, it's a pretty fascinating story. I remember discovering this site in 2014 when I just discovered the joys of mining, cryptocurrency and Bitcoin. Basically the site allowed to earn the equivalent of USD 200 in Bitcoin (if one were lucky) or one of the following amounts ($200, $20, $2, $0.2, $0.02, $2) each hour. Of course, you suspect that you will fall on the smallest amount each time.
That was my case, but at the time, 1 BTC was around 250 USD. So the amounts to be won were (0.8 BTC, 0.08 BTC, 0.008 BTC, 0.0008 BTC, 0.00008 BTC, 0.000008 BTC). So I tried this site pure for a while but I was quickly discouraged since I accumulated a small amount (around 0.03 BTC) off after the phenomenal rise of Bitcoin, these 0.03 BTC that were worth to the $7 became $70 (when 1 BTC was towards the $2000).
In short, the conclusion is simple. The site that I am going to introduce you will earn an amount in BTC equivalent in USD. Except that the fluctuation of the BTC guarantees that this amount changes. If today 1 BTC = $1000 you can win up to 0.2 BTC, if tomorrow 1 BTC = $10,000, you win up to 0.02 BTC.

So much for this article. Do not hesitate to follow us, we have even more interesting stories to offer you.

Filed under: Uncategorized

Fix the fan problem of your MacBook (Pro/air)

This article is the result of a personal experience that I would like to share with you in the hope of helping you.
This tool has been tested on MacBook Macs of Mac mini, iMac and is surely compatible with your Mac. You can check the compatibility list here.
I had recovered an old MacBook Air of 2010 (MBA 1.1). His problem was that it was not possible to update OSX on it (I could not exceed OSX 10.9.5) even using all the stratagems imaginable. In short, so I installed xUbuntu as any geek who respects but to my greatest surprise, the fan was then blocked at 100% of its speed.

Under (x) Ubuntu, the MacBook Air fan was blocked at 100% of its speed.

Being quite upset (especially since it had become ultra noisy) I tried to look for some solutions to fix it.

Github to the rescue dgraziotin/mbpfan

So I searched a bit on the Web and I came across this tool. According to the author of the tool, it allows to control the speed of the fan of your MacBook Air according to the temperature of the processor.
Not sure if the tool was compatible with my machine, I decided to clone it and try it as well as bad to test (I didn't lose anything anyway).
Below the manipulation to do for users in Ubuntu:

Steps to install and set up

Before embarking on these steps, be aware that the author has taken care to write alittle guide in English here.
The second thing to know is that the values you will have in the next step are dependent on your machine, carefully follow my instructions please.

The preliminaries

The first thing we will do is try to determine the minimum and maximum speed of the fan of your machine. In the first place, copy and paste this command:
CD/sys/devices/platform/applesmc.768/
Then, chain with this command:
Cat fan * _min
A number will be displayed, note it well. This is the minimum speed of your built-in fan.
The second command is as follows:
Cat fan * _max
The number that will be displayed represents the maximum speed of your fan.
As I have just said, note these two values because we will need them later.
With the speed interval noted, we will then need the critical temperature of your machine. Basically, it is the maximum temperature that your processor supports, beyond that your machine is likely to stop for example.
Enter this command:
Cat/sys/devices/platform/coretemp. */hwmon/hwmon */temp * _max
A number will be displayed, it mu st be divided by 1000. For me for example, I had 100000 which is 100 °c once divided by 1000.

Clone and compile!

We will now clone the source code of the project, compile it, install it and configure it. Don't panic, it's very simple and you can do it even if you don't know anything about it. (And you can boast in front of others about your little feat:D!)

So first, let's start by installing the necessary tools with these two commands:

sudo apt-get update
sudo apt-get install git build-essential

The first command will simply refresh the list of repositories, the second install git we will need to clone the project and build-essential that will allow us to compile everything.

Once done, we will clone the project simply via this command:

git clone https://github.com/dgraziotin/mbpfan.git

Once done, you will enter the folder with:

CD mpbfan

We have the source code, we are in the folder and so we will chain with the following three commands:


Make
sudo make install
sudo make tests

The first command will compile the mpbfan source code into an executable. The second command will install mpbfan in your system and the last will run tests. Everything will be good if you have the following text displayed in your Terminal "ALL TESTS PASSED".
If everything goes well and you see the previous message, you are good for the Setup. Otherwise, your machine may not be compatible or there has been a problem. If this is the case, you can share it with me in the comments.

The configuration

For configuration, you will need to edit a text file in "superuser" mode. In the case of xUbuntu, you will use this command:

sudo mousepad/etc/mbpfan.conf

A window with the text editor will open with the open mbpfan. conf file.

If this does not work or if you are on another variant of * Ubuntu:
Try this command:

sudo gedit/etc/mbpfan.conf

Once the file is opened, you will have a structure as follows:


[general]

min_fan_speed = 2000 # default is 2000
max_fan_speed = 6200 # default is 6200
low_temp = 63 # try ranges 55-63, default is 63
high_temp = 66 # try ranges 58-66, default is 66
max_temp = 86 # do not set it > 90, default is 86
polling_interval = 7 # default is 7

Change the value assigned to min_fan_speed to the minimum value that you noted earlier.
Likewise for max_fan_speed.
For the rest, I advise you to keep the defaults and save the file. You can change the value m ax_tempby putting this of the critical temperature of your processor (noted previously also) but this is something I do not recommend.

Once the file is saved, verify that you are still in the folder containing the mbpfan source code and enter these two commands:


sudo CP mbpfan. service/etc/systemd/system/
sudo systemctl enable mbpfan. service

The first one will turn mbpfan into service, the second will activate it.

Reboot your system, open a Terminal and enter this command to check if mbpfan is functional:


ps aux | a. mbpfan

If you see a line with/usr/sbin/mbpfan-FV isthat everything is good, mbpfan is functional. You should also note that your fan does not sag as before.

I hope I could help you with this short guide. I didn't make any screenshot especially because I think it's all clear.
If you are unable to run mbpfan on your machine, you can share it with me in the comments.

Hoping to help you!

Filed under: Uncategorized