Travel Is No Cure for the Mind

From the concluding paragraphs of this article:

Being grateful about our existence and its relation to others allows for a blossoming of meaning and purpose in our exploration of this life. It is the starting point for an endless list of awesome things we have going for us, and we don’t need to change our physical location one bit to witness this list grow.

If gratitude is the tool we use to highlight the innate beauty existing within our boxes, then practices such as mindfulness meditation allows these realizations to actually become a part of our daily outlook. One of the difficult things about the routines embedded in our daily experience is that they tend to congeal into one giant, uniform blob that we label as “life.” And this blob can harden over time to create an impenetrable barrier that prevents us from absorbing helpful advice and realizations that come to light.

What meditation helps to do is soften the texture of this blob by removing our hardened egos and neurotic thoughts from the inner core of our consciousness. What we are left with is clarity and openness to see The Box of Daily Experience for what it really is: a reflection of life that can be eased into fluidity with the proper attention and care.

While clarity of experience is a direct path to the calming of the mind, there is another beautiful quality to our consciousness that is often overlooked.

The ability to find fascination in the minds of others.

One source of constant wonderment and adventure comes in the form of books. Instead of searching for inspiring experiences in faraway places, these awesome things are abundantly available to us at all times.

[..] sharing of stories is one of the great joys I’ve experienced over and over again with people. There is always an interesting story behind every mind — and hearing it widens the health of our own.

Files

https://www.files.gallery/

https://demo.files.gallery/

Files is free to use with basic features. To remove the license-popup and unlock additional features, you may purchase a license [$39] from within the app.

https://news.ycombinator.com/item?id=30233635

Alternatives

A few alternatives have already been mentioned here; yet another one: https://larsjung.de/h5ai/ reply
My favorite one for years of sharing files. This dev also has others cool tool. Check it out on his Github page https://github.com/lrsjng

I used https://github.com/Jack000/Expose a couple of times. Advantage: it generates a static site. Disadvantage: it must be customized almost certainly. It’s a bash script.

I use https://sye.dk/sfpg/ myself, another single-file PHP photo gallery. It’s less polished, but it’s free.

What is Files app?

Files is a single-file PHP app that can be dropped into any folder on your server, instantly creating a gallery of files and folders. It supports all file types and allows you to preview images, video, audio and text files.

DOMPurify

https://github.com/cure53/DOMPurify

also: interesting discussion about XSS attacks (confusing even DOMPurify at times):

https://news.ycombinator.com/item?id=24703230


DOMPurify sanitizes HTML and prevents XSS attacks. You can feed DOMPurify with string full of dirty HTML and it will return a string (unless configured otherwise) with clean HTML. DOMPurify will strip out everything that contains dangerous HTML and thereby prevent XSS attacks and other nastiness. It’s also damn bloody fast. We use the technologies the browser provides and turn them into an XSS filter. The faster your browser, the faster DOMPurify will be.

How do I use it?

It’s easy. Just include DOMPurify on your website.

Using the unminified development version

<script type="text/javascript" src="src/purify.js"></script>
Read More

Why we switched from Webpack to Vite

Why we switched from Webpack to Vite

https://news.ycombinator.com/item?id=26972400

Vite is a JavaScript build tool that provides a fast and lean development experience. Vite comes with a number of features including HMR, or Hot Module Replacement, a build command that bundles your tools with Rollup, and built-in support for TypeScript and JSX.

How it works

Vite works by treating your source code and your dependencies differently. Unlike your source code, dependencies don’t change nearly as often during development. Vite takes advantage of this fact by pre-bundling your dependencies using esbuild. Esbuild is a JS bundler written in Go that bundles dependencies 10-100x faster than JavaScript based alternatives like Webpack and Parcel.

Read More

How to Pomodoro

  • If you have a spare monitor: display a virtual ‘co-worker’ on it by finding a Youtube streamer (search for pomodoro/ study with me/ gongbang)
  • Use a browser app. For instance a good Chrome/Brave App is Marinara
    Simple, configurable alarm sounds and/or opens a tab when timer is done (if you want)
  • Install a Desktop app: Pomotroid is available for all platforms https://github.com/Splode/pomotroid
    Nice and clean. Can be minimized to tray. Shortcuts are handy too
  • Use a phone app:
    For instance Focusmeter (Android) seems to work really well. Just installed it and I have seen no ads so far
    Forest App (Freemium ?) is quite popular, but I haven’t tried that one yet. Let’s you grow trees as a reward.