Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morbidhawk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
morbidhawk
10y ago
> it is easier to 'surgically' modify a single method that does one simple thing, than adjust one tiny piece of a much larger function I would agree for the most part but modifying one small function might cause unwanted side-
62.
▲
by
morbidhawk
10y ago
I started reading the "Real-World Maintainable Software" book and found questionable advice given in the very first section of the book: > The first guideline indicates that our methods should be short, usually no more than 15
63.
▲
by
morbidhawk
10y ago
> locality of reference. You shouldn't have to jump around all over a file (much less through several files) to follow the code that does a single thing This is something I was learning when I was working in Swift, in a WWDC video t
64.
▲
by
morbidhawk
10y ago
My wife is literally the DSM definition of borderline personality disorder (one of the cluster b personality types) and she does have empathy, a lot of it actually. I'm not sure about the other cluster-B types though. Everything is abo
65.
▲
by
morbidhawk
10y ago
Whoa, never thought of that. It's definitely possible. I'm going to give that a try. Thanks!! Edit: It worked! (I used the cut stem of a q-tip instead, wasn't brave enough to try a paperclip; lots of lint)
66.
▲
by
morbidhawk
10y ago
I was just about to point this same thing out. Asking good questions works so much better than trying to tell them how they are wrong, so after validating them start questioning their logic (or lack of logic). I actually learned about this
67.
▲
by
morbidhawk
10y ago
My issue with the headphone jack removal is that it is a more reliable port than the lightning port. I've had a lightning port on an iPhone become damaged before through normal wear and tear. I have to now position the cable just right
68.
▲
by
morbidhawk
10y ago
My wife has BPD. CBT never worked for her (and it never worked for me either), her therapist switched from CBT to DBT & EMDR instead and it has better results. The problem with CBT is that it tries re-frame situations using a logical ex
69.
▲
by
morbidhawk
10y ago
I've heard about this correlation before as well. When I went through CBT therapy I saw how logic could be used to re-frame issues to not assume the worst in a situation, i.e.: my boss doesn't hate me, he very well could be having
70.
▲
by
morbidhawk
10y ago
I agree that CBT falls short with severe issues. I was going to CBT therapy and it caused the relationship issues with my wife (who suffers from borderline personality disorder) to be amplified greatly. My CBT therapist would constantly sho
71.
▲
by
morbidhawk
10y ago
Exmormon here, to get into VIP Heaven (highest kingdom in heaven) he also needs temple endowment and temple sealing done by proxy too (which they've probably done). Don't tell me you converted to mormonism because of this
72.
▲
by
morbidhawk
10y ago
This reminds me of the first value point in the Agile Manifesto: > Individuals and interactions over processes and tools Why is Agile being prescribed as a specific process with a set of tools when this is exactly what agile software dev
73.
▲
by
morbidhawk
10y ago
Does anyone knows what this means for NSURLConnection APIs? Will code using that API have to be replaced with NSURLSession?
74.
▲
by
morbidhawk
10y ago
I agree with what you're saying. Generalized advice doesn't work with everyone and with every situation since people are different. You've got to take what does apply and leave the rest. I'm going to therapy now too and
75.
▲
by
morbidhawk
10y ago
Being a victim is different than playing the victim card. It's hard for a victim to get out of bed and do things but isn't impossible. Sometimes it's hard to tell whether she has legitimate reasons or not and other times its
76.
▲
by
morbidhawk
10y ago
I respect your experience and insight. No one can fully understand being a stay at home mom unless they are one. My experience is a little different. My wife would do close to 0 housework, wake up at 1pm and watch the kids until I got home
77.
▲
by
morbidhawk
10y ago
> So instead of realizing you married an incompatible person, you changed your behaviour to an extreme I found red pill 8 years into my married. I married and had 2 kids really young while going through school and being the sole-provider
78.
▲
by
morbidhawk
10y ago
I put into practice what I've learned from red pill because of my own relationship dynamic. I never said I worshipped it like it was my religion. It's not biased when it is what it is
79.
▲
by
morbidhawk
10y ago
No, the severe depression came from childhood trauma and abuse. Acting like a child all the time, however, when you're a grown adult and never doing anything responsible is entitlement.
80.
▲
by
morbidhawk
10y ago
> personal theory Yeah that's just your theory. I don't fit into any of those bullet points. My path to red pill started after being married to someone with severe depression and she could never be happy about anything. Since d
81.
▲
by
morbidhawk
11y ago
Cool, the cocoawithlove blog is active again
82.
▲
by
morbidhawk
11y ago
objc.io and nshipster were my two favorite iOS dev blogs. It's a bummer there haven't been new posts for a while. They still have years worth of really high quality content though Edit: Another blog worth following is the Swift Bl
83.
▲
by
morbidhawk
11y ago
> college is a great place to make connections with like-minded people I've heard this advice a lot but that hasn't been my experience. I stay in contact with quite a few of my co-workers from the past but I haven't stayed
84.
▲
by
morbidhawk
11y ago
I switched from using org-mode a long time ago and now I strictly use markdown. I find doing simple things like including links, referencing images, and code blocks are so much easier in markdown and I never have to look up how to do someth
85.
▲
by
morbidhawk
11y ago
This looks great, I'm definitely buying this book. Does anyone have a good book recommendation focused on advanced iOS user interface development? I'm starting to do programmatic layouts in code for my side projects and I think th
86.
▲
by
morbidhawk
11y ago
Nobody else wants to do what they are doing. They are removing a native control that's built into the keyboard (above it actually), probably to put in their own custom one I'm guessing. While apps are getting rejected because of a
87.
▲
by
morbidhawk
11y ago
> Early in my life when I hadn't experienced failure, I used to aspire a lot and actually did achieve quite a bit despite my shortcomings I was just like this too. I would have preferred experiencing more failure when I was younger
88.
▲
by
morbidhawk
11y ago
Thanks, I hope you are able to find people who are more understanding. My personal opinion is that people who haven't experienced depression, abuse, or poverty can't understand it. This might just be based on my own experience sin
89.
▲
by
morbidhawk
11y ago
> When we win, we try for more; when we fail, we cut back. Thanks for sharing this book, OP. I've personally seen this range of ambition in my own life. I can very much relate to this. When I was younger I was always seeking more ou
90.
▲
by
morbidhawk
11y ago
That's true. The rhs isn't the the most obtrusive part compared to its type declaration: NSMutableDictionary<NSString *, NSString *> * imagine having to pass the typed dictionary into a method, now you've got t
More ›