HN user

lanestp

317 karma
Posts0
Comments58
View on HN
No posts found.

Coincidentally, we started using this same book a week ago with my son. It is FANTASTIC! We've struggled with other methods but this one is working amazingly well. The best part is that my son's motivation to work on reading went from zero to off the charts. He's constantly on me to do more reading!

Civility? Yes, this comment reeks of that. I’m interested in what good you think you are doing with this kind of vitriol? Do you think it furthers your side of the argument? I can assure you that it does not.

“Deliberately destructive trolls” is interesting phrasing when held up against “roasted dead orphans.” If we owe no consideration to the former, you prove yourself such with the latter.

1: 12 Rules for life, Jordan Peterson Ignore the controversy, this book will change your life for the better. Get the audio version Peterson narrates and it adds an extra dimension.

2: The Obesity Code, Dr Fung Probably the most eloquent and effective breakdown of how and why obesity comes to be and what to do about it. As a bonus, it’s really funny!

3:Not Alone, Craig Falconer I picked this up on a whim and enjoyed it more than any other work of fiction in the past year. It’s a first contact story that focuses on the media and politics.

4:Measure what matters, John Doer This book has transformed how my team runs. Anyone in any kind of management role should read this book.

5:Win Bigly, Scott Adams I’m going to be controversial with this one. It’s an interesting story that provides more practical tools for persuasion than any book I’ve ever read (and I’ve read every popular book on the topic). If you want to know how to apply influence read this book.

I used to think CS was the exception to my college is worthless philosophy. Then I started dealing with recent graduates. The quality of the education coming out of supposedly decent schools is abysmal. I think modern college is proving itself particularly ill suited for the modern job market. They are teaching out of date skills at a glacial pace. In fact, it’s gotten bad enough that I don’t even ask about whether a candidate has a degree, they are simply irrelevant.

It takes some effort but you can trigger the zone. I put on my favorite programming song (looped). Turn on “Freedom” to block the web. Exit every unnecessary app. Then finally do meditative breathing. Usually within 10 minutes I’ll be in the zone. The only caveat is that it is much harder for me to get into this state if I’m debugging.

Does someone want to give a reason for down voting this comment? There isn’t anything controversial here. For myself, lack of genetics are enough reason not to use the language. My personal style relies a lot on them and I don’t see myself sacrificing that power for above average tooling.

We use Lambda for 100% of our APIs some of which get over 100,000 calls per day. The system is fantastic for micro services and web apps. One caveat, you must use a framework like Serverless or Zappa. Simply setting up API Gateway right is a hideous task and giving your function the right access level isn’t any fun either. Since the frameworks do all that for you it really makes life easier.

One thing to note. API Gateway is super picky about your response. When you first get started you may have a Lambda that runs your test just fine but fails on deployment. Make sure you troubleshoot your response rather than diving into your code.

I saw some people complaining about using an archaic version of Node. This is no longer true. Lambdas support Node V6 which, while not bang up to date, is an excellent version.

Anyway, I can attest it is production ready and at least in our usage an order of magnitude cheaper.

Google I/O 2017 9 years ago

They're self centered but it's about stuff that is relevant to me. All this talk about Google Assistant is useless to me as a developer. At least Apple talks about stuff I'm able to plug into.

Google I/O 2017 9 years ago

The I/O keynote always bothers me. Apple and AWS have great Keynotes that get me excited to develop on their platforms. Google's always comes across as too self congratulating.

Actually, yes. At work we have a Nexus 6 testing device. It started off strong but a few months ago it started lagging badly on videos. It even struggles with gif length mp4s. The problem is notable because it is the only phone with this problem. Even our old Galaxy S4 performs better.

I only buy manual transmission cars. The reason is twofold. First it is dramatically cheaper to fix a manual. The transmission also lasts longer. The second reason is that it is more fun! Any time I want I can drop a couple gears and kick out the tail. Even a front wheel drive is more fun as a manual because it takes skill to accelerate fast.

Can you elaborate on what kind of apps are you developing and where you are getting good reuse? My apps are generally heavy on the UI and moderate data and I'm wondering where the sweet spot is.

I've been extremely disappointed in Xamarin. The main issue is that you don't really get code sharing. I would estimate that only 25% of the Xamarin project I manage is cross platform code. The rest is this bizarre merger of native APIs with C#. It's difficult to write because of the lack of examples and documentation. It's also buggy, even with simple things like page views.

The real problem is that I can write a native iOS app in a fraction of the time it took to write a Xamarin app. Swift has improved iOS development speed so much I'm not convinced we need cross platform app engines (excluding games).

As for Android, yeah, native Android sucks. Activities and fragments are the worst idea anyone has ever had and no one agrees on best practices. But even with cross platform high levels of abstraction like Unity3D you still need to understand them. So, my current advice is to suck it up and write it native twice. Pick your favorite OS, start with that, and then port the logic.

The stdin nonsense on Hacker Rank is what got me. I neither know, nor do I care how to process standard in in Swift. When a ten line program needs 70 lines of boilerplate you have a lousy system.

That actually makes a lot of sense. Since WatchOS spends most of its time syncing to other devices its a pretty natural choice. I suspect the main reason they did that was to avoid exposing the secure enclave directly to macOS.

For all the people calling this out as a hack I would counter that it is actually an example of elegant code reuse.

I take a couple of issues with the author here. I don't personally worry much about breaking away from strict OOP. When a pattern like this develops it is usually because the data is too dynamic for a static property list. An obvious example is for creating reports. No one is going to sit down and hand design every single multi column report in a large project (I tell a lie, people do, it just makes the code base a horror show). By letting the data be more dynamic (Usually with JSON) it is trivial to create generic report structures and populate them.

Additionally, if you are using NoSQL as a backing store then solutions like class serialization don't make any sense since you will need to communicate in JSON anyway.

Learning from Ada 10 years ago

Ada has a lot of cool stuff going for it. I liked the type system well enough and a well written Ada program is very easy to read. My problem with it was I always had trouble with the stuff like while ... loop if ... then case ... is The number of times that a program failed to compile because I got the magic words wrong drove me nuts! The author is bang on in the comparison to C which despite its flaws is very internally consistent.

This kind of article is a nonsense puff piece. Giving an example of receiving good or bad care in a health system is of no value. I have had incredibly positive and negative experiences with US hospitals and doctors but my experience is simply a data point.

As for the NHS the mother of a friend died due to negligence while being transported home. So it's not all good, which is why the system cannot be judged this way.

I'm glad that Microsoft is doing stuff like this. But, I can't imagine a lot of Linux users are going to want to use it. As a former Windows developer I always found Power Shell to be lacking in nearly everything I wanted to do on the command line, in fact, I mainly did shell commands on a remote Ubuntu server.