ykay

1

votes
2

answer
47

views

Use Mysql column in subquery of subquery

I have two tables Reports id consultants 1 1,2,3,4 Users id name 1 John 2 Tom When I try to run this query I get an error: 'Unknown column 'reports.consultants' in 'where clause'' SELECT reports.id, (SELECT GROUP_CONCAT(name SEPARATOR ', ') from (SELECT name from users where...
ykay
1

votes
1

answer
21

views

How can I get time on page in google analytics only when a specific event is triggered?

I have a page where the user can either click save or send. I would like to know the average time on the page only when the user clicks send. Is there a way to do this in google analytics?
ykay
1

votes
1

answer
2.1k

views

Does Mac OS X have an Microsoft RPC equivalent?

Microsoft RPC provides an IPC mechanism that can be done in a function-calling manner. This has been extremely helpful for my project where my main service delegates tasks to a child process, and functions in the child process can be called as if they were implemented in the main service. That takes...
ykay
1

votes
1

answer
1.1k

views

Integrate PayPal Express Checkout with PHP

How can I integrate Express Checkout using PHP? Paypal's documentation is very poor on this subject.
ykay
1

votes
3

answer
2k

views

How to query JSON array in MYSQL with AND

If i have json like the following in a column in a mysql database [ { 'name': 'John', 'checked': true }, { 'name': 'Lucy', 'checked': false } ] how can I select in mysql all rows where in the same object name = 'John' and checked = true. The json objects may have more keys and keys may not be in a...
ykay
1

votes
1

answer
380

views

JSON_EXTRACT not working when not all rows contain JSON

I am trying to run JSON EXTRACT but get the following error: Data truncation: Invalid JSON text in argument 1 to function json_extract: 'The document is empty.' at position 0. select id, JSON_EXTRACT(content, '$.pathway_id') from reports
ykay
1

votes
2

answer
1.9k

views

global scope enum and namespace conflict

I have an ATL COM service and in the .IDL file, I've declared an enum like so: In Gourmet.idl typedef enum Food { Chocolate = 0, Doughnut, HotDog } Food; A header file is automatically generated, creating Gourmet_i.h. In another .CPP file (let's just call it Decadence.cpp) of the same ATL COM projec...
ykay
1

votes
3

answer
49

views

Refer to key in value when creating object in javascript

Is there any syntax to do something like the following var obj = {a: this, b: this} and get obj = {a: 'a', b: 'b'}
ykay
17

votes
2

answer
8k

views

How do I remove the branding from tinymce? (Where it says 'Powered by tinymce') [closed]

How can I remove the branding from the bottom of the tinymce editor where it says 'Powered by TinyMCE'?
ykay
7

votes
1

answer
2.8k

views

How to get a Windows symbol server set up

I have a spare server on the network that I'd like to have host all of our build symbols. I already know how to set up a symbol cache on my local development system and pointing my debugger (e.g. Windbg) to that path in 'Symbol File Path'. I presumed that I could do the same with another system on t...
ykay
5

votes
1

answer
1.2k

views

Are environment variables affected after impersonating and loading a user profile in a service?

I have a Windows service running under a LocalSystem account and I am trying to access some user-specific environment variables. When I call ExpandEnvironmentStrings('%AppData%'), I get 'C:\windows\system32\config\systemprofile\AppData\Roaming'. I figured impersonation and loading the user profile...
ykay
3

votes
2

answer
2k

views

UICollectionView in a UITableViewCell with Accessibility

I'm adding Accessibility support to my iOS app and I'm having trouble with a collection view in one of my table view cells. For example, when the user scrolls (horizontally) from the first cell to the second cell, Accessibility still reads the contents of the first cell. If I try to tap on a view in...
ykay
2

votes
1

answer
3k

views

Switching xeditable off and on using editable(“destroy”);

I am trying to turn xeditable on and off using editable('destroy'). Xeditable turns off but does not turn back on. The function looks like this: $('#changeType').on('change', function () { switch ($(this).prop('checked')) { case true: $('#status').editable('destroy'); $('#status').editable({ showbut...
ykay
2

votes
1

answer
9.1k

views

OData binding with $expand

We have to bind a OData url to UI5's ODataModel https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZCD204_EPM_DEMO_SRV/BusinessPartners('0100000000')/SalesOrders/?$expand=SalesOrderItems We are able to bind root level items that belong to each SalesOrder. However, we are running into problem in case...
ykay
3

votes
2

answer
252

views

A Winform program so simple — but may I have my memory back?

I decided to do a simple Windows Form project with .NET 2.0 in C# to test and see what exactly is causing what seems to be 'growing memory leaks' in my other main UI application. What I did in this simple project was create two forms: Form1 & Form2 Form1 has one big button that pops up a new instanc...
ykay