News for hackers. Stuff that matters.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by christina_b on Saturday June 09, 2012 @02:33AM (#4087433)
By the way, the sources are up on http://crna.cc/ now.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by robot on Sunday June 10, 2012 @03:04AM (#4090415)
Would it be super hard (and, illegal) to port upper iOS layers as binaries?
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by Xuzz on Sunday June 10, 2012 @03:43AM (#4090471)
The legal route would to be to provide an installer that downloads e iOS frameworks from Apple, so you aren't redistributing anything. However, it would still be quite a bit of work: iOS has a not-insignificant layer of drivers in the not-yet-recreated IOKit kernel framework (although some are open source), and likely many other low-level layers that would need to be recreated.

However, it's certainly possible, but as 'mparlane says, it would be a lot of (difficult) work.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by densh on Sunday June 10, 2012 @06:32AM (#4090725)
IMO if it's not illegal at the moment, apple will add another clause to their next EULA to make it so if project gains any traction. (Similar to the way they prohibit use of OS X on non-apple hardware.)
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by mparlane on Sunday June 10, 2012 @03:09AM (#4090420)
It's a time intensive thing and not illegal if it's your own code/implementation. The google/oracle case shows that the api is not copyrightable but the implementation is.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by taligent on Saturday June 09, 2012 @03:41AM (#4087543)
Any thoughts about getting this up on Github ? Would definitely get you some contributors.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by mparlane on Saturday June 09, 2012 @03:44AM (#4087548)
From IRC (don't shoot the messenger, please..):

<_Christina_> no github, i dont like revision control

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by lucian1900 on Saturday June 09, 2012 @03:55AM (#4087563)
I hope she changes her mind. Revision control saved many people's asses throughout history.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by hahainternet on Saturday June 09, 2012 @05:38AM (#4087730)
There's opinionated, then there's reckless.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by gcr on Saturday June 09, 2012 @08:30PM (#4089772)
Linus himself said that emailing tarballs and patch files is better than many source control systems (he said this about SVN)

I myself have seen (and had the mispleasure of fixing) many tangled git history trees.

In all cases, you have to be responsible, which neither influences or is influenced by your choice of revision control.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by josephkern on Saturday June 09, 2012 @09:21AM (#4088025)
Revision control does not need software per se. Keeping multiple directories and files works too (not as well though).
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by dexen on Saturday June 09, 2012 @10:08AM (#4088125)
Which is what Git does: every commit actually is a directory/file tree and a small note a.k.a. `commit message'. You could re-create the effect by hand, by placing `.commit' file in root of the multiple directories you speak of.

However, Git (and any other DVCS) does the bookkeeping and keeps you from missing that one small detail at 4AM.

Also, it's much faster to git-commit than to copy 150MB of sources by hand; mostly because Git avoids work where sensible. Ditto for git-diff.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by SimHacker on Saturday June 09, 2012 @08:39AM (#4087959)
I can understand and sympathize with "no github, I don't like github" or "I don't like git", or "I don't like social networking" or "I don't like horny virgin hacker boys cyber stalking my every edit" but what the hell?
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by hartror on Saturday June 09, 2012 @07:11AM (#4087830)
Did you ask why? There must be a well thought out explanation for this surely?
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by christina_b on Saturday June 09, 2012 @11:50AM (#4088340)
I'm the only maintainer of this project. I find revision control redundant, since it takes extra steps to set up and use while being of very little value. I'm reasonably good at maintaining my tree without needing any fancy revision control systems (git/svn/whatever).

I will get hated for what I've just said.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by unconed on Sunday June 10, 2012 @04:30PM (#4092108)
It might provide little direct value to your development process, but the real question is, why are you posting this project on the internet?

Do you think there is a chance it will be useful to others, and that they might contribute back patches that you will find useful? If so, it makes sense to make that as easy as possible. Otherwise you are sabotaging your own goals and putting unnecessary barriers between you and your potential contributors.

Sign-up aside, all you would need to do is type "git init" and then set up a one-line script that will do a commit and push it to github. If you want to be nice, you'll type in a message. Voila, you now have a way to:

* let people subscribe to your project

* automatically maintain and announce your changelog

* let them fork your project, make changes, and send those changes back to you as a diff which you can comment on online

* merge those changes back into your tree with a single click / command

Additionally, while you might be confident managing a single code tree, there are things that filesystems don't do well, like branching. I find being able to try new things and setting them aside for a while is invaluable. It lets me be bold and work on whatever I fancy, without having to worry about what I was doing before.

Don't think of git as revision control, think of it as a little robot that lets you do controlled operations on code trees, like you can with files.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by kqa5 on Saturday June 09, 2012 @03:27PM (#4089033)
I do the same, sort of. I just use RCS on a local machine. Who cares what other people think?

Any chance we could get a glimpse of this booting? Maybe a YouTube video?

Is it easy to do static linking? I'm quite happy without shared libraries. And I don't mind being hated for saying so.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by tanoku on Saturday June 09, 2012 @01:13PM (#4088532)
This is Hacker News; we try to stay civil, so I don't think many people are going to "hate" you for not using (understanding?) version control.

Then again, I don't think many people will take you or your project seriously after this, either. Many of us went past folders and tarballs for version control back in 1992, and personally, there's no way I'm going to touch an OS Kernel that is distributed in a zip file. That is not how you do open source -- for what it's worth, you may want to keep your tarballs to yourself: that'd serve the same practical purpose.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Saturday June 09, 2012 @03:03PM (#4088952)
I'm going to take christina_b seriously because this is a seriously complex problem, and it's impressive that she's gotten so far with it.

I don't expect that any of the people saying "you should use github to get contributors" actually have the wherewithal to contribute.

Moreover, while I disagree with her stance about SCM, I find it incredibly bikeshed-y that people are talking about that instead of about the technical details of how such a thing is implemented.

Don't any of you have questions or comments about this other than cheerleading, or a bikeshed about SCM? I posted some similar projects that have taken different approaches.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by christina_b on Saturday June 09, 2012 @05:30PM (#4089360)
> there's no way I'm going to touch an OS Kernel that is distributed in a zip file

Okay.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by Cushman on Saturday June 09, 2012 @12:37PM (#4088453)
That makes sense if it's just you, but you must be losing a lot of potential contributors by not being on Github, let alone not using any version control.

Are you just not that interested in contributions from the public? If so, I think it's possible you're greatly underestimating community interest in the project.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Saturday June 09, 2012 @03:00PM (#4088943)
The choice of SCM is the least important factor when it comes to contributors to a genuinely complex problem like this one.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by lucian1900 on Saturday June 09, 2012 @05:21PM (#4089320)
I find I'm always happy I used hg when I get the inevitable sneaky bug in unrelated code. Being able to easily step back through history and run my tests at every step to see where they fail has been very useful many times.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by ams6110 on Saturday June 09, 2012 @09:50PM (#4089925)
I use hg locally on personal projects also. I very rarely actually need to go back to a prior version, but it gives me more confidence to try different things, knowing I can easily revert to a working version.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by patrickaljord on Saturday June 09, 2012 @10:42PM (#4090009)
> I find revision control redundant, since it takes extra steps to set up

Such as typing "git init"?

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by qqyy on Saturday June 09, 2012 @11:45PM (#4090110)
And starting a series of steps that have been automated for you?

For a one person project, git is unneeded overhead.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by patrickaljord on Sunday June 10, 2012 @04:23AM (#4090531)
What series of steps? git push?

> For a one person project, git is unneeded overhead.

You've never heard of git bisect?

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by nooop on Saturday June 09, 2012 @12:41PM (#4088466)
I hate you! More seriously git is super easy to begin to use, and even more so for small projects and / or projects with a small number of contributors.

Setup? git init; git add . (if no unwanted binary in the tree) Something interesting has been done? git commit -am "rock more" New source file? git add file; git commit -m "new foobar module"

What value does it bring? Great revert capability, bisecting bugs, and so over. I agree most of the time I don't need it, but well, when I do it is handy. It is like being insured.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by hasenj on Saturday June 09, 2012 @05:23PM (#4089332)
From Linus himself:

(I don't remember what he exactly said, but it's something to this effect): I hate revision control, that's why I created git.

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by VMG on Saturday June 09, 2012 @10:45AM (#4088182)
Somebody else will put this on github then.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Saturday June 09, 2012 @03:03PM (#4088954)
That would be rude.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Saturday June 09, 2012 @08:22PM (#4089749)
To elaborate, it's rude to take someone else's project, and under the same name, publish it elsewhere. This has been a rule of open-source for a very long time.

If you're going to fork someone else's project, either rename, or call your github fork a mirror (and treat it purely like one).

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by daleharvey on Saturday June 09, 2012 @11:03PM (#4090035)
This has most certainly not been the rule of open source, its almost the opposite of the 'rules' of open source.

The author may not be interested in managing contributions or using source control, that is their prerogative, but as long as the license permits it if people want to work on the source code and collaborate with others, it is completely fine (and encouraged) for them to fork it

Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Sunday June 10, 2012 @12:24AM (#4090175)
Forking a project has always been an option of last resort in open source. Doing so while stealing the name is downright nasty.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by 0x006A on Sunday June 10, 2012 @11:22AM (#4091270)
Putting a version of an open source project into version control is not a fork, you could argue the same way that distributions are forking all software because they put them in packages. To fork you have to write code.
Re:Magenta - "It is fully binary compatible with iPhone OS 5.0" by flatline3 on Sunday June 10, 2012 @11:29AM (#4091299)
Putting it into public version control and accepting patches is a fork -- name it something new. If it's just a mirror, then call it that, and don't accept patches.

This is basic OSS politeness and the cultural norm. Only recently has Github trained people to think its OK to take someone else's work, keep the name, and siphon off interest/contributors.

If you want to fork, then do so. Treat it like the new project it is, instead of trading off the name and efforts of someone else, and operating independently of their development standards and norms.

Or, be polite, and accept that the choice of VCS is a stupid reason to fork someone else's project.