News for hackers. Stuff that matters.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by eddieroger on Monday June 12, 2017 @08:16AM (#14536636)
I'm glad I'm not the only one who thinks this way - with a few exceptions, like SMS and phone cal handling, you can write an app to do anything on the iPhone if you're so inclined. There are always going to be the Power Users who want more out of the system but won't code, but my experience with my iPhone has been that if I ever ran up against a wall I wanted changed, I could write an app to do so, even if I didn't publish to the store.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Monday June 12, 2017 @08:19AM (#14536665)
> you can write an app to do anything on the iPhone if you're so inclined.

Is it now possible to allocate executable memory (e.g. for development apps or writing a JIT compiler)? Is it now possible to write apps that have root permissions?

Re:Apple’s Guidelines Now Allow Executable Code in Education... by jakobegger on Monday June 12, 2017 @10:00AM (#14537417)
If you want to do these things, you need to jailbreak it. But the iPhone is probably the wrong phone for you if you are into these kinds of things.

The iPhone offers a safe environment for you to play in. Root access is fundamentally incompatible with that idea. If you want a device that lets you shoot yourself in the foot, get something else.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by eddieroger on Monday June 12, 2017 @09:49AM (#14537322)
Why would I want an app, even one I write, to have root permissions? Do you operate your computer as root all the time? I know I don't, if for no other reasons than I sometimes make mistakes, and I'd to write an app that can wipe out my phone just because I made a mistake.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Monday June 12, 2017 @10:02AM (#14537436)
> Do you operate your computer as root all the time?

Not all the time, but sometimes - both under GNU/Linux and Windows - I want to/have to run an application with root/admin permissions.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by Retric on Monday June 12, 2017 @10:25AM (#14537609)
That's often a sign of poor OS design not really a goal on it's own.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Monday June 12, 2017 @03:59PM (#14540562)
You are not a hacker. :-(
Re:Apple’s Guidelines Now Allow Executable Code in Education... by Retric on Monday June 12, 2017 @05:27PM (#14541277)
And you are probably not an engineer.

As a passenger I suspect you would expect different standards from an Aircraft autopilot than a cellphone. But, there is a lot to be learned from system that just work.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Monday June 12, 2017 @06:39PM (#14541699)
> But, there is a lot to be learned from system that just work.

From the hacker ethics by Stephen Levy:

> https://en.wikipedia.org/w/index.php?title=Hacker_ethic&oldi...

"Access to computers—and anything which might teach you something about the way the world works—should be unlimited and total. Always yield to the Hands-On Imperative!

Levy is recounting hackers' abilities to learn and build upon pre-existing ideas and systems. He believes that access gives hackers the opportunity to take things apart, fix, or improve upon them and to learn and understand how they work. This gives them the knowledge to create new and even more interesting things. Access aids the expansion of technology."

Re:Apple’s Guidelines Now Allow Executable Code in Education... by CamperBob2 on Monday June 12, 2017 @04:32PM (#14540858)
There's definitely a vanishingly-small proportion of hackers around here, relative to the reputation the site tries to encourage. Lots of people who might be branded "prescriptive social engineers," but not many hackers.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by sigjuice on Monday June 12, 2017 @12:10PM (#14538385)
What are some examples of applications that you typically run as root?
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Monday June 12, 2017 @03:59PM (#14540560)
Besides the usual suspects that you run as root because of the "limitations" of the OS, like installing applications/binaries etc.: All the kinds of debugging/tinkering tools needing special permissions, such as Wireshark, attaching a debugger to a running process, tools for generating and handling raw network frames (a capability that I need surprisingly often), ...

This is what spontaneously comes to my mind. But if I reflected for some time probably more things would come to my mind.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by dkersten on Tuesday June 13, 2017 @06:42AM (#14543906)
These are the kinds of tasks that I would expect to require root access. I don't want some random rogue application sniffing my network packets or attaching debuggers to other processes. While peoples use cases certainly vary, I've also never needed to or cared to do these things on my phone, so lack of root hasn't bothered me. YMMV.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Tuesday June 13, 2017 @07:44AM (#14544087)
> I've also never needed to or cared to do these things on my phone, so lack of root hasn't bothered me.

You are not a hacker.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by dkersten on Tuesday June 13, 2017 @11:44AM (#14545641)
There are many definitions of hacker and sniffing packets on your phone or attaching debuggers to apps on your phone are only one narrow definition of many.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by wolfgke on Tuesday June 13, 2017 @04:02PM (#14548102)
> There are many definitions of hacker and sniffing packets on your phone or attaching debuggers to apps on your phone are only one narrow definition of many.

The willingness to look under the hood or desire to at least be able to do so is a rather universal property of hackers.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by dkersten on Wednesday June 14, 2017 @10:39AM (#14553039)
But doing so on your phone isn't necessarily.

You're putting me into a category (or excluding me from one) based on your own subjective opinion on the meaning of "hacker".

I don't really care for the label, but I think you are probably still wrong. Just because I have no interest in doing this with my phone, doesn't mean I don't elsewhere in my life. For example, you don't know about the time I took a MIDI controller apart and nodded it to add more functionality (both physical hardware and software). Or the time I spent reverse engineering the Diameter protocol with wireshark (yes I have used it) so I could figure out how to talk to another system (technically this was for work, but I didn't have to inspect the packets to learn how to use it), or any time I've stepped through a binary in a debugger to see what it does, or inspected some source code, or the time I tried to fool RF sensors with a home-made EMP device, or written some utility or otherwise hacked the world to do what I wanted it to. Yes, I am willing to look under the hood if it helps achieve my goals or if it's fun to do so.

Yet somehow all of that is irrelevant because I have no desire to do any of that on my cell phone. Or maybe the world isn't as black and white as you're making it out to be.

Re:Apple’s Guidelines Now Allow Executable Code in Education... by kbutler on Monday June 12, 2017 @08:53AM (#14536920)
You can make changes for yourself, but you can't effectively make changes for others. You can improve your immediate environment, but you can't improve the world for everybody.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by Twisell on Monday June 12, 2017 @09:07AM (#14537036)
Is there anything that would prevent someone to clone your project and then compile and install it on he's own device?
Re:Apple’s Guidelines Now Allow Executable Code in Education... by bluejekyll on Monday June 12, 2017 @10:15AM (#14537535)
This is a great question. I'm actually surprised that there isn't a tool available for doing this easily today...
Re:Apple’s Guidelines Now Allow Executable Code in Education... by jbg_ on Monday June 12, 2017 @01:28PM (#14539066)
I'm not sure if you were being sarcastic, but there is: it's called Xcode.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by bluejekyll on Monday June 12, 2017 @11:06PM (#14542627)
LOL! I meant more like a one click thing for regular users to use, not people familiar with development tools.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by eddieroger on Monday June 12, 2017 @09:47AM (#14537317)
I can publish an app, and then I can make the world better for other people. The comment I replied to was focused on one user's experience, so I answered it similarly. Look at email clients - Apple ships one, but the market suggested that people wanted alternatives, and we have them. The world was made better for everybody.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by visarga on Monday June 12, 2017 @10:52AM (#14537798)
If you want to grab the system audio stream to apply DSP effects such as dynamic compression on it, is it allowed by XCode? Last time I checked it was not allowed, presumably because a user could rip music from iTunes to mp3 - yet by banning it they are limiting interesting audio effect apps.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by sbuk on Tuesday June 13, 2017 @03:39AM (#14543390)
The plethora of audio effects apps on the app store completely renderers your point null.
Re:Apple’s Guidelines Now Allow Executable Code in Education... by pjmlp on Monday June 12, 2017 @12:44PM (#14538676)
I doubt the amount of people selling audio apps on Apple devices feel any kind of limits on their creativity.