EVERYTHING

EVERYTHING

  • All Sites

0 answers

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 …

0 answers

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}\ \ …

5 answers

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 ...

0 answers

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 ...

0 answers

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; ...

0 answers

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 …

1 answer

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
0 answers

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
0 answers

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
2 answers

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: ...

1 answer

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
0 answers

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 ...

0 answers

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
3 answers

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
1 answer

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 …

4 answers

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 ); …

3 answers

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
4 answers

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 ...

2 answers

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
2 answers

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
1 answer

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
0 answers

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
1 answer

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") …

1 answer

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 …

1 answer

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
5 answers

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
0 answers

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
1 answer

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
1 answer

Why is my for loop of cilk_spawn doing better than my cilk_for loop?

I have cilk_for (int i = 0; i < 100; i++) x = fib(35); the above takes 6.151 seconds and for (int i = 0; i < 100; i++) x = cilk_spawn fib(35); takes 5.703 seconds The fib(x) is the …

1 min ago
1 answer

Node.js EACCES error when listening on http 80 port

Node.js throws following error while running on http port 80 (default port):- Error: EACCES, Permission denied at Server._doListen (net.js:1062:5) at net.js:1033:14 at Object.lookup ...

15 30 50 per page
1 2 3