HackerTrans
トップ新着トレンドコメント過去質問紹介求人

james_s_tayler

no profile record

コメント

james_s_tayler
·6 年前·議論
Nah.
james_s_tayler
·6 年前·議論
Well about 1/4 of the prison population has ADHD and half are dyslexic. Female prison populations also have a very high rate of BPD.

The grandmother's where you're from might benefit from learning about pervasive developmental disorders and the effects of trauma.

Some people are dealing with stuff that isn't their fault and that they never got adequate support for.
james_s_tayler
·6 年前·議論
Ah... this. So much this.
james_s_tayler
·6 年前·議論
Ah, so the original comment is predicated on the assumption that all adults are capable of doing that for their kids.

Some are. Some aren't.

Same goes for the kids.
james_s_tayler
·6 年前·議論
>One theory that's gaining traction is that people with ADHD have a somewhat lower baseline than average, and when you throw in sleep deprivation, their "propensity to focus" falls into dysfunctional territory

Part of the criteria for diagnosis is that your symptoms are persistent and chronic enough such that your life is impaired. That's already squarely in dysfunctional territory without sleep problems.

Given ADHD affects all of your executive functions, it tends to impact all facets of your life. You're 400% more likely to be obese than someone who is non-ADHD. With that comes obstructive sleep apnea. With that comes less sleep and more problems.

So, ADHD has its own special way of making itself worse.
james_s_tayler
·6 年前·議論
I took the time to learn it, and for just my side projects it's a ridiculous amount of overkill.
james_s_tayler
·6 年前·議論
It was probably more the "if you have more than 1 service you need Kubernetes".

No. You don't.
james_s_tayler
·7 年前·議論
Also AWS is just the best at marketing their services. They did what Google did with search. We always say we "Google" things.

Developers these days say "Chuck it in S3" or "Run it on EC2". I feel they have a strong advantage because they've kind of come to own the language of the cloud.
james_s_tayler
·7 年前·議論
That's great! Well done.
james_s_tayler
·7 年前·議論
I actually love magic, but boy oh boy are you right when it comes to hitting a wall and getting absolutely stuck when magic happens.

I've spent a bunch of time thinking it through and I've come to the conclusion that it isn't actually the magic that is the bad part. It's the lack of the discoverability that is bad. I guess that's why it's called magic right? Because you don't know what the trick is, yet it appears to work...somehow.

I call it dark magic. Magic that is not discoverable and makes no attempt to help you discover it. On the other hand, if you put magic into a solution because you are a wizard and you want to leverage the stunning super powers that magic gives you, if you can also tell everyone how the tricks are being done... it's actually possible to get the best of all worlds.
james_s_tayler
·7 年前·議論
For some reason I read "methodology" as "mythodology" and I thought "That's genius! That's the perfect portmanteau to describe the phenomenon of people trying to learn and adhere to 'methodology' but then really just adhering to the lore and the myth! I'm stealing that!"

Then I read it again and it didn't say that. But I think that should become a new word. Mythodology.
james_s_tayler
·7 年前·議論
Hmm maybe in the Bay Area?

Everywhere else I've seen software that is on average a decade old.
james_s_tayler
·7 年前·議論
It's actually a pretty incredible framework.

While it might just look like word soup from that particular vantage point I'd venture to say that Spring Framework is one of the most successful examples of OOP in history. It has massive adoption because of its sheer flexibility which all of those abstract generator factories give it.

Granted, I think Ruby on Rails is also an amazing project. For slightly different reasons, but then again, they're different use cases serving different paradigms and different groups of people.

It isn't the paradigm that makes something good or bad or better or worse. It's the quality of the implementation.
james_s_tayler
·7 年前·議論
I like this. Because time after time after time I have seen the opposite. Managers saying "but we might need it again later" and...

We. Never. Have.

And even if we did... its still under source control if you really want to dig it out.
james_s_tayler
·7 年前·議論
I agree, but with a caveat. I think more often than not, you're right, worry about things like that just tends to be a waste of time, because while it might happen it mostly doesn't. Vendor lock-in is a good example. Probably not worth losing any sleep over.

However, I definitely see value in making code easy to throw away. That's something slightly different than making something easy to swap out. Entire front-ends being re-written is something I've seen a couple of times. But when they were super-glued to the back end that was very, very expensive to do. They were hard to throw away. I think clean separation between boundaries means when you want to throw something away you can. Doesn't mean it will be easy, but a heck of a lot easier. You don't necessarily always want to replace certain things either, sometimes you just want them gone.
james_s_tayler
·7 年前·議論
>Not OP but couldn't you split up you project to smaller projects?

My own personal stuff I can do whatever I like with, work stuff I don't have much say over. Could they be split up? Oh, yes. Does it need to be 1 million lines of code? No... I think it could probably be about 1/5th to maybe even 1/10th of that.

But still, even if it's split into microservices or just smaller modules, the aggregate lines of code required to solve the entire business problem is still a great deal larger than will fit into 10 well crafted files. Was just curious the nature of the work that naturally fits into that size.

>This article and only rejects the convoluted architecture approach with design patterns and suggests that you can come up with your own design without using these. It is not arguing that there is no need for architecture at all.

I think this article is great. I took this article to be advocating for taking a good hard look at the problem at hand and really nutting out a solution that fits it well. It doesn't reject design patters, per se, it rejects not properly thinking things through.
james_s_tayler
·7 年前·議論
I currently have the opposite problem. Staring a system with zero frameworks where every time the developer wanted to do something they didn't reuse an existing solution, they simply wrote a new one. So there's 10 different ways to create a customer and now there is a requirement to change some validation. It's a major high-risk overhaul of the system to change the validation on a single field of a single entity.

I've seen big enterprise systems that had solid architecture and I quite enjoyed working with them and I've seen the trash-fire variety too.

Abstraction can be wonderful. Abstraction can be ghastly. It's how you wield it. Well designed systems are just that. Well designed. They have solutions that fit their current problems well and make just enough room for the problems of tomorrow, but not for the unanticipatable problems beyond that.

Poorly designed systems don't have solutions that fit their current problems well (or at all), and/or don't have solutions that are amenable to tomorrows problems or have solutions well suited to tomorrows problems, but not todays, or have solutions that fit imaginary problems they will never have.

I think that's what the article fundamentally hints at. Taking the time to look at the problem and taking the time to derive and refine a well fitting solution. If you can do that, you've won.
james_s_tayler
·7 年前·議論
Out of curiosity what kind of projects are that small?

I guess I have hobby projects that are that small, but all my professional work is large, enterprise systems that wouldn't fit in 10 files if they tried.

Makes sense when things are so small to only use what you need. Sounds like you made a reasonable decision for the kinds of things you work on. But when you get past a certain size actual architecture becomes very beneficial.

Of course it's also possible to have a massive enterprise system without any architecture. Believe me it's not very fun.
james_s_tayler
·7 年前·議論
I couldn't agree more. A lot of times people espouse a particular worldview without computing through the 2nd and 3rd order effects in different contexts.

If anything one of the fundamental things to get right is to pick an approach suited to the context.
james_s_tayler
·7 年前·議論
I really agree about undershooting. I like to try and overshoot by about 15%.

It's definitely a big mistake to overshoot by say 50 or 100 or 200%. But overshooting by just a little often leaves me feeling like "thank God I did that" more often than it does "hmm I guess I really didn't need that".

Balance is absolutely key.