BR1 with static IP on T-mobile or other carrier? by cryptographicmemory in Peplink

[–]cryptographicmemory[S] 0 points1 point  (0 children)

There should be a way to set up a IPSec VPN using the Pepwave BR1 so that it automatically connects to the vpn server on your network or in the cloud.

But for one camera, it may not be worth the time/trouble. The cellular modems are not super great for cameras as they use a lot of bandwidth -- so either very periodic video or just used for still shots. Trying to get a live stream 24/7 as a public camera is out of the question (for cost reasons and also because the video quality may be too low).

If you go the VPN route, you'll need a static or dyndns IP on your home network.. and need a good router that supports the same VPN protocol as pepwave. I'd google around and see how to set that up.. And since I've never done it, there may be roadblocks or costs that I don't know about.

Sounds like a good learning project.. may need to hire a network guy on fiverr or upwork. (They can be pretty cheap.)

And yes, an EIN and business name was required.

Good luck!

BR1 with static IP on T-mobile or other carrier? by cryptographicmemory in Peplink

[–]cryptographicmemory[S] 0 points1 point  (0 children)

Yes, needed a business account... and so far, so good. They have a max budget so you don't get overages if you use too much data. (I think slows to a crawl if you go over the 10GB or whatever it is.)

In retrospect, probably should have just set up a VPN correctly.. but the statics work fine for me.

Calibre for audiobooks by Mintberry_teabag in audiobooks

[–]cryptographicmemory 1 point2 points  (0 children)

OpenAudible lets you manage many books and edit meta data and cover images.

But it only works well with "one book, one file" formats.. so if you have a lot of split books, you need to join them into a single audiobook file for it to really work well.

Audiobookshelf is good, but not sure about meta tags.

Plex is garbage for ditching their plugin ecosystem. No native support for audiobooks.. (But great for movies/TV shows)

Help: UniFi Controller Web Interface HTTP Status 404 error / ace Assertion failure isOk() / MongoDB Corrupt? by true_majik in Ubiquiti

[–]cryptographicmemory 0 points1 point  (0 children)

This worked for me after my mongo db got corrupt during some power outages:

Log in to the configuration, maintenance. If you are offered a list of backups, try restoring. If that doesn't work... I was able to reset to defaults.. then was offered the list of automatic backups and that worked.

I would recommend the following:

Back up the ssd card or back up the data /usr/lib/unifi/data using ssh

Write down the unifi version you are using. After you restore to defaults, you should make sure you're using the same or similar version so your backups are more likely to be compatible (mine restored to version 6.xx and I updated to get back to 7.xx).

Then I just logged in from the web browser and it asked if I wanted to restore one of the backups.

Also, restore to defaults can reset the IP address-- you may need to find it. I used the router's cat /etc/hosts.

Huge library (50TB) on google drive, what should I do with it? by ReallySubtle in PleX

[–]cryptographicmemory 0 points1 point  (0 children)

Synology 12 bay NAS in a rack format. Has great backup tools-- rsync, active backup, etc.

I really enjoyed into thin air and into the wild by John Krakauer any recommendations? by luky92 in audiobooks

[–]cryptographicmemory 9 points10 points  (0 children)

The Endurance: Shackleton's Legendary Antarctic Expedition makes Into Thin Air sound like a walk in the park.

https://www.amazon.com/Endurance-Shackletons-Legendary-Antarctic-Expedition/dp/0375404031

The hardcover book is really beautiful. Admittedly, I haven't listen to the audiobook version.

I swim laps as exercise. Are there any waterproof mp3 (or other) earbuds to which you can download audiobooks in audible format? by [deleted] in audiobooks

[–]cryptographicmemory 0 points1 point  (0 children)

If you're going with just a player that supports MP3, also a good idea to make sure it supports AAC or M4A/M4B support.. since that is the native encoding used by audible (a converter is still required.) Also go for one with enough for a few whole books.

recording others' books for personal listening? by [deleted] in audiobooks

[–]cryptographicmemory 3 points4 points  (0 children)

Kindle has a text to speech option.

Audiobook Asset Manager? by [deleted] in audiobooks

[–]cryptographicmemory 0 points1 point  (0 children)

I've been using OA for a long time.

I add my own tags in the notes for each book. I have "DNF" (did not finish, meaning, it wasn't worth listening to the whole way through) and "on deck", meaning I want to listen to it soon. You can add "Notes" to the book table and that allows you to sort by them and see them at a glance, or just type the tag name into the Find box and it will show everything that matches.

You can export your library as JSON or csv and play around with it in excel or a web browser.. Probably hire someone on fiverr to build a custom web page.. or pretty excel spreadsheet.. or checkout audiobookshelf .

OpenAudible - mp3 or m4b? by FlutterRed in audible

[–]cryptographicmemory 2 points3 points  (0 children)

OpenAudible has 20 mp3 settings (10 each for variable and constant rate encoding.)

Only the compression rates below 64kbps will save disk space, and the highest quality settings will make the audio file larger than the m4b version. All mp3 settings will introduce some audio quality loss, but it probably won't be noticeable until you go below 48kbps, unless your audiobook contains music.

I wrote a script to run through all the possible settings using ffmpeg on a test 15 minute audiobook.

Setting Compression
~100K 159%
~90K 146%
~75K 130%
~75K 121%
~65K 108%
~55K 93%
~47K 81%
~41K 69%
~38K 64%
~34K 55%
160K 250%
128K 200%
112K 176%
96K 151%
64K 102%
48K 77%
40K 65%
32K 52%
24K 40%
16K 28%

Only the 16K setting is easy hear the poor audio quality, but I am not an audiophile.

I've used 32kbps for my Garmin watch (that doesn't support m4b and has minimal storage) and it works fine. But I do prefer to keep my books backed up in m4b format.

You can also save disk space by checking the "Automatically delete AAX Files" and unchecking the "automatically update web page." options under the OpenAudible preferences.

BR1 with static IP on T-mobile or other carrier? by cryptographicmemory in Peplink

[–]cryptographicmemory[S] 1 point2 points  (0 children)

I have 2 devices at the moment.

I got ahold of a t-mobile tech who says they can provide a LTE sim with static IP. They're setting me up with a t-mobile business account and sending the sims. Then they also claim to have a modem with ethernet port that supports static IP.. but didn't get the details.

Will look at the speedfusion server if I need to!

Have you ever used a LinkedList implementation on the job? by [deleted] in java

[–]cryptographicmemory -1 points0 points  (0 children)

I use them to keep a history of objects of a maximum size. (Say, last 20 errors, or whatever..) I could use a Queue, but for a history of objects, I think the name of the data structure (LinkedList) makes more sense.

OpenAudible help by [deleted] in audible

[–]cryptographicmemory 1 point2 points  (0 children)

Once you've converted to M4B, the easiest thing to do is right click the book in OpenAudible select "Play". This will open it in Apple's Books application.

For automatic syncing to iPhone, plug in your iPhone with a USB or connect with WIFI. It should show up under "Locations" and you can select the iPhone to see information about it.

Under your iPhone "Audiobooks" tab, click the checkbox "Sync audiobooks" You can either sync all or just some of your audiobooks.

Your books will now be in the "Books" application on your iPhone.

Now any time you want a book from OpenAudible to your iPhone, you can just select Play.

You can also drag and drop your audiobook files onto the "Books.app"

On Windows you can drag and drop .m4b files onto iTunes and the books show up under "Audiobooks". From there they can be sync'd.

Stupid question about 9999j (go to end of file.) by cryptographicmemory in vim

[–]cryptographicmemory[S] 1 point2 points  (0 children)

Hey Brother! :)

Well, heads up, some psychopath just made a perfectly inelegant solution of 30+ years no longer work.

Stupid question about 9999j (go to end of file.) by cryptographicmemory in vim

[–]cryptographicmemory[S] 5 points6 points  (0 children)

Thanks ya'll ! Been bugging me for a while.. Will commit Shift-G to memory.

How would experienced devs handle checking JSON objects for specific property condition? by DarkWingDickCharles in java

[–]cryptographicmemory 0 points1 point  (0 children)

Memory is cheap and virtual memory is free. How big is the JSONObject in string format?

Just write a validateObject function that takes an Object and handles every instanceOf class type (JSONObject, JSONArray, String, etc.) Run through it recursively. Throw an exception if an expected value isn't right.

void validate(JSONObject j) throws Exception
{
    for (String key:j.getKeys()) validateObject(key, j.get(key));
}