HN user

tylerc230

200 karma

iOS consultant located in San Francisco http://www.casselmanconsulting.com

Posts3
Comments52
View on HN

Xcode has this functionality. You can attach a system sound to a breakpoint. I used it exactly once when I was trying to determine if two events always happened in the same order and were always equally spaced in time. It worked well but drives you sort of mad after a while.

Depression (2014) 2 years ago

Something I read recently that really hit home is: ”set a direction, not a goal and train yourself to embrace failure as a learning opportunity”. When you set a goal you’re setting yourself up for disappointment if you don’t reach the goal. If you set a direction you’re still improving but you’re freed up to enjoy the process not the result.

If I need to stop in the middle of something, I’ll often write directly in the source code, at the point where I stopped, exactly what I was working on and what to do next. I don’t comment out these instructions to my future self so when I sit down next, the project won’t even compile.

I had something similar happen to me a few years back. Someone using my photo and profile from my personal site and uploaded it to upwork to get contract work. I found out b/c someone hired them for a contract (thinking they were me) and got suspicious. The employer found my real email on my site and contacted me. Not sure what I can do to prevent it. I put a warning on my site saying to look out for impersonators.

High happiness and high unhappiness is how I would describe parenthood. On the one side your whole life is a chore and feels like a grind. On the other hand your kids give bring you so much happiness you seems to smile/laugh more often.

They share a lot of similarities. Both make it hard to do unsafe things, both have functional influences, both have modern features like closures, optionals etc. I'd say the biggest philosophical difference between the two is that Swift leans more toward developer ergonomics while rust is geared toward system level programming (ie tighter control over memory etc).

I also think there is a precision aspect to woodworking which is similar to writing code. I like to take the time to make my cuts exact, make sure things line up properly etc.

I've found that architectures like redux which force the separation of logic and side effects (eg file writes or networking) allow me to write robust tests against the logic code without mocks or stubs. My approach is to write enough code that I have a good idea of what the interface to SUT should look like. Then I write the failing test and make it pass then write another test... The tests I write generally only change when the interface changes or when the requirements change. It doesn't make the code too rigid b/c I'm only writing tests against the interface of this big blob of code. I'm free to refactor away and my test will still run as long as I don't change the interface.

Generally a link to the document is sent out earlier in the day. That way folks who are inclined can read ahead and comment. The slackers still get time to read the doc at the start of the meeting so they’re not completely in the dark.

I worked for a company that allowed you to play along with jeopardy on your brew/Jme device in real time as you watch the show live on tv. You could compete with your friends in real time, leaderboards, chat etc. The company eventually went under but I can’t help but think if it had been ported to iOS when it came out it would have been a hit. I’ve still never seen any technology like it.

I use this keyboard at home. While it checks everything off on my list (split, ergo, mech keys, ten keyless), the build quality feels a little cheap i.e. Loose keys that stick often. For ~$200 I expected more. Looking forward to the uhk.

One of the most compelling reasons to start using Swift is to make your project more attractive to job applicants.

I'm a freelance iOS developer living in soma SF. I do feel that a lot of what I bring to the table is the ability to work onsite and discuss things face to face. Despite all of our technological advances, I feel like there is just no substitute for hashing things out face to face.

For those advocating automated tests. Are you actually iOS developers with experience testing ios code? If so, I'm curious what frameworks/tools you've successfully used for unit and integration testing.

I actually find an office environment to be more distracting than working from home. At the office you have noise and people wanting to chat, at home I can work for a six hour stretch, uninterrupted.