instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Im trying to get pixel collision in one of the games im working on.
It has to be a pixel collision on one row of pixels on the X axis.
One of the things I tryed was:
var imgData = context2D.getImageData(160, 0, 3, Height);
And Height is afcorse the canvas height.
But this gives me a Security error" code: "1000.
This o... | stackexchange/codereview |
I'm new to rails and testing and have a problem with loading my fixtures.
payment.yml
payment:
name: something
amount: 1.5
event: some_event
user: some_user
description: long text
users: some_user, some_user2
users.yml
some_user:
email: test@test.com
nick: name... | stackexchange/codereview |
I am currently writing stack that is being implemented with a linked list. I am get this error:
Unhandled exception at 0x75249617 in STACK_LinkedList.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x002ee8f8.
I believe it is possibly coming from either my push() or pop() functions. I can't find my e... | stackexchange/codereview |
So I'm using PIE.htc from http://css3pie.com/ and using it on a parent element div#page-contents, as well as some elements inside that (dl.mainfeatures, div#login-stuff, etc.). On IE 8 (haven't tested other versions yet), the CSS3 code I use appears just fine on the parent element, but none of the child elements are sh... | stackexchange/codereview |
I need some pointer crafting an MS-DOS batch "function" to advance the system calendar N number of days from the current one. Is there a more machine-friendly command, or am I stuck with DATE and some Franken-hack parsing of it?
| stackexchange/codereview |
i am searching for a way to have a headline button in the dojo dijit editor that wraps elements with html h2 tags.
Is there such a thing? i couldn't find anything.
| stackexchange/codereview |
in my new project (windows-C#-vs2008)I want the executable to be able to autonomously update itself- perhaps from a network server
Here What I do is download any updated dlls to "isolated storage" (each as separate dlls) then modify the CurrentDomain_AssemblyResolve() method
AppDomain.CurrentDomain.AssemblyResolve += ... | stackexchange/codereview |
Its my first time using modal windows. And I'm currently using fancy box. But the problem is I can't style the elements inside of it. Using the usual styling using css.
I'm calling regprod.php which is a create form and put it inside the modal window. But I can't see the style that I applied.
<a id="inline" href="http... | stackexchange/codereview |
i asked a question about chess game 2days ago,and a friend suggest me the code below,and i have question about it.it was this link
please see:
private image Displayimage;
i don't know how should i put images from pieces of chess game in it,and where should i put it?
class PiecePosition
{
public enum ChessC... | stackexchange/codereview |
If I have a static object (file), which being requested by clients via HTTPS - is it possible to cache the file after encryption took place? (for the purpose of saving the processing time of encrypting for each and every client upon request)
Note: I'm not asking how to do it, but rather if it's even possible.
| stackexchange/codereview |
I have a frame which pops up whenever an event occurs.
Whenever that frame pops up, I want a sound to be played.
How can I do that in Swing?
| stackexchange/codereview |
I previously asked a question over on Pro Webmasters about putting Javascript at the bottom of the HTML when using jQuery's $(document).ready(). The answer was that JS has to wait for the entire DOM to load anyway so it makes no difference where the JS code goes.
However, in practice this doesn't seem to be the case. I... | stackexchange/codereview |
In emacs, I sometimes invoke call-last-kbd-macro by mistake. When undoing I would have expected undo to undo the entire effect of the keyboard macro atomically, but that does not happen. Instead I find myself having to undo each step of the macro one at a time. How can I get emacs to return to the buffer state before t... | stackexchange/codereview |
I have a datasource with columns id,myname,eventime,ceasetime.
I need to find out duplicate date ranges for a given Key. I tried to use -
(from data1 in myDatasource
from data2 in myDatasource
where data1.SeqId != data2.SeqId
&& data1.myname ==data2.myname
where data1.Event_Time <=da... | stackexchange/codereview |
I'd like to post the order of my thumbnails to a text file as an array to be read and echoed by some PHP later. The current file() function in PHP looks for a character return to signal each array entry.
jQuery:
var order = $('#thumbList').sortable('toArray');
PHP:
$order=file('order.txt');
foreach ($order as $value... | stackexchange/codereview |
I've installed the module - http://drupal.org/project/formblock (Enables the presentation of node creation forms in blocks)
I've enabled it for a particular content type and then exposed that block, to show when an Organic Group node is being viewed.
What I would like to do is hide that block if the current logged ... | stackexchange/codereview |
We have an application made up by a host (exe) and a lot of modules (dlls) containing gui etc.
Sometimes, the application freezes on shutdown. Mostly it happens during testing through TestComplete. We are not able to reproduce the behavior during debugging.
How can we find out why the application freezes?
I would gues... | stackexchange/codereview |
when tried to build a AIR application for android using flex builder I did the following steps to do that .plz tell me where the error happened
1.Created Air application using flex builder that produced two type of files .swf and .xml files and cetification file
2.Created apk file from the above files using "Pac... | stackexchange/codereview |
I am looking for a commutative cipher - that is
E(K₁,E(K₂,P)) = E(K₂,E(K₁,P))
but is not associative - that is
E(K,P) ≠ E(P,K)
That rules out XOR, which otherwise would have been ok.
A symmetric cipher would be preferable, but an asymmetric cipher would work too.
The basic protocol I want to implement is:
Alice has ... | stackexchange/codereview |
I have a collection:
List<VPair<Item, List<Item>> dependencyHierarchy;
The first item in pair is some object (item) and the second one is a collection of the same type objects that the first one depends on. I want to get a List<Item> in order of dependency, so there are not items that depend on the first element and s... | stackexchange/codereview |
I was having a problem in getting result through hibernate.
I have four tables SnsUser, Participant, Interaction, Content;
SnsUser & Interaction has many-2-many relationship and Interaction and Content has many-2-one.
(SnsUser and Interation got Set of Participant in there mapping classes, hibernate does for many-2-m... | stackexchange/codereview |
How can I save a json-encoded string with international characters to the databse and then parse the decoded string in the browser?
<?php
$string = "très agréable";
// to the database
$j_encoded = json_encode(utf8_encode($string));
// get from Database
$j_decoded = json_decode($j_enc... | stackexchange/codereview |
I need to change screen resolutions using my application.
How to:
Read current resolution
Changing it using my application and then returning to current on exit.
Thanks,
Furqan
| stackexchange/codereview |
<td style="border:#999 solid thin; background-color:#000; color:#FFF;" id="tp">00.00</td>
<td style="border:#999 solid thin; background-color:#000; color:#FFF;" id="tv">00.00</td>
When the #tp value changes this value should be reflected in #tv
My Code
$('#tp').change(function() {
$('#tv').text($('#tp').text())... | stackexchange/codereview |
Can any one explain to me
what is Data Oriented programming?
Is Data oriented programming and functional programming the same?
How is Data Oriented programming different from Object Oriented programming?
Under what circumstances do we choose Data Oriented programming languages over Object Oriented programming ... | stackexchange/codereview |
I am developing a website using asp.net and C#.
I am using a RadioButtonList control. The code snippet for RadioButtonList is shown below
<asp:RadioButtonList ID="RLCompareParameter" runat="server"
RepeatDirection="Horizontal" meta:resourcekey="rsKey_RLCompareParameter"
AutoPostBack="True"
... | stackexchange/codereview |
Inside Global.asax.cs I get:
Object synchronization method was called from an unsynchronized block of code
protected void Application_Start()
{
InitContainer();
AreaRegistration.RegisterAllAreas();
RegisterRoutes(RouteTable.Routes);
ControllerBuilder.Current.SetControllerFactory(t... | stackexchange/codereview |
I am getting linker error while trying to run a sample project. Could you let me know how can I fix this?
Thanks in advance.
make[1]: Entering directory `/home/rumi/MobiusProject/Multiproc-Paper/Transformer/ssg'
/usr/bin/g++ -w -DMOBIUS_LITTLE_ENDIAN -DMOBIUS_LINUX -m32 -o ssgGen_Linux -L../../lib/Linux_lib/ -L/ho... | stackexchange/codereview |
I have a wrapper UserControl around a DropDownList for managing language specific translation on the DropDownList values.
I also have a required field validator that is required for the inner dropdownlist.
How can I expose this control via the usercontrol to allow validation?
The error I am currently getting is as foll... | stackexchange/codereview |
I've a few titles and a divs that wraps the content related to each title. when the page loads, I add a plus image inside each header-title. I also, hide divs with their content. When user clicks the title, I'd like (1)to change plus image into minus image and (2) display the div and their content.
$(function () {
... | stackexchange/codereview |
I have a Collection (a Set to be specific) and want to create a PriorityQueue from it. I also want my custom comparator, but there's no such constructor.
PriorityQueue(Collection c)
PriorityQueue(int initialCapacity, Comparator comparator)
http://developer.android.com/reference/java/util/PriorityQueue.html
Is there a... | stackexchange/codereview |
I have a bug in my current code that I have been banging my head against for a couple days. I'll post the summary version of the code below (not my actual code, but it still compiles).
#include <iostream>
using namespace std;
int main()
{
int x = 7;
switch(x)
{
case 1:
{
case 2:
cout << "hi... | stackexchange/codereview |
is there any framework or tool that auto generate ORM (Object-Relational Mapping) layer for PHP?
| stackexchange/codereview |
Im trying to use git extensions and I really like it so far, but I don't manage to push to github. The following command works fine in git bash:
git push "origin" master:master
and then when I push with git extensions I get this:
C:\Program Files\Git\bin\git.exe push "origin" master:master
Permission denied (publickey... | stackexchange/codereview |
i mount a SMB path using this code
urlStringOfVolumeToMount = [urlStringOfVolumeToMount stringByAddingPercentEscapesUsingEncoding:NSMacOSRomanStringEncoding];
NSURL *urlOfVolumeToMount = [NSURL URLWithString:urlStringOfVolumeToMount];
FSVolumeRefNum returnRefNum;
FSMountServerVolumeSync( (CFURLRef)urlOfVolumeToMount, N... | stackexchange/codereview |
I have some HTML like this
<div id="topContainer">
<div id="level1" style="display:none;"> </div>
<div id="level2" style="display:none;"></div>
</div>
I can retrieve level1 and level2, calling show() and hide() on them successfully. However, having style="display:none;" and then calling jQuery("#topContainer").show(... | stackexchange/codereview |
I am new with MS CRM (Well.. spot the obvious.. but..)
How can I deploy existing report in MS CRM 4.0?
I don't want to edit or create a new one. I have a .rdl file and I just want to deploy it and publish it for a custom entity.. How do I do that? There is a report wizard in which I thought I could just select my repo... | stackexchange/codereview |
hey guys, i just want to ask if the jquery file tree plugin is able to list my folders and files under my "C:/" drive. how can i able to do that?
i used -> root: 'C:/' but it doesnt seem to be working.
thanks.
| stackexchange/codereview |
How would I get my script to send out a loop of Post data to the Apache server?
I have tried creating one and it does not loop.
This is done on education base.
It would need to have Host + Time, the loop depends on the time inputted.
| stackexchange/codereview |
i have the following function, which doe a basic job of mapping an lxml object to a dictionary...
from lxml import etree
tree = etree.parse('file.xml')
root = tree.getroot()
def xml_to_dict(el):
d={}
if el.text:
print '***write tag as string'
d[el.tag] = el.text
else:
d[el.tag] = ... | stackexchange/codereview |
I know this might sound very basic but here's my problem:
I have an onclickevent listener that's supposed to increment the counter indefinitely when it's clicked:
final int counter = 0;
myimageView2.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
counter ++;
}
});
The problem i... | stackexchange/codereview |
I need to translate arbitrary good old DOS wildcard strings to regex strings, which then are to be used with System.Text.RegularExpressions.Regex. Unfortunately, my regex knowledge is quite embarrassing.
I'm trying to wrap my head around stuff like *.*, .*, and *.. My current problem is that *. is generally expected t... | stackexchange/codereview |
Just wondered if anyone could point me in the right direction here?
I'm trying to debug a deployed web application and can't seem to get the attach to work.
Here's the scenario:
VS2010 installed on my machine - with all source code.
IE8 on my machine browsing to ASP.NET site on production IIS server (FWIW .pdb files on... | stackexchange/codereview |
I'm writing a text editor with Scintilla (actually ScintillaNET, but information on vanilla Scintilla could be useful as well). In this editor, we're wanting to display change information in a margin (for instance, if I modify a line of text, that line would display my name in the margin). I've managed to have the ma... | stackexchange/codereview |
Ok I'm trying to have a situation where I check if a file exists, if it does then I give the user the option to download it again - I want the default (enter) to be Y, I want Y or y to continue the script, I want N or n to exit the script, and I want all other responses to go back and re-prompt the question... but I'm ... | stackexchange/codereview |
I know that design patterns is generally something that's connected to OO programming, but do you have some pattern you often use when you program C?
I'm not interested in simple translations of the classical OO patterns and please don't mention Duff's device. ;-)
| stackexchange/codereview |
Background
I have a GSM modem connected through a COM port. I open the COM port using CreateFile and I'm able to send various AT commands. I use ATD to place a CSD (data) call or ATS0=1 to receive one.
Now the problem
How can I know that the connection has broken in the middle of a data call?
Actually, when a call is ... | stackexchange/codereview |
I am designing a compiler in C. I want to know which technique I should use, top-down or bottom up? I have only implemented operator precedence using bottom up. I have applied the following
rules:
E:=E+E
E:=E-E
E:=E/E
E:=E*E
E:=E^E
I want to know that am I going the right away?
If I want to include if-else, loops, arr... | stackexchange/codereview |
Can someone please rewrite this XAML into C# code ?
<DataGrid.GroupStyle>
<GroupStyle ContainerStyle="{StaticResource GroupHeaderStyle}">
<GroupStyle.Panel>
<ItemsPanelTemplate>
<DataGridRowsPresenter/>
</Ite... | stackexchange/codereview |
I have to make a web call which will take a file from the user and post it to the server.
i am new to web so what should mt url be like.
i tried http//www.example.com?param[id]=1
so what should the next parameter be which will take uploaded file data.
i think he has to give me the binary data of the file
thanks in adva... | stackexchange/codereview |
Why do we do refactoring? What are the benefits of refactoring? What problems can be avoided by performing refactoring the code of a software tool?
| stackexchange/codereview |
Just wondering which is faster in terms of performance and usability? Or if there's anything better out there?
| stackexchange/codereview |
As a small exercise I am trying to write a very small, simple game engine that just handles entities (moving, basic AI etc.)
As such, I am trying to think about how a game handles the updates for all of the entities, and I am getting a little bit confused (Probably because I am going about it in the wrong way)
So I dec... | stackexchange/codereview |
can someone provide me with an article on CTE. Article should describe purpose of CTE and where it should be used.
| stackexchange/codereview |
am using codeIgniter to develop a web app and for my UI, I want to use jQuery-UI-Tabs.
I am locked down as to how to get my views to show up in their respective tabs. Any help?
| stackexchange/codereview |
I have a Employer object that can have multiple People:
//entities
public class Person {
public virtual Guid Id {get;set;}
public virtual string Name {get;set;}
public virtual Employer CurrentEmployer {get;set;}
}
public class Employer {
public virtual Guid Id {get;set;}
public virtual string Name... | stackexchange/codereview |
I have to build a virtual environment for my "Virtual Reality" class like second life but not complicated as it is. I will use it to examine the effect of virtual environment in social life of handicaps and/or old people. So i need to build a collaborated virtual environment with general features like chatting, perform... | stackexchange/codereview |
I want to analyze Nmap source code,for a start, what should I do?
Nmap have many files and folders,and I don't know where to start, what should I do?
i want know some Nmap work like how nmap detects the os or how nmap detects open ports?
Does some nmap work exist in modules?
Thanks.
Best Regards.
| stackexchange/codereview |
I need an efficient way to display errors I've collected from a form onsubmit function. Here is my error collecting function:
function checkForm(form) {
var errors = "";
errors += checkName(form, form.name.value);
errors += checkSex(form, form.sex.value);
if(form.gender[0].checked || form.gender[1].checked) {
... | stackexchange/codereview |
I'm just wondering what the "best" way to do namespacing in javascript is. I know this has been asked a million times, but I've seen many methods including simply declaring an object as your namespace containings its relevant variables and methods. Is this the preferred way or is it better to use the the protype cons... | stackexchange/codereview |
A palindrome is a word, phrase, number or other sequence of units that can be read the same way in either direction.
To check whether a word is a palindrome I get the char array of the word and compare the chars. I tested it and it seems to work. However I want to know if it is right or if there is something to improve... | stackexchange/codereview |
OK, i'm making an app that pulls down rss feeds, the initial table view is the headlines, the second view shows the detail of that headline the user selected.
This is the code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[[self appDelegate] setCurrentlySelectedBlogItem... | stackexchange/codereview |
If I have a Java class return escapeHTML format data. Then I want to unescape the information is a JSP script, is there such a way to do so?
only has escapeXml attributes.
| stackexchange/codereview |
I have a .NET 3.5 webform project and want to add a generic handler (ashx) to accept ajax calls. My current implementation has me parsing out the Request object (ex. Request["param"]) in the handler in order to obtain all querystring values. Is there a better way to do this? I know MVC projects have model binding capab... | stackexchange/codereview |
$text =
"<tab><return><nbsp>O'Neil really
likes his pudding's, he really really does!!!1.5"
I would like to have this if possible where '<tab>' is an actual tab \t space not literally '<tab>'
$text = "O'Neil really likes his pudding he really really does 1.5"
removing the whites paces and replaces them with one sp... | stackexchange/codereview |
Does anyone work with Infragistics UltraChart? I'm trying to bind a DataTable with elevation monitor data to a line graph in a Windows form.
As you can see from the following code, I have the DataSet and DataTable defined, and have started setting up the properties of the chart, but I'm not sure how to tie the DataTab... | stackexchange/codereview |
i have a photo and when the user hovers over it i display on top of the photo (using absolute positioning) 2 arrow, one for going in the previous photo and one for going to the next. Here is the code so far...
$('a.large_product_photo').hover(
function () {
$('.arrow').fadeIn(300);
},
function () {
$('.ar... | stackexchange/codereview |
I've verified that $requestDom->saveXml() is returning valid XML but at the destination URL I have print_r($_POST) and it doesn't receive anything. Am I missing something here? :-\
$connection = curl_init();
curl_setopt($connection, CURLOPT_POSTFIELDS, array(
'xml' => $requestDom->saveXml()
));
... | stackexchange/codereview |
From the number of questions posted here, it's clear that people have some pretty fundemental issues when getting their heads around pointers and pointer arithmetic.
I'm curious to know why. They've never really caused me major problems (although I first learned about them back in the Neolithic). In order to write bett... | stackexchange/codereview |
When logged in as Administrator and trying to install a Joomla extension it fails giving this error message
JFolder::create:
Unable to create destination
At another Joomla site it works, and one difference is where it works Joomla is setup with default English and where it fails setup is in Swedish. Can you recommend... | stackexchange/codereview |
I can't align text on the BlackBerry screen. I've tried using a LabelField or a RichTextField but the text is not getting aligned the way I want. It is aligned horizontally and hidden in the screen. I want the text to wrap on the next line, when it hits the end of the screen horizontally, rather than getting hidden.
He... | stackexchange/codereview |
For jpeg,gif,png I use libgd. ( not ImageMagick - it's not possible ). May I resize bmp image using simple method/library ?
| stackexchange/codereview |
I have a C file generated with f2c (Fortran to C translator) that contains the following C structure:
struct {
real rez, pi, st;
} const_;
How can I declare this const_ variable as an external in another .c file without modifying the one generated by f2c?
| stackexchange/codereview |
I'm trying to create simple function that will work two ways. Basically, when I click on .slideme once it will add a class, and when I click second time it will remove that class.
I have this:
$(".slideme").click(function() {
$('#login').addClass("green");
},function(){
$('#login').removeClass("green");
... | stackexchange/codereview |
I'm having an issue on a site I'm building where the datatable is not
loading (on server) but works fine on local host (xamp). Firefox throws an error, "$ is not defined."
I've googled the errors, and I found a friend's solution that jquery.js file has not been included or your reference to it is pointing to the wrong... | stackexchange/codereview |
How to make screen capture video using Direct Show.net Library?
I read msdn Direct show document and find the way to change video source device within the following code.
This code got webcamera as video device.
public IBaseFilter FindCaptureDevice()
{
int hr = 0;
IEnumMoniker classEnum = null;
IMoniker[] moni... | stackexchange/codereview |
We have ASP.NET Application in Test server. For first time access the Login page of that application load time is slow. Response time is around 25-30 sec. After that I refershed the page or Opened with a new browser, loading of Login Page is around 1-2 sec.
Only user name & password columns are there in login page. I... | stackexchange/codereview |
Hi i'm new to codeigniter and trying to simply pass a GET variable to a controller function and have that controller search a database based on that GET variable string. I am using ajax to fetch the returned view with results and display it back on the page..
my issue is that i have a link where onclick it will execut... | stackexchange/codereview |
Possible Duplicate:
Conditional PAUSE (not in command line)
I have a .bat file that does some processing and prints some output and people likely want to check that output. Different people (depending on their personal preferences and work flow) run this file differently: some using "Start->run" dialog, some start i... | stackexchange/codereview |
I use the following javascript class to pull variables out of a query string:
getUrlVars : function() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
vars[key] = value;
});
return vars;
}
So this works: http://example.com/signinup.htm... | stackexchange/codereview |
What is the formula for discount,
in php is there any default function ,
this is my formula, chk it is correct way ,
$SELLING_PRICE = $ACTUAL_PRICE-$CHK_DISCOUNT_THERE;
$PRICE_AFTER_DISCOUNT = $ACTUAL_PRICE-$SELLING_PRICE;
| stackexchange/codereview |
I'm running Emacs + ENSIME and using sbt in an emacs window (M-x term) to compile and run tests. Is there any way to click/select to jump to the failing tests? At the moment I have to scroll up a long way to find what failed, then open the right file and go to the line number. Seems likely there is an easier way.
(L... | stackexchange/codereview |
I have some binary data representing an image to be used as a texture on an OpenGL based system.
I'm trying to determine the actual format of this image... eg: RGBA, RGB5_A1, RGB8...
From a brute force approach, I get the best results drawing it as RGB5_A1, though it appears smaller than it should.
Attempts to render i... | stackexchange/codereview |
What I would like to do is to create a trigger for my table where anytime someone makes and update, I log the username/nym, GetDate(), and the name of the table being updated into another table called something like "Updates"
| stackexchange/codereview |
I would like to see label6 display the number of correct times the user chooses the number. And label7 display the number of times the user choose incorrectly. Its not incrementing by one.
Error 1 Operator '++' cannot be applied to operand of type 'string'
Error 2 Operator '++' cannot be applied to operand of type 's... | stackexchange/codereview |
I want to show mouse coordinates while the cursor over the red div and mouse button is down.
The problem is when i release the button outside the div and return the cursor back to the div, onmousemove event is not removed.
NOTE: I don't want to use any library like jQuery.
<script type="text/javascript">
... | stackexchange/codereview |
first of all, the code
//
// chat_client.cpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <cstd... | stackexchange/codereview |
I have two queries. The first returns some results and the second one returns nothing. Here they are.
This one returns some results:
select md5(concat(ad.line1, ad.line2, ad.city, s.name, ad.zip, group_concat(distinct c.name))) id,
group_concat(distinct c.name) customer_names,
count(distinct c.name) numbe... | stackexchange/codereview |
Is there any way I can launch an activity from a portion of a string.
eg
I have this in my strings.xml file:
<string name="clickable_string">This is a <u>clickable string</u></string>
I would like the text between the u tags to be underlined and launch an activity when clicked when inserted in to a TextView
| stackexchange/codereview |
Possible Duplicate:
Javascript === vs == : Does it matter which “equal” operator I use?
Many recommend using === for comparison everywhere in your JavaScript instead of ==, and it sounds reasonable.
I was wondering are there any situations where using == would be actually beneficial over ===?
| stackexchange/codereview |
I'm fairly new to web service development, and I am really confused about how ASP.Net Development Server synchronizes with code during debug mode. When I make changes to my service, I cannot figure out how to propigate those changes so that my client can "see" them (I've been able to synchronize through a stumbling ... | stackexchange/codereview |
I'm looking for some kind of tool to generate a map (on openstreemap basis) with (colored) signalstrength points generated from a scan (not related to wlan, but quite similar to gpsmap from kismet). The input data is right now in a .kml file but converting this before won't be a problem. Any hints?
| stackexchange/codereview |
I am in a need of implementing rounded corners in IE. I am aware of the HTC approach using VML, but that's not an option because it complicates things (like when you have absolute and relative positioning, etc) and it can only apply the effect on all corners.
I am going to use Photoshop to make the rounded corners, and... | stackexchange/codereview |
I am currently trying to insert some simple true/false radio buttons in Rails 3, but I can't find a way to make a radio button insert "false".
My code is the following:
<%= f.radio_button :accident_free, true %><label for="auction_accident_free_true">ja</label>
<%= f.radio_button :accident_free, false %><label for="auc... | stackexchange/codereview |
I have set a TTPhotoViewController to display a XML retrieved photosource.
It is working, but I want to be able to start the controller showing another given photo from my datasource that is not the first one (start showing the third, or the fourth for example)
Anyone knows how to do this?
Thanks a lot!
| stackexchange/codereview |
In one of my Excel workbooks I have created a macro containing the following lines:
On Error GoTo saltaw
Open fileout For Output As #iFileNumber
However, when fileout contains some invalid chars ("\", for example) the macro stops and the error window "Runtime error '76': Path not found" appears, as if the on error got... | stackexchange/codereview |
When using Google Search the results contain full URLs. Using the Google AJAX API only returns the domain name.
For example, the search "contact softkube" returns http://www.softkube.com/contact/ as the link in Google Search whereas it returns http://www.softkube.com/ ONLY as the link when using the Google AJAX API.
To... | stackexchange/codereview |
We are currently implementing SAML2 SP lite profile for our SAAS offering and we are looking for a way to certify our implementation.
I already did some research and learned about the Kantara Initiative ( http://kantarainitiative.org/wordpress/programs/iop-certification/ ). Anyone has some feedback on the interoperabi... | stackexchange/codereview |
I am new to PHP codeigniter,
how to get checkbox values using php Codeigniter in Controller.
Here is the Checkboxes, i want to get checkbox values base on name as "businessType" in controller using post menthod.
<input type="checkbox"name="businessType" value="1">
<input type="checkbox"name="businessType" value="2">
<i... | stackexchange/codereview |
Currently when I want to add a grey color on a Bitmap I use the following
Bitmap.SetPixel(x,y, new Color.FromArgb(100,100,100);
My question more is. It uses some steps that are not required in my opinion:
We have a greyscale color: 100
I have to convert it into a real RGB color (100,100,100)
Then it calculates what c... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.