HNHacker News
TopNewBestAskShowJobs

brianpan

1,894 karma · joined May 3, 2010

Developer at Pure Storage in Santa Clara
submissionscomments
brianpan··on Show HN: We built a Plug-in Home Battery for the 99.7% of us without Powerwalls
My recently installed Powerwall 3 will only power my home for a few hours. If I don't stop HVAC and car charging, I may be out of power before I even wake up in the morning.

What I really want is my milk not to spoil (keep my family fed, not opening the fridge is defeating the purpose) and to charge devices if the outage will last more than half a day. Pila is WAY cheaper and more targeted.

I considered buying a Jackery Explorer 1000 and pushing my refrigerator out to plug it in during and outage but that seemed ridiculous.

https://www.jackery.com/products/explorer-1000-portable-powe...

EDIT: Other people are mentioning arbitrage, which is also pointless for me. My Powerwall 3 will save me a few hundred dollars a year if I set it send power to the grid AND during that time I lose backup protection.

brianpan··on Bending Spacetime in the Basement (1997)
I have a blue/black (or possibly white/gold) dress that says it's relative.

You can also ask a UI designer about "absolute" colors. One color needs to be different depending on the context it's in order to LOOK the same (it's size/thickness, background, what it's next to).

brianpan··on Volkswagen reintroducing physical controls for vital functions
I have never thought about the steering wheel buttons on my Tesla as conveniently context sensitive.

One person's "context sensitive" is another person's "mode confusion".

https://shemesh.larc.nasa.gov/fm/papers/ModeConfusionAnalysi...

brianpan··on My 16-month theanine self-experiment
Do you measure it in a chair similar to your doctor's office? I thought my couch was similar and I was careful to have my feet flat on the floor. But I "lowered by BP" by 10-15 by moving to the dining room table.
brianpan··on macOS Tips and Tricks (2022)
GitHub uses this shortcut, too. (e.g. Option-click to collapse/expand all PR comments.)
brianpan··on Pee If You Want to Go Deeper (2021)
I've seen similar for when you are wearing a motorcycle suit.

You can search for pee/urination funnel. Apparently, commonly used for camping as well.

brianpan··on Surface-Stable Fractal Dither on Playdate
His Game Boy Advance was probably out of batteries. Sometimes you gotta make do.
brianpan··on Narcolepsy is weird but I didn't notice
> has made me wonder if laziness is not actually a real thing

I think a lot about the insane drive that professional athletes (especially at the highest levels) have and how it's not possible for me to have the same drive. I'm sure it's complicated and there's some level of learning or skill training that's possible to change your amount of laziness or drive. But, like physical abilities, there's probably only so much you can change.

brianpan··on Today I learned that bash has hashmaps (2024)
One of the differences between "general programming" and the kinds of coding that you have done is the /approach/. I'm not sure if that's even the right word, but there's a different set of concerns that are important.

My guess is that you can easily learn the syntax and that you have the logical and analytical skills, but the part you have to learn is how to THINK about programming and how to DESIGN a program. If you have or haven't taking coding classes, I think reviewing topics like data structures, algorithms, encapsulation/object oriented programming, functional programming, etc. is the way to learn how to think about general programming. I don't think the language matters, but there might be resources about these topics in the language you're interested in.

An example of what you DON'T want is something like Effective Go (not just because it's out-of-date now): https://go.dev/doc/effective_go. This page can give you a really good base of information about what Go is, but I think you'll get much more bang for your buck with a resource that is more about the WHYs of programming rather than the WHATs.

brianpan··on Seconds Since the Epoch
Not yet.
brianpan··on A made-up name is better than no name
Choosing the name grep because it is easily recognizable as coming from the command it is inspired by is literally "intentionally designed to be memorable".
brianpan··on A Brazilian CA trusted only by Microsoft has issued a certificate for google.com
I dug a little and apparently Chrome previously used the trust store of the platform but has now transitioned away from that to use their own. https://blog.chromium.org/2022/09/announcing-launch-of-chrom...

But even before they switched to this "Chrome Root Program", they have distrusted specific CAs, for example Symantec in 2017. https://security.googleblog.com/2017/09/chromes-plan-to-dist...

brianpan··on A Brazilian CA trusted only by Microsoft has issued a certificate for google.com
It's not entirely about this particular certificate (although this is bad, too). This is about a certificate authority giving someone who is NOT Google, a certificate that can be used to "prove" a server is Google. Accidental or not, this should not happen.

The "blast radius" is limited to Microsoft since they are the only ones that trust this particular certificate authority. Your non-Microsoft browser won't trust these certs. Your non-Microsoft OS, Java program, etc. etc. won't trust these certs.

brianpan··on New iMac with M4
Isn't that show the opposite of the upgrade treadmill?

When I buy a new MacBook, it WILL be to make ice cream spreadsheets. Not because M3 is now an M4. (Except for the Intel to M1 transition, I waited for that one.)

And when I buy a new iPhone it won't be because I really need a Dynamic Island, it'll be because of Fantastical and Overcast.

brianpan··on How I animate 3Blue1Brown [video]
Well, now we know what the logo and the channel name is referencing! (His eye)
brianpan··on The Wobbly Table Theorem (2022)
Note: If your floor is wobbly- DROP, COVER, and HOLD ON.
brianpan··on Fine Prints: Japanese, pre-1915
For those unaware, Japanese has a word, komorebi, which means "sunlight leaking through trees". https://www.morethantokyo.com/komorebi-japanese-word/
brianpan··on Move Fast and Abandon Things
As an introvert who fell quickly into depression at the start of the pandemic, I'm having a very difficult time seeing this comment as anything but gaslighting.

EDIT: Instead of trying to persuade you that the pandemic was a bad thing, I'll just say that perhaps your wonderful work-from home experience was different than a lot of other people.

brianpan··on Bricked iPhone 16 Can Be Restored Wirelessly Using Another iPhone
As a former hardware engineer, if it can be restored wirelessly or otherwise, it's not a brick yet. Keep trying, you'll get there! ;)
brianpan··on Show HN: Container Desktop – Podman Desktop Companion
I don't understand this comment on any level.

Containers will only ever be on a linux kernel or VM? Never natively on ANY other OS? Only Linux containers exist?

Developers were more clueful about containers before Docker made them wildly popular?

brianpan··on Have you ever seen soldering this close? [video]
Surface tension for the win.

In the extreme misalignment example they also did not use flux so I guess they were purposefully showing what NOT soldered looks like. They did show how the solder flows in the "too much solder paste" example.

brianpan··on Bluesky Reaches 10M Accounts
Is it the async part that's a problem? Or is it that chilling with besties is all we ever really wanted?

I was pretty happy with Facebook in 2007 when it was posting pictures and making stupid jokes with my actual friends (not the whole world and whatever is trending).

brianpan··on Interviewing the Interviewer: Questions to Uncover a Company's True Culture
Being open worked in your case because, as an interviewer, you answered in an open, honest way. The article is about uncovering the truth when the interviewers are being cagey.

If there isn't reason to suspect that the truth is being glossed over, being direct is a simpler, clearer path. But if things sound too good to be true, you may need to figure out how to get more information, like open-ended questions. I'd follow that up with probing questions to dig deeper towards anything that sets off your spider-senses (but ask in a nice way and continue to present a friendly vibe).

I think this is very similar to being on the interviewing side. People talk about impressive projects they worked on, but that could mean they contributed to a small part of the project or they had real responsibility for the project and its execution. Everyone is putting their best foot forward so you have to ask follow-up questions and dig to uncover the truth.

brianpan··on How I got my laser eye injury
The back of the envelope comparison isn't difficult. The energy in different forms are doing the same thing.

Doesn't your microwave heat a cup of water in about the same amount of time as a tea kettle? And most tea kettles are bigger than one cup.

Now, think about concentrating the same amount of energy to heat up your eyeball. Or worse, concentrated into a tiny point on your eyeball.

brianpan··on CrowdStrike's impact on aviation
The San Francisco subway runs off of 5-inch floppy disks.

https://sfstandard.com/2023/02/02/sfs-market-street-subway-r...

That article links to an (only slightly older) article about British Airways loading navigation updates every month off of the fancy new 3.5-inch floppy disks.

brianpan··on Einstein and his peers were resistant to black holes
If the theory of relativity was a person, it would not be old enough to drive or vote in 1930. :) It was an accepted theory, but it was not the wildly successful theory it is today.

Showing that a black hole was possible within the theory could just be a problem with the theory itself. Not necessarily an indication that they must exist.

brianpan··on Designing a website without 404s
Except that URLs are an API surface and congratulations, now you are supporting an infinite API forever.

Vendors change product names, hyperlinks break! Fix bugs or change behavior, hyperlinks break! Do nothing, believe it or not, hyperlinks break!

brianpan··on Gruen transfer
You're not getting faster service, you're using an additional non-verbal signal.

Moving your glass to the edge is how you say, "Please refill my glass." Similarly, if you're in a Chinese restaurant, flip the lid upside-down on the teapot to ask for more tea.

brianpan··on Two hunters from the same lodge afflicted with sporadic CJD: is CWD to blame?
Contact lenses and tap water will do it. From your eye, it can travel to your lungs or brain. https://my.clevelandclinic.org/health/diseases/21560-acantha...
brianpan··on The "Reitoff principle": Why you should add "nothing" to your work-life schedule
Sabbath includes letting land rest every seven years and forgiving debts every seven years (literally a write-off) so, yes, I think this "write-off principle" with a cute name is the same as the old Sabbath concept.

It does bring up the point that the long history shows us that in this case the spirit of the law is more important than the letter of the law because people push the boundaries of the rules.

← PreviousPage 3 of 22Next →