HNHacker News
TopNewBestAskShowJobs

james_s_tayler

2,220 karma · joined October 30, 2018

submissionscomments
james_s_tayler··on Dissatisfied with Docker
I didn't consider the on-prem use case, but I can see how that could become an issue.
james_s_tayler··on Dissatisfied with Docker
Why have I not heard this before?

Brilliant.

I'm going to file this right alongside "software is never finished, only abandoned"

james_s_tayler··on Dissatisfied with Docker
WebLogic.
james_s_tayler··on Dissatisfied with Docker
I use docker all the time when doing side projects by myself. It's nice because I don't know ahead of time what the dependencies will be but I don't really care. I just pull in all the container images via docker compose and suddenly everything is there and talking to each other.

I find it very ergonomic outside the need to run docker system prune from time to time.

I also value it highly when some open source project I want to play with has docker compose in its readme. Super easy just to spin it up.

james_s_tayler··on Dissatisfied with Docker
I take it you've never worked in an enterprise Java shop with a few million line legacy code base deployed to whatever the hell webserver I can't remember the name of right now.

Seconds is great in comparison. Minutes, not so much.

james_s_tayler··on Dissatisfied with Docker
Yeah. I have to run docker system prune from time to time.
james_s_tayler··on Jack Ma retires as Alibaba’s chairman
This was glorious.
james_s_tayler··on Philosophy of Computer Science [pdf]
Yeah I would say it's not a foundation for undertaking scientific equiry. That's what the scientific method is for. Math is a foundation for logic.

The aggregate output of philosophy as a process for negotiating a shared understanding of "what is true and what to do about it" is the foundation upon which societies thoughts rest. If that makes sense?

They are quite linked though. And there isn't any escaping philosophy regardless of you feel about it. Re: the replication crisis - we have found that the very foundation we thought was Rock solid doesn't appear to hold for the social sciences. The "how do we know?" has fundamentally come in to question and we find ourselves back at epistemology searching for another suitable way to be sure about things.

But I agree it's not a foundation for science per se. Just a foundation for forming belief systems. Philosophy is capable of producing all kinds of nonsense. And indeed it has and does all the time.

james_s_tayler··on Philosophy of Computer Science [pdf]
Sort of the whole point of it is that not everyone comes to the same set of answers. So, dialog ensues as people try to shore up their viewpoints with one another and both are often transformed in the process. That's how a dialectic works.

Before the age of enlightenment, yours was not a commonly held viewpoint. After, it became to be acceptable and then accepted. That's philosophy at work.

I don't think of it as a foundation per se. It's more like a continuous process that carries out over time as individuals interact, the result of which only a small portion is obviously visible with the rest going mostly unnoticed.

james_s_tayler··on Questions to ask a company during a job interview
Yeah, I'd avoid a TFS shop too.
james_s_tayler··on Questions to ask a company during a job interview
I remember in my first job interview I asked "have you ever hired someone who didn't work out?"

I got a genuine and thoughtful answer. It helped me to establish quite clearly what value systems wouldn't fly in the company which guided me on how to behave.

It worked out well.

Essentially you're trying to figure out "if you hire me and what is true about me then things won't work out?". You want to know if you have those qualities. If you do, you shouldn't accept an offer if you get one. It's a reasonable and good question.

I've known excellent people flame out in weeks because the companies values just didn't match their own. They weren't bad employees either. It was just a difference of opinion.

james_s_tayler··on Questions to ask a company during a job interview
What about if you're a hiring manager for a software company in Japan or Korea?
james_s_tayler··on Philosophy of Computer Science [pdf]
Well if dogs were smart enough to figure things out they'd probably put dog nature at the top as it would be their experience they are trying to make sense of.

Everyone has their own answer to those questions. That's their philosophy. The field itself catalogues developments in which answers have been a) novel and significant and/or b) become widely accepted at some point in history.

james_s_tayler··on Philosophy of Computer Science [pdf]
You don't get it. Its not about where one academic subject sits versus another or how they are taught. It's about the function they both play in daily life. We have science as we have it today because of the developments in philosophy that we have had.

There are 5 fundamental branches of philosophy that attempt to answer 5 questions.

What is real? (Metaphysics) How do I know? (Epistemology) Who/what am I? (Human nature) How should I live? (Ethics) How should we live? (Politics)

In modern society we have taken to answering the question of "how do I know?" by the scientific method. Well, a lot of us have.

Think about recently how the replication crisis has affected our philosophy. We have started to question the methods efficacy in certain disciplines and we are going back to the drawing board. Back to finding a way to answer the question "how do I know?"

Developments in philosophy form the bedrock of daily life. Science is included in that.

james_s_tayler··on Philosophy of Computer Science [pdf]
You can't unlink them.
james_s_tayler··on The Cult of Kubernetes
I thought GKE the control nodes are free but but on EKS you pay heaps for them.
james_s_tayler··on S0lly's Cellivization – Civ 1 Clone in Excel
I built a full CRM for my wife's tutoring business like almost 2 years ago in Airtable. It only took a couple of hours and it's powered her business ever since. Airtable is an incredible tool.
james_s_tayler··on Philosophy of Computer Science [pdf]
When you start learning more about philosophy you realize it forms the bedrock of the accepted ideas in our society. Down to some very common sayings you often hear repeated. It makes its way into daily life all the time.
james_s_tayler··on Malcolm Gladwell's famous 10k hour rule isn't holding up in new research
I don't find the arguments themselves entirely disingenuous.
james_s_tayler··on The Riemann Hypothesis
For that you want to check out Group Theory.
james_s_tayler··on Malcolm Gladwell's famous 10k hour rule isn't holding up in new research
Well it's a pop-sci book that reads as such. I don't take it to be rigorous, I take it with a "I guess I could see how those dots might connect" food for thought type way.
james_s_tayler··on Malcolm Gladwell's famous 10k hour rule isn't holding up in new research
What I took away from that chapter was two things.

First was that Asian children, at least those who speak languages that function this way, grok the concept of addition faster than their Western counterparts because the counting systems are extremely regular, so they pick up on the patterns easier because 11 isn't the arbitrary "eleven" instead it's simply "ten one".

Second was success in math is in part a function of perseverance. Impossible problems were given to groups of kids and something like the American kids gave up after 9 minutes on average and the Japanese kids gave up after 14 minutes on average. My memory is fuzzy on the details but that particular metric correlated really well iirc. Been a long time since I read it.

james_s_tayler··on Everything I googled in a week as a professional software engineer
You should probably look up what an IQ test involves instead of just guessingly blindly, getting it wrong and then writing off the suggestion based on a wrong assumption.
james_s_tayler··on Everything I googled in a week as a professional software engineer
Maybe that's Hanselman's ploy. Run mind games on you to make your imposter syndrome worse. Muahahaha.
james_s_tayler··on Stripe Capital
Not sure it's worth pointing out but I don't think there was any value in pointing that out.

I thought the comment was apt.

james_s_tayler··on Whatever happened to Six Sigma?
I liken it to an organism. An organism is trying to stay in homeostasis. It's also either growing or decaying, though it mostly appears static.

It's exactly as you say. Many aren't capable of identifying opportunities for optimization. Re: the organism metaphor - an organism can be relatively unhealthy and still survive. Some people are ultra-fit. Most are not. Some people really are quite unhealthy. The bar for survival is fairly low. Project that on to companies you can imagine the ultra fit being those companies whose managers can work together to identify opportunities for all the things they are aiming to optimize for and are able to optimize for more than just staying alive.

james_s_tayler··on Whatever happened to Six Sigma?
Well you could say it never works optimally, but it depends on what you are optimizing for. A lot of people think that because business need to make money that they should optimize for making the most amount of money and therefore try to maximize productivity. They look at organizations and what they see is very much at odds with that.

In reality they don't try to maximize employee productivity, they try to maximize employee fungibility.

If all the company is trying to do is survive then I'd say it definitely works.

james_s_tayler··on ORMs Are Backwards
I'm not convinced on the UX of that. Developers are lazy. I think what would more than likely up happening is they explicitly set it to "auto" and modify the query to get a more performant plan. After a certain query complexity It would become exceedingly hard to start to be able to piece together plans by hand.

A bunch of performance problems aren't even solved by tweaking the query either. They're solved by changing the database structure. Adding the appropriate indexes and such. Making sure datatypes match between joined data and no implicit conversions are happening. Right-sizing columns.

No amount of specifying your own query plan will do anything to affect those kinds of issues.

In practice I find mostly it comes down to cardinality estimate issues as a very common source of problems as the database either over or under provisions enough memory for the query. If it estimates it's going to get back a lot more data than it actually does and it grants too much memory that will reduce parallelism because that memory can't be used by other queries. If it under-estimates it doesn't grant enough memory and when it gets back more rows that will fit into memory it has to write them temporarily to disk taking a massive hit in I/O performance.

How does your scheme work with figuring out how much memory the database should grant to a query when specifying a plan by hand?

What's more is plans change over time as statistics change. Leaving it up to the query optimizer means it's adaptive. Having to specify yourself means you have to know the optimizer isn't giving you the best plan at design time. There are some cases where you know that. There are some cases where you don't.

You can already specify query hints etc. I think SQL just has this covered already. I have no qualms if the query changes slightly.

james_s_tayler··on ORMs Are Backwards
No thanks. The benefit is not having to specify the plan. The optimizers themselves are fairly good. A well designed table with the right indexes should perform well.

Raw SQL is great at what it does.

ORMs are typically good at what they do.

Depending on the use case both have their pain points. Typically I see a mixture of ORM for most CRUD based stuff and raw SQL for cases where the ORM isn't suitable.

No need to throw the baby out with the bathwater.

james_s_tayler··on Names do not transmit meaning
Isn't a Functor just a morphism from one category to another?
← PreviousPage 21 of 34Next →