Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,677 karma · joined Jul 18, 2012 (14y ago) · 1,965 submissions

My email is at gmail using my username.

Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.

Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view

Submissions

comment 1y ago · link · parent

How do you manage any EC2 instance “without resorting to SSH”? Even for Linux EC2 instances, the right answer is often tools like Ansible, which do still use SSH under the hood.

comment 1y ago · link · parent

AWS literally lets you deploy Macs as EC2 instances, which I believe includes all of AWS's usual EBS storage and disk imaging features.

comment 1y ago · link · parent

I have wished for years that Hetzner would offer their bare metal servers in the U.S., and not just Hetzner Cloud.

comment 1y ago · link · parent

I keep hoping Postgres will one day have the ability to mark a timestamp column as an expiry column. It would be useful for all kinds of things beyond caching, including session tokens, feature flags, background jobs, rate limiting, delayed deletion (as a variant of soft deletion), etc.

It seems like the autovacuum could take care of these expired rows during its periodic vacuum. The query planner could automatically add a condition that excludes any expired rows, preventing expired rows from being visible before autovacuum cleans them up.

comment 1y ago · link · parent

I think it has been free in some editor plugins, which is probably a significant factor.

I would rather use a model that is good than a model that is free, but different people have different priorities.

comment 1y ago · link · parent

There are enough vendors that it's difficult for any one vendor to charge too much per token. There are also a lot of really good open-weight models that your business could self-host if the hosted vendors all conspire to charge too much per token. (I believe it's only economical to self-host big models if you're using a lot of tokens, so there is a breakeven point.)

comment 1y ago · link · parent

> Most people don't, and cracking a window is the only option.

It's not usually the only option. Installing an ERV is an option for the more than half of the population that owns their own property in the US, and an ERV will save money and pay for itself compared to opening your windows, in addition to the other benefits.

For renters, that's where the window units I mentioned come in, but there aren't as many options there as I would hope yet. If people don't ask for ERVs en masse, then apartments won't offer ERVs as a benefit to attract tenants unless they are legally required. Helping people understand that options exist seems like the first step to changing things. Ideally, even window-unit ERVs wouldn't be the only option for renters. Nearly 90% of households in the US have air conditioning now (which I believe includes rentals), because people asked for air conditioning and were willing to pay for it. ERVs have the added benefit that they don't just make things better, but they should pay for themselves in energy savings too. Maybe I'm too optimistic. I believe the 2024 IECC building codes make ERVs mandatory in new construction in climate zones 6 through 8, as one example of a change that is coming.

comment 1y ago · link · parent

http://www.purifresh.com/erv.html

https://swervair.com/

A couple examples I see on Google. I'm not advocating for any of these, because I have no idea if they are any good, but I see no technical reason an ERV couldn't work as a window unit. Maybe it's an underserved market and someone should make a business out of that.

A much more DIY example that's probably closer to what you were talking about with "hacking together" a solution: https://www.mychemicalfreehouse.net/2023/10/window-mounted-p...

comment 1y ago · link · parent

> Sounds very country dependent.

Yes, I meant in the US. Apologies for not making that clearer. I don't think ERVs are uncommon in new construction outside the US, but I don't know as much about that.

comment 1y ago · link · parent

> Heating air is cheap, it's heating all the other mass in your home that's hard

Is the air cheap to heat? Even if it were, that still wouldn't solve the other issues that were mentioned.

comment 1y ago · link · parent

CO2 and VOCs, but what about PM2.5 and PM10? What about pollen? What about humidity control?

Cracking a window is also costly, since it directly raises your heating and cooling bills. It's just an "invisible" cost that's easy for some people to ignore since it's hard to directly measure. An ERV pays for itself over time, so it's more a question of whether you can afford to just crack a window?

Living in an apartment makes this difficult because your landlord may not let you improve this situation, but just ignoring the cost of opening a window doesn't make the cost go away.

comment 1y ago · link · parent

Outside air isn’t a panacea. There is often plenty of pollution right outside your window unless you live on an idyllic beachfront property. The humidity level outside is also rarely what you want in your home, whether it is too high or too low.

Much better than cracking a window is the use of ERVs (energy recovery ventilators) and air filters on the incoming air.

An ERV is a fairly simple device that exchanges air with the outside while mitigating the loss of energy and humidity.

Any modern home build likely has an ERV as part of the design, but it’s not like they can’t be retrofitted, and I’ve even seen some DIY-friendly window unit ERVs (but I’ve never heard if those are any good).

comment 1y ago · link · parent

A lot of GPUs are allocated for training and research, so dividing the total number by the number of users isn’t particularly useful. Doubly so if you’re trying to account for concurrency.

comment 1y ago · link · parent

They seem fairly competitive with each other. You would have to benchmark them for your specific use case.

comment 1y ago · link · parent

Qwen3 models (including their 235B and 480B models) use the Apache-2.0 license, so it’s not like that’s a big difference here.

comment 1y ago · link · parent

There is nothing to speculate about here, other than to create confusion for others. The physics is immensely clear. AVS is not needed here, and OP can save money by buying whatever is the cheapest option that provides >40W.

Since I have shown through basic math that it isn’t related to the ability to charge the phone any faster, that possibility is obviously eliminated.

AVS is likely supported because there’s no reason not to support it. It is part of the newer USB-C PD specs, which Apple wants to support, and it continues to iteratively refine the energy efficiency of the charging process, which matters a small amount at a scale of billions of devices, but doesn’t matter at all for a single individual’s purchasing decision.

comment 1y ago · link · parent

More fearmongering. Provide proof, or please stop confusing people. This thread was asking for recommendations to understand how to charge their phone. The answer is extremely simple. This is not the thread to dig into irrelevant details. Read the room.

If you want to get technical, the difference in conversion losses between AVS at 13.3V@3A and a non-AVS 15V PDO @ 2.667A is going to be rounding error. Both need to be regulated down to about 3.5V to 4.2V by the phone's internal circuitry. A hypothetical buck converter that is just as efficient at 15V -> 3.5V as it is at 13.3V -> 3.5V would see no difference at all in heat generation. In the real world, such a small difference in input voltages at >1A would likely yield a less than 1% efficiency difference. 1% of 40W is 0.4W, but I repeat: I am saying less than 1%, not 1%. Based on tests I've seen in the past, previous iPhones could dissipate at least 4W of power continuously, forever, in normal ambient conditions. For a 95% efficient buck converter (which is probably conservative here), the total thermal load from charging at 40W is 2W. Unless the thermal load exceeds 4W, there should be no difference in charging speed potential. 2W + 0.4W would be 2.4W, which is well below the 4W threshold, and the buck converter on a high end smartphone is probably more than 95% efficient, while the difference in input voltages probably yields less than 1% difference in efficiency, so 2.4W is a very conservative number here. Keep in mind that phones can dissipate significantly more than 4W for brief bursts, and the charge curve on the battery isn't going to allow 40W charging for very long regardless of the thermals, so the phone likely has even more thermal headroom here in the real world. Even a 20V PDO @ 2A -> 3.5V should be perfectly fine here. I see no evidence that there is even a possibility of AVS making a difference here unless you wrap the phone in real insulation (not a phone case) or stick it in a toaster oven while charging.

Talking about how there might be an imperceptible difference under very specific extreme conditions is exactly what I would call fearmongering in a thread where someone was specifically asking for recommendations. It won't matter to anyone, ever, in any real world situation. This is not the thread to be contrarian for the sake of digging into minutiae. You're welcome to start a thread where that is the goal.

In summary: OP does not need to buy a fancy AVS-enabled charger. They shouldn't avoid such chargers, but there is no reason to get one. Unless you have material proof to the contrary that you want to present, but it seems like you don't.

comment 1y ago · link · parent

I didn’t say the charger doesn’t support AVS. AVS is fine, but the practical impact on charging time is going to be difficult to notice in this specific case, if it exists at all. Apple does not even hint that AVS is needed to meet their charging time claim in their official documentation: https://support.apple.com/en-us/102574

Apple simply says “For iPhone 17 models, you can charge up to 50% battery in around 20 minutes with a 40W adapter or higher.”

Sure, it would be fun to see someone do a thorough test on this. No, I don’t agree with all the posts that are fear mongering people into believing they need some super fancy charger to reach the charging speeds Apple claimed, when Apple themselves doesn’t claim that, and the original 9to5Mac article no longer claims this true. There is simply no reason to believe that AVS is required, and anyone saying that has the burden of proof here.

comment 1y ago · link · parent

This post[0] seemed to be the main source of confusion, but it has since been updated at the bottom to apologize and say it wasn’t true.

You don’t need some kind of special charger.

[0]: https://9to5mac.com/2025/09/13/iphone-17-pro-fast-charging-p...

comment 1y ago · link · parent

There really aren’t any nuances to be aware of here. If the charger can provide 45W or more, it will charge your iPhone 17 Pro as fast as it can go. If you have an older iPhone, you don’t even need that much.

The Apple charger is mildly interesting because they made a slightly smaller than usual one that displays a dynamic behavior where it boosts up to 60W. That’s it.

(If you actually mean efficiency of energy delivered, and not time efficiency… the energy efficiency of charging your own personal phone is completely irrelevant to anything. You could save many times that amount of energy per year by switching to a heat pump water heater, or a heat pump clothes dryer, but most people haven’t.)

comment 1y ago · link · parent

https://reddit.com/r/Slack/comments/1njuchb/why_is_slack_ext...

comment 1y ago · link · parent

> We discussed zulip a bit before deciding on mattermost, but the very subpar mobile app of zulip caused us to not go with it

This keeps being repeated, but didn't Zulip just roll out[0] a brand new mobile app? Are you sure that was the app that was evaluated? What specifically was "subpar" about it when you tried it?

Given the extreme limitations that Mattermost is trying to impose on the free self-hosted solution (250 users maximum!), Zulip seems like it needs to be considered again.

I have not really had a chance to use either Mattermost or Zulip, I'm just pointing out what I see as an obvious mismatch between Hack Club's needs and what Mattermost provides.

[0]: https://blog.zulip.com/2025/06/17/flutter-mobile-app-launche...

[1]: "User limit reduced to 250 (from 1,000)." https://forum.mattermost.com/t/mattermost-v11-changes-in-fre...

comment 1y ago · link · parent

> the situation has been resolved

Slack cannot unilaterally “resolve” this situation, and their proposed solution doesn’t seem to address the concerns that were raised in the first place.

comment 1y ago · link · parent

Mentioned elsewhere in this discussion: https://news.ycombinator.com/item?id=45287107

comment 1y ago · link · parent

A fork that has not been touched in at least 7 months does not inspire confidence, especially when the mobile apps depend on the server staying up to date.

comment 1y ago · link · parent

Or not.

> When you self-host Zulip, you get the same software as our Zulip Cloud customers.

> Unlike the competition, you don't pay for SAML authentication, LDAP sync, or advanced roles and permissions. There is no “open core” catch — just freely available world-class software.

The optional pricing plans for self-hosted mention that you are buying email and chat support for SAML and other features, but I don't see where they're charging for access to SAML on self-hosted Zulip.

comment 1y ago · link · parent

Zulip wrote a fun article about this a couple of months ago: https://blog.zulip.com/2025/07/24/who-owns-your-slack-histor...

comment 1y ago · link · parent

They appear to have “solved” the RSS problem by only providing one sentence of content with each entry in the RSS feed.

comment 1y ago · link · parent

> Sony Xperia Z2 - 2014 - 172mm x 266mm x 6.4 mm - 439g

Again, not nearly the same screen size, so weight is irrelevant. But also, 439g? Wow! If that number wasn’t completely wrong, that would be impressive.

6.4mm is nowhere near as thin as 5.6mm, but I’m actually seeing 8.2mm for thickness on reliable websites, not 6.4mm: https://m.gsmarena.com/sony_xperia_z2-6144.php

Did an LLM hallucinate those specs that you quoted? I honestly don’t know how the thickness and weight you quoted could be that far off if you did the research yourself.

But, even if you were right, which you don’t seem to be, it’s all moot. No one is cross-shopping a 2014 phone to a 2025 phone. But even if they were, the real numbers speak for themselves.

1
567
66