-
I have one shiny mechanical keyboard I use on my daily job, under Windoooze and Linux bash
When I switch to my super-powered Mac on weekend, my muscle memory gets hurt because I need to switch sequence for Copy/Past keybindings, and also other minor shortcuts.
Read More -
In the last year I did a lot of job interviews for frontend developers. Normally I ask to write a some codes, using some site like https://codesandbox.io or site with limited functionalities like https://www.onlinegdb.com/online_java_compiler
Because I am a Java hard-core sw-architect, my ReactJS questions are rather easy.
Read More -
Hi, it was a very pleasant surprise to find out my maze demo code on the Commander X16 Web emulator. As you can image it was done collecting example on a popular site called 10print.org and it is nice because you can run it on possibly all Commodore 8bit computers (from PET to C/128 and to CommanderX16 too!). By the way the emulator is worth a try: for more example take a look to the official GitHub demo repo
Read More -
I am a fan of super tiny stuff written in C, and also a fan of Operating System. FreeRTOS is a super tiny real-time operating system, I was able to run also on a Arduino UNO R3 with only 2Kb of RAM.
So I decided to use it to write a small project: you can find the code on Github, but lets start from the beginning.
Read More -
A small update to Stereo Sid:
- Fix lack of LICENSE (merge from original Cyberernesto upstream)
- Fix library.properties and arduino lint pass, to be able to be included inside arduino library manager
- New professional CHANGELOG file
https://github.com/daitangio/sid-arduino-lib
Read More -
In the last projects, I get used to use K8s CronJob(s) to schedule tasks.
The most effective way of doing it, is to create a super-tiny cronjob, which the sole purpose is to call a REST webbook(s) of a specific microservice, to fire some action in a predictable way.
Read More -
I am playing to Divinity: Original Sin II (D:OS2) which is the game done before Baldur’s Gate 3 (BG3) by Larian Studios
BG3 is a success despite its launch was anticipated in August to avoid head-to-head competition Starfield. If we compare the success of BG3 with CyberPunk2077 launch failure, I think we can learn something about software developing PLANNING.
Divinity games are a tactical game with a lot of freedom, you can take things, combine them, and solve quests with different approaches (brute forces, talks with different paths, etc). For instance you can try to open a door with a key, with a burglar kit, or bashing it until it is destroyed (more long but feasible).
Read More -
There is very handy feature of SpringBoot which is called Dev tools. Dev tools enable hot reloading of spring-boot- based application every time your IDE recompile the code.
Because Spring Boot is often used with Microservices in mind, the reload is quick, and quite seamless.
Read More -
Context: Spring microservice application to be deployed on K8s via helm + boring Friday
In this scenario, you end up writing the SAME configuration string in a lot of places:
- On at least 2 application.properties (main and test)
- On the final, helm-generated application properties (or in the relevant environment variable if you use them in place (1))
- On the default K8s values.yaml used by helm. Possibly on other yaml file too, all documented a bit to be kindly with the K8s SRE.
- On the relevant Java code, as a @Value annotation to finally use that damn config.
Read More -
I love the super professional Changelogs you see in a lot of open source project.
Git-chglog is a Golang program you can run inside docker, to generate very professional change logs.
It works by collecting git comments with special keywords (like “Fix”, “Feature” and so on) and in the last version is also feature a JIRA integration can further simplify your work
Read More -
There is a funny article called “I’m OK; The Bull Is Dead” I want to use as incipit for this post.
The Last week I went in a meeting about flipping a BUY/SELL direction involving three services A -> B -> C. The initial B spec was right, but it was supposed to be wrong, someone (A) asked a change, and then it raised a complain on C. The entire meeting was a circula discussion on how we could fix it (just a revert of the fix?), why it was done in that way, etc.
Read More -
God summons Bill Clinton, Boris Yeltsin, and Bill Gates to his office and tells them: “I have called you to announce the end of the world: it has been set by me for midnight on December 31, '95. Go and communicate the good news to the world.”
Yeltsin gathers the Duma and says: “Dear comrades, I have two bad news to give you: the first is that God exists, the second that the end of the world has been set for December 31, 95.”
Read More -
K8s and limits
On K8s, for every pod you can define how much memory and CPU the pod needs. To make things "simpler", K8s define two set of values: requests and limits, both for CPU and memory. After some trouble on GCP, I was forced to dig a bit in the subject.
Read More -
Modern computer are very very very fast. C/64 was about 1Mhz and you can hangs it just throwing a 10.000 cycle in interpreted BASIC v2 language.
Slowest computer today are clocked 3Ghz (3000Mhz!) and are super scalar: it means they can usually execute 2 or more instructions per core in parallel, and you get at least 2 cores on the tiny one (RasperryPi2 has 4 ARM cores, for instance). The sow Intel centrino has at least 2 ALU and can execute between one and two instruction in parallel (mostly arithmetic one).
Read More