Tuesday, March 20, 2018
Ubuntu 16: Arcade games
$sudo apt-get install zsnes #super nintendo
$sudo apt-get install mupen64plus #nintendo 64
Friday, March 16, 2018
Ubuntu CPU-G
Ubuntu 16
Ubuntu 14
$sudo add-apt-repository ppa:atareao/atareao
$sudo apt-get update
$sudo apt-get install cpu-g
Ubuntu 14
sudo add-apt-repository ppa:cpug-devs/ppa
sudo apt-get update
sudo apt-get install cpu-g
Tuesday, March 13, 2018
Ubuntu 16 Using QEmu
Basic Commands:
$qemu-system-x86_64 -hda driveubuntu.img -cdrom ubuntu-x86-14.1-r1.iso -boot d -m 1024 -usbdevice mouse
Images:
[1] Windows XP https://mega.nz/#!B4ZEiRyD!tIS4NFNqcShJtTvNcheujIfSVS8H3ejlU2VLJdN9C3o
[2] 95 https://mega.nz/#!tw4m2Z6K!XsrXdAODy0HGjNVzvpSNviDQfvQP0ULVI7UGbhFdJh0
References:
[1] https://www.unixmen.com/how-to-install-and-configure-qemu-in-ubuntu/
[2] http://www.helenos.org/wiki/UsersGuide/RunningInQEMU
*create drives
$qemu-img create name
.img size|M|G
$qemu-img create win98hda.img 400M
*resize driver
$qemu-img resize filename [+|-]size[K|M|G|T]
$qemu-img resize win98hda.img +600M
$gparted win98hda.img #for expand physically
$qemu [-boot ] -cdrom .iso
[-m size]|128M -hda disk-name.img
$qemu -boot d -cdrom win98se.iso -m 512 -hda win98hda.img
other examples:
[1] install win98 using boot iso and installer iso (two disks)
$qemu-system-i386 -hda win98s2018.img -boot d -cdrom win98boot.iso -drive file=win98se.iso,index=3,media=cdrom
$qemu-system-i386 -hda win98s2018.img -boot c -cdrom win98boot.iso -drive file=win98se.iso,index=3,media=cdrom
$qemu-system-i386 -drive file=win98s2018.img,format=raw -m 512 #other way to run
$qemu-system-x86_64 -hda driveubuntu.img -cdrom ubuntu-x86-14.1-r1.iso -boot d -m 1024 -usbdevice mouse
Images:
[1] Windows XP https://mega.nz/#!B4ZEiRyD!tIS4NFNqcShJtTvNcheujIfSVS8H3ejlU2VLJdN9C3o
[2] 95 https://mega.nz/#!tw4m2Z6K!XsrXdAODy0HGjNVzvpSNviDQfvQP0ULVI7UGbhFdJh0
References:
[1] https://www.unixmen.com/how-to-install-and-configure-qemu-in-ubuntu/
[2] http://www.helenos.org/wiki/UsersGuide/RunningInQEMU
Thursday, March 01, 2018
Raspberry PI 3 qemu
apt-get install libglib2.0-dev zlib1g-dev
$./configure --target-list=i386-softmmu #for reduce time > 5hrs (normally)
$make
$sudo make install
https://b3n7s.github.io/update/2016/06/08/windows-xp-on-qemu.htmlhttps://wiki.gentoo.org/wiki/QEMU/Windows_guest
Tuesday, February 20, 2018
Ubuntu - Deploy Mono ASP.NET MVC
$vi /etc/apache2/apache2.conf #verify includes external config files
...
# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf
..
$sudo vi /etc/apache2/mods-enabled/mod_mono.conf #add/verify content
<IfModule !mod_mono.c>
Header set X-Powered-By "Mono"
</IfModule>
AddType application/x-asp-net .aspx
AddType application/x-asp-net .asmx
AddType application/x-asp-net .ashx
AddType application/x-asp-net .asax
AddType application/x-asp-net .ascx
AddType application/x-asp-net .soap
AddType application/x-asp-net .rem
AddType application/x-asp-net .axd
AddType application/x-asp-net .cs
AddType application/x-asp-net .vb
AddType application/x-asp-net .master
AddType application/x-asp-net .sitemap
AddType application/x-asp-net .resources
AddType application/x-asp-net .skin
AddType application/x-asp-net .browser
AddType application/x-asp-net .webinfo
AddType application/x-asp-net .resx
AddType application/x-asp-net .licx
AddType application/x-asp-net .csproj
AddType application/x-asp-net .vbproj
AddType application/x-asp-net .config
AddType application/x-asp-net .Config
AddType application/x-asp-net .dll
DirectoryIndex index.aspx
DirectoryIndex Default.aspx
DirectoryIndex default.aspx
May be you will get apache2: Syntax error on line 141 of /etc/apache2/apache2.conf: Syntax error on line 8 of /etc/apache2/mods-enabled/mod_mono.conf, then reinstall mono module for apache.
verify path, using :
$locate mod_mono.so
or reinstall module
$sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$echo "deb http://download.mono-project.com/repo/ubuntu stable-xenial main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
$sudo apt-get update
$sudo apt-get install mono-devel
$sudo apt install libapache2-mod-mono
References:
https://github.com/edgarrc/MonoUbuntu/blob/master/install.sh
[2] mod_mono.conf https://github.com/mono/mod_mono/blob/master/mod_mono.conf.in
[3] for update mono module repository http://www.mono-project.com/download/stable/
Monday, February 19, 2018
Ubuntu 16, enable ASP.NET templates on MonoDevelop
$sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
$echo "deb http://download.mono-project.com/repo/debian alpha main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
$sudo apt-get update
$sudo apt-get install mono-devel mono-complete ca-certificates-mono mono-xsp4 #take time
$sudo apt-get install monodevelop=5.10.0.871-0xamarin2
#[1]
May be you will get this message at create project:
Access to the path “/etc/mono/registry” is denied, then
$sudo mkdir /etc/mono/registry
$sudo chmod uog+rw /etc/mono/registry
References:
[1] https://askubuntu.com/questions/770299/monodevelop-on-xubuntu-missing-asp-net
Ubuntu Radio
I) Install application
$sudo apt install radiotray python-xdg
II) Setting radio
1) Perú - Radio Planeta
https://17953.live.streamtheworld.com/CRP_PLAAAC.aac?csegid=1010&tdsdk=js-2.9&lat=-16.4&long=-71.5&pname=TDSdk&pversion=2.9&banners=300x250%2C728x90&sbmid=d3f8db5f-71cf-4c05-8764-bfbdf3857e4e
III) Radio Peró (online) http://www.emisoraperuana.com
References:
[1] http://www.webupd8.org/2017/02/5-cool-internet-radio-players-for-linux.html
Sunday, February 18, 2018
Ubuntu VB6 Application + mySQL
$winetricks corefonts eufonts lucida opensymbol tahoma cjkfonts
$winetricks vb6run
$winetricks mdac28
$winetricks msxml4 mfc42 jet40 native_oleaut32
$winecfg #set libraries for overwrite
odbccp32
odbc32
oleaut32
$wine msiexec /i mysql-connector-odbc-5.1.13-win32.msi #choice best driver
$wine control
references:
http://www.sanitarium.co.za/how-to-get-wine-windows-mysql-connectorodbc-and-ubuntu-13-10-to-all-be-friends/
[2] Launch icon https://askubuntu.com/questions/21823/how-to-create-a-shortcut-to-start-a-windows-application-with-wine
Thursday, February 15, 2018
Wednesday, February 14, 2018
Ubuntu moodle pre-requisites
$sudo ufw app list
$sudo apt-get install libapache2-mod-php
$sudo apt-get install php7.0-curl
$sudo apt-get install php7.0-zip
$sudo chmod 777 /var/www/ -R
$sudo apt-get install php7.0-mysql
$sudo apt-get install php7.0-xml
$sudo apt-get install php7.0-gd
$sudo apt-get install php7.0-intl
$sudo apt-get install php7.0-xmlrpc
$sudo apt-get install php7.0-mbstring
$sudo apt-get install libapache2-mod-php
$sudo apt-get install php7.0-curl
$sudo apt-get install php7.0-zip
$sudo chmod 777 /var/www/ -R
$sudo apt-get install php7.0-mysql
$sudo apt-get install php7.0-xml
$sudo apt-get install php7.0-gd
$sudo apt-get install php7.0-intl
$sudo apt-get install php7.0-xmlrpc
$sudo apt-get install php7.0-mbstring
Ubuntu Hard Drive Health Monitor
HDD Verification tool
$sudo apt-get install smartmontools
$sudo apt-get install gsmartcontrol
$sudo smartctl --all /dev/sda
$sudo apt-get install smartmontools
$sudo apt-get install gsmartcontrol
$sudo smartctl --all /dev/sda
Friday, February 02, 2018
Ubuntu 14 Lamp
https://www.godaddy.com/help/build-a-lamp-stack-linux-apache-mysql-php-ubuntu-14-17341
https://www.howtoforge.com/ubuntu-lamp-server-with-apache2-php5-mysql-on-14.04-lts
https://styde.net/como-instalar-lamp-en-ubuntu-linux/
https://www.digitalocean.com/community/tutorials/como-instalar-linux-apache-mysql-php-lamp-en-ubuntu-14-04-es
https://www.digitalocean.com/community/tutorials/how-to-install-lamp-on-ubuntu-14-04-quickstart
Update kernel to the latest mainline version without any Distro-upgrade?
To find out which kernel you have type
uname -r
in terminal.Now type this command to get list of available kernels.
apt-cache search linux-image
this will give you a very big output.Now chose one of them that you
want to install and install it by following commands(Don't type these
commands like this,replace the word kernal_version with the kernel
version which you wish to install)sudo apt-get install linux-image-kernal_version
sudo apt-get install linux-image-extra-kernal_version
sudo apt-get install linux-headers-kernal_version
Now in my case i choose linux-image-4.10.0-22-generic
so my command will look like this sudo apt-get install linux-image-4.10.0-22-generic
sudo apt-get install linux-image-extra-4.10.0-22-generic
sudo apt-get install linux-headers-4.10.0-22-generic
now in the end remove old kernel by commandsudo apt-get autoremove
sudo reboot
Thursday, February 01, 2018
Related to Certificates
Generate a CSR
https://www.digitalocean.com/community/questions/how-do-i-generate-a-csr-key
Create the self-signed certificate
https://help.ubuntu.com/lts/serverguide/certificates-and-security.html
Create thrid certificate using CSR
https://ssl.comodo.com/free-ssl-certificate.php
https://support.comodo.com/index.php?/comodo/Knowledgebase/Article/View/637/66/
Aditional information
https://www.ssl2buy.com/ssl-certificate-google-rankings
https://www.elegantthemes.com/blog/tips-tricks/how-to-get-a-free-ssl-certificate-and-why-google-is-forcing-you-to
Tuesday, January 30, 2018
Ubuntu 14 install sSMTP
Ubuntu
1.1) Install sSMTP
$sudo apt-get install ssmtp
$sudo vi /etc/ssmtp/ssmtp.conf #add or set
root=username@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=fileserver.local
UseSTARTTLS=YES
AuthUser=username
AuthPass=password
FromLineOverride=YES
sudo vi /etc/ssmtp/revaliases
root:username@gmail.com:smtp.gmail.com:587
youruser:username@gmail.com:smtp.gmail.com:587
1.2) How to use
$ssmtp recipient_email@example.com #sSMTP will then wait for:
To: recipient_email@example.com
From: myemailaddress@gmail.com
Subject: test email
hello world!
#press Ctrl-D for send the message before closing.
$ssmtp myemailaddress@gmail.com < msg.txt
To: myemailaddress@gmail.com
From: myemailaddress@gmail.com
Subject: alert
The server is down!
1.3) Alternative to use
$sudo apt-get install heirloom-mailx -y
$echo testing|mail -s 'Test Mail' Insert email address to send to here
References:
[1] http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
Fedora/CentOs
[2.1] postfix https://kifarunix.com/configure-postfix-as-send-only-smtp-server-on-fedora-29/
[2.2] sendmail https://tecadmin.net/install-sendmail-on-fedora/
1.1) Install sSMTP
$sudo apt-get install ssmtp
$sudo vi /etc/ssmtp/ssmtp.conf #add or set
root=username@gmail.com
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=fileserver.local
UseSTARTTLS=YES
AuthUser=username
AuthPass=password
FromLineOverride=YES
sudo vi /etc/ssmtp/revaliases
root:username@gmail.com:smtp.gmail.com:587
youruser:username@gmail.com:smtp.gmail.com:587
1.2) How to use
$ssmtp recipient_email@example.com #sSMTP will then wait for:
To: recipient_email@example.com
From: myemailaddress@gmail.com
Subject: test email
hello world!
#press Ctrl-D for send the message before closing.
$ssmtp myemailaddress@gmail.com < msg.txt
To: myemailaddress@gmail.com
From: myemailaddress@gmail.com
Subject: alert
The server is down!
1.3) Alternative to use
$sudo apt-get install heirloom-mailx -y
$echo testing|mail -s 'Test Mail' Insert email address to send to here
References:
[1] http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
Fedora/CentOs
[2.1] postfix https://kifarunix.com/configure-postfix-as-send-only-smtp-server-on-fedora-29/
[2.2] sendmail https://tecadmin.net/install-sendmail-on-fedora/
Mono Develop on Ubuntu 14
#monodevelop 4
sudo apt-get install monodevelop
#upgrade to monodevelop
5
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install monodevelop
References:
[1] Monodevelop versions https://download.mono-project.com/archive/
Sunday, January 28, 2018
Friday, January 26, 2018
Ubuntu 14 virtualize
Virtual box
$uname -a
$apt-get upgrade #for update kernel
$apt-get install virtualbox
Dependences
[1] https://www.virtualbox.org/wiki/Download_Old_Builds_4_3
$uname -a
$apt-get upgrade #for update kernel
$apt-get install virtualbox
Dependences
[1] https://www.virtualbox.org/wiki/Download_Old_Builds_4_3
Sunday, January 07, 2018
Bajaj Avenger 220 Especificaciones
Motor
Desplazamiento (cc)
219.89
A Partir
Eléctrica
Max. De alimentación (PS rpm)
19,03 @ 8400
Max. Torque (Nm @ rpm)
17.5 @ 7000
Tipo
4 tiempos, monocilíndrico, DTS-i, refrigerado por aire con el refrigerador de aceite
Frenos
Frente
Disco, Dia. 260 mm
Trasero
Tambor, Dia. 130 mm
Suspensión
Frente
Telescópico
Trasero
Amortiguador hidráulico
Electrónica
Cabeza de la lámpara
60 / 55W
Cuerno
12V, 30W
Batería
12V, 9Ah
Tiro
Frente
Con cámara unidireccional - 90 / 90 x 17 "
Trasero
Con cámara unidireccional - 130/90 x 15 "
Depósito de combustible
Total de litros (reserva, utilizable)
14 litros completo (3.4 litros de reserva)
Dimensiones
Separación de tierra
169 mm
Peso en orden de marcha
154,5 kg
Distancia entre ejes
1475 mm
Tuesday, November 21, 2017
Display Setting is not showing
For show unity setting
$unity-control-center
Setting in command line
$xrandr
...
DVI-I-2 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1600x1200 60.00
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
...
$xrandr --output DVI-I-2 1600x1200 #for choice
$xrandr --fb 1152x768 #another way
For problems in aspect ratio (wide mode), for us the better choice is:
$xrandr --output DVI-I-2 --scale 1.0x0.85
Other alternative is related to create new entry, using next commands
$cvt 1600 1200 60
# 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz
Modeline "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
$xrand --newmode "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
$xrand --addmode "1600x1200_60.00" #but doesn't works for us
Friday, November 17, 2017
How to create war file for tomcat without eclipse
references:
[1] https://stackoverflow.com/questions/1001714/how-to-create-war-files
Tuesday, November 07, 2017
Wednesday, November 01, 2017
Linux Drive Series/C210
Auxiliary Commands
$ journalctl
$ systemctl
$ alsactl
$ lsof | grep pcm #still using
$ lsmod | grep snd #modules
$ sudo apt-get remove pulseaudio
$ sudo apt-get remove alsa
$ sudo apt-get install alsa
$ lspci
Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller
$ vi /etc/modprobe.d/alsa-base.conf #for verify
*When is right installed
$ cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC887
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
1 [NVidia ]: HDA-Intel - HDA NVidia
2 [U0x46d0x825 ]: USB-Audio - USB Device 0x46d:0x825
Upgrade
[*] https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
$ rm -r ~/.config/pulse;
$ pulseaudio -k
Note: try to select previous version on grub
References
[1] https://help.ubuntu.com/community/HdaIntelSoundHowto
[2] https://askubuntu.com/questions/508692/intel-corporation-7-series-c210-series-isnt-being-detected-by-any-module
$ journalctl
$ systemctl
$ alsactl
$ lsof | grep pcm #still using
$ lsmod | grep snd #modules
$ sudo apt-get remove pulseaudio
$ sudo apt-get remove alsa
$ sudo apt-get install alsa
$ lspci
Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller
$ lspci -v | grep Audio
$ sudo modprobe snd-hda-intel
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.10.0-37-generic/modules.dep.bin'
modprobe: FATAL: Module snd-hda-intel not found in directory /lib/modules/4.10.0-37-generic
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.10.0-37-generic/modules.dep.bin'
modprobe: FATAL: Module snd-hda-intel not found in directory /lib/modules/4.10.0-37-generic
$ vi /etc/modprobe.d/alsa-base.conf #for verify
*When is right installed
$ cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC887
$ cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
1 [NVidia ]: HDA-Intel - HDA NVidia
2 [U0x46d0x825 ]: USB-Audio - USB Device 0x46d:0x825
Upgrade
[*] https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
$ rm -r ~/.config/pulse;
$ pulseaudio -k
Note: try to select previous version on grub
References
[1] https://help.ubuntu.com/community/HdaIntelSoundHowto
[2] https://askubuntu.com/questions/508692/intel-corporation-7-series-c210-series-isnt-being-detected-by-any-module
Tuesday, October 31, 2017
Lecture about SoundScape
Acoustic scenes, Acoustic events and Feature aggregation
D-CASE2013
Environment sound recognition using short-time feature aggregation
https://link.springer.com/article/10.1007/s10844-017-0481-4
Task of segmentation
Speech recognition
Musical information retrieval(MIR)
Environment sound
Survillance
Index of video content
Task of acoustic events classification
Statistic large set of features and K-NN
Feature agregation (Bag of feaures)
HMM/GMM(better for segementation and annotation for small scales)
Deep learning
Blind segmentation and SVM
Recurrence quantification analysis(RQA), RQA Features
Short Time Fourier Transform (STFT)
Lectures Neural Networks
Colour and Texture, but fail for shape.
Generative Adversarial Networks
https://arxiv.org/pdf/1406.2661.pdf
Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks https://junyanz.github.io/CycleGAN/
Saturday, October 28, 2017
Thursday, October 26, 2017
PDF Tools & Editors
PDF Annotator
[1] online/free/for signatures https://www.pdfescape.com/
PDF Tools
$sudo apt-get install pdftk
$pdftk A.pdf cat 1-9 26-end output B.pdf # keep pages 1-9 and 26-end of the original file
$pdftk file1.pdf file2.pdf file3.pdf cat output newfile.pdf #join
$convert
file1.pdf file2.pdf file3.pdf output.pdf #reduce resolution
$sudo apt-get install pdfmod #remove pages
, works with A4
$sudo apt-get install pdfshuffler #remove pages, works with beamer too
PDF Editors
[1] Master PDF Editor http://code-industry.net/
[2] Fonst http://linuxg.net/how-to-install-master-pdf-editor-1-9-on-ubuntu-linux-mint-debian-fedora-opensuse-and-many-other-linux-systems/
[3] xournal, is possible add notes and free text, and [3] have other edition tools.
http://kuboosoft.blogspot.com/2012/07/5-editores-de-pdf-para-linux.html
[4] Extract images from PDF online
http://pdfaid.com/ExtractImages.aspx
[5] How to extract part https://askubuntu.com/questions/221962/how-can-i-extract-a-page-range-a-part-of-a-pdf
Wednesday, October 25, 2017
OpenCV2 in Python for Windows
1. Below Python packages are to be downloaded and installed to their default locations.
Python-2.7.x.
Numpy.
Matplotlib (Optional).
2. Install all packages into their default locations. Python will be installed to C:/Python27/.
3. After installation, open Python IDLE. Enter import numpy and make sure Numpy is working fine.
4. Download latest OpenCV release from sourceforge site and double-click to extract it.
5. Goto opencv/build/python/2.7
Copy cv2.pyd to C:/Python27/lib/site-packages.
6. Test
>>> import cv2
>>> print cv2.__version__
Tuesday, October 24, 2017
Compiling Windows C++ Project in Linux (wavelet rasterization)
Josiah Manson Codes translate to GNU
Source code:
[*] Windows http://josiahmanson.com/research/wavelet_rasterization/supplemental/wavelet_raster.zip
g++ vect.cpp timer.cpp raster_poly.cpp get_font.cpp global.cpp insert_bez2.cpp insert_line.cpp vect.cpp save.cpp write_grid.cpp main.cpp -Wall -Wextra -I/usr/include/freetype2 -lfreetype -lpthread -lm -o gnurasterize
_aligned_malloc
void *aligned_alloc(size_t alignment, size_t size);
//Since the question was asked, a new function was standardized by C11
[*] http://en.cppreference.com/w/cpp/memory/c/aligned_alloc
mkdir
#include <sys/types.h>
#include <sys/stat.h>
int result = mkdir("/home/me/test.txt", 0777);
__forceline
[*] https://stackoverflow.com/questions/8897791/how-to-define-forceinline-inline
__declspec
[*] http://gcc.gnu.org/wiki/Visibility
[*] https://stackoverflow.com/questions/2164827/explicitly-exporting-shared-library-functions-in-linux
Time
[*] https://stackoverflow.com/questions/2418157/ubuntu-linux-c-error-undefined-reference-to-clock-gettime-and-clock-settim
Freetype
$ sudo apt-get install libfreetype6-dev
$ g++ ... -I/usr/include/freetype2 -lfreetype
Change FreeImage by PPM
[*]pngwriter https://github.com/pngwriter/pngwriter
[1] PPM Specification http://paulbourke.net/dataformats/ppm/
[2] C/C++ Create PPM File https://rosettacode.org/wiki/Bitmap/Write_a_PPM_file
Related
[1] https://stackoverflow.com/questions/2033997/how-to-compile-for-windows-on-linux-with-gcc-g
Source code:
[*] Windows http://josiahmanson.com/research/wavelet_rasterization/supplemental/wavelet_raster.zip
g++ vect.cpp timer.cpp raster_poly.cpp get_font.cpp global.cpp insert_bez2.cpp insert_line.cpp vect.cpp save.cpp write_grid.cpp main.cpp -Wall -Wextra -I/usr/include/freetype2 -lfreetype -lpthread -lm -o gnurasterize
_aligned_malloc
void *aligned_alloc(size_t alignment, size_t size);
//Since the question was asked, a new function was standardized by C11
[*] http://en.cppreference.com/w/cpp/memory/c/aligned_alloc
mkdir
#include <sys/types.h>
#include <sys/stat.h>
int result = mkdir("/home/me/test.txt", 0777);
__forceline
[*] https://stackoverflow.com/questions/8897791/how-to-define-forceinline-inline
__declspec
[*] http://gcc.gnu.org/wiki/Visibility
[*] https://stackoverflow.com/questions/2164827/explicitly-exporting-shared-library-functions-in-linux
Time
[*] https://stackoverflow.com/questions/2418157/ubuntu-linux-c-error-undefined-reference-to-clock-gettime-and-clock-settim
Freetype
$ sudo apt-get install libfreetype6-dev
$ g++ ... -I/usr/include/freetype2 -lfreetype
Change FreeImage by PPM
[*]
[1] PPM Specification http://paulbourke.net/dataformats/ppm/
[2] C/C++ Create PPM File https://rosettacode.org/wiki/Bitmap/Write_a_PPM_file
Related
[1] https://stackoverflow.com/questions/2033997/how-to-compile-for-windows-on-linux-with-gcc-g
Sunday, October 22, 2017
Wednesday, October 18, 2017
Geometry Processing Resources
Courses:
[1] http://www.hao-li.com/Hao_Li/Hao_Li_-_teaching_%5BCSCI_599__Digital_Geometry_Processing_SS_2015%5D.html
[2] Generating 3D models from: medical images http://www.banterle.com/francesco/courses/2017/be_3drec/
[3] Haar Wavelet (Computer Graphics Course) http://www.faculty.jacobs-university.de/llinsen/teaching/320491.htm More content about lectures and projects and others.
Tools
[1] http://download.slicer.org/
[2] Molecular Modeling http://www.cgl.ucsf.edu/chimera/
Saturday, October 14, 2017
Love Equations
https://www.wolframalpha.com
1) plot x^2 + ( 5y/4 - sqrt(abs(x)))^2 = 1
2) plot x^2 + ( y - sqrt(abs(x)))^2 = 2
3) plot x^2 + ( y - (abs(x))^(1/3) )^2 = 1
4) plot (x^2 + y^2 -1)^3 -x^2y^3 = 0
Tuesday, October 10, 2017
Installing Tensor Flow (Problems)
Main guide
https://www.tensorflow.org/install/install_sources
Cannot find bazel. Please install bazel.
Solution https://docs.bazel.build/versions/master/install-ubuntu.html
Monitoring Nvidia card
$watch -n 1 nvidia-smi
#to obtain continuous updates without filling the terminal with output$sudo pip install gpustat
$gpustat
$sudo pip install glances
$sudo pip install glances[gpu]
$glances
Resources:
[1] Cuda 7.5 http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_linux.run
[2] Install Cuda 7.5 http://www.r-tutor.com/gpu-computing/cuda-installation/cuda7.5-ubuntu
Friday, October 06, 2017
Vertex Smooth
Resources:
[1] http://www.stat.wisc.edu/~mchung/papers/HBM2001/HBM2001diffusion.html
[2] http://www.stat.wisc.edu/~mchung/papers/HBM2001/chung.2001.OHBM.pdf
[3] http://www.stat.wisc.edu/~mchung/papers/HBM2001/chung.2001.OHBMposter.pdf
[4] http://docs.salome-platform.org/5/smesh/user/smoothing_page.html
[5] https://www.youtube.com/watch?v=TQcS2q_rAHQ
https://i.ytimg.com/vi/TQcS2q_rAHQ/maxresdefault.jpg
[6] http://grasshopperprimer.com/en/1-foundations/1-5/1_surface-geometry.html
Wednesday, September 20, 2017
Tuesday, September 19, 2017
Execute VTK Samples on ubuntu
VTK5.10
$locate vtkXOpenGLRenderWindow.cxx
$gedit ... vtkXOpenGLRenderWindow.cxx
Uncomment next line
#define GLX_GLXEXT_LEGACY
$ CC=/usr/bin/gcc-5 CXX=/usr/bin/g++-5 cmake ..
cmake -DVTK_DIR=/home/DRIVE/Backup2018/Downloads2017/tools2/VTK5.10.1/build .
VTK7.1
$cmake -DVTK_DIR=/home/DRIVE/Downloads/tools/VTK7.1/build .
Resources
[1] How to write in vtk format https://github.com/arborworkflows/Visomics/blob/master/Base/voIOManager.cpp
[2] https://vtk.org/download/
Computer Graphics - Grid Structures
$sudo apt-get install freeglut3-dev
$sudo apt-get install libxmu-dev
$make
Resource:
[1] corner table exercice https://www.cc.gatech.edu/~lena007/cs4451_p2/corner_tab.html
Sunday, September 17, 2017
Books online repositories
Library Genesis
Resources:
[0] Main reference https://en.wikipedia.org/wiki/Library_Genesis
http://93.174.95.27/
[1] Mathematic, Biology and others https://libgen.pw (*)
[2] Mathematic and others http://libgen.io (*)
[3] http://gen.lib.rus.ec/
[4] zlibrary https://b-ok.org/
[5] sci-hub.tw
[6] https://whereisscihub.now.sh/
[7] Art books https://www.artubook.com (*)
(*) My favorite list
https://marcusnunes.me/posts/livros-gratuitos-da-springer/
Resources:
[0] Main reference https://en.wikipedia.org/wiki/Library_Genesis
http://93.174.95.27/
[3] http://gen.lib.rus.ec/
[4] zlibrary https://b-ok.org/
[5] sci-hub.tw
[6] https://whereisscihub.now.sh/
[7] Art books https://www.artubook.com (*)
(*) My favorite list
https://marcusnunes.me/posts/livros-gratuitos-da-springer/
Wednesday, September 13, 2017
Español
'A ver' y 'haber' se pronuncian de la misma forma, pero es habitual confundirlas y utilizarlas de manera incorrecta a la hora de escribir. Por eso, a continuación procedemos a distinguirlas tal y como marca la Real Academia Española (RAE):
A ver: Se trata de la secuencia constituida por la preposición a y el infinitivo verbal ver. Se utiliza en los siguientes casos:
Para pedir al interloculor que nos deje ver algo: - Mira mi coche. - ¿A ver?
Para dejar claro una cierta expectación: A ver cuándo viene la ayuda.
Para llamar la atención sobre algo: A ver, ¿por qué no no vinisteis ayer a casa?
En los casos en los que equivale a 'claro' o 'naturalmente': ¡A ver! Estaremos allí sin falta.
En los casos que lleva delante la conjunción si, expresa, bien expectación, curiosidad o interés, a veces también un reto; otras temor o sospecha; y deseo o mandato: ¡A ver si me traes lo que te he pedido!
Haber: Puede tratarse de un verbo o un sustantivo:
Como verbo se emplea como auxiliar seguido de un participio, para formar los infinitivos compuestos de la conjugación: Debe haber faltado a clase.
También como verbo se emplea como infinitivo del impersonal que indica la presencia o existencia de lo designado por el sustantivo que lo acompaña: En su casa debe haber mucho dinero.
Como sustantivo masculino su significado es "conjunto de bienes o caudales de una persona": En su haber contaba con muchos títulos.
Sunday, September 10, 2017
Create Partition and Format for Fix HD
$sudo fdisk /dev/sdb #commands d, n, w
$sudo mkntfs /dev/sdb1
$mkfs.ntfs -f /dev/sdb1
$dmesg | grep sd
$sudo lshw -C disk
Tuesday, September 05, 2017
Skype on Ubuntu and Centos
Skype on Ubuntu 16
[1] http://ubuntuhandbook.org/index.php/2017/03/install-skype-5-0-for-linux-ubuntu-16-04/
Skype on Centos 6.5
When i tried install skype on centos 6.5 i received next message:
error: Failed dependencies: alsa-lib >= 1.0.23 is needed by skype-4.2.0.13-fc16.i586 libQtWebKit.so.4 is needed by skype-4.2.0.13-fc16.i586 libstdc++.so.6(GLIBCXX_3.4.15) is needed by skype-4.2.0.13-fc16.i586 qtwebkit is needed by skype-4.2.0.13-fc16.i586
then i tried next commands and works very well.
1) Install EPEL if you haven't already. #yum install http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 2) Download the RPM here #wget http://www.bromosapien.net:8080/others/skype-4.2.0 .11-4.el6.i686.rpm 3) Install it as so #yum install skype-4.2.0.11-4.el6.i686.rpm 4) If you receive an error about a GPG key, you may import my key as necessary. #wget http://www.bromosapien.net:8080/others/SYRKIT-GPG- KEY.pub #rpm --import SYRKIT-GPG-KEY.pub
References:
[1] http://community.skype.com/t5/Linux/CentOS-RHEL-6-Skype-4-2-RPM-Installation-Steps/td-p/1740485
NVidia Titan X Card problem
#Grub Settings if doesn't starting
Push shift for stop grub and edit(e key)
Replace quit splash with nomodeset if video drive problems
F10 for start with new settings
#add repository
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
#remove previous drivers
$sudo apt-get purge nvidia-*
titan@titan:~$ sudo apt-cache search nvidia-3
....
nvidia-340 - NVIDIA binary driver - version 340.102
nvidia-361 - Transitional package for nvidia-367
nvidia-361-dev - Transitional package for nvidia-367-dev
nvidia-367 - Transitional package for nvidia-375
nvidia-367-dev - Transitional package for nvidia-375-dev
nvidia-370-dev - NVIDIA binary Xorg driver development files
nvidia-370 - NVIDIA binary driver - version 370.28
nvidia-375 - NVIDIA binary driver - version 375.66
nvidia-375-dev - NVIDIA binary Xorg driver development files
nvidia-378-dev - NVIDIA binary Xorg driver development files
nvidia-378 - NVIDIA binary driver - version 378.13
nvidia-381-dev - NVIDIA binary Xorg driver development files
nvidia-381 - NVIDIA binary driver - version 381.22
nvidia-384-dev - NVIDIA binary Xorg driver development files
nvidia-384 - NVIDIA binary driver - version 384.47
$sudo apt-get install nvidia-375 #A
fter installation, execute next commands:
$sudo mv /usr/lib/nvidia-375/libEGL.so.1 /usr/lib/nvidia-375/libEGL.so.1.org
$sudo mv /usr/lib32/nvidia-375/libEGL.so.1 /usr/lib32/nvidia-375/libEGL.so.1.org
$sudo ln -s /usr/lib/nvidia-375/libEGL.so.375.39 /usr/lib/nvidia-375/libEGL.so.1
$sudo ln -s /usr/lib32/nvidia-375/libEGL.so.375.39 /usr/lib32/nvidia-375/libEGL.so.1
$sudo ldconfig #for verify correct link
PD:
We can't installed titan x on ubuntu 16, we replaced with Geforce 1070
We execute above instructions and that works.
Summary good commands:
$ lspci | grep VGA
#for verify nvidia series
$ lspci -vnn | grep -i VGA -A 12 #for verify kernel driver:nvidia
$ glxinfo | grep OpenGL | grep renderer #for verify opengl
References:
[1] https://askubuntu.com/questions/61396/how-do-i-install-the-nvidia-drivers/680826
[2] Instalar driver Nvidia manualmente no Ubuntu 16.04 (pt) https://linuxdicasesuporte.blogspot.com.br/2017/03/instalar-driver-nvidia-manualmente-no.html
[3] Nvidia drivers on Ubuntu 14.04 http://www.binarytides.com/install-nvidia-drivers-ubuntu-14-04/
Wednesday, August 30, 2017
Grid and Fluids Resources
1) Course , Differences finites
https://www.math.uci.edu/~chenlong/
https://www.math.uci.edu/~chenlong/226/
1) https://github.com/rlguy/GridFluidSim3D
Friday, August 25, 2017
Computer Vision Laboratories & Courses
Labs:
Computer Vision Lab http://vision.ece.ucsb.edu/
Oxford https://www.robots.ox.ac.uk/~vgg/projects.html
University Central of Florida (Computer Vision -crowds dataset) http://vision.eecs.ucf.edu/
Courses:
1) Computer Vision: Algorithms and Applications http://szeliski.org/Book/ (2017)
2) University of California https://cseweb.ucsd.edu/classes/sp16/cse152-a/
3) Computer vision course https://courses.cs.washington.edu/courses/cse455/09wi/Lects/
Thursday, August 24, 2017
Numeric Analysis
[1] [Book] Computational fluid mechanics and heat transfer
http://inis.jinr.ru/sl/Simulation/Tannehill,_CFM_and_Heat_Transfer,2_ed/
Friday, August 11, 2017
Monday, August 07, 2017
Saturday, August 05, 2017
Wednesday, July 26, 2017
Journals for Bio Informatics
https://scfbm.biomedcentral.com/track/pdf/10.1186/1751-0473-3-6?site=scfbm.biomedcentral.com
springer computer vision http://www.springer.com/computer/image+processing/journal/11263 11 8.2
IEEE http://signalprocessingsociety.org/publications-resources/ieee-transactions-image-processing 44 4.3
ELSEVIER Pattern recognition https://www.journals.elsevier.com/pattern-recognition/ 47 4.5
ELSEVIER Medical image analysis https://www.journals.elsevier.com/medical-image-analysis/ 56 4.1
IEEE Medical images https://ieee-tmi.org/ 68 3.9
ELSEVIER https://www.journals.elsevier.com/computer-vision-and-image-understanding/ 112 3.2
ELSEVIER https://www.journals.elsevier.com/image-and-vision-computing/ 165 2.6
ELSEVIER https://www.journals.elsevier.com/computer-vision-and-image-understanding/ 189 2.4
http://www.guide2research.com/journals/computer-vision
Tuesday, July 18, 2017
PDF Signature
Resources:
[1] Make signature and put over pdf https://www.pdfbuddy.com
[2] Draw signature over pdf https://www.pdffiller.com
Machine Learning Lectures & Tools
References:
[1] Clustering notes: http://www.cs.toronto.edu/~mbrubake/teaching/C11/Handouts/Clustering.pdf
Datasets:
EMOTIV EPOC+ 14 Channel Mobile EEG https://archive.ics.uci.edu/ml/datasets/EEG+Eye+State#
https://archive.ics.uci.edu/ml/datasets
Resources:
[1] Optimizing parameters of Classifier https://weka.wikispaces.com/Optimizing+parameters
[2] CSV to ARFF online http://ikuz.eu/csv2arff/
Sunday, July 09, 2017
Saturday, July 08, 2017
PCA Feature extraction
References:
[1] PCA http://www.visiondummy.com/2014/05/feature-extraction-using-pca/
[2] Reducción de dimensinalidad usando PCA https://www.coursera.org/learn/clasificacion-imagenes/lecture/PaTVm/reduccion-de-descriptores-pca
[3] Opencv code with explanation for dimentional reduction
https://stackoverflow.com/questions/27733002/how-to-use-pca-to-reduce-dimension
[4] Distances http://wwwae.ciemat.es/~cardenas/docs/lessons/MedidasdeDistancia.pdf
Sunday, July 02, 2017
Lectures Descriptors & datasets
References:
1) BoW summary https://prateekvjoshi.com/2014/08/17/image-classification-using-bag-of-words-model/
2) https://github.com/constanton/bLDFV
Datasets
0) 2D hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
2D/3D Hela http://murphylab.web.cmu.edu/data/
1) Biomedical flourcence images
http://mivia.unisa.it/datasets/biomedical-image-datasets/hep2-image-dataset/
2) Microscopic/ Histology, Brain, Retinal and more https://sites.google.com/site/lisaywtang/research/descriptors
3) Other for visualization https://grouplens.org/datasets/movielens/
Monday, June 19, 2017
Animes online
Bleach
1) Sub English https://www4.animesubhd.net/watch/episode/subbed/bleach-238/
2) Sub Spanish http://jkanimeonline.com/ver/bleach-226.html
Wednesday, June 14, 2017
Bag of Features and Texture
Notes
What is the difference between SIFT and Dense SIFT
*SIFT consists of both detection and description while dense sift only uses the descriptor in densely sampled locations [1].
*SIFT identifies interest points using Difference of Gaussian Filtering (DoG) before using Histogram of Oriented Gradients (HOG) to describe these interest points, however Dense-SIFT does not identify interest points, it simply divides the image into overlapping cells before using HOG to describe them. since they both use HOG they both produce 128 dimensional feature vectors [1].
*SIFT is typically computed at interest points. Dense SIFT is computed at every pixel, or every kth pixel. HOG is computed for a rectangular cell array where each cell is usually 8x8 pixels. Dense SIFT and HOG are similar in the sense that they both characterize edginess and orientation around pixels, but the computations are different. Jianxiong Xiao's 2x2 HOG is different than normal HOG. The truth is that once you know how these kinds if features work you can get fancy and histogram them differently, change normalization terms, etc and create your own variant. I spoke with Prof Xiao many times about this when we ovarlapped at MIT [2].
*Firstly, Difference of Gaussians (DoG) can be used for estimating Laplacian of Gaussians (LoG), which are useful for finding edges and blobs. DoG is computationally faster so it is used. Overall, the way in which LoG is used for SIFT and HOG is the fundamental difference between these two feature descriptors. Dense SIFT is exactly as it sounds, SIFT computed densely for every pixel in the image and it helps in image registration, pose estimation, object recognition, etc [2].
Resources
1) BoF imlmentation using SURF, IHOG http://www.cvc.uab.cat/~aldavert/plor/software.html
2) Texture video https://www.youtube.com/watch?v=LQBKIi-Xtbc
3) Textons http://webpages.uncc.edu/~yjaved/publications.html
4) Bag of Visual Words implementation (Functional) http://www.codeproject.com/Articles/619039/Bag-of-Features-Descriptor-on-SIFT-Features-with-O
5) Gabor filters histogram, explanation
http://stackoverflow.com/questions/20608458/gabor-feature-extraction
6) Filter Banks, Matlab Source Code
http://www.robots.ox.ac.uk/~vgg/research/texclass/filters.html
7) Texture classification using textons http://courses.media.mit.edu/2008fall/mas622j/Projects/NickLoomis/
References
[1] https://www.researchgate.net/post/What_is_the_difference_between_SIFT_and_Dense_SIFT
[2] https://www.quora.com/Computer-Vision-Is-there-a-difference-if-any-between-dense-SIFT-and-HOG
What is the difference between SIFT and Dense SIFT
*SIFT consists of both detection and description while dense sift only uses the descriptor in densely sampled locations [1].
*SIFT identifies interest points using Difference of Gaussian Filtering (DoG) before using Histogram of Oriented Gradients (HOG) to describe these interest points, however Dense-SIFT does not identify interest points, it simply divides the image into overlapping cells before using HOG to describe them. since they both use HOG they both produce 128 dimensional feature vectors [1].
*SIFT is typically computed at interest points. Dense SIFT is computed at every pixel, or every kth pixel. HOG is computed for a rectangular cell array where each cell is usually 8x8 pixels. Dense SIFT and HOG are similar in the sense that they both characterize edginess and orientation around pixels, but the computations are different. Jianxiong Xiao's 2x2 HOG is different than normal HOG. The truth is that once you know how these kinds if features work you can get fancy and histogram them differently, change normalization terms, etc and create your own variant. I spoke with Prof Xiao many times about this when we ovarlapped at MIT [2].
*Firstly, Difference of Gaussians (DoG) can be used for estimating Laplacian of Gaussians (LoG), which are useful for finding edges and blobs. DoG is computationally faster so it is used. Overall, the way in which LoG is used for SIFT and HOG is the fundamental difference between these two feature descriptors. Dense SIFT is exactly as it sounds, SIFT computed densely for every pixel in the image and it helps in image registration, pose estimation, object recognition, etc [2].
Resources
1) BoF imlmentation using SURF, IHOG http://www.cvc.uab.cat/~aldavert/plor/software.html
2) Texture video https://www.youtube.com/watch?v=LQBKIi-Xtbc
3) Textons http://webpages.uncc.edu/~yjaved/publications.html
4) Bag of Visual Words implementation (Functional) http://www.codeproject.com/Articles/619039/Bag-of-Features-Descriptor-on-SIFT-Features-with-O
5) Gabor filters histogram, explanation
http://stackoverflow.com/questions/20608458/gabor-feature-extraction
6) Filter Banks, Matlab Source Code
http://www.robots.ox.ac.uk/~vgg/research/texclass/filters.html
7) Texture classification using textons http://courses.media.mit.edu/2008fall/mas622j/Projects/NickLoomis/
References
[1] https://www.researchgate.net/post/What_is_the_difference_between_SIFT_and_Dense_SIFT
[2] https://www.quora.com/Computer-Vision-Is-there-a-difference-if-any-between-dense-SIFT-and-HOG
Labels:
C/C++,
Computer Vision,
Image Processing,
Linux
Friday, June 09, 2017
Self-Organizing Map (Resources)
Source code:
1) https://www.codeproject.com/Articles/21385/Kohonen-s-Self-Organizing-Maps-in-C-with-Applicati
2) https://www.codeproject.com/Articles/16273/Self-Organizing-Feature-Maps-Kohonen-maps
3) C++ Sample http://mnemstudio.org/neural-networks-som1.htm
4) GHSOM https://github.com/fffaraz/GHSOM-CPP
Yellow dots, Microdots, how to discover
Resources
1) Tutorial http://blog.erratasec.com/2017/06/how-intercept-outed-reality-winner.html
2) DocuColor Tracking Dot Decode Guide https://w2.eff.org/Privacy/printers/docucolor
Wednesday, June 07, 2017
Monday, June 05, 2017
Convert PowerPoint to EPS
When you draw some design and you like to put in your paper
1. Open your design on Powerpoint, then save as .wmf(windows meta file)
2. go to https://cloudconvert.com/anything-to-eps
3. Load you .wmf file and convert to eps
4. Download result
Thursday, May 18, 2017
Wednesday, May 10, 2017
Fiducial Land Mark (Face Keypoints)
Facial Keypoints
[1] https://github.com/sunsided/facial-keypoints
[2] kaggle https://www.kaggle.com/c/facial-keypoints-detection/data
Resources:
1) Source Code Matlab/C++
http://cmp.felk.cvut.cz/~uricamic/flandmark/
Thursday, May 04, 2017
LBP Descriptor resources
Lectures
Texture descriptor (pt) http://wiki.icmc.usp.br/images/d/d7/Dip10_imagedescription-texture.pdf
Resources
1) 2015 LBP variant library https://github.com/carolinepacheco/lbplibrary
2) University OULU http://www.cse.oulu.fi/CMV/Downloads/LBPMatlab
3) Upsala University http://www.cb.uu.se/~gustaf/textureDescriptors/
Friday, March 31, 2017
Thursday, March 23, 2017
Wednesday, March 15, 2017
OpenCV 2.4 Fix cvCreateGLCM()
Changes for cvCreateGLCM(), see [1] for more details, and [2] has code ready for recompile.
Resources/References:
[1] http://intercontineo.com/article/723743881/
[2] https://drive.google.com/open?id=0B8teK-3L4sK2Tll1Y2FyWmNCc3M
Monday, March 13, 2017
Tuesday, March 07, 2017
Saturday, March 04, 2017
Machine Learning Resources
SVM References code
[1] https://www.youtube.com/watch?v=HtdhnGp-m74
Code
[1] iris and others
http://archive.ics.uci.edu/ml/datasets.html
[2] Tutorial code for SVM/NN and DecisionTree
http://breckon.eu/toby/teaching/ml/examples/c++/handwritten_ex/
[3] Adaboost source code
https://github.com/huneng
People
[1] Sift author https://scholar.google.fr/citations?hl=en&user=PXm1lPAAAAAJ
[1] https://www.youtube.com/watch?v=HtdhnGp-m74
Code
[1] iris and others
http://archive.ics.uci.edu/ml/datasets.html
[2] Tutorial code for SVM/NN and DecisionTree
http://breckon.eu/toby/teaching/ml/examples/c++/handwritten_ex/
[3] Adaboost source code
https://github.com/huneng
People
[1] Sift author https://scholar.google.fr/citations?hl=en&user=PXm1lPAAAAAJ
Tuesday, February 21, 2017
Visualization Frameworks and tools
Resources:
[1] d3js https://d3js.org
[2] threejs + webgl https://threejs.org/examples/#webgl_interactive_cubes
[3] shadertoy https://www.shadertoy.com/
[4] palette color http://colorbrewer2.org/
Friday, February 03, 2017
Como viajar de Perú-Arequipa a Brasil-São Carlos
Técnicamente es posible, e imagino que a mayor experiencia se puede optimizar tanto tiempo como dinero.
Generalmente te colocan solo los puntos y precios, pero hay detalles que aveces te pueden hacer perder tiempo, dinero y la paciencia. Espero esta descripción les pueda ayudar.
Inicio en el terminal terrestre de Arequipa de madrugada un jueves de enero, hay varias empresas de Arequipa-Juliaca, yo usé San Roman (20 Soles) dado que es el mas seguro, aunque demora un poco 4 a 4:30hrs.
Llegando a Juliaca, una moto taxi hacia el "Terminal a Puno" lo mejor es tomar un Omnibus hacia Puno (2 Soles) 1hr. Posteriormente llegando a Puno puedes tomar un Taxi(4 Soles) al "Terminal a Desaguadero", evidentemente tienen su nombre pero asi lo indicas y el taxista comprenderá perfectamente.
Ese terminal es por demanda, es decir bus lleno, bus que parte.
De Puno a Desaguadero te cobran 8 Soles sentado, parado 5 Soles y demora unas 3hrs.
Llegando a la frontera: Aquí desembarcas del ómnibus y sigues a la gente, al pasar los segundos veras el puente de frontera y además a los cambistas en unas mesitas pequeñas yo cambie 250 Soles que hacen unos 518 Pesos Bolivianos aquel dia.
Seguidamente te diriges a Migraciones(Perú) donde debes pedir tu hojita la llenas y haces cola para sellar la salida en tu pasaporte, recomiendo llenarla en la misma fila, ya marcaban casi las 6pm, hora en la que cierran frontera normalmente.
Cruzas a pie sin problema el puente Perú-Bolivia(Adiciona una hora a tu reloj), es probable que veas policías de Bolivia ni los mires, solo sigue a la gente ni les preguntes nada, yo lo hice y me llevaron adentro a abrir mi maleta y revisar mis cosas estuve 1hr atrapado. Al entrar a territorio boliviano hay dos calles divido por un edificio(migraciones de Bolivia) el control/puesto se encuentra a la izquierda(tu izquierda). De la misma forma pides tu hojita que es verde en este caso en una ventanilla externa, la fila mas larga esa es para sellar entrada a Bolivia, así que aquí mínimo consumirás unas dos horas(paciencia).
Luego sigues en la misma dirección que ingresaste a territorio boliviano y notaras unas combis hacia la Paz, ellos te cobran 15Bs y demora unas 2hrs.
En la Paz, es posible tomar un bus hacia Santa Cruz directo o en dos tramos, aveces por el horario no encuentras, yo lo hice en dos tramos. Tomé el bus a Cochabamba(Empresa El Dorado) que salia a las 10:00pm y demoraba 8hrs a 40Bs o 70Bs, depende del servicio. Yo tomé la segunda opción, sin embargo dada la comodidad de los ómnibus la próxima vez, tomare el de 40Bs por solo 8 horas no compensa mucho pagar casi el doble.
Ya en el terminal de Cochabamba, me sorprendí ver un cajero BCP, espero funcione me quedé con las ganas de usarlo, salí del terminal a tomar desayuno un Café, Pan y Queso, literalmente es eso (es decir el queso no viene dentro del Pan) a 10Bs. Dentro del terminal hay varias empresas que van a Santa Cruz desde 70Bs+2.5Bs por uso de Terminal, demora unas 10hrs. Partí como a las 7:15am(Ojo con el horario del terminal). Y es normal hacer parada en algún restaurante a la hora del almuerzo.
Durante el camino a Santa Cruz notaras el paisaje selvático, además de los controles policiales bajaras unas dos veces(control antidrogas). Una vez llegues al terminal notarás que es absolutamente desordenado e informal sin mencionar la calor(Enero). Hay gente que toma el tren de la muerte hacia Quijarro, en mi caso cuando llegué un Viernes el tren ya había salido a la 1pm, así que decido tomar otro ómnibus que demora unas 9hrs y cuesta 80Bs hasta Quijarro.
Al llegar a Quijarro 6-7am(en Puerto Suarez), debes tomar un taxi/colectivo hacia la frontera (10 Bs), llegando vi una fila larga en migraciones del lado de Bolivia, entonces decidí caminar en el mismo sentido del puente limite en busca de las empresas de ómnibus Andorinha que hacen ruta directa Frontera-São Paulo, lo que no vi fueron unos letreros de duchas, cuando llegué no me fije y fui a un hotel 60Bs y me quedé un día en frontera(Esto fue el sábado). Si hubiera visto las duchas hacia lo propio y continuaba(para la próxima).
Una vez dormido por la mañana almorcé y fui a frontera a ver que tal estaba la fila como a las 4pm, y aún tenia tiempo por que cierran a las 5pm, hice poner el sello y solo me faltaba pasar la noche y al día siguiente cruzar la frontera.
Yo nunca imaginé que podías marcar entrada de Bolivia e ingreso a Brasil y aún así dormir en Bolivia, es decir regresar a territorio de donde ya saliste(para la próxima).
Debí levantarme a las 5am(Domingo) para formar fila, pero fui a las 7am y las consecuencias fueron 8hrs en frontera para registrar mi ingreso a Brasil + 3 botellas de agua 15Bs (5Bs/botella) y el tráfico de fila, no hable con nadie aprovechan el dialogo para meter gente lo cual extiende la fila previa a ti.
Cruzando la frontera hay un ómnibus que pasa casi a cada 45min a 3.25R, yo tomé el de las 4pm(para que se hagan idea lo que demoré). Ese bus llega a un terminal local y tienes que hacer trasbordo a otro(Cristo Redentor) que es el que te lleva al Terminal de Corumbá(sin pagar nada adicional), ya en el Terminal de Corumbá puedes usar tu cartón del Banco de Brasil si tuvieses para pagar. Intenta no comprar nada; gasté 17R en 2 salteñas(salgados) y una Fanta.
Entonces aquí ya puedes comprar tu boleto hacia Campo Grande, irónicamente la empresa dominante es Andorinha, consulta [1] para los horarios. Costo de viaje 114R y salia a las 18.30pm con una demora de 9hrs. El Terminal Rodoviario de Campo grande es agradable similar a un aeropuerto, muy bueno desde mi punto de vista hasta dormí en la bancas, no había remedio atienden desde las 5 o 6am, compré mi ticket de Campo Grande a São José de Rio Preto para las 8am a 134R con un tiempo de 11hrs de viaje. En este tramo subirán los de la Policía Federal dos veces y te preguntarán de donde vienes? a donde te diriges? por que? etc, etc.
Finalmente en el terminal de Rio Preto un lugar con mucha antigüedad, compré un ticket a São Carlos para las 11.45pm a 60R y por fin las últimas 4hrs.
Llegando a São Carlos a las 4am un amigo me recogió, aunque a esa hora ya hay bastante gente y puedes esperar a clarear para usar el transporte local también.
Referencias:
1. Andorinha (Corumbá-Campo Grande) Horarios http://www.andorinha.com/sa/
2. Cometa http://www.viacaocometa.com.br/es/
3. Cruz http://www.empresacruz.com.br/
4. Búsqueda por sistema:
4.1 https://www.buscaonibus.com.br/horario/sao-carlos/sao-jose-do-rio-preto
4.2 https://www.guichevirtual.com.br/sao-carlos-sp-v-aracatuba-sp
Generalmente te colocan solo los puntos y precios, pero hay detalles que aveces te pueden hacer perder tiempo, dinero y la paciencia. Espero esta descripción les pueda ayudar.
Inicio en el terminal terrestre de Arequipa de madrugada un jueves de enero, hay varias empresas de Arequipa-Juliaca, yo usé San Roman (20 Soles) dado que es el mas seguro, aunque demora un poco 4 a 4:30hrs.
Llegando a Juliaca, una moto taxi hacia el "Terminal a Puno" lo mejor es tomar un Omnibus hacia Puno (2 Soles) 1hr. Posteriormente llegando a Puno puedes tomar un Taxi(4 Soles) al "Terminal a Desaguadero", evidentemente tienen su nombre pero asi lo indicas y el taxista comprenderá perfectamente.
Ese terminal es por demanda, es decir bus lleno, bus que parte.
Camino Puno-Desaguadero |
De Puno a Desaguadero te cobran 8 Soles sentado, parado 5 Soles y demora unas 3hrs.
Llegando a la frontera: Aquí desembarcas del ómnibus y sigues a la gente, al pasar los segundos veras el puente de frontera y además a los cambistas en unas mesitas pequeñas yo cambie 250 Soles que hacen unos 518 Pesos Bolivianos aquel dia.
Seguidamente te diriges a Migraciones(Perú) donde debes pedir tu hojita la llenas y haces cola para sellar la salida en tu pasaporte, recomiendo llenarla en la misma fila, ya marcaban casi las 6pm, hora en la que cierran frontera normalmente.
Puente Perú-Bolivia (Vista desde desaguadero) |
Cruzas a pie sin problema el puente Perú-Bolivia(Adiciona una hora a tu reloj), es probable que veas policías de Bolivia ni los mires, solo sigue a la gente ni les preguntes nada, yo lo hice y me llevaron adentro a abrir mi maleta y revisar mis cosas estuve 1hr atrapado. Al entrar a territorio boliviano hay dos calles divido por un edificio(migraciones de Bolivia) el control/puesto se encuentra a la izquierda(tu izquierda). De la misma forma pides tu hojita que es verde en este caso en una ventanilla externa, la fila mas larga esa es para sellar entrada a Bolivia, así que aquí mínimo consumirás unas dos horas(paciencia).
Luego sigues en la misma dirección que ingresaste a territorio boliviano y notaras unas combis hacia la Paz, ellos te cobran 15Bs y demora unas 2hrs.
En la Paz, es posible tomar un bus hacia Santa Cruz directo o en dos tramos, aveces por el horario no encuentras, yo lo hice en dos tramos. Tomé el bus a Cochabamba(Empresa El Dorado) que salia a las 10:00pm y demoraba 8hrs a 40Bs o 70Bs, depende del servicio. Yo tomé la segunda opción, sin embargo dada la comodidad de los ómnibus la próxima vez, tomare el de 40Bs por solo 8 horas no compensa mucho pagar casi el doble.
Ya en el terminal de Cochabamba, me sorprendí ver un cajero BCP, espero funcione me quedé con las ganas de usarlo, salí del terminal a tomar desayuno un Café, Pan y Queso, literalmente es eso (es decir el queso no viene dentro del Pan) a 10Bs. Dentro del terminal hay varias empresas que van a Santa Cruz desde 70Bs+2.5Bs por uso de Terminal, demora unas 10hrs. Partí como a las 7:15am(Ojo con el horario del terminal). Y es normal hacer parada en algún restaurante a la hora del almuerzo.
Durante el camino a Santa Cruz notaras el paisaje selvático, además de los controles policiales bajaras unas dos veces(control antidrogas). Una vez llegues al terminal notarás que es absolutamente desordenado e informal sin mencionar la calor(Enero). Hay gente que toma el tren de la muerte hacia Quijarro, en mi caso cuando llegué un Viernes el tren ya había salido a la 1pm, así que decido tomar otro ómnibus que demora unas 9hrs y cuesta 80Bs hasta Quijarro.
Horario Tren |
Al llegar a Quijarro 6-7am(en Puerto Suarez), debes tomar un taxi/colectivo hacia la frontera (10 Bs), llegando vi una fila larga en migraciones del lado de Bolivia, entonces decidí caminar en el mismo sentido del puente limite en busca de las empresas de ómnibus Andorinha que hacen ruta directa Frontera-São Paulo, lo que no vi fueron unos letreros de duchas, cuando llegué no me fije y fui a un hotel 60Bs y me quedé un día en frontera(Esto fue el sábado). Si hubiera visto las duchas hacia lo propio y continuaba(para la próxima).
Una vez dormido por la mañana almorcé y fui a frontera a ver que tal estaba la fila como a las 4pm, y aún tenia tiempo por que cierran a las 5pm, hice poner el sello y solo me faltaba pasar la noche y al día siguiente cruzar la frontera.
Yo nunca imaginé que podías marcar entrada de Bolivia e ingreso a Brasil y aún así dormir en Bolivia, es decir regresar a territorio de donde ya saliste(para la próxima).
Quijarro - Frontera Bolivia-Brasil |
Debí levantarme a las 5am(Domingo) para formar fila, pero fui a las 7am y las consecuencias fueron 8hrs en frontera para registrar mi ingreso a Brasil + 3 botellas de agua 15Bs (5Bs/botella) y el tráfico de fila, no hable con nadie aprovechan el dialogo para meter gente lo cual extiende la fila previa a ti.
Cruzando la frontera hay un ómnibus que pasa casi a cada 45min a 3.25R, yo tomé el de las 4pm(para que se hagan idea lo que demoré). Ese bus llega a un terminal local y tienes que hacer trasbordo a otro(Cristo Redentor) que es el que te lleva al Terminal de Corumbá(sin pagar nada adicional), ya en el Terminal de Corumbá puedes usar tu cartón del Banco de Brasil si tuvieses para pagar. Intenta no comprar nada; gasté 17R en 2 salteñas(salgados) y una Fanta.
Entonces aquí ya puedes comprar tu boleto hacia Campo Grande, irónicamente la empresa dominante es Andorinha, consulta [1] para los horarios. Costo de viaje 114R y salia a las 18.30pm con una demora de 9hrs. El Terminal Rodoviario de Campo grande es agradable similar a un aeropuerto, muy bueno desde mi punto de vista hasta dormí en la bancas, no había remedio atienden desde las 5 o 6am, compré mi ticket de Campo Grande a São José de Rio Preto para las 8am a 134R con un tiempo de 11hrs de viaje. En este tramo subirán los de la Policía Federal dos veces y te preguntarán de donde vienes? a donde te diriges? por que? etc, etc.
Finalmente en el terminal de Rio Preto un lugar con mucha antigüedad, compré un ticket a São Carlos para las 11.45pm a 60R y por fin las últimas 4hrs.
Llegando a São Carlos a las 4am un amigo me recogió, aunque a esa hora ya hay bastante gente y puedes esperar a clarear para usar el transporte local también.
Referencias:
1. Andorinha (Corumbá-Campo Grande) Horarios http://www.andorinha.com/sa/
2. Cometa http://www.viacaocometa.com.br/es/
3. Cruz http://www.empresacruz.com.br/
4. Búsqueda por sistema:
4.1 https://www.buscaonibus.com.br/horario/sao-carlos/sao-jose-do-rio-preto
4.2 https://www.guichevirtual.com.br/sao-carlos-sp-v-aracatuba-sp
Subscribe to:
Posts (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
Facturador Sunat SEE SFS (Linux)
/usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar ./facturadorApp-2.1.jar server prod.yaml References: [1] Make temp certificate for test...