qid int64 1 74.7M | question stringlengths 15 58.3k | date stringlengths 10 10 | metadata list | response_j stringlengths 4 30.2k | response_k stringlengths 11 36.5k |
|---|---|---|---|---|---|
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | By embedding a type you usually want to benefit from call-forwarding. `*Bitmap`'s [method set](https://golang.org/ref/spec#Method_sets) is a super set of `Bitmap`'s [method set](https://golang.org/ref/spec#Method_sets). So in most cases you'll want to embed `*Bitmap`, unless all its methods have a receiver of type `Bit... | There seems so be a misunderstanding of receivers, as expressed in rog's answer. Methods (receivers) are not "defined on" a pointer or a type, the same methods can be called on the value-of-type as the pointer, the receiver's signature only determines whether it receives value-of-type or a pointer to value-of-type. Tha... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | By embedding a type you usually want to benefit from call-forwarding. `*Bitmap`'s [method set](https://golang.org/ref/spec#Method_sets) is a super set of `Bitmap`'s [method set](https://golang.org/ref/spec#Method_sets). So in most cases you'll want to embed `*Bitmap`, unless all its methods have a receiver of type `Bit... | i tried: <https://play.golang.org/p/IVM5OoDU9ZN>
```
package main
import (
"fmt"
)
type Base struct {
Name string
}
func (b Base) PrintName() {
fmt.Println(b.Name)
}
func (b *Base) PrintNameP() {
fmt.Println(b.Name)
}
func (b Base) ChangeName(name string) {
b.Name = name
}
func (b *Base) Chan... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | It depends. There are several possibilities here.
* If Renderer is passed around by value and the methods you need on Bitmap are defined on \*Bitmap, then you'll need to embed \*Bitmap.
* If Renderer is passed around as a pointer, then you can embed Bitmap as a value without any problem (pointer methods will still be ... | I've also found it useful when you have multiple structs all with the same embedded base type, and you want to use a helper function which modifies the values of the base struct. For example, given the following structs:
```
type Base struct {
F1 int
}
type A struct {
*Base
Fa int
}
type B struct {
*... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | It depends. There are several possibilities here.
* If Renderer is passed around by value and the methods you need on Bitmap are defined on \*Bitmap, then you'll need to embed \*Bitmap.
* If Renderer is passed around as a pointer, then you can embed Bitmap as a value without any problem (pointer methods will still be ... | There seems so be a misunderstanding of receivers, as expressed in rog's answer. Methods (receivers) are not "defined on" a pointer or a type, the same methods can be called on the value-of-type as the pointer, the receiver's signature only determines whether it receives value-of-type or a pointer to value-of-type. Tha... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | It depends. There are several possibilities here.
* If Renderer is passed around by value and the methods you need on Bitmap are defined on \*Bitmap, then you'll need to embed \*Bitmap.
* If Renderer is passed around as a pointer, then you can embed Bitmap as a value without any problem (pointer methods will still be ... | i tried: <https://play.golang.org/p/IVM5OoDU9ZN>
```
package main
import (
"fmt"
)
type Base struct {
Name string
}
func (b Base) PrintName() {
fmt.Println(b.Name)
}
func (b *Base) PrintNameP() {
fmt.Println(b.Name)
}
func (b Base) ChangeName(name string) {
b.Name = name
}
func (b *Base) Chan... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | There seems so be a misunderstanding of receivers, as expressed in rog's answer. Methods (receivers) are not "defined on" a pointer or a type, the same methods can be called on the value-of-type as the pointer, the receiver's signature only determines whether it receives value-of-type or a pointer to value-of-type. Tha... | I've also found it useful when you have multiple structs all with the same embedded base type, and you want to use a helper function which modifies the values of the base struct. For example, given the following structs:
```
type Base struct {
F1 int
}
type A struct {
*Base
Fa int
}
type B struct {
*... |
28,501,976 | I can embed in golang with pointer and value.
By pointer
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
*Bitmap
on uint8
off uint8
}
```
By value
```
type Bitmap struct{
data [4][4]bool
}
type Renderer struct{
Bitmap
on uint8
off uint8
}
```
What is more prefer ... | 2015/02/13 | [
"https://Stackoverflow.com/questions/28501976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1743843/"
] | i tried: <https://play.golang.org/p/IVM5OoDU9ZN>
```
package main
import (
"fmt"
)
type Base struct {
Name string
}
func (b Base) PrintName() {
fmt.Println(b.Name)
}
func (b *Base) PrintNameP() {
fmt.Println(b.Name)
}
func (b Base) ChangeName(name string) {
b.Name = name
}
func (b *Base) Chan... | I've also found it useful when you have multiple structs all with the same embedded base type, and you want to use a helper function which modifies the values of the base struct. For example, given the following structs:
```
type Base struct {
F1 int
}
type A struct {
*Base
Fa int
}
type B struct {
*... |
6,424,702 | In my Visual Studio 2008 project, the active configuration is Release, and there are no debug symbols enabled in the Compiler and Linker settings. I'm building an exe file from command prompt:
```
devenv standalone_cpp.sln /build "RELEASE|WIN32"
```
There is no reason why a debug dll MSVCR90d.dll should get used at ... | 2011/06/21 | [
"https://Stackoverflow.com/questions/6424702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/474323/"
] | **Re-install the MSVS2008 Service Pack 1.** Your install seems to have gotten corrupted.
I've had this happen -- it manifests with mysterious behavior like this, although I've also seen it manifest with strange "internal errors" when linking large DLLs/EXEs, and sometimes compiling very large projects, or very large t... | I think @Charley is on the money.
Download [Dependency Walker](http://www.dependencywalker.com/) and see what is actually causing the debug DLL to be loaded. If what you say in your question is correct, then it'll probably be another library that you exe is depending on. |
1,133,316 | **I. Linear recurrence with order 2**
Given the *Fibonacci numbers* $F\_n$, we have
$$\begin{aligned}
&F\_n+F\_{n+1}-F\_{n+2}=0\\[1mm]
&F\_n^2-2F\_{n+1}^2-2F\_{n+2}^2+F\_{n+3}^2=0\\[1mm]
&F\_n^3+3F\_{n+1}^3-6F\_{n+2}^3-3F\_{n+3}^3+F\_{n+4}^3=0\\
&\small\text{and so on.}
\end{aligned}$$
The coefficients are called *... | 2015/02/04 | [
"https://math.stackexchange.com/questions/1133316",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/4781/"
] | As Git Gud remarked, the integral is independent of path (because the vector field F is conservative). So choose the path along (4cos(t), 4sin(t)) instead. The answer is eventually 0. | At first compute $\vec F(t)$ by substituting the expressions $x,y$ given by your curve $\gamma$. Then compute the differentials $dx,dy$ for $x,y \in \gamma$ in dependence on $t$. Finally, evaluate the scalar product $(dx,dy)\vec F$ and calculate the integral over the interval of $t$. |
1,133,316 | **I. Linear recurrence with order 2**
Given the *Fibonacci numbers* $F\_n$, we have
$$\begin{aligned}
&F\_n+F\_{n+1}-F\_{n+2}=0\\[1mm]
&F\_n^2-2F\_{n+1}^2-2F\_{n+2}^2+F\_{n+3}^2=0\\[1mm]
&F\_n^3+3F\_{n+1}^3-6F\_{n+2}^3-3F\_{n+3}^3+F\_{n+4}^3=0\\
&\small\text{and so on.}
\end{aligned}$$
The coefficients are called *... | 2015/02/04 | [
"https://math.stackexchange.com/questions/1133316",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/4781/"
] | Here is a direct evaluation using this [link](http://en.wikipedia.org/wiki/Line_integral)
$\begin{align}
dx&=-4\sin t \\
dy&=8\cos t \sin t \\
F&=\Big(\frac{2[\exp{(2\cos 4t +14)}-e] \cos t }{7+\cos 4t},\frac{2[\exp{(2\cos 4t +14})-e] \sin^2 t }{7+\cos 4t}\Big)
\end{align}$
Your integral will hence be
$\begin{align... | At first compute $\vec F(t)$ by substituting the expressions $x,y$ given by your curve $\gamma$. Then compute the differentials $dx,dy$ for $x,y \in \gamma$ in dependence on $t$. Finally, evaluate the scalar product $(dx,dy)\vec F$ and calculate the integral over the interval of $t$. |
35,109,658 | Can someone help me with converting some (potential) bogus UTF-8 multibyte characters into ascii as follows?
`\u6162` → `["\x61", "\x62"]` → `["a", "b"]` → `"ab"`
My use case is fun only. I know I'm not compressing anything by representing two ascii characters in a multibyte character.
I've played around with variou... | 2016/01/31 | [
"https://Stackoverflow.com/questions/35109658",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/911646/"
] | `"\u6162"` is not equivalent to `"\x61" + "\x62"`. `\u` indicates a Unicode code point which does not translate directly to a hex value. [Unicode code point 6162 is 慢](https://codepoints.net/U+6162).
Because it is a string, and because Ruby uses UTF-8 by default, when you unpack it you get the UTF-8 value of U+6162 wh... | ```
"\u6162".codepoints.first.divmod(16 ** 2).map(&:chr).join
# => "ab"
``` |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | ```
new_list1 = [item for item in my_list if item[0] == 1]
new_list2 = [item for item in my_list if item[0] != 1]
```
Output :-
[[1, 'foo'], [1, 'dog'], [1, 'fox'], [1, 'jar'], [1, 'key']]
[[2, 'bar'], [2, 'cat'], [2, 'ape'], [2, 'cup'], [2, 'gym']] | This should work:
```
new_list1 = [i for i in my_list if my_list[0] == 1]
new_list2 = [i for i in my_list if my_list[0] != 1]
```
There has been some past discussion on this here: [Python: split a list based on a condition?](https://stackoverflow.com/questions/949098/python-split-a-list-based-on-a-condition) |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | This should work:
```
new_list1 = [i for i in my_list if my_list[0] == 1]
new_list2 = [i for i in my_list if my_list[0] != 1]
```
There has been some past discussion on this here: [Python: split a list based on a condition?](https://stackoverflow.com/questions/949098/python-split-a-list-based-on-a-condition) | You might want to make a list of lists, such that the list of entries with key **index** is in **new\_list[index]**.
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
new_list = [[x for x in my_list if x[0] == value]
... |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | ```
new_list1 = [item for item in my_list if item[0] == 1]
new_list2 = [item for item in my_list if item[0] != 1]
```
Output :-
[[1, 'foo'], [1, 'dog'], [1, 'fox'], [1, 'jar'], [1, 'key']]
[[2, 'bar'], [2, 'cat'], [2, 'ape'], [2, 'cup'], [2, 'gym']] | You can use list comprehension and define a function with 2 parameters as below, first parameter is the original list and second is the key(for example 1, or 2)
```
def get_list(original_list, key):
return [x for x in original_list if x[0] == key]
print(get_list(my_list, 1))
print(get_list(my_lis... |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | You can use list comprehension and define a function with 2 parameters as below, first parameter is the original list and second is the key(for example 1, or 2)
```
def get_list(original_list, key):
return [x for x in original_list if x[0] == key]
print(get_list(my_list, 1))
print(get_list(my_lis... | You might want to make a list of lists, such that the list of entries with key **index** is in **new\_list[index]**.
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
new_list = [[x for x in my_list if x[0] == value]
... |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | ```
new_list1 = [item for item in my_list if item[0] == 1]
new_list2 = [item for item in my_list if item[0] != 1]
```
Output :-
[[1, 'foo'], [1, 'dog'], [1, 'fox'], [1, 'jar'], [1, 'key']]
[[2, 'bar'], [2, 'cat'], [2, 'ape'], [2, 'cup'], [2, 'gym']] | A simple solution would be to use a dictionary.
```
from collections import defaultdict
dict_of_lists = defaultdict(list)
for item in my_list:
dict_of_lists[item[0]].append(item[1:])
```
This is nice for the general case where your "ids" can be any object.
If you then want to create variables to store them, yo... |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | A simple solution would be to use a dictionary.
```
from collections import defaultdict
dict_of_lists = defaultdict(list)
for item in my_list:
dict_of_lists[item[0]].append(item[1:])
```
This is nice for the general case where your "ids" can be any object.
If you then want to create variables to store them, yo... | You might want to make a list of lists, such that the list of entries with key **index** is in **new\_list[index]**.
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
new_list = [[x for x in my_list if x[0] == value]
... |
37,823,547 | Say you have a list of lists, so for example:
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
```
and you wanted to create (in this case two, but could be more) two new distinct lists depending on the first element of e... | 2016/06/14 | [
"https://Stackoverflow.com/questions/37823547",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5368737/"
] | ```
new_list1 = [item for item in my_list if item[0] == 1]
new_list2 = [item for item in my_list if item[0] != 1]
```
Output :-
[[1, 'foo'], [1, 'dog'], [1, 'fox'], [1, 'jar'], [1, 'key']]
[[2, 'bar'], [2, 'cat'], [2, 'ape'], [2, 'cup'], [2, 'gym']] | You might want to make a list of lists, such that the list of entries with key **index** is in **new\_list[index]**.
```
my_list = [[1, "foo"], [2, "bar"], [1, "dog"], [2, "cat"], [1, "fox"],
[1, "jar"], [2, "ape"], [2, "cup"], [2, "gym"], [1, "key"]]
new_list = [[x for x in my_list if x[0] == value]
... |
63,322 | Using the renormalization group approach, coupling constants are "running". If we apply this to the fine structure (coupling) constant, we do know that, e.g., at energies around the Z mass, $$\alpha \approx 1/128$$ instead of 1/137. We know that $$\alpha =K\_Ce^2/ \hbar c$$, or using units with $K\_C=1$,
$$\alpha=\dfr... | 2013/05/05 | [
"https://physics.stackexchange.com/questions/63322",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/22916/"
] | First of all is the [definition](http://en.wikipedia.org/wiki/Coupling_constant) of coupling constant:
>
> In physics, a coupling constant, usually denoted g, is a number that determines the strength of the force exerted in an interaction. Usually, the Lagrangian or the Hamiltonian of a system describing an interacti... | This is different from the possible time-variation of the low-energy fine-structure constant, but the same considerations apply when you try to attribute any such variation in $\alpha$ to a variation in $e$, $\hbar$, or $c$. You can't. See Duff, "Comment on time-variation of fundamental constants," <http://arxiv.org/ab... |
36,125,300 | I came from Parse to Azure and faced the problem with Azure Mobile Services. When I'm trying to setup data tables in the browser it is possible to add attributes with 4 types only, such as String, Number, Date and Boolean. It is not enough for me.
Can anyone help me how can I obtain other types (BLOB, Pointer, etc.)?
... | 2016/03/21 | [
"https://Stackoverflow.com/questions/36125300",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4697508/"
] | You don't need the `forEach` method. You can `map` each entry of the `Map` to an `int`, and `sum` those integers :
```
int sum = inputMap
.entrySet()
.stream()
.filter(entry -> entry.getKey().field().equals(fieldName))
.mapToInt(entry -> Math.min(entry.getValue().size(), 5))
.sum();
``` | The forEach invocation terminates the stream. You can use map directly without forEach. |
36,125,300 | I came from Parse to Azure and faced the problem with Azure Mobile Services. When I'm trying to setup data tables in the browser it is possible to add attributes with 4 types only, such as String, Number, Date and Boolean. It is not enough for me.
Can anyone help me how can I obtain other types (BLOB, Pointer, etc.)?
... | 2016/03/21 | [
"https://Stackoverflow.com/questions/36125300",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4697508/"
] | You don't need the `forEach` method. You can `map` each entry of the `Map` to an `int`, and `sum` those integers :
```
int sum = inputMap
.entrySet()
.stream()
.filter(entry -> entry.getKey().field().equals(fieldName))
.mapToInt(entry -> Math.min(entry.getValue().size(), 5))
.sum();
``` | With [Eclipse Collections](https://github.com/eclipse/eclipse-collections), the following will work using [MutableMap](https://www.eclipse.org/collections/javadoc/7.0.0/org/eclipse/collections/api/map/MutableMap.html) and [IntList](https://www.eclipse.org/collections/javadoc/7.0.0/org/eclipse/collections/api/list/primi... |
36,125,300 | I came from Parse to Azure and faced the problem with Azure Mobile Services. When I'm trying to setup data tables in the browser it is possible to add attributes with 4 types only, such as String, Number, Date and Boolean. It is not enough for me.
Can anyone help me how can I obtain other types (BLOB, Pointer, etc.)?
... | 2016/03/21 | [
"https://Stackoverflow.com/questions/36125300",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4697508/"
] | With [Eclipse Collections](https://github.com/eclipse/eclipse-collections), the following will work using [MutableMap](https://www.eclipse.org/collections/javadoc/7.0.0/org/eclipse/collections/api/map/MutableMap.html) and [IntList](https://www.eclipse.org/collections/javadoc/7.0.0/org/eclipse/collections/api/list/primi... | The forEach invocation terminates the stream. You can use map directly without forEach. |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | Amazon's ELB (Elastic Load Balancer) has an undocumented ([except on forums](https://forums.aws.amazon.com/thread.jspa?threadID=33427)) 60-second timeout which will tear down the connection if no data was sent. Hacking around by sending whitespace every 55 seconds seems like it'll work until they make this configurable... | The timeout for inactive connections is mentioned in the health check troubleshooting section:
<http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/ts-elb-healthcheck.html> |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | Amazon's ELB (Elastic Load Balancer) has an undocumented ([except on forums](https://forums.aws.amazon.com/thread.jspa?threadID=33427)) 60-second timeout which will tear down the connection if no data was sent. Hacking around by sending whitespace every 55 seconds seems like it'll work until they make this configurable... | The load balancer timeout, which closes the connection, is now [documented](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html):
>
> **To configure the idle timeout setting for your load balancer**
>
>
> 1. Open the Amazon EC2 console at <https://console.aws.amazon.com/ec... |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | Amazon's ELB (Elastic Load Balancer) has an undocumented ([except on forums](https://forums.aws.amazon.com/thread.jspa?threadID=33427)) 60-second timeout which will tear down the connection if no data was sent. Hacking around by sending whitespace every 55 seconds seems like it'll work until they make this configurable... | The ELB Idle Timeout range is updated and it can be from 1 second (minimum) upto 4000 seconds (maximum), and the default value for idle timeout is 60 seconds.
<https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html> |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | The load balancer timeout, which closes the connection, is now [documented](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html):
>
> **To configure the idle timeout setting for your load balancer**
>
>
> 1. Open the Amazon EC2 console at <https://console.aws.amazon.com/ec... | The timeout for inactive connections is mentioned in the health check troubleshooting section:
<http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/ts-elb-healthcheck.html> |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | The timeout for inactive connections is mentioned in the health check troubleshooting section:
<http://docs.amazonwebservices.com/ElasticLoadBalancing/latest/DeveloperGuide/ts-elb-healthcheck.html> | The ELB Idle Timeout range is updated and it can be from 1 second (minimum) upto 4000 seconds (maximum), and the default value for idle timeout is 60 seconds.
<https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html> |
120,125 | I'm using Tomcat 6.0.24 on Ubuntu (JDK 1.6) with an app that does Comet-style requests on an HTTPS connector (directly against Tomcat, not using APR).
I'd like to set the keep-alive to 5 minutes so I don't have to refresh my long-polling connections. Here is my config:
```
<Connector port="8443" protocol="HTTP/1.1" S... | 2010/03/07 | [
"https://serverfault.com/questions/120125",
"https://serverfault.com",
"https://serverfault.com/users/27809/"
] | The load balancer timeout, which closes the connection, is now [documented](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-idle-timeout.html):
>
> **To configure the idle timeout setting for your load balancer**
>
>
> 1. Open the Amazon EC2 console at <https://console.aws.amazon.com/ec... | The ELB Idle Timeout range is updated and it can be from 1 second (minimum) upto 4000 seconds (maximum), and the default value for idle timeout is 60 seconds.
<https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html> |
32,051,513 | Please excuse what I know is an incredibly basic question that I have nevertheless been unable to resolve on my own.
I'm trying to switch over my data analysis from Matlab to Python, and I'm struggling with something very basic: in Matlab, I write a function in the editor, and to use that function I simply call it fro... | 2015/08/17 | [
"https://Stackoverflow.com/questions/32051513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5233323/"
] | You need to a check for `__main__` to your python script
```
def myFunction():
pass
if __name__ == "__main__":
myFunction()
```
then you can run your script from terminal like this
```
python myscript.py
```
Also if your function is in another file you need to import it
```
from myFunctions import myFunctio... | You run python programs by running them with
```
python program.py
``` |
32,051,513 | Please excuse what I know is an incredibly basic question that I have nevertheless been unable to resolve on my own.
I'm trying to switch over my data analysis from Matlab to Python, and I'm struggling with something very basic: in Matlab, I write a function in the editor, and to use that function I simply call it fro... | 2015/08/17 | [
"https://Stackoverflow.com/questions/32051513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5233323/"
] | If you want to use functions defined in a particular file in Python you need to "import" that file first. This is similar to running the code in that file. Matlab doesn't require you to do this because it searches for files with a matching name and automagically reads in the code for you.
For example,
myFunction.py i... | You run python programs by running them with
```
python program.py
``` |
32,051,513 | Please excuse what I know is an incredibly basic question that I have nevertheless been unable to resolve on my own.
I'm trying to switch over my data analysis from Matlab to Python, and I'm struggling with something very basic: in Matlab, I write a function in the editor, and to use that function I simply call it fro... | 2015/08/17 | [
"https://Stackoverflow.com/questions/32051513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5233323/"
] | Python doesn't have MATLAB's "one function per file" limitation. You can have as many functions as you want in a given file, and all of them can be accessed from the command line or from other functions.
Python also doesn't follow MATLAB's practice of always automatically making every function it can find usable all t... | You run python programs by running them with
```
python program.py
``` |
32,051,513 | Please excuse what I know is an incredibly basic question that I have nevertheless been unable to resolve on my own.
I'm trying to switch over my data analysis from Matlab to Python, and I'm struggling with something very basic: in Matlab, I write a function in the editor, and to use that function I simply call it fro... | 2015/08/17 | [
"https://Stackoverflow.com/questions/32051513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5233323/"
] | If you want to use functions defined in a particular file in Python you need to "import" that file first. This is similar to running the code in that file. Matlab doesn't require you to do this because it searches for files with a matching name and automagically reads in the code for you.
For example,
myFunction.py i... | You need to a check for `__main__` to your python script
```
def myFunction():
pass
if __name__ == "__main__":
myFunction()
```
then you can run your script from terminal like this
```
python myscript.py
```
Also if your function is in another file you need to import it
```
from myFunctions import myFunctio... |
32,051,513 | Please excuse what I know is an incredibly basic question that I have nevertheless been unable to resolve on my own.
I'm trying to switch over my data analysis from Matlab to Python, and I'm struggling with something very basic: in Matlab, I write a function in the editor, and to use that function I simply call it fro... | 2015/08/17 | [
"https://Stackoverflow.com/questions/32051513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5233323/"
] | If you want to use functions defined in a particular file in Python you need to "import" that file first. This is similar to running the code in that file. Matlab doesn't require you to do this because it searches for files with a matching name and automagically reads in the code for you.
For example,
myFunction.py i... | Python doesn't have MATLAB's "one function per file" limitation. You can have as many functions as you want in a given file, and all of them can be accessed from the command line or from other functions.
Python also doesn't follow MATLAB's practice of always automatically making every function it can find usable all t... |
53,641,158 | I'm trying to iterate through an ArrayList and make sure that each element of the ArrayList shows up in order in a String array.
This my code so far:
```
int x = 0;
int y = 0;
int keywordLocationInPhrase = -1;
int nextKeywordLocationInPhrase = -1;
do {
if (keywords.get(x).equals(phrase[y]... | 2018/12/05 | [
"https://Stackoverflow.com/questions/53641158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2896339/"
] | Yes, indeed. You should swap (B.shape[1] - A.shape[1], A.shape[0]) to (A.shape[0], B.shape[1] - A.shape[1]) and so on, because you need to have the same numbers of rows to stack them horizontally. | Try `b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a` where b the larger array
Example below
```
import numpy as np
a = np.arange(12).reshape(3, 4)
print("a\n", a)
b = np.arange(16).reshape(4, 4)
print("b original\n", b)
b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a
print("b new\n",b)
... |
53,641,158 | I'm trying to iterate through an ArrayList and make sure that each element of the ArrayList shows up in order in a String array.
This my code so far:
```
int x = 0;
int y = 0;
int keywordLocationInPhrase = -1;
int nextKeywordLocationInPhrase = -1;
do {
if (keywords.get(x).equals(phrase[y]... | 2018/12/05 | [
"https://Stackoverflow.com/questions/53641158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2896339/"
] | Just use [`np.pad`](https://docs.scipy.org/doc/numpy/reference/generated/numpy.pad.html) :
```
np.pad(A,((0,2),(0,3)),'constant') # 2 is 5-3, 3 is 10-7
[[0 1 1 0 1 0 0 0 0 0]
[1 0 0 1 0 1 0 0 0 0]
[1 0 1 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0]]
```
But the 4 pads width must be computed; so an... | Try `b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a` where b the larger array
Example below
```
import numpy as np
a = np.arange(12).reshape(3, 4)
print("a\n", a)
b = np.arange(16).reshape(4, 4)
print("b original\n", b)
b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a
print("b new\n",b)
... |
53,641,158 | I'm trying to iterate through an ArrayList and make sure that each element of the ArrayList shows up in order in a String array.
This my code so far:
```
int x = 0;
int y = 0;
int keywordLocationInPhrase = -1;
int nextKeywordLocationInPhrase = -1;
do {
if (keywords.get(x).equals(phrase[y]... | 2018/12/05 | [
"https://Stackoverflow.com/questions/53641158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2896339/"
] | I think your `hstack` lines should be of the form
```
np.hstack((A, np.zeros((A.shape[0], B.shape[1] - A.shape[1]))))
```
You seem to have the rows and columns swapped. | Try `b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a` where b the larger array
Example below
```
import numpy as np
a = np.arange(12).reshape(3, 4)
print("a\n", a)
b = np.arange(16).reshape(4, 4)
print("b original\n", b)
b[:a.shape[0], :a.shape[1]] = b[:a.shape[0], :a.shape[1]]+a
print("b new\n",b)
... |
53,641,158 | I'm trying to iterate through an ArrayList and make sure that each element of the ArrayList shows up in order in a String array.
This my code so far:
```
int x = 0;
int y = 0;
int keywordLocationInPhrase = -1;
int nextKeywordLocationInPhrase = -1;
do {
if (keywords.get(x).equals(phrase[y]... | 2018/12/05 | [
"https://Stackoverflow.com/questions/53641158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2896339/"
] | Just use [`np.pad`](https://docs.scipy.org/doc/numpy/reference/generated/numpy.pad.html) :
```
np.pad(A,((0,2),(0,3)),'constant') # 2 is 5-3, 3 is 10-7
[[0 1 1 0 1 0 0 0 0 0]
[1 0 0 1 0 1 0 0 0 0]
[1 0 1 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0 0]]
```
But the 4 pads width must be computed; so an... | Yes, indeed. You should swap (B.shape[1] - A.shape[1], A.shape[0]) to (A.shape[0], B.shape[1] - A.shape[1]) and so on, because you need to have the same numbers of rows to stack them horizontally. |
53,641,158 | I'm trying to iterate through an ArrayList and make sure that each element of the ArrayList shows up in order in a String array.
This my code so far:
```
int x = 0;
int y = 0;
int keywordLocationInPhrase = -1;
int nextKeywordLocationInPhrase = -1;
do {
if (keywords.get(x).equals(phrase[y]... | 2018/12/05 | [
"https://Stackoverflow.com/questions/53641158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2896339/"
] | I think your `hstack` lines should be of the form
```
np.hstack((A, np.zeros((A.shape[0], B.shape[1] - A.shape[1]))))
```
You seem to have the rows and columns swapped. | Yes, indeed. You should swap (B.shape[1] - A.shape[1], A.shape[0]) to (A.shape[0], B.shape[1] - A.shape[1]) and so on, because you need to have the same numbers of rows to stack them horizontally. |
12,493,168 | I have seen pages which display div's when the user scrolls to the end of the page. When the user starts scrolling up, the div disappears. How can I do this in jQuery. I am using v1.8
So far I have tried this
```
if($(window).scrollTop() + $(window).height() == $(document).height()) {
alert('bottom')
}
``` | 2012/09/19 | [
"https://Stackoverflow.com/questions/12493168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1089173/"
] | You have to check that on scrolling:
```
var $win = $(window),
$doc = $(document),
$target = $('#target');
// save relevant elements so they don't have to be selected on each scroll call
$win.scroll(function() {
$win.scrollTop() + $win.height() == $doc.height()
? $target.show()
: $target.hide();
}... | See it working here [jsFiddle](http://jsfiddle.net/LcwEq/)
the alert div appears when you hit the bottom other wise hides |
12,493,168 | I have seen pages which display div's when the user scrolls to the end of the page. When the user starts scrolling up, the div disappears. How can I do this in jQuery. I am using v1.8
So far I have tried this
```
if($(window).scrollTop() + $(window).height() == $(document).height()) {
alert('bottom')
}
``` | 2012/09/19 | [
"https://Stackoverflow.com/questions/12493168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1089173/"
] | Example: <http://jsfiddle.net/7EzUf/>
You put your code in a `.scroll` handler for the `window` element. The function will be fired whenever the user scrolls.
```
$(window).scroll(function(){
if ($(window).scrollTop() + $(window).height() == $(document).height()) {
$('#bottom').fadeIn();
} else {
... | See it working here [jsFiddle](http://jsfiddle.net/LcwEq/)
the alert div appears when you hit the bottom other wise hides |
12,493,168 | I have seen pages which display div's when the user scrolls to the end of the page. When the user starts scrolling up, the div disappears. How can I do this in jQuery. I am using v1.8
So far I have tried this
```
if($(window).scrollTop() + $(window).height() == $(document).height()) {
alert('bottom')
}
``` | 2012/09/19 | [
"https://Stackoverflow.com/questions/12493168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1089173/"
] | Example: <http://jsfiddle.net/7EzUf/>
You put your code in a `.scroll` handler for the `window` element. The function will be fired whenever the user scrolls.
```
$(window).scroll(function(){
if ($(window).scrollTop() + $(window).height() == $(document).height()) {
$('#bottom').fadeIn();
} else {
... | You have to check that on scrolling:
```
var $win = $(window),
$doc = $(document),
$target = $('#target');
// save relevant elements so they don't have to be selected on each scroll call
$win.scroll(function() {
$win.scrollTop() + $win.height() == $doc.height()
? $target.show()
: $target.hide();
}... |
13,102,323 | I am developing JSP Search Engine i want to parse html page using **it's Link** and search for some Words in it
Thanks | 2012/10/27 | [
"https://Stackoverflow.com/questions/13102323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1577248/"
] | If it needs to correspond to case insensitive input, I would suggest simply adding a `.lower()` call when you are doing the comparison between inputs and dictionary values, as opposed to creating/converting a second dictionary just for that.
However, given that your dictionary is already in uppercase, I would use `.up... | Basically compare a lowercase version of the response to the lowercase version of the correct answer.
But there's a couple things that aren't completely clear from your question:
What exactly are you storing in `records`?
Which country name should be used in the confirmation *'Yes, ... is in the ...'*?
You want to ma... |
13,102,323 | I am developing JSP Search Engine i want to parse html page using **it's Link** and search for some Words in it
Thanks | 2012/10/27 | [
"https://Stackoverflow.com/questions/13102323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1577248/"
] | If it needs to correspond to case insensitive input, I would suggest simply adding a `.lower()` call when you are doing the comparison between inputs and dictionary values, as opposed to creating/converting a second dictionary just for that.
However, given that your dictionary is already in uppercase, I would use `.up... | The other answers shows a proper way to do it, but if you want to convert a dict to lowercase, this is the easiest but not the most effective way:
```
>>> import ast
>>> d
{'GBR': ['GBR', 'United Kingdom', 'UK', 'Great Britain and Northern Island', 'GB'], 'IRL': ['IRL', 'Eire', 'Republic of Ireland']}
>>> ast.literal_... |
13,102,323 | I am developing JSP Search Engine i want to parse html page using **it's Link** and search for some Words in it
Thanks | 2012/10/27 | [
"https://Stackoverflow.com/questions/13102323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1577248/"
] | Basically compare a lowercase version of the response to the lowercase version of the correct answer.
But there's a couple things that aren't completely clear from your question:
What exactly are you storing in `records`?
Which country name should be used in the confirmation *'Yes, ... is in the ...'*?
You want to ma... | The other answers shows a proper way to do it, but if you want to convert a dict to lowercase, this is the easiest but not the most effective way:
```
>>> import ast
>>> d
{'GBR': ['GBR', 'United Kingdom', 'UK', 'Great Britain and Northern Island', 'GB'], 'IRL': ['IRL', 'Eire', 'Republic of Ireland']}
>>> ast.literal_... |
41,087,593 | I've got the following parameters
```
/Search?category=1&attributes=169&attributes=172&attributes=174&search=all
```
I'm trying to get **just the attributes** querystring values as an array in javascript, for example.
```
attributes = ['169','172','174']
```
Bearing in mind there may be other parameters that are... | 2016/12/11 | [
"https://Stackoverflow.com/questions/41087593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1068124/"
] | You can do it like this:
```js
(function() {
function getJsonFromUrl(url) {
var query = url.substr(1);
var arr = [];
query.split("&").forEach(function(part) {
var item = part.split("=");
arr.push(decodeURIComponent(item[1]));
});
return arr;
}
var url = "https://example.co... | This should do what you want, assuming you already have your url:
```
var url = "/Search?ategory=1&attributes=169&attributes=172&attributes=174&search=all";
var attrs = url
.match(/attributes=\d*/g)
.map(function(attr){
return Number(attr.replace("attributes=", ""));
});
console.log(attrs); //=> [169, 172,... |
41,087,593 | I've got the following parameters
```
/Search?category=1&attributes=169&attributes=172&attributes=174&search=all
```
I'm trying to get **just the attributes** querystring values as an array in javascript, for example.
```
attributes = ['169','172','174']
```
Bearing in mind there may be other parameters that are... | 2016/12/11 | [
"https://Stackoverflow.com/questions/41087593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1068124/"
] | Might not the proper answer but just tried
```
var str = "/Search?category=1&attributes=169&attributes=172&attributes=174&search=all";
var str1 = str.split("&");
var attributesArray = [];
for(var i=0; i<str1.length; i++) {
if (str1[i].includes("attributes")) {
attributesArray.push(str1[i].replace("attr... | You can do it like this:
```js
(function() {
function getJsonFromUrl(url) {
var query = url.substr(1);
var arr = [];
query.split("&").forEach(function(part) {
var item = part.split("=");
arr.push(decodeURIComponent(item[1]));
});
return arr;
}
var url = "https://example.co... |
41,087,593 | I've got the following parameters
```
/Search?category=1&attributes=169&attributes=172&attributes=174&search=all
```
I'm trying to get **just the attributes** querystring values as an array in javascript, for example.
```
attributes = ['169','172','174']
```
Bearing in mind there may be other parameters that are... | 2016/12/11 | [
"https://Stackoverflow.com/questions/41087593",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1068124/"
] | Might not the proper answer but just tried
```
var str = "/Search?category=1&attributes=169&attributes=172&attributes=174&search=all";
var str1 = str.split("&");
var attributesArray = [];
for(var i=0; i<str1.length; i++) {
if (str1[i].includes("attributes")) {
attributesArray.push(str1[i].replace("attr... | This should do what you want, assuming you already have your url:
```
var url = "/Search?ategory=1&attributes=169&attributes=172&attributes=174&search=all";
var attrs = url
.match(/attributes=\d*/g)
.map(function(attr){
return Number(attr.replace("attributes=", ""));
});
console.log(attrs); //=> [169, 172,... |
46,765 | Previously I worked a lot on projects where we had test cases integrated into our VCS, so it was really easy and not disturbing to delete them if they become outdated (knowing that we can retrieve them later). On my current project we use a separate tool for a test case management, and I joined this project when a lot ... | 2021/02/05 | [
"https://sqa.stackexchange.com/questions/46765",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/46992/"
] | You can create a folder in you test management tool which should be named; "Future use(Don't delete the folder)" OR "Archived Test case" where you can move your unwanted test cases into that folder and later when you need it, you can easily retrieve them as per your requirement.
This way you don't need to delete the un... | Why not simply ignore them?
Documentation doesn't jump on someone's desk and order itself to be taken into consideration when considering what you will do.
You can add some sort of tag, either in an appropriate field or in the document title indicating it shouldn't be taken into consideration at the moment.
Thus, wh... |
46,765 | Previously I worked a lot on projects where we had test cases integrated into our VCS, so it was really easy and not disturbing to delete them if they become outdated (knowing that we can retrieve them later). On my current project we use a separate tool for a test case management, and I joined this project when a lot ... | 2021/02/05 | [
"https://sqa.stackexchange.com/questions/46765",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/46992/"
] | >
> **Tag it on feature level**
>
>
>
If all obsolete test cases belong to same functionality, tag it on top level (feature/epic) as obsolete or something.
By having tagged on top level , it then can be easily filtered in any queries on TMT level. | Why not simply ignore them?
Documentation doesn't jump on someone's desk and order itself to be taken into consideration when considering what you will do.
You can add some sort of tag, either in an appropriate field or in the document title indicating it shouldn't be taken into consideration at the moment.
Thus, wh... |
46,765 | Previously I worked a lot on projects where we had test cases integrated into our VCS, so it was really easy and not disturbing to delete them if they become outdated (knowing that we can retrieve them later). On my current project we use a separate tool for a test case management, and I joined this project when a lot ... | 2021/02/05 | [
"https://sqa.stackexchange.com/questions/46765",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/46992/"
] | You can create a folder in you test management tool which should be named; "Future use(Don't delete the folder)" OR "Archived Test case" where you can move your unwanted test cases into that folder and later when you need it, you can easily retrieve them as per your requirement.
This way you don't need to delete the un... | As a qa company, any test case created for an application's functional perspective should never be deleted. Rather we should archive those test cases in a new folder in Test Case Management tool.
Moreover, it is always helpful to add a tag named 'archived' or 'obselete' if the test case management tool provides us an o... |
46,765 | Previously I worked a lot on projects where we had test cases integrated into our VCS, so it was really easy and not disturbing to delete them if they become outdated (knowing that we can retrieve them later). On my current project we use a separate tool for a test case management, and I joined this project when a lot ... | 2021/02/05 | [
"https://sqa.stackexchange.com/questions/46765",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/46992/"
] | >
> **Tag it on feature level**
>
>
>
If all obsolete test cases belong to same functionality, tag it on top level (feature/epic) as obsolete or something.
By having tagged on top level , it then can be easily filtered in any queries on TMT level. | As a qa company, any test case created for an application's functional perspective should never be deleted. Rather we should archive those test cases in a new folder in Test Case Management tool.
Moreover, it is always helpful to add a tag named 'archived' or 'obselete' if the test case management tool provides us an o... |
15,350,648 | I have a website where in the desktop version a sidebar is shown containing 10 to 20 small images. Until now, on mobile devices this sidebar was simply hidden with a `display: none`, which is the least performant solution since all the images will be loaded anyway.
I'm now wondering what the best way is to disable the... | 2013/03/11 | [
"https://Stackoverflow.com/questions/15350648",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1003971/"
] | You can use `QueryDosDevice`. Based on the description, you'd expect this to list things like `C:` and `D:`, but it will also lists things like `PhysicalDrive0`, `PhysicalDrive1` and so on.
The major shortcoming is that it will also list a lot of other device names you probably don't care about, so (for example) on my... | Yes, you can just type `NET USE`. Here is an example output...
```
NET USE
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
H: \\romaxtechnology.com\HomeDrive\Users\Henry.Ta... |
19,715,211 | With the new version of VS 2013 RTM and asp.net mvc 5.0, I’ve decided to try out a few things...
Needless to say, a lot has changed. For example, the new `ASP.NET Identity` is a replacement of the old `Membership` and (less old) `SimpleMembership` APIs.
In all previous applications I’ve built, I never had the chance ... | 2013/10/31 | [
"https://Stackoverflow.com/questions/19715211",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/248925/"
] | you can create your own UserManager completely,wich i don't recommand unless you have a strong knowledge about how it works.you can wrap the existing UserManager and make you application rely on an interface or just use it directely and benefit from what microsoft has put in it.if you don't like EF you can create your ... | You want the UserManager from Microsoft.AspNet.Identity to do your security part such your users do not have to trust that you can handle your security information correctly.
Identity.Framework is just a datastore for the Identity stuff, you could create your own store instead if you dont want EF. I have created one t... |
6,883,859 | I have this code:
```
[self performSelector:@selector(animationWithType:) withObject:PasscodeAnimationTypeConfirm afterDelay:0.2];
```
To this method:
```
-(void)animationWithType:(PasscodeAnimationType)type;
```
Putting this in it's place:
```
[self performSelector:@selector(animationWithType:) withObject:[NSNu... | 2011/07/30 | [
"https://Stackoverflow.com/questions/6883859",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/561395/"
] | Yeah, as far as I know, you can only do performSelector:blahBlah:withDelay: with objects as parameters, not types (ints, chars, etc.).
You can create another function to help you, like this:
```
-(void)animationWithNumber:(NSNumber)type{
[self animationWithType:[NSNumber intValue]];
}
```
And using this one fro... | @Emilio: Shouldn't your performSelector call invoke your new method?
```
[self performSelector:@selector(animationWithNumber:) withObject:[NSNumber numberWithInt:PasscodeAnimationTypeConfirm] afterDelay:0.2];
```
Here is an example of mine showing a more detailed use of this concept.
<http://kerkermeister.net/objec... |
7,591,649 | I'm running Clojure 1.3 with contrib 1.1 in IntelliJ. My program consists of a single line
```
(use 'clojure.contrib.prxml)
```
I get the following error upon running
```
Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V
``` | 2011/09/29 | [
"https://Stackoverflow.com/questions/7591649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/144152/"
] | >
> I'm running Clojure 1.3 with contrib 1.1
>
>
>
There's your problem. Clojure and contrib versions are linked against each other, and are not compatible across versions.
Even more, contrib has been split up into lots of smaller libraries as of 1.3, so there is really no version of "monolithic contrib" that you... | Nothing is wrong with the call works with clojure 1.2 and contrib 1.2
If you don't need anything 1.3 specific I would suggest sticking to 1.2 for the time being, use clojure 1.2 and contrib 1.2 until contrib authors properly make the transition to 1.3 |
7,591,649 | I'm running Clojure 1.3 with contrib 1.1 in IntelliJ. My program consists of a single line
```
(use 'clojure.contrib.prxml)
```
I get the following error upon running
```
Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V
``` | 2011/09/29 | [
"https://Stackoverflow.com/questions/7591649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/144152/"
] | In addition to the answers saying that contrib 1.1 is incompatible with clojure 1.3
Taken from [here](https://github.com/clojure/clojure-contrib):
>
> Versions of clojure-contrib are matched to versions of Clojure.
>
>
> If you are using Clojure 1.0, use clojure-contrib 1.0.
>
>
> If you are using Clojure 1.1, u... | Nothing is wrong with the call works with clojure 1.2 and contrib 1.2
If you don't need anything 1.3 specific I would suggest sticking to 1.2 for the time being, use clojure 1.2 and contrib 1.2 until contrib authors properly make the transition to 1.3 |
7,591,649 | I'm running Clojure 1.3 with contrib 1.1 in IntelliJ. My program consists of a single line
```
(use 'clojure.contrib.prxml)
```
I get the following error upon running
```
Exception in thread "main" java.lang.RuntimeException: java.lang.NoSuchMethodError: clojure.lang.RestFn.<init>(I)V
``` | 2011/09/29 | [
"https://Stackoverflow.com/questions/7591649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/144152/"
] | In addition to the answers saying that contrib 1.1 is incompatible with clojure 1.3
Taken from [here](https://github.com/clojure/clojure-contrib):
>
> Versions of clojure-contrib are matched to versions of Clojure.
>
>
> If you are using Clojure 1.0, use clojure-contrib 1.0.
>
>
> If you are using Clojure 1.1, u... | >
> I'm running Clojure 1.3 with contrib 1.1
>
>
>
There's your problem. Clojure and contrib versions are linked against each other, and are not compatible across versions.
Even more, contrib has been split up into lots of smaller libraries as of 1.3, so there is really no version of "monolithic contrib" that you... |
13,664,011 | By calling `getRGB(int x, int y)` with a `BufferedImage` object, one gets a single, negative number.
How can I convert three different values (a red, a green, and a blue) into this single, negative number? | 2012/12/01 | [
"https://Stackoverflow.com/questions/13664011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/903291/"
] | Using the Color class:
```
new Color(r, g, b).getRGB()
``` | BufferedImage ends up delegating to `java.awt.image.ColorModel` which uses the following code:
```
public int getRGB(Object inData) {
return (getAlpha(inData) << 24)
| (getRed(inData) << 16)
| (getGreen(inData) << 8)
| (getBlue(inData) << 0);
}
```
Modifying this to suit your needs is a t... |
13,664,011 | By calling `getRGB(int x, int y)` with a `BufferedImage` object, one gets a single, negative number.
How can I convert three different values (a red, a green, and a blue) into this single, negative number? | 2012/12/01 | [
"https://Stackoverflow.com/questions/13664011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/903291/"
] | Using the Color class:
```
new Color(r, g, b).getRGB()
``` | **JB Nizet's answer is great**, but it can be really slow when creating new objects of type 'Color' thousands of times. The simplest way would be:
```
int rgb = (red << 16 | green << 8 | blue)
```
As answered by [ByteBit](https://stackoverflow.com/a/24596140/3496570) |
13,664,011 | By calling `getRGB(int x, int y)` with a `BufferedImage` object, one gets a single, negative number.
How can I convert three different values (a red, a green, and a blue) into this single, negative number? | 2012/12/01 | [
"https://Stackoverflow.com/questions/13664011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/903291/"
] | BufferedImage ends up delegating to `java.awt.image.ColorModel` which uses the following code:
```
public int getRGB(Object inData) {
return (getAlpha(inData) << 24)
| (getRed(inData) << 16)
| (getGreen(inData) << 8)
| (getBlue(inData) << 0);
}
```
Modifying this to suit your needs is a t... | **JB Nizet's answer is great**, but it can be really slow when creating new objects of type 'Color' thousands of times. The simplest way would be:
```
int rgb = (red << 16 | green << 8 | blue)
```
As answered by [ByteBit](https://stackoverflow.com/a/24596140/3496570) |
24,722,585 | I want to highlight **elvis presley**.
```
<div id="test">
<p>elvis</p>
<p id="tag1">my name is elvis</p>
<p id="tag2">presley</p>
</div>
``` | 2014/07/13 | [
"https://Stackoverflow.com/questions/24722585",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3785652/"
] | According to the eventlet implementation, the pool.imap code will wait until all greenthreads in the pool finish working, but pool.spawn won't and ends immediately.
You can try appending some waiting or sleeping at the end of you script. Then those spawned greenthreads will executed your function.
```
pool.waitall()
... | You may want to have a look at my crawler using Eventlet: <https://github.com/temoto/heroshi/blob/3b5e273783de9ea4b24cbcb0bf01a5025f653b93/heroshi/worker/Crawler.py>
You received an excellent response from Yuan, I would only like to add two things:
* `time.sleep()` without monkey patching will block the whole process... |
40,787,794 | I am pulling items from DB into a listbox which consists of several columns. I would like to add a delete button to each item I pull from DB, but I can't seem to forward the ID of the item, it always says 0.
```
<ListBox ItemsSource="{Binding LbPlugins}" HorizontalContentAlignment="Stretch" Grid.Row="1">
<ListBox.... | 2016/11/24 | [
"https://Stackoverflow.com/questions/40787794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2841351/"
] | As you're using Prism you should use `DelegateCommand`, that is Prism's `ICommand` implementation.
In order to make this work you need to use an object or a nullable type as argument for the generic `CommandDelegate`. If you fail to do this, you'll get an `InvalidCastException` at runtime.
**Declare your command lik... | Since you already passing the parameter from xaml, you can use:
```
btnDeletePluginCommand = new Microsoft.Practices.Prism.Commands.DelegateCommand<int>(DeletePlugin);
```
And then your DeletePlugin should have one parameter like this:
```
private void DeletePlugin(int pluginId)
{
...
}
``` |
39,346,231 | iOS 10 is going to be released soon so it worth to test applications for compatibility with it. During such test we've discovered that our app can't resume background downloads on iOS10. Code that worked well on previous versions does not work on new one, both on an emulator and on a device.
Instead of reducing our co... | 2016/09/06 | [
"https://Stackoverflow.com/questions/39346231",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6799654/"
] | This problem arose from currentRequest and originalRequest NSKeyArchived encoded with an unusual root of "NSKeyedArchiveRootObjectKey" instead of NSKeyedArchiveRootObjectKey constant which is "root" literally and some other misbehaves in encoding process of NSURL(Mutable)Request.
I detected that in beta 1 and filed a ... | Regarding the part of the question about the `unsupported URL` error and lost resumeData on network fail, or other fail, I've logged a TSI with Apple, and the latest response from Quinn:
>
> Firstly, the behaviour you’re seeing is definitely a bug in
> NSURLSession. We hope to fix this problem in a future software
>... |
39,346,231 | iOS 10 is going to be released soon so it worth to test applications for compatibility with it. During such test we've discovered that our app can't resume background downloads on iOS10. Code that worked well on previous versions does not work on new one, both on an emulator and on a device.
Instead of reducing our co... | 2016/09/06 | [
"https://Stackoverflow.com/questions/39346231",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6799654/"
] | This problem arose from currentRequest and originalRequest NSKeyArchived encoded with an unusual root of "NSKeyedArchiveRootObjectKey" instead of NSKeyedArchiveRootObjectKey constant which is "root" literally and some other misbehaves in encoding process of NSURL(Mutable)Request.
I detected that in beta 1 and filed a ... | Here is the Objective - C code for Mousavian's answer.
It works fine in iOS 9.3.5(Device) and iOS 10.1 (simulator).
First correct the Resume data in Mousavian's way
```
- (NSData *)correctRequestData:(NSData *)data
{
if (!data) {
return nil;
}
if ([NSKeyedUnarchiver unarchiveObjectWithData:data]... |
39,346,231 | iOS 10 is going to be released soon so it worth to test applications for compatibility with it. During such test we've discovered that our app can't resume background downloads on iOS10. Code that worked well on previous versions does not work on new one, both on an emulator and on a device.
Instead of reducing our co... | 2016/09/06 | [
"https://Stackoverflow.com/questions/39346231",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6799654/"
] | Regarding the part of the question about the `unsupported URL` error and lost resumeData on network fail, or other fail, I've logged a TSI with Apple, and the latest response from Quinn:
>
> Firstly, the behaviour you’re seeing is definitely a bug in
> NSURLSession. We hope to fix this problem in a future software
>... | Here is the Objective - C code for Mousavian's answer.
It works fine in iOS 9.3.5(Device) and iOS 10.1 (simulator).
First correct the Resume data in Mousavian's way
```
- (NSData *)correctRequestData:(NSData *)data
{
if (!data) {
return nil;
}
if ([NSKeyedUnarchiver unarchiveObjectWithData:data]... |
53,526,659 | ```js
//Accordian jQuery
$(document).ready(function () {
$('.accordian-content').hide();
$(".accordian .accordian-item:first-child .accordian-content").slideDown();
$('.accordian-title').click(function () {
const flag = $(this).find('.accordian-title-icon').hasClass('accordi... | 2018/11/28 | [
"https://Stackoverflow.com/questions/53526659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4342820/"
] | `IronMan` and `CaptainAmerica` should be objects instead of classes, the `class` should be generic
In your example, your class should be `SuperHero` for example
```
public class SuperHero
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public ... | I think you're better off with the following approach:
```
public class MainClass
{
class Hero
{
public string FirstName {get; set;}
public string LastName {get; set;}
public int Age {get; set;}
}
public static void Main()
{
Hero avenger = new Hero
{
... |
53,526,659 | ```js
//Accordian jQuery
$(document).ready(function () {
$('.accordian-content').hide();
$(".accordian .accordian-item:first-child .accordian-content").slideDown();
$('.accordian-title').click(function () {
const flag = $(this).find('.accordian-title-icon').hasClass('accordi... | 2018/11/28 | [
"https://Stackoverflow.com/questions/53526659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4342820/"
] | `IronMan` and `CaptainAmerica` should be objects instead of classes, the `class` should be generic
In your example, your class should be `SuperHero` for example
```
public class SuperHero
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public ... | There is not much you can do with POCOs as other examples show. If you want your class to actually do something you need to do this
```
public abstract class SuperHero
{
public string FirstName { get; protected set; }
public string LastName { get; protected set; }
public int Age { get; protected set; }
... |
53,526,659 | ```js
//Accordian jQuery
$(document).ready(function () {
$('.accordian-content').hide();
$(".accordian .accordian-item:first-child .accordian-content").slideDown();
$('.accordian-title').click(function () {
const flag = $(this).find('.accordian-title-icon').hasClass('accordi... | 2018/11/28 | [
"https://Stackoverflow.com/questions/53526659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4342820/"
] | `IronMan` and `CaptainAmerica` should be objects instead of classes, the `class` should be generic
In your example, your class should be `SuperHero` for example
```
public class SuperHero
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public ... | In your case you wanted to creat an Avenger. Any Avenger has common propperties (fname, lname, age) so when you create an Avenger with the `constructor` you have to give the values for thos propperties.
```
public class MainClass
{
public static void Main()
{
Avenger CaptainAmerica =... |
53,526,659 | ```js
//Accordian jQuery
$(document).ready(function () {
$('.accordian-content').hide();
$(".accordian .accordian-item:first-child .accordian-content").slideDown();
$('.accordian-title').click(function () {
const flag = $(this).find('.accordian-title-icon').hasClass('accordi... | 2018/11/28 | [
"https://Stackoverflow.com/questions/53526659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4342820/"
] | `IronMan` and `CaptainAmerica` should be objects instead of classes, the `class` should be generic
In your example, your class should be `SuperHero` for example
```
public class SuperHero
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public ... | If you need in future doing some different for IronMan or CaptainAmerica - then better make base class or interface and inherit from it like:
```
public class Hero
{
public string fName;
public string lName;
public int Age;
public override string ToString() // for easy "access them from the console"
{
r... |
9,906,079 | I'm sending user data via jQuery to TCPDF, but it does not display any value received from jQuery in the PDF file.
I have even tried to capture the value in a session variable but it still doesn't display. Where am I going wrong?
HTML:
```
<div id="p">
FOO
<input type="text" id="nop" />
</div>
<div id="e... | 2012/03/28 | [
"https://Stackoverflow.com/questions/9906079",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/100747/"
] | you are calling your pdf.php 2 times, one with the post data, and one without
```
$.ajax({ // call 1, with post data
type: "POST",
url: "pdf.php",
data: postData,
success: function(data){
window.open("pdf.php"); // call 2, without post data
}
});
```
what you can do is to remove your aja... | Try
print\_r($\_POST);
and put it somewhere at the beginning of the php file where you build the pdf.
This helps you understand which values arrives and which values don't |
9,906,079 | I'm sending user data via jQuery to TCPDF, but it does not display any value received from jQuery in the PDF file.
I have even tried to capture the value in a session variable but it still doesn't display. Where am I going wrong?
HTML:
```
<div id="p">
FOO
<input type="text" id="nop" />
</div>
<div id="e... | 2012/03/28 | [
"https://Stackoverflow.com/questions/9906079",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/100747/"
] | you are calling your pdf.php 2 times, one with the post data, and one without
```
$.ajax({ // call 1, with post data
type: "POST",
url: "pdf.php",
data: postData,
success: function(data){
window.open("pdf.php"); // call 2, without post data
}
});
```
what you can do is to remove your aja... | >
> I have even tried to capture the value in a session variable but it still doesn't display. Where am I going wrong?
>
>
>
It should work. Did you miss `session_start()`?
Another approach is to generate PDF in you ajax request and output filename which you would open with `window.open()` |
43,353,672 | I use ssl in web-site on WordPress. But when web-site works on https there is mixed-contnet problem. How to rewrite url for pictures from http to https in WordPress? | 2017/04/11 | [
"https://Stackoverflow.com/questions/43353672",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6371361/"
] | when website opens with https; all request goes to the server using https only. Pictures are no exception. But as far as your problem is concerned you might have place the url of images using http. For example your website is test.com. So, you might have placed image as
```
<img src="http://test.com/imagename" />
`... | Set your blog's URL in your WP admin interface to `https://...`
If your posts contain images, you'll need to edit them manually or use a WP plugin to rewrite those image URLs to https. For example, you can use the [Insecure Content Fixer](https://wordpress.org/plugins/ssl-insecure-content-fixer/) plugin.
Edit: Thank... |
43,353,672 | I use ssl in web-site on WordPress. But when web-site works on https there is mixed-contnet problem. How to rewrite url for pictures from http to https in WordPress? | 2017/04/11 | [
"https://Stackoverflow.com/questions/43353672",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6371361/"
] | i think you need to test your url here in this site <https://www.whynopadlock.com/> which will show all the path's which are not HTTPS:// by this you can identify at where you need to change the things.
And also you may include this code in .htacess
```
RewriteEngine On
RewriteCond %{HTTPS} !^on [OR]
RewriteCond %{H... | Set your blog's URL in your WP admin interface to `https://...`
If your posts contain images, you'll need to edit them manually or use a WP plugin to rewrite those image URLs to https. For example, you can use the [Insecure Content Fixer](https://wordpress.org/plugins/ssl-insecure-content-fixer/) plugin.
Edit: Thank... |
62,794,334 | I am new to wordpress. I am working on Localhost with woo-commerce. When a new user is registered, email verification link is not sending to the user and also for admin.
Should i need SMTP for this or any other settings to fix. | 2020/07/08 | [
"https://Stackoverflow.com/questions/62794334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11378696/"
] | [Yubaraj Mahata](https://stackoverflow.com/users/13891538/yubaraj-mahata) Some Android licenses not accepted.
This command will help you:
```
flutter doctor --android-licenses
``` | I got my answer..
Click all **y** after running
```
flutter doctor --android-licenses
```
On your desktop screen Right click **Computer**. Go to Properties > Advanced system settings (Left of the screen) > Click Environment Variables > Under System Variables, click Path > Double Click it OR Select and then click Ed... |
2,352 | In basketball, should a point guard distinguish who is he passing to? I mean, when I play point guard, I'm always trying to pass to **any** of my teammate that is open (so that **everyone** gets involved and there **is** ball movement).
Should a point guard pass to any open teammate, or he should consider teammate sk... | 2013/03/06 | [
"https://sports.stackexchange.com/questions/2352",
"https://sports.stackexchange.com",
"https://sports.stackexchange.com/users/1162/"
] | In a general sense, the coach is responsible for considering teammate skills and drawing up plays based on the skillset of the team currently on the court. In short, the point guard is responsible for executing the game plan as drawn up by the coach. If a teammate is open, take advantage of that. He may take an open sh... | Well, obviously the answer to your question depends on the type of game you are referring to.
On a more professional level, a point guard has to consider what the next move is. In other words, the PG has to have the answer to "Why am I passing this ball to him/her?" clearly defined. If it's a set-offense then it's ac... |
2,352 | In basketball, should a point guard distinguish who is he passing to? I mean, when I play point guard, I'm always trying to pass to **any** of my teammate that is open (so that **everyone** gets involved and there **is** ball movement).
Should a point guard pass to any open teammate, or he should consider teammate sk... | 2013/03/06 | [
"https://sports.stackexchange.com/questions/2352",
"https://sports.stackexchange.com",
"https://sports.stackexchange.com/users/1162/"
] | KYP "know your personnel" is indeed a thing and one of the important point guard skills. Your question is multi-faceted, though, the correct answer is dependent on the particular situation you're in. For example, does your team play to win or just to make everyone happy, if happiness == touching the ball?
If you play ... | Well, obviously the answer to your question depends on the type of game you are referring to.
On a more professional level, a point guard has to consider what the next move is. In other words, the PG has to have the answer to "Why am I passing this ball to him/her?" clearly defined. If it's a set-offense then it's ac... |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | Try a while to fetch all rows and not only the first one:
```
$sql = mysql_query("SELECT result FROM table1");
while ($row = mysql_fetch_array($sql)) {
print_r($row);
}
```
For every call of `mysql_fetch_array` it fetch only one row and when there are no more row is then you get false back.
The while loop and ... | ```
$sql = mysql_query("SELECT result FROM table1");
$count = mysql_num_rows($sql);
if($count>0){
//anything here
}
``` |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | Try a while to fetch all rows and not only the first one:
```
$sql = mysql_query("SELECT result FROM table1");
while ($row = mysql_fetch_array($sql)) {
print_r($row);
}
```
For every call of `mysql_fetch_array` it fetch only one row and when there are no more row is then you get false back.
The while loop and ... | I know you didn't ask for it but **Do NOT** use `mysql_*` as it has been removed, you can use [PDO](http://php.net/manual/en/book.pdo.php) or [mysqli](http://php.net/manual/en/book.mysqli.php) instead like this.
```
<?php
$con=mysqli_connect("localhost","your_user_name","your_password","your_db");
// Check connection
... |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | Try a while to fetch all rows and not only the first one:
```
$sql = mysql_query("SELECT result FROM table1");
while ($row = mysql_fetch_array($sql)) {
print_r($row);
}
```
For every call of `mysql_fetch_array` it fetch only one row and when there are no more row is then you get false back.
The while loop and ... | With the following, you will get everything in one shot:
```
$result = mysqli_fetch_all($sql, MYSQLI_ASSOC);
```
Works from v5.3.0+. Sources: [PHP.net](http://php.net/manual/en/mysqli-result.fetch-all.php) and [W3Schools](http://www.w3schools.com/php/func_mysqli_fetch_all.asp)
Note that you would need to have MySQL... |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | I know you didn't ask for it but **Do NOT** use `mysql_*` as it has been removed, you can use [PDO](http://php.net/manual/en/book.pdo.php) or [mysqli](http://php.net/manual/en/book.mysqli.php) instead like this.
```
<?php
$con=mysqli_connect("localhost","your_user_name","your_password","your_db");
// Check connection
... | ```
$sql = mysql_query("SELECT result FROM table1");
$count = mysql_num_rows($sql);
if($count>0){
//anything here
}
``` |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | With the following, you will get everything in one shot:
```
$result = mysqli_fetch_all($sql, MYSQLI_ASSOC);
```
Works from v5.3.0+. Sources: [PHP.net](http://php.net/manual/en/mysqli-result.fetch-all.php) and [W3Schools](http://www.w3schools.com/php/func_mysqli_fetch_all.asp)
Note that you would need to have MySQL... | ```
$sql = mysql_query("SELECT result FROM table1");
$count = mysql_num_rows($sql);
if($count>0){
//anything here
}
``` |
36,482,434 | So I have the following code :
```
$sql = mysql_query("SELECT result FROM table1");
$result = mysql_fetch_array($sql);
print_r($result);
```
What I want to do here is only to check whether the data that selected above will be displayed or not, but the result from `print_r` only show the first row of the data.
fo... | 2016/04/07 | [
"https://Stackoverflow.com/questions/36482434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5963638/"
] | I know you didn't ask for it but **Do NOT** use `mysql_*` as it has been removed, you can use [PDO](http://php.net/manual/en/book.pdo.php) or [mysqli](http://php.net/manual/en/book.mysqli.php) instead like this.
```
<?php
$con=mysqli_connect("localhost","your_user_name","your_password","your_db");
// Check connection
... | With the following, you will get everything in one shot:
```
$result = mysqli_fetch_all($sql, MYSQLI_ASSOC);
```
Works from v5.3.0+. Sources: [PHP.net](http://php.net/manual/en/mysqli-result.fetch-all.php) and [W3Schools](http://www.w3schools.com/php/func_mysqli_fetch_all.asp)
Note that you would need to have MySQL... |
34,269,432 | I have a Linux server (os: Centos, ip: 192.168.1.100) with my node app that I want to debug.
For some reason @office I have to work on a remote client (ip: 192.168.1.7), since Linux server has no GUI/browser.
I did follow the instruction to use node-inspector, without success...
Here is what I did:
```
$ npm --ve... | 2015/12/14 | [
"https://Stackoverflow.com/questions/34269432",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/709439/"
] | By default node-inspector web server listens on 127.0.0.1, only accept connection from localhost. You have to start node-inspector on your server with option `--web-host=0.0.0.0`:
```
$ node-debug --web-host 0.0.0.0 myApp.js
```
Then open your client browser to `http://server:8080/?ws=server:8080&port=5858`, where *... | node 7.x
node --inspect :file\_name |
51,385,041 | Is there a way to let my code compile with ts-node even if there is unused property warnings in one line of my `.ts` file *without* setting `"noUnusedLocals": false` in my `tsconfig.json` file? | 2018/07/17 | [
"https://Stackoverflow.com/questions/51385041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3847117/"
] | Since TypeScript 2.6 you can suppress errors with `// @ts-ignore`.
>
> A `// @ts-ignore` comment suppresses all errors that originate on the following line. It is recommended practice to have the remainder of the comment following @ts-ignore explain which error is being suppressed.
>
>
> Please note that this comme... | It is now possible to use `_` for unused params.
```
function myFunc(_, b: string) {}
function otherFunc(_, _1, c: string) {} // multiple unsused
```
<https://github.com/Microsoft/TypeScript/issues/9458> |
51,385,041 | Is there a way to let my code compile with ts-node even if there is unused property warnings in one line of my `.ts` file *without* setting `"noUnusedLocals": false` in my `tsconfig.json` file? | 2018/07/17 | [
"https://Stackoverflow.com/questions/51385041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3847117/"
] | Since TypeScript 2.6 you can suppress errors with `// @ts-ignore`.
>
> A `// @ts-ignore` comment suppresses all errors that originate on the following line. It is recommended practice to have the remainder of the comment following @ts-ignore explain which error is being suppressed.
>
>
> Please note that this comme... | For me, this works to suppress an "unused variable" warning in a React project:
```
// eslint-disable-next-line @typescript-eslint/no-unused-vars
``` |
51,385,041 | Is there a way to let my code compile with ts-node even if there is unused property warnings in one line of my `.ts` file *without* setting `"noUnusedLocals": false` in my `tsconfig.json` file? | 2018/07/17 | [
"https://Stackoverflow.com/questions/51385041",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3847117/"
] | It is now possible to use `_` for unused params.
```
function myFunc(_, b: string) {}
function otherFunc(_, _1, c: string) {} // multiple unsused
```
<https://github.com/Microsoft/TypeScript/issues/9458> | For me, this works to suppress an "unused variable" warning in a React project:
```
// eslint-disable-next-line @typescript-eslint/no-unused-vars
``` |
47,965,196 | I have a cordova project that is being compiled for both Android and iOS. I have some links in it that open a website in the system browser, e.g.:
```
window.open('https://example.com', '_system');
cordova.InAppBrowser.open('httos://example.com', '_system');
```
This works fine on Android, however nothing happens on... | 2017/12/25 | [
"https://Stackoverflow.com/questions/47965196",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1995444/"
] | Try this:
```
SELECT * INTO TEST FROM BUTTONSTEMPLATE
```
To copy table into another database for eg: **externaldb.mdb**
```
SELECT * INTO TEST IN 'externaldb.mdb' FROM BUTTONSTEMPLATE
``` | ...I don't think that SQL runs fine in [W3 Editor](https://www.w3schools.com/sql/trysql.asp?filename=trysql_create_table) (like your question said). :-)
[](https://i.stack.imgur.com/ZMTaG.png)
I'm sure you're aware that the first step is to make sure the SQL will r... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I would suggest **Revise**.
It seems to have the sense you look for.
[Revise: to alter something already written or printed, in order to make corrections, improve, or update](http://dictionary.reference.com/browse/revise)
**Revising** and **editing** are separate processes but they may overlap and go hand in hand. | For written material, consider **"copyedit"**:
>
> edit and correct (written or printed material)
>
>
>
([WordNet](http://wordnetweb.princeton.edu/perl/webwn?s=copyedit&sub=Search%20WordNet&o2=&o0=1&o8=1&o1=1&o7=&o5=&o9=&o6=&o3=&o4=&h=))
UPDATE: For website content (especially in the context of SEO), consider *... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think ***[edit](http://www.thefreedictionary.com/edit)*** is close to what you are referring to:
>
> * To prepare (written material) for publication or presentation, as by correcting, revising, or adapting.
> * (Journalism & Publishing) to prepare (text) for publication by checking and improving its accuracy, clari... | How about **constructive criticism**? From [Wikipedia](https://en.wikipedia.org/wiki/Constructive_criticism):
>
> Constructive criticism is the process of offering valid and well-reasoned opinions about the work of others, usually involving both positive and negative comments, in a friendly manner rather than an oppo... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think ***[edit](http://www.thefreedictionary.com/edit)*** is close to what you are referring to:
>
> * To prepare (written material) for publication or presentation, as by correcting, revising, or adapting.
> * (Journalism & Publishing) to prepare (text) for publication by checking and improving its accuracy, clari... | For written material, consider **"copyedit"**:
>
> edit and correct (written or printed material)
>
>
>
([WordNet](http://wordnetweb.princeton.edu/perl/webwn?s=copyedit&sub=Search%20WordNet&o2=&o0=1&o8=1&o1=1&o7=&o5=&o9=&o6=&o3=&o4=&h=))
UPDATE: For website content (especially in the context of SEO), consider *... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think ***[edit](http://www.thefreedictionary.com/edit)*** is close to what you are referring to:
>
> * To prepare (written material) for publication or presentation, as by correcting, revising, or adapting.
> * (Journalism & Publishing) to prepare (text) for publication by checking and improving its accuracy, clari... | I think **critique** does suggest improvement. For example, Kant's *Critique of Pure Reason* is not a criticism in the modern negative sense of the word, but an explanation of the ways reason has been misunderstood and misapplied, and a list of guidelines for avoiding those pitfalls.
Critque: "a detailed analysis and ... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think **critique** does suggest improvement. For example, Kant's *Critique of Pure Reason* is not a criticism in the modern negative sense of the word, but an explanation of the ways reason has been misunderstood and misapplied, and a list of guidelines for avoiding those pitfalls.
Critque: "a detailed analysis and ... | For written material, consider **"copyedit"**:
>
> edit and correct (written or printed material)
>
>
>
([WordNet](http://wordnetweb.princeton.edu/perl/webwn?s=copyedit&sub=Search%20WordNet&o2=&o0=1&o8=1&o1=1&o7=&o5=&o9=&o6=&o3=&o4=&h=))
UPDATE: For website content (especially in the context of SEO), consider *... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think ***[edit](http://www.thefreedictionary.com/edit)*** is close to what you are referring to:
>
> * To prepare (written material) for publication or presentation, as by correcting, revising, or adapting.
> * (Journalism & Publishing) to prepare (text) for publication by checking and improving its accuracy, clari... | Depending on context, consider ***proofreading***.
>
> proofread
>
>
> : *v.tr.* to read (copy or proof) in order to find errors and mark
> corrections.
>
>
> : *v.intr.* to read copy or proof for purposes of error
> detection and correction [American Heritage® Dictionary](http://www.thefreedictionary.com/proofre... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I think ***[edit](http://www.thefreedictionary.com/edit)*** is close to what you are referring to:
>
> * To prepare (written material) for publication or presentation, as by correcting, revising, or adapting.
> * (Journalism & Publishing) to prepare (text) for publication by checking and improving its accuracy, clari... | I would suggest **Revise**.
It seems to have the sense you look for.
[Revise: to alter something already written or printed, in order to make corrections, improve, or update](http://dictionary.reference.com/browse/revise)
**Revising** and **editing** are separate processes but they may overlap and go hand in hand. |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | How about **constructive criticism**? From [Wikipedia](https://en.wikipedia.org/wiki/Constructive_criticism):
>
> Constructive criticism is the process of offering valid and well-reasoned opinions about the work of others, usually involving both positive and negative comments, in a friendly manner rather than an oppo... | For written material, consider **"copyedit"**:
>
> edit and correct (written or printed material)
>
>
>
([WordNet](http://wordnetweb.princeton.edu/perl/webwn?s=copyedit&sub=Search%20WordNet&o2=&o0=1&o8=1&o1=1&o7=&o5=&o9=&o6=&o3=&o4=&h=))
UPDATE: For website content (especially in the context of SEO), consider *... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | I would suggest **Revise**.
It seems to have the sense you look for.
[Revise: to alter something already written or printed, in order to make corrections, improve, or update](http://dictionary.reference.com/browse/revise)
**Revising** and **editing** are separate processes but they may overlap and go hand in hand. | Depending on context, consider ***proofreading***.
>
> proofread
>
>
> : *v.tr.* to read (copy or proof) in order to find errors and mark
> corrections.
>
>
> : *v.intr.* to read copy or proof for purposes of error
> detection and correction [American Heritage® Dictionary](http://www.thefreedictionary.com/proofre... |
287,111 | Is there a word that means "reviewing" something and suggesting ways to "improve" it?
The only words I think of are "review" and "critique" however they only mean reviewing something but they don't suggest ways to improve it.
For example [word] my book. Is there a [word] that will review my book, tell me whether its ... | 2015/11/14 | [
"https://english.stackexchange.com/questions/287111",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/146668/"
] | How about **constructive criticism**? From [Wikipedia](https://en.wikipedia.org/wiki/Constructive_criticism):
>
> Constructive criticism is the process of offering valid and well-reasoned opinions about the work of others, usually involving both positive and negative comments, in a friendly manner rather than an oppo... | Depending on context, consider ***proofreading***.
>
> proofread
>
>
> : *v.tr.* to read (copy or proof) in order to find errors and mark
> corrections.
>
>
> : *v.intr.* to read copy or proof for purposes of error
> detection and correction [American Heritage® Dictionary](http://www.thefreedictionary.com/proofre... |
3,688 | Yesterday afternoon I have left my Arduino running on a fresh Alkaline 9V battery (+ connected to Vin, - connected to GND). Today morning (16 hours later) the LCD display was no longer visible, and when I measured the volatage, I saw the battery was depleted to my surprise - its idle voltage was only 7 V.
My device is... | 2014/08/08 | [
"https://arduino.stackexchange.com/questions/3688",
"https://arduino.stackexchange.com",
"https://arduino.stackexchange.com/users/3452/"
] | **Power consumption**
The Arduino boards use a fair bit of power compared to other embedded systems with similar functionality.
There are three main factors:
* The NCP1117 ([datasheet](http://www.onsemi.com/pub_link/Collateral/NCP1117-D.PDF)) 5V linear regulator in the Arduino UNO
R3 ([schematic](http://arduino.cc/e... | I think an Arduino Uno is not suitable for such projects. Some components on the board draw too many amps, as @geometrikal correctly points out. If you're up to a challenge, I would advise you to take your project to another level and go barebones.
Sparkfun has a good article about how to increase battery life, using ... |
3,688 | Yesterday afternoon I have left my Arduino running on a fresh Alkaline 9V battery (+ connected to Vin, - connected to GND). Today morning (16 hours later) the LCD display was no longer visible, and when I measured the volatage, I saw the battery was depleted to my surprise - its idle voltage was only 7 V.
My device is... | 2014/08/08 | [
"https://arduino.stackexchange.com/questions/3688",
"https://arduino.stackexchange.com",
"https://arduino.stackexchange.com/users/3452/"
] | **Power consumption**
The Arduino boards use a fair bit of power compared to other embedded systems with similar functionality.
There are three main factors:
* The NCP1117 ([datasheet](http://www.onsemi.com/pub_link/Collateral/NCP1117-D.PDF)) 5V linear regulator in the Arduino UNO
R3 ([schematic](http://arduino.cc/e... | Another option is to look for a hardware (Arduino Clone) that has been designed for that, like this board: <https://bitbucket.org/talk2/whisper-node-avr/overview>
Combining such hardware with power-saving code techniques you should be able to run projects for quite long time on batteries! |
3,688 | Yesterday afternoon I have left my Arduino running on a fresh Alkaline 9V battery (+ connected to Vin, - connected to GND). Today morning (16 hours later) the LCD display was no longer visible, and when I measured the volatage, I saw the battery was depleted to my surprise - its idle voltage was only 7 V.
My device is... | 2014/08/08 | [
"https://arduino.stackexchange.com/questions/3688",
"https://arduino.stackexchange.com",
"https://arduino.stackexchange.com/users/3452/"
] | I think an Arduino Uno is not suitable for such projects. Some components on the board draw too many amps, as @geometrikal correctly points out. If you're up to a challenge, I would advise you to take your project to another level and go barebones.
Sparkfun has a good article about how to increase battery life, using ... | Another option is to look for a hardware (Arduino Clone) that has been designed for that, like this board: <https://bitbucket.org/talk2/whisper-node-avr/overview>
Combining such hardware with power-saving code techniques you should be able to run projects for quite long time on batteries! |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.