Does Plugin.MediaManager.Abstractions not exist anymore? - xamarin.forms

so I'm trying to make a radio app using Xamarin.Forms. I decided to use MediaManager, but I've run into some issues with the packages. I've downloaded everything from nuget, but it doesn't seem to be working right. Every example I've seen uses Plugin.MediaManager.Abstractions to control playback, but VisualStudio says that this doesn't exist. Also, I can't say using Plugin.MediaManager at all instead it is having me use using MediaManager which is fine but no one else seems to be doing it that way. At this point I don't know if MediaManager has changed or if it's something with my computer (Mac). Any advice would be appreciated. I just want to figure out how to use IPlaybackController.

Related

Plasmoid won't attach to desktop

Trying to learn the fine art of Plasma5 (specifically 5.12) plasmoid development. I'm aspiring to be a minor KDE documentation contributor.
It's a simple plasmoid that pops open when clicked and displays a message. It runs fine inside of plasmoidviewer and "compiles" correctly with kpackagetool5. It shows up in the panel of available widgets, but I can't drag it to my desktop. I've put the (extremely simple) source up on Github; hopefully someone's willing to take a look.
https://github.com/bundito/hellomoid
Thanks a lot. I'm trying to document as I learn. But I've clearly got a lot to learn.
After studying a few existing (and working plasmoids), I found a few differences in the metadata.desktop file. These differ from what's shown in the existing tutorial.
The most important change appears to be the line X-KDE-Library entry. I removed it, and everything works. I'm not sure what it's for - I presume loading some external library - but without it, we're happy hackers again.
So there you go. I hope my discovery will help someone else.

Atom IDE: Control Click to go to declaration, even if another file?

I just tried switching over to Atom editor, things are going well.
I did use webstorm / Visual studio and they have some great features like Control +Click to go to definition.
I have tried searching for a package but can't seem to find one.
For example Control + Click on a definition would popup a window with all the possibilities
Anyone know anyway of getting this ?
Thanks
As far as I know they need to build still.
https://github.com/atom/atom/issues/2256

Plone and deco.gs

I am trying to use plone 4 with deco, using this buildout: http://svn.plone.org/svn/plone/plone.app.deco/buildouts/dev/
It seems to work, but when I add the new page element nothing special happens. (No deco.gs)
Anyone knows what is happening? or know a way of making it work with plone 4?
Deco is still experimental as of this writing, and shouldn't be used in production just yet.
Steps to get it working (what's currently working, that is) can be found in the install docs:
http://svn.plone.org/svn/plone/plone.app.deco/trunk/docs/INSTALL.txt
As far as i am aware, there has recently been a refactoring leaving the Deco UI editor not in a workable state. It shouldn't be a lot of work to repair, but it would be best if one of the core developers would do it.
Your best bet is probably asking on the plone.dev list to make someone do a small development push.

XCode 4 breakpoints not breaking at correct line

My breakpoints have stopped working properly in the latest XCode 4 release. With no change to the project settings, the breakpoints no longer break at the line they are set.
For instance, in one function I can set a breakpoint anywhere within it's body, but the code will always break at the last line of the function.
In another instance, I can set a breakpoint anywhere in one function and the code will break at a line in the middle of a different function in the same file! Tracing through after the break shows that it did break in the wrong place and it's not just a file / debugger sync issue.
I have no idea why this has started. It did however seem to start on new breakpoints while old ones worked. Any new breakpoints I add break in the wrong place. And recently, some files now don't even break at all! I can only assume the breakpoint is so wrong it's moved into code that's not called. I have done numerous internet searches and forum searches for this problem, and although I have found people with similar issues, there was either no solution or the solution listed (rebooting device, swapping debug output, turning off optimization etc.) haven't worked for me.
It is worth mentioninig I'm mostly coding in C++ using .mm files. For the past year of development in XCode 3, and for the last few months in XCode 4 things have been fine! I have debug set up correctly. No optimization on a debug run, no dead code stripping and I'm using the LLVM compiler 2.0 with DWARD with dSYM debug file. However, changing these values makes no difference.
Please help, it's driving me mad!!
An update to this. It's started happening again on a brand new machine with a fresh Lion and xcode install. The whole editor is out of whack. Example below of the errors appearing on the wrong lines.
From what I've read all around, Xcode tend to get confused with breakpoints and the way to get rid of the out-of-sync problem is to clean the "Derived Data"; two ways of cleaning it so far I've found (instructions are valid for Xcode 4.x) :
a) go in the organiser, under the Projects, choose your project and hit that delete on the Derived Data
or
b) go in the Product menu, hold the ALT button on the keyboard and observe that the menu are changing... so the clean transform to "Clean Build Folder..."
With-in "Build Settings" under the project target change the "Optimization Level" for "Debug" to "None".
I found that this fixed the issue for me.
I have fixed this, although I haven't found the root cause.
I removed the references from the project for the files that were not working with breakpoints. I then did a full clean and went into the folders and deleted any build and temporary data. I then opened the project bundle and deleted all data except for the project file itself. I then compiled so it threw up errors due to the missing files. I then put the files back in the project.
Now, the exact same files work fine with breakpoints!
No idea why but happy it's fixed.
Have you cleaned your targets? Shift-Cmd-K.
This started happening to me after I upgraded to XCode 4. I just deleted all breakpoints, did a clean, then re-added my breakpoints. Seems to work OK now.
I have figured out why this happens now. As mentioned in one of the replies you can fix it by deleting the derived data. This will always fix the problem. The editor for some reason loses it's relationship between the source code and the markup of the code it uses to cross reference breakpoints and errors etc. Deleting the derived data forces it to recreate this.
I believe that this only happens with files using C or C++ code. Apple seem to ignore C++ developers on iOS. I know a lot of professional game developers and every single one uses C++ to write games. Apple's lack of support is annoying.

What is a good workflow for working with SCCS as a version control system?

Due to the restrictions put in place by our organisation, we are currently limited to using SCCS for version control.
SCCS only lets one developer work on a file at the same time and this is creating bottlenecks within our workflow.
Does anyone have any examples or tips on working with SCCS successfully?
Do not put up with this. SCCS was cr*p when it was actually used back in the 1980s, and the idea of using it in 2010 is ridiculous. I'm speaking as someone who worked for a company training people to use the thing, back then, so I know whereof I speak. Any modern VCS will be far, far, far better, and as most of them are free, there is no possible reason for using SCCS.

Resources