Today I learned about the Chromecast Audio. I knew about the Chromecast already. But I only knew about the one you plug into your TV.
Using this $45 USD device, I will be able to play music on my old-school stereo system using my phone. It works over Wi-Fi, meaning it has a wider range and the hassle of pairing is avoided.
I will also need to buy a RCA to 3.5mm adapter. But those are only a few dollars.Posted on 2018-02-21 #til
The world of computers has many recursive acronyms. I already knew about PHP and GNU, here are some more I found interesting or funny.
XNA’s not an acronym
XNA is Microsoft’s free set of tools for game development.
PIP installs packages
Python’s package manager. Ruby has RubyGems, iOS has CocoaPods, PHP has Composer and Python has PIP.
WINE is not an emulator
A software to run Microsoft programs on Unix-like operating systems.
cURL URL Request Library
Like the name said.
Nano’s ANOther editor
A text editor.
LAME ain’t an MP3 encoder
An encoder that converts audio the the MP3 file format.Posted on 2018-02-20
I’m all for it.Posted on 2018-02-19
Goodreads scores as of today.
|My ranking||Title||Year||Goodreads score|
|1||The Sirens of Titan||1959||4.16|
|4||Breakfast of Champions||1973||4.08|
|5||God Bless You, Mr. Rosewater||1965||3.95|
We all heard about spaghetti code. It’s code that has a twisted, tangled, complex and hard to follow structure. Like a bowl of spaghetti.
I was pleased to learn that the term spaghetti code spawned other pasta-related terms.
“[…] loosely constructed object-oriented programming (OOP) that remains dependent on procedural code. It may be the result of a system whose development has transitioned over a long life-cycle, language constraints, micro-optimization theatre, or a lack of coherent coding standards.”
“[…] thousands of little classes everywhere and no one knows how to find the places where things really happen.”
Raymond J. Ruby would disagree with this negative view of ravioli code. He says “The ideal software structure is one having components that are small and loosely coupled; this ideal structure is called ravioli code.”
“Lasagna code is a type of program structure, characterized by several well-defined and separable layers, where each layer of code accesses services in the layers below through well-defined interfaces. The term is in comparison with spaghetti code, comparing program structure to pasta.”
“[…] code that uses a mixture of computer languages in a single document.”
This one seems to strongly apply to web development.
“[…] marketer-driven programming with a spin to make bad code look good (coined by Simon Sunatori)”
“[…] an attempt to conceal true nature of the code by appearance of complexity in order to provide an advantage over competitors (coined by François Sunatori)”
“This tends to happen in Forth programming. You end up with lots of tiny little modules, not organized into classes, but still modularized so that it is not.”
c2Posted on 2018-02-18