Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

thelastknowngod, to asklemmy in What was the best burger you've ever had?

Lair of the Minotaur at Kuma’s Corner in Chicago. Nothing else comes close.

thelastknowngod, to newcommunities in Tally Ho - discussion about Sampson Boat co. - a YT channel about restoring a wooden boat from 1910

Every two weeks. I’ve been following from the beginning… It’s the best show on the tubes.

thelastknowngod, to selfhosted in Sharrr in a container?

Figured this would be one of the responses. Thanks. I don’t interact with node very often. I assumed there was a better option but wasn’t sure which… This is just the first result.

thelastknowngod, to selfhosted in Sharrr in a container?

You can do it bro. Dockerfiles are basically just shell scripts with a few extras.

It uses npm to build so start with a node base container. You can find them on docker hub. Alpine-based images are a good starting point.


<span style="color:#323232;">FROM appdynamics/nodejs-agent:23.5.0-19-alpine 
</span><span style="color:#323232;">
</span><span style="color:#323232;">RUN git clone https://github.com/stophecom/sharrr-svelte.git &amp;&amp;  
</span><span style="color:#323232;">    cd sharrr-svelt/ &amp;&amp; 
</span><span style="color:#323232;">    npm run build
</span>

If you need to access files from outside of the container, include a VOLUME line. If it needs to be accessible from a specific network port, add an EXPOSE line. Add a CMD line at the end to start whatever command needs to be run to start the process.

Save your Dockerfile and build.


<span style="color:#323232;">docker build . -t my-sharrr-image
</span>
thelastknowngod, to asklemmy in What topic do you LOVE to talk about, but rarely get to?

For what it’s worth, I haven’t paid more than ~1% effective tax rate in years. This past year I owed like $50 total… For the whole year. Something like 0.03% of my actual income.

If you want to stay stationary, 7% is pretty decent but you can do better bouncing around.

thelastknowngod, to selfhosted in Sharrr in a container?

There are build instructions in the readme. What’s stopping you?

thelastknowngod, to technology in What's your favorite tech podcast?

Kubernetes podcast from Google.

DevOps Paradox.

thelastknowngod, to linux in If I'm trying to have a software program to help optimize my computers overall health and performance what should I be looking into?

It sounds like you’re chasing something that doesn’t exist. There isn’t really like a point you get to when everything is “optimized” or whatever… That word doesn’t really mean anything. Optimization is a process that you use for really specific situations. It’s not a state you get to.

For example, if I was serving a website and the server was showing high CPU usage and disk activity, I might find what files are being accessed most often and add a caching layer (redis, varnish, memcache, etc). That would optimize for more efficient CPU usage and lower disk activity but it would also increase memory usage. That’s a trade off I would need to consider before implementing that change. If the apps I am running are already consuming a lot of memory, I might run the risk of exhausting all the memory and having processes killed off (aka OOM errors). Maybe I try something else then.

You need to find what’s happening with your system and then figure out what you can do to mitigate the behavior of any poorly performing apps. That all starts with good monitoring but beyond that its impossible to say because it’s extremely dependent on how you have chosen to configure your system and what you are running.

This type of investigation is what gets you to be a real engineer.

thelastknowngod, to linux in If I'm trying to have a software program to help optimize my computers overall health and performance what should I be looking into?

There’s no one answer here. It’s going to take a lot of trial and error and experimenting. All of the issues you mention are going to have to be addressed individually as well. There is never going to be a single tool to do this for you.

As far as tracking state over time, standing up a proper, modern monitoring stack will help tremendously. If you send logs to loki, collect metrics with Prometheus or OpenTelemetry, and graph them both with grafana, you should have really great insights to whatever is happening… It’s never going to be finished though. It’s always a work in progress.

thelastknowngod, to asklemmy in What is the best way to make more friends as an adult?

Yep. Meetups are the best. You def have to go regularly though… Don’t expect magic from day 1.

thelastknowngod, to asklemmy in What's your Mario Kart main?

Warrio all day

thelastknowngod, to asklemmy in What topic do you LOVE to talk about, but rarely get to?
thelastknowngod, to asklemmy in What topic do you LOVE to talk about, but rarely get to?
thelastknowngod, to asklemmy in What topic do you LOVE to talk about, but rarely get to?
thelastknowngod, to asklemmy in What topic do you LOVE to talk about, but rarely get to?

As a US citizen you are technically always responsible for paying taxes no matter where you live. The US has a citizenship-based tax system (you owe on worldwide income regardless of where you live). Most other countries in the world have only a residency-based system (you owe only if you are actively living in that particular country). You are still required to file every year and you’re going to need someone more sophisticated than the dude at H&R Block or a free Quickbooks whatever. You need someone who is comfortable working with expats.

“Doesn’t that mean I have to pay taxes for both the US and my new country then?” No. The US has dual taxation agreements with most countries. That means that, basically, the US will not charge you taxes for things you’ve already been taxed for.

The main goal of paying less in taxes is to reduce your taxable income. The biggest chunk of this will happen with the Foreign Earned Income Exclusion. That essentially says that the first $120k you earn in a year is tax free. You can qualify for it by staying out of America for 330 days per year. There is no requirement to have residency anywhere else… You just have to be outside of the US.

That $120k rises every year. When you make more than that and do start to owe taxes, you will start to owe from the lowest tax bracket as well.

If you make $120k and do this, you just got a $30k raise in the form of taxes you no longer owe… You can pretty much travel the world for free using this money.

Now, I said that most non-US countries have a residency-based taxation system. That generally only starts to kick in after living in that country for 181 days. If you stay there for less time, you don’t owe them any money.

There are also countries who don’t have income tax or do but actively tell you not to pay it.

Living in a combination of these places, and bouncing around every few months you avoid any real responsibility to anyone.

If you do earn more than $120k per year, you can reduce your taxable income even further by doing things like maxing out your 401k contribution… That gets you to $142500 or so tax free. And again, you’d start paying taxes at the lowest rate above that.

Any other thing you mention in your US filing that can reduce your taxable income also contributes… Getting married, depreciation value on a home (US or not), investment losses, etc…

Working remotely from the US also gets you a higher salary than if you had just taken a job in the UK or Germany or Japan or something… So you can have the higher salary and the higher quality of live at the same time. You give up some employment protections and European style summer vacations but I’m personally ok with it.

Also, if you are working for a US company remotely, you can add these expected deductions to you W4 and never get charged for them in the first place… You’d have a MUCH higher weekly salary and wouldn’t have to wait for your tax return every year to take advantage of these benefits.

So spend summers in Italy, autumn in Japan, winter in New Zealand, and spring in Mexico. You earn an American salary, take advantage of lower cost of living, travel the world, and its all basically free… Good luck trying to get me to move back to the US.

There’s more but these are the major points.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines