Readit News logoReadit News
onestone commented on Everything useful I know about kubectl   atomiccommits.io/everythi... · Posted by u/alexhwoods
throwaway984393 · 4 years ago
I'm lazy and I don't like having to remember "the right way" to run something, so my solution is directories and wrappers. I keep a directory for every environment (dev, stage, prod, etc) for every account I manage.

  env/
      account-a/
                dev/
                stage/
                prod/
      account-b/
                dev/
                stage/
                prod/
I keep config files in each directory. I call a wrapper script, cicd.sh, to run certain commands for me. When I want to deploy to stage in account-b, I just do:

  ~ $ cd env/account-b/stage/
  ~/env/account-b/stage $ cicd.sh deploy
  cicd.sh: Deploying to account-b/stage ...
The script runs ../../../modules/deploy/main.sh and passes in configs from the current directory ("stage") and the previous directory ("account-b"). Those configs are hard-coded with all the correct variables. It's impossible for me to deploy the wrong thing to the wrong place, as long as I'm in the right directory.

I use this model to manage everything (infrastructure, services, builds, etc). This has saved my bacon a couple times; I might have my AWS credentials set up for one account (export AWS_PROFILE=prod) but trying to deploy nonprod, and the deploy immediately fails because the configs had hard-coded values that didn't match my environment.

onestone · 4 years ago
I simply put my apps in different namespaces on dev/stage/prod/etc. That way a kubectl command run against the wrong cluster will fail naturally.
onestone commented on Ethereum Sharding FAQ   github.com/ethereum/wiki/... · Posted by u/dmmalam
AgentME · 7 years ago
I think a lot of the hate is a reaction to the baseless hype from people just trying to get rich from cryptocurrency. There are tons of altcoins and ICOs being made and advertised constantly that are nothing but hot air. There are people making a lot of money (or thinking they can) from buying into altcoins (hyped up by nonsense marketing pages), which they then try to shill to others. People are often being incentivized by rising prices to act this way!

Outsiders start to learn that "blockchain" = "get-rich-quick nonsense", and miss the interesting technical discussions (which often come from the Bitcoin and Ethereum spaces).

onestone · 7 years ago
Well, baseless naysayers are just as bad as baseless hypers.
onestone commented on FRA1 Block Storage Issue   status.digitalocean.com/i... · Posted by u/nik736
eropple · 7 years ago
As somebody who's been looking really hard at a project/side business that'd use Spaces (DO's object storage system), this makes me super, super nervous. To say nothing of block storage--yikes.

Can anyone speak to quality/reliability of other object storage providers that have S3-compatible (including presigned URL) APIs? S3's pricing is absolutely ridiculous by comparison, but they have the reliability argument on their side...

onestone · 7 years ago
StorPool[0]. Inoreader recently blogged about their experience with it, and why they chose it instead of Ceph[1].

[0] https://storpool.com/ [1] http://blog.inoreader.com/2018/03/success-story-inoreader-op...

onestone commented on Google Hangouts Chat   blog.google/products/g-su... · Posted by u/alooPotato
onestone · 8 years ago
Any bets on how their next IM app will be named? My pick is Hangouts Talk.
onestone commented on How Often Do Cryptocurrencies Commit New Code?   priceonomics.com/how-ofte... · Posted by u/dror
CryptoPunk · 8 years ago
Is this only looking at one repository per project? Some projects, like Ethereum, have a number of repositories:

https://github.com/ethereum

onestone · 8 years ago
Yeah, flagged for being inaccurate.
onestone commented on MakerDAO’s “DAI” stablecoin is breaking, as predicted   prestonbyrne.com/2018/01/... · Posted by u/matthewbauer
onestone · 8 years ago
FUD. Insufficient liquidity on some exchange might cause the price to fluctuate briefly, of course. But it quickly corrected back to $1.
onestone commented on Bootstrap 4 Beta 3   blog.getbootstrap.com/201... · Posted by u/jdorfman
onestone · 8 years ago
> There will be no breaking changes from Beta 3 to stable, so our changelog should be short and sweet. Expect some linting, Sass variable improvements, updated docs Examples, and more build tool improvements.

Nice! We can finally use Bootstrap 4 without expecting future breaking changes.

onestone commented on OVH Incident in Strasbourg   status.ovh.com... · Posted by u/fvv
dx034 · 8 years ago
Looks like he deleted the tweet but he wrote earlier that GRA was down with the others while BHS was up. I'd guess he is in RBX and couldn't reach GRA so assumed it was down until they realised that the RBX-GRA line is down.

EDIT: He did indeed delete the tweet, [1] is the url in case anyone knows a website archiving them quickly enough.

[1] https://twitter.com/olesovhcom/status/928536233311076353

onestone · 8 years ago
I have several servers in GRA which were unreachable for two hours. Might have been due to the routing or DDoS-protection infrastructure.
onestone commented on Byzantium Hard Fork Announcement   blog.ethereum.org/2017/10... · Posted by u/joshschreuder
Gaelan · 8 years ago
What’s this about an “ice age”?
onestone · 8 years ago
The Ethereum "ice age" is a mechanism to ensure smooth transition to future planned hard forks. By tweaking the difficulty adjustment formula to artificially increase block times after some time (the so called "difficulty bomb") it makes mining on the old chain unprofitable, and incentivizes everyone to move to the/a new one. The general idea is to prevent extreme conservatism and stagnation w.r.t. hard forks, as we are seeing in Bitcoin.
onestone commented on Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions   code.facebook.com/posts/2... · Posted by u/cpojer
scarlac · 8 years ago
Not quite the same but ironically the standard "node" Docker image contains yarn: https://github.com/nodejs/docker-node/blob/b502aa016335c81a5...
onestone · 8 years ago
I was the one who added Yarn to the official docker-node image[1][2]. This was the most popular docker-node feature request at the time. We managed to achieve it with a minimal size increase (with the help of the awesome Yarn team) and without affecting anything else. There was already a history of us providing some bonus features which the upstream Node project doesn't, such as a musl-libc build (for Alpine Linux).

[1] https://github.com/nodejs/docker-node/pull/337 [2] https://github.com/nodejs/docker-node/pull/403

u/onestone

KarmaCake day1885June 5, 2012
About
[ my public key: https://keybase.io/onestone; my proof: https://keybase.io/onestone/sigs/RBwdA9XsiM5Di-mKH-Dz31i3SkzFt-jDtai8W8XlBSE ]
View Original