I have recently started to feel that I need to greatly improve my C++ skills especially in the realm of .net. I graduated from a good four year university with a degree in computer science about 9 months ago and I have since been doing full time contract work for a small software company in my local area. Most of my work has been done using…
Just curious if the tab bar UI element in screenshots is some built in class or customized.
If it is customized, then please give me a hint on what classes I might check to have something like that.
The first screenshot is initial tab bar. When I tap on the last icon the tab bar smoothly(animated) resize itself as on second screenshot. If I…
How do I limit the following jQuery return to 2 decimal places?
$("#diskamountUnit").val('$' + $("#disk").slider("value") * 1.60);
I figure I've got to throw toFixed(2) somewhere into there, but I can't seem to get the ordering right or something.
I created a JSON using a PHP script.
I am reading the JSON and can see that the data has been correctly read.
However, when it comes to access the objects I get unrecognized selector sent to instance...
Cannot seem to find why that is after too many hours !!!! Any help would be great !
My code looks like that:
`NSDictionary *json =…
I'm just wondering if there is a way to have a server push information to a JavaScript function. Essentially I have a Dashboard-type page that has a javaScript function to get updates from the server and update the dashboard.
I would like my server to be able to "ping" the JS.
I don't even know how that could be possible (I'm…
On Windows, it's possible to program an LSP service on top of Winsock which provides the ability to do a lot of manipulation/etc. with networked applications. For instance, some anti virus applications register an LSP and analyse network traffic that way. Is there a friendly way to accomplish the same sort of thing on OSX?
Rank Table
ID, Primary Key
RANK, The rank or level, 1 being the highest and 3 the lowest
MIN_SCORE, The minimum amount of point or XP needed to reach the rank
NAME, The associated name of the rank
Rank Table
+----+------+-----------+-------------------------+
| ID | RANK | MIN_SCORE | NAME |…
I have a project which uses OMake for its build system, and I am trying to handle a rather tough corner case.
I have some definition files and a tool which can take these definition files and create GraphViz files. There are two problems, though:
Each definition file can produce multiple graphs, and the list…
Hello,
I have 13 quantitative variables in a data.frame (called 'UNCA').
The variables are named q01_a, q01_b, ...q01_m.
I want to create 13 new variables that have the same values but are coded as a factor.
I would like to name these 13 new variables q01_a.F, q01_b.F, ...q01_m.F.
Any help would be…
I'm trying to teach myself some machine learning, and have been using the MNIST database (http://yann.lecun.com/exdb/mnist/) do so. The author of that site wrote a paper in '98 on all different kinds of handwriting recognition techniques, available at http://yann.lecun.com/exdb/publis/pdf/lecun-98.pdf.
The…
This question is partially related to an older question (Any CMS is Google App Engine compatible?) , but is slightly more general. It seems that in most CMS systems, the most fragile failure point is the database. Traditional database implementations scale poorly and will never be able to handle…
In Java regular expression, it has "\B" as a non-word boundary.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
If I have a 'char', how can I check it is a non-word boundary?
Thank you.
I'm running an classified ads website and I'm charging a specific fee for each ad placed. As you may know paypal charges a specific percent for each transaction + a specific amount fee (e.g 2,9% + 0.30 cents)
. I have customers who place about 30 ads per month therefore I would like to integrate…
In C#, throw ex is almost always wrong, as it resets the stack trace.
I just wonder, is there any real world use for this? The only reason I can think of is to hide internals of your closed library, but that's a really weak reason. Apart from that, I've never encountered in the real world.
…
As a scrum master introducing scrum to an organization, how do avoid also being product owner?
problem facts:
List item
I am working on a project as scrum master.
Since the organization is new to scrum, I have assumed the role of setting meetings with stakeholders to form their system…
I am using a URLConnection class - I want to be able to grab a stream to a given URL even if said URL is unavailable (ie cache the last known cope of the content on a URL, to some local file system dir) - now I have written this code a few times (never happy with it) and was wondering if…
I have a textbox with a paragraph of information. There are certain words in the paragraph that i want the user to be able to click on, and when clicked, a different textbox is populated with more information.
I know that you can have the event for the whole textbox, but that isn't want…
I'm working on a codecademy.com lesson with instructions to write the calculateTotal function below. When I click run, it's returning NaN. Anyone know what's wrong with the calculateTotal function as I wrote it that's making it return NaN. Note, I understand that NaN means not a…
This is an interview question: How to serialize a graph ? I saw this answer but I am not sure if this is enough.
It looks like a very confusing "open question" and the candidates are probably expected to ask more questions about the requirements: what the nodes and edges are,…
I have a function that works on other pages but on this particular page its not working 100%
the piece of code that is failing to work is:
$query = "SELECT
*
FROM
rank_punting
JOIN
rank_player
ON
…
I have a listbox that is databound to a Collection of objects. The listbox is configured to display an identifier property of each object. I would like to show a tooltip with information specific to the item within the listbox that is being hovered over rather than one…
I have a mySQL database with a tad under 2 million rows. The database is non-interactive, so efficiency isn't key.
The (simplified) structure I have is:
`id` int(11) NOT NULL auto_increment
`category` varchar(64) NOT NULL
`productListing` varchar(256) NOT NULL
…
How do you distribute other files needed by your application that aren't in a jar file? For example, the application at http://www.javabeginner.com/java-swing/java-swing-shuffle-game . The download contains Shuffle.jar, Shuffle.bat, Score.dat, and an images folder…