EVERYTHING

EVERYTHING

• All Sites

## How do I apply alt text when working with Retina-size images?

I'm adding double-sized images to my web site, and then squishing those images back down with the CSS background-size property, which appears to be a common way to deal with our new high-res retina …

## Integral in Disguise$\sum_{j,k=1}^\infty \frac{H_j(H_{k+1}-1)}{jk(k+1)(j+k)}=-\zeta(2)-2\zeta(3)+4\zeta(2)\zeta(3)+2\zeta(5)$

Hi I am trying to calculate the infinite double sum  S:=\sum_{j,k=1}^\infty \frac{H_j(H_{k+1}-1)}{jk(k+1)(j+k)}=-\zeta(2)-2\zeta(3)+4\zeta(2)\zeta(3)+2\zeta(5),\quad H_n:=\sum_{k=1}^n\frac{1}{k}\ \ …

## MEX compile error: unknown type name 'char16_t'

I cannot compile any MATLAB MEX code due to the following error: In file included from /Applications/MATLAB_R2013a.app/extern/include/mex.h:58: In file included from ...

## Clojure, mapping with a cycle of functions

new to clojure, so maybe I am going about this totally the wrong way and all, but is there a way to do this type of thing? (map (cycle [+ -]) [1 1 1] [1 1 1]) I would want it to return, in this ...

## add small image to large image for oclMat in openCV

I have a frame and want to put it in on a bigger image in openCV using openCL type oclMat. But code below gives me black frame result: capture.read(fMat); // frame from camera or video oclMat f; ...

## Is it possible to downgrade the default version of Python from my Ubuntu installation?

I have installed Ubuntu 14.04 which comes with Python 3.4 installed by default. But I wish to downgrade it to Python 3.3 for my needs. However, when I try to remove it, it also wants to remove other …

## Why is my code not making the entire array print in sequential order

an array is entered: ary[] = [11 12 13 14 15 16 17 18 19 20 11 12 13 14 15 16 17 18 19 20 11 12 13 14 15 16 17 18 19 20 11 12 13 14 -1] (the negative one signifies that it is the end of the ...

30 secs ago

## sql query, 3 tables joining

Here I am unable to solve the below questions query with given 3 tables need help Thanks in advance. e.g. create table salesMan ( salesmanID varchar(20), name varchar(20) ); create table ...

31 secs ago

## Reading multiple lines to redirect

currently I have a file named testcase and inside that file has 5 10 15 14 on line one and 10 13 18 22 on line two I am trying to bash script to take those two inputs line by line to test into a ...

33 secs ago

## Embed Java Applet on GitHub Page

I am working on a Java project that I am hosting on GitHub. I wanted to use GitHub Pages to have a page hosted on GitHub with the applet embedded. I set it up here: ...

## Scatter plot in R with non numeric data

I need to represent some non numeric data of a questionnaire in a scatter plot in R. What I mean by a non numeric data is that, I have two questions answers to which are some text. For example Q1 has …

33 secs ago

## Variable scope inside for and if/else

I have the following snippet of code which does not update the variable CH_end inside the if else statement unless I use 2 separate if statements. for provider, games in ...

## Why doesnt CSS styled body extend to page bottom

All code is visible here http://codepen.io/anon/pen/Hmpke the css is html { background-color: #8EA3E8 } body { margin: 10px; background-color: #D4A144; border: 10px solid black; …

37 secs ago

## Can you use obverse/reverse when referring to a sheet of paper?

Is it acceptable to use 'obverse and reverse' when referring to the sides of a loose-leaf sheet of paper? The wikipedia article on, "Obverse and Reverse" stated that: "Obverse and its opposite, …

40 secs ago

## Multiple foreign keys pointing to same table in Entity Framework are indistinguisible

I'm unable to distinguish between foreign keys when two or more point to the same table through the database context. For example, if I have a db with two tables, Users and Invoices. Users has two …

## Why redirect page doesn't work after 3 views from same device?

I use this javascript below to redirect a user to another web page if the user comes 3 times on the same webpage, but it's not working unfortunately. var count = Number( localStorage.visitCount ); …

## Javascript - Why is my RegEx for mm.dd.yyyy - mm.dd.yyyy not working?

I have written following code: var date_regex = new RegExp("\d{2}[./-]\d{2}[./-]\d{4}", "gi"); var period = "27.03.2014 - 24.04.2014"; console.log(date_regex.exec(period)); I get console log : ...

44 secs ago

## How to change icon on Google map marker

I want to use my customize icon on Google map, and added icon url on the code. But it's still not reflecting on the map. Can anyone suggest, what i am missing here. Why icon is not changing, after ...

## iOS7 Embedded YouTube Video Issue on iPad Only - Need to press play multiple times

I'm in the process of updating an iPad app to be compatible with iOS7. The app plays YouTube video clips which are embedded within UIWebViews which in turn are embedded within tableview cells. When …

47 secs ago

## New missing/unsatisfied dependencies: service jboss.jdbc-driver.com_mysql (missing) dependents: [service jboss.data-source.java:jboss/MyDB]

I use jboss 7.1.1.Try to start the server but i got an exception. I have tried many things but nothing works Got this stack trace:New missing/unsatisfied dependencies: service ...

47 secs ago

## Running Android projects in Eclipse has error: An internal error occurred during: “Launching InsideCarolina2”. com/android/ddmlib/InstallException

My eclipse flipped out, and now will not run any of my Android projects, all of which were working fine before. If I try to right click and run as Android project, nothing happens. If I go to ...

47 secs ago

## trouble linking two classes in java

i have 2 classes...the main class App.java, is extending JFrame. I need the second class to run a method that grabs an array from the first....makes changes to it...and sends it back.... this is the …

49 secs ago

## Trying to run or include javascript in the head of page using Jade

So, this it my code: extends layout doctype html html(lang="en") head meta(charset="UTF-8") title = My Page Title script(type="text/javascript",src="../javascripts/jquery-git2.js") …

## Hierarchical statistical diagrams

I would like to create a diagram like the one below in LaTeX (probably with TikZ). This diagram and others can be found on this website. It looks like it was made with LaTeX, but I am not entirely …

## problem playing video in totem 14.04

I'm having trouble playing videos in ubuntu. After upgrading from 13.10 to 14.04 Totem crashes if I move the slider. I am playing a mkv file. It starts playing alright, but if I move the slider totem …

58 secs ago

## Can I add uncooked noodles directly to soup?

Most noodle soup recipes that I see call for boiling and draining the noodles separately, then adding them to the broth already cooked. Is there any reason that I can't just add the dry noodles 10 ...

1 min ago

## Continuity of series

Prove that $\displaystyle \sum_{j=1}^{\infty} \frac{1}{x^p}$ is continuous for p>1. I can prove that this series converges uniformly. However, does this imply continuity? How do I prove continuity …

1 min ago

## Adding the sorted elements in list

I have a list ["Roll_Number","Marks in subjects"]: list_1=[(1,22),(1,22),(2,29),(2,16),(3,56),(4,32),(4,12)] I tried this code in python to get sum of all subjects for each roll_no : sub_sum = …

1 min ago