HNHacker News
TopNewBestAskShowJobs

ktran03

62 karma · joined February 9, 2013

Freelancer, iOS and a bit of Android. Follow me on twitter @ktran03, or feel free to contact me khanh{dot}tran{dot}vinh@gmail.com
submissionscomments
ktran03··on Graph of HN Who's hiring 2019 compared to 2020
broken link?
ktran03··on Why Do People with Depression Like Listening to Sad Music?
Depressed people feel lonely. When you hear a sad song, you relate to the artist. Knowing someone else out there has also been in your situation, makes you feel less lonely.
ktran03··on To Raise Productivity, Let More Employees Work from Home (2014)
Anyone work out of a co-working space? Totally recommended?

I been doing the work from home for 2 years now. It's getting a little meh. Love the freedom, but it would be nice to have actual physical co-workers, or something like it.

ktran03··on Programmers: Before you turn 40, get a plan B (2009)
That's an employers decision, my post was not meant to comment on how well someone can program, given their qualifications. Best programmer I know does not have an engineering degree.

Not sure why I got down voted. A quick google search will reveal my comment is factual. At least in Canada where I'm from.

https://archive.org/stream/TNVisaForSystemsAnalystsVsProgram...

"Many people do not realise that computer programmers do not qualify under the TN Visa"

http://peo.on.ca/index.php/ci_id/2057/la_id/1.htm

"meet PEO's stipulated academic requirements for licensure (hold an undergraduate engineering degree from a Canadian Engineering Accreditation board (CEAB)-accredited program, or possess equivalent qualifications), and, if required, successfully complete any technical exams."

ktran03··on Programmers: Before you turn 40, get a plan B (2009)
This varies with where you live.

In Canada, a programmer is certainly not an engineer. And for Canadians going for a TN visa to work in the US, programmers are not allowed. Usually they try to slip in as 'Systems analysts' or craft the job/acceptance letter to fit under an engineering discipline.

Software Engineers are engineers in Canada. A self taught programmer doing css/html is not an engineer.

I'd simply qualify someone as an engineer, iff they successfully graduated from recognized university from an accredited Engineering program. And a second possible scenario is if someone's managed to pass all the Professional Engineer's examinations independently (rare).

ktran03··on Show HN: A histogram of salaries given to H1B workers in the software industry
I took that ethics course. I don't think that course really made much of a difference in anyone's career. The material was mostly common sense ethical questions.
ktran03··on Microsoft to invest in Cyanogen
I think that's their goal, is to be accepted again. Their late rash of investments seem to insinuate that.

Back in the 90's, it was cool to be a Microsoft fan. Not so much over the last decade. They're trying hard to change that.

ktran03··on Ask HN: Where to Register a Company When Being a Traveling Digital Nomad?
As far as I know, this wouldn't work for U.S. citizens, as they are taxed on world wide income. Residents of countries (like Canada) do not pay tax on world wide income, if person in question is considered a non-resident for tax purposes (ie not living in Canada).
ktran03··on Game Theorists Crack Poker
That's not true. I played and studied poker for a many years, and I will say for certain that physical cues is a huge part of live games, and definitely not ignored by good players.
ktran03··on Two-year-old Nexus 4 issue status changed to obsolete
I've had n4/n5 and all the iPhones since 3GS. Disagree that iOS is behind overall. It's behind in features yes, but usability I still like iOS more.

Droid: -more os features -more customizability -like the notification centre much better -most apps that aren't in the top echelon of apps, are gross to use and look at. -hate multitasking multi-processes running in background

iOS: -buttery smooth like no other -touch input is much more accurate, somehow it knows -top echelon of apps, are better on iOS than droid

Gave droid a fair shot. To me, important things to get right on mobile is lag-free daily usage, and accurate touch input. Apple nailed both of these. And apps are usually better done on iOS than droid from my experience. For writing apps I prefer Xcode/Cocoa ecosystem over Java/Eclipse.

Generally I think Apple hardware+software is best in industry. And Google makes the best software services (Gmail, drive, play music, youtube, Maps, etc.).

ktran03··on The Death of Cocoa
Xcode 6.1.1 fixed most of the problems you mentioned in the first paragraph for me. Sourcekit crashes was the biggest annoyance, ughh.
ktran03··on The Death of Cocoa
Initially I was ripping my hair out with Swift, but after couple months of using it full time, things are much smoother now. I still have doubts on it's production-readiness though.

And the strictness is pretty badass imo. Objective-c feels very imprecise and unsafe in many ways.

ktran03··on My Adventures with “4K” 2160p and Linux
There's a 1440p monitor 32" Benq. About $600. VA.

Believe theres a 4k version of this also.

ktran03··on iOS 8 Debugging Case Study
I struggled with those, but after a few years doing iOS dev, it isn't so bad. It all eventually sticks.

And autolayout is freakin awesome imo, though I hear a lot of people groak about it.

ktran03··on iOS application architecture: MVVM, behaviors, singletons, subclassing
You are thinking of the traditional conception of MVC, where the model notifies the views of updates and changes (i.e. they can talk to each other)

Cocoa does not use the traditional notion of MVC.

All documented here very clearly

MVC as a Compound Design Pattern: https://developer.apple.com/library/ios/documentation/genera...

"The controller object in this compound design pattern incorporates the Mediator pattern as well as the Strategy pattern; it mediates the flow of data between model and view objects in both directions. Changes in model state are communicated to view objects through the controller objects of an application."

ktran03··on Google+ broke our trust
Same sentiments here.

Microsoft was the admirable company of the 90's for me, and more recently it's Apple and Google. I really hope Google doesn't continue on this path, though it seems to be unavoidable in some ways.

Don't be evil was a good start, it's too bad the motto is inversely proportional to capitalistic gains.

ktran03··on Swift, the new way to build iOS Apps. Here's how
“The value of a constant doesn’t need to be known at compile time, but you must assign it a value exactly once.”

Excerpt From: Inc, Apple. “The Swift Programming Language.” Apple Inc.

Check out this book on the iBooks Store: https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewBook?...

ktran03··on Swift, the new way to build iOS Apps. Here's how
Not officially yet, but in due time I think it's inevitable.
ktran03··on Flappy Bird in Swift
Same here.

All you have to do is get over named parameters, square bracket message passing, and overall verbosity, and you know enough to read/understand Objective-C code.

If you can get past those three differences, Objective-C is remarkably similar to Java and other OOP languages.

Personally, I love the verbosity. The code pretty much just explains itself.

Swift is a welcomed change though. I'm very optimistic and excited about the future of iOS going forward.

ktran03··on Introducing Swift
I never understood what the fuss was all about either.

If you know one other language really well, Objective-C should take a week or two to get use to.

To understand all the design patters, apple HIG, XCode, profiling, libraries, debugging, app submission, etc, these combined is where youll sink your time to learn iOS development. Imo, Objective-C is the easy part.

ktran03··on Don’t Believe Anyone Who Tells You Learning To Code Is Easy
I didn't call anyone crazy, it's the idea of copying and pasting code into a professional project that I think is crazy.

That's how I was schooled by senior devs, whose opinion I have profound respect for. The reasoning is sound to me, I'll stick with it. Unless, someone has better reasons why I should copy and paste code, I would consider it.

ktran03··on Don’t Believe Anyone Who Tells You Learning To Code Is Easy
Same. I'm actually a little shocked HNers think regularly coping and pasting code snippets off the web is ok. That's, kind of crazy.

This is bad especially for young developers (such as myself). Not to mention jeopardizing the security and integrity of your software project.

I hear 'don't reinvent the wheel' often written in blogs etc. That is not good. The lazy developer would read that and go, 'oh, I dont need to know how these things work, it's already been done for me. I'll just slap A to B, no need to reinvent anything'

Imo how it should read instead is, 'keep reinventing the dam wheel till you understand how it was made, only then you're free from reinventing it'.

ktran03··on Responding to the Explosion of Student Interest in Computer Science [pdf]
Personally, I think we are at a peak for outrageous programmer salaries. The market is currently correcting itself.
ktran03··on The desktop and the developer
I hear this a lot, somewhat-technical people inserting 'macs are for dum people that don't know computers'. Truth is, a lot of mac users do know computers (obviously), and it's not that we can't mess with drivers and tweaking, it's that WE DONT WANT TO.

I moved away from Windows/Linux 6 years ago, not sure how things have changed, but I have no intention on going back to that.

ktran03··on The desktop and the developer
It's quite plausible exactly zero people in your audience ever had that impression.
ktran03··on Scientists discover how to turn light into matter after 80-year quest
Wiki:

The law of conservation of mass, or principle of mass conservation, states that for any system closed to all transfers of matter and energy (both of which have mass), the mass of the system must remain constant over time, as system mass cannot change quantity if it is not added or removed.

ktran03··on Why Nerds are Unpopular (2003)
I'd argue that it's precisely because of this decades 'gold rush' that a cultural shift has ensued towards nerds being the new cool.

Suggestive evidence of this cultural shift? Have a look at the sitcoms/shows that are airing as of late. For the most part, the nerd/engineer/scientist is almost always highly revered, rarely ever viewed as 'sub-par' in any way.

Contrast this with the 90's, (anecdotally) where nerds were often portrayed as the loser that no one wants to hang out with.

An example that comes to mind, is Fresh Princes Carlton Banks character, to say Sheldon Cooper of the BBT. Very different portrayals, almost symbolic of the nerd image in each respective era.

ktran03··on Google Maps Has Forsaken Us
Among the points already mentioned, I really hate the 'shake to report issue' feature. Stuck in traffic and frustrated, that thing comes up every time I hit a pothole. The thought that comes to mind everytime is "No Google, I don't want to report a problem, AT THIS MOMENT".

Overall bad choice of control. Much more sensical to stick that in somewhere fitting, like settings.

ktran03··on Why I won’t work for Google
I believe you are misinformed. Google wipes your slate clean, and you can try again in 6-12 months.
ktran03··on Ask HN: What does your home office look like?
Nice! I was living in the plateau not too long ago also. But recently moved a little further out to southwest area. Rent is ridiculously cheap here compared to Toronto. I've seen rent go as low as $350 all inclusive for a private apartment. That's nuts.

Same story, work from home. Equip: 15"MacBook retina i7 ssd, 2x cinema displays (older 24"), Logitech mouse, ikea adjustable desk, adjustable chair. iOS developer.

http://imgur.com/0g3GkuF

Page 1 of 2Next →