GNU Octave 5.1.0 Released with HiDPI Support (Howto Install)

How to Install Octave 5.1 in Ubuntu 18.04/16.04:

1. First open terminal (Ctrl+Alt+T) and make sure Flatpak support is enabled by running command:

sudo apt-get install flatpak

For Ubuntu 16.04, you need to add the Flatpak PPA first to be able to install Flatpak framework.

2. Then add the Flathub repository, the best place to get Flatpak apps:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

3. Finally install GNU Octave from the Flathub repository:

flatpak install flathub org.octave.Octave

It will take a few minutes downloading the flatpak package as well as dependency platform if you’re first time installing it.

Like normal applications, you can launch Octave from Gnome app launcher:

The flatpak co-exists with traditional Octave package. You can alternatively run it in command line:

flatpak run org.octave.Octave

Uninstall:

You can remove the Octave flatpak package by running command:

flatpak uninstall org.octave.Octave

And remove flatpak support if you want:

sudo apt-get remove flatpak

Source: GNU Octave 5.1.0 Released with HiDPI Support (Howto Install) | UbuntuHandbook

GNU Octave 5.1.0 Released with HiDPI Support (Howto Install) was last modified: September 9th, 2019 by Jovan Stosic

Matlab – LibXp.so.6 missing 15.10 – Ask Ubuntu

For Ubuntu 16.04 (Xenial Xerus) the following works.

Add the following line to /etc/apt/sources.list:

deb http://security.ubuntu.com/ubuntu precise-security main 

and run

sudo apt update
sudo apt install libxp6:i386

The :i386 suffix is only necessary if you need the 32 bit version.

You may also remove the source line from /etc/apt/sources.list afterwards.

Source: printing – LibXp.so.6 missing 15.10 – Ask Ubuntu

Matlab – LibXp.so.6 missing 15.10 – Ask Ubuntu was last modified: September 7th, 2019 by Jovan Stosic

TinyGo Brings Go To Arduino

Go — a modern programming language with roots at Google — is one of the new generation languages that would like to unseat C (and C++) for what we think of as traditional programming. It is only for PCs, though, right? Not so fast! TinyGo provides a compiler that — in their words — is for small places. How small? They can target code for the Arduino Uno or the BBC micro:bit. It can also produce code for x86 or ARM Linux (both 32- and 64-bit) as well as WebAssembly. They claim that a recent project to add ESP8266 and EPS32 support to LLVM will eventually enable TinyGo to target those platforms, too.

As you would expect, there are some subtle differences between TinyGo and the full-blown version. The compiler handles the entire program at once which is slower but offers more for optimization. Certain optimizations for interface methods are not used in TinyGo, and global variable handling changes to accommodate moving data from flash to RAM efficiently. TinyGo passes parameters in registers.

Other changes are more profound. For example, there’s no garbage collection yet, so you are urged to not perform heap allocations after initialization. There are also a few other major features not supported. Concurrency in the form of goroutines and channels, cgo, reflection, and three index slices won’t work. Maps are available, but only with certain key types. Because of the missing pieces, many of the packages in the standard library won’t build.

Of course, the other modern language in the same position is Rust and if you were wondering why Go instead of Rust, there’s an FAQ for that. Do you need Go on the Arduino? Maybe not. However, if you are a Go programmer, maybe this opens up some possibilities for you.

TinyGo Brings Go To Arduino

TinyGo Brings Go To Arduino was last modified: September 7th, 2019 by Jovan Stosic

linux – How to use ffmpeg to encode a file with possible error?

I have a video file, which contains some error. The file is readable, but possible some blocks are wrong during some disk operation. So while playing the video, a few seconds will no be displayed correctly. Most media player will let me play this file without crash.

Now I want to use ffmpeg to encode the file into some other format. But the re-encode process is blocked by that error.

I want to know if there’s anyway to let ffmpeg to ignore that error, just like the media players. It can just ignore/skip that few seconds, and continue working on the rest.

  • The player might have different error concealment methods. To my knowledge, there’s no such option. If the stream is incorrectly parsed, FFmpeg will rather quit than produce garbage. Can you add the full output log of such a conversion you’re trying?

The simple solution I found, is to use the -ss option to skip the place that have errors.

https://superuser.com/questions/556192/how-to-use-ffmpeg-to-encode-a-file-with-possible-error

linux – How to use ffmpeg to encode a file with possible error? was last modified: September 7th, 2019 by Jovan Stosic

Instigate


Concise Oxford English Dictionary
instigate
‘ɪnstɪgeɪt
■ verb bring about or initiate. ▶(instigate someone to/to do something) incite someone to do something.

instigation noun
instigator noun

C16 (earlier (ME) as instigation): from L. instigat-, instigare ‘urge, incite’.

Concise Oxford Thesaurus
instigate
▶ verb
they instigated formal proceedings: SET IN MOTION, get under way, get off the ground, start, commence, begin, initiate, launch, institute, set up, inaugurate, establish, organize; actuate, generate, bring about; start the ball rolling; informal kick off.
he instigated men to refuse allegiance: INCITE, encourage, urge, goad, provoke, spur on, push, press, prompt, induce, prevail upon, motivate, influence, persuade, sway; informal put up to.

halt, dissuade.

EngMac
instigate
v. поттикнува, разговорува, подбуцнува; потстрек

English-Serbian dictionary
Instigate
Navoditi-Podsticati-Potpirivati-Potsticati

Merriam-Webster Collegiate® Dictionary
in·sti·gate
Pronunciation: ‘in(t)-stə-ˌgāt
Function: transitive verb
Inflected Form: -gat·ed ; -gat·ing
Etymology: Latin instigatus, past participle of instigare ― more at STICK
Date: 1542

: to goad or urge forward : PROVOKE
synonyms see INCITE
–in·sti·ga·tion \ˌin(t)-stə-‘gā-shən\ noun
–in·sti·ga·tive \’in(t)-stə-ˌgā-tiv\ adjective
–in·sti·ga·tor \-ˌgā-tər\ noun

Instigate was last modified: September 7th, 2019 by Jovan Stosic

How to convert VOB files to mkv with FFmpeg

You have just ripped a movie from a DVD and you want to store it in a compressed format with multi-language audio tracks, subtitles and high quality video.

https://www.internalpointers.com/post/convert-vob-files-mkv-ffmpeg

How to convert VOB files to mkv with FFmpeg was last modified: September 7th, 2019 by Jovan Stosic