HNHacker News
TopNewBestAskShowJobs

jarv

43 karma · joined November 21, 2011

submissionscomments
jarv··on Self-Hosting Dozens of Web Applications and Services on a Single Server
Curious what service management are you using for all of these docker run commands, systemd? I see you mention that you might consider Prometheus at some point, is there any process monitoring if one of your services crash?
jarv··on We replaced rental brokers with software and filled 200 vacant apartments
Oh man, don't get me started. The 3 _calendar_ month notice that needs to be sent in writing (or faxed) is so ridiculous and I wonder if it is done to make it more difficult to get out of contracts. In my case, I had no idea that the written notice receive date matters (unlike the US, where you typically use the postmark date), due to mail delay because of a holiday my notice arrived 2 days late and that was enough to make them pay for another month despite there being an incredible amount of demand in Berlin for apartments.
jarv··on Senior Google exec opposes remote work, moves to New Zealand to work remotely
> I should also point out something else unfair. I am a dual US|EU (Croatian) citizen who works part-time remotely as a contractor for a US-based company in Croatia, while studying for her masters degree in electrical engineering full time. Because I am an EU citizen, I can work in 30+ countries remotely, outside of the United States, while essentially getting paid more (compared to the locals and most other European Union citizens) for just having US citizenship and related credentials.

For another perspective as a US citizen living in Europe, getting work remotely for US company really only works in tech from what I have seen (maybe in other professions, but they are not that common). What you need is the combination of being able to work on contract, and hopefully not have to shift your hours unless you are working part time. For companies that are large, established, and have remote workers you will likely be paid at market rate for where you live. The tax situation can get complicated depending on your income level, and tax rates in most European countries are much higher than the US. Your investment options outside the US are limited, many expats retain their US banks for this reason. You won't have the benefit of a 401k contribution either. The best situation for employment is being able to invoice a company directly and get paid on a contract, not every company is willing to do this. Otherwise, worst case you would be employed by a local PEO which means for tax purposes you are a full time employee and will likely be paying more taxes than you would in the US. I think Croatia might be in the sweet-spot of countries that hasn't a decent quality of life but also low taxes for independent contractors.

jarv··on The Unix Game
This is pretty cool, looks similar to something I built awhile back (https://cmdchallenge.com), would love to know more details on how you built the backend, how you are sandboxing commands, if you are doing any caching, etc.
jarv··on Food delivery startup Wolt raises $530M
They are the main food delivery in Slovenia and have pretty much completely taken over incumbent due to the better service and better quality application.
jarv··on I bought 200 Raspberry Pi Model B’s and I’m going to fix them
thanks for the info, I've been hearing a lot of horror stories about kids lacking computers since the lockdown. I'm also in Slovenia (LJ), living here as an expat.
jarv··on I bought 200 Raspberry Pi Model B’s and I’m going to fix them
This sounds interesting, do you have any more information about the nonprofit you can pass along? I would love to learn more about it.
jarv··on figlet – a program for making large letters out of ordinary text
small plug - around 6 years ago I created a javascript game that uses Figlet fonts to make arbitrary Atari Breakout-ish boards. Here is a demo - https://jarv.gitlab.io/figlet-breakout/
jarv··on What we learned after a year on Kubernetes
> Actual analysis by the engineers of one of their migrated jobs (urgent-other sidekiq shard) says their cost went from $290/month when running in VMs to $700/month when running in Kubernetes. They tried to use auto-scaling but failed completely and ended up disabling it:

Note this is just one service out of many and has very low latency requirements, and due to our slow pod start times in this case it didn't make sense to auto-scale. We are auto-scaling for other services in K8s.

> says their cost went from $290/month when running in VMs to $700/month

These numbers represent a snapshot in time where we are overprovisioning, for this service for the migration. You are correct that cost benefit here remains to be seen for this service. We are doing things like isolating services into separate node pools which may not allow us to be as efficient.

Safer and faster deploys was a huge win for us, for this service and others. This of course is compared to our existing configuration using VMs and Chef to manage them.

disclaimer: blog post author

jarv··on What we learned after a year on Kubernetes
Yeah, this is why we decided to migrate it first about a year ago, and we probably could have done it sooner than that. Other services were not yet ready to migrate until recently due to some blocking issues which was a factor in the decision.

disclaimer: blog post author

jarv··on What we learned after a year on Kubernetes
It has been possible to run GitLab the application on K8s for some time now for the majority of self-managed deployments. There were some limitations however, for running GitLab on K8s at the very large scale of GitLab.com that we have been working through in the last year.

(disclaimer: blog post author)

jarv··on What we learned after a year on Kubernetes
Blog author here - we are using Helm for our application because of how much we have already invested in our public Helm chart.

We are not sold on using Helm however for K8s in general and are currently evaluating Tanka for some of our monitoring infrastructure. One of our engineers wrote up some notes on that here if you are curious https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issu...

jarv··on Doing stupid stuff with GitHub Actions
cool - and the micro instance is free anyway
jarv··on Doing stupid stuff with GitHub Actions
Just curious - why didn't you decide to serve the site from object storage?
jarv··on Show HN: Oops I deleted my bin/ dir
So the dotfile is resolved but the solution:

  shopt -s dotglob; for i in *; do echo -n "$i "; done
still isn't valid unfortunately because of the extra space at the end, maybe it should be more forgiving about that.
jarv··on Show HN: Oops I deleted my bin/ dir
If it helps you can click on 'view solutions' to see correct answers if you are stuck.
jarv··on Show HN: Oops I deleted my bin/ dir
Thanks! It looks like this is adding leading spaces on every line after the first one. The solutions can be viewed https://oops.cmdchallenge.com/#/oops_print_file_contents by clicking on "view solutions" if you want to compare.

For the ^W thing I'm not sure if it's possible to avoid it, I'll check it out.

jarv··on Show HN: Oops I deleted my bin/ dir
Ah, that is a bug the dotfile should not be there. Thanks!
jarv··on Show HN: Oops I deleted my bin/ dir
thanks for the feedback, maybe something like "display its contents" would be clearer.
jarv··on Show HN: Oops I deleted my bin/ dir
Hello HN: This is a a modification to an old side-project that explores what is possible when you are left with a shell and no utilities on a Linux machine.
jarv··on Python NLTK Sentiment Analysis with Text Classification Demo
The NLTK python lib is a great tool. I've been playing around with this recently and having a lot of fun. More recently I started looking at SCOTUS oral transcripts:

http://jarv.org/2012/02/a-text-analysis-of-supreme-court-ora...

The two articles here by the same author are interesting for folks who are interested in more about sentiment analysis

http://streamhacker.com/2010/05/10/text-classification-senti... http://streamhacker.com/2010/06/16/text-classification-senti...