1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

wiTcH_doCtoR 1 hours 8 minutes ago.
**1** answers,
**0** views
java strings programming-challenge time-limit-exceeded

In the below code there are 3 inputs. First line of input is the number of testcases for which the program will run where (1<=testcases<=10) and i is an int. For each testcase Second and third input will be a...

I want to set/define a certain height for all colspans in my tables automatically. The (empty) colspans just separate the table content visually in every second row (like the screenshot shows). Their height has to be 20px. My very bad...

First, are these two expressions "I feel like to .." and "I feel like ..ing .." correct? So, What's the meaning of them? And what's the difference between them?

I've tried to solve the following exercise (Ross First Course 8th edition): I have to chose three students from three groups of $n$ students (in total exist $3n$ students): If I must choose two students of the same group and...

\myTileWallPaper is defined in the classfile like this \makeatletter \newcommand{\myTileWallPaper}[4]{% \begingroup \setlength{\tileYoffset}{\wpYoffset} \setlength{\tilewidth}{#1}% \setlength{\tileheight}{#2}% \setlength{\tileY}{0pt}% \whiledo{\lengthtest{\tileY < \paperheight}}{% \setlength{\tileX}{0pt}% \setlength{\tileXoffset}{\wpXoffset}% \whiledo{\lengthtest{\tileX < \paperwidth}}{% \put(\LenToUnit{\tileXoffset},\LenToUnit{\tileYoffset}){% \includegraphics[height=\tileheight,width=\tilewidth]{#3}}% \addtolength{\tileX}{\tilewidth} \addtolength{\tileXoffset}{\tilewidth} }% \addtolength{\tileY}{\tileheight} \addtolength{\tileYoffset}{\tileheight} }% \endgroup } \makeatother When I use two \AddToShipoutPictures, LaTeX...

I need some help: Define a 2-form on $R^n$ by $\omega=dx_1\wedge dx_2+dx_3\wedge dx_4+...+dx_{2n-1}\wedge dx_{2n}$. How to compute $\omega^n:=\omega\wedge\omega\wedge\ldots\wedge\omega$?

I'm getting this error: 1 /home/nacion/mcparley/VentaParley.sh: line 163: unexpected EOF while looking for matching `"' /home/nacion/mcparley/VentaParley.sh: line 166: syntax error: unexpected end of file This is the script: #!/bin/sh # # screen -S bun -X stuff ""`echo -ne '\015'` #...

As I understand it, the Sun will transition from its current phase as a 'yellow dwarf', to a red giant, and finally to a white dwarf. Even during these phases I understand there are transitional considerations, including the increases in...

Let $f(x) = \sqrt {\ln x} \ln (\ln x)$ Prove $f(x)$ is uniformly continuous. I'd be glad to get hint/guidance. I tried to follow the definition of uniformly continuous, but got stuck in the very beginning. Maybe Lipschitz can come...

Suppose some Muslims in another country need help, e.g. in a war, in an earthquake. Is it obligatory for Muslims in other countries to help them? What about a situation when the government, who could have Islamic rules, has banned...

I have a lot of files named like this: DOS1, DOS2, DOS3, DOS4, ..., DOS128. Each file contains four columns (first column is the same) with numbers, like this: DOS1 is: 33 12 1 2 16 32 8 1 9...

I'm effectively looking to change the 'Could' in this question to a 'what' or 'How'. Could higher land-based life exist on a planet with a pressure of about 1 MPa? I'm working on a story in which humans visit a...

I would like to show this type of relations in a simple map with Openlayers. http://www.openstreetmap.org/api/0.6/relation/1637735/full I'm specially interested in being able to show tags as legend. Do you know how can I do it in the simplest way possible?...

lumee today at 15:03.
**1** answers,
**0** views
javascript digital-signature digital-certificate webcryptoapi

I'm trying to sign data using the WebCrypto API, but instead of creating a private/public key and exporting it to pkcs#1 or 8, I would really like to use a user's PKCS#12 to sign data. I've read the W3C spec,...

In order to add a key/value pair at the end of the section in INI file, I would like to: Find the match section name and check if next square bracket (i.e. ^[) is available. If so, find the last...

This question already has an answer here: How do I remove a directory and all its contents? 2 answers I am using Centos as my server OS and in my desktop I have a directory called "john", I need...

Calculate the line integral of $ \int_{C} xy\,dx + 2y^2\,dy $, where C is composed of two parts: the arc of the circle from $ (2,0) $ to $ (0,2)$ and the line segment from $ (0,2) $to $ (0,0)...

I have the following PowerShell script I am looking to add a header to this results without having a duplicate per each iteration but I am not familiar enough with Powershell if anyone can point me in the right direction...

I need to create a custom module which over writes the existing 'Review' Module to add an extra field 'Email Id' I believe I need to over write core Model files 'app/code/core/Mage/Review/Model/Resource/Review.php' ,'app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php' and Block file 'app/code/core/Mage/Adminhtml/Block/Review/Edit/Form.php' Also I don't...

This question already has an answer here: How does one attack a two-time pad (i.e. one time pad with key reuse)? 3 answers Basically we're given the text 7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B 73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B 64C6401BAF45F6A930435F3DF875C4E102F8742A45C824AFCA9B 7AC24F5EAF17F0A0754D5834BC3CC3A90ABD7B2A52C222ABC89B 72C24A52B550B3B8624D4F22F86BD2B30ABD642C498122A1D29B 73CC5457BF17E7A4750C5423B178D0A44FFF756355C03CABC28A 74CC0155B443B3A8795F4224AA7E97B507F2632606CF3FA0D59B And what we have...

Why won't Google allow me to use a password ending in a space anymore? Backstory: I have memorized a cipher that allows me to generate a different and very strong password across many different websites and services, without using the...

Josiah Ruddell today at 14:00.
**1** answers,
**0** views
c# conditional conditional-operator operator-precedence associativity

We get into unnecessary coding arguments at my work all-the-time. Today I asked if conditional AND (&&) or OR (||) had higher precedence. One of my coworkers insisted that they had the same precedence, I had doubts, so I looked...

I would like to place a figure side-by-side with a table, and have both of them aligned to the top. This is what I came up with: \begin{figure} \begin{minipage}[b]{0.65\linewidth} \includegraphics[width=0.9\textwidth]{3_comparative/fig/pic.pdf} \end{minipage} \begin{minipage}[t]{0.35\linewidth} \begin{tabular}{| c | c |} \hline Contrast &...

I am entering my publications into the CV. Currently, I am using enumitem to define a new enumerate list as follows: \makeatletter \newlength{\bibhang} \setlength{\bibhang}{1em} \newlength{\bibsep} {\@listi \global\bibsep\itemsep \global\advance\bibsep by\parsep} \newlist{bibenum}{enumerate}{3} \setlist[bibenum]{label=[\arabic*],resume,leftmargin={\bibhang+\widthof{[999]}},% itemindent=-\bibhang, itemsep=\bibsep,parsep=\z@,partopsep=0pt, topsep=0pt} \let\oldendbibenum\endbibenum \def\endbibenum{\oldendbibenum\vspace{-.6\baselineskip}} \makeatother And add the...

I bought a Quo tablet (chinese one) that has the following specs: Intel Atom processor z2520 Android 4.4 1GB RAM 8GB ROM 7" 1024x600 res 2MP rear camera First, when I tried to install Pokemon Go through the google store...

I'm trialling Ordnance Survey OpenSpace Pro WMS, and I have a basic map showing all the layers I'm going to be licensed for (free ones plus vector map local). This works fine, but I'd like to make the most zoomed...

I am learning tkinter and trying to place an image on a Button, but I cannot get past the import. My code: from tkinter import * from PIL import Image, ImageTk The error: No module named 'ImageTk' Based on a...

I'm trying to update apa.cls for 6th edition (a large task since I'm not a true latex hacker) and I'd like to force the headings for certain levels to conform to title case. That is the first letter of every...

Having followed the tutorial for deploying custom commands etc at the following link: How to deploy a custom component using a setup project It's a little different to how things were at version 9. Well I've tried many things and...

How can I get the a's to align? This is what my text: \begin{enumerate}[label=\alph*.] \item $f(x)=x^2+6x+9$\tab{$a=1,\quad b=6,\quad c=9$} \item $f(x)=2x^2+4x$\tab{$a=2,\quad b=4,\quad c=0$} \item $f(x)=4x^2-12x+9$\tab{$a=4,\quad b=-12,\quad c=9$} \item $f(x)=-6x^2-12x-1$\tab{$a=-6,\quad b=-12,\quad c=-1$} \item $f(x)=-x^2+x-1$\tab{$a=-1,\quad b=1,\quad c=-1$} \item $f(x)=-4x^2+3$\tab{$a=-4,\quad b=0,\quad c=3$} \end{enumerate}...

Use mathematical induction to prove that $3\cdot 5^{2n+1} +2^{3n+1}$ is divisible by $17$ for all $n âˆˆ \mathbb{N}$. I've tried to do it as follow. If $n = 1$ then $392/17 = 23$. Assume it is true when $n...

I have a polygon layer named scale_polygons_v4. I want to get ids of overlapping polygons. I have tried the code below: select distinct s1.id,s2.id from scale_polygons_v4 s1 inner join scale_polygons_v4 s2 on s1.id!=s2.id and s1.kind=s2.kind and st_overlaps(s1.geom,s2.geom) The results are...

I'm sure I found this on this site but can't for the life of me find the answer again. I'm looking for a science fiction story that starts off on an alien spaceship. There is a human that was abducted...

I use Drupal 8 Paragraphs module. I created a Content type Landingpage. I create some Paragraph types like Hero Image, Intro text etc. In the Content type Landingpage I created a Paragraph Entity reference revisions field. In the REFERENCE TYPE,...

I have the following csv file: ID,PDBID,FirstResidue,SecondResidue,ThirdResidue,FourthResidue,Pattern RZ_AUTO_1,4tov,1404,1405,1518,1519,CG/AA Canonical ribose-zipper RZ_AUTO_2,4tov,1405,1406,1517,1518,GU/AA Naked ribose-zipper RZ_AUTO_3,4tov,1043,1044,1047,1048,CC/GA Naked ribose-zipper RZ_AUTO_4,4tov,1556,1557,1514,1515,CC/GA Naked ribose-zipper RZ_AUTO_5,4tow,130,131,99,100,AU/CA Canonical ribose-zipper RZ_AUTO_6,4tow,766,767,1524,1525,AA/CG Canonical ribose-zipper RZ_AUTO_7,4tow,131,132,98,99,UC/AC Canonical ribose-zipper I need to go through each row and print rows where the...

How to get decimal value of weight in mini cart. I need to display only 2 decimals 11.00 instead of 11.0000

while going through learn bash the hard way, I found that [ and test are both commands and synonyms, and both are builtin. As it is a builtin it should not give any error for builtin [ , but I...

I want something like this: std::tuple<int, bool, double> MyFunction_1 (void); void MyFunction_2 (decltype (MyFunction_1) ¶ms); Obviously in this example code pointer to function would be passed What I want is to have equivalent of this: void MyFunction_2 (std::tuple<int, bool, double>...

I have created a web map to show some sales information using QGIS with Leaflet library. I wonder if there is a way to show pie charts in the same web map as a separate layer? Although pie charts are...

Is it possible to replace occurrences of a character sequence recursively without iterating over the same sequence again? By performing a sed as in the following scenarios I can get the mentioned output. $ echo XX | sed -e 's/XX/XoX/g'...

I'm trying to calling a Java RESTful service by an html page, but I always get errors like the below: No 'Access-Control-Allow-Origin' header is present on the requested resource", 405 (Method Not Allowed) My simplest Java code is: @SuppressWarnings({ "unchecked",...

I have been on a date recently, and everything went fine until the moment the girl has told me that the Earth is flat. After realizing she was not trolling me, and trying to provide her with a couple of...

I was watching a video on YouTube and i am not sure if the given solution is correct. Can someone confirm?

Problem: Hi, I'm working on the following math problem: Suppose a set $S$ contains a sequence that converges to a point $x_{0}$ that is not in $S$. Show that the function $f : S \rightarrow \mathbb{R}$ defined by $f(x) =...

Is it possible to polymorph 2 PC characters who's level is at least 15 to successfully transform into a Cr 30 Tarrasque?

I'm working on a project on data mapping. Several checks are realized: well imported file table choice columns choice of the table typage of data I'm for at the part of the choice of columns for the moment. I'm stocking...

T. Amdeberhan today at 05:42.
**1** answers,
**22** views
co.combinatorics soft-question partitions elementary-proofs

Let $\lambda$ be an integer partition: $\lambda=(\lambda_1\geq\lambda_2\geq\dots\geq0)$. Further, let $h_u$ denote the hook-length of the cell $u$. We call $\lambda$ a $t$-core partition if none of its hooks $h_u$ equals $t$. Define $c_t(n)$ to be the number of partitions of...

So I'm set out to prove that for all $a,b\in\mathbb{R}^+$ where $a,b > 0$, and for all $r\in\mathbb{Q}$ where $r > 0$, $$ a < b \ if\ and\ only\ if\ a^r<b^r $$ This seems so obvious that it shouldn't...

We know that not all people have the same screen resolution in their computer monitor. Some people prefer widescreen display in 15'', when other uses 17'' and more for their computer experience. I am designing a web page that in...

I am in a situation where I can use an open source JavaScript plugin to fulfill a task. But when I tried to use it,I found myself I have to redesign lot of things of what I already have done,and...