Forwarded from NeoLAB
How to optimize loading time of Emacs faster than 1 second?
ChatGPT:
There are several ways to optimize the startup time of Emacs, here are a few things you can try:
Use emacs -q: This starts emacs with no init file, which can help you identify if any packages or settings in your init file are causing slow startup.
Use emacs --debug-init: This starts emacs with the --debug-init flag, which can help you identify any errors in your init file that might be causing slow startup.
Use use-package: This is a package that can help you manage and optimize your packages. It allows you to lazy-load packages, which means that packages are only loaded when they are needed, rather than at startup.
Use straight.el package manager: This package manager optimizes package loading by compiling packages ahead-of-time and using a local cache, which can speed up package loading times.
Use gc-cons-threshold: This variable controls the amount of memory that Emacs will use before triggering garbage collection. By default, it's set to 800000 bytes. You can increase this value to reduce the number of garbage collection cycles and thus speed up the startup time.
Optimize your init file: Make sure your init file is well-organized and free of unnecessary settings or packages. You can also use the benchmark-init package to measure the time it takes for different parts of your init file to load and identify any slow parts.
Use profiler package: This package can help you to identify bottlenecks in your init file by profiling the execution time of various functions.
Use precompiled bytecode: This allows you to precompile your .el files to .elc files, which can speed up the loading process. you can use emacs -batch -f batch-byte-compile to precompile all your .el files.
It's important to note that these steps can help you optimize your emacs startup time, but it's not always possible to get emacs to start up in less than 1 second. The time required to load emacs depends on many factors, such as the speed of your computer and the number of packages you have installed.
ChatGPT:
There are several ways to optimize the startup time of Emacs, here are a few things you can try:
Use emacs -q: This starts emacs with no init file, which can help you identify if any packages or settings in your init file are causing slow startup.
Use emacs --debug-init: This starts emacs with the --debug-init flag, which can help you identify any errors in your init file that might be causing slow startup.
Use use-package: This is a package that can help you manage and optimize your packages. It allows you to lazy-load packages, which means that packages are only loaded when they are needed, rather than at startup.
Use straight.el package manager: This package manager optimizes package loading by compiling packages ahead-of-time and using a local cache, which can speed up package loading times.
Use gc-cons-threshold: This variable controls the amount of memory that Emacs will use before triggering garbage collection. By default, it's set to 800000 bytes. You can increase this value to reduce the number of garbage collection cycles and thus speed up the startup time.
Optimize your init file: Make sure your init file is well-organized and free of unnecessary settings or packages. You can also use the benchmark-init package to measure the time it takes for different parts of your init file to load and identify any slow parts.
Use profiler package: This package can help you to identify bottlenecks in your init file by profiling the execution time of various functions.
Use precompiled bytecode: This allows you to precompile your .el files to .elc files, which can speed up the loading process. you can use emacs -batch -f batch-byte-compile to precompile all your .el files.
It's important to note that these steps can help you optimize your emacs startup time, but it's not always possible to get emacs to start up in less than 1 second. The time required to load emacs depends on many factors, such as the speed of your computer and the number of packages you have installed.
Forwarded from Amir Tsarfati
Over 12,000 are confirmed dead so far in the earthquake!
Forwarded from Amir Tsarfati
Northern Syria
300,000 Syrians are currently without a roof, a race against time to provide as quickly as possible tents and blankets and means of heating as the coming days will be freezing.
300,000 Syrians are currently without a roof, a race against time to provide as quickly as possible tents and blankets and means of heating as the coming days will be freezing.
Forwarded from Amir Tsarfati
kahramanmaraş, a Turkish city of 1.7 million people, before and after the earthquake!
Forwarded from Amir Tsarfati
Turkey-Syria earthquakes death toll crossed the 23,000.
Forwarded from NeoLAB
🎉 Free Cybersecurity Certifications 🧨
1. NSE 1,2 & 3
[https://training.fortinet.com]
2. Introduction to Cybersecurity
[https://netacad.com/courses/cybersecurity/introduction-cybersecurity]
3. Cybersecurity Essentials
[https://netacad.com/courses/cybersecurity/cybersecurity-essentials]
4. Networking Essentials
[https://netacad.com/courses/networking/networking-essentials]
5. Android Bug Bounty Hunting: Hunt Like a Rat
[https://codered.eccouncil.org/course/android-bug-bounty-hunting-hunt-like-a-rat]
6. Ethical Hacking Essentials (EHE)
[https://codered.eccouncil.org/course/ethical-hacking-essentials]
7. Website Hacking Techniques
[https://codered.eccouncil.org/course/website-hacking-techniques]
8. Digital Forensics Essentials (DFE)
[https://codered.eccouncil.org/course/digital-forensics-essentials]
9. Network Defense Essentials (NDE)
[https://codered.eccouncil.org/course/network-defense-essentials]
10. Introduction to Dark Web, Anonymity, and Cryptocurrency
[https://codered.eccouncil.org/course/introduction-to-dark-web-anonymity-and-cryptocurrency]
11. Certified in Cybersecurity℠ - CC
[https://isc2.org/Certifications/CC]
12. 20+ Free AWS Certs Related to Cybersecurity
[https://explore.skillbuilder.aws/pages/16/learner-dashboard]
1. NSE 1,2 & 3
[https://training.fortinet.com]
2. Introduction to Cybersecurity
[https://netacad.com/courses/cybersecurity/introduction-cybersecurity]
3. Cybersecurity Essentials
[https://netacad.com/courses/cybersecurity/cybersecurity-essentials]
4. Networking Essentials
[https://netacad.com/courses/networking/networking-essentials]
5. Android Bug Bounty Hunting: Hunt Like a Rat
[https://codered.eccouncil.org/course/android-bug-bounty-hunting-hunt-like-a-rat]
6. Ethical Hacking Essentials (EHE)
[https://codered.eccouncil.org/course/ethical-hacking-essentials]
[
8. Digital Forensics Essentials (DFE)
[https://codered.eccouncil.org/course/digital-forensics-essentials]
9. Network Defense Essentials (NDE)
[https://codered.eccouncil.org/course/network-defense-essentials]
10. Introduction to Dark Web, Anonymity, and Cryptocurrency
[https://codered.eccouncil.org/course/introduction-to-dark-web-anonymity-and-cryptocurrency]
11. Certified in Cybersecurity℠ - CC
[https://isc2.org/Certifications/CC]
12. 20+ Free AWS Certs Related to Cybersecurity
[https://explore.skillbuilder.aws/pages/16/learner-dashboard]
Netacad
Introduction to Cybersecurity
Learn cybersecurity basics to protect your personal digital life and the biggest security challenges companies face today.
Forwarded from LinuxScoop (Abdul Khois)
Kali linux Xfce Customization
Full video step-by-step: https://youtu.be/ZIRlfaP_SB4
Download Resources: https://www.pling.com/p/1908883/
Full video step-by-step: https://youtu.be/ZIRlfaP_SB4
Download Resources: https://www.pling.com/p/1908883/
YouTube
How to Customize Kali Linux | Kali Linux Xfce Desktop Edition
Get started on #Linode today with $100 in Free Credit: https://glnk.io/zp1p/6
This video shows you how to customize kali linux Xfce with a different layout. This customizes using the latest kali Linux with Xfce desktop 4.16 series.
You can apply this customize…
This video shows you how to customize kali linux Xfce with a different layout. This customizes using the latest kali Linux with Xfce desktop 4.16 series.
You can apply this customize…
Forwarded from LinuxScoop (Abdul Khois)
Top 10 Linux Distributions with Xfce Desktop
https://youtu.be/NkfXQzzIusI
https://youtu.be/NkfXQzzIusI
YouTube
Top 10 Linux Distribution with XFCE Desktop
Use promo code: LINUXSCOOP to get 25% Off on any of the subnoscription plans:
https://internxt.com/?utm_source=youtube&utm_campaign=linuxscoop
This video will cover the top 10 linux distros with XFCE desktop. Xfce is a lightweight desktop environment for UNIX…
https://internxt.com/?utm_source=youtube&utm_campaign=linuxscoop
This video will cover the top 10 linux distros with XFCE desktop. Xfce is a lightweight desktop environment for UNIX…
Forwarded from Defence Squad (Defence Squad)
Vikas engine successfully underwent the first throttling demonstration hot test.
The test demonstrated a targeted 67% thrust level throttling for a duration of 43 s.
Throttlable liquid engines in launch vehicles facilitate booster stage recovery.
The test demonstrated a targeted 67% thrust level throttling for a duration of 43 s.
Throttlable liquid engines in launch vehicles facilitate booster stage recovery.
Forwarded from Defence Squad (Defence Squad)
The trials as part of the preparation for Crew Module recovery operations for the Gaganyaan mission have commenced.
On Feb 7, 2023, initial trials in a closed pool were conducted in the Water Survival Test Facility (WSTF) of Indian Navy at Kochi.
#Gaganyaan
On Feb 7, 2023, initial trials in a closed pool were conducted in the Water Survival Test Facility (WSTF) of Indian Navy at Kochi.
#Gaganyaan
Forwarded from Amir Tsarfati
The official death toll from the earthquakes in Turkey and Syria crossed 35,000.
Forwarded from astronomy
Two crescents in the sky. Daytime Moon meets morning Star.
Image Credit & Copyright: Cui Yongjiang and Shi Zexing
T.me/astronomy
Image Credit & Copyright: Cui Yongjiang and Shi Zexing
T.me/astronomy