A Hero's Legacy – Telegram
A Hero's Legacy
61 subscribers
895 photos
270 videos
29 files
1.28K links
Here I mostly post my adventures and my views and thoughts on different things.
Download Telegram
🇮🇳🇮🇳🇮🇳 Happy Republic Day 🇮🇳🇮🇳🇮🇳

To all my Indian brothers and sisters
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.
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.
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 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.
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
Forwarded from Amir Tsarfati
The official death toll from the earthquakes in Turkey and Syria crossed 35,000.
Salute to our heros
Valentine's day special from my computer ♥️♥️