27 décembre 2025

How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating)

 

How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating)

Spoiler: It’s not cheating. It’s collaboration—with a robot that never complains about your coffee breath.


The Dream: A Coding Partner Who Doesn’t Judge My Typos

Let’s be honest: writing code can sometimes feel like explaining your life choices to a very literal, unblinking owl. You type a line, the linter squawks, and suddenly you’re questioning every decision that led you to this moment.

Enter GitHub Copilot, my new AI pair programmer. It doesn’t roll its eyes when I forget a semicolon. It doesn’t passive-aggressively refactor my code while I’m in the bathroom. And best of all? It actually finishes my—

(Wait for it…)

—thoughts.

Yes, I’ve outsourced part of my brain to a machine. And no, I don’t feel guilty. Here’s how it works in my daily workflow—and why it’s like having a superpowered intern who works for free.


My GitHub Copilot Workflow: Issues, PRs, and Robot Approval

Step 1: The Issue Ticket Roulette

I start by writing an issue. Not just any issue—a lazy issue. The kind where I dump a half-baked idea and hope for the best. Example:

"Add user authentication with OAuth2 because I don’t want to think about it."

(Professionalism!)

I assign it to @github-copilot. Yes, I treat it like a teammate. No, it hasn’t asked for a raise yet.

Step 2: The Magic Happens (Or Does It?)

Copilot doesn’t just suggest code—it generates it. Whole functions. Entire test suites. Sometimes it even writes the comments I was too tired to add. It’s like having a developer who:

  • Never says, “But the spec says—”

  • Doesn’t need a standup meeting.

  • Has read every Stack Overflow post ever written.

I review its suggestions, tweak the logic (because let’s be real, it’s not perfect), and then—

Step 3: The Merge of Destiny

With a few clicks, the code is in. The tests pass. The linter is silent. I feel like a genius.

Repeat.


Why This Feels Like Superpowers (But Isn’t)

Speed: From “I’ll do it tomorrow” to “Done” in 10 minutes.

Copilot doesn’t get distracted by Slack or existential dread. It just does the thing.

🧠 Learning: It’s like having a senior dev whispering best practices in your ear.

(“Hey, maybe use a Set here instead of an array?” “Oh. Right. Thanks, robot.”)

🤖 The Uncanny Valley of Coding

Sometimes it writes code exactly how I would—then I wonder if I’m the AI.


The Catch? (There’s Always a Catch)

  • It’s not a replacement for thinking. Copilot is great at boilerplate but still needs a human to say, “No, we can’t store passwords in plaintext, even if you really want to.”

  • You still have to review. Blindly accepting AI suggestions is how you end up with a function called doTheThing() that deletes your database.

  • It’s weirdly good at guessing your bad habits. If you write spaghetti code, it’ll generate more spaghetti code. Garbage in, garbage out—just faster.


Should You Try It?

If you: ✅ Hate writing tests. ✅ Forget syntax constantly. ✅ Want to feel like a 10x developer (even if you’re not).

…then yes. But remember: Copilot is a tool, not a crutch. Use it to augment your skills, not replace them.

(And maybe buy it a coffee sometime. It deserves it.)


Final Verdict: 10/10, would delegate to a robot again.

21 novembre 2021

WSL 2 upgrade on windows

Few days ago I would like to use docker from windows with docker composer. And because I am using ansible, I found easier to deal from Linux so I naturally use WSL.

But when I start to launch docker, a warning message tells me WSL 1 is installed but not WSL 2.

So how to upgrade from WSL 1 to WSL 2.

First, identify versions of WSL by using :
wsl --list

Result tells me that I use Ubuntu-20.04 and WSL 2 but I still get a warning message that Ubuntu not running under WSL 2.

I found this article from Microsoft Docs : Troubleshooting Windows Subsystem for Linux | Microsoft Docs talking about an error : "Invalid command line option: wsl --set-version Ubuntu 2".

So, secondly, I try to update by using this command :
wsl --set-version Ubuntu-20.04 2

And it works. My Ubuntu 20.04 is now working on WSL2.

Hoping it will help others.

29 mai 2019

Minecraft server

Minecraft server enable to create a virtual world. Then you can connect from Minecraft from "Multiplayer".

Requirements

Installing Java is mandatory.

apt install default-jre screen nano wget git
apt install software-properties-common
apt install openjdk-16-jdk-headless

Init

Download the server binary located here : https://www.minecraft.net/fr-fr/download/server/.

Then you need to accept EULA by editing the file EULA.txt generated after launching the server for the first time.

Manual method

java -Xmx1024M -Xms1024M -jar minecraft_server.1.17.jar nogui

Screen method

Starting server :

screen -S minecraft -d -m java -Xmx1024M -Xms1024M -jar server.jar nogui

Displaying launched program :
screen -ls will list "screened" programs
screen -r minecraft will show you the terminal where your program is launched
Ctrl + a > c will let you go back to your initial terminal

Service method

Install following code to /etc/systemd/system/minecraft_server.service :

[Unit] Description=Minecraft server

[Service]
User=minecraft
# The configuration file application.properties should be here:
WorkingDirectory=/opt/minecraft/servers/myserver
ExecStart=/usr/bin/java -Xmx1024M -Xms1024M -jar ./server.jar nogui
SuccessExitStatus=143
TimeoutStopSec=10
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target

Reload service file :

systemctl daemon-reload

Start :

service minecraft_server start

Stop :

service minecraft_server stop

Minecraft commands

To exit the program :
/stop

For help : /help

05 mars 2019

GIT

Few Git commands :

Clone remote repository
git clone (ssh|git)://hostname.com/(repository)
Record code updates
git commit
Push local updates to remote
git push origin master

08 décembre 2018

Angular

Voici quelques repères pour démarrer sous Angular.

Installation windows :
Node.js + npm install -g @angular/cli
IDE :
Visual Studio Code avec module Angular language service
Créer un nouveau projet :
ng new app-test
Générer un composant :
ng generate component mycomponent
Traduction :
ng xi18n
Rendu du site en live :
ng serve --open
Compilation pour mise en ligne :
ng build --prod

Maven tips

Here is the beginning of a progressive documentation of Maven.


Useful commands

>>mvn {{command}}
  • clean
  • compile
  • package
  • site

Reports

Reports are located reporting xml element in the xml project file (pom.xml) :

...

Here are few reports plugin :

org.apache.maven.plugins maven-javadoc-plugin org.apache.maven.plugins maven-checkstyle-plugin org.apache.maven.plugins maven-jxr-plugin org.apache.maven.plugins maven-pmd-plugin

14 janvier 2018

Install Java on Ubuntu



Declare Oracle Java 8 Repository :
sudo add-apt-repository ppa:webupd8team/java

Then, refresh local repository index :
sudo apt-get update

And install with :
sudo apt-get install oracle-java8-installer

Source : https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04

08 décembre 2017

Update Linux with "Aptitude"

In order to update the index of updates of aptitude, you need to launch this command :
apt-get update

Then you can update the OS by launching this command :
apt-get upgrade

How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating)

  How I Turned GitHub Copilot Into My Coding Sidekick (And Why It Feels Like Cheating) Spoiler: It’s not cheating. It’s collaboration —with...