Tech geek. Life geek.

Category: Software (Page 1 of 26)

Update composer itself

I use the composer on my desktop for many years. It is a PHP related tool. Very helpful when I need to install some PHP packages.

Composer is A Dependency Manager for PHP.

Just a few minutes ago, I did a self-update of the installation of Composer.

C:\Users\david>composer -V
Composer version 1.8.0 2018-12-03 10:31:16

C:\Users\david>composer self-update
Updating to version 1.10.8 (stable channel).
Downloading (100%)
Use composer self-update --rollback to return to version 1.8.0

C:\Users\david>composer -V
Composer version 1.10.8 2020-06-24 21:23:30

C:\Users\david>

The composer verser was 1.8.0. After the self-update, it is 1.10.8 now.

Download Link: https://getcomposer.org/download/

Putty tool get a new release

I am always using putty to connect my VPS and generate ssh keys.

It has a new release two weeks ago. Putty v7.4 was released on June 27, 2020.

PuTTY 0.74, released today, is a bug-fix and security release. It fixes bugs in 0.73, including one possible vulnerability, and also adds a new configuration option to mitigate a minor information leak in SSH host key policy.

Check the change log for v7.4.

  • Security fix: if an SSH server accepted an offer of a public key and then rejected the signature, PuTTY could access freed memory, if the key had come from an SSH agent.
  • Security feature: new config option to disable PuTTY’s dynamic host key preference policy, if you prefer to avoid giving away to eavesdroppers which hosts you have stored keys for.
  • Bug fix: the installer UI was illegible in Windows high-contrast mode.
  • Bug fix: console password input failed on Windows 7.
  • Bug fixes in the terminal: one instance of the dreaded “line==NULL” error box, and two other assertion failures.
  • Bug fix: potential memory-consuming loop in bug-compatible padding of an RSA signature from an agent.
  • Bug fix: PSFTP’s buffer handling worked badly with some servers (particularly proftpd’s mod_sftp).
  • Bug fix: cursor could be wrongly positioned when restoring from the alternate terminal screen. (A bug of this type was fixed in 0.59; this is a case that that fix missed.)
  • Bug fix: character cell height could be a pixel too small when running GTK PuTTY on Ubuntu 20.04 (or any other system with a similarly up-to-date version of Pango).
  • Bug fix: old-style (low resolution) scroll wheel events did not work in GTK 3 PuTTY. This could stop the scroll wheel working at all in VNC.

Please be keeping in the mind, always update the putty tool. It is very important for security purpose.

Download Link: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Calibre 4.16 Release since Calibre 4.1

I am always keeping my Calibre desktop software updates.  And also I keep log the new features of Calibre here. I like Calibre because I have two Kindle and two Kobos.

New features for Calibre 4.16

  • Viewer/Edit book fuzzy search: Ignore soft hyphens and zero-width joiner characters when searching for text.
  • Tag browser: Allow adding/removing tags/authors/etc. to the currently selected book by right clicking on that tag and choosing “Apply to selected books”.
  • Kobo driver: Add support for updated firmware
  • Manage categories dialog: When editing a value with multiple values selected, change them all
  • Book list column header context menu: Add an entry to resize the column to fit its current contents.
  • Show completions when editing tags/authors/series etc in the Tag browser and Manage tags dialog.
  • Quickview: Double clicking an item now searches for it
  • Comments editor: Add an action to the context menu to smarten punctuation.
  • FB2 metadata: Add support for setting publisher and publish year

New features for Calibre 4.15

  • Viewer: Improve the interface for changing font sizes
  • Viewer: Add a keyboard shortcut (Ctrl+Alt+b) for adding a bookmark

New features for Calibre 4.14

  • Viewer: Add an option to have taps turn by screen fulls instead of pages, under Scrolling behavior
  • Viewer: Allow double clicking or long tapping on images to view then in a new window.
  • Edit Book: Add a new fuzzy search mode in which typographical quotes and various space types are matched by the plain equivalents
  • Content server: Add a new setting to allow un-authenticated users from specific IP addresses to make changes to the calibre library
  • Quick view: Double click in a column to show that column in the main book list

Continue reading

Calibre 4.1 Release

It is only four days after the release fo Calibre 4.0.

New features for Calibre 4.1

  • Viewer: Add an option to have a scrollbar (under Scrolling in the viewer preferences)
    Viewer: Allow showing the ‘position in book’, as was displayed in the top left of the viewer in calibre 3, in the header or footer of the viewer.
  • Viewer: Add options to control scrolling using the mouse in paged mode.
  • Viewer: Allow copying images by right clicking on them.
  • Viewer: Add a preference under Miscellaneous to allow only a single instance of the viewer
    Viewer: Add keyboard shortcuts to toggle between paged mode and flow mode and to quit
    Content server: Make the book size useable in custom book list templates.
  • Edit metadata: Use a border rather than background color to indicate correct title and author sort values. Works better with dark themes.
  • Kobo driver: Support for new firmware

It is a kinds of rush for this new release. more bug fixes on it.

New in calibre 4.0

Welcome back, calibre users. It has been two years since calibre 3.0. This time has been spent mostly in making the calibre Content server ever more capable as well as migrating calibre itself from Qt WebKit to Qt WebEngine, because the former is no longer maintained.

The Content server has gained the ability to Edit metadata, Add/remove books and even Convert books to and from all the formats calibre itself supports. It is now a full fledged interface to your calibre libraries.

The change to use Qt WebEngine has entailed a complete rewrite of various parts of calibre, including the E-book Viewer, PDF Output, Book details etc. Every attempt has been made to preserve features and functionality in a backwards compatible way, see below for a list of some known incompatibilities.

Wow, Calibre 4.0 is comming. I can not image how different it is from 3.x.

Calibre 3.48

 

I can wait to see it. Now download it 115MB. Install it. Then launch it.

Calibre 4.0

5 Essential Graphic Design Skills You Should Master

Maybe you’re a contract graphic designer doing small, one-off projects for local businesses. Or, an in-house professional responsible for overseeing all graphic creation in a large corporation. Regardless, you can always be improving your craft. 

Read on as we go over a few more advanced graphic design skills that will substantially improve your ability to communicate your message in the medium.

1. User Interface Design

At first glance, you might think this doesn’t apply to you. Perhaps your work focuses on something where ‘user interfaces’ seem worlds away from your final product. 

Consider this; regardless of what your final product is, the odds of it ending up within a user interface are virtually guaranteed. If you make a graphic for an article header for a local newspaper, for example, that graphic will likely end up in the online version of the publication.

And like it or not, that makes it a part of the user interface of the website. 

Knowing how to design with that type of presentation in mind already makes this a useful skill. Designing user interfaces directly, meanwhile, makes it substantially more worthwhile since the available pool of work for those who can do both is much larger.

Further, user interface creation is one of the more lucrative ways to apply the skills of a graphic designer. Per Indeed.com, user interface designers make, on average, more than double the income of a traditional graphic designer.

Continue reading

Failed to Read the contents of XML Resource: IDD_SSH_KEY_CHANGE_DIALOG

Dreamweaver 2019 does not connect to SFTP server and you see the “Failed to Read the contents of XML Resource: IDD_SSH_KEY_CHANGE_DIALOG” error.

1) Close the Dreamweaver application.

2) Go to the following location:

Windows: C:\Users\[user name]\AppData\Roaming\Adobe\Dreamweaver CC xxxx\en_US\Configuration
macOS: ~/Library/Application Support/Adobe/Dreamweaver CC xxxx/en_US/Configuration

Here, xxxx is the version of Dreamweaver. For example, if you are using Dreamweaver 2017 running on Windows, then your folder location reads:

C:\Users\[user name]\AppData\Roaming\Adobe\Dreamweaver CC 2017\en_US\Configuration

3) Right-click the ssh_hosts file, and rename this file. For example, ssh_hosts_old.

4) Relaunch Dreamweaver and connect to your SFTP server.

Firefox always show Performing TLS Handshake

During last two weeks, my firefox getting slower and slower. It is Windows 10, with Firefox 67 or early version.

When I enter an HTTPS web site URL into the address bar, it took a lot of time to load the page. Sometimes it is timeout error.

Down in the lower-left corner of the Firefox window, there is a small grey box that tells you what is doing or waiting.

The problem is getting worse. More web sites I was OK to open, now are time out error.

The message on the status bar is “Performing a TLS handshake”.

What’s going on.

Based on my knowledge, TLS handshake is very fast, normally less 1 second. Continue reading

How to make a slow motion video with Yi Action Camera

I have a Yi Action Camera. It is a low-end GoPro alternative.

  • Ambarella A7LS chipset, low-power digital signal processing (DSP) technology, high-definition (HD) H.264/ MJPEG video engine and a 700-MHz ARM11 applications processor. 
  • Sony IMX206, 1/2.3″, 16MP CMOS image sensor with Exmor R ability / Panasonic MN34120PA, 1/2.3″, 16MP CMOS image sensor 
  • 1080P/60FPS, 720P/120FPS, 848*480/240FPS 
  • Bluetooth (4.0BLE low power consumption) and Built-in (802.11 bgn) Single band 2.4G Wi-Fi 

 

I tried to use video capture function of this camera at the followin settings:

1280×720 @120fps

I took 10 seconds video and move the video to the computer. It just has a higher frame rate, but not slow motion.

 

Then I tried to find the software, which can help me convert the video to slow motion one.

At last, I found the free tool, ffmpeg.

Download the ffmpeg windows bin file.

https://ffmpeg.zeranoe.com/builds/

I chose the latest static windows 64bit build. It is a package. I only need the ffmpeg.exe file. Find it in the package and extract it to the working directory.

Put the original video file in the same folder.

Run the following command in the command window.

ffmpeg -i ydxj1364.mp4 -filter:v "setpts=5*PTS" -r 25 test-1364.mp4

ydxj1364.mp4 is the original video file.
test-1364.mp4 is the output file name.
-filter:v “setpts=5*PTS” is to slow down the video by 5 times.
-r 25 is to force the output file to 25fps.

The command I run above has the following output.

 

ffmpeg version N-93217-ga899b3b3c5 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20190212
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.102 / 58. 47.102
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b9fce99cc0] unsupported color_parameter_type aclc
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ydxj1364.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2019-02-22T12:55:06.000000Z
Duration: 00:00:11.91, start: 0.000000, bitrate: 18107 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], 18063 kb/s, 119.88 fps, 119.88 tbr, 120k tbn, 239.76 tbc (default)
Metadata:
creation_time : 2019-02-22T12:55:06.000000Z
handler_name :
: XiaoYi AVC
encoder : XiaoYi AVC encoder
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001b9fceb9840] using SAR=1/1
[libx264 @ 000001b9fceb9840] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001b9fceb9840] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 000001b9fceb9840] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test-1364.mp4':
Metadata:
major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
encoder : Lavf58.26.101
Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
creation_time : 2019-02-22T12:55:06.000000Z
handler_name :
: XiaoYi AVC
encoder : Lavc58.47.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 1488 fps= 45 q=-1.0 Lsize= 25879kB time=00:00:59.40 bitrate=3569.0kbits/s dup=60 drop=0 speed=1.79x
video:25860kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.071957%
[libx264 @ 000001b9fceb9840] frame I:6 Avg QP:20.70 size:167506
[libx264 @ 000001b9fceb9840] frame P:381 Avg QP:23.36 size: 54533
[libx264 @ 000001b9fceb9840] frame B:1101 Avg QP:28.55 size: 4267
[libx264 @ 000001b9fceb9840] consecutive B-frames: 0.6% 1.9% 1.0% 96.5%
[libx264 @ 000001b9fceb9840] mb I I16..4: 17.5% 24.0% 58.5%
[libx264 @ 000001b9fceb9840] mb P I16..4: 0.4% 1.3% 1.6% P16..4: 41.6% 22.2% 18.2% 0.0% 0.0% skip:14.8%
[libx264 @ 000001b9fceb9840] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 48.7% 3.8% 1.5% direct: 2.2% skip:43.9% L0:53.8% L1:43.2% BI: 3.0%
[libx264 @ 000001b9fceb9840] 8x8 transform intra:34.9% inter:28.4%
[libx264 @ 000001b9fceb9840] coded y,uvDC,uvAC intra: 95.7% 40.8% 0.3% inter: 18.4% 7.4% 0.0%
[libx264 @ 000001b9fceb9840] i16 v,h,dc,p: 6% 11% 61% 21%
[libx264 @ 000001b9fceb9840] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 21% 23% 5% 7% 5% 12% 5% 11%
[libx264 @ 000001b9fceb9840] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 20% 20% 7% 7% 6% 9% 6% 11%
[libx264 @ 000001b9fceb9840] i8c dc,h,v,p: 71% 17% 11% 1%
[libx264 @ 000001b9fceb9840] Weighted P-Frames: Y:18.1% UV:0.0%
[libx264 @ 000001b9fceb9840] ref P L0: 55.6% 11.3% 22.8% 8.3% 2.0%
[libx264 @ 000001b9fceb9840] ref B L0: 92.5% 7.1% 0.4%
[libx264 @ 000001b9fceb9840] ref B L1: 96.3% 3.7%
[libx264 @ 000001b9fceb9840] kb/s:3559.20
« Older posts

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑