The Wayback Machine - https://web.archive.org/web/20151215190052/http://stackoverflow.com/questions
0
votes
0answers
3 views

Can't view draw file

I'm trying to make a program which draws a smiley face. I can write the code, but the problem is that I have no way to view what it's drawing. I can't run the file via eclipse, and Netbeans isn't even ...
0
votes
0answers
4 views

Using MVC Validation Extensions with Checkboxes

I'm using the Brostein MVC Validation Extension package. They recently updated the package (v1.1.3) so that conditional data annotations take into account checkboxes but there has been no update to ...
0
votes
0answers
3 views

Disable Grid Scrollbars completely

I have recently started using Vaadin. I am stuck at one point. I can disable the scrollers. But the bars are visible when I resize the grid how can I hide the bars? You can see view attached image to ...
0
votes
0answers
2 views

difference between fullcalendar-engine-rails fullcalendar-rails gem

Does sby know what's the main difference between the fullcalendar-rails and the fullcalendar-engine-rails gem? I don't know which one I should pick.
0
votes
0answers
4 views

Unexpected input when read.csv in R

I'm following this guide https://courses.edx.org/courses/course-v1:MITx+15.071x_2a+2T2015/courseware/e0d9ca1c350d42e5a8d6fd6a8162c1ab/86d0a7f479474fb4a2e0bd9a279bc99c/ but when I do WHO = ...
0
votes
0answers
3 views

imap_fetchbody HTML with strange chars

I need to extract the body from an e-mail code $body = imap_fetchbody($this->stream, $this->msgno, $section); But the output contains some strange chars. In the first HTML tag in the first ...
0
votes
0answers
5 views

Best way read and compare byte data from binary files in C++?

I can't wrap my head around how I can use char arrays (the first argument of std::ifstream.read() to compare different types of data). For example, if I was trying to read the magic of a Windows PE ...
0
votes
0answers
2 views

Ready-made database of medical images for Machine Learning algorithm training

All, Please can anyone point me to a database of medical images which I could use to train some algorithms? I need something similar to this AT&T database: ...
0
votes
0answers
3 views

How to get the response if returned after the time out occurs

I am consuming a REST web service from Java code using Apache commons HTTP client API. If no response returns within the socket timeout value configured in the connection manager parameters, socket ...
0
votes
0answers
2 views

wxPython - Automatically closing nested modal dialogs

Python 2.7, WxPython 3.0.2 We are trying to automatically close an entire program under certain conditions. For various reasons, we can't just kill the process. We've had some level of success with ...
0
votes
0answers
2 views

How to change variables in applescript with if command

I have tried this forever, what am I doing wrong? you get my variable repeatvar by set repeatvar to the text returned of (display dialog "set repeatvar") if repeatvar is greater than "1000" then ...
0
votes
0answers
3 views

How can I retireve datas from databse which are updated in instant date? I want to retrieve only those data which are updated today(12 am to 12pm)

How can I retrieve data from database which are updated in instant date? I want to retrieve only those data which are updated today(12 am to 12 pm).
0
votes
0answers
5 views

UPDATE SQL by DAO in SQL Server

The query below works in SQL server UPDATE PriceGroupDetail SET Status = 'h' FROM PriceGroupDetail INNER JOIN PriceGroup ON PriceGroupDetail.[_FID_Group] = PriceGroup.[_ID] WHERE PriceGroup.[Group] = ...
0
votes
0answers
10 views

undefined reference to boost library

I am getting static link errors to boost's non header only library. Let's solve it together: The final binary is supposed to be built using libraries(libbasemainif.a for example) separately built as ...
-3
votes
0answers
10 views

Java draw a shape

I need help drawing this shape using java applet and drawpolygon https://www.dropbox.com/s/1sftfl2200rsrd1/IMG_8782.jpg?dl=0 Here is my code: import java.awt.*; import java.applet.*; public class ...
0
votes
0answers
14 views

TypeError: can only concatenate list (not “int”) to list 4

I'm required to take a Python module for my course and I get this error for my script. It's plotting the trajectory of a projectile and calculating a few other variables. I've typed the script exactly ...
1
vote
0answers
3 views

Spring Integration Reactor configuration

I'm running an application that process tasks using spring integration. I'd like to make it process multiple tasks concurrently but any attempt failed so far. My configuration is: ...
0
votes
0answers
3 views

Laravel 5.1 with nginx no input file specififed

I am using a Nginx server and under the public directory i move a laravel 5.1 app and map into sites-available and sites-enabled. When i try to access by URL it says "No input file file specified" ...
-1
votes
0answers
14 views

Get Clicks per Second for a Button

I want to get the clicks per second for a Button and save it in _clicksPerSecond. I already got how many clicks the user did: private void button_Click(object sender, RoutedEventArgs e) { ...
0
votes
0answers
5 views

Reading the dictionary element values

I have the below code where I want to read the value of dictionary 'filter' using for loop.'filter[1]'again has two values. Since dictionary is key value pair, how do I access the element value ...
-1
votes
0answers
13 views

Making a DateTime? from two strings for date and time

My input I recieve two strings: string1 = "12/15/2015" string2 = "22:45" How can I combine them to have a DateTime? value.
0
votes
0answers
5 views

Print original text for all JSON leaf primitives

Is there a simple way to iterate through a JSON object/array that contains children nested arbitrarily deeply and print out the original text used for all leaf primitives, including names within ...
0
votes
0answers
9 views

PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user. Able to log in with this account via client

I changed my site MySQL password using SET PASSWORD FOR 'siteuser'@'localhost' = PASSWORD('secret'); Followed by FLUSH PRIVILEGES; Afterwards, mysqli_connect() attempts fail in my site's DB ...
0
votes
0answers
3 views

To generate an integer output for a float variable in c

Okay this is actually a very simple code but since I am only starting to learn C, please be patient and help me out. I'll be putting my Questions as comments beside the code so that it easy to relate ...
0
votes
0answers
3 views

C# - Send email with inline attachment WITHOUT Outlook's paperclip icon?

I have a system that sends emails with inline pictures. The problem is how Outlook 2013 displays the attachments. Can I update my code in a way that tells outlook not to display the paperclip icon ...
0
votes
0answers
2 views

Database design about two type users requester and technician

I have two table to login all users (tbl_technician and tbl_requester). I had to split users in two tables because I have a third table (tbl_request) that use both of foreign key. My model like this: ...
1
vote
0answers
6 views

How to Place a FAB at the end of a View?

I'm trying to create a layout like below. The problem is that the FAB is changing position in some devices because i have hardcoded the bottom margin. I want the FAB as like in the below image. ...
0
votes
0answers
4 views

How do I instantiate an object in another namespace in Yii?

I have the following <?php namespace app\commands; use \Keyword as GoogleKeyword; class KwController extends \yii\console\Controller { public function actionTest() { $keyword = new ...
0
votes
0answers
11 views

POST form data to Controller via AJAX

I have a form and a save button. On click, I want to post all that data from the form to my Controller using Ajax. I could have done that using Input::all(), but I'm trying to avoid my page to ...
-1
votes
0answers
31 views

How can I exit a loop?

In JavaScript all I have to do is apply an ending bracket }. But in Python a colon : kicks off the subroutines in a loop, and applying a colon where the bracket would go in JavaScript just causes ...
0
votes
0answers
5 views

CSS Selector for all descendants excluding nested instances

I have a question related to Select first Descendant with CSS or How do I hide only the first element of a type? but my case doesn't match these ones. I need to target all .page descendants of class ...
0
votes
0answers
4 views

Spring websocket with sockjs and stomp client side design

I am integrating spring web-sockets into a web application. And I want to use this for two calls that are taking really long time in ajax. As per my understanding I see there are different design ...
0
votes
0answers
9 views

C# Socket, check if the socket is connected while receiving

i'm trying to learn to use sockets in c# and i've a doubt, i'm using a code something like this: byte[] data = new byte[64]; int length = 0; length = sock.Receive(data); //more code... So, the ...
0
votes
0answers
11 views

inverse scroll two divs

I am trying to inverse scroll two select controls. When I scroll down the first select the other one should scroll up. This is what I am currently doing //scroll first list if second list is scrolled ...
-1
votes
0answers
6 views

Good book for Outlook programming

I came accross Ken Slovak's book "Professional Outlook 2007 Programming". Although it is a very good book it is not current and does not support Outlook versions 2010 and above. Is somone aware of ...
0
votes
0answers
8 views

how to create search filter and text highlight in angularjs

var app = angular.module('app',['ngSanitize']); app.controller('searchCtrl',['$scope', function($scope){ $scope.searchContents = [ { title: 'Hedng one', disc_1: 'Lorem ipsum dolor ...
0
votes
0answers
6 views

set pixel values of iplimage (OpenCV) using pure C

My homework is to manually compute the Census Transform of a gray image in C. I already read the image like this: IplImage* img = cvLoadImage("image.jpg",CV_LOAD_IMAGE_COLOR); To get the Census ...
0
votes
0answers
2 views

Angular-translate $partialLoader and $urlLoader

I've implemented $partialLoader with static files and works really good, but the documentation about the use of $useUrlLoader and $partialLoader it's not really clear for me. This is my code: ...
0
votes
0answers
2 views

Drools in stream mode not working in Karaf

I am new to Drools, investigating to use Drools Fusion CEP for our product. I am executing Drools (in stream mode) fusion 6.0.2.Final in karaf 2.4.3. My kmodule.xml <kbase name="sampleKBase" ...
0
votes
0answers
4 views

Angular Bootstrap modal is loading whole page into the modal (13.0)

I'm following the documentation for Bootstrap AngularJS 13.0 I not allowed to update bootstrap (for various reasons). I've copied the documentation almost exactly but I'm getting the following ...
0
votes
0answers
10 views

How to account for a string with a space in this situation

this is a piece of code I've made that asks the user to input a string of lowercase letters only, if not they'd have to input it again. Then, it scans through the string and outputs the amount of ...
0
votes
0answers
5 views

Adding `fa fa search` right to the textbox

How to add fa fa search on the right side of a textbox? here is my html after it render the code: <div class="form-group"> <label class="col-sm-2 control-label">Search ...
0
votes
0answers
13 views

SQL Syntax with ROW_NUMBER()

Im creaing an android app and I am using MySQL. The MySQL table look like I want to get the user's rank by his qa, if I want to get Kenig's rank I will get 1 because he has the most qa (1060) and ...
0
votes
0answers
5 views

python matlibplot, harmonic type of graph

I have this piece of code I have been playing around for a little bit, it is showing convergence as I want to, but would like to have it have an harmonic effect (not having any symmetry between the ...
0
votes
0answers
5 views

Why is CrystalReports skipping records within Groups?

I have a simple CrystalReports defigned. Screen Shot: I Fill the DataSet in the Form Load protected override void OnLoad(EventArgs e) { CrystalReport2 report = new ...
0
votes
0answers
7 views

Rails custom class

I'm new to rails, so I'm probably just being stupid. I'd like to create a global instance of a custom class I've created. The class is in a file in /lib. I can access this class and initialize it in ...
0
votes
0answers
1 view

Embed Google Autocomplete Places Detail on website

I'm trying to embed place details on a website. I can easily embed/display google streetview api using an iframe and src="http...", but attempting to embed/display Autocomplete Places Detail using ...
0
votes
0answers
6 views

Yii2 check existance of model in beforeSave() and update(or insert)

I'm tring to check duplicate data in beforeSave function. But It's not working properly: There is my beforeSave function body : ...
0
votes
2answers
16 views

Display text after typing in jQuery

I have this code: http://jsfiddle.net/juqc24ux/ <input type="text" placeholder="Enter your number here..." id="resultTextBox"> $('#resultTextBox').keypress(function() { ...
0
votes
0answers
2 views

WebSocket - Invalid status line javascript

I'm running a spring 3.1.2 backend on a weblogic 12.1.3 server. In order to accept websocket connections, my configurator as follows: public class SpringConfigurator extends Configurator { ...

15 30 50 per page