Better HN
topnewbestaskshowjobs
Log inSign up

CodeWriter23

3,873 karma · joined Dec 19, 2013 (12y ago) · 2,850 submissions

Submissions

comment 8y ago · link · parent

No IT staff in my shop. And the last 3 version upgrades have removed all my extensions, while trying to force the Google Drive extension on my installation. So the thing is, I’m heavily reliant on 1Password, and force uninstalling that extension has made Chrome useless to me. I refuse to reinstall my extensions again and I refuse to log in to Chrome to have my extensions synced. If they want to break my browser on autopilot, they can fuck off.

comment 8y ago · link · parent

And still, the simulator is not the same as running on-device. Much of the iOS security model is non-existent in the simulator. If you’ve ever written an AppEx using a shared container, you know that. (Or you’re running to verify your code works on-device right now)

The simulator has to render the screen via the macOS display device, and I can tell you my trusty Radeon 5870 is only up for rendering about 5 frames per second in the simulator.

I’m pretty sure any Metal apps will be wildly different in the simulator.

I don’t even consider myself an expert iOS Programmer at this point, and I can come up with three examples off the top of my head. I’m sure there are plenty more. And there’s a reason every single iOS library or widget on GitHub requires all bug reports to be made only after testing on-device.

comment 8y ago · link · parent

My wired EarPods fall out of my ears way too often for me to risk walking around with AirPods.

comment 8y ago · link · parent

Are you saying after a month there, you’re sure it’s not just a bunch of unused legacy code that engineers are smart enough not to delete because they’re not really sure what it does and the original authors have cashed out and are kickin’ it counting their money? Especially all that Objective C they’ve been madly trying to pave over with Swift?

comment 8y ago · link · parent

The idea is a feature, not a standalone product.

comment 8y ago · link · parent

You’re not the only one. But now I feel like I’m the only one who has the exact same issues with Lightning connections.

I get the same pop when jacking in using the Lightning-to-3.5 dongle. And I mean, making the 3.5 connection first, Lightning second.

Also, Lighting (and I suspect USB C) female connectors are dust, lint, and particulate magnets. What happens when those get fouled, the gold plating on the Lightning cable is scraped off one or more of the pins. So then you have either a broken cable or one that will charge but only if oriented correctly. So same issue, rotate the connector and maybe it works.

AND the thing that pisses me off the most...I have to carry around some old earbuds with the 3.5 in case I want to watch some Netflix on my MacBook Pro because I can’t plug my new EarPids into it. There’s no Lightning jack on any Mac. And there’s not even a dongle for that use case. All the USB M to Lightning F are for charging only.

comment 8y ago · link · parent

Oh they’ve done away with the 6-lane artery. ALL of those roads in Los Angeles now have a dedicated, hardly used Bike Lane in each direction. More Traffic. More Pollution due to more stop and go. And little benefit to the people. I’m all for Bike Lanes where enough people will actually use them to create a benefit that outweighs the impact of losing that lane, like DTLA. Or Manhattan. But across sprawling LA, where people take on an extra commute 1.5 hrs/day to get their kids to the “good” school, the shotgun approach to deleting traffic lanes is just stupid.

comment 8y ago · link · parent

I'm more concerned about criminals using such proposed credential recovery procedures to rob me. Thanks however for sharing your views about how we should all trust the government without question.

comment 8y ago · link · parent

I think you mean "services for account exploitation and warrantless search by law enforcement"

comment 8y ago · link · parent

Nope. Do heroin 4 days in a row and you start having withdrawal symptoms. Regardless of any other factors including brain chemistry.

comment 8y ago · link · parent

Also, all forms of buprenorphine (aka Suboxone) often end up being a heroin substitute rather than weaning the addict from heroin. Kinda like how Oxy functions in real-world application.

The difference is, Suboxone is mandated in alternative sentencing programs by the judiciary of certain states. And in some states, with no consideration of whether the addict was addicted to opiates/opioids.

comment 8y ago · link · parent

Supply and Demand is too simplistic a model to think about housing costs because it fails to account for velocity of inventory vs. velocity of occupancy. It also completely ignores the law of retailing which is “Charge what the market will bear”. Let’s also be honest about how opportunity growth drives demand for housing.

comment 8y ago · link · parent

I don’t know if this would apply to you. Your story sounds similar to mine, so I’ll share what I did, just in case. I also apologize in advance if this does not apply.

That said, I found my depression was a direct result of consuming depressants. Alcohol, weed, anything else I could get my hands on. Suicidal ideation was the order of the day. I got clean almost 23 years ago with the help of a 12-Step program. It sounds like an odd choice for an Atheist like myself. But it was absolutely the best thing I ever did for myself. I’d really like to tell you my life is a bowl of cherries all day every day. But that would be a lie. I do have a life that I was incapable of envisioning for myself. I am married, I am a dad and I’m pursuing my dream building my own company. I’m completely in love with my wife and my nine-year-old daughter. I get to feel a wide range of emotions. Every day. I get to be present for everything. I get to participate in every decision in my life, instead of living life by the default settings. And I get to be responsible for every one of those choices. It is freedom for my mind, my heart, and my body.

comment 8y ago · link · parent

I disagree. The having to lift a heavy weight to regain access to your phone is a feature.

comment 8y ago · link · parent

My experience is anything less than SPF, DKIM and DMARC results in Gmail silently dropping messages. Also, HTML mail with inline images similarly causes Gmail to drop.

And forget about sending from a DO Droplet due to poor IP reputation. A friend of mine at an ISP confirmed their third party SPAM scoring provider (like Symantec/ Brightworks) gives them a list of IPs to block at the edge, which includes large swaths of DO’s IP blocks. Not sure what the story is for other low-end VPS providers like Linode, etc.

Testing deliverability has become completely absurd. Every ISP and ESP has a completely different method for mail rejection. And thanks to outsourcing options for SPAM scoring, is subject to change at a moment’s notice.

This is a glaring omission in all Net Neutrality discussions I’ve seen, the ability to simply communicate an order acknowledgement to a customer. Even outsourcing to Mailgun, SendGrid or the like is no silver bullet for this issue, you’ll still have interruptions in delivery because every day some spammer gets through their checks and trashes that shared IP you’re sending from. And probably you’re having unnoticed delivery failures because someone else reported it / got it fixed. Renting a dedicated IP isn’t really a solution because you have to send from IPv4 to reach the guy who is still doing email @hisdomain.com and doesn’t even know IPv6 is a thing. And IPv4 addresses are in short supply.

comment 8y ago · link · parent

They either:

- don’t pay

- don’t pay on time

- want to low ball you on bids

- don’t follow your advice

- get upset when the pain you told them would happen if they ignore your advice, happens

- are verbally abusive or manipulative

- anything else that makes you unhappy working for them

Bottom line my mentor taught me to take work from the troublesome clients but to make sure their rate was sufficiently high so that I was always happy to work for them. They can be jerks but I would smile because I knew I was getting a fat check from them. Experience has shown me however crap loads of cash aren’t always enough.

comment 8y ago · link · parent

As I walk around my Los Angeles neighborhood, I see about a dozen houses that appear to be completely unoccupied.

comment 8y ago · link · parent

The T2 provides full-speed AES 256 encryption to a pair of PCIe SSDs in a RAID 0 configuration on the iMac Pro.

comment 8y ago · link · parent

Are you developing for iOS 11 with it?

comment 8y ago · link · parent

Sorry, Apple never publicly admits there’s a problem unless they are getting their asses kicked with bad PR.

The history: the repeat GPU problems of the 2011 AND 2012 MBPs (which they didn’t really fix, I can attest to my once again overheating 2011 that was “fixed”), the keyboards, the third party replacement displays on iPhones, the bending iPhone 5’s. Not to mention a crapload of amateurish display bugs in iOS 10 and 11. The pwn your phone over WiFi. And the T2 BridgeOS issue has been ongoing since the iMac Pro was released.

comment 8y ago · link · parent

Closures/blocks really make it a lot easier to follow the flow of async coding.

Async style enforces a kind of minimalism that in my opinion simplifies the problem space overall. Obviously, one has to learn different approaches to problem definition and solution to embrace event-driven coding.

To me, in the comparison of linear programming handling an exception when your call stack is 5 levels deep (or maybe 3 in a different use case), having to bubble the appropriate handling at each of those levels, versus async where in your closure you have a 4-line if/else construct that fires off one event for success and a different event for failure, async wins the simplicity competition every time.

If race conditions are an issue, events should be dispatched through a single-threaded finite state machine dispatcher for resolution. Such events can fire up multiple worker threads to do their bidding, but when state changes, that goes through the dispatcher which inherently resolves all races.

comment 8y ago · link · parent

I was kind of thinking the same thing. Calling themselves “PhatBeets” though a clever play on words, does little to describe their mission and implant a memory in viewers. They now have to compete with a startup, they need to be kick ass marketers themselves. Why just surrender the food supply that Imperfect is acquiring? Get out there and get some of that for the PB programs. Corporations have philanthropy programs, you just need to talk to different parts of the company. Expanding beyond taking supply from farms owned by people of color seems like a logical step to increase the supply in their system. Learn all that stuff and then do some training among other programs that are suffering.

Maybe all of my ideas suck and would fail. My point is I didn’t hear one word about what they’re going to do about the situation they find themselves in. They’re just whining that their business model has been disrupted.

And the key thing about their messaging. They’re not building themselves up, they’re tearing someone else’s thing down. That’s never a successful strategy. Though I am thankful for the reveal about Imperfect (who are greedy assholes)...I think hey would have done a lot better shopping this story to SF Gate or SacBee. And then using those stories as a touchstone for their new launch of how they’re going to overcome this issue.

comment 8y ago · link · parent

The fundamental difference is this. With locking, when a thread’s time slice expires while holding a lock, the dispatcher switches to a different thread and no other thread can gain that particular lock until the dispatcher resumes the thread holding the lock.

No locks means this can never happen.

comment 8y ago · link · parent

In the article, they illustrate a poor design choice. Or probably more likely, a continuation of the programming practice utilized elsewhere in the kernel. That being, slap a lock on any resource contention. That practice is necessitated solely by the need to support a linear calling interface. Even if this particular issue were to be fixed through queuing instead of locking, the existence of locks elsewhere will still become an issue in a given use case.

My point is, by design, an operating system that has a fully async interface can dispense with locks altogether. Resource contention is then properly resolved through queuing. The OS can then strictly enforce a priority scheme on its various queues, preventing an opportunistic thread from dominating the system. Or enabling higher priority requests to be serviced first. But that decision is made intelligently, not as a result of optimizing to minimize context switching.

comment 8y ago · link · parent

If we had an operating system where every system call used an async calling interface, the type of spinlock latency observed in this article would be greatly reduced. It wouldn’t bring Moore’s Law back but it would make the most of what CPU resource we have.

comment 8y ago · link · parent

That’s mandatory, not voluntary.

comment 8y ago · link · parent

Speaking purely from my own experience, it takes practice. It wasn’t easy and at first I had no gap between the stimulus and my response. Taking responsibility that my anger is mine and isn’t caused by the other party made it clear in my mind it was up to me to change. "They" aren't "making" me angry; I am angry because "they" have broken some of "my" rules. Sometimes my rules are valid and sometimes not.

The gap widened over time. This is really a process of the heart/spirit/inner goodness, there isn’t any way to think your way through it. It’s about making the commitment to address the behavior, practice and self honesty.

All that said, and all my years of practice, I can still be quick to anger especially in the case of those I have judged to be morons (there's "my" rules coming into play again). But it is nowhere near the same level as what was making me depressed some time ago. And that’s the key point I’m trying to make through my comments here. Look to addressing your inner anger if you’re depressed. Especially when angry with yourself. I want to be really clear I have anger in my life. I do my best to channel it constructively, but I’m no floating in the clouds guru spreading love and unicorn farts across the galaxy. I’ve just found some ways to deal with it and experience some benefit as a result.

comment 8y ago · link · parent

Someone suggested to me that my anger was inwardly focused and that had a direct causative effect on my depression. That rang true for me. So my first work on that was to get my anger directed in an outward fashion. At first, that entailed literally breaking stuff, chopping wood, climbing steep hills on my bike until it hurt, just get that energy going in the right direction. Get it out in the moment instead of bottling it up, fermenting it, then serving an explosion of it to some undeserving person who happened to be in my proximity.

Later some anger management came in. When I felt anger, I would pause, take a breath and assess why I felt wronged in a situation. If the reality check was the other person was crossing one of my boundaries, I would express that boundary and uphold it in as gentle a way as I was able. Which sometimes was pretty brutal, but my intent was always to de-escalate and ask for what I needed without expectation. If the reality check was I had expectations, particularly unreasonable ones, I would just own it, laugh at myself and move on. Maybe share it with some people in my support network.

Later, as naikrovek alluded to in his reply, I started working through childhood trauma issues with a therapist. That's when I got the most relief, though I'm not sure I could have skipped straight to therapy without doing all that other stuff first. Discovering my primary trauma as feelings of being unseen and unheard put things into perspective that made it very manageable. I just make sure I'm being seen and heard, and those skills evolve over time.

When I feel anger and it isn't about any of the above, I take it as a call to action to try to invoke some change. Mostly with myself, though at times I will put ideas out there for other people to contemplate. Acceptance is the key, however I should not accept the unacceptable. If it has to do with others, I invoke a cost benefit analysis to see if I want to fight, and if so, then I do. If I don't feel the fight is worth it, then I use what I call the short version of The Serenity Prayer, which is "Fuck it". I can't say I let it go, but I leave it alone. If it comes up in a recurring resentment kind of pattern, I just remind myself I'm leaving it alone. That gets a lot easier with time.

Perhaps I'm oversharing for a forum such as this. I hope it is helpful in some way; we all have our own journeys. Maybe none of this applies to you. I feel the key things are, be honest with yourself about how well your choices and strategies are working for you, and make sure you have some support. Some real people who really care enough to listen to you and help you without judgment. And most importantly, people who will tell you the truth no matter how painful it may be to you.

1
555657
95