Better HN
topnewbestaskshowjobs
Log inSign up

sciurus

16,460 karma · joined Jan 19, 2011 (15y ago) · 3,459 submissions

I'm a principal engineer at Docusign based in Atlanta, GA. My personal website is https://www.polibyte.com
Submissions

661.

Running Python in the Linux Kernel(medium.com ↗)

4 points · by sciurus · 6y ago · discuss

comment 6y ago · link · parent

HTTP/2 was only standardized 4 years ago. HTTP/3 is being actively developed. That's actually not really stable on a language's standard library timespan, IMHO.

comment 6y ago · link · parent

Despite it's name, Jsonnet can generate JSON, YAML, INI, and other formats.

comment 6y ago · link · parent

They actually do have https://aws.amazon.com/fsx/lustre/

Latency of EFS is much worse than running your own NFS in my experience.

comment 6y ago · link · parent

I think it's throughput credits that EFS gives you (e.g r/w MiB/s), not IOPS. AFAIK they don't document the IOPS available at all.

In my experience the latency for an individual i/o operation on EFS is always at the "HDD from 1995" level regardless of available burst credits. Something that does lots of small random I/O like checking out got repos on Jenkins workers is basically worst case for EFS.

https://docs.aws.amazon.com/efs/latest/ug/performance.html

666.

Introduction to ASGI: Emergence of an Async Python Web Ecosystem(florimond.dev ↗)

1 points · by sciurus · 6y ago · discuss

comment 6y ago · link · parent

For info on how things are shut down, see

https://cloud.google.com/terms/#deprecation-policy

https://cloud.google.com/terms/deprecation

comment 6y ago · link · parent

FYI I saw a presentation by the team at CFA after that blog post was written. They said the in-store K8s deployments were only running greenfield, non-production applications. I don't know if that's changed.

comment 6y ago · link · parent

You assumed right, Cargo is the Rust package manager

comment 6y ago · link · parent

> And unless the entire leadership of the Mozilla Corporation has been replaced since then

Offhand, I know the CEO, COO, CPO, and CFO have left over the last couple years.

comment 6y ago · link · parent

Link to Mozilla's announcement: https://discourse.mozilla.org/t/synchronous-messaging-at-moz...

comment 6y ago · link · parent

The effective monthly price for that t3a.large (excluding storage) can vary from $55 to $25 depending on how much you're willing to commit in advance.

See the chart at https://ibb.co/M7nnMvL for some different scenarios.

comment 6y ago · link · parent

The terms of the Trusted Recursive Resolver program explicitly disallow selling your DNS query data.

> Your DNS data can reveal a lot of sensitive information about you, and currently DNS providers aren’t subject to any limits on what they can do with that data; we want to change that. Our policy requires that your data will only be used for the purpose of operating the service, must not be retained for longer than 24 hours, and cannot be sold, shared, or licensed to other parties.

https://blog.mozilla.org/netpolicy/2019/12/09/trusted-recurs...

https://wiki.mozilla.org/Security/DOH-resolver-policy

(Disclosure: I work for Mozilla, but not on this)

comment 6y ago · link · parent

Before they'd be affected by Route 53 outages, Cloudfront outages, and S3 outages. Now they can add Lambda outages to that list too.

It's also unclear how this actually solves the problem. Now if S3 in _either_ region is unavailable they'll start to fail 50% of uncached requests. I'm guessing they're using Route 53 health checks with some cloudwatch alarm to cut over to one region when they think the other is unhealthy. Presumably this is covered in the unavailable part 2.

I'm mildly skeptical that this is worth the increased risks plus the increased cost from running Lambda@Edge on cache misses.

comment 6y ago · link · parent

Not to be mean, but you definitely had observability into the expiration date of your certificate. You just weren't monitoring it yet. What you are doing now with Prometheus sounds good.

676.

FCC proposes using traffic-safety airwaves for WiFi(washingtonpost.com ↗)

1 points · by sciurus · 6y ago · discuss

comment 6y ago · link · parent

For anyone curious like me about Mapbox's new pricing structure taking effect now, they're at https://blog.mapbox.com/new-pricing-46b7c26166e7

comment 6y ago · link · parent

If we extend the scenario from hombre_fatal's example to include IP spoofing like in that wikipedia article you linked, you end up with

IP: <Heroku's load balancer addr>

X-Forwarded-For: <Spoofed addr>, <Real user addr>, <Cloudflare addr>

So you either need to know the number of proxies that you trust that are in between you and the user, or you need to know the IP addresses of those trusted proxies, in order to determine which parts of X-Forwaded-For to trust.

679.

The Afghanistan Papers(washingtonpost.com ↗)

29 points · by sciurus · 6y ago · 1 comment

comment 7y ago · link · parent

In case pvg's "yesterday" comment isn't clear, this link is to a previous discussion of the same story.

comment 7y ago · link · parent

> It means you have a full time job just changing it back to the way you want it in every application on every device, and even then you're liable to miss some.

Hopefully not. Firefox has some techniques for disabling DoH that rely on computer or network-wide changes. If other applications also adopt these or similar techniques, you'd only have to make the change in one place to turn it off for every application running on any computer on a network.

Specifically, as I understand it, Firefox disables DoH if

1) Windows Group Policy is used to manage a computer

2) A canary domain is blocked

https://support.mozilla.org/en-US/kb/dns-over-https-doh-faqs...

(Disclosure: I work for Mozilla, but not on the Firefox browser)

comment 7y ago · link · parent

Does anyone know where this was officially announced? I don't see anything at https://mail.python.org/archives/list/security-announce@pyth...

comment 7y ago · link · parent

Fantastic write-up. I'm curious how many people were involved in the investigation and how long it took.

684.

Firefox at 15: its rise, fall, and privacy-first renaissance(fastcompany.com ↗)

2 points · by sciurus · 7y ago · discuss

comment 7y ago · link · parent

Also relevant is that there are additional management features targeted at Enterprise needs like group policy.

https://www.mozilla.org/en-US/firefox/enterprise/

comment 7y ago · link · parent

How does this relate to OpenTelemetry?

comment 7y ago · link · parent

What's the use case for this? You can already configure different proxies to apply to different domains. The UX isn't great though, you have to use https://en.m.wikipedia.org/wiki/Proxy_auto-config

comment 7y ago · link · parent

It's nice to see a walkthrough of what goes into a load balancer and how simple it is to build on in Go.

One nitpick is that the autho reversed the meaning of active and passive health checks. Active generates new traffic to the backends just to determine their healthiness, passive judges this based on the responses to normal traffic.

comment 7y ago · link · parent

> And yet we have only a handful

Apache, nginx, haproxy, envoy, traefik, and probably dozens more that aren't on the top of my head.

comment 7y ago · link · parent

Oops, don't know how I misread that! Thanks for the correction!
1
222324
116