HNHacker News
TopNewBestAskShowJobs

pfooti

2,531 karma · joined September 7, 2014

Educational Technologist, Optimist, Feminist, Developer, Teacher.
submissionscomments
pfooti··on Angular 13
What happens when that singleton has dependencies? And they have dependencies? Not unrealistic once you have a config block that sets stuff like language direction ltr/rtl or API endpoint at runtime based on test/prod env.

Not saying that these are impossible, but at some point you either end up reinventing dependency injection, or you end up with all the problems that cause people to invent dependency injection.

pfooti··on YouTube is banning anti-vaccine activists and blocking all anti-vaccine content
FWIW, an anti-vax cousin of mine has had covid three different times. Each time he recovered, but each time he kept spreading it. So don't count having had covid once as a blanket "I don't need the vax" card.
pfooti··on Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag
FWIW I had a similar behavior on my (work) MacBook pro for a while. I'd unplug it from my screen for the weekend and find it overheated with a dead battery.

Turns out I kept bumping the Bluetooth mouse which kept waking it up, and it would stay awake for a while, even with the screen closed. Disabling the permission for Bluetooth devices to wake it fixed it, but I had a couple of Mondays where I couldn't do anything for a half hour while the machine charged up enough to boot.

pfooti··on 38% of remote workers work from bed
There are plenty of reasons to live in a city that have nothing to do with work. I can walk to the library, cafe, grocery store, park. I can ride a bike to the beach, go to the opera, shows, etc.

I mean, I can't go to the opera _right now_, but soon enough I can.

pfooti··on Ask HN: Have you found a good desk chair?
Yeah, I have an Aeron chair i purchased in 2006. It is still great. It just recently started to misbehave a little when raising or lowering it (my spouse sits a bit higher in the chair) - still works, but is a little sticky. But this is the vimes boots theory of chairs (https://www.goodreads.com/quotes/72745-the-reason-that-the-r...), and totally worth it if you can afford it.
pfooti··on April 2021 Librem 5 News Summary
Hmm, so when in August of 2017 I called their ship date of 18 months wildly unrealistic, I guess I was right?

https://news.ycombinator.com/item?id=15091512

pfooti··on Instacart to cut 1,900 jobs, including its only union roles
that, and the instacart business model is only feasible with large VC infusions (so yeah access to capital) and via externalizing other costs of doing business (living wage, insurance, benefits) to the social safety net instead of providing such services to their labor.
pfooti··on Instacart to cut 1,900 jobs, including its only union roles
Because, given the opportunity and no regulation, companies will always push to make all employees contractors. Independent contractors represent a significantly lower liability on the balance sheets. Except that those lower liabilities are just externalizing the cost of employment to other systems (health and unemployment insurance, etc). If we don't regulate corporations, they will just race to the bottom in how they treat labor.
pfooti··on Why is the Google Cloud UI so slow?
and i should add that this constraint is one of the reasons why some products get discontinued. right now, I'm dealing with migrating a dependency that has some breaking changes in an old section of my codebase that nobody has touched in years. I have to change it, because the dependency is changing, and I cannot continue to depend on the earlier version.

Happily, it is a simple enough update (and frequently these changes are automated by whomever is actually changing the library). But when this is something that needs extensive reworking, the project might get turned down instead.

pfooti··on Why is the Google Cloud UI so slow?
disclaimer: i work in google cloud, but on the apps side.

One thing worth noting here is that google pretty famously has a monorepo and single-version policy. Meaning: while you may be right about the subteams/orgchart meta-issue, it's not actually shipping multiple versions of the same subcomponent. There's just one version.

pfooti··on Coinbase is a mission focused company
I'm sure you and others realize this, but it bears repeating: everything is political. If you want to work and not talk about the politics of your work, or the politics of the general world, that's basically signaling that you you are okay with the status quo.

This is not necessarily a _bad_ thing, but in this world it is impossible to be apolitical. The only thing you can be is okay with the status quo.

pfooti··on Rideshare operations are being suspended in California
This may be poe's law at work, but it's pretty disingenuous to have the conversation in this fashion. Of _course_ it would be better to raise taxes and have a universal basic income and free healthcare. That's because the ultimate problem here isn't taxes or taxis or lyft or uber, it's capitalism.

However, given the system under analysis, because corporations have a history of making it very difficult for labor to be paid a fair and living wage, it falls to the government to use the tools at its disposal to ensure (as much as possible) that employees are paid fairly and have an opportunity to spend that pay on health insurance, because corporations won't be volunteering to do that, especially if they're already burning in excess of a billion dollars a year.

pfooti··on Modeling a Wealth Tax
One could perhaps argue that billionaires moving to other countries (and therefore taking their political lobbying that creates environments where becoming a billionaire is possible) might be a net gain for the country losing the billionaires. As other people have said in one form or another, becoming a millionaire is a reason for celebration, but billionaires are policy failures.
pfooti··on Hiring Without Whiteboards
I agree with this. I work at a FAANG that does whiteboard coding interviews (opinions my own, etc etc).

When I interview people, I give pretty straightforward questions. My goal is not to run some algorithm guessing game. If I'm interviewing for a senior FE position, I make sure they know enough about async patterns in JavaScript that I feel confident that they could build an event handler without dropping promises on the floor.

A back end position? Can they use (not implement, just use) a hashmap efficiently and do they think about boundary conditions in input sets (you'd be surprised how many people ignore punctuation when breaking sentences into words - they just do a split(' ') and call it a day.

This is really basic stuff. I'm always able to (a) filter out people who just need more time learning to code (or are too nervous to perform well, which is still a problem with even these whiteboard activities) and (b) prompt a discussion about engineering practices.

My criterion is simple: do I think I could see this person submitting code to my project without me needing to constantly fix what they write? It isn't about memorizing algos or anything.

Aaalso: I didn't study leetcode, and managed to get my job just fine. I know there's a reputation of the process being just algos, and I'm sure a lot of the interviews are. But not all of them, even at the FAANG.

pfooti··on De-escalating social media conflict
Yes, I agree with your overall thesis. A feature like this can help normalize people publicly admitting that they made a mistake, and walking back that original Bad Tweet (or whatever).
pfooti··on De-escalating social media conflict
I think we can distinguish apologies into two top-level categories: meaningful and meaningless. Meaningless apologies can be further subdivided ("I'm sorry you were offended", or "It's just my culture to be a jerk"), but I'm not interested in that - they're all meaningless.

Meaningful apologies can be easily found via the search engine of your choice, "How to apologize" brings up lots of hits. The thing they all have in common though is an acknowledgement (in one form or another) that the person apologizing was legitimately in the wrong, and that they will endeavor to not do that again.

It's that last bit that is important. It's not sufficient for a company to apologize for dumping oil in the ocean or a person apologize for using a racist term. A real apology acknowledges harm caused, and shows how the entity apologizing will rectify past harm and prevent future harm.

This is why, in my opinion, at least, so few apologies legitimately improve anyone's standing. It's not that "cancel culture needs heads", it's just that people expect to say, "I'm sowwy", rub their toes in the dirt, and be let off the hook without doing anything to really undo the harm caused. People rarely even acknowledge the harm they cause, let alone do anything about it, in these so-called apologies.

So no: people who demand apologies don't just reject them after they're given. It's just that most of the time, the apology is meaningless.

pfooti··on Why Figma Wins
I love getting figma files as mocks for things i need to implement. I love grabbing CSS from the figma, and I love that the design system allows the designer to not only export CSS, but export it in a way that has annotations (all the colors I get from my designers are annotated with "brand red 300 weight" as a comment, so I can use the right mixin.

Furthermore, I can also, when I'm building out the first-form HTML implementation of the mock, right-click and copy-as-svg the whole component, which makes for a nice stand in while I work on the rest of the code. It is great.

pfooti··on Disney+ hit by technical glitches on launch day
Keep in mind that the Netflix and Amazon prime apps on the TV work fine. Even the Plex app works well. Just the Hulu app that stinks. I don't disagree that it's likely a tough platform to develop for (and having a htpc is super useful still) but it's really just the Hulu app that is unusable.
pfooti··on Disney+ hit by technical glitches on launch day
yeah, the same happens for me - i have a relatively recent vizio tv, and the hulu app is terrible - video skips and freezes or the whole app crashes. I've taken to just using my mediapc to run hulu in a chrome tab instead. Both devices are hooked to the same ethernet hub, and other things like prime video and netflix run just fine on the vizio.
pfooti··on Former Twitter Employees Charged with Spying for Saudi Arabia
that's not entirely true - it's possible for all the data of that nature to be in an audit-logged data store, and to require specific business cases for access to the data. So you can only see a user's private information if there's a specific bug you're working on, and even then the access is audited.

I mean, the data is still accessible, it's just not easy to get it willy-nilly without setting off alarms.

pfooti··on Ken Thompson's Unix Password
25 years ago I didn't need to crack anyone's unix passwords- they were all broadcasting them in cleartext every few minutes because they were using eudora or some other mail client, and I had converted an old sun workstation I found into a packet sniffer.
pfooti··on Habits of Expert Software Designers
Because that's the color of air.
pfooti··on Richard Stallman Has Been Vilified by Those Who Don’t Know Him
There's a lot of neuroatypical people who don't defend pedophilia or harass people. Don't make it an excuse, it ends up making you sound like you're saying all autistic people are harassing assholes who can't help being assholes. Which is patently untrue.
pfooti··on Facebook, Elections and Political Speech
cool cool cool, facebook is abdicating responsibility for keeping factually incorrect and/or hate speech off of its platform, as long as that speech is coming from a politician. that can't possibly be a bad decision, i mean, they hired Nick Clegg, former deputy prime minister of the UK to figure that out, so i'm sure he knows what he's doing.
pfooti··on Cities Where Job Growth Is Outpacing New Homes
In California, the picture is incomplete unless you include the effects of proposition 13. It has been in effect since 1978 and strongly encourages municipalities to prioritize commercial real estate over residential. Commercial real estate provides a tax base that can be increased over time with the value of the property, and does not represent as large of an infrastructure investment (residential requires schools and so on).

It isn't only prop 13 that is to blame for the bay areas particular housing crisis, but encouraging towns to not approve residential starts cannot help.

pfooti··on California bill could force Uber and Lyft to reclassify drivers as employees
This isn't about protecting the taxi industry- as you rightly point out, many taxi drivers are also contractors. Instead, this is about properly pricing labor. The gig economy works now because companies like Uber (and many others) externalize the real cost of hiring labor.

It doesn't make sense to pay people low wages to the point where they need governmental assistance in the form of food stamps and BMR housing, and then pass on the savings to private companies who do their best to avoid paying the taxes that fund those programs. It ends up being other, traditionally employed FTEs who subsidize this business model via their own tax bills.

pfooti··on What Does a Coder Do If They Can't Type?
I did something similar quite often in my aikido classes. There was also a twist exercise - start with your fingers together palm parallel to the ground facing down, and rotate the forearm rapidly so the palm is facing up, and then back again. Repeat until you can't. Go back to the open close motion. Do those pairs 3x daily.

I stopped akido due to a knee injury, but yikes were my wrists strong for a while.

pfooti··on Why do developers at Google consider Agile development to be nonsense? (2016)
This is true. I'm a swe at Google. My team uses scrum methodology, and is responsible for a customer facing but thoroughly "normal" product. My work doesn't involve building heretofore unknown planet scale computational resources. It's just a normal product where I'm a full stack dev.

I'm sure there's ways we can improve our canonical agile-ness, but it's not lip service. We set quarterly goals sure, but they can change if situations change and the goals themselves are usually data-driven (based on prior quarters a/b testing and other research done by our UX team). We also have strong product and project managers, who own a lot of the scrum meta-work.

So, I guess #notallgooglers (which for context is an ironic, kind of self deprecating response here). There's tens of thousands of engineers at G. Some teams are agile, some aren't.

pfooti··on Use zsh as the default shell on your Mac
I used fish for a while, but the fact that it is a clear break from bash / sh syntax for things like chaining and redirecting made my reflexes all wrong. I'd type `dothis && dothat` and fish would just say, "umm, I think you mean `dothis and dothat`", or I'd have to use a bash subshell to run some command someone else wrote with some fiddly find syntax piping to xargs. So I just switched to zsh. Less cool name, but my reflexes are once again correct.
pfooti··on Justice Department Is Preparing Antitrust Investigation of Google
https://twitter.com/pfooti/status/527301101523963904?s=19

From 2014 though.

← PreviousPage 4 of 20Next →