News for hackers. Stuff that matters.

eliperkins

Re:Porting 30K lines of code from Flow to TypeScript on Monday January 14, 2019 @06:36PM (#18907620)
Relay supports generating Typescript types for queries as of v1.7.0

[1]: https://github.com/facebook/relay/pull/2293

[2]: https://github.com/relay-tools/relay-compiler-language-types...

Re:Nvidia Announces Titan Xp Graphics Card on Thursday April 06, 2017 @01:20PM (#14052561)
This is great. Hackintosh builds using the GTX 1080 will be fairly powerful now.
Re:First Impressions Using React Native on Friday February 06, 2015 @03:55PM (#9011481)
Doing "react" in the native environment is hard, you have to fight UIKit really hard to get to a good place.

[ReactiveCocoaLayout](https://github.com/ReactiveCocoa/ReactiveCocoaLayout) is a good example of how much work it takes to get close to this pattern, but the view lifecycle as a whole (adding and removing subviews, layout passes, etc.) makes it hard.

From what I understand React-Native does this for you natively under-the-hood, but using JS as an implementation detail.

I really don't think that anyone is advocating for JS being the "better language", but rather one that has a framework (read: React.js) being used in practice which will work with native view as well.

Re:First Impressions Using React Native on Friday February 06, 2015 @02:34PM (#9011046)
It's not about "Write once, run everywhere" but rather about "Learn once, write everywhere". React-Native encourages better design patterns for UI, especially on iOS.

This blog post summed it up perfectly for me: https://joshaber.github.io/2015/01/30/why-react-native-matte...

Re:Could keybase.io do for crypto what GitHub did for Git? on Tuesday March 25, 2014 @01:38PM (#7467401)
Would love one if you've still got them.
Re:Alcatraz – Package manager for Xcode 5 on Monday March 03, 2014 @11:40AM (#7334715)
As someone who spends most of their day in Xcode, Alcatraz is an invaluable tool to grooming my Xcode setup and keeping up with the latest plugins and what not.

Congrats on the launch Marin! Been following the repo for a few months now, I'm really digging the design.

Curious if this means that the Heap SDK will require for the shipped app to be symbolicated or not, given how their example is written.
Great write-up. I've started recently to compose a lot of table view cells just using subviews, not thinking back to the days where I had to drawRect the subviews. Performance has seemed to catch up, as this article notes. Thanks, Florian!
Re:iOS Development Tips If You're Just starting Out on Thursday January 17, 2013 @11:20AM (#5073418)
Should you call the singleton on multiple threads, there is a chance you could get inconsistent results based on a race condition. Using GCD ensures that the singleton is truly only created once.
Re:iOS Development Tips If You're Just starting Out on Thursday January 17, 2013 @11:16AM (#5073398)
Well this is a bit of a sweeping statement.

I don't think you ALWAYS have to run on your device. Emulators are much faster at launching and getting to it. I use the emulator for a majority of quick fixes, layout changes, API debugging, etc. I move over to the device when things are nearing a point where I need to test real-world things.

Using the emulator is fine, just be sure to test on the device before you deploy.