HNHacker News
TopNewBestAskShowJobs

acejam

148 karma · joined November 30, 2016

submissionscomments
acejam··on IPFS Backed by Decentralized Storage
Please try again. :)
acejam··on IPFS Backed by Decentralized Storage
Our sincere apologies. I admit, our Cloudflare firewall rules have been tuned very aggressively in an effort to prevent spam accounts. I've made some significant changes to the rules and it should now work for you.
acejam··on IPFS Backed by Decentralized Storage
Agreed - there is no incentive layer present with vanilla IPFS. This is where Sia comes in. Hosts on the Sia network are paid using Siacoin to keep data readily available and online - they are incentivized. At Filebase, we have connected the two technologies to give us the best of both.
acejam··on IPFS Backed by Decentralized Storage
"Just setup rclone and mount a cloud drive."

This reads like the infamous Dropbox comment. :)

acejam··on IPFS Backed by Decentralized Storage
Sure - but you (or a pinning provider) need the actual file first before you can re-pin it. The data has to live somewhere.
acejam··on Delayed Job vs. Sidekiq
This article matches up with most of my own findings as well. I've been using Sidekiq for almost 10 years now. I currently use it with a project that just hit over 1 billion jobs.

To me, Sidekiq is the perfect example of keeping something simple. A basic Redis + Sentinel deployment with persistence enabled and multiple read replicas has allowed me to achieve this.

Scaling Sidekiq workers is also incredibly easy. I have dedicated job queues for various categories, and I simply create a new Kubernetes deployment for each category. Each deployment is set to only process a specific queue. This allows me to throttle how quickly each queue gets processed, simply based on replica/pod count.

acejam··on Run Ordinary Rails Apps Globally (2021)
Check out Filebase [0]. It's powered by Web3 technologies including decentralized and distributed storage networks, effectively creating one giant "global" S3 region. You could almost think of it as the storage-equivalent to Fly.io. It also works with ActiveStorage out of the box since Filebase has an S3 compatible API.

[0] https://filebase.com/

acejam··on Saving on egress switching from AWS to Hetzner
I am in the process of migrating off of Rook Ceph after using it in production for two years. Setting it up is easy thanks to Rook, but wait until Ceph gets under load, then the real fun begins. If you only need object storage, I suggest looking into SeaweedFS[0]. It's a far more lightweight and performant solution.

[0]: https://github.com/chrislusf/seaweedfs/

acejam··on Do not use Digital Ocean for production
I unfortunately had a similar issue about 1-2 years ago also on DOKS. We upgraded some k8s infrastructure on our side, but something about the "managed-ness" of their k8s solution caused our entire cluster to break. I believe it was due to some sort of admission webhook controller that had a failurePolicy of Fail, causing dependent pods to break, preventing everything else from starting.
acejam··on Polycloud: S3-compatible object storage
Filebase is S3 compatible and has pretty straight forward pricing [1]

[1] https://filebase.com

acejam··on The absolute worst scenario happened
This is my dream. Is that bad?
acejam··on Top EU court overturns US data transfer agreement in Facebook case
OVH has two datacenters in the US now: https://us.ovhcloud.com/
acejam··on Ask HN: SWE Infrastructure – Should I Learn Go or Python?
Bash, Python, Go - in that order.
acejam··on Httpx: A Ruby HTTP library
This looks interesting, thanks for sharing. I've always had good success with httprb[1], but I'll give this a look over too.

[1] https://github.com/httprb/http

acejam··on Google Announces Nest WiFi
Many of these features appear very similar to Eero[1]. It's a clear battle against Eero/Amazon for market share.

If you're looking for simple rock-solid mesh WiFi, Eero is what you want.

[1] https://eero.com

acejam··on The boring technology behind a one-person Internet company (2018)
Great article. Are you using DataDog Synthetics for the DataDog response time graph?
acejam··on Running GitHub on Rails 6.0
I've used Active Admin in previous projects, but eventually got tired of it. As of late I've been using administrate with pretty good success: https://github.com/thoughtbot/administrate
acejam··on Microsoft Flight Simulator
Wow, this brought back some memories.
acejam··on GitHub launches Actions, its workflow automation tool
If you're as eager as I am to check this out, try this:

  1. Go here as a logged in user: https://github.com/actions/docker/blob/master/.github/main.workflow
  2. Click Edit on the file (top right corner, pencil icon)
  3. Edit existing workflow, or click "Create a new workflow".
acejam··on Going Serverless: From Common Lisp and CGI to AWS Lambda and API Gateway
You have full control over the incoming event object, so you should have complete control over inputs. Connections to services depends on your setup of course. If you can route to your VPC, you can access those private resources too. By default, it will use your local AWS keypair, but I believe there is a way to assume an IAM role as well.
acejam··on Going Serverless: From Common Lisp and CGI to AWS Lambda and API Gateway
At my company we have a few small basic API's now running on Lambda and API Gateway. We're a big AWS shop and I can't envision us ever moving to Google or Azure, so vendor lock-in isn't much of a concern. At first local development was a bit challenging, but frameworks like Serverless help with that.

Also, many don't know this, but you can run and debug AWS Lambda locally with AWS' own tooling. Using this to build out and test Lambda's before creating them with Terraform has been priceless: https://github.com/awslabs/aws-sam-cli

acejam··on Going Serverless: From Common Lisp and CGI to AWS Lambda and API Gateway
Sounds like you might have a config issue. I have Lambda's that take 20ms and API Gateway returns the entire response in ~40-50ms.
acejam··on Going Serverless: From Common Lisp and CGI to AWS Lambda and API Gateway
You can run and debug AWS Lambda locally. We've done it with several of our API's: https://github.com/awslabs/aws-sam-cli
acejam··on Coinbase reportedly gets approval from US regulators for tokenized securities
Not quite. Yes they control the social media channels, but check any other crypto sub and you'll find some of the same articles and information. For what it's worth, I think forks are great because they allow people to try new things. However, Roger Ver and the Bitcoin Cash community have clearly taken steps to mislead the public into thinking that the original Bitcoin is "Bitcoin Core", and that Bitcoin Cash is "Bitcoin". When an outsider comes in and tries to buy "Bitcoin", but is misled into buying Bitcoin Cash, that's a genuine problem. Here is one example: https://www.wetalkcoins.com/news/quotbitcoin-cashquot-faces-...
acejam··on NPM proxy users receiving ERR 418 I'm a teapot
Our Nexus setup is internal only. For WFH, we have hundreds of folks using a corporate VPN which routes to our office, and then our office routes to our AWS VPC, which is where our Nexus installation lives. I set this configuration up and haven't had any real issues with it, nor do I see any reason to switch between a proxy and npm.

If a developer is using an older buggy version of npm that doesn't respect .npmrc and changes a lock file to point back to npmjs.org entries, we deny the PR and ask for it to be fixed. Right now that check is unfortunately manual, but there are plans to automate it. It can be easy to miss at times though, since GitHub often collapses lock files on PR's due to their size.

For us, the main purpose of using Nexus as a proxy is to maintain availability and to cache/maintain package versions. If you're using Nexus to make things faster, then you probably shouldn't be using it. If you want faster installs, look into using `npm ci`.

acejam··on NPM proxy users receiving ERR 418 I'm a teapot
Vendoring dependencies typically entails committing at least 200-500 MB of packages into a git repo. No thanks. Availability should be easy to control with running your own Nexus or other internal registry. The rest (package versions, etc) can often be solved with an npm 5+ lock file.
acejam··on NPM proxy users receiving ERR 418 I'm a teapot
Agreed. It's very easy to setup a private npm registry using Nexus OSS.
acejam··on NPM proxy users receiving ERR 418 I'm a teapot
You can specify what registry to use with a simple project-based .npmrc file. We have ours point to our Nexus npm proxy.
acejam··on GDPR: Don't Panic
Do you have a source for this?
acejam··on DigitalOcean Introduces Kubernetes Product
I had been a Linode customer since 2008 and recently migrated to DigitalOcean about 6 months ago. So far my DO experience has been flawless. I needed basic, reliable block storage and at the time, Linode had promised "it's coming" for years. I beta-tested the Linode block storage and it was not stable for me. At the end of the day, Linode has rock solid stability, but they are unfortunately too slow to develop new features, thus I simply had to move on.
← PreviousPage 2 of 4Next →