News for hackers. Stuff that matters.

chrisamanse

Re:Resolve simple merge conflicts on GitHub on Monday December 12, 2016 @05:16PM (#13162498)
IMO, it is unnecessary to commit the conflicts. Instead, you can see how merges were resolved by diffing the commits.
Swift. Create mobile apps instead of websites.
Re:Ask HN: Why is inter-device file sharing still a hassle? on Monday September 05, 2016 @12:37AM (#12428134)
FireChat (http://www.opengarden.com/firechat.html) tried to do mesh network messaging, but security is hard to get right in mesh networks, since the data passes to other clients if needed. For example in Tor, it's great use for anonymizing end users, but it's not great for security - I wouldn't use it to send confidential information such as credit card info.
Re:Ask HN: Why is inter-device file sharing still a hassle? on Sunday September 04, 2016 @10:48AM (#12424590)
Bluetooth used to be common until vendors started implementing their own file-sharing or just focused on sharing files in the "cloud", which is really inconvenient when there's no internet connection (not to mention, even when there is internet connection, it's really an inefficient process, bandwidth-wise, to send someone right beside you a single file over the internet).

Maybe we should push a standard for local file-sharing so that all vendors will implement it in their mobile operating systems.

Re:Ask HN: How Do You Do Mac OS X Maintenance? on Monday August 08, 2016 @08:46PM (#12251823)
Here's a nice checklist osxdaily: http://osxdaily.com/2012/03/04/mac-maintenance-tips/

Most of the time, I just clean up my desktop and reorganize files. Also, at least once a month, I simply navigate in the finder and delete old, barely used and unneeded files and apps.

If I find my Mac to be significantly slow, I backup files and apps I only need, and do a clean install of macOS.

Re:App Store Simplified Screenshot Submission Process on Monday August 08, 2016 @08:28PM (#12251749)
Developers can now just upload one set of screenshots for an app. Optionally, they can also upload one app preview per device family. This will definitely make the release process of apps a lot faster.
Re:A groundbreaking new series about apps and their creators on Wednesday July 13, 2016 @01:37AM (#12084085)
Yeah, because it's also co-produced by Apple.
I wish they would focus more on getting Realm to version 1.0.
Re:Swift Programming Language Evolution on Monday May 09, 2016 @05:52PM (#11663513)
Concurrency is done with libdispatch library, which is also open source. Right now, it's only compatible with OS X, but int their post, they said that "For Linux, Swift 3 will also be the first release to contain the Swift Core Libraries."

https://swift.org/blog/swift-3-0-release-process/

Re:Swift for Windows on Saturday May 07, 2016 @11:07AM (#11649848)
This is just Swift :) It does not include the UIKit or AppKit framework. Not yet at least. Let's hope that Apple open source them too.
Re:Swift 3.0 Release Process on Saturday May 07, 2016 @10:26AM (#11649710)
Yes, currently. But in the link, it states that "For Linux, Swift 3 will also be the first release to contain the Swift Core Libraries." And GCD (or libdispatch) is part of the Swift Core Libraries :)
Re:Swift 3.0 Release Process on Saturday May 07, 2016 @05:22AM (#11648942)
IMHO, ++ is not readable. A beginner would think that data[pos++] is the same as data[pos+1] when it's actually, data[pos]; pos = pos + 1;.
Re:Swift 3.0 Release Process on Saturday May 07, 2016 @05:19AM (#11648935)
Swift has Grand Central Dispatch (GCD) for running concurrent code
I thought 'usr' stands for "Unix System Resources"?