HNHacker News
TopNewBestAskShowJobs

peterthehacker

475 karma · joined June 12, 2020

Say hi: peterthehacker3 at gmail.com
submissionscomments
peterthehacker··on Cloudera taken private for $5.3B, acquires Datacoral and Cazena
Yes! And if it doesn’t fit in RAM, then most businesses will only need an OLAP data warehouse, like Snowflake or Redshift.
peterthehacker··on Best practices around creating production ready web apps with Docker Compose
Running docker compose in production is not a good practice from what I understand. The persistence layers, like MySQL or Redis, shouldn’t be managed with local volumes. If you want to do something like this then kubernetes with persistent volume claims would be better, but running databases in k8s can be pretty tricky. Most of the time RDS is the best practice for your DB.
peterthehacker··on Show HN: Notion API Go SDK
From your link:

> Blocks cannot be modified currently. Once a block is appended as a child of another block, it cannot be updated or deleted.

Linking blocks is different than updating.

peterthehacker··on Show HN: NocoDB – Open-Source Airtable Alternative
Congrats on a successful launch! It’s interesting that this submission is close to beating Airtable’s original Show HN submission from 7 years ago in points [0].

[0]https://news.ycombinator.com/item?id=8373914

peterthehacker··on Technical documentation that just works
MkDocs Material is a popular tool for open source python projects. Here are some examples:

pydantic - https://pydantic-docs.helpmanual.io/

FastAPI - https://fastapi.tiangolo.com/

Starlette - https://www.starlette.io/

AutoKeras - https://autokeras.com/

peterthehacker··on Fierce Nerds
> We're not talking about people who disrespect waitresses

Right, we’re not. We’re referring to behavior in the workplace.

> There are many well intentioned nerds who try their best to be considerate and kind that can't help but be impatient in technical discussions.

This is true, but I don’t think that accurately describes pg’s definition of a “fierce nerd” in the article. Also, Netflix would probably still classify someone like this as a “brilliant jerk”. Maybe they would give this nerd a chance to change their behavior, since it’s unintentional.

> Some organizations don't tolerate that and some do, and those who do are at a natural advantage.

These days, no one could confidently make the claim that Netflix has a “natural disadvantage” in this respect. They have the strongest technology in their market and have no lack of talent in any of their technical departments.

Companies that win have top talent, but this talent needs to be able to work with the team effectively. Whether you want to use the term “jerk” or “fierce”, if a team member is being disrespectful to other team members then the team breaks down.

peterthehacker··on Fierce Nerds
The “fierce nerd” sounds a lot like what Reed Hastings (Netflix, Founder) calls “brilliant jerks.” To quote his recent book:

> Sometimes really talented people have heard for so long how great they are, they begin to feel they really are better than everybody else. They might smirk at ideas they find unintelligent, roll their eyes when people are inarticulate, and insult those they feel are less gifted then they are.

At Netflix, they say “no brilliant jerks” because they will “rip your organization apart from the inside”.[0]

A lot of this sounds like justification for a brilliant jerk’s behavior. While it’s tempting to take the “fierce nerd” badge and wear it proudly, ferocity can turn into jerkiness pretty quickly.

[0] https://www.amazon.com/No-Rules-Netflix-Culture-Reinvention/...

peterthehacker··on Project Starline: Feel like you're there, together
Essentially eye-contact is the missing ingredient. I believe it! Eye contact is key to a conversation feeling authentic.
peterthehacker··on What I learnt roasting 200 landing pages
I’ve never heard of USPs before this article. Stopped reading to google “USPs landing page” which returned links to usps.com, the US mail carrier.

CTA is pretty well known though. Regardless, explaining those acronyms would improve clarity.

peterthehacker··on Deno 1.10 Release Notes
Isn’t typescript a superset of javascript so any ts compiler must also run js?
peterthehacker··on Kobra – visual programming language for machine learning
Great job! Looks like there’s a layout issue on mobile for your homepage. The content is squished to the left side of the screen in portrait mode. Switching to landscape mode fixes it.
peterthehacker··on Using PostgreSQL as a Data Warehouse
> why not just use a real warehouse like Snowflake?

Cost is the most common reason I’ve seen. An RDS instance is about 1/2 the cost of Redshift per CPU and then Snowflake is slightly more expensive than Redshift (often worth the extra $$).

Also, if you’re dealing with less than 10GB of data the difference in performance will be barely noticeable, so at modest scale the most cost effective solution is RDS.

peterthehacker··on The XY Problem (2014)
Well said! Cloaking a messy human interaction in the guise of math and logic is an effective way to communicate with engineers. Never thought of it that way.
peterthehacker··on Why psychology isn’t science (2012)
This definition is concerning because without strict criteria for what is and isn’t science, we welcome topics like phrenology.

Topics like this are, as a whole, not true. While I think psychology is no where near as problematic, the author’s argument that a loose definition of science, like whether the scientific method is employed, can be dangerous.

> This is dangerous because, under such a loose definition, anything can qualify as science. And when anything qualifies as science, science can no longer claim to have a unique grasp on secular truth.

Ultimately, what we define as scientific will impact what we perceive to be truthful. Setting a higher bar for a topic to be labeled scientific will strengthen our grasp on secular truth.

peterthehacker··on Why psychology isn’t science (2012)
Do you have examples of these standardized processes to measure happiness?

The only measures I’ve heard of are not standardized and typically self-reported / survey based measures.

peterthehacker··on Why psychology isn’t science (2012)
The happiness scale is arbitrary because it lacks reproducibility. The metric system is standardized such that every time you measure the length of something in the physical world that measurement is reproducible.
peterthehacker··on Why psychology isn’t science (2012)
Categories and abstraction generally is essential for solving a problem. Furthermore, how we categorize disciplines as scientific or pseudoscientific is very important. From the article:

> But to claim it is “science” is inaccurate. Actually, it’s worse than that. It’s an attempt to redefine science. Science, redefined, is no longer the empirical analysis of the natural world; instead, it is any topic that sprinkles a few numbers around. This is dangerous because, under such a loose definition, anything can qualify as science. And when anything qualifies as science, science can no longer claim to have a unique grasp on secular truth.

peterthehacker··on Smithy: A language for defining services and SDKs
Thanks for the thorough response! This helps me understand the motivations behind Smithy. I’m going to dig into the project and keep an eye on it as the tooling develops.
peterthehacker··on Smithy: A language for defining services and SDKs
How does this compare to Google’s protocol buffers? [0] It looks like smithy has a broader set of applications.

[0] https://developers.google.com/protocol-buffers

peterthehacker··on The XY Problem (2014)
I’ve heard this cited by a couple ctos I’ve worked for. It’s a popular metaphor in the engineering department. I think it’s articulating an important message, but in an ineffective way. The name “XY Problem” is too vague and easy to forget. I prefer simpler messages like:

- What’s the root cause of the problem?

- Is this a solution looking for a problem?

As software engineers, part of our job is naming things well and the “XY Problem” isn’t a great name IMO.

peterthehacker··on Facebook threatens to make iOS users pay. Please do it, Mr. Zuckerberg
This argument I’m very skeptical of. The pre-Facebook internet was niched. Lots of sites for all sorts of subcultures. Online businesses that were relevant to <=10% of the population would advertise on the sites that cater to their niche. Facebook ads as a distribution channel is all that we know in this day and age. Who knows whether online small businesses would be better or worse with a different paradigm.
peterthehacker··on Crazy New Ideas
Has mighty app announced what pricing will look like? I’m assuming that you couldn’t offer something like this for free.
peterthehacker··on Crazy New Ideas
This is the first time I’m hearing of Mighty App and, at least at first glance, I wouldn’t categorize it as a “crazy idea,” in fact it seems pretty non-crazy to me - chrome but more efficient. It’s literally a faster horse. I guess the implementation is the crazy part...?
peterthehacker··on How Basecamp Blew Up
I think these comments were the main reason:

> “I strongly disagree we live in a white supremacist culture,” Singer said. “I don't believe in a lot of the framing around implicit bias. I think a lot of this is actually racist.”

peterthehacker··on Ask HN: How would you store 10PB of data for your startup today?
Can you elaborate on what the >10PB of data is and why it’s important to your startup? Is it archived customer data, like backups? Or is it data purchased from vendors for analysis and ML?
peterthehacker··on Cycling is more important than electric cars for reaching net-zero cities
The environmental argument for more bike friendly cities is one thing but I think that the quality of life argument is even stronger.

One of the things I miss the most from my college days was being able to ride my bike everywhere. I could go for weeks without driving and it was wonderful. Now days I almost never ride my bike anywhere (other than by my house for exercise) because there are just too many cars and careless drivers.

If only more cities were like Copenhagen. When I travelled there I was blown away by how bike friendly the city is. There are some parts of the city that are only accessible by bike and the roads that allow cars have elevated bike lanes, which are much safer than the “share the road” bike lanes we have in the US. The psychology of road rage just disappears with bikes. Once all the metal and glass around you disappears we are much friendlier in traffic and accidents.

Making the world more bike friendly isn’t just good for the environment but good for our well being.

peterthehacker··on Don’t use environment variables for configuration
int first_argument; int second_argument;

void add_numbers(void) { return first_argument + second_argument; }

// to call it you'd do first_argument = 1; second_argument = 2; int three = add_numbers();

> This is, I trust you all agree, terrible.

This isn’t really a case against environment variables per say but against global config variables generally. Whether it comes from the environment or a config file that state will be global. So the example of adding globally defined integers is obviously silly, but if you change those variables to a username and password strings then change the function to db_connect it makes sense.

peterthehacker··on Don’t use environment variables for configuration
Pydantic has a nice way to parse/validate a collection of environment variables into native python types using type hints [0]. It solves for some of the pain points the author mentioned in a clean way.

[0] https://pydantic-docs.helpmanual.io/usage/settings/

peterthehacker··on Ask HN: Best low-/no-code solution for simple web-based database frontends
Have you looked at TablePlus?

https://tableplus.com/

It gives you a spreadsheet UI on top of your tables that can be edited directly. All edits are baked into a transaction so when you hit save the transaction is committed. We’ve had a lot of success using it with developers and non-technical product managers designers.

peterthehacker··on Updating a 50 terabyte PostgreSQL database (2018)
This is about an online database version upgrade not a schema upgrade / migration.
← PreviousPage 3 of 5Next →