Today I discovered:

I rarely think of "this software is written in this language with this toolkit" as a positive factor, only a neutral or negative factor.

#TIL #tech #neepery

There are two kinds of ram disk that you can set up in most Linux systems: tmpfs and ramfs. ramfs is very simple: it's dynamically allocated as you store files and remove them, and it will not go to swap. If you run out of memory in ramfs, you have run out of memory in your system, and bad things will happen.

tmpfs will go to swap if necessary, so it won't kill your system until it has allocated all the memory it can -- and, at mount time, you must specify a limit to the size that it can grow. You can be silly and specify a size larger than RAM + swap, but that's on you.

So the primary downside of tmpfs is having to decide up front how much memory it can use (at max -- it is also dynamically allocated/deallocated). But!

mount -o remount,limit=2G /mnt/mountpoint will reset that limit without wiping the current contents.

You're welcome.
#linux #tmpfs #neepery

XQuery is a declarative language for querying hierarchical data (nigh-always XML); BaseX is a truly excellent XQuery processor. OxygenXML Editor is a truly excellent starts-with-X development IDE. BUT! BaseX has not been integrated into Oxygen.

If you have any idea what I'm on about, please consider wandering by the feature request page for oXygen and asking for BaseX integration. Apparently they do count the votes when planning new features.

#BaseX #oxygenxml #neepery #xquery #xpath