HNHacker News
TopNewBestAskShowJobs

pbourke

2,915 karma · joined May 14, 2010

I'm Patrick Bourke, a Canadian software developer living in the Seattle area

Currently: applied research in graph data engineering and visualization at Microsoft Research

Previously: Azure capacity management, Two Sigma, Amazon.com, small companies and startups in Toronto

Web: http://www.patrickbourke.com

Email: pbourke at gmail

submissionscomments
pbourke··on Yellen says government will help SVB depositors but rules out bailout
Yes, that is the letter of the law. The intent, given that the FDIC emerged from the Great Depression, is to prevent bank runs.

Most banks with a large retail deposit base are immune from bank runs. SVB is unique in that it didn’t have a large retail deposit base yet also had a bimodal customer distribution (financially sophisticated VCs and later-stage startups/enterprises and early stage startups which have the financial sophistication of your local auto mechanic).

No acquiring bank will want to touch SVB because of its lack of retail deposits - the risk of account holders fleeing at the earliest opportunity is very high. That forecloses one of the FDIC’s main tools for resolving a bank collapse - especially one of this magnitude.

So we have a very unique situation here: a large mostly commercial bank that, unlike most large commercial banks, has a bunch of mom-and-pop level customers.

I don’t know what the solution is, but hopefully it will go in the direction of minimizing impact on these small businesses.

pbourke··on Yellen says government will help SVB depositors but rules out bailout
Would you suggest that every small business in the US with working capital over the FDIC limits do something like this? It would be a massive waste of resources. FDIC insurance exists to stabilize this part of the financial system.
pbourke··on Yellen says government will help SVB depositors but rules out bailout
If your strategy is keeping money in an FDIC insured bank account the government will absolutely bail you out. You have a guaranteed bail out up to the deposit insurance limits and a high-probability bailout for close to 100% of your funds through FDIC resolution.
pbourke··on Yellen says government will help SVB depositors but rules out bailout
Perhaps it’s an anti-SV backlash? Seems misguided as a lot of the places that you’ll want to work at 5-10 years from now are probably depositors at SVB. I think we all have an interest in a trustworthy financial system so rooting for depositors to get wiped out seems particularly short sighted.
pbourke··on FDIC onsite at First Republic Bank tonight
Hmm, maybe that 8-K they filed yesterday was a tad optimistic

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

pbourke··on US discusses fund to backstop deposits if more banks fail
National retail banks are not going to fail. This was a pretty unique circumstance: deposit base had tripled in 3 years, serious failure in risk management, most deposits from business customers well above the deposit insurance limits.
pbourke··on What does Silicon Valley Bank’s collapse mean for the financial system?
How golden is my parachute in this scenario?
pbourke··on Report from the California Department of Financial Protection on SVB [pdf]
I was trying to find out more about this. The reserve ratio was replaced by an “ample reserves” policy, wherein the Federal Reserve pays an increased interest rate on reserves (a slight discount from the federal funds rate). I wonder how this has played out in reality - do banks have more or less reserves than before this policy change?
pbourke··on FDIC Takes over Silicon Valley Bank
A failure in “First Community Bank of Left Buttcheek, GA” is not the same as the failure of a $200B institution.
pbourke··on FDIC Takes over Silicon Valley Bank
It’s also the second largest U.S. bank failure. WaMu was considerably larger when adjusted for inflation - $300B in 2008 dollars (> $400B in 2023) vs SVB at $200B in 2023 dollars.
pbourke··on Why Python keeps growing, explained
Creating a new venv, installing a few needed libraries that you know the names of with a simple command and writing a quick low-ceremony script that uses those libraries is frictionless in Python. Doing that repeatedly in nearly every other major language is not as easy.

Some languages have a good integrated tool chain (Rust, Go) but are not as approachable and forgiving.

Some are approachable but lack the friction-free story for locating and installing 3rd party dependencies.

pbourke··on Why Python keeps growing, explained
I’ve done the same but moved from vanilla numpy to numba. The code mostly stayed the same and it took a couple hours vs however long a port to C or Rust would have taken.
pbourke··on Using GPT3, Supabase and Pinecone to automate a personalized marketing campaign

  # pip install faiss-cpu sentence-transformers
  from sentence_transformers import SentenceTransformer
  import faiss
  
  # replace with own texts - this is a bad example since it contains only single words
  with open("/usr/share/dict/words", mode="r") as infile:
      corpus = { num: s.strip() for num, s in enumerate(infile.readlines()) }
  
  # encode the corpus using a good sentence transformer model - will be slow if no GPU
  model = SentenceTransformer("all-mpnet-base-v2")
  corpus_vectors = model.encode(sentences=list(corpus.values()))
  
  # construct a faiss kNN index
  num_vectors, num_dimensions = corpus_vectors.shape
  index = faiss.index_factory(num_dimensions, "L2norm,Flat")
  index.add(corpus_vectors)
  # optional: save index for reuse
  faiss.write_index(index, "/tmp/corpus_index.bin")  
  # index = faiss.read_index("/tmp/corpus_index.bin")
  
  # encode target text and find 10 nearest neighbors in index
  target_vector = model.encode(sentences=["apples"])
  distances, nearest_indexes = index.search(target_vector, 10)
  print(list(zip([corpus[i] for i in nearest_indexes[0]], distances[0])))
  # [('apples', 4.382169e-13), ('fruits', 0.47413948), ('fruit', 0.57227534), ...
pbourke··on Using GPT3, Supabase and Pinecone to automate a personalized marketing campaign
> My script read through each of the products we had responses for, called OpenAI's embedding api and loaded it into Pinecone - with a reference to the Supabase response entry.

OpenAI and the Pinecone database are not really needed for this task. A simple SBERT encoding of the product texts, followed by storing the vectors in a dense numpy array or faiss index would be more than sufficient. Especially if one is operating in batch mode, the locality and simplicity can’t be beat and you can easily scale to 100k-1M texts in your corpus on commodity hardware/VPS (though NVME disk will see a nice performance gain over regular SSD)

pbourke··on Education as civilization-building
What do you mean by “function independently?”

Why do you immediately separate eduction by wealth?

I suspect you mean that the purpose of eduction is to ensure that an individual can be gainfully employed and not be a burden on the state. One of your aims would be heading off any poor students pursuing a less lucrative degree (liberal arts).

This seems like a rather sad view of education.

pbourke··on Fast Software, the Best Software (2019)
That doesn’t mean “never optimize”
pbourke··on Mass of transactions leaving crypto.com wallets
What if nearly everyone is a bad actor?
pbourke··on FTX faces potential hack, sees mysterious outflows totaling more than $600M
> The promise of cryptographic currency was that we have the power.

As usual, we don’t. The question is, do you want the power to be in a condo in the Bahamas or in a building with the company’s logo on it, within walking distance of the SEC and SDNY?

pbourke··on FTX faces potential hack, sees mysterious outflows totaling more than $600M
this is some kind of rare triple word score double-reverse irony. I love it.
pbourke··on CRISPR cancer trial success paves the way for personalized treatments
Today’s car is safer, more fuel efficient and more capable as well.
pbourke··on Just don’t
I wish more people would ask simple questions with the expectation of getting a complicated answer.

Usually it’s more along the lines of “for my own understanding, why can’t we just ship things as they’re ready instead of waiting for everything in the order to go in one box?”

pbourke··on NYT reporters had a top-down directive that tech coverage should be critical
> I finally stopped reading them after their highly biased coverage and openly stated support of the Canadian alt-right occupation of our capital.

It certainly seems like you wouldn't have any bias when discussing this topic as well.

> They had statements in their articles such as "the majority of the funding for the protests came from Canada" when the actual number was 54% came from Canadian sources. Maybe from a strict mathematical definition that is still a "majority" but it's certainly not what anyone imagines when they hear the word.

What non-strict, non-mathematical definition of the word majority do you propose?

pbourke··on Productivity has fallen, and experts are puzzled. I’m not. We’re all just tired
Another formulation is that technology augments the impact that a single individual can have. The productivity gains allowed by silicon are the greatest single economic advance in human history. Businesses become increasingly more productive to the degree that they are founded on, or can reorganize themselves to be in alignment with, this trajectory.

I say this while sipping my morning coffee, browsing HN and waiting for an amount of computation to finish on a single machine that required either a supercomputer or multi-million dollar cluster 20 years ago.

pbourke··on The New York Times made a weird editorial decision with its tech coverage
See how many will give the check up willingly and you’ll figure out how valuable it is to them.

I’ve seen a lot of “hey you just got your spurs” back slapping when someone gets a check.

pbourke··on Employee gift ideas that make people feel bad
> Employer gifts (other than de minimis amounts) are taxable compensation.

This was a coaster - hard to get more minimis than that.

pbourke··on Wiring my home with fiber
I’ve done wood and vinyl plank flooring in a single room as a not particularly handy homeowner. It’s a lot of work but not really difficult.
pbourke··on American Airlines is trying to stop a popular app used by flight attendants
This site is called Hacker News. This is an exemplary application of the hacker ethos - to apply skill and insight to make a digital system better for some group who is being underserved, without all-encompassing regard for the desires of the offending organization.
pbourke··on Effect of Colonoscopy Screening on Risks of Colorectal Cancer and Related Death
> The study results are "colonoscopies do not lead to a reduction in colon cancer mortality". Reporting that isn't misleading that's what the study says.

The measured intervention was not the colonoscopy, it was the invitation to screen. Only 42% of invited patients actually got a colonoscopy. This is far more persuasive to me:

> "When the investigators compared just the 42% of participants in the invited group who actually showed up for a colonoscopy to the control group, they saw about a 30% reduction in colon cancer risk and a 50% reduction in colon cancer death. “That adds to a bunch of observational study data that suggests exposing people to colonoscopy can reduce risk of developing and dying of colon cancer,” Gupta said."

As a member of the public, I don't really care about invitation to screen, but do care about the efficacy of colonoscopy. I can see invitation to screen being an important concern from a public health standpoint.

pbourke··on Effect of Colonoscopy Screening on Risks of Colorectal Cancer and Related Death
In this case they are examining colon cancer and deaths from it, and the colonoscopy is a diagnostic test for colon cancer. I feel that the results are being presented to the public in a very misleading way. People will read this headline and conclude that they don’t need to get a colonoscopy which I don’t think follows from this study at all.
pbourke··on Montreal is what North America could be
> I find it a little odd that the assumption is that single family homes are somehow always superior.

“Superior” is a value judgement. I think “preferred” is closer to the mark. People like single-family homes and they go to great lengths to buy them and deal with the externalities of living in them (commuting, maintenance). As the externalities lessened (broader acceptance of working remotely), SFH became more valuable in the last two years.

> It’s not true in New York.

There are great swathes of lower-density housing in New York and its surrounding region. NYC is an outlier on account of its geography and place in the economy.

> Perhaps we can engage with the material without insulting the people behind it. It’s not exactly a compelling argument.

I think it was an appropriate way to engage with an article that takes “people would rather live in mixed-density neighborhoods than single family homes” as its premise. The revealed preference of the entire post-WW2 era in North America is mostly the opposite of this assertion. In general, as society has gotten richer more people have looked to own single family homes.

← PreviousPage 3 of 33Next →