Greetings,
I am trying to make my 1.9.1 source 1.8.6 compatible. I recognized that there's no Hash#key method. Any idea or method how to solve that?
Thanks!
Tobias
Hi,
Not really a coding question more a little help with my idea of a Relational database.
If I have 3 tables in a SQL database. In my php script I basically query the companies which are in industry "a" and then insert a row into a separate table with their details such as companyId , companyName etc is that a type of Relational database ?
I have explained it in a simple way so we don't get confused what I am trying to say.
Hi
Is there any time it would not be a good idea to call web services async? My data layer is a REST-based interface and I thinking of adopting an async-only approach to all the CRUD in the system. Is there anything I should know?
Hi
I am new iphone development. In my app, i am using two textfield and i want to save the text on the dada base which is entered in textfield then i want to display it. Here i am using CoreData base. I am feeling difficult to understand all classes on the coreData base. Here i am created view based application. What are the classes required to achieve that and is there any sample and idea?.
Hello,
After implementing Nh.Burrow in an asp.net application, I was wondering how to do it for a WCF-service.
My first idea was to put a the BurrowFramework().InitWorkSpace(); in each method and set the InstanceContextMode to per Call on these methods. Now I have two questions:
Are there better methods to combine Nh.Burrow with WCF?
Is there a way to create and use a Long Burrow Conversation with WCF?
Regards,
Jochen
Hi
im trying to detect a marker in a webcam video feed and overlay it with a 3d object - pretty much exactly like this: http://www.morethantechnical.com/2009/06/28/augmented-reality-with-nyartoolkit-opencv-opengl/
i know artoolkit is the best module for this, but i was hoping to just use opencv in python since i dont know nearly enough c/c++ to be able to use artoolkit. im hoping someone will be able to get me on the right track towards detecting the marker and determining its location and orientation etc since i have no idea how best to go about this or what functions i should be using
thanks
mitch
I would like to change the formatting on my BASH prompt from this:
[email protected]:~/some/very/annoying/long/path$
to something like this:
[email protected]:~/some/very/annoying/long/path
$
The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.
Knowing how to find a good job is an important part of being a programmer.
I know it's a good idea to post my resume on different sites like Monster and Dice. I also know that networking is important.
But, what I'd really like to know is how everyone feels about using a recruiter (aka headhunter). What are the pros and cons? Is it better to deal with a company directly?
Thanks!
I want to skew an image into a trapezoidal shape. The left and right edges need to be straight up and down; the top and left edges need to be angular. I have no idea what the best way to do this is.
I'm using GD Library and PHP. Can anyone point me in the right direction?
Thanks,
Jason
In my Xcode project's plist file, I can see the value for the key CFBundleIdentifier is:
com.mycompany.${PRODUCT_NAME:rfc1034identifier}
Obviously I will have to change com.mycompany to the domain name of my company, but I have no idea whether the rfc1034identifier should be removed so that it becomes:
com.mycompany.${PRODUCT_NAME}
Google did not help answering my question.
Does this rfc1034identifier affect the AppID that I should provide in the iPhone Developer program - Provisioning Portal?
I dump data from MySQL version 5.1.30 from server 1
# mysqldump mydb1 > mydb1.sql
Then I import it to server 2 which have MySQL version 5.1.24-rc
However I got an error important halfway.
# mysql mydb1 < mydb1.sql
ERROR 1064 (42000) at line 1984: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''9012345678' at line 1
Any idea how I can solve it?
Hi,
I am developing an aplication for iphone which records audio and save that audio file .I need to create a UI similar to that in Voice Memo app with VU meter .I implemented codes to record audio,but i have no idea about VU meter implementation.Looking forward for a reply ......Thanks in advance
Has anyone have any idea how to use MongoRegex for the document search?
I attempted this, but returns nothing back:
var spec = new Document();
spec.Add("Name", new MongoRegex("/" + searchKey + "*/", "i"));
collection.Find(spec)
Wondering why it doesn't work, I tried to execute following command from the console:
db.things.find({"Name":/john*/i}) /* WORKS */
db.things.find({"Name":"/john*/i"}) /* DOESN'T WORK */
Is that possible that the driver applies double quotation to the regex?
Thanks..
Hi,
I need to debug a class library project that is provided to the main project (an ASP .NET website) as a DLL. For example, I need to put some breakpoints in order to check what's happening during the execution.
I tried this : http://msdn.microsoft.com/en-us/library/605a12zt.aspx, unfortunately it didn't work...
Any idea?
Thanks
Hi,
im trying to add a datepicker to my symfony application and i got it working, but the size of the datepicker is about 3 times bigger than normal (on the demo page). I have not edited any CSS, i just used the default ui lightness theme no modifications.
Does anybody have any idea why the size is blown up so big?
CSS:
http://paste2.org/p/835414
tough i doubt that will be very usefull.
Ok, I have a flowchart definition (basically, array of nodes and edges for each node).
Now I want to calculate coordinates for every task in the flow,
preferably hierarchycal style.
I need something like Graph::Easy::Layout
but I have no idea how to get nodes coordinates: I render nodes myself and I only want to retrieve box coordinates/size. Any suggestions?
What I need is a cpan module avialable even in Debian repository.
DECLARE @mycur CURSOR
DECLARE @id int
DECLARE @ParentNodeName varchar(max)
DECLARE @NodeName varchar(max)
DECLARE @NodeText varchar(max)
SET @mycur = CURSOR
FOR
SELECT * FROM @temp
OPEN @mycur
FETCH NEXT FROM @mycur INTO @id,@ParentNodeName,@NodeName,@NodeText
WHILE @@FETCH_STATUS = 0
BEGIN
PRINT @id -- sample statements
PRINT @ParentNodeName
PRINT @NodeName
SET @x.modify
('
insert attribute status {sql:variable("@status")}
as first
into (/@ParentNodeName/@NodeName/child::*[position()=sql:variable("@status")])[1]
')
FETCH NEXT FROM @mycur INTO @id,@ParentNodeName,@NodeName,@NodeText
END
DEALLOCATE @mycur
Any idea why I am getting this error as query works fine if I manually insert path
Just doing some testing/prototyping with ClickOnce. Does anyone know why I can publish with CLickOnce when its set to 'debug' mode but not when its set to 'release' mode?
I dont even get an error message for the latter. The output folder remains empty as nothing has happened. Once I switch to Debug mode and do the publishing everything is fine.
Any idea?
Thanks
I am drawing on a canvas with the following line:
ctx.drawImage(compositeImage, 0, 0, image.width, image.height, i, j, scaledCompositeImageWidth, scaledCompositeImageHeight);
This code has executed error free on Safari, Chrome, Firefox (and even IE using google's excanvas library). However, a recent update to Chrome now throws the following error:
Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1
This code often positions part or all of the drawn image OFF the canvas, anyone got any idea what's going on here?
Microsoft Sync Framework:
Sql CE and sql 2008 with change tracking option.
I am facing a problem, when i have a record inserted in sql CE and it needs to upload on sql 2008 with uploadonly direction. The server sync process gives clientInsertServerInsert conflict and it is impossible that server can add new row to this table.
Anybody have idea.
I have a website that emails a link to the invoice when an order is complete.
The link should be http://mysite.com/QuoteAndBook/Confirmation?orderId=123
But for some reason it is:
http://204435-204435/QuoteAndBook/Confirmation?orderId=123
The host portion of the link is generated using HttpContext.Current.Request.Url.Host but I would expect that to return "mysite.com", not "204435-204435".
Any idea what's going on?
Hi guys, im thinking about a project, but my project need to be linked to cellphone company, the problem is that i don't know how ill take care about make the presentation to the cellphone company and the company don't steal my idea, i dont know if is clear, sorry with my English
some tip's?
thanks
Hi Guys,
I'm developing my first facebook app on kohana 2.3.x at the moment and I noticed that a usual app url should look like this:
http://apps.facebook.com/{my_app}/{controller}/{method}
But in my app it shows the real url.
http://mydomain.com/{controller}/{method}
Any idea how to fix that in Kohana?
Thanks in advance!
Hi,
I'm Running Mysql on ubuntu 9.10,
the process of Mysql is running as root, I'm using root account when logging to Mysql, which I gave all privileges, I'm using my own db(not mysql), I can create a table, but when i try to create Temporary table i get this error:
ERROR 1005 (HY000): Can't create table 'tmp' (errno: 13)
For this query:
CREATE TEMPORARY TABLE tmp (id int);
I've plenty of space in my hard drive, all permissions are granted(also var/lib/mysql have mysql permissions).
Any idea?
Thanks,
Koby
Hi Guys,
I'm tying at the moment to dynamically map a url to the file system.
e.g.:
www.example.com/~svn/myrepo < to /var/svn-repos/myrepo
My approach:
<Location /~svn/([a-ZA-Z0-9-_]+)>
DAV svn
SVNPath /var/svn-repos/$1
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn_all.passwd
Require valid-user
</Location>
Any idea how that works?
Thanks in advance!