News for hackers. Stuff that matters.

gorena

Re:Libraries Used in the Top 100 iOS Apps on Friday October 16, 2015 @02:02PM (#10400997)
Is this going to be open source? Or a commercial product? I don't think most iOS devs would want to use a closed-source library, not necessarily because they're averse to paying for something, but because the UX of using one is much worse.

- There's generally no dependency management, or you're forced into using Cocoapods, and using it in a bad way (binaries in your repo).

- You're at the will of the vendor for additional features (framework, Swift nullability/generics integration, bitcode), and, if they're even available, dependency bumps. This gets really painful. Every time I used a closed-source framework, it ends up being a nightmare.

This is compared to:

- Add line to Cartfile

- carthage update

- A little drag and drop

- Done, future releases will probably Just Work

You might have better luck with people that aren't necessarily "iOS devs", i.e. games, where using closed-source is more common and they might not even be using Xcode.

Re:Libraries Used in the Top 100 iOS Apps on Friday October 16, 2015 @01:51PM (#10400927)
One thing to note: Carthage usage is invisible, since frameworks built with Carthage are just Plain Old Frameworks. So people that have migrated from Pods to Carthage will be hard to track.
Re:Libraries Used in the Top 100 iOS Apps on Friday October 16, 2015 @01:50PM (#10400918)
Using an unmaintained networking stack should terrify you.
Re:Libraries Used in the Top 100 iOS Apps on Friday October 16, 2015 @12:53PM (#10400560)
Scary how many of these are obsolete or outdated.

"Bolts-iOS" is a dependency of "facebook-ios-sdk", which means that 19 of the top apps are using an outdated version of the Facebook SDK that predates Bolts, and might be vulnerable.

Re:How Bad Will It Get for American Express? on Friday October 16, 2015 @12:20PM (#10400331)
You've never been to a Whole Foods?
Healthcare is a benefit in the UK? I thought it was socialized?
Re:WebKit removes the 350ms click delay for iOS on Thursday October 15, 2015 @02:19PM (#10394927)
In apps properly coded against the UIFont APIs, you can: https://developer.apple.com/library/prerelease/ios//document...:
Re:WebKit removes the 350ms click delay for iOS on Thursday October 15, 2015 @02:18PM (#10394913)
~"It's not the mobile internet, it's just the internet"

- Apple, at iPhone release

Re:We Looked for Work as a Software Development Team on Thursday October 15, 2015 @02:16PM (#10394903)
Well, that's why they give acquihired employees a whole bunch of RSUs. I worked for a boring corporate acquihirer for a while because they were paying me the stock equivalent of my salary (which also increased) every year.
Re:Oklahoma City's War on Obesity on Thursday October 15, 2015 @02:12PM (#10394864)
Sorry, you're totally correct - this assumes someone that isn't performing strength-based exercise!
Re:Oklahoma City's War on Obesity on Thursday October 15, 2015 @02:10PM (#10394850)
Did potatoes, sugar cane, and olives stop being plants...?
Re:Oklahoma City's War on Obesity on Thursday October 15, 2015 @01:31PM (#10394560)
Anyone who eats above their TDEE for an extended period will become obese, which is trivially possible on a vegan diet of french fries topped with sugar and olive oil. What does this have to do with a vegan diet?

Since you're asking personal medical questions, my blood pressure/blood tests are all nominal, my RHR is ~55, and I eat a high-protein vegetarian diet, with the primary protein sources being skim greek yogurt, whey powder, eggs, tofu, edamame, and seitan. Besides that I mostly eat vegetables and noodles.

Re:Oklahoma City's War on Obesity on Thursday October 15, 2015 @01:23PM (#10394498)
But you just have to eat less beef - spinach isn't inherently obesity-preventing, if you somehow eat 2500 calories of spinach (I mean, good luck, but...) but only expend 2000 per day, you'll gain weight!
Re:Oklahoma City's War on Obesity on Thursday October 15, 2015 @12:57PM (#10394303)
> It's worth noting that my cousin also moved to SoCal. She's now in her 40's and snorts cocaine 2 or 3 times a week in the evening to skip eating to keep herself slim. Apparently it's a very common practise amongst her and her friends.

This seems insane, if you want to stay thin, just eat at or below your TDEE and... that will happen (or increase your TDEE).

Re:Running Swift code on Android on Wednesday October 14, 2015 @12:28PM (#10387565)
How would it resolve the differences in types without mangling?
Re:Are Fats Unhealthy? The Battle Over Dietary Guidelines on Wednesday October 14, 2015 @12:24PM (#10387545)
> barely a single brand of unsweetened yogurt even in Whole Foods

Huh? My Whole Foods has Fage (the best, IMO), Siggi's, Wallaby, and more.

Like this: http://images.costcobusinessdelivery.com/image/media/350-824...

Re:Running Swift code on Android on Wednesday October 14, 2015 @12:16PM (#10387491)
Not sure of the state of Scala on Android, but having a language that actually has real closures is appealing. To say nothing of ADTs, nullability, etc...
Re:Emulating Swift's “defer” in C, with Clang or GCC+Blocks on Saturday October 10, 2015 @12:11PM (#10365936)
This isn't really C, though. It's "Clang C" - which is arguably better than C, and I wouldn't want to be stuck writing non-Clang C, but it should be represented correctly.
Re:Mapping Neighborhood-Level Obesity in the United States on Friday October 09, 2015 @12:38PM (#10361291)
Interesting - typically I would associate "urban" with smaller grocery stores.

i.e. there are 8 grocery stores within a few minutes walk, but they are all smaller - some just sell produce, others are smaller versions of suburban grocery stores.

Re:Mapping Neighborhood-Level Obesity in the United States on Friday October 09, 2015 @12:36PM (#10361274)
Assuming the full meal was a burger, there's basically no fiber. "Healthy food" tends to mean something including a bunch of vegetables, which are full of fiber
Re:Mapping Neighborhood-Level Obesity in the United States on Friday October 09, 2015 @12:29PM (#10361197)
Where does the data come from? It doesn't say.
Re:Mapping Neighborhood-Level Obesity in the United States on Friday October 09, 2015 @12:27PM (#10361182)
Not exactly, Flushing in Queens is not obese, but isn't at all a rich neighborhood (assuming blue=good, red=bad, this thing doesn't have a key).

https://en.wikipedia.org/wiki/Flushing,_Queens

It seems weird that they'd put their software engineers and even customer support all the way down in Industry City. Unless you live off the D/N/R in Brooklyn already, or maybe in lower Manhattan, that's a horrid commute. Unless you actually need the industrial space for your job... why?
Re:Should you use interface builder? on Thursday October 08, 2015 @12:59PM (#10354031)
Betteridge's law definitely applies here.

https://github.com/PureLayout/PureLayout

PureLayout is a fantastic library for layout on iOS. There's no weird operator overloading, or semantically odd DSLs. It just feels like Cocoa. It's very much "the missing autolayout API".

Everything just returns layout constraints, so if you need to alter the priority or activeness, just use whatever method you choose (i.e. ReactiveCocoa). Unlike IB, it's type safe, and fully annotated for Swift.

Re:Amazon QuickSight – Business Intelligence by AWS on Wednesday October 07, 2015 @01:17PM (#10347357)
Hey, what's the difference between R and a library for Haskell (or even Python)? It's interesting that a language that is limited to a particular use (statistical analysis) has taken off so much instead of a library for a general purpose language.
Re:Amazon QuickSight – Business Intelligence by AWS on Wednesday October 07, 2015 @01:14PM (#10347330)
> Bezos is the #1 CEO in Tech right now.

As long as you're not one of his employees, sure.

If I had a choice between working for Bezos or working for Joel Spolsky at half the pay, it wouldn't even be close. Of course, in real life, Fog Creek probably pays more anyways.

Re:When the Steve Jobs movie came calling on Wednesday October 07, 2015 @01:11PM (#10347303)
No, because handicap laws are for the benefit of society. Rich men shouldn't get to skip out on them because they're rich.
Re:When the Steve Jobs movie came calling on Wednesday October 07, 2015 @12:29PM (#10346963)
If American laborers (yes, engineers, you are laborers) still remembered how to sharpen axes, maybe that would happen less.

http://www.theguardian.com/world/2015/oct/05/air-france-work...

Re:When the Steve Jobs movie came calling on Wednesday October 07, 2015 @11:50AM (#10346704)
Am I correct to assume this movie makes no mention of his systematic illegal wage suppression?

Older »