instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have to insert the combobox inside the DG in silverlight 4. And also it should be binded and the values inside
| stackexchange/codereview |
I want to translate text to audio on osx similar as done here:
http://developer.apple.com/library/mac/#samplecode/CocoaSpeechSynthesisExample/Introduction/Intro.html . After the sound is finished playing I would like to save it to a buffer for further use in openAL, is that possible?
The only way I see right now is to... | stackexchange/codereview |
So im trying to animate when i set the visibility of a linearlayout with other widgets, from GONE to VISIBLE and the opposite.Im using togglebuttons to show and hide. Here's an image to show what i want to do:
I can show and hide, but im not following how can i animate the sliding correctly....:(
Heres my xml:
<?xml v... | stackexchange/codereview |
I would like to Compress all my file .js in a same directory in one file with Google Closure Compiler in a command line.
For one file it's :
java -jar compiler.jar --js test.js --js_output_file final.js
But I didn't find in the doc how put my other file at the end of final.js without write over the last compress file ... | stackexchange/codereview |
con = pymongo.Connection('localhost',27017)
db = con.MouseDB
post = { ...some stuff }
datasets = db.datasets
datasets.insert(post)
So far, there are only 3 records, and it's supposed to have about 100...
| stackexchange/codereview |
I am posting data to a php file via jQuery's $.post method, but for some reason the string comes out escaped on the other side, like so,
Sent:
company_name="company"
Received:
company_name=\"company\"
Any idea what could be the cause?
Thanx in advance!
| stackexchange/codereview |
when users sign up to one of my sites for a free trial, i set their account expiry to be "14.days.from_now". Then on the home page i show how many days they have remaining, which i get with:
(user.trial_expires - Time.now)/86400
(because there are 86400 seconds in a day, ie 60 * 60 * 24)
The funny thing is, this com... | stackexchange/codereview |
I have a file that lies on the path http://www.site.ru/config.ini
And there is someone else's code that takes a file that should be on the computer (locally).
You can of course save the file, and then pass, but I can not save the file locally (which would not be who could not work with it).
Function:
[DllImport ("kerne... | stackexchange/codereview |
Summary
We have an ASP.NET application that allows users to query a SQL Server Database through a middle layer (pretty standard stuff). When the user attempts to generate a PDF for the rows that were returned to them. Each set of rows with a common identifier will "turn into" a separate page in the resulting PDF.
Origi... | stackexchange/codereview |
I have heard that the iPhone does not support dynamic linking. I want to know whether any mobile platforms support dynamic linking, such as Android or BlackBerry?
| stackexchange/codereview |
Basically I want to assign events to some controls that are created. I want to update the labels associated with each trackbar when each trackbar is changed (change label1[i] and label2[i] when trackbar[i] changes). I have waded through google and I found that this probably has be done by using delegates. I had a blast... | stackexchange/codereview |
I'm trying to test if ASP.NET is working on my customers IIS 7.5 server, the code below works fine on my server.
<html>
<body bgcolor="yellow">
<center>
<h2>Hello</h2>
<p><%Response.Write(now())%></p>
</center>
</body>
</html>
Using the exact same text.aspx file containing the above code he gets the error:
Compilatio... | stackexchange/codereview |
class Foo
def initialize
bar = 10
end
fiz = 5
end
Is there a possibility to get these local values (outside the class) ?
| stackexchange/codereview |
Being somewhat lazy, I was rather happy to find that I could create a new servlet source code by going New -> Servlet, instead of going New -> Class and then editing the class into a servlet.
However, I have discovered that every time I create a new servlet in Eclipse, Eclipse modifies my web.xml.
Specifically, it modi... | stackexchange/codereview |
I have a VR920, and wish my app to automatically switch from dual-monitors desktop to third vga device (VR920) whilst retaining my previous primary monitor, these two then still being extended desktop. On Windows 7.
EnumDisplayDevices()/etc only has access to the two active monitors (and virtuals?), so I cannot locate ... | stackexchange/codereview |
This has probably been asked many times but here it goes :
I have a class full of db connections
open connection
query db
read values
close connection
How should I unit test this stuff?
Do I need to create a fake database?
I guess I could mock the MySql classes (for c#), but that's also a lot of work.
Some of the sta... | stackexchange/codereview |
var subtbl = $(this).attr('data-counter');
var stunbr = $(this).attr('data-stunbr');
var m = 0;
var checkedlines = new Array();
$.each($("#sub-table"+subtbl+" "+"input:checked"),function (m){
var chk_value = $("#chk_"+stunbr+"_"+m).at... | stackexchange/codereview |
I have a big problem with the PHP DOMDocument::validate() who seems to ask the DTD systematically.
It is a big problem when I whant to validate, for example, an XHTML document as explained here.
As w3.org seems to reject all request from a PHP server, it's impossible to validate my document with this method...
Is there... | stackexchange/codereview |
I need to add a span at caret position in my application. I could add span at caret position with following code, but could not position the caret inside it, so that if user types in it will go inside the new span.
marker = ed.selection.getBookmark();
ed.selection.moveToBookmark(marker);
tinyMCE.execCommand('mceInsert... | stackexchange/codereview |
If I want to deploy my asp.net mvc application in iis (any version it may be) with code , means without any publishing. then is it must that its bin dir have the dll which is nameed by application name? Can I deploy application without its dll?
| stackexchange/codereview |
I currently have this regular expression to split strings by all whitespace, unless it's in a quoted segment:
keywords = 'pop rock "hard rock"';
keywords = keywords.match(/\w+|"[^"]+"/g);
console.log(keywords); // [pop, rock, "hard rock"]
However, I also want it to be possible to have quotes in keywords, like this:
ke... | stackexchange/codereview |
I am having one excel file that i need to host or embed in wpf application. that file need to open inside wpf application.. and user can do modification into that.
is there any solution for this....
Thanks
Brijesh
| stackexchange/codereview |
I am developing image aquisition software. I want to run display function in a separate thread (to ensure live view for easy image capture). For now I am subclassing QObject, creating DisplayObject and using QThread::moveToThread function. Problem is that DisplayObject has to interact with GUI (images need to be displa... | stackexchange/codereview |
I saw with Reflector a very interesting method in System.Web.UI.Page : DecryptString(String s).
But it is a "internal static method", so how can I use it ? (I dont find it in msdn doc)
Thanks a lot !
| stackexchange/codereview |
I'm working on a project for the iPad where I'm trying to simulate the rotation of a 3D-body with touch by switching pre-rendered images.
I'm not the sharpest man when it comes to memory management so I wonder if anyone has any tips on how to optimize this.
My solution now looks something like this:
- (void)touchesMove... | stackexchange/codereview |
I read here: http://www.androidguys.com/2009/10/11/developers-can-now-target-by-carrier-in-android-market/ that it can be done if you go to the Android Market, and go to your app, then go to Publishing Options -> Locations, but I don't see anything to select a specific carrier there, only specific countries.
Is this s... | stackexchange/codereview |
I am using Log4j in my application, and the libraries that I use that also use Log4j are also outputting their logs to the log files that I create. I have already created appenders to redirect the logs of one library to an "other.log" file, but the other libraries keep logging to my main "info.log" file.
This is my log... | stackexchange/codereview |
I have this problem where I need to set "optional" parameters for my stored procedure to work fine.
For example, I have this:
CREATE PROCEDURE [dbo].[Search]
(
@StartTime datetime = NULL,
@EndTime datetime = NULL,
@CustomerEmail nvarchar(255) = NULL,
@OrderStatusID int
)
Now, in my .net website I have this like a... | stackexchange/codereview |
I was wondering if it is possible, using reflection, or something similar to invoke a method whenever a variable is accessed in read or write mode. In a nutshell my goal is similar to the behavior of C# properties.
Example: Let's say I have a two classes A and B...
public class A{
public int field;
public void... | stackexchange/codereview |
I have this example which works great. The buttons are disabled as default and if there is a radio button change to yes then the corresponding button is enabled. The problem is i need it to go back to disabled if they switch it back. The only time it should be enabled if the block has at least one radio button clicked ... | stackexchange/codereview |
The problem I'm having is that I need to sort a whole bunch of char pointers, but they have special characters. I managed to get a sorting procedure like so:
std::sort(dict_.begin(), dict_.end(), comp);
bool comp(NumPair& a, NumPair& b)
{
return boost::lexicographic_compare(a.pFirst, b.pFirst);
}
This worked grea... | stackexchange/codereview |
I will be honest, this is an assignment question but I just cant find a solution to it. Please remember I am not asking for the answer but simply some guidance.
Problem:
Design an algorithm that runs in O(n) time (linear) which can locate a single suspicious house (point) on a 2D grid. It is suspicious if it consumes e... | stackexchange/codereview |
We have a lot of native c++ classes that are serialized perfectly using boost::serialization.
Now we want to change some of their member fields to property, so we could use them in PropertyGrids. When we changed the class definiction to ref class X, we got a huge number of these compilation errors:
#1:
error C2893: Fai... | stackexchange/codereview |
I am trying to use H2 to connect to a database in Java (using Eclipse as the IDE). The sample does (below) throws a ClassNotFoundException. The thing is, I did add the h2 jar file to the system CLASSPATH. I have even checked it's there several times via printenv in the console. Am I omitting a step?
CODE:
import java.s... | stackexchange/codereview |
I'd like to store then later display user-entered content securely with minimal effort (my goal is a web app not writing a bunch of security-related code).
EDIT: Google App Engine for Java
| stackexchange/codereview |
I need to sync my Android SQLite DB with my cloud-server DB, and doing it in a bi-directional way in a multiuser environment.
I have found and introduction to the solution here but I would like to read about a better solution/algorithm.
| stackexchange/codereview |
I am new to java, and going to bite the bullet by asking what is I am sure, a dumb question. I created some methods, and simply wanted to call them in main. I am getting an error for the while loop in the main method. The compiler is saying " Exception in thread main java.lang.StringIndexOutOfBoundsException: String in... | stackexchange/codereview |
Has anyone tried to apply a smoother to the evaluation metric before applying the L-method to determine the number of k-means clusters in a dataset? If so, did it improve the results? Or allow a lower number of k-means trials and hence much greater increase in speed? Which smoothing algorithm/method did you use?
The ... | stackexchange/codereview |
I am using jslint to check my javascript.
It's giving me repeatedly the following error:
Problem at line 236 character 18: Script URL.
a.href = "javascript:DoSomething(" + messageID + ");"
Probably, jslint is right. What would be the correct way to set the .href?
| stackexchange/codereview |
There are many articles and posts about how to include VC runtimes in an MSI file.
I am using Advanced Installer and VS2008
Some say use Merge Modules; I am not sure they will work correctly ie. if they go in before my services (which depend on them) start up during the install, and also merge modules seme to have have... | stackexchange/codereview |
I'm currently analyzing the code behind for a web application. The Default page contains a GridView with several bound DataFields that are supposed to be populated, when the page loads and reloads, with data based on a URL parameter that's passed on initial load. The way it works in summary is this:
-I have a GridVie... | stackexchange/codereview |
Picture an organization with many departments and systems, many of which must share data. For example, one deparment/system is responsible for updating customer data but many departments/systems must be able to read and relate that customer data to their own data. In such a situation, what is your view on using web ser... | stackexchange/codereview |
I have a question regarding the view.yml file in Symfony. Basically I would like to be able to include certain javascript SDKs in my layout with the help of the view.yml file like so:
first i would add an entry the the corresponding view file:
all:
load_facebook: true
load_twitter: true
stylesheets:
javascr... | stackexchange/codereview |
Alright well I recently got into normalizing my database for this little side project that I have been creating for a while now, but I've just hit a brick wall. I'll try to give an understandable example of what I have and what I need to accomplish ― and hopefully it won't be too painful. OK.
I have 3 tables the first... | stackexchange/codereview |
What is the difference between U2 scripts and UniVerse Basic code in the UniVerse database?
| stackexchange/codereview |
In Zend's Documentation they write about creating Navigation Containers. But they don't explain where I should create them. Does anyone know that?
I'm also wondering if a custom Navigation Container extends or overwrites the navigation.xml file which contains the static links.
(I want to make a custom Navigation Contai... | stackexchange/codereview |
I get a Undefined symbols error attempting to build an XCode project, and I'm pretty sure it is because the linker can't find a library (it's the library needed to use curses.h btw). I'm writing a terminal program. The errors I'm getting are:
Undefined symbols:
"_initscr", referenced from:
_main in RogueSmack... | stackexchange/codereview |
can you tell me how to include the Zend_Session::start() in a bootstrap file of zf app?
| stackexchange/codereview |
Is there a way to ensure that my Android UI will display as expected across different phones ?
| stackexchange/codereview |
I am using jquery validate with a form. I want to submit the form using ajax. When I put the ajax call in validate's submitHandler() The browser hangs. What's going on?
The error message I get when I enable the validate method's debug is:
uncaught exception: [Exception...
"Illegal operation on WrappedNative
protot... | stackexchange/codereview |
I have map on my site but I don't kno how to add marker at this location (42.9967, 21.941667). Any help?
<script type="text/javascript">
function init() {
var mapDiv = document.getElementById('map');
var latlng = new google.maps.LatLng(42.9967, 21.941667);
var options = {
center:... | stackexchange/codereview |
Ok, normally I know you would do something like this if you knew the array values (1,2,3 in this case):
SELECT * WHERE id IN (1,2,3)
But I don't know the array value, I just know the value I want to find is 'stored' in the array:
SELECT * WHERE 3 IN (ids) // Where 'ids' is an array of values 1,2,3
Which doesn't work.... | stackexchange/codereview |
c# WinForms.Listbox.
listBox1.DataSource = ds.Tables[0].DefaultView;
listBox1.DisplayMember = "Question";
listBox1.ValueMember = "idQuestion";
//for ValueMember showing...
textBox2.Text = listBox1.SelectedValue.ToString();
//What I must use for DisplayMember showing?
textbox3.Text = ??????????
| stackexchange/codereview |
I am fairly new to sessions.
I have a classifieds website, and users may chose to "EDIT" their classifieds.
All they have to enter is a password which they chose when creating the classified.
In the "edit.php" page, if the password is correct, the classified details show up. There is a picture upload tool, which reload... | stackexchange/codereview |
I have a number of controls inside a Canvas element and I want to be able to move them inside the Canvas using the arrow/directional keys (up, down, left, right). What's the easiest way to do this in WPF/code-behind? Is there an idiomatic WPF way of doing this?
I guess I should clarify: I want to be able to move each c... | stackexchange/codereview |
Hello
How would one go about reverse engineering a page such as the this one to work out where the data being used to create the chart comes from?
Many thanks
| stackexchange/codereview |
I am trying to load a file using the SQL Server Import Data function - appending rows to an existing table.
my existing table is created like this:
CREATE TABLE [dbo].[load](
[Long] [varchar](50) NULL,
[Lat] [varchar](50) NULL,
[Geog] AS ([geography]::STGeomFromText(((('POINT('+[Long])+' ')+[Lat])+')',(432... | stackexchange/codereview |
I'm trying to apply a gradient background to just one row in a XAML Silverlight grid that I've created.
I can do something like this without any trouble:
<Grid>
<Grid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0" />
<Grad... | stackexchange/codereview |
We have a number of popups (generated using Javascript) that are displayed during page navigation.
When we record the webtest, the script doesn't capture all of them.
If there a way around this?
| stackexchange/codereview |
I am working on an existing website that uses Zend Framework, and I am trying to avoid hard-coding content that needs to be dynamic in nature.
I have a list of articles that need to be output as links with or without a description. Each link generates a dynamic page that will output the full article with a breadcrumb a... | stackexchange/codereview |
I tried dst==192.168.1.101 but only get :
Neither "dst" nor "192.168.1.101" are field or protocol names.
The following display filter isn't a valid display filter:
dst==192.168.1.101
| stackexchange/codereview |
I'm following the James Brannan tutorial's, and im trying to share data between some xbis. No luck.
I have 2 xib's. The first, simple button and textfield. The second, just a label, to show the result of the first xib textfield.
So, i dont know what im doing wrong. Im using NSObject like in tutorial.
SharedData.h
#impo... | stackexchange/codereview |
I want to use the inotify mechanism on Linux. I want my application to know when a file aaa was changed. Can you please provide me with a sample how to do that?
| stackexchange/codereview |
I am looking for some solution for ASP.NET GridView that will allow to resize columns. Can anybody have expirience in it and suggest the best solution?
| stackexchange/codereview |
Dear friends,
I have created one music app. It contains some collection of albums, when we click on a particular album the songs in that album will be loaded in to anther activity. These songs are displayed as rows of table layout and these rows are dynamically changed based on the songs.I have registered... | stackexchange/codereview |
Right now I'm base 64 encoding them and using data uris. The idea was that this will somehow lower the number of requests the browser needs to make. Does this bucket hold any water?
What is the best way of serving images in general? DB, from FS, S3?
I am most interested in python and java based answers, but all are wel... | stackexchange/codereview |
I'm working on a project where a Windows web server running PHP is communicating over a very slow connection with a back end Linux server running an application written in C++. Because the connection between the two machines is so slow, I'd like to compress the traffic moving between them.
I've gotten to where I can c... | stackexchange/codereview |
It seems apparent that each core of the GPU could allow for handling of a request, rather than one main processor (the system's CPU) handling all requests. On the surface, it seems like it is possible, perhaps with Templates in GPU + Redis database in GPU GDDR5?
Is it possible and worthwhile?
| stackexchange/codereview |
I made a Q&A page. I'd like to click on the question and have the page scroll to the question using jQuery. What script do I use? Does anyone have an example I can learn from?
| stackexchange/codereview |
I'm trying to move this T-SQL stored procedure to a CLR procedure, but there's a Service Broker specific command that I don't know how to implement:
DECLARE @msgBody XML
DECLARE @dlgId uniqueidentifier
;RECEIVE top(1)
@msgBody = message_body,
@dlgId = conversation_handle
FROM ... | stackexchange/codereview |
New Details:
Repaint method of my JPanel object does not work when called from inside actionPerformed event of my main class. It DOES work inside the ImageViewer method of the main class ImageViewer but does not work inide the actionPerformed method of this class.
These are the essential parts of my code which are not ... | stackexchange/codereview |
I want to set the Rounding Mode to HALF_UP on my DecimalFormat, but eclipse is telling me that setRoundingMode() is not available on the DecimalFormat class. My project properties (and the overall Eclipse properties) are using the 1.6 compiler. The developer.android.com site says that I can use either Java 5 or 6 so I'... | stackexchange/codereview |
Have you ever heard of really working python-libraries for the realization of the SMPP client and the SMPP server?
| stackexchange/codereview |
The functionality I am looking for is similar to the rake middleware command in Rails, except for a generic rack application.
| stackexchange/codereview |
I'm working on a number crunching app using the CUDA framework. I have some static data that should be accessible to all threads, so I've put it in constant memory like this:
__device__ __constant__ CaseParams deviceCaseParams;
I use the call cudaMemcpyToSymbol to transfer these params from the host to the device:
voi... | stackexchange/codereview |
I can get total available memory by:
ActivityManager activityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
activityManager.getMemoryInfo(memoryInfo);
memoryInfo.availMem;
However, how do you get Total memory (RAM) of the device?
I did read:
Ho... | stackexchange/codereview |
How can I learn CPU usage percentage of a process in kernel-space?
We are trying to limit CPU usage of a process looking at a field added to task_struct.
For example if the field is 10 and the process has already consumed the %10 percent of total timeslice we need to prevent the process from running.
| stackexchange/codereview |
I wonder why align doesn't work when used in external style sheet but works fine in inline (correct me if I'm wrong)
and also I can't use both align and external styilng by using an id for div
http://www.jsfiddle.net/pahnin/rdgbq/5/
| stackexchange/codereview |
I'm using curl to fill a form. After completion of the post the other script which handles the form is redirecting to another URL. I want to get this redirect URL into a variable.
| stackexchange/codereview |
I have a WPF Linq-to-SQL project which I have been developing using MS Visual Studio 2008. I was running SQL Server 2008, and recently upgraded it to version R2. Now, whenever I build my SETUP project (not the app itself), the build process causes a window to launch:
SQL Server 2008 R2 Management Studio
Please wait whi... | stackexchange/codereview |
I have found a situation where a WCF client can crash a WCF ServiceHost if the ServiceHost has a UserNamePasswordValidator that takes a while to process. I would like to hear any suggestions on solutions before I go throw this at Microsoft.
The steps to reproduce is:
Open a channel
Call an API method which takes 10 se... | stackexchange/codereview |
The Eclipse's Outline View only displays the active class's methods/variables.
Is it possible to also display the parent class's (and maybe the parent's parent, and so on...) methods/variables in the Outline View?
| stackexchange/codereview |
on any blogspot blog, if you click on a label, it will do a search for you on all the blog, showing stuff tagged with that label.
is there a way to do that again? i mean to search for 2 labels. I want to see all the posts that have both labels.
is there something built in?
if not, can I do something about that on my bl... | stackexchange/codereview |
This doesn't happen in Chrome or Safari. It's a little bit noticeable in IE8, but very slight (and gray). The outline I see on both my monitors is greenish. I don't know if it's an issue with my graphics card or with Firefox's rendering of fonts at different opacities.
It happens whether or not the style is set CSS sta... | stackexchange/codereview |
I have a large codebase in a homebrew python framework. I'm going to be gradually moving the code to Django, but in the meantime need to support logging in via the old system. The old system uses a cookie to identify the user after they have logged in.
I don't want users to log in via Django, but I do want to be able... | stackexchange/codereview |
I'm trying to make a simulator base on percent and being changed by an overall ... what is the best way to do it?
We want to simulate, for example, a swing. 20% to calculate something as a result of the list overall hitter and pitcher and determine whether or not he hits the ball. So if he hits the ball, is he made a h... | stackexchange/codereview |
This question is probably going to make me sound pretty clueless. That's because I am.
I'm just thinking, if I were hypothetically interested in designing my own text editor GUI control, widget, or whatever you want to call it (which I'm not), how would I even do it?
The temptation to a novice such as myself would be t... | stackexchange/codereview |
I am having problems creating a variable with data from another class. Here is what I am doing...
<?PHP
class Customers extends Controller {
private $foo = $this->session->userdata('foo');
}
| stackexchange/codereview |
I have just finished developing a wpf application that uses a sql ce db. I am using installshield2010 express to package up the application.
I have created a folder (ProgramData) within installshield and created a directoy for my db e.g. c:\ProgramData\Test\Data\MyDb.sdf however when I run the application I get an erro... | stackexchange/codereview |
How can I remove a UITabBarItem from a UITabBar?
I haven't tried anything, because I haven't found anything from Google searches or the documentation for UITabBar, UITabBarController, or UITabBarItem.
Thanks in advance! :)
| stackexchange/codereview |
I'm currently in the planning stages for a real-time multiplayer game that would be built using Javascript at the frontend and PHP on the backend and I'm just wondering if anyone here knows of any good libraries for such a game?
| stackexchange/codereview |
class Base
{
private: bool mEnabled;
public: bool getEnabled() { return mEnabled; }
};
class First : public Base;
{
// ...
};
class Second : public Base
{
Second() {
// I have to check First::mEnabled
}
};
class Manager
{
First obj1;
Second obj2;
};
I have some class manager which hand... | stackexchange/codereview |
I am tasked with writing a distributed event managing tool where each client, either a Ruby, C# or Java Client, synchronises all changes with a list of registered clients. I have to use XML-RPC to achieve the goal. My team and I have written up an XML-RPC client and server in each language and will provide the relevant... | stackexchange/codereview |
I seem to have a problem displaying work orders. in my app. The clients does not have the same problem so why does the work orders not show up. Actually it is as almost as a black space appears rather than text that should appear from my database.
The problem seems to be because work orders have a many-to-many field. I... | stackexchange/codereview |
I have a hibernate query which returns 10s of thousands of object results. Is it possible to cycle through chunks of the query rather than handling the entire query at once?
Sample code:
Query q = session.createQuery("FROM Class");
List<Class> classList = (List<Class>) q.list();
Thanks
| stackexchange/codereview |
I've read several of the questions on this but am still a little confused.
For example: OK, I can't post examples because of hyperlink limitations
Here is my exact situation.
I have a site at mydomain.com
One of the pages has an iframe to another page at sub.mydomain.com
I am trying to prepare an onload script that if ... | stackexchange/codereview |
I'd like to use the evercookie javascript library to receive the users cookie and make the spring security rememberme-service use it.
I read a bit about implementing a custom remember-me service, but I think I just need to discover the cookie on the client-side using the evercookie library. I've got zero knowledge abou... | stackexchange/codereview |
I have an application where I am using the clipboard for copy and paste operations. For copying I have used this code:
Clipboard.Clear();
const byte VK_CONTROL = 0x11;
keybd_event(VK_CONTROL, 0, 0, 0);
keybd_event(0x43, 0, 0, 0); // Send the C key (43 is "C")
keybd_event(0x43, 0, CONST_KEYEVENTF_KEYUP, 0);
keybd_event(... | stackexchange/codereview |
I have to create a voting system for school with java, the system will be used to vote for movies. It will have all of the users and movies set up before hand by someone.
It is a console application and it will be ran on multiple computers.
Some of the questions i have about this are:
My teacher wants us to use a tex... | stackexchange/codereview |
I'm having a mental block here, and algebra not really being my thing, can you tell me how to re-write the JavaScript code below to derive the variable, c, in terms of a and b?:
a = Math.pow(b, c);
c = ?
Thanks!
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.