Sunday, January 27, 2019
Ubuntu 18 add Samba
References:
[1] https://websiteforstudents.com/samba-setup-on-ubuntu-16-04-17-10-18-04-with-windows-systems/
Thursday, January 17, 2019
Monday, January 14, 2019
Ubuntu Memory type ddr2 ddr3
$ sudo dmidecode --type 17
$ sudo lshw -short -C memory
From [1]
DDR1: 2.5 V, 133–200 MHz
DDR2: 200–400 MHz
DDR3: 1.5 V, 400–800 MHz (up to 1400 MHz for super-high-end)
DDR4: 1.2 V, 2133–4266 MHz
For example: if shows up in lshw -short -C memory
as simply 16GiB DIMM Synchronous 2133 MHz (0.5 ns)
. The MHz rating indicates that it's almost certainly DDR4. References:
[1] memory types http://en.wikipedia.org/wiki/Synchronous_dynamic_random-access_memory#Generations_of_SDRAM
[2]
Tuesday, January 08, 2019
Ubuntu upgrade from i386 to x86_64
Wednesday, December 19, 2018
Wednesday, December 12, 2018
Tuesday, December 04, 2018
Tensor resources
References:
[1] Tensor decomposition https://www.slideshare.net/panisson/tensor-decomposition-with-python
[2] Tensores (sp) http://bibing.us.es/proyectos/abreproy/12082/fichero/Cap%C3%ADtulo3.pdf
Friday, November 30, 2018
Ubuntu 16 OpenCV 2.4
./configure --enable-nonfree --enable-pic --enable-shared
Download ffmpeg and build 3.4.5, 3.2.12 or 4.0 and try to compile opencv doesn't help, then
Final solution: disable ffmpeg
$cmake -D WITH_CUDA=OFF -D WITH_FFMPEG=0 ..
$make
That compile opencv 2.4.x and 3.4.x
References:
[1] Error sys/videoio.h not found problem http://yutopapa.hatenadiary.com/entry/2017/06/08/173149
Tuesday, November 27, 2018
ASP.NET MVC Mono
.Net Framework 4.5.2 using project properties
Mysql.Data.Entity using NuGet(6.10.8)
Setup Web.config
Fix version of entry System.Web.Mvc.MvcWebRazorHostFactory at views/Web.config
Classes
//Ado
using System;
using System.Data.Entity;
using MySQLEntity.Models;
namespace MySQLEntity.Entity
{
public class MyDb : DbContext
{
public MyDb() : base("ferredb")
//public MyDb() : base(nameOrConnectionString: "ferredb")
{
}
public DbSet
}
}
//Entity
using System;
//Added
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace MySQLEntity.Models
{
[Table("Users")]
public class Usuario
{
[Key]
public string usuario { get; set; }
public string apenom { get; set; }
}
}
Controller Snippet code
public ActionResult Index()
{
MyDb db = new MyDb();
var Model=db.Usuarios.ToList();
return View(Model);
}
View Snippet code
@foreach (var item in Model)
{
<div> @item.usuario @item.apenom </div>
Action results
References:
[1] MySQL EntityFramework web.config https://iyalovoi.wordpress.com/2015/04/06/entity-framework-with-mysql-on-mac-os/
[2] Action results
https://www.c-sharpcorner.com/article/different-types-of-action-results-in-asp-net-mvc/
[3] ViewBag better than DataView http://www.tutorialsteacher.com/mvc/viewbag-in-asp.net-mvc
Monday, November 26, 2018
mySQL Develop Optimization
Select * from MOVPRO where fecmov>='2018-11-25' and tipmov='S'
EXPLAIN Select * from MOVPRO where fecmov>='2018-11-25' and tipmov='S'
CREATE INDEX MOVPRO_fecmov_tipmov_index ON MOVPRO (fecmov,tipmov)
References:
[1] faster using indexes https://blog.nodeswat.com/making-slow-queries-fast-with-composite-indexes-in-mysql-eb452a8d6e46
python3 using mysql connection
$pip3 install mysql-connector-python --user
from mysql.connector import (connection)
cnx=connection.MySQLConnection(user='user', password='*******',
host='ip', database='db')
cnx.close()
Resources:
[1] https://dev.mysql.com/doc/connector-python/en/connector-python-installation.html
API Testing
References
[1] postman https://steelkiwi.com/blog/api-testing-useful-tools-postman-tutorial-and-hints/
Water Simulation
[1] 2D SPH https://github.com/tizian/SPH-Water-Simulation
$sudo apt-cache search sfml
$sudo apt-get install libsfml-dev
#change for's
$make
$./sph
[2] WebGL water simulation https://experiments.withgoogle.com/webgl-water-simulation
[3] Google webgl https://experiments.withgoogle.com/search?q=fluid
[3.1] http://david.li/fluid/
[3.2] http://madebyevan.com/webgl-water/
[4] 3D Simulation/Animation/Fluids and more https://www.fetchcfd.com/search-projects/type/cfd
Related:
[1] Stanford su2 https://su2code.github.io/
[2] Multiple Interacting Fluids https://www.yiningkarlli.com/projects/multifluid.html
SĆ£o Carlos to Guarulhos
1) Expensive alternative
SĆ£o Carlos - SP to RodoviĆ”ria TietĆŖ, SĆ£o Paulo - SP 66.53R
https://passagemcometa.com.br
SĆ£o Carlos - SP to RodoviĆ”ria TietĆŖ, SĆ£o Paulo - SP 66.55R
http://www.empresacruz.com.br
SĆ£o Paulo - TietĆŖ - SP to Aeroporto de Guarulhos 37.00R
http://www.airportbusservice.com.br/
2) Cheap alternative
SĆ£o Carlos - SP to Campinas - SP 40.53R
https://passagemcometa.com.br
SĆ£o Carlos - SP to Campinas - SP 40.55R
http://www.empresacruz.com.br
Campinas-SP to Aeroporto de Guarulhos-SP 42.75R
https://www.buscaonibus.com.br
Thursday, November 15, 2018
English Tools
English test - Duolingo
[1] https://englishtest.duolingo.com/applicants
Lessons
[1] https://webapps.towson.edu/ows/activepass.htm
e-Books
[1] http://www.kosstu.kz/static/uploads/library/gumanitar/english/g-e-91.pdf
http://www.kosstu.kz/static/uploads/library/gumanitar/english/
[2] English Grammar In Use for Raymond Murphy. https://golammartoza.files.wordpress.com/2016/02/english-grammar-in-use-intermediate001.pdf
Online grammar
[1] http://www.gingersoftware.com/grammarcheck
[2] http://www.grammarcheck.net/editor/
Aditional helps
[1] https://www.websiteplanet.com/blog/talking-aloud-talking-allowed-watch-write-make-sure-right/
[2] For Presentation
[2.1] Presentation Skills for Scientists
Thursday, November 08, 2018
Tuesday, October 30, 2018
Thursday, October 11, 2018
Filtering
References:
[1] http://cattedraledigitale.isti.cnr.it
2012 Bilateral filters https://onlinelibrary.wiley.com/doi/full/10.1111/j.1467-8659.2011.02078.x
[2] http://files.is.tue.mpg.de/pgehler/assets/publications/jampani16learning/jampani16learning.pdf
[3] https://zapdf.com/fast-high-dimensional-filtering-using-clustering.html
[6] http://www.inf.ufrgs.br/~oliveira/students_dissertations/PhD/Eduardo_Gastal_PhD_Dissertation.pdf
[7] https://is.tuebingen.mpg.de/uploads_file/attachment/attachment/259/0766_cameraready.pdf
[8] http://www.scitepress.org/Papers/2016/57151/57151.pdf
[9] http://vision.ai.illinois.edu/publications/yangijcv2015.pdf
http://openaccess.thecvf.com/content_cvpr_2018/papers/Wu_Fast_End-to-End_Trainable_CVPR_2018_paper.pdf
http://perso.ensta-paristech.fr/~manzaner/Publis/icpr10.pdf
http://www.cs.cityu.edu.hk/~rynson/papers/tcsvt16a.pdf
https://arxiv.org/pdf/1505.00077.pdf
https://fukushima.web.nitech.ac.jp/paper/2016_visapp_fujita.pdf
http://www.riken.jp/brict/Yoshizawa/Papers/cgf09yby.pdf
High-dimensional integration without Markov chains, Alexander gray
https://www.cs.ubc.ca/~nando/nipsfast/slides/high.pdf
Fast edge-preserving/-aware high dimensional filters for image & video processing https://www.slideshare.net/yuhuang/fast-edge-preservingaware-high-dimensional-filters-for-image-video-processing
Aditional
[1] Parallel methods for Numeric Analysis http://adl.stanford.edu/cme342/Home.html
[2] Fast Multipole Methods https://www.math.uci.edu/~chenlong/MathPKU/FMMsimple.pdf
Resources
[1] ImageStack https://code.google.com/archive/p/imagestack/
https://github.com/abadams/imagestack
[2] RGBD Utils, use ImageStack https://github.com/s-gupta/rgbdutils
[3] Recursive bilateral filtering https://github.com/ufoym/RecursiveBF
./rbf girl_out.bmp girl.bmp 0.1 0.04
file https://media.macphun.com/img/uploads/uploads/macphun/noiseless/nl_slider_1_b.jpg
[4] Bilateral grid http://groups.csail.mit.edu/graphics/bilagrid/
[5] Bilateral upsampling http://people.csail.mit.edu/jiawen/
Python tools
[1] ndimage 3D convolution https://docs.scipy.org/doc/scipy-0.16.0/reference/ndimage.html
Friday, September 28, 2018
video face fake
Resources:
[1] Original article (pt) https://medium.com/ensina-ai/deep-fakes-ao-vivo-que-tal-entrar-em-uma-video-confer%C3%AAncia-com-o-rosto-de-outra-pessoa-92fc8c2d5726
[2] source code using docker https://github.com/alew3/faceit_live
Monday, September 24, 2018
opengl compile error
https://github.com/MarcusMathiassen/P2D
$g++ Circle.cpp getTime64.cpp Process.cpp Utility.cpp Color.cpp hwinfo.cpp Inputs.cpp Quadtree.cpp Vec2.cpp Config.cpp main.cpp Rect.cpp FixedGrid.cpp Node.cpp Render.cpp -I ../include/ -lGL -lglut -lGLU -lGLEW -lpthread -lX11 -lglfw -o q5
error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory
$sudo apt-get install libglew-dev
$locate libGLEW.so.2.1
...
/usr/lib64/libGLEW.so.2.1.0
/usr/local/lib/libGLEW.so.2.1
/usr/local/lib/libGLEW.so.2.1.0
...
...
sudo vi /etc/ld.so.conf.d/glew.conf
/usr/local/lib
$sudo ldconfig
Resources:
[1] https://sourceforge.net/projects/glew/files/glew/snapshots/
-
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/...
Odoo 17 - Custom adds
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal