-
I think constants are evil (just joking but….I will explain why).
I am tired of seeing a lot of Java classes filled with the same constants repeated over and over again, instead of collecting them in a common file, which in C Language was called include files (ooooah!).
Read More -
In the 1980 comments were used to reduce the “gap” between unstructured code and “rationale” behind the code.
- C/64 Peek and poke where oscure.
- Gosub on function pointed by numbers was bad
- 8-bit systems was tight on command names and so on (think to write a python interpreter in Arduino/bbc:Micro, or look at the memory consumed by the COMMAND STRINGS on C/64 Basic v2)
- C code was not expressive, but good code required little comment, as you can see here
- Comment obscure code -> instead of writing it better
- Comment caching code you will end up to commit breaking production ->instead of having a cache config to disable cache on dev machines
- Comment not working code will end up in production, producing functional breaks -> because you will forget it and commit the bad version
@Comment("Documentation of this class/method/function/closure") @Fixme("Reason") @Todo("Why", deadline=20230423)
Read More -
Character encoding is a very bad beast when you write code, but UTF-8 will save us.
Belive me: You will love the Big Brother and the UTF-8.
Source: UTF-8 and Unicode Standards Also read this: https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/Unicode Transformation Format 8-bit is a variable-width encoding that can represent every character in the Unicode character set. It was designed for backward compatibility with ASCII and to avoid the complications of endianness and byte order marks in UTF-16 and UTF-32.
-
The department of defense, has published a nice document to “detect” agile bullshit. The document is called DIB_DETECTING_AGILE_BS_2018.10.05 and was published on October 2018.
We saved a copy on our site, because we think it is very very interesting…
-
Because some friend of mine did not know about RUP, and deal with waterfall process, I decided to make a small recall for all poor young Project Manager dealing with bad developers, bad consultants and so on, out of there. From Wikipedia:
The Rational Unified Process (RUP) is an iterative software development process framework created by the Rational Software Corporation, a division of IBM since 2003.[1] RUP is not a single concrete prescriptive process, but rather an adaptable process framework, intended to be tailored by the development organizations and software project teams that will select the elements of the process that are appropriate for their needs. RUP is a specific implementation of the Unified Process.
Read More -
In this second article I will continue my jorney on LambdaMoo code base. The C code is very well written. Sometimes the API abuse global variable to avoid passing around identifier like output database file descriptor or the like.
Because a lot of the system has been written in the Moo language, the core is composed of:
Read More -
On these days my greek daemon (the one which talk to me about deep nerd programming) was interested on LambdaMoo.
LambdaMoo is an Object Oriented Multi User Dungeon born back in 1995. A MUD was a text based system you log in, talk with other, create adventures and so on. LambdaMoo has a script language and the entrire system could be customized.
The LambdaMoo last version 1.8.3 was a work in progress in 2008. LambdaMoo today is 23 years old.
So my daemon asked me: if you were able to do a tech refresh of LambdaMoo, waht will you eventually suggest?
To respond to this question, I need to study the original code
Read More -
Meltdown and Spectre are two big vulnearbilities found in Intel and AMD chips out of there. The vulenarbility is so huge it affects up to 1995 chips.
On the raspberrypi, there is a very nice explanation of what Meltdown is.
First of all, the one who discovered this bug is a GENIUS, for sure.
Read More -
Vjdbc is a remote access for JDBC-Datasources developed more then ten years ago (last news are from 2007, with last comit from 2013.
The project was migrated to Maven 3, but the code base is very old.
I decided to give it a try, spin a github repository and started working on it, because you know, is nice to have a database driver proxy-logger :)
Read More -
Nel 2011, per studiare node js creai un progetto chiamato OrgModeParser.
Org Mode è un package per l’editor Emacs, ed è pensato per tenere note strutturate, pianificare progetti con una schedulazione, mantenere una lista di cose da fare e generare poi documenti word o html da tali file in modo piuttosto efficace.
Read More -
AngularJS is indeed a good framework, but if you lose some grip on it (i.e. you go in vacation for 2 weeks), it is very complex to re-grasp.
Also I have seen junior JavaScript developer confused my $scope use.
JavaScript on client side has damned destiny: it is too easy to develop a framework from scratch: so roll you dice, cross your finger and find plenty of AngularJS alternatives
Read More -
Today I took a light rail with my son, to bring him to school. That tram is 90 years old. It has been maintained for 90 years. Milan city sold some of them to San Francisco too.
Read More -
Sometimes in University I found bold young guy saying something like:
I will reimplement this in machine language because is faster
I will reimplement this xyz C function by my own
My program crash, I think there is a bug in HP UNIX socket implementation
I will ge rid of this Java Garbage Collector because it is too slow. I will reimplement all the code in my C++ routine.
Belive me: your code is doomed. A full list of guys have already done your same code, found a million bugs and corrected it in the tool you want to replace because they are shitty slow, to your eyes.
I feel your pain because I made your same mistake. Keep reading.
Read More -
The BBC Micro bit an ARM-based embedded system designed by the BBC for use in computer education in the UK. The device has been given away free [...] [to every 11 years old pupil] in the UK, and is also available for purchase by anyone.
This is the wikipedia definition.
Read More -
In ambito Open source vi sono innumerevoli licenze disponibili. Quali sono le loro differenze salienti? Come orientarsi? In questo breve articolo diamo una serie di indicazioni e spunti di riflessione.
Read More