07 Nov 2026
06 Nov 2026
Penyadapan Presiden Bukan Hal Baru: Menelusuri Jejaknya dari Watergate hingga Istana
Mahyuddin Susanto
05 Nov 2026
27 Feb 2025
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (76.1-1) breaks dependency 'libicui18n.so=75-64' required by electron30
:: installing icu (76.1-1) breaks dependency 'libicuuc.so=75-64' required by electron30
:: installing flac (1.5.0-1) breaks dependency 'libFLAC.so=12-64' required by electron30
Resolution
To quick fixing the issue above, we just need to remove electron30 package.
$ sudo pacman -Rs electron30
After that, we can do full update the system again
$ sudo pacman -Syu
Reference:
https://bbs.archlinux.org/viewtopic.php?id=303573
12 Journaling Practices That Will Clear Your Mind and Boost Your Creativity (You Need to Try #6!)
Darmanex
In a world overflowing with distractions, finding clarity and creativity can feel impossible. Journaling has emerged as a powerful tool for personal development, allowing individuals to navigate their thoughts and emotions while unlocking their creative potential. This listicle explores twelve transformative journaling practices designed to enhance mental clarity and encourage self-reflection. Whether you're a seasoned journaler or just starting out, there’s something here for everyone.
Imagine a cozy writing nook filled with sunlight, surrounded by potted plants, an open notebook with a beautiful cover, and a steaming mug of tea on a wooden table. The scene is inviting, evoking a sense of peace and creativity, perfect for journaling.
1. Morning Pages: A Daily Brain Dump
Start your day by writing three pages of stream-of-consciousness thoughts. This practice, known as Morning Pages, helps clear mental clutter and opens the door to creative insights. Don’t worry about grammar or structure; simply let your thoughts flow. Over time, this exercise unveils patterns in your thinking, allowing for deeper self-reflection and clarity in your day-to-day life.
Visualize a serene morning scene with sunlight streaming through a window, illuminating a messy desk where a hand-written page fills the frame with scribbled thoughts and doodles, a steaming cup of coffee beside it, embodying the essence of a fresh start.
2. Gratitude Journaling: Cultivating Positivity
Gratitude journaling involves listing things you are thankful for, creating a positive mindset that can significantly enhance your mental clarity. This practice encourages you to focus on the good in your life, shifting your perspective away from negativity. By regularly acknowledging your blessings, you foster resilience and creativity, as your mind becomes more attuned to opportunities and solutions.
Picture an elegant journal open to a page filled with beautifully penned gratitude notes, surrounded by fresh flowers and a calming candle. The scene radiates warmth, inviting you to reflect on and appreciate the little joys in life.
3. Bullet Journaling: Organize and Inspire
Bullet journaling is a customizable planning method that combines organization with creativity. It's a versatile system where you can track your tasks, goals, and ideas in a visually appealing way. This practice not only fosters mental clarity by organizing your thoughts but also allows for artistic expression with doodles and color coding, making planning enjoyable.
Imagine a vibrant bullet journal open to a colorful spread filled with doodles, monthly goals, and beautifully drawn headers. The layout showcases a mixture of creativity and structure, with colorful washi tapes and markers scattered around, igniting inspiration.
4. Dream Journaling: Unlocking Your Subconscious
Dream journaling is a powerful practice that allows you to capture dreams as soon as you wake. This technique helps in understanding your subconscious mind, revealing insights about your emotions and desires. By documenting your dreams, you can gain clarity and inspire creativity, as dreams often carry unique ideas and symbols that can fuel your artistic endeavors.
Visualize a bedside table adorned with a dream journal, open to a page filled with scribbled notes about the previous night’s dreams. A soft, inviting bed and a small lamp cast a warm glow, creating a tranquil atmosphere perfect for reflecting on nighttime visions.
5. Creative Writing Prompts: Fuel Your Imagination
Using creative writing prompts can break through mental blocks and ignite your imagination. These prompts encourage you to think outside the box and can lead to unexpected insights. By allowing your creativity to flow without judgment, you create space for innovative ideas to emerge, enhancing both self-reflection and artistic expression.
Picture a writing desk filled with various creative writing prompts printed on colorful cards, surrounded by a notepad filled with ideas and sketches. The scene is lively, filled with inspiration and endless possibilities, inviting you to pick a prompt and start writing.
6. Mind Mapping: Visualize Your Thoughts
Mind mapping is an innovative technique that helps visualize connections between ideas, facilitating clearer thinking. This practice allows you to organize your thoughts in a free-flowing format, making it easier to explore relationships between concepts. By visually mapping your ideas, you enhance your mental clarity and can uncover creative solutions to challenges you may face.
Imagine a large sheet of paper spread out on a table, filled with colorful mind maps connecting various thoughts and ideas. Markers and highlighters are scattered around, showcasing the vibrant, dynamic process of brainstorming. The ambiance is energetic and full of potential, inviting you to explore new concepts.
7. Reflective Journaling: Deepen Your Understanding
Reflective journaling involves writing about significant experiences and emotions, allowing for deeper self-understanding. This practice encourages you to analyze your thoughts and reactions, leading to greater mental clarity. By reflecting on your experiences, you cultivate a richer perspective on life, which can inspire creativity and personal growth.
Visualize a peaceful outdoor setting with a journal resting on a picnic blanket, open to a page filled with reflections on personal experiences. The serene environment with nature in the background enhances the reflective process, inviting contemplation and insight.
8. Art Journaling: Express Without Words
Art journaling combines writing with visual art, enabling you to express your emotions in a multifaceted way. This practice allows for creativity to blossom as you incorporate drawings, paintings, or collages alongside your written words. Art journaling not only nurtures mental clarity but also serves as a therapeutic outlet for self-expression.
Picture an art journal open to a colorful page filled with vibrant paintings and expressive doodles, accompanied by handwritten thoughts. Brushes and paints scattered around create an artistic mess that reflects the joy of creative exploration, inviting you to unleash your inner artist.
9. Affirmation Journaling: Empower Your Mind
Affirmation journaling involves writing positive affirmations that reinforce your self-worth and capabilities. This practice helps counteract negative thoughts, fostering a more empowering mindset. By regularly affirming your strengths and abilities, you enhance your self-reflection process and boost your overall creativity and mental clarity.
Visualize an elegant journal page filled with beautifully written affirmations, surrounded by inspiring quotes and vibrant colors. The uplifting environment radiates positivity, making it an ideal space for self-empowerment and creative thinking.
10. Travel Journaling: Capture Your Adventures
Travel journaling allows you to document your adventures, experiences, and reflections while exploring new places. This practice encourages you to engage with your surroundings and enhances your creativity by capturing memories in writing and visuals. Reflecting on your travels can provide mental clarity and inspire new ideas for future adventures.
Imagine an open travel journal adorned with sketches of landmarks, photographs, and handwritten notes about a recent trip. A scenic view in the background enhances the wanderlust feeling, inviting you to embark on your next journey.
11. Goal Setting Journaling: Chart Your Path
Goal setting journaling is a proactive practice that involves writing down your aspirations and breaking them into actionable steps. This method enhances mental clarity by providing a clear roadmap for achieving your dreams. By regularly revisiting and adjusting your goals, you foster self-reflection and maintain motivation to unleash your creativity.
Visualize a journal page filled with neatly written goals, accompanied by colorful charts and progress trackers. The structured yet artistic layout inspires action and clarity, creating an environment that motivates you to pursue your dreams.
12. Collaborative Journaling: Share and Inspire
Collaborative journaling involves sharing your journal with others, encouraging dialogue, and inspiring each other’s creativity. This practice fosters community and connection, enhancing mental clarity through shared experiences and insights. By collaborating, you not only reflect on your own thoughts but also gain new perspectives that can fuel your creativity.
Picture a group of friends gathered around a table, each with their own journal, sharing ideas and insights. The scene is filled with laughter and creativity, showcasing the beauty of collaboration and the richness it brings to the journaling experience.
Conclusion
Incorporating these journaling practices into your daily routine can lead to profound transformations in mental clarity, self-reflection, and creativity. By exploring different styles and techniques, you’ll discover which resonates with you and your unique journey. So, grab your favorite journal and start experimenting with these practices today.
Visualize a cozy writing space filled with various journals, pens, and art supplies, all inviting you to embark on your journaling adventure. The ambiance is warm and welcoming, creating a perfect environment for self-discovery and creative exploration.
19 Jan 2025
Secara singkat, Burp Suite adalah alat keamanan aplikasi web yang sering digunakan untuk pengujian penetrasi dan analisis keamanan aplikasi web. Dikembangkan oleh PortSwigger, alat ini memberikan berbagai fitur untuk membantu mengidentifikasi kerentanan dan eksploitasi dalam aplikasi web. Burp Suite biasanya digunakan oleh pentester, ethical hacker, dan security engineer untuk memastikan keamanan aplikasi web sebelum dirilis atau dalam proses perbaikan keamanan. Burp Suite menawarkan versi Community Edition dan Professional Edition. Saya sendiri cukup sering menggunakan Burp Suite untuk keperluan pentesting aplikasi web, dan cukup terbantu dengan adanya fitur-fitur yang ditawarkan pada Burp Suite.
MasalahKetika menjalankan aplikasi Burp Suite pada sitem operasi yang saya gunakan, terdapat error seperti berikut:
Error: LinkageError occurred while loading main class burp.StartBurp
java.lang.UnsupportedClassVersionError: burp/StartBurp has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Seperti yang kita ketahui, bahwa Burp Suite ini adalah aplikasi berbasis java, jadi ketika ingin menjalankan Burp Suite kita harus memasang perangkat lunak Java.
Jika saya cek versi java pada sistem operasi saya adalah sebagai berikut:
Perbaikan
Untuk mengatasi masalah seperti yang ditunjukkan diatas ketika menjalankan Burp Suite, caranya cukup mudah. Pada kasus saya ini, karena saya menggunakan sistem operasi Arch Linux, saya cukup memasang Java versi jdk21-openjdk, dengan menjalankan perintah berikut:
$ sudo pacman -S jdk21-openjdk
Kemudian kita set java-nya, agar menggunakan versi java yang baru saja kita pasang dengan perintah:
$ sudo archlinux-java set java-21-openjdk
Kita cek kembali versi java yang baru saja kita set
Kesimpulan
Dengan melakukan perubahan versi pada java yang saya gunakan, saya sudah dapat menjalankan Burp Suite tanpa ada masalah seperti sebelumnya.
13 Jan 2025
a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD) which currently runs on IA-32, x86-64, ARM, PowerPC and RISC-V based computers. The first version was released in 1993 developed from 386BSD. The first fully functional and free Unix clone and has since continuously been the most commonly used BSD-derived operating system.Pada artikel ini, saya akan melakukan upgrade sistem operasi FreeBSD, karena home server yang saya gunakan masih menggunakan versi FreeBSD yang tidak di support lagi atau sudah masuk dalam daftar EOL dates.
- pastikan melakukan backup data-data
- backup file konfigurasi-konfigurasi pada server seperti /boot/loader.conf, /etc/rc.conf, etc
Perbarui Sistem
# freebsd-update fetch
# freebsd-update install
Dan tidak lupa, saya juga meng-update paket-paket yang sudah terpasang sebelumnya
# pkg update
# pkg upgrade# pkg install screen
Kemudian jalankan perintah berikut untuk memulai upgrade sistem FreeBSD
# freebsd-update upgrade -r 14.2-RELEASE
Pada proses upgrade ke versi 14.2 akan melakukan download semua patch pada rilis tersebut. Karena ini akan membutuhkan waktu, silakan ditunggu saja prosesnya sampai selesai. # freebsd-update install
Hal wajib yang harus dilakukan setelah update sistem, lakukan reboot pada server untuk mendapatkan kernel baru yang sudah update
# shutdown -r now
Jika sistem sudah selesai reboot dan up, remote kembali server FreeBSD dan jalankan lagi perintah
# freebsd-update install
Rebuild paket
Setelah proses update selesai, lakukan rebuild paket-paket binary
# pkg update
# pkg upgrade
Langkah terakhir, jalankan update install sekali lagi dan reboot
# freebsd-update install
# shutdown -r now
Upgrade selesai
Kemudian cek kembali pada sistem dengan remote ke server FreeBSD untuk memastikan proses upgrade FreeBSD ke versi 14.2 telah selesai.
# freebsd-version
Referensi:
https://www.freebsd.org/releases/14.2R/installation/
10 Jan 2025
Syarat minimum yang dibutuhkan
- 2 CPUs atau lebih
- 2GB free memory
- 20GB free disk space
- Koneksi internet
Memasang software pendukung
$ sudo pacman -S virtualbox
$ sudo pacman -S minikube
$ sudo pacman -S kubectl
Setelah semua software pendukung sudah dipasang, kita tinggal menjalankan minikube pada terminal
$ minikube start
Kemudian kita cek untuk memastikan apakah minikube sudah berjalan pada komputer lokal kita
$ VBoxManage list runningvms
Deploy aplikasiSelanjutnya kita dapat membuat sebuah service dengan menjalankan perintah berikut.
Membuat deployment app dan expose ke port 8080
$ kubectl create deployment my-app --image=kicbase/echo-server:1.0
$ kubectl expose deployment my-app --type=NodePort --port=8080
Kemudian cek apakah service my-app sudah up
$ kubectl get svc my-app
Untuk mengakses service yang baru saja di deploy, kita dapat melakukan port forwarding seperti berikut
$ kubectl port-forward svc/my-app 8180:8080
Service yang baru saja kita deploy dapat diakses melalui http://localhost:818009 Jan 2024
Dart is a programming language developed by Google. It is designed for building web, mobile, and server applications. Dart is known for its focus on simplicity, productivity, and performance. Dart can connect to various types of databases through different libraries and packages. The choice of database depends on the specific requirements of your project.
The problem is, mostly guidelines that available in Youtube or websites explain about connecting database inside frameworks like Flutter or Aqueduct. It’s common to use the database solutions that are well-supported and integrated with those frameworks but you need also a high hardware resource. I still can’t find a website explain about how to connect Dart outside the framework.
So, I will explain in this article about it. I assume that you’ve already familiar with MySQL dan Dart. I use Dart SDK version: 3.1.5 (stable) (Tue Oct 24 04:57:17 2023 +0000) on “windows_x64” and mysql Ver 15.1 Distrib 10.4.28-MariaDB, for Win64 (AMD64), source revision c8f2e9a5c0ac5905f28b050b7df5a9ffd914b7e7.
I’m sure you are questioning why I wrote the code in Windows instead of Linux. Actually, dart and Xampp can run both in Windows and Linux. And the moment, I’m in the middle of working with Visual Code in Windows, so why not.
Step 1. Create a new user, make a database and table in MySQL.
When I use ‘root’ user that has no password, it didn’t work. So I create a new user because I don’t want to change the default configuration in MySQL. You can create your own database.


Step 2.Download the MySQL library in Dart.
Open file pubspec.yaml, add
dependencies: mysql1: ^0.19.0

On the terminal, type:
c:\> dart pub get Resolving dependencies... (1.1s) js 0.6.7 (0.7.0 available) lints 2.1.1 (3.0.0 available) mysql1 0.19.2 (0.20.0 available) web_socket_channel 2.4.0 (2.4.1 available) Got dependencies! c:\>
Step 3. Write the dart code.
import 'package:mysql1/mysql1.dart';
Future createConnection() async {
final MySqlConnection connection = await MySqlConnection.connect(ConnectionSettings(
host: 'localhost',
port: 3306,
user: 'testing',
db: 'contact',
password:'testing'
));
return connection;
}
Future fetchData() async {
final MySqlConnection connection = await createConnection();
Results results = await connection.query('SELECT * FROM person');
for (var row in results) {
print('${row['id']}'
'${row['name']}'
'${row['mobile']}'
'${row['category']}'
'${row['city']}');
}
}
void main() {
fetchData();
}
Run and the output will be:
C:\bin> dart run .\temp.dart 1Michael Angelo0812-12341234FriendJakarta 2Natalia0811-321321FriendJakarta 3Andri0815-33334444vseafoodBogor 4Mike0815-33334444vfoodBogor C:\bin>
You can modify the output to make it more nice to see.
import 'package:mysql1/mysql1.dart';
Future createConnection() async {
final MySqlConnection connection = await MySqlConnection.connect(ConnectionSettings(
host: 'localhost',
port: 3306,
user: 'testing',
db: 'contact',
password:'testing'
));
return connection;
}
Future fetchData() async {
final MySqlConnection connection = await createConnection();
Results results = await connection.query('SELECT * FROM person');
//----------------------------------------------------------
//Pengaturan agar tabulasi kolom bisa disesuaikan dengan
//panjang character di dalam data kolom.
int Lid= 3; //panjang id 34=9999 kontak)
int Lname= 25;
int Lmobile = 15;
int Lcategory=20;
int Lcity=20;
//cetak header
var baris='-';
print(baris*70);
print("ID${' '*(Lid-2)}Name${' '*(Lname-2)}Mobile${' '*(Lmobile-5)}Category${' '*(Lcategory-13)} City${' '*(Lcity-2)}");
print(baris*70);
//panjang character data di database
int Lrec_id,Lrec_name,Lrec_mobile,Lrec_category,Lrec_city;
//----------------------------------------------------------
//Print out table
for (var row in results) {
Lrec_id=row['id'].toString().length; //hitung panjang data id
Lrec_name=row['name'].toString().length; //hitung panjang data name
Lrec_mobile=row['mobile'].toString().length; //hitung panjang data mobile
Lrec_category=row['category'].toString().length; //hitung panjang data category
Lrec_city=row['city'].toString().length; //hitung panjang data city
print('${row['id']}${' '*(Lid-Lrec_id+1)}' //kurangi panjang field dgn panjang data
'${row['name']}${' '*(Lname-Lrec_name+1)}'
'${row['mobile']}${' '*(Lmobile-Lrec_mobile+1)}'
'${row['category']}${' '*(Lcategory-Lrec_category-4)}'
'${row['city']}${' '*(Lcity-Lrec_city+2)}');
}
print(baris*70);
await connection.close();
//----------------------------------------------------------
}
void main() {
fetchData();
}

06 Dec 2023
18 Nov 2023
Visualizing trigonometric graphs using Python can be done with the help of various libraries, such as Matplotlib and NumPy. These libraries provide powerful tools for numerical operations and creating high-quality plots. In this introduction, I’ll walk you through the basic steps to visualize trigonometric functions using Matplotlib.
import matplotlib.pyplot as plt
import numpy as np
from math import radians
x=np.arange(0,360,1)
y1=np.sin(np.radians(x))
y2=np.cos(np.radians(x))
plt.title('Trigonometric Graphics')
plt.grid()
plt.xlabel('x')
plt.ylabel('y')
plt.plot(x,y1,label='y=sin(x)')
plt.plot(x,y2,label='y=cos(x)')
plt.legend()
plt.show()


12 Oct 2023
21 Aug 2023
Builing an IT infrastructure is an important process for supporting company efficiency. It has to be a well-planned system. If it works optimally the company can reduce costs and even help increase the productivity of the business.
However, the standard procedure may vary depending on the specific requirements, size of the building, and the complexity of the network.
Below are the general outline of the steps.
1.Need Assessment
This is the most important step. You have to know the client’s need. You have to determine the networks requirements and objectives for the building. How many users that will use the system, types of devices, bandwidth requirements, coverage areas dan future scalability because the company may have plans for expansion.
There are few criteria must be fulfilled when you setup an IT Infrastructure.
2.Network design
The next step is network design. You have to plan the placement of networking equipment, such as routers, switches, and wireless access points. There are few consider factors:
-limited space on the corner, you may have to use a mounted rack that provide access to devices both from the front and rear, cabling requirements, network segmentation
and location of the server rooms.
1.Zero Latency
Latency can be interpreted as the time needed to move data from one place to another. Each device can have different latency depending on the level of network quality it has. Inappropriate router or switches can cause latency.
2.Zero Downtime
Any downtime will interfere with the company’s operational activities.That’s why proper installation and infrastructure are very important.
3.Capacity storage
Storage system that can deliver superior performance.
4.Virtualization
Virtualization has benefits as follows:
-energy saving (no hardware)
-faster server provision (deployment is faster)
-improved disaster recovery (replication can be done easily)
5.Security
Security is one of the most important in having the ideal IT infrastructure. The main role of security system is to remove any vulnerable and put the system into optimized status.
3.Cabling Infrastructure
You have to make sure that you follow the industry standards for cable instalation and labeling. Well organized cabling will make your life easier for future troubleshooting. UTP cable maximum range is 100m, if the server location is far, Fiber-optic cable is a good solution.
4.Network Equipment Installation
Installation and configure the network equipments. Using Mikrotik or Cisco will make easier to remote the device. I give example for these 2 brands because I only familiar with it.
5.Network Configuration
Setting IP address, subnet masks, routing protocols, VLAN’s, security, DHCP (Dynami Host Configuration Protocol) servers, Firewall rules and network monitoring tools.
6.Wireless Network Configuration
Optimize the location to ensure reliable coverage and minimize interference. Use appropriate SSIDs (SErvice Set Identifiers) and latest security setting (WPA2/WPA3 Encryption).
7.Testing and Troubleshooting
In this step, you have to verify cable integrity, measure signal strength, and test network throughput. You have to ensure proper connectivity, data transmission, and performance.
8.Security Implementation
Configure access controls, user authentication, and network segmentation as needed. Implement security measures such as firewalls, intrusion detection systems, and encryption protocols to protect the network from unauthorized access and potential threats.
9.Documentation and Labeling
Network cabling infrastructure is the backbone of any network, connecting devices, servers, switches, routers, etc. Without proper documentation and lebeling, network cabling can become a mess. Proper documentation and labeling will save your time and help you maintain consistency and standards across your network, ensuring compatibility and performance.
10.Network monitoring and maintenance
Set up network monitoring tools to monitor the network performance, security incidents, and potential faults. Regular update firmware or security patches for network devices. Regular inspection for all equipments. Periodic cable testing.
28 Jan 2023
- Sistem pembayaran yang lebih efisien dan aman
- Penyimpanan data yang lebih aman dan mudah diakses
- Smart contract yang memungkinkan transaksi otomatis
- Supply chain management yang lebih transparan
- Sistem voting yang lebih adil dan aman
- Pencatatan aset digital yang aman dan mudah diakses
Regulasi yang belum jelas dapat menghambat perkembangan dan penggunaan blockchain karena masih ada ketidakpastian tentang bagaimana teknologi ini harus diatur. Beberapa negara belum memiliki regulasi yang jelas mengenai penggunaan mata uang digital, smart contract, atau aset digital lainnya yang dibangun di atas blockchain. Hal ini dapat menimbulkan masalah bagi perusahaan atau individu yang ingin menggunakan teknologi ini dalam bisnis mereka.
Masalah skalabilitas di blockchain terkait dengan jumlah transaksi yang dapat ditangani oleh jaringan dalam satu periode waktu tertentu. Saat ini, beberapa jaringan blockchain seperti Bitcoin dan Ethereum hanya dapat menangani sekitar 7-15 transaksi per detik. Ini sangat sedikit jika dibandingkan dengan sistem pembayaran tradisional seperti Visa yang dapat menangani hingga 65,000 transaksi per detik. Ini menyebabkan masalah ketika jaringan sibuk dan membuat transaksi menjadi lambat atau terganggu. Beberapa solusi yang dikembangkan untuk mengatasi masalah skalabilitas ini, seperti SegWit, sharding dan off-chain scaling. Namun, masalah ini masih dalam proses pengembangan dan penyelesaiannya.
-- sumber dari chatGPT --
07 May 2022
Jupyter Notebook is part of Project Jupyter which is announced by Fernando Pérez in 2014. It’s a spin-off project from IPython and become the kernel for Jupyter.
Jupyter is a language agnostic and support other programming language like Python, Julia, R, Haskel and Ruby. It’s 100% open-source.
The file format for Jupyter is ‘.ipynb’.
The Jupyter kernel is responsible for handling various type of request (code execution, code completion, inspection) and providing a reply. Since it can connect to many kernels,
it can provide programming in different languages.
In this tutorial, I use:
-Xubuntu 18.04
-Docker 20.10.14
STEP1.FIND THE IMAGES
First, we have to get the docker image. Make sure you are connected to the Internet.
darklinux@darklinuxpc:~$ docker search jupyter NAME DESCRIPTION STARS OFFICIAL AUTOMATED jupyter/datascience-notebook Jupyter Notebook Data Science Stack from htt… 917 jupyter/all-spark-notebook Jupyter Notebook Python, Scala, R, Spark, Me… 375 jupyter/scipy-notebook Jupyter Notebook Scientific Python Stack fro… 340 jupyterhub/jupyterhub JupyterHub: multi-user Jupyter notebook serv… 310 [OK] jupyter/tensorflow-notebook Jupyter Notebook Scientific Python Stack w/ … 301 jupyter/pyspark-notebook Jupyter Notebook Python, Spark, Mesos Stack … 224 jupyter/base-notebook Small base image for Jupyter Notebook stacks… 169 jupyter/minimal-notebook Minimal Jupyter Notebook Stack from https://… 154 jupyter/r-notebook Jupyter Notebook R Stack from https://github… 44 jupyterhub/singleuser single-user docker images for use with Jupyt… 43 [OK] jupyter/nbviewer Jupyter Notebook Viewer 27 [OK] bitnami/jupyter-base-notebook 24 jupyterhub/k8s-hub 18 bitnami/jupyterhub 11 jupyterhub/k8s-singleuser-sample 9 jupyterhub/configurable-http-proxy node-http-proxy + REST API 6 [OK] jupyterhub/k8s-network-tools 2 graphcore/pytorch-jupyter The Poplar® SDK plus PyTorch for IPUs includ… 1 ibmcom/jupyter-base-notebook-ppc64le Small base image for Jupyter Notebook stacks… 1 pachyderm/jupyterhub-pachyderm-user 0 ibmcom/jupyter-nb-nb2kg 0 pachyderm/jupyterhub-pachyderm-hub 0 graphcore/tensorflow-jupyter The Poplar® SDK plus TensorFlow 1 & 2 for IP… 0 ibmcom/jupyter-ppc64le 0 ibmcom/jupyter 0 darklinux@darklinuxpc:~$

STEP 3. DOWNLOAD THE IMAGE
darklinux@darklinuxpc:~$ docker pull jupyter/datascience-notebook Using default tag: latest latest: Pulling from jupyter/datascience-notebook d5fd17ec1767: Pull complete 9288915018bc: Pull complete ad895732ee5c: Pull complete 4f4fb700ef54: Pull complete 7b053b0d567d: Pull complete 577d6f3bb6f4: Pull complete 1d18b5a5f242: Pull complete ffc9ad0a0b36: Pull complete 75f3e04b1547: Pull complete e9036ae1aec3: Pull complete 8016e50184c6: Pull complete 55f4c93ee7b8: Pull complete 17c3e54db24b: Pull complete e8c81a9b6c9a: Pull complete 530f1db1e9d7: Pull complete 44fa9360bdc5: Pull complete 6f59df66069f: Pull complete a8c1c1bcf1d4: Pull complete 5784e3ca1d66: Pull complete 60e2c9b0e0a4: Pull complete 4866b0f6598a: Pull complete 613fc67c0714: Pull complete 2a41639ceb55: Pull complete fa391f2a4b79: Pull complete Digest: sha256:acd52864dd364e2e5c494ccefa661e6f58f551c9006ec7263d7b5afd5d1852e9 Status: Downloaded newer image for jupyter/datascience-notebook:latest docker.io/jupyter/datascience-notebook:latest darklinux@darklinuxpc:~$


STEP3. CHECK THE IMAGE
darklinux@darklinuxpc:~$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE jupyter/datascience-notebook latest 0376841b7305 15 hours ago 4.42GB jupyter/datascience-notebook <none> 02e55f7a76b5 3 months ago 4.22GB ubuntu latest ba6acccedd29 6 months ago 72.8MB ubuntu 18.04 5a214d77f5d7 7 months ago 63.1MB 32bit/ubuntu bionic c0f69fac47fc 2 years ago 423MB ubuntu bionic c3c304cb4f22 2 years ago 64.2MB hello-world latest bf756fb1ae65 2 years ago 13.3kB mongo 4.1 d93e3cc722d8 2 years ago 360MB garland/xampp-base latest 21861acf735a 7 years ago 1.44GB darklinux@darklinuxpc:~$

I’ve downloaded Jupyter/datascience-notebook before, that’s why there are 2 now. Docker will not replace the image although the image name is the same. The images are differentiated with Image ID.
STEP4. RUNNING THE IMAGE
The image is ready. Now, we can run it to create the docker container.
If you don’t specify the container name, docker will create it for you.
$ docker run -p 8888:8888 jupyter/datascience-notebook
If you specify the name, you will get the container as you specified.
$ docker run -p 8888:8888 –name=jupyter-notebook jupyter/datascience-notebook
darklinux@darklinuxpc:~$ docker run -p 8888:8888 --name=jupyter-notebook jupyter/datascience-notebook
Entered start.sh with args: jupyter lab
Executing the command: jupyter lab
[I 2022-05-06 04:36:30.541 ServerApp] jupyterlab | extension was successfully linked.
[W 2022-05-06 04:36:30.563 NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2022-05-06 04:36:30.563 NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2022-05-06 04:36:30.563 NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[I 2022-05-06 04:36:30.578 ServerApp] nbclassic | extension was successfully linked.
[I 2022-05-06 04:36:30.607 ServerApp] Writing Jupyter server cookie secret to /home/jovyan/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2022-05-06 04:36:32.379 ServerApp] notebook_shim | extension was successfully linked.
[I 2022-05-06 04:36:32.507 ServerApp] notebook_shim | extension was successfully loaded.
[I 2022-05-06 04:36:32.510 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.9/site-packages/jupyterlab
[I 2022-05-06 04:36:32.510 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 2022-05-06 04:36:32.530 ServerApp] jupyterlab | extension was successfully loaded.
[I 2022-05-06 04:36:32.555 ServerApp] nbclassic | extension was successfully loaded.
[I 2022-05-06 04:36:32.557 ServerApp] Serving notebooks from local directory: /home/jovyan
[I 2022-05-06 04:36:32.557 ServerApp] Jupyter Server 1.17.0 is running at:
[I 2022-05-06 04:36:32.558 ServerApp] http://2557ebac7ab1:8888/lab?token=de96fd0d44694ef387ae34c27a4222d1976dbdb795aaa308
[I 2022-05-06 04:36:32.559 ServerApp] or http://127.0.0.1:8888/lab?token=de96fd0d44694ef387ae34c27a4222d1976dbdb795aaa308
[I 2022-05-06 04:36:32.559 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2022-05-06 04:36:32.566 ServerApp]
To access the server, open this file in a browser:
file:///home/jovyan/.local/share/jupyter/runtime/jpserver-7-open.html
Or copy and paste one of these URLs:
http://2557ebac7ab1:8888/lab?token=de96fd0d44694ef387ae34c27a4222d1976dbdb795aaa308
or http://127.0.0.1:8888/lab?token=de96fd0d44694ef387ae34c27a4222d1976dbdb795aaa308



STEP5. RUNNING FROM CONTAINER
Open other linux terminal and check the docker IP address.
In my device is: 172.17.0.1
darklinux@darklinuxpc:~$ ifconfig docker0
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:85ff:fefe:69a5 prefixlen 64 scopeid 0x20<link>
ether 02:42:85:fe:69:a5 txqueuelen 0 (Ethernet)
RX packets 697 bytes 6827968 (6.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 805 bytes 249616 (249.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
darklinux@darklinuxpc:~$
Use this IP address and Jupyter port, to open Jupyter_notebook in browser.
So, it become: 172.17.0.1:8888
Use the token for the password.
de96fd0d44694ef387ae34c27a4222d1976dbdb795aaa308

STEP6. CHANGE THE PASSWORD
You can login with the Token, but I prefer login via password.
So,you have to set the password first.
Scrool down the webpage, copy paste the Token in Token text box and Enter a new password.

If you everthing run well, you will the screen below:

Jupyter Notebook is ready to use.

05 May 2022
Getting Market Stock Data from Yahoo Finance is not difficult with Python Module – Pandas.
To follow this tutorial at least you know how to run python code.
In this tutorial, I use:
-Python 3.6.9 (default, Dec 8 2021, 21:08:43)
-Matplotlib-3.3.4
-Pandas 1.1.5
-Xubuntu 18.04
and Vim for text editor
Before you start, make sure you are connected to the Internet.
If you don’t have Python, Matplotlib and Pandas, you can install it from Linux Terminal with commands below:
$ sudo apt-get install python3 $ pip3 install matplotlib $ pip3 install pandas
The source codes:
import datetime as dt
import matplotlib.pyplot as plt
import pandas as pd
import pandas_datareader.data as web
start=dt.datetime(2010,1,1)
end=dt.datetime(2022,4,22)
df1 = web.DataReader('MSFT','yahoo',start,end)
df2 = web.DataReader('AAPL','yahoo',start,end)
plt.plot(df1.Close)
plt.plot(df2.Close)
plt.legend(['MSFT','APPL'])
plt.grid()
plt.xlabel('Year')
plt.ylabel('Price (USD)')
plt.title('STOCK PRICE COMPARISON MICROFSOFT AND APPLE \n JAN 2010 - APR 2022')
plt.show()
You can run it in Linux Terminal, Python IDLE, Jupiter notebook or any Python environtment.


11 Nov 2020
17 Oct 2020
Lanjut ke bagian berikutnya, gaes. Seperti yang sudah dipaparkan pada tulisan sebelumnya, yang akan kita bahas dalam tulisan ini yaitu menjelaskan tentang bagaimana melakukan proses penyimpanan data, langkah-langkah apa saja yang harus dilakukan supaya hasil akhir berkas .csv dapat diimpor dengan baik oleh SLiMS.
Setelah kita paham kenapa berkas .csv yang dibuat, tidak dapat diimpor dengan baik oleh SLiMS, langkah selanjutnya adalah kembali ke aplikasi LibreOffice, di mana dalam tulisan sebelumnya digunakan untuk membuat berkas .csv.
Proses perbaikan berkas dilakukan ketika proses Save As.
Berkas .csv yang telah dibuka, kemudian akan disimpan menggunakan menu Save As. Ketika jendela Save As terbuka, pastikan bahwa, 1) ruas "Save as type" masih berisi format "Text CSV (*.csv)". Lalu, 2) Perhatikan gambar berikut, dengan tanda kotak merah. Centang opsi "Edit filter settings". Dengan mencentang opsi tersebut, kita akan menemukan langkah penting selanjutnya.
Ini dia langkah terpentingnya. Menentukan "Field delimiter". Silahkan tentukan isian ruas tersebut. Dalam opsi drop down yang disediakan, terdapat pilihan (,), (:), (;), {tab}, {space}. Pilihan paling aman
Nah, sudah. Dengan dijelaskan langkah terakhir tadi, harapannya, berkas .csv yang disiapkan dapat diterima dengan baik, ketika diimpor ke dalam SLiMS. Hmmm ... harusnya, tip ini juga bisa digunakan ketika Anda akan melakukan impor data eksemplar dan atau impor data anggota. Karena kebutuhan data yang diperlukan sama. Berkas dalam format .csv.
Semoga bermanfaat. Sekali lagi, apabila ada metode yang lebih baik atau apa yang saya tuliskan kurang tepat dan perlu diperbaiki, kolom komentar tersedia sebagai media diskusi.
Tabik.
- https://superuser.com/questions/395334/search-and-replace-with-tab-character-in-sublime-text-2
- https://ask.libreoffice.org/en/question/33788/change-column-separator-on-csv-export/?answer=33790#post-id-33790
- https://stackoverflow.com/questions/47142144/export-excel-data-with-a-custom-deliminator-in-csv
- https://www.howtogeek.com/howto/21456/export-or-save-excel-files-with-pipe-or-other-delimiters-instead-of-commas/










