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

How do I add CSS to Ruby On Rails?

I can't figure out how to add CSS to my Ruby On Rails code. This is my index.html.erb file where I attempt to include the stylesheet. <!DOCTYPE html> <html> <head> ...
0
votes
0answers
3 views

Command “python setup.py egg_info” failed with error code 1

I'm not able to install Scrapy.py, Every time I try $ pip install scrapy --upgrade --ignore-installed six I get Command "python setup.py egg_info" failed with error code 1 in ...
0
votes
0answers
2 views

How to create trigger on delete from table to drop corresponding view?

I want to create trigger that drops the view when the row that contains name of that view is deleted from table. Consider following table, view. CREATE TABLE views ( id serial NOT NULL, name ...
0
votes
0answers
2 views

Meteor: getting info from a single document upon click

I have a test meteor app that can be found here: http://meteorpad.com/pad/ckgN6GL4msQn4Ms5h/Jobs I have a nav bar, where each item is a document in the Jobs collection. What I'm wanting to do, is ...
0
votes
0answers
4 views

War - Card Game - With Betting - Java

Okay so here is my code, I'm not sure whats wrong with it. I know in the console box it tells me where the error is but I can't figure out with it wont convert the string, or why it says the string ...
0
votes
0answers
2 views

how can I create thumbnail while video uploading?

I am using ffmpeg to create video thumbnail while uploading video file. And I have created this upload.php file but it's not working , can upload mp4 file but not creating thumbnail. any help ? ...
0
votes
0answers
3 views

How to convert data in order to find correlation? (RStudio)

I have an assignment in which I have to create 3 mysql tables qith 50 rows of dummy data (Product,Customer,Employees). DONE Then export these tables in .csv format, import them in RStudio and "clean" ...
0
votes
0answers
2 views

Windows Phone 8.1 - Add text to Image

I've been struggling with this for a day now and it's really frustrating because it is something that you would expect to be so simple, yet, there's a lot of questions regarding this on the net. ...
0
votes
0answers
2 views

Trying to learn poll events select events interprocess communication

Can anyone recommend some good thorough books which describe and teach about poll()/select()/threads/events/POSIX? programming as well as all the theoretical interworking about it I know how to ...
0
votes
0answers
4 views

Convert Grayscale to Pastel

I have many different grays (ranging from black to white) which I want to convert to random pastel colors where each pastel has the same brightness as the gray color did. So a dark gray should be ...
0
votes
0answers
3 views

Executing securly commads in child_process in nodejs

I am creating a compiler using nodejs which compile and execute code in nodejs using child_process. I want to secure it and hence securely execute in nodejs. How can I do this.
0
votes
0answers
8 views

How come the output of this program comes to be 12?

This program should calculate the square root of 169. But surprisingly the output is coming out to be 12. #include<iostream> #include<conio.h> #include<math.h> using ...
0
votes
0answers
4 views

OneRadio in primefaces produces null values

I posted this question on the primefaces forum a couple of days ago but so far I have not got a solution. I have been trying to use OneRadio but I have been getting only null values from itemValue(s). ...
0
votes
0answers
6 views

if else in .append based value of field in json to selected a select option html

I get json like this : { "header": [{ "NO_INSPECTION": "55", "ID_CONDITION": "3", "NAMA_CONDITION": "CLEAN" }], "transaction": [{ "NO_INSPECTION": "55", "ID_ITEM_INSPECTION": "1", ...
0
votes
0answers
4 views

azimuth function produces different results depending on which unit is used

I am using the matlab function azimuth to calculate the angle between couples of points of coordinates (lat,lon) on an ellipsoid of characteristics [6378.1, 0.00335] (~ the Earth). Surprisingly, ...
0
votes
0answers
3 views

Perfomance in Hibernate 4.2 with @OneToMany - Unidirectional vs Bidirectional

I need only a unidirectional relationship OneToMany, but in Terms of performance I want to ask what is the best practice?. I did a test with Junit, and the result with bidirectional is: 1.9s and the ...
0
votes
0answers
2 views

Get WebLogic deployed applications with JMX

Is there any way to get deployed applications in WebLogic using JMX and Java?
1
vote
2answers
11 views

What can bool type return in C99?

What is bool guaranteed to return as? Can I rely on a bool type to always be interpreted as 0 or 1? If bool's numerical interpretation isn't reliable in C99 is there a standard where it is? Are there ...
0
votes
0answers
3 views

Laravel 5 add variable to blade syntax inside javascript

How can I add javascript variable to blade syntax inside javascript var logId = id; return " <a href='{{ route('logs.edit',['id'=>"+ logId +"]) }}'</a>" Like this output: ...
0
votes
0answers
3 views

Rails Delayed job task splitting

I have a pretty weird question. Namely, can I queue jobs from within a job. I have a method, which takes a long time (~ 2 hours on average), and involves parsing data from remote resources and ...
0
votes
0answers
2 views

AppleScript: How to activate menu items that only appear with option-down key (w/o shortcut)

I really looked up and down lots of questions, here and at "AskDifferent", but could not find a valid answer to this fundamental question: HOW do you "activate" programatically a menu item that's ...
0
votes
0answers
6 views

Using a for loop while maintaining list object

I'm a complete beginner trying to learn lists and for loops. In this example I have a list called "December". The values represent the temperatures for the first three days in December. The user can ...
0
votes
0answers
4 views

Assembly 8086. Read from the standard input several numbers, in base 2. Print on the screen these numbers in base 10

So, i have to convert the numbers from base two in base 10, and i have no idea how to do it.This is how my program looks for now, but I am not sure if what I got until now works properly. The ...
0
votes
1answer
3 views

OpenShift free plan shows 1 gear in use but no application installed

I'm subscribed to OpenShift free plan. The command line and the web interface are telling me that I have 1 of 3 gears in use but I don't have any applications installed. How is that possible? rhc ...
0
votes
1answer
10 views

Why does the start pointer change during the load from file?

I am coding in "C" language,using "CodeBlocks Editor",with the Compiler "GNU GCC". I'm trying to make links list from this structure: struct node { char *name; struct node *next; } node; which ...
0
votes
0answers
3 views

Error ID I/O error, dev sda, sector

I am experiencing a boot problem right now when trying to boot into Ubuntu 14.04 on my laptop.Been using it for 3 months and had no problem with it. I can boot my machine on Windows 7(since it is ...
-1
votes
1answer
10 views

Change all a hrefs with javascript?

How could I change all hrefs with custom URL on page load? Sorry, I just have no clue how I could do that. Don't realy know any js. Thanks to anyone who can help me. Realy appreciate it.
-1
votes
0answers
4 views

Slow MySQL full text search query

I have a query with full text search, when I search on 1 word it is fast (+- 0.4sec.), when I search on 2 words it is very slow (+- 30sec). What am I doing wrong? These are my tables: company id, ...
0
votes
0answers
12 views

SQL insertion fail, no error message

I got this problem with a simple sql insertion for creating a topic in a forum, by entering the name and selecting the category. I can't figure out why it doesn't work while I use the same thing to ...
-2
votes
0answers
16 views

How Do I call an API on an application?

I am new to C# and I am building an application using C#. This application will have an address lookup section which in turn present you list of street names and house numbers on that streets based on ...
-2
votes
3answers
14 views

Math issue in python code. Formula issue

Here is the code that I have written, please find traceback beneath final line. kegsize = int(input('Please enter keg size. Litres: ')) costofkeg = int(input('Please enter cost of keg. GBP: ')) abv ...
0
votes
0answers
3 views

JGraph create uni/bidirectional graph of paths

I'm working on visualization of shortest path algorithms. I have a graph of edges and vertices and I'd like to draw it using JGraph. So far I used as an example this code: JGraph in a JFrame It ...
-2
votes
0answers
13 views

Convert JSON to Hashmap using gson

I am trying to implement a shopping cart in android. There are 2 activities, one which displays the product catalog and second for checking out. Basically I am trying to pass the list of items which ...
0
votes
0answers
3 views

tess4j under windows 10

I can't get tess4j to work under Windows 10. http://tess4j.sourceforge.net/tutorial/ states: Tesseract, Leptonica, and Ghostscript Windows 32- and 64-bit DLLs are embedded in tess4j.jar; they ...
-4
votes
0answers
22 views

Jquery, CSS, HTML

I'm a newbie to front end development. I'm creating few boxes using HTML, CSS and jquery. I want to change the color of boxes to blue as I click on them. After all the boxes are clicked and the color ...
0
votes
0answers
3 views

ReactJS, Webpack, ExpressJS - How to access styles folder in root

I have the following folder structure ... --- app --- components index.js --- server index.js --- data data.json --- styles styles.css --- images logo.png In my Express ...
0
votes
0answers
3 views

Transitions of 2016 ppt not working on 2013 ppt

I made a ppt with some transitions in powerpoint 2016 but when i played it on powerpoint 2013 slides were just changing without any effect. Some of the effects i used were ...
-1
votes
0answers
8 views

How to create a interactive timeline?

I am creating a video page, where people can watch there favorite Youtube videos and interact with it. Now I would like to have a vertical timeline (like the image) that interacts with the duration ...
0
votes
0answers
2 views

Forwarding requests to nodejs server with apache2 - 500 Internal Error

I am trying to forward requests on a subdomain to my nodejs application, however when doing so I'm getting a error: Internal Server Error The server encountered an internal error or misconfiguration ...
0
votes
0answers
4 views

Cassandra C++ driver errors

I receive the following Cassandra Cluster errors: 'Expected JSON object for column 'index_options' (probably null or empty)' message repeated 308 times: 'Expected JSON object for column ...
-1
votes
0answers
6 views

How to display views from an array in a layout and avoid “specified child already has a parent”

I'm trying to make an activity that puts messages in views and displays them in order when clicked on the layout. But when i click on the layout 2 times, it works perfectly. 3rd time the app crashes ...
0
votes
1answer
9 views

Creating a two dimensional array with given width and height in Javascript

How do you write a function given arguments width, height and value that make a two dimensional array with that given width and height and fill every spot with a given value? function ...
-3
votes
2answers
12 views

Module pattern javascript not a function?

I am trying to make my javascript code adherent to a Module pattern which I am following here: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#modulepatternjavascript This is my code ...
0
votes
1answer
9 views

I want to overwrite the document with the output of a function after clicking on the page

As you can see I've added an event listener to the whole page (Operating off the assumption that I know how that works) that waits for a click of the mouse to invoke a function called square with a ...
0
votes
0answers
5 views

datagridview does not update the info I have stored in an arraylist

I have the following problem when I click the button "end" I show the form "order history". the first time it loads the datagridview it shows all the elements that are stored in the arraylist ...
-1
votes
0answers
5 views

Transport.send(message) throw Null Exception using javamail on android [duplicate]

I'm trying to send email using java-mail library in android.I have implemented following code But It's throwing Null Exception when I run and show Exception Toast. public boolean send(){ // ...
0
votes
0answers
5 views

Open link directly in office desktop app with chrome

In internet explorer for example, a link like this one: <a href="Docs/test.docx">Open Doc</a> Opens directly in office word, whilst in chrome it saves the file. Is there a way to open ...
0
votes
0answers
3 views

Binding XAML controls to complex data type (PasswordCredential)

I'm trying to create a Windows 10 app with a settings page that lets the user enter credentials the app will use to connect to an external service. I want to store those credentials in the ...
0
votes
0answers
11 views

two bytes too much using File#length()

I was trying to read a text file that I wrote with Mac's textEdit (Plain Text) by means of a simple java program. My code could be summarised as: public static void main(String[] args) { File ...
0
votes
0answers
3 views

Swift - Liking posts from other users with Parse

Good afternoon, I am trying to add a like feature for my posts, so that other users can like each others posts! I'm sure you know what I mean. (for example, Instagram/Facebook like button etc..) ...

15 30 50 per page