Atom VHDL Tool

VHDL Tool Atom plugin
VHDL Tool Configuration
git.vhdltool.com/vhdl-tool/vhdltool-atom, VHDL-Tool support for Atom

IEEE 1076

IEEE Standards Downloads and Excutable Files
1076-2008 – IEEE Standard VHDL Language Reference Manual

$ vhdl-tool check-config
Found configuration file at: /home/andreas/src/lab2IRQTCM
Library "ieee" contains 20 File(s)
Unrecognised linting options: ["VariableNotWritten"]

$ vhdl-tool check-config
Found configuration file at: /home/andreas/src/lab2IRQTCM
Library "ieee" contains 20 File(s)
Config OK

$ vhdl-tool server
Creating socket
vhdl-tool: vhdltool.sock: removeLink: does not exist (No such file or directory)
Reading files ... Done (0.0000 s)
CPUs: 4
Parsing done (0.0001 s)
Found 0 libraries
Successfully parsed 0 files
Creating database ... Done (0.0000 s)

$ ldd /usr/local/bin/vhdl-tool 
	linux-vdso.so.1 (0x00007ffd0552d000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe607f8c000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe607d84000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fe607b81000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe60797d000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe60775e000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fe6074dd000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe6070ec000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe60832a000)

$ sudo netstat -4anlp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      548/systemd-resolve 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      909/sshd            
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      21423/cupsd         
tcp        0      0 127.0.0.1:1309          0.0.0.0:*               LISTEN      11577/jtagd     
udp        0      0 0.0.0.0:35772           0.0.0.0:*                           712/avahi-daemon: r 
udp    16128      0 0.0.0.0:5353            0.0.0.0:*                           712/avahi-daemon: r 
udp    51456      0 127.0.0.53:53           0.0.0.0:*                           548/systemd-resolve 
udp    50048      0 0.0.0.0:68              0.0.0.0:*                           20325/dhclient      
udp        0      0 0.0.0.0:631             0.0.0.0:*                           21424/cups-browsed

$ ls -la
total 684
drwxrwxr-x 10 andreas andreas   4096 Oct 21 11:05 .
drwxr-xr-x 19 andreas andreas   4096 Oct 21 10:11 ..
[...]
-rw-r--r--  1 andreas andreas   1990 Oct 21 11:05 vhdltool-config.yaml
srwxr-xr-x  1 andreas andreas      0 Oct 21 11:05 vhdltool.sock

$ ps auxf
  \_ /bin/bash /usr/bin/atom .
      \_ /usr/share/atom/atom --executed-from=/home/andreas/src/lab2IRQTCM --pid=6923 .
          \_ /usr/share/atom/atom --type=zygote --no-sandbox
              \_ /usr/share/atom/atom [...]
              |   \_ vhdl-tool lsp
              \_ /usr/share/atom/atom [...]
apm bundles npm with it and spawns npm processes to install
Atom packages. The major difference is that apm sets multiple
command line arguments to npm to ensure that native modules are
built against Chromium's v8 headers instead of node's v8 headers.
$ apm -v
apm  2.1.1
npm  6.2.0
node 8.9.3 x64
atom 1.31.2
python 2.7.15rc1
git 2.17.1

$ apm install <package>
$ apm uninstall <package>
$ apm ls --installed

$ cd <module>
$ apm install
$ apm link .

z.B.
$ cd vhdltool-atom
$ apm install
Installing modules ✓
$ apm link .
/home/andreas/.atom/packages/vhdl-tool -> /home/andreas/src/vhdltool-atom

Failed to load the nuclide package. Problem reading log4js config

$ apm uninstall nuclide && apm install nuclide@0.357.0
$ apm install linter
$ apm install hyperclick
$ apm install linter-ui-default
$ apm install intentions
$ apm install busy-signal
$ apm install tool-bar
$ apm install sort-lines
$ apm install atom-ide-diagnostics
You have both linter and atom-ide-diagnostics enabled, which
will both display lint results for Linter-based packages.

Java Serial UART

jSerialComm – Platform-independent serial port access for Java
github.com/NeuronRobotics/nrjavaserial, A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
github.com/scream3r/java-simple-serial-connector, Official jSSC (Java Simple Serial Connector) repository
Serielle Schnittstelle unter Java (alt)
RXTX (alt)

Serial Programming/Serial Java

Raspberry Pi 3, Python 3 + OpenCV 3.4

Install OpenCV 4 on your Raspberry Pi, 2018-09-26
Installing OpenCV 3.4.3 on Raspberry Pi 3 Model B+, 2018-09-05
Installing OpenCV on Raspberry Pi 3 B, 2018-04-27
Raspbian Stretch: Install OpenCV 3 + Python on your Raspberry Pi, 2017-09-04
Install guide: Raspberry Pi 3 + Raspbian Jessie + OpenCV 3, 2016-04-18
How to Install OpenCV 3.4.0 with Python 3 on Raspberry Pi 3, 2018-03-03
github.com/jabelone/OpenCV-for-Pi, A pre-compiled binary of OpenCV 3.1.0 for the Raspberry Pi

TI-Nspire Ndless

ndless

Ndless for TI-Nspire
Ndless Apps
github.com/ndless-nspire/Ndless/, The TI-Nspire calculator extension for native applications
Ndless – The TI-Nspire jailbreak !
[Tutorial] Install Ndless 4.5

ndless SDK

C and assembly development introduction

Apps

CAS

KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Linux

How to install Debian Linux on a TI-Nspire
nspire-linux-builds

HIDn

HIDn – drivers USB souris et clavier

nPDF

github.com/Legimet/nPDF, A document viewer for the TI-Nspire using MuPDF

MicroPython


micropython – Python for Nspire calculators
Micro Python (v 1.3.4)
TI-Nspire Python: STEM programming…

Libraries

Python standard libraries and micro-libraries

import sys
import cmath
import nsp
import micropython

print(dir(nsp))
['Texture', 'waitKeypress', 'readRTC']

print(dir(cmath))
['__name__', 'e', 'pi', 'phase', 'polar', 'rect',
'exp', 'log', 'log10', 'sqrt', 'cos', 'sin']

print(dir(micropython))
['__name__', 'mem_total', 'mem_current', 'mem_peak']

Misc.

MicroPython on Microcontrollers
Opening .py files with micropython on TI Nspire
github.com/jalawson/ulinalg, Small size matrix handling module with a few linear algebra operations specifically for MicroPython (Python3)
github.com/billtubbs/array_funcs, MicroPython functions written in assembly language for use with arrays to allow fast (vectorized) numeric computations.

TI-Nspire Lua

education.ti.com

Lua Scripting in TI-Nspire
TI-Nspire Lua Scripting eGuide

YouTube

TI Nspire Tech Skills Introduction to Lua Scripting

inspired-lua.org

Main Page
Overview of the API
gc:drawString

inspired-lua.org

Welcome to Inspired-Lua !
Part 1: Concepts and Basics
Part 2: How to make a .tns from a .lua file ?
Part 3: Linking Events
Part 4: Using a predefined variable in a TI-Nspire document
Part 5: Object Classes
Practice-oriented tutorials

Compass Learning Technologies (compasstech.com.au)

TI-Nspire Lua Scripting HQ
TI-Nspire Lua Scripting Tutorials
Scripting Tutorial – Lesson 1

Raspberry Pi 3: Capture Images

  • streamer
  • fswebcam

Using a standard USB webcam
How to get to know the information about a package before installation in terminal

$ dpkg -l | grep streamer
ii  streamer    3.103-4build1    amd64   television capture tool (images/movies)
$ dpkg-query -L streamer
/.
/usr
/usr/bin
/usr/bin/streamer
/usr/share
/usr/share/doc
/usr/share/doc/streamer
/usr/share/doc/streamer/contrib
/usr/share/doc/streamer/contrib/streamer-wrapper.pl
/usr/share/doc/streamer/copyright
/usr/share/man
/usr/share/man/es
/usr/share/man/es/man1
/usr/share/man/es/man1/streamer.1.gz
/usr/share/man/man1
/usr/share/man/man1/streamer.1.gz
/usr/share/doc/streamer/changelog.Debian.gz
$ apt-cache show streamer
Package: streamer
Architecture: amd64
Version: 3.103-4build1
Priority: extra
Section: universe/graphics
Source: xawtv
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Maximiliano Curia <maxy@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 147
Depends: xawtv-plugins (= 3.103-4build1), libc6 (>= 2.15), libjpeg8 (>= 8c)
Suggests: xawtv
Filename: pool/universe/x/xawtv/streamer_3.103-4build1_amd64.deb
Size: 51160
MD5sum: 636721f327bc4f4fde578a00a54c1681
SHA1: 74e33e4701a2f088fb59ee047cf3d2585573b900
SHA256: 8eb2eb221a4f6081e259f2952b94307e37197096594adf14fb5b72ac746d403e
Description-en: television capture tool (images/movies)
 This package provides a tool to capture single/multiple images or
 record movies from a video4linux device.
Description-md5: c56164a96d1b651ec6a53b9c04d5cd9d

$ apt-cache showpkg streamer
Package: streamer
Versions: 
3.103-4build1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-amd64_Packages
                  MD5: c56164a96d1b651ec6a53b9c04d5cd9d
 Description Language: 
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-i386_Packages
                  MD5: c56164a96d1b651ec6a53b9c04d5cd9d
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic_universe_i18n_Translation-en
                  MD5: c56164a96d1b651ec6a53b9c04d5cd9d


Reverse Depends: 
  cinnamon,streamer
  streamer:i386,streamer
  xscreensaver,streamer
  prey,streamer
Dependencies: 
3.103-4build1 - xawtv-plugins (5 3.103-4build1) libc6 (2 2.15) libjpeg8 (2 8c) xawtv (0 (null)) streamer:i386 (32 (null)) 
Provides: 
3.103-4build1 - 
Reverse Provides: 
$ apt-cache depends streamer
streamer
  Depends: xawtv-plugins
  Depends: libc6
  Depends: libjpeg8
  Suggests: xawtv