View on GitHub

Quorten Blog 1

First blog for all Quorten's blog-like writings

So, you’re wondering about optical viewfinders for a Raspberry Pi camera? I’ve give you the final verdict on this. Start out with the cardboard viewfinder trick.

First of all, some discussion on camera viewfinders. What does Wikipedia mean by “reverse telescope” when discussing camera viewfinders? Basically, they mean a refracting telescope that uses a convex objective lens and a concave eyepiece lens so that you see the image rightside up, also known as a “Galilean telescope.” By contrast, the much more popular Keplerian telescope uses a convex lens for the eyepiece, so the image appears inverted, i.e. upside down and left side on the right.

The cheapest of camera viewfinders, “direct optical viewfinders,” are constructed exactly as an “inverse telescope.” The main problem with using an inverse telescope for a camera viewfinder is that you do not see a sharp line at the edge of the camera’s viewable surface. Rather, a blurred line is seen due to the edge that defines the image boundary to be out-of-focus.

Read on →

Previously, I’ve discussed methods on using Markdown to Confluence generators, one in Groovy, another in Golang. Alternatively, you can use a Markdown plugin for Confluence that will display Markdown inline from an external URL reference.

Basically this is the only zero-cost plugin. Also, it has a lot more users than the expensive ones, so it must be better due to the higher momentum the larger user community garners.

20181113/https://marketplace.atlassian.com/apps/1211438/markdown-macro-for-confluence?hosting=server&tab=overview

Important! More discussion on video coding formats.

So you thought that MPEG video coding formats were the end-all and be-all in video format standards? Well, for the most part, you are right, 100% correct that these are the popular and volumous formats, and are therefore least likely to fall out of modern support due to obsolescence.

But, when you look into the range of more specialized video formats used in digital cinema and professional post-production, some things might surprise you. Yes, I’ve long had the idea and understanding that one reasonably good and basic method of video compression is to simply encode each frame as a JPEG image. You still get most of the compression benefits, but you don’t have to deal with the extra programming complexity of delta frame video coding. Surprise surprise, for one point in the distant past, this video compression method was actually the preferred delivery format for digital cinema: JPEG 2000 compressed video frames with uncompressed LPCM audio.

Here is the online archive article from the IEEE Spectrum Magazine. There are no pictures in the online article, unfortunately, even though there were pictures in the magazine publication.

20181203/https://spectrum.ieee.org/semiconductors/optoelectronics/bits-on-the-big-screen

Read on →

What is a balun?

2018-11-11

Categories: raspberry-pi  
Tags: raspberry-pi  

What is a balun? It’s a device to convert an electrical signal from balanced differential signaling pairs to coaxial style signaling or vice versa. Oh, wow, that sounds really great. So, you could use one of those devices if you wanted to convert from RS-422 to RS-232, or maybe even if you wanted to route Ethernet over coaxial, with the help of some additional circuits. Indeed, the balun is worth more investigation on my side.

20181110/https://en.wikipedia.org/wiki/Balun

ESP8266 links and notes

2018-11-11

Categories: raspberry-pi  
Tags: raspberry-pi  

ESP8266? Yes, I’ve read about that chip many times, but up to this point in time I haven’t taken notes and references for information on the chip. In brief, I’ll explain the chip as follows. The ESP8266 and related chips are a very popular alternative for small embedded microcontroller applications where you might otherwise use an Arduino. However, unlike an Arduino, it has Wi-Fi built-in, it is very small, it has few external interface pins, and in theory it would be very cheap if mass produced. There is a newer version of the chip named ESP32.

My main reason why I do not like the chip? Well, like I may have pointed out, some of the claims of the chip like its cost isn’t really a reliable one to hinge off of for hobbyist use. Also, for hobbyist use, I’m not sure you could really say this is a good standard chip if it started out with poor documentation, and the specifics by which it became popular may point to it being a fleeting fad rather than something that’s going to be here to stay for quite some time like the Raspberry Pi. So, my preference would be to avoid it for my own electronics projects. For now, at least.

20181110/https://en.wikipedia.org/wiki/ESP8266
20181110/http://esp8266.net
20181110/https://en.wikipedia.org/wiki/ESP32
20181110/https://www.espressif.com/en/products/hardware/esp32/overview

Again, I reiterate, because this is important!

So you’re wiring up your house with data cables? Definitely, definitely, definitely, use conduit so that the cables are easy to upgrade. Also, additionally you should design the system with support for generic junction boxes that where you can connect any switch and controller hardware that you please, as you upgrade the electronics wired throughout.

20181110/https://hackaday.com/2018/09/26/hack-my-house-raspberry-pi-as-infrastructure/

What is this network middleware that this ZDnet article talks about? In this case, it is software designed to monitor network traffic by a third party, mainly used by enterprise networks on the premise of monitoring for sensitive information leaks. Unfortunately, currently the only method practiced for doing this with SSL/TLS traffic is to break the encryption entirely, rather than adding a second asymmetric decrpytion key. Often times in the process, the SSL/TLS security level is reduced in the process, increasing the likelihood that a real attacker could compromise a connection.

20181110/https://www.zdnet.com/article/its-2018-and-network-middleware-still-cant-handle-tls-without-breaking-encryption/

Important! So you’re wondering about the Web UI problem? Here’s simply what needs to happen. UIs have been specified in markup for quite some time, then rendered and executed by native code, so why not bring enhanced functionality into the web browser? Sure, web browsers already have basic form rendering functionality built-in, they just need the features to be extended. So, first matter is to extend that markup. The second matter, the problem with markup parsing overhead. Well, you can take an approach similar to WebAssembly. First you define the markup, second you define the compact binary format.

So, now I want to know how to reuse an old calculator keypad in an electronics project. Any info on the Internet? Well, that’s a tough one.

I found this interesting article about calculator versus telephone keypads on the Internet.

20181107/DuckDuckGo reuse old calculator keypad
20181107/http://www.todayifoundout.com/index.php/2015/10/keypad-numbering-different-phones/

You can try buying a calculator keypad off of Alibaba. No thanks, that kind of defeats the purpose of being able to reuse.

20181107/https://www.alibaba.com/showroom/calculator-keypads.html

Read on →

FreeSWITCH

2018-11-06

Categories: random-software  
Tags: random-software  

FreeSWITCH? So, I’ve heard that one of my coworkers was using FreeSWITCH at a previous company for the sake of their customers to access telephony over the Internet. Interestingly, I found FreeSWITCH on Wikipedia, and its initial release date is apparently before FreeSWITCH was first released. Could it be that the company he was working for developed it internally, and later released it as open-source software?

20181106/https://en.wikipedia.org/wiki/FreeSWITCH

Anyways, interesting telephony software if you want to setup your own VoIP services or the like.