https://medium.com/@haztaneo/replikasi-database-postgresql-menggunakan-symmetricds-2a47adbefe24
https://www.symmetricds.org/
Jumat, 05 Juni 2020
Poorman PostgresSQL master-master replication
Senin, 25 Mei 2020
Kamis, 14 Mei 2020
Writing Android Apps In C, No Java Required
Older Android devices can be had for a song, and in many cases are
still packing considerable computational power. With built in
networking, a battery, and a big touch screen, they could easily take
the place of a Raspberry Pi and external display in many applications.
As it so happens, Google has made it very easy to develop your own
Android software. There’s only one problem: you’ve got to do it in Java.
Looking to get away from all that bloat and overhead, [CNLohr] set out to see what it would take to get 100% C code running on an Android device.
After collecting information and resources from the deepest and darkest
corners of the Internet, he found out that the process actually wasn’t
that bad. He’s crafted a makefile which can be used to get your own C
program up and running in seconds.
We mean that literally. As demonstrated in the video after the break,
[CNLohr] is able to compile, upload, and run a C Android program in
less than two seconds with a single command. This rapid development
cycle allows you to spend more time on actually getting work done, as
you can iterate through versions of your code almost as quickly as if
you were running them on your local machine.
[CNLohr] says you’ll still need to have Google’s Android Studio
installed, so it’s not as if this is some clean room implementation. But
once it’s installed, you can just call everything from his makefile and
never have to interact with it directly. Even if you don’t have any
problem with the official Android development tools, there’s certainly
something to be said for being able to write a “Hello World” that doesn’t clock in at multiple-megabytes.
https://hackaday.com/2020/05/13/writing-android-apps-in-c-no-java-required/
Boden Cross-Platform Framework
Create purely native cross-platform user experiences with Boden
Boden empowers you to create native mobile cross-platform applications from a single codebase. It uses native widgets that match the look and feel users expect from their platform.C++ Android / IOS Framework
https://www.boden.io/ (Read More..)
Kamis, 16 Januari 2020
resolusi layar
1600x1200
1600x900
1440x900
1400x1050
1366x768
1360x1024
1360x768
1280x1024
1280x960
1280x800
1280x768
1280x720
1152x864
1024x768
800x600
http://divby0.blogspot.com/2011/06/howto-get-xorgconf-to-work-w-1600x1200.html
{"command":"readcard", "type":"all"}
==================================================
# 1360x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 84.75 MHz
Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
# 1280x960 59.94 Hz (CVT 1.23M3) hsync: 59.70 kHz; pclk: 101.25 MHz
Modeline "1280x960_60.00" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
# 1280x800 59.81 Hz (CVT 1.02MA) hsync: 49.70 kHz; pclk: 83.50 MHz
Modeline "1280x800_60.00" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
# 1280x768 59.87 Hz (CVT) hsync: 47.78 kHz; pclk: 79.50 MHz
Modeline "1280x768_60.00" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
# 1152x864 59.96 Hz (CVT 1.00M3) hsync: 53.78 kHz; pclk: 81.75 MHz
Modeline "1152x864_60.00" 81.75 1152 1216 1336 1520 864 867 871 897 -hsync +vsync
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
# 800x600 59.86 Hz (CVT 0.48M3) hsync: 37.35 kHz; pclk: 38.25 MHz
Modeline "800x600_60.00" 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync
==================================================
# 4:3 aspect ratio resolutions: 640×480, 800×600, 960×720, 1024×768, 1280×960, 1400×1050, 1440×1080, 1600×1200, 1856×1392, 1920×1440, and 2048×1536.
# 16:10 aspect ratio resolutions: 1280×800, 1440×900, 1680×1050, 1920×1200, and 2560×1600.
# 16:9 aspect ratio resolutions: 1024×576, 1152×648, 1280×720 (HD), 1366×768, 1600×900, 1920×1080 (FHD), 2560×1440 (QHD), 3840×2160 (4K), and 7680 x 4320 (8K).
# 640×480,
# 800×600,
# 960×720,
# 1024×768,
# 1280×960,
# 1400×1050,
# 1440×1080,
# 1600×1200,
# 1856×1392,
# 1920×1440,
# 2048×1536
# 1280×800,
# 1440×900,
# 1680×1050,
# 1920×1200,
# 2560×1600.
# 1024×576,
# 1152×648,
# 1280×720 (HD),
# 1366×768,
# 1600×900,
# 1920×1080 (FHD),
# 2560×1440 (QHD),
# 3840×2160 (4K),
# 7680 x 4320 (8K).
xrandr --newmode "1600x1200_virt" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
xrandr --newmode "1600x900_virt" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
xrandr --newmode "1440x900_virt" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --newmode "1400x1050_virt" 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync
xrandr --newmode "1368x768_virt" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
xrandr --newmode "1360x1024_virt" 115.00 1360 1448 1584 1808 1024 1027 1037 1063 -hsync +vsync
xrandr --newmode "1360x768_virt" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
xrandr --newmode "1280x1024_virt" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --newmode "1280x960_virt" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
xrandr --newmode "1280x800_virt" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync
xrandr --newmode "1280x768_virt" 79.50 1280 1344 1472 1664 768 771 781 798 -hsync +vsync
xrandr --newmode "1280x720_virt" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
xrandr --newmode "1152x864_virt" 81.75 1152 1216 1336 1520 864 867 871 897 -hsync +vsync
xrandr --newmode "1024x768_virt" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
xrandr --newmode "800x600_virt" 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync
xrandr --addmode DVI-0 "1600x1200_virt"
xrandr --addmode DVI-0 "1600x900_virt"
xrandr --addmode DVI-0 "1440x900_virt"
xrandr --addmode DVI-0 "1368x768_virt"
xrandr --addmode DVI-0 "1360x1024_virt"
xrandr --addmode DVI-0 "1360x768_virt"
xrandr --addmode DVI-0 "1280x1024_virt"
xrandr --addmode DVI-0 "1280x960_virt"
xrandr --addmode DVI-0 "1280x800_virt"
xrandr --addmode DVI-0 "1280x768_virt"
xrandr --addmode DVI-0 "1280x720_virt"
xrandr --addmode DVI-0 "1152x864_virt"
xrandr --addmode DVI-0 "1024x768_virt"
xrandr --addmode DVI-0 "800x600_virt"
Kamis, 12 Desember 2019
Senin, 10 Juni 2019
Jumat, 19 April 2019
Rabu, 30 Januari 2019
Sabtu, 26 Januari 2019
Rabu, 26 Desember 2018
Senin, 24 Desember 2018
Hacking Android app with Frida
Minggu, 23 Desember 2018
Computer Science - Math Programming
https://jeremykun.com/main-content/
Art, Graphics, and Procedural Generation
Low-Complexity ArtRandom Psychedelic Art
Seam-carving for Content-Aware Image Scaling
The Cellular Automaton Method for Procedural Cave Generation
Bezier Curves and Picasso
Making Hybrid Images
Signal Processing
The Two-Dimensional Fourier Transform and Digital Watermarking
Making Hybrid Images
The Welch-Berlekamp Algorithm for Correcting Errors in Data
Machine Learning and Data Mining
K-Nearest-Neighbors and Handwritten Digit ClassificationThe Perceptron, and All the Things it Can’t Perceive
Decision Trees and Political Party Classification
Neural Networks and the Backpropagation Algorithm
K-Means Clustering and Birth Rates
Linear Regression
Eigenfaces, for Facial Recognition (via Principal Component Analysis)
Bandit Learning: the UCB1 Algorithm
Bandit Learning: the EXP3 Algorithm
Bandits and Stocks
Weak Learning, Boosting, and the AdaBoost Algorithm
Fairness in machine learning (introduction, statistical parity)
The Johnson-Lindenstrauss Transform
Singular Value Decomposition (motivation, algorithms)
Support Vector Machines (inner products, primal problem, dual problem)
Graphs and Network Science
Trees and Tree Traversal
Breadth-First and Depth-First Search
The Erdős-Rényi Random Graph
The Giant Component and Explosive Percolation
Zero-One Laws for Random Graphs
Community Detection in Graphs, a Casual Tour
Google’s PageRank Algorithm:
Introduction,
A First Attempt,
The Final Product,
Why It Doesn’t Work Anymore
Combinatorial Optimization
Linear Programming and Healthy Diets Part 1
Linear Programming and the Simplex Algorithm
Linear Programming and Healthy Diets Part 2
The Many Faces of Set Cover
Algorithmic Game Theory
Quantum Computing
The Quantum Bit
Multiple Qubits and the Quantum Circuit
Concrete Examples of Quantum Gates
Cryptography
Elliptic Curves as Algebraic Structures
Elliptic Curves as Python Objects (over the rational numbers)
Programming with Finite Fields
Connecting Elliptic Curves with Finite Fields
Elliptic Curve Diffie-Hellman
Sending and Authenticating Messages with Elliptic Curves (Shamir-Massey-Omura and ElGamal)
The Mathematics of Secret Sharing
Zero Knowledge Proofs (primer, zero knowledge proofs for NP, definitions and theory)
Streaming and Sublinear Algorithms
Natural Language
Computational Category Theory
Categories, What’s the Point?
Introducing Categories
Categories as Types
Properties of Morphisms
Universal Properties
Functoriality
The Universal Properties of Map, Fold, and Filter
Computational Topology
Games
Turing Machines and Conway’s DreamsConway’s Game of Life in Conway’s Game of Life
Optimally Stacking the Deck: Kicsi PokerOptimally Stacking the Deck: Texas Hold ‘EmWant to make a great puzzle game? Get inspired by theoretical computer science.
Miscellaneous
Hunting Serial Killers
Learning to Love Complex Numbers
Holidays and Homicide
Numerical Integration
Busy Beavers, and the Quest for Big NumbersRow Reduction over a Field
Complete Sequences and Magic Tricks
Well Orderings and Search
Education
Learning Programming – Finger-Painting and Killing Zombies
How to Take a Calculus Test
Why There’s no Hitchhiker’s Guide to Mathematics
Deconstructing the Common Core Mathematical Standard