Category Archives: Uncategorized

Space Invaders 1978 clone in C++ with SFML

For Programmez magazine, I have done a simple game : a space invaders clone.

sp1978

Collisions are handled between weapon/blocks and weapon/invaders. It’s fun !

Source code is available at https://github.com/ChristophePichaud/SpaceInvaders

Advertisements

C++ courses at ESGI next weeks

On Tuesday 6 October, I begin a serie of 30 hours of C++ teaching for students 4th years of engineers students for ESGI school. It will be cool.

I love C++ and I will bring my enthousiam to the students.

Bye-Bye NEOS-SDI

After 12 months working as a Senior Consultant at NEOS-SDI, it’s time for me to go on another challenge.

For a major IT company, I will participate in building a Microsoft Gold Partner company, with software development competency.

It was not on my schedule but It’s a great opportunity. Stay tuned !

Article for Programmez – October 2018 – Linux C++ Multithreading

My article is available in kiosk this month.

Programmez_222

Article for Programmez – September 2018 – Writing a NoSQL Windows Web Service with C++

This article is available now in kiosks for Programmez.

Programmez221

Article for Programmez – July/August 2018 – Writing a Windows Service with C++

This article was available for the holidays edition of the magazine.

220

How to run SQL Server from Docker

Run a docker file that contains :
FROM microsoft/mssql-server-windows-developer

D:\Dev\DockerSQL>docker image build –tag myserversql d:\dev\dockersql

Sending build context to Docker daemon 3.072kB
Step 1/1 : FROM microsoft/mssql-server-windows-developer
latest: Pulling from microsoft/mssql-server-windows-developer 3889bb8d808b: Already exists
449343c9d7e2: Pull complete
08883151461d: Pull complete
bafeb45a72fc: Pull complete
f5c5aa235c5b: Pull complete
158fead2ffa0: Pull complete
746db9597cec: Pull complete
9e96edbd8781: Pull complete
c6dabab6234f: Pull complete
975d0dccd859: Pull complete
5b747cfb01b7: Pull complete
c77992bbfd0f: Pull complete
Digest: sha256:a3e77eb7ac136bf419269ab6a3f3387df5055d78b2b6ba2e930e1c6312b50e07
Status: Downloaded newer image for microsoft/mssql-server-windows-developer:latest
—> 19873f41b375
Successfully built 19873f41b375
Successfully tagged myserversql:latest

The, run the image:
docker run -d -p 1433:1433 -e sa_password=P@ssw0rd -e ACCEPT_EULA=Y -v C:/temp/:C:/temp/ -e attach_dbs=”[{‘dbName’:’NorthWind’,’dbFiles’:[‘C:\\temp\\NORTHWND.mdf’,’C:\\temp\\NORTHWND.ldf’]}]” myserversql

Obtain the ip address using:
docker ps -a

Take the first item and ask for IP :
D:\Dev\DockerSQL>docker inspect -f “{{ .NetworkSettings.Networks.nat.IPAddress }}” 7dfe63dd7615

Then open the SQL Server Management Studio and connect to this IP. You’re done !