Was amphp/thread discontinued? amphp/amp is working perfectly but when I run ANY of the example coding from amphp/thread git, I get all kinds of errors. Not one example is working. I noticed last update was in 2014.
Is there any way for me to get amphp/thread working? Was it replaced? With what replacement?
I have php 7.0 installed on mac, built with thread safety. EV, EVENT, UV are all enabled.
My .jason file looks like this
"amphp/amp": "v0.17.0", "amphp/thread": "v0.8.1"
Much appreciated.
I found the answer to this question in a discussion here:
https://github.com/amphp/thread/issues/14
amphp/thread is no longer being supported but there is hope that it will be picked up again in the future to work with amphp/amp v2. No concrete timeline on when this will happen was given.
Also, amphp/parallel is considered to be the replacement for amphp/thread.
Related
I’d like to run Processing in an old computer (Acer ES1) with Xubuntu , but while everything seems to work fine, when I run sketches that use P2D or P3D I get the following error:
InternalError: XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped
This happens with Processing 4.1.1. (as well as 4.0 and 3.5.4). In my understandings the issues is about an old bug that has been solved in the recent version for most of the machines, but not for mine. I suppose the bug should be related to this:
P3D don’t work on AMD dynamic switchable graphics #5308
I tried to follow all the possible workarounds suggested in the previous link but nothing worked out. The only thing I didn’t try and that I would avoid is downgrading the version, since I need to work with the latests.
When I tried the Tobii Pro Glasses SDK demo video_with_gaze.py, I came across this warning, and it did not show any result (ideally, it should show the video together with the gaze point). I guess maybe the glib version is not right, but I do not know how to correct it. Here is the demo code: https://gist.github.com/anonymous/b73399fdbce1d1e3c7c4d32eea82b31a
I use Ubuntu 14.04, and Python 2.7.
Thank you!
Generally that error means a table is being modified from multiple threads. The source you linked doesn't seem directly relevant and it is probably happening within GStreamer. It is a pretty vague issue though it doesn't help that you are using an old and unsupported version of GStreamer and pygtk.
I'm trying to get the PCL Visualizer demo examples to work (all code here: http://pointclouds.org/documentation/tutorials/pcl_visualizer.php) for Windows, PCL 1.6, 32 bits version.
It works fine except for the Interaction Customization part, which is ironically the one i'm most interested on. An unhandled exception occurs at the spinOnce(100) line on the main method. From the long search I've done, it looks like it is deeply connected to VTK not being thread safe and keyboard/mouse callbacks interfering with the VTK window. However, I don't think I've completely understood this and could be mistaken. I have found a very similar question here in stackoverflow (using "pcl::visualization" in different threads from different instance of a class) and I tried using scoped_locks around the spinonce, as he suggests, but I think I'm not doing it right.
Has anyone managed to fully use this example on win32? For reference, here is my poor attempt at locking the spinonce:
while (!viewer->wasStopped ())
{
boost::mutex vis_mutex; //storage for static lock
boost::mutex::scoped_lock lock(vis_mutex);
viewer->spinOnce ();
boost::this_thread::sleep (boost::posix_time::microseconds (100000));
}
Thanks in advance!
I am afraid that it may be related to the version of PCL.
Tutorials are made to match latest versions of PCL and since 1.6 things might have changed.
I recommend you to update to the latest PCL from github. (actually I use code from this tutorial on win64 right out of the box, no issues)
I'm having problems in a project that runs on the v3.9.0.0 version of servicestack.
So I'm trying to download source for it. But on github there are no tags so it seems I cant get hold of the source. So... I downloaded the latest stack and the source for that.
Obviously I'm getting some deprecated warnings but except for that the compiler seems happy enough except for in one place
public virtual void Configure(IAppHost appHost, Container container)
{
appHost.HtmlProviders.Add(new HtmlProvider().ProcessRequest);
The compiler complains that IAppHost does not have a property HtmlProviders
Like so:
ServiceStack.WebHost.Endpoints.IAppHost does not contain a definition for HtmlProviders and no extension method 'HtmlProviders' accepting a first argument of type ServiceStack.WebHost.Endpoints.IAppHost could be found (are you missing a using directive or an assembly reference?)
I can't find anyone mentioning this missing so I'm guessing I'm missing something but what.
So at the end I guess the questions are:
Does anyone know how to get the source for the v3.9.0.0 version of servicestack?
Does anyone know what to do to migrate from v3.9.0.0 to current 3.x version considering the above HtmlProviders problem?
(I edited this post as I misread the version number at first)
Checking history for IAppHost your probably looking for roughly v3.94, about 10 months ago. How to upgrade to latest version? I'd suggest migrating a single service to the new API and going from there.
I am searching for some help with JSR-82. I have searched for a long time, and even had my project supervisor at uni helping me out, and so far, I have had no luck.
My Problem...
I have a project whereby I simply need to scan for Bluetooth Devices
I have not yet been able to get my Bluetooth device scanning. I am using Eclipse IDE in CentOS 5.5
and am trying to use Bluecove.
I have downloaded "bluecove-gpl-2.1.0.jar" and added it to my Eclipse Build Path and the code i am using is sample code provided by BlueCove (RemoteDeviceDiscovery Found here: http://bluecove.org/bluecove/apidocs/overview-summary.html#DeviceDiscovery).
Before i can even compile, javax.Bluetooth.*; is underlined suggesting it cannot find it - Now as far as i am aware, this should be within the bluecove jar file i mentioned previously.
How on earth do I get this thing working? Ive tried using JSR82.com but that wasnt much help at all
If any one has the time to assist me, you would be concidered a god! haha
thanks
Ryan
With bluecove on linux you need to provide the bluecove.jar and bluecove-gpl.jar. http://code.google.com/p/bluecove/wiki/Documentation
you will be needing 4 jar files: bluecove.jar,bluecove-emu.jar,electricblue.jar, javabluetooth.jar
however my code based on jsr82 implimentation did not work on samsung mobiles.... it is said that it does not support jsr82 stack. if anyone has idea on this share..