skysight-inc/HackerNews huggingface dataset:
I have currently 2 projects with some traffic (5k req/day) running in production.

Both have a similar setup:

- 1 droplet with docker pre-installed from DigitalOcean
- clone directly the repo from github
- together with the code, I have a folder with a bunch of docker images (caddy, mysql, php, redis, etc.) that I can easily spin up.
- for any release, I manually ssh, git pull and run the migrations (if any) and manually rebuild any docker image if needed
- I have daily jobs that dumps and zip the entire DB to S3
- if I have some deployment that I know will break any functionality during deployment, I warn the users before and accept that downtime.
- never had to handle a "hard" rollback till now.

I've planned to change this setup for while, but until now, didn't find any reason that justifies the effort.

I spend 20$ (10$ per droplet) + few cents on S3 per month with them.
Why Robots Can’t Sew Your T-Shirt
Length of life is such a horrible metric. What about quality of life?
No, it's not. It's a common opinion among white nationalists, but they are a tiny minority and they don't realize how different white people (or any ethnicity for that matter) actually are. If you put a bunch of British Columbians and Texans in a room, you might have ethnocentricity, but you won't have anything close to social cohesion.
Australia to build Moon rover for NASA
Mostly disagree - With basic background knowledge of the overall ecosystem, problem domain & tooling, figuring out a new framework or API is as simple as newing-up each type and exploring the public interface via something like intellisense.

I can learn some dependency faster by throwing it into a blank unit test project than I can by reading over the (likely outdated) documentation.
Many organizations use Linux OS to run file servers, print servers, content delivery systems, global caching servers, data archives, VPN servers, etc. Surely, Windows and macOS are easy to use, but Linux distributions have become more classy and user-friendly over the years. Linux is also considered to be more secure than Windows and macOS and makes software deployment quite easy. There are certain Linux distros that support enterprise-related tasks, and for that, you can consider these options:

Blog link: https://webhostingprime.com/best-linux-os/
Look, ye faithful, how easy it is to fall from Grace. This was one of your Tribe and now he is a pariah... Beware the many turns of dogma lest ye be thrown from the merry go round of enlightenment into the slavering hordes of deplorables.
I agree. I don't see where what you wrote contradicts what I said.
I never stopped loving to code...but for many years i only kept it as very mild dabbling on the side...Back in the early 2000s, i was a lowly web developer (mostly simple html, javascript, classic ASP/vbscript, sql server stuff) for a large multinational enterprise...in fact for most of my career i've only worked for medium or large multi-nationals (except for 1 year in a non-profit). What brought me back was 2 things:

1. learning python...which made me so productive without needing to learn some verbose language like java, etc.

2. open source software that let me build stuff without needing to pay large license fees.
I've been living in Japan for over 5 years.

> Japan has a serious problem with lack of sound proofing in most of the buildings you'll come across

In older or cheaper buildings this is true. However if you pay you can have better sound proofing. For example some Japanese mansions (residential low-rise condominiums) are built from reinforced concrete and isolate sound fairly well. You just have to be careful to read about the building and its construction. You also have to be willing to pay extra for better construction materials.

> as well as some discrimination (not necessarily racism) you might find while looking for housing

This is true for rentals. I also want to clarify Japanese also experience discrimination so it is not purely a non-Japanese thing. Generally landlords have freedom to put whatever restrictions they want on who they rent the unit to. But this is for good reason. A landlord cannot easily evict a tenant. So the landlord is taking a huge risk in trusting that the tenant will respect the contract and actually pay the rent.

I will say in buildings owned by corporations or businesses, they sometimes don't have any discrimination by nationality. They do tend to have higher requirements for income and may discriminate based on your current company employment contract. Also they may require a specific guarantor company which tends to be more expensive. The guarantor company is sort of a risk insurance for the landlord paid by the tenant.

However things are quite different if you buy the land outright. Here the only restriction is bank loans. If you do not have permanent residence, the number of banks willing to lend money are very few. If you have permanent residence then you have many more banks to choose from. Otherwise there is no restriction on who can buy land.

> Unless you have a company dealing with this stuff for you, you're going to have some headaches.

I think it is all about perspective and expectations. In Japan the Japanese are used to dealing with bureaucracy (though many Japanese also really dislike it). The information is readily available, you just have research yourself. Otherwise you have to accept that you are moving to a non-English speaking country and it is your responsibility to find a way to understand the local language or get someone to help you.

I do agree that there are still many headaches to adjust to Japanese business and culture. But I also don't understand why everyone has an expectation that Japan must change to meet their expectations. Japan is a first world country with many issues, but it isn't a place where you can expect to be free of first-world problems.

For example in the US nearly nobody bothers to complain about credit rating agencies. Maintaining your credit is seen as something you control. Which isn't necessarily true. Credit ratings greatly affect American lives. So everyone is in a way obligated to participate in a non-government created scheme yet nobody bats an eye. Just sign up for a credit card.
I've been a solo Web/Internet entrepreneur for most of 20+ years, non-stop.

The DevOps side of things is trivial in the beginning and takes very little time compared to actual development.

Ubuntu server, Nginx, Mysql or Postgres, PHP, Go, Redis. Configured reasonably, it's a ridiculously reliable stack where things very rarely go wrong.

I prefer DigitalOcean these days. Takes <15 minutes to configure a base new setup - a template - from scratch, make a few adjustments and double check everything. From there I can pop up a lot of servers as needed. I usually tweak things based on the project, although that doesn't take a ton of time.

And that's it. Back-ups on eg a database focused droplet are automated by DigitalOcean. Occasionally I have specialized back-up needs, and I'll do a bit of custom work for that. Most of this could be offloaded by using DigitalOcean's database service, I just prefer to limit cost by not.

Under no circumstances would I use Kubernetes for a smaller to medium size service.
Work on something you're not getting paid for and that nobody's making you do.

I find it 1000x harder to get excited about code I need to write vs. code for the current bee in my bonnet.
http://www.machall.com/view.php?date=2003-09-22
My daily commute is 48.6 miles, at about 30 miles/gallon. 1.62 gallons per day, which when combining the energy content of the gas (38.685 kwhr/gal) and the refining energy cost (4 kwhr/gal) is a daily vehicle energy usage of 69.15 kilowatt-hours, plus whatever I use getting lunch. The greenhouse effect of my gaming rig is next to irrelevant.
It's possible consciousness isn't a real thing. Humans might just be big neural networks that predict the actions most likely to result in survival.
This is good advice. Thanks for sharing.

To OP: What has re-motivated me to code is not the coding work itself; but the application of my skills to solve problems that I care about.
I haven't lost my love for coding. Coding lost its love for me.

Oh, coding. We used to be so similar. We'd gaze into each other's eyes and get lost for hours, days at a time, teasing the vast boundaries cast by simple questions. But coding changed. You changed, coding, you changed and you left me behind.

All you care about now, coding, is looking in the mirror. Measuring yourself. Analytics. Velocities, sprint points, backlogs; you say you want me, coding, but you really just want me to be there and watch while you go do what we used to do, as the younger developers frolic with the old questions anew. I think, coding, that you're just using me because I accidentally showed you I could do the other things.

You say that we're still coding, coding, but this relationship died a while ago and I'm still around because I'm in love with a ghost.
I scaled to millions of users as a solo founder and still run the whole show myself. AMA if you like.

Here is what works for me:

CI: From the terminal, I run my tests and commit to git.

Deployments: rsync

Rollbacks: Never did one. If something breaks, I fix it and rsync the fix to production.

DB: MariaDB

k8s: I don't use it. Computers are very fast these days. A cheap single VPS will get you a long way.

Nightmare: Not really. I spend about 30 minutes per week on DevOps.
I'm using Hetzner, Terraform, GitHub Actions, Docker to automate the build and release of an app I'm planning on launching (..eventually). I use Terraform to provision the Hetzner VMs with Docker running on them, in there I have a container with the GitHub Runner that pulls Flutter and creates a nice build environment as well as release env (using Fastlane), then it uses the latest code, compiles, releases to Play store. Works like a charm, initially it was just a Docker container on a Pi, but the main reason I went that route was being able to move it whenever/wherever.
Not a change in language, but in problem space (which tends to lead to a change in language).

If you're a .NET enterprise CRUD guy, try web. If you're web, try C++ application work. Try kernel stuff, try embedded. Branch out.
History of Symbian OS
Great tip for running the JIT AOT, for anyone interested Microsoft calls this "ReadyToRun" compilation [1].

[1] https://docs.microsoft.com/en-us/dotnet/core/deploying/ready...

I wonder did you test if the increased size results in an actual win for the startup time ?
Just because everyone does it doesn't mean that it isn't wrong and illegal.
Well I don't distrust you.. it's just I have'n ever heard of it apart for some "minor audio hallucination". But if you say so I'll take your data point.
It is hard to quantify across all of my income streams, but I bill for butt in chair and hands on keyboard: $150/hr since 2018. I haven't raised my rate since the world shut down and its high enough for me and keeps a lot of crap recruiters from hounding me constantly. The first thing I tell them is my rate.
Basically same here. In cases the deployment has to be zipped and manually deployed to elastic beanstalk. On some EC2 instances for projects running a PHP stack, I don't even bother with this, just SFTP script changes to the server straight out of my IDE. Take care of any rollback needs with local Git versioning.
4. Give yourself permission to write quick, sloppy, slapdash, throwaway code. Note that you won't necessarily DO so but the permission itself lets you stop worrying about engineering the entire product ecosystem and just enjoy bashing out something fun that does something.

You can always fix it later... or not!
Whatever your problem is if it's remotely calculation heavy you can draw as much power as the hardware will let you (if the software handles it)
I'm not super sure it's that. What's stopping companies like Spotify? It's not like they were just trying to address the Swedish market.

And note carefully, from Wikipedia:

> In April 2016, Ek and Lorentzon wrote an open letter to Swedish politicians demanding action in three areas that they claimed hindered the company's ability to recruit top talent as Spotify grows, including access to flexible housing, better education in the programming and development fields, and stock options. Ek and Lorentzon wrote that to continue competing in a global economy, politicians needed to respond with new policies, or else thousands of Spotify jobs would be moved from Sweden to the United States.

The "and stock options" seems hugely overlooked but is not at all trivial. It seems to be one of the most important pressures on US companies to push all developer salaries way, way up.
Which is the French nuclear power plant operated on a Pacific atoll?
Rethinking GIS
'California's Energy Consumption Tier 2' is basically that but I believe it applies only to prebuilds currently.
Mindmesh – Knowledge base that works across all your SaaS apps
Surprised to see such mediocre performance from Node. It was an engineering decision on our team to develop one of our Lambdas with Node and we were deciding between Python and Node. Looks like Go and Rust look very promising.
My two daughters went through elementary schools in Tokyo and Yokohama, and they walked to school in groups—called tōkōhan—that were arranged by the schools. In Tokyo, their tōkōhan met each morning in front of our apartment complex; in Yokohama, it met a block away from our house. There were about ten to fifteen kids in each group.

The children were taught at school how to behave safely in the tōkōhan, and older kids were assigned to walk at the front and rear of each group and to keep tabs on the younger ones. In the afternoons, though, the kids came home on their own, as different grades finished at different times.

In Yokohama, parents shared the crossing guard duties. For a week or so every couple of months, I would have to stand with a flag at a nearby corner for fifteen minutes every morning and wave each tōkōhan by. (I was working from home then and was available to do it.)

The streets in the area where we lived in Tokyo had sidewalks, but in our Yokohama neighborhood the narrow streets are used by both pedestrians and vehicles. That has always made me a little nervous, but fortunately there’s not a lot of traffic in our neighborhood; most of the people living nearby do not have cars, and those who do seem to do most of their commuting and errands on foot or bicycle. I feel less safe in rural areas of Japan, where pedestrians often have to walk along narrow, sidewalk-less roads with cars and trucks whizzing by.
there's a tiny link at the bottom of the readme that points to the project that is actually doing the work (this appears to be deploy scripts for a company's cloud project): https://github.com/FD-/RPiPlay

in the actual project's readme, they note:

>
Screen mirroring and audio works for iOS 9 or newer. Recent macOS versions also seem to be compatible.
We seem to be reaching the point where I expect it'll soon make more sense to consider the GPU as the heart of the computer and the CPU as a peripheral.
What is the domain of your venture? (assuming it's not something you want to advertise specifically)
Several great insights from a person that truly cares about not only the outcome of models but what is causing the outcome.
Her talks about parole guidelines being taken over by ai are great.
Before the pandemic, I made a conscious effort to meet people by regularly attending a bunch of local meetups, over the course of two years. I made a ton of new acquaintances that way, and about 15 of those people ended up being part of my two main friend circles now.

I always thought of myself as an introvert before, but I just kept attending these things, and being present a bunch, not being too irritating of a person (I don't claim to be full of social graces, but overly irritating people did tend to be filtered out over time), and having activities to focus on instead of just talking at a lot of these (board games, scavenger hunts, movies, etc) helped me make those friendships over time.

Since the pandemic I've regressed quite a bit and haven't maintained a lot of the weaker friendships, but I still do things with those two main friend circles, mostly board game nights at their houses. Helps that everyone that attends is vaccinated, otherwise I'd feel less comfortable about it.

Anyway, it's possible if you make an effort, or at least it was before the pandemic (it probably still is possible, I'm just personally more cautious now).
I don't understand how this works, but shouldn't it be as simple as NumAvailable = NumIn - NumSold - NumDamaged?

NumSold and NumIn are ofc eady to keep track of, and NumDamaged could just be like a portable barcode scanning device that the staff scans with whenever putting away a broken item.
> Japan is an amazing well oiled peaceful machine that just requires A LOT of paper work to get going.

One has to wonder if that paperwork is an essential cause of such a peaceful state. It might well be channeling (male) energies that could otherwise end up unsettling society.

When even criminal cartels are highly-formalized, one has to wonder if the acceptance of ritualistic forms of bureaucracy is a key to the "dynamic stillness" of Japanese culture.
Also there is an article about "History of N-Gage".[0]

[0] https://smart2000s.com/2021/10/03/history-of-n-gage/
Yes and no. I've learned to accept the tedium of doing software development at work. But I've grown impatient with the act of coding itself - it just takes too fucking long to do anything. Too much accidental complexity one has to wade through, to express even simplest ideas. My coding cannot keep up with my thoughts, and I find it tiring.

I've ranted on this here: https://news.ycombinator.com/item?id=28568053.

I have some ideas for improvements, but alas, between being a parent and working as a software dev, I hardly have the energy to explore them.
Starting again after a break is a big help. Likewise trying to do something else for a while and realizing that the grass is always greener helps to get things in perspective.

I also think if you love coding then moving up the ladder is neither necessary or helpful because once you get into having to be responsible for other folk than yourself, fun tends to drop off. Coding is potentially a creative activity if you allow it to be.
Regulation is going to be particular to your municipal or county government. Unless you’re in a major city, the permits desk will probably be approachable and will take the time to explain what you can and can’t do. They will probably entertain a variance unless you seem like you’re really out of your depth. They may be able to tell you about other bale construction in your area.
Strong regulation by whom? The organization that brought us the CIA, NSA, FBI, and the rest of the alphabet soup of “security” bureaucracies that spy on us arbitrarily?

Strong regulation could easily worsen the problem, as it can lead to a ratcheting up of the regulatory burden until only mega corps like Apple and Google could afford to make phones, and upstarts like Purism and Pinephone get squeezed out.

How about before getting so gung ho with pointing the government gun at everyone’s head, we consider the option of rolling back the unjust regulations that already exist which give the mega corps undue government privilege (patents are a good place to start), and encouraging (by voting with our wallets) organic alternatives to emerge, like they already are doing.
Much better worded than my post above. Yup to this.
You don't need Microsoft for that, Germany and the EU threatens their digital sovereignty by itself for being completely and utterly incapable of finish even one single project, plus being highly uneducated (the politicians) in that field.
Anecdote: A relative of mine who does home remodeling told me that over the past year most of his clients plan for dedicated office rooms now, rooms that would've been planned as guest rooms and whatnot before. They're also running 12-2 wire with 20 amp breakers to these rooms now. So yeah, not quite the laundry plugs you're describing but getting closer.
Programmers being very nitpicky about syntax is kind of a thing.

US-Americans just get super defensive if they get called out on doing something different than the rest of the world. Sure it is not a big deal and I don't care about respecting the trademark of the Lego company but you can still accept that Legos is wrong. You are free to call it whatever but it will sound very grating to an international audience.
One book I like is "Building with straw bales" [0], by Barbara Jones. It's mostly very practical. Reassuring also when it comes to using a less usual building technique. A tad bit to the eco hippie side for my taste, but only in minor details. All the important bits are very much grounded in sound practice.

If you want to gather practical experience, come help me fiddle with our straw bale house next spring or summer :-)

[0] https://www.goodreads.com/book/show/23281280-building-with-s...
I'm a noob when it comes to devops, so you might not want to do it my way.

I keep it super simple. I have a git repo where I directly commit into master. When I want to take the changes live I ssh onto my VPS, I git pull the changes and restart the website service.

I use an SQLite DB that I automatically copy (backup) to my local machine daily via the Windows equivalent of a cron job. Once it's on my local machine it's also backed up to other places as part of my local backup process.

I run my tests manually when I think I've made significant changes.

Otherwise I just react to errors ASAP (I get an email notification from sentry when a new error occurs)

A lot of this doesnt work with a bigger team of course.

It's a balance between risk and time investment. The simpler your dev ops stuff, the higher your risk of introducing bugs into production. But it saves you a lot of time not dealing with that stuff.
Correct. The 4.12+domains branch has effect handlers without syntactic support (which is what will be in 5.0), the 4.12+domains+effects has the syntax.
It just never seemed worth the effort when we are paying Docker Hub to be our private registry.
You avoid it as much as possible. When your time is that valuable, lean on PaaS options like Heroku, Fly.io, Gigalixir, etc.

If it’s just you, you can afford to use a simple shell script to run tests locally before deploying or use a Travis/Circle/Cloudbees CI option too.

You have enough to focus on with the application itself.
In what way are they inferior? There are a lot of properties of building materials, and correct selection is about the compromise based on what each has. Cure time is one consideration, cured strength is another, R value, mass/volume ratio - and those are what I as a lay person can come up with: I suspect someone with more knowledge as a longer list.
Online Camera Photo Mechanic 6 Zoom Download [ Latest Version ]
A more accurate way to say “best practices” is to say “minimally acceptable”. This one trick is especially helpful when talking to management.

If everyone is doing it, then it means it’s the bare minimum that you should be doing, in order to be the “best”, you’ll need to go far above and beyond “minimally acceptable”.

When management hears, “best practices”, they think, “If we do that we’re done!”, which is not true, but they don’t understand that. When you try to improve things management becomes an impediment, but they usually don’t explain themselves, because they think it’s obvious, we’re already doing the “best”, why do we need to do anything else?
The sentence you quote is followed by a sentence which adequately addresses your comment. Here, I’ll paste it for you: “Alternatively, you’ve determined that the vaccine is effective enough.”
I have no DB, static website, deploying in production on a VPS with git (manually) and rsync + Cloudflare. I just don't know what kubernetes is, nor do I encounter any of the problems you mention.

> Just properly setting up and maintaining a small k8s cluster looks almost like a fulltime job.

ok.