HNHacker News
TopNewBestAskShowJobs

poxrud

560 karma · joined May 28, 2013

Cloud Engineer, Developer, AWS Certified Solutions Architect Professional. Bluesky: https://poxrud.bsky.social/

https://blog.oxrud.com/

submissionscomments
poxrud··on Show HN: Vantage – An alternative AWS console focused on developer experience
You can create a role with certain permissions in your account. You can then configure this role to only be assumed by another user in another specific AWS account.

This is how you can share resources between different AWS accounts.

poxrud··on AWS Lambda Terraform Cookbook with working examples
I use a domain driven design (ddd) approach with terraform where different business domains and subdomains are isolated by modules. For example, if an application handles photo uploads and image processing, that would be in its own module.
poxrud··on Hotwire: HTML over the Wire
I'm curious how this is different from Turbolinks, which was been available since rails 3.
poxrud··on Amazon Location Service
Another good option for self hosted geolocation is using Postgresql+PostGIS.
poxrud··on On Learning Chess as an Adult – From 650 to 1750 in Two Years
Can anyone recommend any books or resources on teaching chess to kids?
poxrud··on Effect of exercise training for five years on all cause mortality
Yes they mention in the paper mental and physical improvements.

In addition, the mental component continuous summary score was significantly higher in the HIIT group compared with control group (P=0.04) and MICT group (P=0.04) after five years (supplementary table S6).

poxrud··on The Complete AWS Lambda Handbook for Beginners
It is because there are many ways to configure AWS. Should the tutorial use aws cli, cloudformation, terraform, cdk, sam? The Management Console tutorials get you familiar with the concepts quickly, but it is up to the developer use that knowledge with the tools of their choice.
poxrud··on DigitalOcean App Platform
Would cost ~$80 with cloudfront.
poxrud··on When a customer refunds your paid app, Apple refunds its 30% cut [edited]
That cannot be true or maybe you have a grandfathered account, as paypal absolutely does not refund the percentage fee. Same with Stripe.
poxrud··on Docker Releases Plugin for Simplified Deployments into AWS
It took me half an hour and a 30-line (with spaces) terraform file to get a Lightsail instance up with static ip, running wordpress.
poxrud··on DIY Video Hosting
I thought this only applies to their free accounts, and that they have no issues with serving any size files as long as you pay them.
poxrud··on DIY Video Hosting
I played around with mux and it was a pleasure to use. However I needed to implement a PPV type experience and unfortunately mux did not have any way to restrict or revoke access to content on a per viewer basis. One of my requirements was to be able to revoke tokens for streams that got shared and detect multiple viewers under the same token but sadly this capability was missing. As for pricing mux is priced very well and cheaper than AWS and many other platforms.
poxrud··on DIY Video Hosting
You can input an HLS stream and output whatever you want as a single file with ffmpeg or even vlc.
poxrud··on DIY Video Hosting
You can use HLS with the described CDN, since it's just http.
poxrud··on DIY Video Hosting
You can also use ffmpeg to do this, but figuring out the correct command line options is not easy.
poxrud··on Hardcoded secrets, unverified tokens, and other common JWT mistakes
If you're blacklisting tokens at any point in your application, you then need to check this blacklist.
poxrud··on Hardcoded secrets, unverified tokens, and other common JWT mistakes
So regular cookie session based auth? There are drawbacks such as managing session state on the server, and increased latency and cpu load, since you now have to have a db call on every action.
poxrud··on After GitHub CEO backs Black Lives Matter, workers demand an end to ICE contract
Rekognition is Amazon, not Microsoft.
poxrud··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
That is true but it will not protect against all forms of CSRF, for example you'll be vulnerable if you have user generated content that's not sanitized properly. On the refresh_token cookie I have sameSite and httpOnly set.
poxrud··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
Because then you can be vulnerable to csrf attack. For example if someone tricks you into clicking www.mysite.com/api/delete-account
poxrud··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
But why not use it? It's more secure and easier to use because you don't have to generate a salt.
poxrud··on API with NestJS #3. Authenticating users with bcrypt, Passport, JWT, and cookies
I'm currently implementing auth with JWTs. I've settled on shortlived access tokens and long lived refresh tokens. The refresh tokens get validated against a blacklist. This way you get the best of both worlds, you minimize db access while at the same time have the ability to revoke tokens.

Another thing one must be aware of with JWTs is protecting your users against XSS and CSRF's. Make sure your shortlived token is stored on localStorage and the refresh one is stored in a cookie.

poxrud··on Joe Rogan got ripped off
Hundreds of millions or billions, not 10s of millions.
poxrud··on Shopify Goes Digital by Default
I find this strange as they've just recently opened brand new fancy offices in Toronto. As I've visited these offices, you could see through the glass windows of meeting rooms, people brainstorming in groups on whiteboards and presumably working together on solving interesting problems. I'm not sure if working from home is conducive to this type of group problem solving/brainstorming sessions.
poxrud··on How Roam Research analyzes product design and team building
There is a setting that removes the bullets from view.
poxrud··on The Anti-Amazon Alliance
The prices for AWS products only tell a small part of the story. The real costs are in outgoing bandwidth.

Take the encoding example above, you might pay a competitive price for the compute time required to encode, but you'll be paying some of the highest bandwidth fees in the industry if you were to stream out your encoded video to multiple viewers.

poxrud··on The Anti-Amazon Alliance
>>Amazon is killing video encoding business by selling a negative margin video encoder to sell through AWS compute.

What product are you referring to? I'm in this industry and based on my experience their video encoding+storage+streaming offerings are actually higher priced than their competitors. The reason their services are popular is the integration with the rest of AWS (which is true for most of their offerings).

poxrud··on Stripe records user movements on its customers' websites
So you have to charge $1000 + ($40 % of users who return + cushion) for the product. That means non-Stripe businesses can start to out-compete you on cost.*

If you charge your customers more you will still end up paying more. The $40 was based on a 4% fee. (I'd like to make a correction, as in my case it is actually 3.5%)

What makes it so that Stripe has such a unique position and can impact your costs and competitiveness to such a large degree?

Stripe and PayPal are the biggest players in this space. There are others but they are either built on top of these two or do not have the easy API's and/or integration with other 3rd party services. PayPal was the first to start keeping the fees for refunds, and then Stripe followed.

Stripe is a great company otherwise, and I will continue being a customer but that doesn't mean that I can't get upset over such an blatant money grab.

poxrud··on Stripe records user movements on its customers' websites
Based on your comment you're clearly not a Stripe user, so I'm not sure why you felt the need to post this.

If visa/mc/amex are so much better, people can use them.

Stripe uses visa/mc/amex, it is not a competitor. You completely missed my point. Stripe uses visa/mc/amex to process credit card transactions, then when a refund is issued the CC companies return the charged amount to Stripe, but Stripe does not return the full amount back to the customer. They keep a percentage. This is what I consider "borderline fraudulent".

Charging a flat fee for a service doesn't seem that fraudulent to me.

But it is not a flat fee. They keep a percentage of the refunded amount. So if a customer bought a $1000 item, then changed their mind and cancelled the order 5 min later, Stripe would still keep $40 just for the fun of it. A small flat fee to cover network expenses would be more appropriate, not a percentage of the amount.

poxrud··on Stripe records user movements on its customers' websites
I think what is being mentioned is that Stripe started keeping the original transaction fees on refunds. In my opinion this is borderline fraudulent since visa/mc/amex do not keep these charges and refund them back to Stripe.
← PreviousPage 4 of 7Next →