All Questions
0
votes
0answers
2 views
16bytes Cipher from 8bytes Block
Its a very simple code having no problem to understand what is going on step by step. But what I don't understand, When the Blocksize is 8byte, Cipher size is 16bytes, why? I was expecting it to by ...
0
votes
0answers
2 views
xmppsream connection issue in iOS - Unable to authenticate with password
I am developing a chat system in both iOS. The chat server which I am using is ejabbered server. I am using Robbiehanson xmppframework for iOS chat client.
The issue which I am facing is that I am ...
0
votes
0answers
5 views
Splicing lists within a list
What's the most concise way to get rid of the even numbers in the sublists?
A = [ ['a',[1,2,3]], ['b',[4,5]], ['c',[6,7,8,9,10]] ]
I want the result to look like this, when printing list A:
[ ...
0
votes
0answers
3 views
How to start a new Activity after closing the Dialog Box?
I am trying to write a code in Android , i want to start an Intent after closing a custom dialog box. But after closing the dialog box the app remains in the current activity , it's not switching to ...
0
votes
0answers
3 views
Echoed, embedded php within javascript
Summary
Currently I have a webpage in which I am running some javascript to basically allow a user to create an UL list. I want to then process that list, saving it to a file on the server which will ...
0
votes
0answers
2 views
MFC help: FrameWnd output to Picture Control in Dialog
I am working on a MFC application that I use for Image Analysis. I have a FrameWnd called MillChart that I use to generate an Image. This window is displayed at the run time in the application and not ...
0
votes
0answers
2 views
upload files with strange chars when names have accents
Im was with some problem with strange chars when I do inserts on my database and I solve it searching for solutions in stackoverflow with: PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8".
But, ...
0
votes
0answers
2 views
I get a Java heap space error when migrating to Visual Studio Online using OpsHub Migration Tool
I'm trying to use the OpsHub migration tool to get our source code onto Visual Studio Online. Partway through the migration, the progress page indicates an error occurred and that the migration has ...
0
votes
0answers
1 views
Post an update to a project or task
I want to post an update to a project or a task. To do this, I think that the right object type is a note, but I haven't been able to do this successfully.
I'm making a request to:
...
0
votes
0answers
3 views
Unpivot Multiple Columns in into Rows T-SQL 2008
I did some searching and didn't come up with a good answer. I am trying to create a table from data and then Unpivot it in SQL, but can't get the columns and rows required.
IF ...
0
votes
0answers
4 views
uWSGI can not load libssl.1.0.0.dylib
When I call uwsgi, it always shows the following:
dyld: Library not loaded: libssl.1.0.0.dylib
Referenced from: /Users/xingshi/anaconda/bin/uwsgi
Reason: image not found
Trace/BPT trap: 5
Here ...
0
votes
0answers
4 views
convert “Thu May 29 2014 12:00:00 GMT-0700” to DateTime
I'm having a problem to convert "Thu May 29 2014 12:00:00 GMT-0700" to DateTime
Error:
I'm sending the value from hf in JS and to the code behind but it keep crashing
String was not recognized as a ...
0
votes
0answers
10 views
Format PHP database data
What I would like to know is when I grab data from a Database how can I format it with PHP so it looks nice.
For example, I'm using PDO to connect to the database. Heres my code:
<?php
...
0
votes
0answers
2 views
Interface a fragment managed by activity interface with Surfaceview in own thread
I am planning to have a fragment take up a section of the screen while a custom surface view occupies the rest, however I'm planning to have the surfaceview run in a separate thread.
How could I ...
0
votes
2answers
20 views
Why isn't my file being read in C#?
I'm not sure why my file isn't being read in my C# program. When I run it, it just gives a 0 in the textbox and doesn't list any names. I wonder if its a problem with something else and it is reading ...
0
votes
0answers
10 views
I need to make a spray can effect on a like paint program in java
I just made a paint program in java for my class and it works. You can choose out of 10 colors, a pen, a brush, a marker, an eraser, and clear all. I'm actually done with it, but i would like to add ...
0
votes
0answers
5 views
MySQL Generate unique identifier before insert
I writing a program that logs packets of data to a MySQL database.
The program also forwards these packets and speed is absolutely critical.
I want to be able to forward these packets as soon as ...
0
votes
0answers
2 views
wp8.1 rt graphing libraries
I would like to display a scatter plot for a windows 8.1 universal app but unfortunately all the libraries on NuGet.org give the following error when installing to the phone:
Could not install ...
0
votes
0answers
4 views
“directory not found for option” Flurry Analytics Library
Whenever I reopen my Xcode project, I always get these errors cause by the flurry analytics library:
ld: warning: directory not found for option '-L/Users/...'
ld: warning: directory not found ...
0
votes
0answers
3 views
Session Store and Socket.IO in Kraken.js
I have a problem with Kraken. I also wrote them an issue, but it seems, they are not answering, and I really need an answer. I would like to join sessions with Socket.IO.
I started with this answer, ...
-3
votes
0answers
7 views
Parse error executing a PHP file on command line
While executing this command on linux:
php /kunden/homepages/2/d490727190/htdocs/sitemap-generator.php
It return the following error. But when I execute this php script on a web browser works ...
0
votes
0answers
3 views
How To Change Text Color Of Current Tab In Android Programmig
I have read through several post on here trying to find the answer to this question, all of which have not helped. What I am trying to do is to change the color of the text of the current tab to ...
0
votes
0answers
4 views
How can I find when the HTML5 audio actually starts playing
I'm testing this in latest Chrome.
The problem is that the audio starts playing after some time (rather big, > 100ms) when calling play() method. Despite readyState is 4 and canplay has been fired by ...
0
votes
0answers
6 views
AngularJS factory mixins
I've seen some examples where methods are added to the AngularJS controller as mixins.
For example:
(function () {
var app = angular.module('angularjs-starter', []);
var ParentCtrl = function ...
0
votes
1answer
11 views
Unexpected if(T_IF) parser error
Unexpected if(T_IF) on line 15, I know it is probably something I'm not closing, and maybe I have just been staring at the screen too long but I can't find it.
<?php
$response=array();
if ...
0
votes
0answers
5 views
How to handle a database in a hybrid app?
I will to develop a hybrid app for Android and iOS using Kendo Mobile UI and Apache Cordova. How you know, we can use the frontend in both platforms, but, How can do the same around a database? In ...
0
votes
0answers
3 views
Pass Multiple Parameters To Function For Plot
I have function which takes 2 inputs:
function [r] = myfunc(x,y)
I want to plot this function but i get this error:
>> plot(myfunc, [1 2]);
Error using myfunc (line 2)
Not enough input ...
0
votes
0answers
5 views
libsodium integration on android
I'm trying to integrate libsodium library on Android project. I'm using Android Studio (0.5.8) with gradle (0.9) and android build tools (19.1).
I compiled libsodium with scripts that can be found in ...
0
votes
0answers
5 views
mod_rewrite to create nice urls
Ok so I am trying to figure out why this is not working, and I think the main issue is I am not 100% sure what I am doing.
I had found a really great article on it but cannot seem to find it again...
...
0
votes
0answers
4 views
splist results into groups
I've got a basic query to return splist items but I would like to further categorize them to display them in groups(Corporate, ICT, Performance). The Group values are stored in column named ...
0
votes
0answers
5 views
Ajax/jQuery - Load pages into a div
First of all, this is the function I'm using:
var newHash = '',
$mainContent = $('#content');
$('#sidebar').delegate('a', 'click', function() {
window.location.hash = $(this).attr('href');
...
0
votes
2answers
7 views
I have a listbox of ports, I keep getting “Cannot implicitly convert type 'int' to 'string'” [duplicate]
I'm getting "Cannot implicitly convert type 'int' to 'string" on this loading method
This is the loaded when the options page is viewed:
private void Options_Load(object sender, EventArgs e)
{
...
0
votes
0answers
6 views
Is there an advantage or disadvantage to using the same socket for UDP send and receive? Using C and C#
I have a UDP server in C on a Linux VM and a UDP client in C# in the host Windows 7 machine.
The UDP server listens for connections. UDP client connects then sends a request. The server receives the ...
0
votes
0answers
1 views
Multiple Test Methods in TestClass
Hi I am curious about how units tests work in Visual Studio default Testing package. I have three test methods marked with TestMethod attribute ina class marked with TestClass attribute.
Now when I ...
0
votes
0answers
2 views
Change list background color in Pharo with Spec
Is this supposed to change a list background color to red in Pharo?
ListModel new
items: (1 to: 10);
color: Color red;
openWithSpec.
Because it's always white no matter what, nothing ...
0
votes
0answers
9 views
Create a new console when I make a new class instance in Java
I want to be able to have multiple console outputs, one for the main class that I'm running and a second one for the new class that I'm initializing from within the main class, and I can't figure out ...
0
votes
0answers
5 views
What's the difference between XCTAssert and XCTAssertTrue?
What's the difference between XCTAssert and XCTAssertTrue? They seem to be doing the same thing, if so why do we need both?
0
votes
0answers
1 views
Share microphone on modern Android devices
Is it possible to share audio input (Microphone) stream in Android? (2012)
Says you pretty much monopolize the mic when you access it, but there have been several OS updates since the question was ...
1
vote
2answers
20 views
Error: unexpected '}' in “}” if…print()…else…print()
This error had already been discussed here:
Error: unexpected '}' in " }" and
Error: unexpected '}' in "}"
But they do not help me.
I run the code:
i <- 21
...
-2
votes
0answers
7 views
Sharing physical harddisk between host and MS-DOS on VMWare
I've got a windows 7 (64 bit) operating system hosting MS-DOS 6.22 on VMware (7.1.0). I wish to be able to share files efficiently and seamlessly between the host and MSDOS, but I seem to be having ...
-7
votes
0answers
17 views
Looking for a “signup for beta” website service [on hold]
oh great community of amazing superwo/men - please help.
I am looking for a website service (free) - that provides a simple type option to allow me to collect sign up emails.
We have a product that ...
0
votes
0answers
9 views
Multiple Timeouts using Twisted
I am sending 5 requests using the transport.write function. I wish to set a timeout for each of the 5 requests. The 5 requests are from the same Protocol Object. Is there any way for me to set a ...
0
votes
0answers
2 views
Bootstrap carousel image alt tag seo
http://www.ontwerpbureaujan.be/standen/30/beursstand-nelissen
I added alt tags to the images of the carousel on this page
the problem is, bootstrap carousel converts the images to div's, so my alt ...
0
votes
0answers
11 views
PHP automatically converting images to data URI
I have several high-resolution images that I am using on my website. I am using PHP to echo the images. I specify a width of "30" for each of the images, which correctly sizes them.
The problem is ...
0
votes
0answers
2 views
Building avahi for use in the Oracle jvm (error: jni.h not found)
This is a follow up to the following question: Compile errors when defining a macro to convert a case class instance into a map and back
The answer there resolved my initial problem -- I was not ...
0
votes
0answers
3 views
Extensions in web applications on Firefox OS
Extensions/addons in web applications on Firefox OS. When the wspacie in Firefox OS?
There is not even Adblock Plus for Firefox OS Browser app.
0
votes
0answers
5 views
Rails convention for a polymorphic model + controller
I have users, groups, and pages. Each record can have pictures.
Here is my architecture:
Polymorphic model for Pictures. Users, groups, and pages are picturable.
Nested pictures controller for each ...
0
votes
1answer
11 views
How can I simulate mouse movement in OSX, not just change the cursor location
I'm currently playing with the Leap Motion controller and trying to use it as a controller for the game Surgeon Simulator. If you search for "leap motion oculus rift surgeon simulator", you'll ...
0
votes
0answers
16 views
Push divs down in containing div with CSS
I would like to build a sort of "stack" of divs (with class .inner) within a containing div (#container) where each inner is pushed as far down in the container as possible without overlapping another ...
0
votes
0answers
3 views
Installing Ruboto on Mac using Homebrew-ed Sdk
I am trying to install the ruboto gem on my MBP retina. I have previously installed the SDK and NDK on my computer using Homebrew as the install service and have them pathed as such. However, here ...