News for hackers. Stuff that matters.

Aleman360

Writing an outline of a book is more analogous.
Not sure if I agree. I find that coming up with good interfaces is often more of a creative challenge than the implementation. API's are worthy of some sort of protection since ease of use is a definite competitive advantage.

Also, you can easily screw your perf with bad interfaces (especially in C++). E.g., not templatizing, requiring extra allocations, type impedance mismatches, vtable bloat, etc. The interface certainly affects how the machine executes your code.

Re:Play Store and Android Apps Coming to Chromebooks on Thursday May 19, 2016 @04:59PM (#11733788)
Sounds like Windows 8 where the desktop was an "app" on the Start screen.
Re:Theranos Voids Two Years of Edison Blood-Test Results on Thursday May 19, 2016 @01:33AM (#11728224)
They can just change their name.
Re:Why I don't spend time with Modern C++ anymore on Wednesday May 18, 2016 @09:09AM (#11721611)
In a word where most new code is JavaScript, just use auto everywhere. It will be OK.
Re:Why U.S. Infrastructure Costs So Much on Tuesday May 17, 2016 @04:29PM (#11717141)
> If it were only localism, there would be localities that were fantastic at investing in their own infrastructure.

Seattle. Great water, renewable energy, lots of transit investment.

Re:A Guide to Naming Variables on Friday May 13, 2016 @11:12AM (#11690824)
I love it when people use generic names and then add a two word comment describing what it is.

I also love it when people use primitives for time spans along with the units in the name or comment instead of TimeSpan/std::chrono.

You may be paying for it even if not using it, but you have to account for the environmental savings. But people care less about stuff that's harder to measure.
Re:This Is Your Brain on Podcasts on Saturday April 30, 2016 @02:44PM (#11602964)
Agreed, they're all same-ish now.
Re:Infinit announces Project Dropboxe on Friday April 29, 2016 @10:35AM (#11595971)
Seems like a leaky abstraction. Did their interfaces have a way to account for differences in latency and failure modes, or was that hidden?
> Say if I press Cmd+Space on a Mac and type "Facebook" in Spotlight, it immediately begins downloading the native OS X Facebook app

That's exactly what Windows 10 does.

http://imgur.com/EqvATwL

That's more likely explained by the fact that PS4 launched $100 cheaper and is more powerful.
Re:React Native: A year in review on Monday April 18, 2016 @12:21PM (#11521074)
UWP has XAML which is native and declarative. It's what the Windows version of React Native targets.
Re:Visual Studio Code 1.0 on Thursday April 14, 2016 @02:39PM (#11499306)
Silverlight is actually a descendant of WPF.

WPF > Silverlight > UWP

All your skills are transferable.

Re:Visual Studio Code 1.0 on Thursday April 14, 2016 @12:57PM (#11498380)
UWP has the latest version of XAML, implemented natively this time and with a faster rendering backend. WPF lives on in spirit.
Re:Introducing Kindle Oasis on Wednesday April 13, 2016 @06:02PM (#11492666)
Because the grip and weight balance will make one-handed reading more comfortable.
Re:React Native on the Universal Windows Platform on Wednesday April 13, 2016 @05:16PM (#11492284)
Performance should be a pretty big concern for UI frameworks. Would be interesting to see some benchmarks.
Re:React Native on the Universal Windows Platform on Wednesday April 13, 2016 @03:58PM (#11491667)
https://github.com/ReactWindows/react-native/blob/ReactWindo...

Looks like it evaluates the JS and creates XAML elements programmatically using C#.

Re:Introducing Kindle Oasis on Wednesday April 13, 2016 @03:41PM (#11491509)
Yea, looking at this made me realize how uncomfortable my Paperwhite is one-handed. When laying down I usually end up holding it awkwardly with my thumb underneath and my pointer finger straight up the bezel. It's fallen out of my hand too many times to count.

Price aside, this is a worthwhile upgrade simply for the ergonomics.

Re:React Native on the Universal Windows Platform on Wednesday April 13, 2016 @02:35PM (#11490948)
Runtime heap usage.
Re:React Native on the Universal Windows Platform on Wednesday April 13, 2016 @02:06PM (#11490665)
Runtime memory usage and startup perf is better for C++ XAML apps.
Re:React Native on the Universal Windows Platform on Wednesday April 13, 2016 @02:01PM (#11490596)
Why does this generate C# instead of C++?
Re:Facebook Messenger Platform on Tuesday April 12, 2016 @06:09PM (#11484007)
And now your messenger app needs a launcher, switcher, notification manager, search, per-app settings pages, etc. And maybe its own process model/scheduler, to prevent rogue apps from slowing down the messenger app. And apps within the messenger app now need to be cross-messenger-platform on top of being cross-webview-platform.
Re:Facebook Messenger Platform on Tuesday April 12, 2016 @02:30PM (#11482238)
Let me get this straight.

- The phone OS has a shell, usually written in native code.

- The messenger app runs on top of the shell, usually written on top of some type of VM.

- The messenger app contains a web browser that renders other apps, written in js.

Re:Facebook Messenger Platform on Tuesday April 12, 2016 @02:22PM (#11482165)
First browsers became OS's, now you want messenger apps to become OS's?

How many layers of cruft do we need?

Re:Moleskine Smart Writing Set on Sunday April 10, 2016 @11:38AM (#11466606)
I just use a scratch piece of paper and toss it at the end of the day.

Anything that's useful enough to keep is useful to other people too, so that goes into the team wiki.

Re:When Is the Singularity? Probably Not in Your Lifetime on Friday April 08, 2016 @09:11AM (#11454373)
Presumably it would plug into legal data to estimate which option would be less financially risky to the car company.
Re:Reddit for iOS and Android on Thursday April 07, 2016 @06:27PM (#11451201)
The definition of MVP doesn't really depend on how big the development team is.
Re:The future is arriving too fast on Thursday April 07, 2016 @09:05AM (#11446890)
Hold down Apple TV mic button, say movie name, rent movie from cheapest available service and start streaming instantly.

The future is here, it's just a different business model than music.

Re:The future is arriving too fast on Thursday April 07, 2016 @09:03AM (#11446876)
But why buy a movie when you can just rent it on demand? That way you're not locked in to a particular format or quality level and don't have to worry about backups.

Older »