HNHacker News
TopNewBestAskShowJobs

morbidhawk

119 karma · joined November 3, 2015

submissionscomments
morbidhawk··on iPhone 7 Review
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)

morbidhawk··on To tell someone they're wrong, first tell them how they're right
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 in therapy to assist in communicating better with my wife (who has a personality disorder) and then later realized it's the Socratic method. Validating the things you agree with is still important too, but this article is missing the second part where you question their claims.
morbidhawk··on iPhone 7 Review
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 to charge it. There's no way that I'd want to use that lightning port even more by trying to play music on it and I definitely don't want to have to hold the adapter a certain way to get music to play.
morbidhawk··on Cognitive behavioural therapy is falling out of favour
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 explanation to people who don't know how to talk in logical terms to see things from a different perspective. The problem is that people with BPD don't express things in logical terms, so it is easy to mis-diagnose or misrepresent and cause an invalidating statement. Borderlines are great at reading between the lines and trying to understand things in an emotional way. They can easily misinterpret your re-framing to be invalidation. So instead, DBT and a question-based approach that helps them to think through the problem themselves is so much better. My CBT therapist told me to tell my wife "that being out of town for her birthday wasn't abandonment", yeah right that'd go over like hell. BPD requires deeper introspection and CBT therapy will usually cause the client to feel invalidated
morbidhawk··on Cognitive behavioural therapy is falling out of favour
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 a bad day today. However, I think CBT lacks the negative visualization aspect of Stoicism where you think pessimistically about the future in order to be prepared for the worst. This is definitely useful for someone strong enough to handle that and not get depressed, but to the average person with depression it probably won't help much if they aren't ready for it. I personally feel like the Stoics were on to something that is more helpful as a long-term solution rather than just getting by battling the current day's depression.
morbidhawk··on Cognitive behavioural therapy is falling out of favour
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 show me how my wife is irrational and manipulative. It caused huge amounts of distress to the relationship. I am now going to a therapist who does DBT and understands borderline personality disorder. CBT is still applied where it is useful but these issues require deep self-introspection and looking into the past. I've been so much better at communicating with my wife and have discovered my own codependency issues I need to work on. I no longer see my wife as someone who is evil and manipulative but understand that what she does and says is out of fear of abandonment.
morbidhawk··on Alan Kay's reading list
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
morbidhawk··on Agile is not a Fucking Noun
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 development is not about?

morbidhawk··on iOS Supporting IPv6-Only Networks
Does anyone knows what this means for NSURLConnection APIs? Will code using that API have to be replaced with NSURLSession?
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
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 my therapist does help me to not to take the assertiveness too far but at the same time she admits that she's shocked to see me go through such vast improvements in such a short amount of time. I'm surprised too, once I stopped caring so much about the relationship and I actually tried to end it after my wife got physically abusive again, my wife is now getting her act more together and realizes that domestic violence is an immediate relationship-ender for me now.
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
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 clear as day she's taking advantage. One thing I like about the red pill and also happens to coincide with stoic philosophy is that you call things what they are rather than what society tells you they are
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
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 and then she'd go lock herself in her room. Trying to change any of that always ended with her being aggressive physically. I'm sure she'd have her own side to that story. I agree that raising kids can be extremely difficult but I've dealt w/ a level of crazy I wasn't prepared for
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
> 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. I've been conditioned to do such due to my Mormon upbringing. It's recent that I've started to take control of my life instead of just doing what others tell me to do. I'm a far way off of being the Alpha that gets respect

morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
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
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
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.
morbidhawk··on Swallowing the Red Pill: a journey to the heart of modern misogyny
> 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 discovering red pill my wife is doing a lot more than just sleeping all day. Not ALL women act entitled, but geez the ones that do can seriously screw up your life if you don't take action. Just passively trying to meet her endless irrational needs never worked.

morbidhawk··on iOS Dev Tools
Cool, the cocoawithlove blog is active again
morbidhawk··on iOS Dev Tools
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 Blog (https://swift.org/blog/) and the old Swift Blog (https://developer.apple.com/swift/blog/) by Apple/Swift engineers

morbidhawk··on Two out of three developers are self-taught, and other trends from a survey
> 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 in contact with anyone from my time at the University. I was working and providing for a family while attending school so I didn't really have a lot of time to do anything other than the difficult CS assignments.

morbidhawk··on Org Mode for Emacs – Your Life in Plain Text
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 something if I stop using it for a while

MARKDOWN:

    ```python

   #code

   ```

   [Google](http://google.com)

   ![Image ALT text](path/to/image.png "Title Text")
ORG-MODE:

   #+BEGIN_SRC python

   #code

   #+END_SRC

   [[http://google.com][Google]]

   #+CAPTION: Image caption

   [[path/to/image.png]]
morbidhawk··on Show HN: Advanced Swift
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 there are huge advantages to building user interfaces in code, but everyone seems to just do storyboards. Instead of waiting for Apple to release nice abstractions like UIStackView, in code you can create your own layout abstractions the way you'd like. There seems to be close to no content based around this unfortunately.

morbidhawk··on Apple starts rejecting apps that use UIWebBrowserView
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 accessing a private API to remove it, I think an even better reason to reject these apps is because users expect to have the native keyboard accessory be part of the keyboard control.
morbidhawk··on Ambition: How we manage success and failure throughout our lives (1992)
> 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 when the risks held less consequences. Now I feel like I never met the expectations of my former self but now my future aspirations are more achievable. Rather than running my own business like I always wanted to do or working for a big-name tech company, I'll be happy when I self-publish the book I'm working on with no expectation of it being successful. I am happy with progress since progress is better than failure and doesn't have the same negative consequences when I don't succeed.

morbidhawk··on Ambition: How we manage success and failure throughout our lives (1992)
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 since I was raised in a family who judges and minimizes those things and I doubt they'll ever change.
morbidhawk··on Ambition: How we manage success and failure throughout our lives (1992)
> 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 out of life. Now becoming an adult and struggling as sole-provider of my family and spending many years attending university while trying to help my wife through severe depression and my special-needs child I am now careful about finding new commitments and I'm trying to greatly simplify my life.

morbidhawk··on What we learned from rewriting our robotic control software in Swift
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 to add the type declaration to the method signature in addition to it being initialized elsewhere. Its brutal but also worth doing if you stick to Objc.
morbidhawk··on What we learned from rewriting our robotic control software in Swift
Ok my example was a bad example because keyWindow is a property. But I find myself breaking up lines of code over and over again just for the reason that it can't figure out how to autocomplete due to the bracket hell. And I leave it broken apart because if I don't now a later refactoring likely will anyway.
morbidhawk··on What we learned from rewriting our robotic control software in Swift
Honestly the syntax is a lot simpler and rewriting in Objective-C would probably in some cases get more bulky if you are transitioning to using typed collections:

    NSMutableDictionary<NSString *, NSString *> *dictionary = [[NSMutableDictionary<NSString *, NSString *> alloc] init];
compared to the swift version:

    var dictionary = [String:String]()
morbidhawk··on What we learned from rewriting our robotic control software in Swift
> The Swift version of our Objective-C application, with the same user interface and features, is only 39% as large

This makes a lot of sense. In Objective-C chaining too many method calls together gets ugly and you end up having to break it up into multiple lines of code for your own sanity. Take the code below, autocompletion is guaranteed to break on you for the Objective-C version.

Objective-C:

    [self.view convertPoint:apoint toView:[[UIApplication sharedApplication] keyWindow]];
Swift:

    view.convertPoint(apoint, toView: UIApplication.sharedApplication().keyWindow)
Objc Refatored:

    UIApplication *application = [UIApplication sharedApplication];
    UIWindow *window = [application keyWindow];
    [self.view convertPoint:apoint toView:window];
← PreviousPage 3 of 3