-
After some trial and error, I decided to switch to a new syntax highlighter library, mostly because the old one stopped working. I am very satisfied with Crayon because it is backward compatible with the previous plugin based on SyntaxHighlighter3 and offer also a nice in-line editor.
Read More -
Sometimes I need a very very fast start on emacs. If you have the same need, put this in your init.el and live happy:
(cua-mode) (setq select-active-region nil) (setq mouse-drag-copy-region t) (global-set-key [mouse-2] 'mouse-yank-at-click)
-
Assembly: the only way
In principle there was only one: assembly machine language. Hardware and software engineer was a one-role.The guy who was able to project a chip, was the one who was able to program it.
Then Fortan (1957), the first high level language compiler was created.
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 -
After months of esp8266 experimentation, I “just” discovered this little chip has also a I2S Audio digital interface. To discover it you must install the Arduino IDE adapter and code directly in C++ (brr, ok not a breeze but not boring like Java :)
I2S is a digital protocol to send your digital music to a DAC decoder. Esp8266 has a 16bit DAC.
Read More -
Arduino is a great hardware for a lot of reason: easy to use, difficulto to break, it is a very solid 5-Volt board.
But it a way too much and it has a very limited amount of RAM. So I started exploring other more “different” solutions. I need an economy chip with some RAM on it. After some research, I stumpled upon a lot of so-called Arduino alternative…
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 -
Sometimes you need to remove nasty duplicate on a table, based on a subset of the column. On every big database there is something called “rowid” which can be used to indentify a column in a unique way. On PostgreSQL is called ctid, as we shall see:
Read More -
Language based on JVM are the new trend in Java World. It seems everyone dislike Oracle on these days.
Kotlin score some point on these days because it will be supported officially on Android (Mid-May announce):
Starting now, Android Studio 3.0 ships with Kotlin out of the box, meaning Android developers no longer need to install any extras or worry about compatibility. It also means that moving forward, you can rest assured that both JetBrains and Google will be supporting Android development in Kotlin.
It is a good news for an huble language with good IDE support like this.
Read More -
A small, relaxing news was published some days ago:
It’s been 3 months since I first wrote about our efforts to scale Git to extremely large projects and teams with an effort we called “Git Virtual File System”. [...]
Today, I want to share our results. In addition, we’re announcing the next steps in our GVFS journey for customers, including expanded open sourcing to start taking contributions and improving how it works for us at Microsoft, as well as for partners and customers.
Read More -
Some “new” shiny IDE feature smart multi line editing, for instance for easily copy-past a block of code and then modifying it “live”. Sublime text has some feature like this…. and Emacs?
Emacs has a package for it called…Multiple cursors!
This video on “EmacsRocks” shows you some powerful use
Read More -
In Excel you can easily fill in a column with a list of values. Some times also in Emacs you my need to write down a bunch of similar code. The dotimes function with the “elsp eval” M-x : (Esc + : on windooze) will solve your trouble easily. Try out this code on scratch buffer:
Read More -
In Italian language we have accent words like àèéìòù
They are quite important because for instance “is” is spelled
è
whereas “and” is spelled
e
Accent are bad guys even today: if you copy them from MS-Word inside an Oracle sql script you can end up with different UTF-8 values. Also the accent are likely to be destroyed if you past them in your html page without using the correct html entity (i.e. è )
Read More -
A new version of an Arduino Realtime OS is on the go:
https://github.com/greiman/ChNil
I have used with profit and fun NilRTOS, and I strongly suggest to you this new variant.
A preemptive multi tasking RTOS in a 2KB 1-MIPS, 8 bit microcontroller remember be the ugly time when a MS-Windows 3.x with 1 MB of RAM was an inferior operative system no-preemptive at all, but with nice software like Excel and Access
Read More -
Beauty (OrgMode Parser 0.1.3) is here to stay! OrgMode parser is a small nodeJS library to parse Emacs OrgMode files (more info at this link).
This version features:
- Fixed empty header issue
- Code Cleanup
- Migration from jade to pug2 (new name of jade)
- Added optional logging framework (winston)
Also I’d like to thank all the people contributed: I have a list now.
Read More