HN user

sfotm

193 karma
Posts0
Comments81
View on HN
No posts found.

Way off-topic, but I'm curious about how you approach unit testing.

Coming from Java into a C# job, I'm used to mocking downstream dependencies, and even POJOs in some cases, that a class depends on. C# has stuff like Moq, but you _have to_ wrap everything with an interface to mock it since C# seals by default.

Meanwhile, in JVM land, you can use Kotlin, which still seals classes by default, but allows test compiles to open classes by default so you can still mock them.

Every C# thread I read suggests wrapping all concrete implementations with an interface like I'm coding in the 90's for the sake of decent tests, or they talk about how my code must be written poorly for me to be in this situation. Meanwhile, I'm just trying to get _some_ testing into this code I've inherited.

This is only true if your plan supports deferrals, right?

Had after-tax deferrals available through a Fidelity plan at an employer once, it was great being able to roll that over into an IRA. Hopefully I'll have it again soon - it's an underrated perk for sure.

Not sure what analogy I made, but in this case, you can weigh how much you want to consider either opinion:

Sample Weather Channel Guy: - No history in psychology - Citing papers that are not highly respected under peer review

Sample Psychologist: - Has a long history in the field - Ideally has references available for their own claim

In this case, you'd probably want to err on the side of trusting the second person in the chart. What didn't happen, though, was a complete dismissal of the first person's claim based on credentials alone. If you have to make a decision on something quickly and authority is the only way for you to judge it, then sure, go for it. But appeal-to-authority doesn't belong in open-ended debates.

If they have salient points that stand up to rigor, then yeah? This is pretty much an appeal-to-authority argument, isn't it?

FWIW, I have no context on the specific claims made by Peterson, but I've increasingly seen a line of logic that suggests you need to have a PhD in a topic in order to think critically about it.

The risk profiles that I refer to are both collective and individual - they're correlated for pretty clear reasons. Nobody is experiencing the spread of the disease in a vacuum.

Omicron's risk profile doesn't seem to be the same, looking at the numbers available on the Google chart I look at. We're seeing a lot fewer deaths per cases. That's not to say everyone should throw caution to the wind and do whatever they want, but it's disingenuous to say the math hasn't changed at all.

COVID cases are acting like a marketplace. People take different actions when the numbers/unknowns change, and that's not surprising. I know I'm doing a lot more outside of the home than I was when COVID first started, and that I'm not unique in that respect _at all_.

Not prescribing any course of action, just tossing out what I've been seeing.

This isn't really true, regardless of whether you like masks or not. There have been one or two level changes with respect to how much risk you're introducing to those around you as well as the personal accountability of those you'd affect. It's not surprising that different people have different tolerances for these risks.

Even without the above factored in, this is sort of like saying that not using your turn signals in traffic on the 100th turn nullifies their utility for the previous 99 (not a perfect analogy).

A few things, some that are pretty general, and some that are pretty specific to my situation.

1. Family in general plays a large role.

2. I'm able to make stronger financial moves. Property is appreciating relatively quickly in the Columbus area, and purchase-cost-to-rent ratios are better here, from the investor PoV.

3. Full remote means that I'm still able to visit Seattle for the larger mountaineering trips, etc. that I like to take part in while being based out of a lower-CoL area. After several years, I was going to have to start taking flights to new destinations, anyway.

4. Opportunity to give back to the communities that gave me my start.

And some other factors come in, too. Covid definitely reduced my perceived benefit of living in Seattle. Nothing's forever though. It's a two-way door.

The internet infrastructure in Columbus isn't on par with a lot of the larger cities, and I think you'd have a hard time finding the speeds you're looking for, judging by what I've found - seems like there's some limited AT&T fiber, but it's not widespread. My service is reliable, though, and I haven't found bandwidth to be a problem as a full-remote employee.

Utilities are solid and seem much less suspect to outages compared to Seattle, a city I have a lot of experience living in. It's as though having more extreme weather more often ensures that the infrastructure is up to a certain rigor.

Roads are important here, and are well-maintained and addressed (e.g. expect trucks to be salting roads in anticipation for snow storms). Roads are also incredibly well-laid out in an inner/outer belt system that I miss when driving in other cities.

I was raised in the Catholic church, and I don't think your take on confession is quite right. The process of confession isn't "sit in this booth and walk out scot-free on all of your wrongdoings". It's meant to be an assisted meditation on what you can do better in your life, and how to do so. The act of confession doesn't help you if it's not done in good faith, and a penance for murder might be a confession to the community.

Think of it as a precursor to modern-day psychotherapy, if that helps. Admittedly, some modern day implementations of confession feel a bit like the spiritual equivalent of a drive through, nor are all priests equally capable of helping.

Can confirm that this is how it worked out for me just a few weeks ago. Interviewed for SWE II for a day, was told that feedback was trending positive, and spent ~4 hours of personal time prepping for and participating in fit calls.

Then got and excited call from my recruiter and was told I'd get an offer and that there was a match for one of the teams I interviewed for. The catch? Downleveled to SWE I, despite saying earlier in the process that I would not take it for career development and salary range reasons.

They were willing to set up another round of interviews to get more data, but at some point you just have to call it. End-to-end, this took around a month and a half. This was with my positive references allowing me to skip the phone screen.

I've had positive experiences interviewing with Microsoft and Amazon, no experience with other big tech.

The Framework Laptop does not support S3 suspend. I have it running with S2deep in Linux, which works okay, but it isn’t a fantastic scenario. Hibernation is the way when the processor doesn’t support S3, unfortunately. Even Windows would fall back to it after a short duration.

Sorry, I meant 10 seconds there. Fixed it.

And while s2deep does help a lot, it's still pretty far from perfect - certainly not the kind of sleep you'd get from a recent MacBook.

(Not GP)

You pretty much have the option between s2Idle, s2deep, and hibernation. The s2Idle mode is really responsive, but it drains battery at a really high rate. s2deep isn't technically supported IIRC; I was able to turn it on and have seen the battery life under sleep improve, but it takes about 10 seconds to wake up to a point where I can log in.

If I know I'm going to be away from my laptop for a long time, I'll generally put it in hibernation mode.

There might be a better solution out there, but the general consensus seems to be that Linux + Tiger Lake aren't a great marriage at the moment when it comes to sleep.

Arch Wiki tells you how to use s2deep, if you want to enable it: https://wiki.archlinux.org/title/Laptop/Framework#Suspend

EDIT: I said 10 minutes before, where I meant 10 seconds. Sorry about that.

As someone also on the inside: a generous take might be that this could allow them to accommodate more people.

If you hate commuting into the office and your current team is going to make you do so, you can transfer teams if there's not a hidden directive to just say no across the board.

If you dislike working from home, as I do, and your current team isn't going to encourage attendance 3+ days a week, you again have the chance to transfer.

Amazon keeps employees this way, and employees get their ideal balance. It seems better than the top-down one-size-fits-all approach if there aren't hidden instructions being passed down management chains. There's not as large a problem of a "preferred class" of workers if your director and everyone below them is on the same WFH/in-office balance.

I think the key is to avoid going full free speech. What you want to create is a more permissive community that's still under someone's thumb to a degree. It's difficult to start a community under just a slight change in priniples like that, though, because the lion's share of the people in the old community are fine with the status quo.

...So in addition to being more permissive, it seems that you have to have a better product, generally.

From SSC:

..if you try to create a libertarian paradise, you will attract three deeply virtuous people with a strong committment to the principle of universal freedom, plus millions of scoundrels. Declare that you’re going to stop holding witch hunts, and your coalition is certain to include more than its share of witches.

https://slatestarcodex.com/2015/07/22/freedom-on-the-central...

MacBooks are great machines, but once you need repairs for a fairly new one, you'd better hope you sprung for Apple Care.

I recently had a MacBook that wouldn't start. I'm decent with computer repair and have a modest background in it, but let the safety screws dissuade me from opening it.

I brought it to a repair store where they said it had water damage, which was what I anticipated. I'm guessing they saw that the humidity dots had been triggered, which were probably due to my laptop being in humid conditions at some point beforehand, as I think the water just barely got into a port via condensation from a nearby object.

They called back saying that the water damage repair would come to $850 level, as they observed "significant corrosion" inside the chassis. That's maybe just under a third of what the machine costs retail, but there's not really another option at this point.

Then I got it back, with all of my data in place, which struck me as odd - anything of value is soldered onto the mainboard. If there were "significant corrosion", everything would have been trashed, and the repair probably would have been much more expensive. They definitely weren't going to migrate data from the old mainboard to a new one for free, as that's a whole other racket that's enabled through these monolithically architectured machines.

At the end of the day, I felt kind of ripped off and knew that if something like this were to happen again, I had no other recourse other than to give it a shot on my own. Given how clumsy I tend to be, that'll probably happen sooner rather than later, so I kind of see my machine as a liability at this point.

I think I'm going to give the Framework laptop a shot, though I'll miss MacOS.

PS: Had a really good time repairing a friend's 2012 MBP recently, though. With a replacement SSD, new battery, and another stick of ram, it feels like a capable machine without too much time or money sunk into it.

I don't recommend Apple's keychain. It's smart enough to track usernames and passwords and feels very satisfying to use on an iPhone, but doesn't capture some other parts of authentication. This includes security questions, OTP, capturing notes around how sign-ins can be weird (HSAs and other portals rife with redirects), and non-iOS devices (as well as non-safari browsers).

Bitwarden is fantastic. I pay for the OTP features, though I feel keeping the codes alongside my passwords weakens my security posture. That's my choice, though.

Thanks for the history of the usage. I found an article that refers to some notable authors using it in a hyperbolic sort of way, maybe I'll do some digging there.

My argument isn't really based in etymology, though, and I don't really care about the history of the words I quibble over - I'm fine with language changing in general. My issue is that making "literally" an alias to "very very" and/or "figuratively" leaves a gap where I liked the word to be and may leave it ambiguous. If I were to write about a guy who heard a joke so funny that his heart gave out, I'd be in a real pickle. A real pickle.

So the history of the word doesn't really change my opinion, and doesn't make my opinion based in some sort of ignorance. It's sort of fun to argue against the history-based argument that's usually used to support "my side" (invalidly, it seems), though.

I hear this argument pretty frequently, but it comes off as more of an excuse.

Most people aren't thumping the dictionary like a fundamentalist might a Bible, they're just pointing out that they have a different understanding of the word than another person does. Language is useful when everyone's on the same page.

And especially regarding words drifting toward hyperbole, exaggeration, and sometimes simple misuse, sometimes it makes sense to resist the change. Compare this to cultural drift as a whole - sometimes, it drifts away for the worse and people calling it out as such aren't necessarily being obtuse just for the fun of it.

Sincerely, a person that refuses to let to of the whole "literally" thing. I'm great at parties.

There are some issues that I think would make this difficult to do:

  - Two employees at 50% salary and time are not equivalent to a single employee at 100% of salary. They're strictly worse if always run in series, all else being equal. Alice starts project X on Monday and Tuesday, and hands it off to Bob on Wednesday because it's urgent. There's some inefficiency there. Good management could help avoid it, but would be hard-pressed to prevent it in all cases. At best, it's one more thing to worry about.

  - There are benefits outside of your salary that are more difficult to cut in half. Health plans, headcount taxes, etc.
That being said, there are some experiments being done (not at 50%): https://www.amazon.jobs/en/landing_pages/part-time-tech

I'm right with you on the fitness bit, there. Having GPS for all of my runs is fantastic, and you don't have to carry around your whole phone. Music is also nice, especially if you have it on the local storage.

I can understand the sentiment well enough. The person holding the sign has the impression that experts in epidemiology aren't being listened to by some people. But their education is still very much in play and is clearly valuable, so I don't think the sign is really making a useful point. It's just complaining.

What radical new idea did Sapiens introduce? I ended up not liking it as much as I thought I would because I expected it to be little more concentrated on known factors around human evolution, but it ended up providing a lot of conjecture and best-guesses.

I think some people that see online essays and podcasts as a more efficient way to consume information might ironically be the most "orthodox" sort of readers. Most well-written non-fiction books provide a clear index, a table of contents that makes the process of the book clear, and introductory matter in each chapter that summarizes things for you. If you want a certain piece of information, you can go into the book and get out within 5 minutes. You don't owe every book you pick up a cover-to-cover read.

Highly recommend "How to Read a Book". It calls the author's process of "surgical reading" "syntopical reading", though they might have slightly different meanings in reality.