News for hackers. Stuff that matters.
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @01:15PM (#21234644)
This happened to me, in the early 1990s.

I spent months writing a very capable MIDI driver. In those days, writing a MIDI driver was a truly non-trivial exercise, as you had to have a MIDI adapter that fed back a 1MHz clock, which you would then program their UART to clock down.

That UART was also a pretty hairy bit of hardware. You had to program it with ASM, and the chip was set up so that a 16-bit address range corresponded to various control states. Setting control states for the chip meant a LOT of homework.

MIDI drivers basically were about as difficult as you could get, as you needed to step down an external clock, and set up things like ring buffers that were large enough to not trip over their own feet during an intense session.

Anyhoo, after a couple of months of working on the driver (and buying a DX-7 as a test bed), I was just about to announce it, when Apple came up with a package of OS utilities that included...a MIDI driver.

I don't think that theirs was as good as mine, but that was beside the point.

I open-sourced the driver, but the OS community wasn't particularly well-established back then, and I believe that it's lost in the sands of time.

Re:What to Do When You Get Sherlocked by Apple by luftfield on Saturday October 12, 2019 @03:05PM (#21235440)
So in other words embedded hardware programming hasn’t changed a bit.
Re:What to Do When You Get Sherlocked by Apple by bobowzki on Saturday October 12, 2019 @10:11PM (#21237833)
Embedded programming usually change bits :-)
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @04:36PM (#21236049)
Yeah. I worked on an embedded Android project a few years ago (Intrynsic board).

It was fairly gnarly.

Re:What to Do When You Get Sherlocked by Apple by crtlaltdel on Saturday October 12, 2019 @01:32PM (#21234768)
The linked article states that Apple actively researched their products.

Is this what happened with your MIDI driver?

Re:What to Do When You Get Sherlocked by Apple by scarface74 on Saturday October 12, 2019 @10:02PM (#21237795)
Do you really think that Apple couldn’t come up with the idea for SideCar without Luna? You could already use AirPlay to create a second monitor from your Mac and use AirPlay as a second display from iOS. It was completely logical that the next step is to send video from your Mac to your iPad as a second display.
Re:What to Do When You Get Sherlocked by Apple by seandougall on Saturday October 12, 2019 @11:42PM (#21238214)
Indeed, Apple had already implemented something similar with Target Display Mode on the iMac back in 2009, so it's hardly a stretch to figure they've been planning something like this for essentially as long as iPads have been around.
Re:What to Do When You Get Sherlocked by Apple by opless on Sunday October 13, 2019 @07:12PM (#21243908)
And air display was around shortly after the iPad was launched, yes including touch-mouse features.

For me, the novelty quickly wore off. Amazing how long Apple took to replicate THIS VERY OBVIOUS FEATURE.

Re:What to Do When You Get Sherlocked by Apple by tpmx on Saturday October 12, 2019 @01:32PM (#21234770)
Do you feel any resentment against Apple from this chapter of your life?
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @01:38PM (#21234805)
Answer 1: I did not have any kind of relationship with Apple, except for the standard Developer agreement. I don't think they copied anything from me, so it was not, truth be told, exactly the same.

Answer 2: Not especially, but those of us that have been programming Apple since the 1980s (I've been at it for a loooong time) have learned a rather cynical outlook.

Apple has a long, long history of stepping on its developers; often accidentally (but we still got stepped on).

I've taken OpenDoc and QuickDraw GX courses, because they were the future.

Anyone remember Copeland, and the enormous push behind it?

I still love programming Apple devices. I'm writing an open-source Bluetooth driver, right now.

Re:What to Do When You Get Sherlocked by Apple by tpmx on Saturday October 12, 2019 @01:41PM (#21234825)
Of course lots of us remember https://en.wikipedia.org/wiki/Copland_(operating_system). At least I hope there's at least a small amount of other 40+ devs on here. :)

I think your attitude is healthy btw.

Re:What to Do When You Get Sherlocked by Apple by erichocean on Saturday October 12, 2019 @06:17PM (#21236763)
> I'm writing an open-source Bluetooth driver, right now.

Link?

Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @07:36PM (#21237114)
It's still very much a WIP. I just burned the first iteration to the ground, and replaced it with a ghastly chimera that uses adapters to abstract the transport:

https://github.com/RiftValleySoftware/RVS_GTDriver

I expect to have it to the same level as the original version in the next few days.

After that, I will be working on a BT Classic transport adapter.

I learned the hard way that it's a royal pain to try sniffing BLE.

Re:What to Do When You Get Sherlocked by Apple by cerberusss on Sunday October 13, 2019 @02:10AM (#21238667)
Fascinating hardware. How does it work? Does the iOS device use BLE to connect to the goTenna, which is then connected to the end device (Windows PC or something)? Or do you always need two goTenna devices?

Do you have a client who requires an interface to these devices? Or is it of general interest to you?

Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Sunday October 13, 2019 @07:17AM (#21239787)
Not exactly sure how the mesh system works. There’s basically three players in this space: goTenna, BearTooth and Radacat. goTenna seems to be the biggest and most successful outfit.

BearTooth uses Bluetooth Classic; not BLE. In the latest OS revisions, Apple claims to have integrated Classic into CoreBluetooth, but the documentation is terrible, so I’m not sure how seriously to take it.

You need multiple devices of the same type. When you buy them, they come in sets of two. You can have a whole network of them. goTenna markets a “pro” line, aimed at First Responders. You can buy sets of devices that go for like $20,000.

They have a military use case, but I doubt it’s battlefield, as these could easily be “shoot me” beacons.

I like that these are aimed at disaster response. I’ve been writing software to support NGO/NPO assistance for decades.

No client yet. I’m doing this because I want to learn Bluetooth programming, and I want to create much more lightweight and flexible SDKs than the ones that currently exist.

Their use case is that the devices establish a mesh network in RF, with devices acting as repeaters, and are controlled individually via Bluetooth. The current limitations on that seem to be software, as a function of their SDKs.

I’d like to improve On their SDKs. For example, I’d like to be able to control goTenna devices directly from a Watch. You can’t do that, with their established SDK.

I’m fairly good at SDKs. I’ve been writing them for decades. Most of the “closed” work I’ve done (what I was paid for) was SDK work.

The driver is really just the lower-level part of an SDK, designed to provide transport abstraction. There will be another layer over that, providing application implementation support.

Re:What to Do When You Get Sherlocked by Apple by cerberusss on Sunday October 13, 2019 @01:49PM (#21241684)
Hugely interesting, thanks a lot for the info. I'd love to work with this stuff, but there's gotta be a client too :) Anyway, keep it up!
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Sunday October 13, 2019 @04:12PM (#21242640)
Well, I have spent the last year and a half "retooling" to be a pure developer. I was a manager for twenty-five years, and did not code full-time.

I love coding. I'm a really good manager, but I don't love it.

Since I need to hang a coding shingle, I need to have a serious portfolio. These types of projects give me that.

Re:What to Do When You Get Sherlocked by Apple by cerberusss on Monday October 14, 2019 @02:12AM (#21245636)
Dude! Mad respect. Not many people seem able to turn around their career, because it requires a decent amount of effort. One of my office mates is sick and tired of developing business apps but can't seem to turn the ship around.

I've made some technical switches (Java -> Embedded -> iOS) and found those to be hard; like you said, you need to have a serious portfolio before someone bothers interviewing you for either a job or a freelance project.

Re:What to Do When You Get Sherlocked by Apple by erichocean on Monday October 14, 2019 @04:43AM (#21246229)
Hi Chris, can you please contact me regarding work? erich AT xygroup DOT co (not com)
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Monday October 14, 2019 @02:52PM (#21251480)
Sent you an email (had to make it very simple, as you have your spam filter set to "11"), and a LinkedIn connection req.
Re:What to Do When You Get Sherlocked by Apple by logicallee on Saturday October 12, 2019 @02:40PM (#21235242)
You say you were just about to announce it, so doesn't that mean nobody saw your work yet? If so it sounds like it doesn't fit the definition of sherlocking, just an unfortunate coincidence.
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @04:30PM (#21236003)
Yes, you are correct. Not the same. Just great minds thinking alike. I suspect the feelings (on my part) were similar...
Re:What to Do When You Get Sherlocked by Apple by arthurcolle on Saturday October 12, 2019 @08:49PM (#21237449)
I just came across UART in the context of one of my side-projects related to the DJI Matrice 100 and have zero hardware related experience and seeing it in this context gives me some XKCD 979 vibes.
Re:What to Do When You Get Sherlocked by Apple by dreamcompiler on Sunday October 13, 2019 @11:08AM (#21240762)
Back in the days before fire, before USB, and before the Internet, UARTs were everything. One couldn't call oneself an engineer until one had programmed a UART. You kids with your USB have it easy these days.
Re:What to Do When You Get Sherlocked by Apple by JediPig on Saturday October 12, 2019 @11:37PM (#21238203)
wrote com driver with 6501, it happens no matter if its apple , ibm, or micrsoft. I found out years later they copied the asm code and "reordered" it to make it look they done work.
Re:What to Do When You Get Sherlocked by Apple by wil421 on Saturday October 12, 2019 @04:20PM (#21235931)
What’s your point? Two entities working in silos don’t tell anyone what they are building and the bigger one releases it first leaving the other one feeling jaded.
Re:What to Do When You Get Sherlocked by Apple by ChrisMarshallNY on Saturday October 12, 2019 @04:34PM (#21236021)
Not really "jaded," per se. I hadn't really worked out what I was going to do with the driver, anyway. I tend to write stuff like that because I enjoy doing it.

In the aggregate, it all worked out for the best. That was my first open-source project, and most of what I've written since, has been open-source.

Re:What to Do When You Get Sherlocked by Apple by IanCal on Saturday October 12, 2019 @07:24PM (#21237056)
It seemed like a relevant story given the article, and I quite enjoyed it. People don't always have to be making a point or arguing something.