Better HN
topnewbestaskshowjobs
Log inSign up

ktran03

62 karma · joined Feb 9, 2013 (13y ago) · 64 submissions

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
Submissions

comment 6y ago · link · parent

broken link?

2.

Layed off leetcoding full time, will employment gap hurt me?

1 points · by ktran03 · 6y ago · 2 comments

comment 7y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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."

comment 11y ago · link · parent

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).

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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).

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.).

comment 11y ago · link · parent

Xcode 6.1.1 fixed most of the problems you mentioned in the first paragraph for me. Sourcekit crashes was the biggest annoyance, ughh.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

There's a 1440p monitor 32" Benq. About $600. VA.

Believe theres a 4k version of this also.

comment 11y ago · link · parent

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.

comment 12y ago · link · parent

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."

comment 12y ago · link · parent

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.

18.

The Metal Framework Gives iOS A Lead In Gaming For The Foreseeable Future(techcrunch.com ↗)

2 points · by ktran03 · 12y ago · discuss

comment 12y ago · link · parent

“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?...

comment 12y ago · link · parent

Not officially yet, but in due time I think it's inevitable.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

24.

Are programmers engineers? (2003)(ericsink.com ↗)

2 points · by ktran03 · 12y ago · 2 comments

comment 12y ago · link · parent

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'.

comment 12y ago · link · parent

Personally, I think we are at a peak for outrageous programmer salaries. The market is currently correcting itself.
123