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 JSON Schema Store
XML is only concerned with whether a document is well-formed, not its conformity to a given schema. Schemas like XSD, DTD, etc can be plugged in later. Many systems just have an ad hoc schema.

> At least with JSON and HTML, you don't need a separate definition file for basic, primitive data types.

Unless I’m missing your meaning, this seems like an apples-to-oranges comparison. HTML is not a general-purpose format like JSON. It’s a very complicated document format that is validated with reference to an external spec.

I think XML is a great fit for a document format that can become arbitrarily complex yet still easy to author and validate. It’s obviously a really poor fit for a wire transport protocol.

pbourke··on Shit life syndrome
It’s not easy to tie two orthogonal yet equally-depressing subjects together.
pbourke··on Mister Rogers had a point – routinely greeting six neighbors maximizes wellbeing
Counterpoint: I am much, much more comfortable at the cheapo place at the mall than at some fancy pants salon. Find what works for you.
pbourke··on Inside The Decline of Stack Exchange
As time goes on, I more and more have the feeling that maintenance is 95% of the value in any software system.

A well-designed system at launch is not sufficient to provide sustained value, but competent ongoing maintenance is. Phrased another way, you can sustain value by maintaining a badly designed system but not by not maintaining a well-designed system.

Ideally systems are well designed and well maintained but we don’t always have that luxury.

Circling back to your point, it’s ironic that maintenance is the lowest-value activity in terms of big tech company reward systems.

pbourke··on In California, Car Buyers Are Choosing Electric over Gasoline in Record Numbers
Wouldn’t the time-of-day effect be amplified with enough EVs? Everyone arrives home at 6pm after work and plugs in.
pbourke··on Meta blocking news links in Canada
I guess Elder Millenial is the new Boomer.

Incoming on-brand Gen X comment: it’s funny that they even skip over us when handing out pejoratives.

pbourke··on Bram Moolenaar has died
I have donated a few times and always got a personal email from Bram in thanks. These were not large amounts by any means.

Rest in Peace, Bram.

pbourke··on Help the Library of Congress create games to improve public knowledge of civics
That stability comes from having a handful of banks declared too big to fail, and holding oligopoly power. Canadians enjoy some of the highest retail banking fees when compared with peer nations.
pbourke··on Commander Keen's adaptive tile refresh
Not to mention: Wolfenstein 1992, Doom 1993, Doom II 1994, Quake 1996. Unbelievable pace.
pbourke··on Before you try to do something, make sure you can do nothing
> Once the code from step 1 is ready, stick it in the scaffold and debug until it looks good

One thing that has stuck with me from Steve McConnell’s “Code Complete” is his use of PDL (“Program Description Language” - I think).

The general idea is to write everything out in pseudo code first (at the function or small group of functions level - _not_ the whole program or component).

My PDL is basically a slightly more hand wavy dialect of Python.

pbourke··on Never waste a midlife crisis

  A man wakes up in a strange room
  He doesn't recognize the woman next to him
  He gets out of bed, there's a wallet on the dresser
  He opens it up, looks inside at the driver's license in there with his face on it
  And someone else's name
pbourke··on An Architectural Overview of QNX (1992) [pdf]
Yes! By the time I was in high school in Ontario (early 90s) we had PCs as I recall, but in grade school there were Pets and then later ICONs. At home a lot of kids had C64s, though my family’s first machine was an IBM XT clone.

I vaguely remember a mysterious “other room” where ICON-related things happened - this must have been where the LEXICON server was located.

pbourke··on Debris found came from missing Titan sub, says friend of passengers
David Pogue observed them visiting the Titanic.

https://www.nbcnews.com/tech/internet/david-pogue-misinforma...

pbourke··on Submarine missing near Titanic used a $30 Logitech gamepad for steering
> The controller itself is basically irrelevant.

It's irrelevant until it fails with no backup mechanism when maneuvers are needed.

pbourke··on Missing Titanic sub faced lawsuit over depths it could safely travel to
It had made several dives to the Titanic in 2022
pbourke··on TV doctors say annual checkups save lives – real doctors call bullshit (2016)
> High-risk people should get periodic tests for the things they're at risk of, and people should be in a position to report issues they discover in the course of their lives.

How do you know if you’re at high risk for something? This assumes a medically literate and motivated person will seek care based on … what? Realizing that grandpa, great-grandpa and dad all didn’t live past their 60’s? High cholesterol and hypertension can be “silent killers” - how do you know to check for them?

pbourke··on JPMorgan Chase and Co tracks employees to dystopian extents
> Think of this quote and it will be clear: "The future is here it's just unevenly distributed"

> Where "future" is synonymous with "hope, life, time, joy"

You have dropped the crucial last word from that quote: “The future is already here. It's just not evenly distributed yet”

pbourke··on The world’s oldest ultramarathon runner is racing against death
> has no ambition to ever leave the continent.

There’s a lot to do on most continents.

pbourke··on Rivian R1T Fender Bender Turns into $42,000 Repair Bill
> If you want an expensive car, you should pay for the insurance to cover it.

Do you think there’s a difference in insurance premiums between the 2005 Ferrari and 2005 Hyundai?

pbourke··on Tech jobs remain a good bet despite mass layoffs in Silicon Valley
Medicine, law, accounting, professional engineering. Notice something in common with all of these?

With the exception of law, automation has already arrived in all of these fields (to accounting first, 1-2 generations ago) and there are now more people in each field rather than less.

Answering my own question: each has a comfortable regulatory moat and competent professional society to defend it.

pbourke··on Making friends as an adult is hard (2021)
> I suspect that rich people have more friends for this reason; they have more surplus so they're not constantly (subconsciously) thinking about how to exact resources from everyone around them;

Research points to the opposite conclusion:

https://journals.sagepub.com/doi/full/10.1177/19485506166414...

> Two studies using large, nationally representative samples of Americans (N = 118,026) and different measures of social contact showed that higher household income was associated with less time spent socializing with others (Studies 1 and 2) and more time spent alone (Study 2)

pbourke··on Lessons from America’s astonishing economic record
Canada isn’t a single language market.
pbourke··on California is taking on caste-based discrimination
> It's certainly illegal in at least the US, Canada

Are you sure about that? In the US, I’ve read anecdotal reports about people with Southern accents facing discrimination.

In Canada, the Maritime provinces have a distinct accent and there has been a culture of joking about “newfies”[0] (perhaps that has subsided recently).

Are there laws that apply to these situations? Laws can also exist on paper but almost never see enforcement.

[0] https://en.m.wikipedia.org/wiki/Newfie

pbourke··on Arrest made in SF killing of Bob Lee – alleged killer also worked in tech
Your comments are disingenuous. A decline in the quality of life in a city due to crime, substance abuse, homelessness and untreated mental health disorders has an immense affect on one’s well being. That goes doubly so for people with spouses and children.

If you are confronted by a mentally ill person screaming threats at you, is your first thought to seek comfort in the violent crime stats? You must be some kind of robot, if so.

pbourke··on Even when we know they’re “fake,” placebos can tame our emotional distress
> In one placebo group, people were told by a friendly, trustworthy, and empathetic researcher that the videos had a physiological impact that activated “early conditioned emotional schemata through the color green.”

> “It was a fake idea, a fake rationale behind it,” Gaab said. “And it worked, people loved it.” It worked as well as a group psychotherapy treatment Gaab and his colleagues used with study subjects a few years earlier.

Were people explicitly told that it was a fake idea at the outset, and went along with the ruse?

Can I buy sugar pills and tell myself “these pills will help with problem X” and have an expectation that they will work? Or do I need to receive “Problem X pills” from some authority in order to see a placebo effect?

I had always assumed that a key component of the placebo effect is not knowing whether you’re receiving the treatment or the control.

pbourke··on Night of the living brain fog dead or how I hacked myself better via open source
> Anyone got any other experiences with things that cause brain fog?

Vitamin B-12 deficiency due to lack of intake (a risk for strict vegan diets) or pernicious anemia, an autoimmune disorder. The former is addressed by over the counter supplements and the latter by injections.

Deficiency can be diagnosed through a blood test.

pbourke··on Night of the living brain fog dead or how I hacked myself better via open source
Are there no sleep clinics in the UK?
pbourke··on I wish GPT4 had never happened
Also customer support, and various flavors of clerical and administrative work.

Under the BLS classification scheme, these jobs are sprinkled around under various industrial categories such as medical, logistics, business services, etc. they add up to a large number of jobs in the aggregate (probably another 10%)

pbourke··on System design and the cost of architectural complexity (2013)
In enterprise systems, it’s always easier (organizationally) to add a feature than to subtract one. Subtraction usually puts some work in the queue of some team, which is usually not politically viable.

For instance, say Team A is used to receiving a report in Excel every week. If an upstream system is added or changed, Team A will fight like hell to keep their Excel report even if it’s no longer needed. Whereas “the system shall generate a weekly Excel report” is just another feature in the backlog and much easier to sell to the organization.

pbourke··on Federal Reserve Path Is Murkier After Bank Blowup
> their actions weren't to recapitalize the bank

As I understand it, VCs manage pools of money that are structured as limited partnerships. Each pool has an investment objective, and presumably “recapitalize a failing bank” is not one of them. Any VC who did this would probably have been sued by their investors.

← PreviousPage 2 of 33Next →