Readit News logoReadit News
bhub commented on Ask HN: Those who use an Android and macOS, how do you manage sync?    · Posted by u/coldtrait
bhub · 2 years ago
For Dropbox like stuff I use Nextcloud. Means I can select which files I want to download on my phone. For individual transfers of files a la airdrop I use Tailscale’s Taildrop
bhub commented on Asciinema 3.0 will be rewritten in Rust   github.com/asciinema/asci... · Posted by u/goranmoomin
grimgrin · 2 years ago
now you can compare asciinema (rust) to vhs (go)

I still use and love asciinema, but will eventually check out vhs. It records terminal activity, outputs a gif, and you can publish to their[1] server.

Alternative you can feed it a "tape" file, aka a text file with a few configuration options and your ordered commands to run.

My workflow with asciinema sometimes has me cancelling out to redo w/ some minor change, so this tape concept is really attractive

1. https://github.com/charmbracelet/vhs

bhub · 2 years ago
Surprised no one has mentioned the big difference in that you can copy paste from asciinema animations but not from a vhs gif. At least last I looked it was like that.
bhub commented on Ask HN: What does your self hosted stack look like?    · Posted by u/LorenDB
bhub · 2 years ago
Got a second hand HP desktop with Ubuntu server (want to move to Debian at some point) all services etc are docker compose behind Caddy proxy. Connecting to a 2tb NAS. Running Jellyfin, freshrss, nextcloud, invidious, libreddit, Linkding, Firefoxsync, and vikunja.
bhub commented on Ask HN: How can a total beginner start with self-hosting?    · Posted by u/kickaha
bhub · 3 years ago
I started self hosting recently. I bought a cheap desktop server and installed Ubuntu server on it. Every service I run is docker-compose because it’s easier than wrangling deps and such for multiple services. I use Caddy to proxy traffic and generate ssl certs.

I expose https and ssh through my router but use a non standard ssh port (keeps scripts and bots from knocking) and no root access over ssh and no password auth.

Everything runs very nicely and is simple to maintain and setup.

Data is backed up via Borg and rclone to B2.

So far so good as they say.

bhub commented on Ask HN: What is the coding exercise you use to explore a new language?    · Posted by u/sam345
rychco · 3 years ago
I typically write a raytracer while attempting to stick to a small set of "best-practices" for the language I'm trying to learn. I also use this exercise from time-to-time to test new language features (for example C++20 ranges/coroutines recently).

I also recommend this same exercise to others through the book "The Ray Tracer Challenge" [1] by Jamis Buck, because it describes an entire implementation of a raytracer in pseudocode. Beginners mostly just need to plug-in their language of choice & still end up with a satisfying visual result. Experienced programmers can extend it by adding the ability to load non-trivial .obj models, which will necessarily motivate adding concurrency, bounding volumes, & other general performance improvements.

I'm planning on tackling it again in Elixir soon, which should be fun & interesting.

EDIT: Almost forgot to mention the free bonus chapters [2] that get you started on bounding volumes (AABB), soft area lights, and texture mapping.

[1] https://pragprog.com/titles/jbtracer/the-ray-tracer-challeng...

[2] http://www.raytracerchallenge.com/#bonus

bhub · 3 years ago
Thank you for this. A while ago I was doing a fair bit of Elixir in my spare time, so this has given me a reason to pick it up again. Going to give it a go myself
bhub commented on Do you regret deleting FB or IG or any social media?    · Posted by u/happyexplorer
bhub · 3 years ago
I still have it but rarely login and have unfollowed most “friends”. I don’t belong to any groups or anything, so it’s pretty boring. The main issue is the same messenger. Occasionally I get a message which I only see after a month or two, because I can’t seem to appear as “I don’t use this” mode. My wife asks me to keep the account so that a) her married status goes somewhere b) in case she needs to share something. I rarely see any posts to be fair and she will keep me updated on any relevant things happening. I don’t need to check for myself. I have a personal feed curator ;)

Had a few instagram accounts and deleted them all now as it just got boring after a while and nothing much of value. I had an account to enter competitions but with each one being “tag 4 friends” it was difficult as I generally just followed companies or people I didn’t feel like I could tag.

Had a twitter for a while but it became too much work trying to keep up with all the posts and eventually also tired of the same old content.

I use WhatsApp because of the network effect, as well as signal for another group of friends.

Never quite got mastodon or others of that ilk either as no one I know or wanted to follow is on those.

LinkedIn also had zero value and I ended up getting “friend requests” from my mum who I know doesn’t have an account. The dark patterns like this were enough for me to shut the door on that too.

People always complain why they can’t contact me on Facebook etc. I say you can call me, email me, WhatsApp, signal, SMS, or write me a letter. That should suffice. Really.

bhub commented on Ask HN: Does anybody still use bookmarking services?    · Posted by u/joe8756438
dawnerd · 3 years ago
Wallabag is pretty great, the chrome extension is nice too.
bhub · 3 years ago
The iOS app scrolls to where you stopped reading last. This sealed the deal for me over raindrop.
bhub commented on Ask HN: Does anybody still use bookmarking services?    · Posted by u/joe8756438
bhub · 3 years ago
I used to use pinboard[1] but since I started dicking around with self hosting I use Wallabag[2] for “read it later” articles and linkding [0] for saving links that I want to refer to later. Linkding is pretty much a self hosted pinboard

[0] https://github.com/sissbruecker/linkding

[1] http://pinboard.in/

[2] https://www.wallabag.it/en

bhub commented on Meta may be forced to shutter Facebook, Instagram in EU   arstechnica.com/tech-poli... · Posted by u/kergonath
bhub · 4 years ago
Funny how only Facebook is making these statements? I am sure that a multitude of other services (Dropbox, Twitter, etc) also require data transfer between Europe and the US. /s

Oh yeah, because they need the data to make money.

bhub commented on Ask HN: Strategies for Cannabis Withdrawal?    · Posted by u/throwaway_weed
bhub · 4 years ago
Aside from physical addiction, I find the mental side of addiction even harder to deal with. I tend to do X when Y and so each time I do Y I suddenly have an urge for X.

You’d have to have a look and see if there’s anything that triggers your desire to see if it’s the same for you and then try to change the routines a bit. The biggest help will be to just not have any in the house for a while. That will stop temptation and can help break the association of having X when doing Y after a while.

I’d also suggest looking up some advice online about tolerance breaks as well, as there are various tips that ought help you. Not everyone is the same, so you’ll have to shop around.

Plus a t-break will reset your sensitivity to THC which may also help reduce your intake post break.

Good luck

u/bhub

KarmaCake day33November 26, 2020View Original