qid int64 1 74.7M | question stringlengths 0 58.3k | date stringlengths 10 10 | metadata list | response_j stringlengths 2 48.3k | response_k stringlengths 2 40.5k |
|---|---|---|---|---|---|
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | This link provides a detailed explanation of what looks to be a nice approach:
<http://www.blackwasp.co.uk/NumberToWords.aspx> | This is [part of Common Lisp](http://www.lispworks.com/documentation/HyperSpec/Body/22_cba.htm)!
[Here's how GNU CLISP does it](http://www.google.com/codesearch/p?hl=ja#-kmSHZF0HiY/pub/OpenBSD/distfiles/clisp-2.25.tar.bz2%7CZxaEhw9MqWQ/clisp-2.25/src/format.lisp&q=format%20lang:lisp%20format-cardinal&l=602), and [here... |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | One way to accomplish this would be to use look up tables. It would be somewhat brute force, but easy to setup. For instance, you could have the words for 0-99 in one table, then a table for tens, hundreds, thousands, etc. Some simple math will give you the index of the word you need from each table. | Note some rules:
* Tens numbers (twenty, thirty, etc.) ending in y are followed by hyphens.
* Teens are special (except 15-19, but they're still special).
* Everything else is just some combination of `digit place` like "three thousand".
You can get the place of a number by using floor division of integers: 532 / 100... |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | One way to accomplish this would be to use look up tables. It would be somewhat brute force, but easy to setup. For instance, you could have the words for 0-99 in one table, then a table for tens, hundreds, thousands, etc. Some simple math will give you the index of the word you need from each table. | This is [part of Common Lisp](http://www.lispworks.com/documentation/HyperSpec/Body/22_cba.htm)!
[Here's how GNU CLISP does it](http://www.google.com/codesearch/p?hl=ja#-kmSHZF0HiY/pub/OpenBSD/distfiles/clisp-2.25.tar.bz2%7CZxaEhw9MqWQ/clisp-2.25/src/format.lisp&q=format%20lang:lisp%20format-cardinal&l=602), and [here... |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | This solution doesn't attempt to account for trailing spaces, but it is pretty fast.
```
typedef const char* cstring;
using std::string;
using std::endl;
std::ostream& GetOnes(std::ostream &output, int onesValue)
{
cstring ones[] = { "zero", "one", "two", "three", "four", "five", "six",
"seven", "eight... | .) make a library of all numbers & positions (e.g. 1 has other notation than 10, another than 100 etc)
.) make a list of exceptions (e.g. for 12) and be aware, that in your algorythm, the same exception are for 112, 1012 etc.
if you want even more speed, make a cached set of numbers that you need. |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | This solution doesn't attempt to account for trailing spaces, but it is pretty fast.
```
typedef const char* cstring;
using std::string;
using std::endl;
std::ostream& GetOnes(std::ostream &output, int onesValue)
{
cstring ones[] = { "zero", "one", "two", "three", "four", "five", "six",
"seven", "eight... | This is [part of Common Lisp](http://www.lispworks.com/documentation/HyperSpec/Body/22_cba.htm)!
[Here's how GNU CLISP does it](http://www.google.com/codesearch/p?hl=ja#-kmSHZF0HiY/pub/OpenBSD/distfiles/clisp-2.25.tar.bz2%7CZxaEhw9MqWQ/clisp-2.25/src/format.lisp&q=format%20lang:lisp%20format-cardinal&l=602), and [here... |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | One way to accomplish this would be to use look up tables. It would be somewhat brute force, but easy to setup. For instance, you could have the words for 0-99 in one table, then a table for tens, hundreds, thousands, etc. Some simple math will give you the index of the word you need from each table. | .) make a library of all numbers & positions (e.g. 1 has other notation than 10, another than 100 etc)
.) make a list of exceptions (e.g. for 12) and be aware, that in your algorythm, the same exception are for 112, 1012 etc.
if you want even more speed, make a cached set of numbers that you need. |
3,299,621 | Goal per subject.
code snip:
```
var canvas= document.getElementById('myCanvas');
var ctx= canvas.getContext('2d');
canvas.width= 520;
canvas.height= 405;
ctx.font = "15pt Verdana";
ctx.lineWidth = 1;
// text 1
ctx.fillText("me and my dog puddie", 210, 90);
// text 2
ctx.fillText("you and many many crazy nuts",... | 2010/07/21 | [
"https://Stackoverflow.com/questions/3299621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/330887/"
] | This link provides a detailed explanation of what looks to be a nice approach:
<http://www.blackwasp.co.uk/NumberToWords.aspx> | This solution doesn't attempt to account for trailing spaces, but it is pretty fast.
```
typedef const char* cstring;
using std::string;
using std::endl;
std::ostream& GetOnes(std::ostream &output, int onesValue)
{
cstring ones[] = { "zero", "one", "two", "three", "four", "five", "six",
"seven", "eight... |
546,079 | So I have 2 questions actually: But basically I have a 570gtx hooked up to my monitor via DVI and my 46inch LED TV through mini-hdmi on the GPU.
First question: Any harm in leaving it hooked up? Even when the TV is off. My mouse will still go over to the screen next to it. It also seems like my GPU fan is spinning fas... | 2013/02/03 | [
"https://superuser.com/questions/546079",
"https://superuser.com",
"https://superuser.com/users/-1/"
] | Use the `Windows` + `P` to be able to select between different video modes "Computer Only", "Duplicate", "Extend" and "Projector Only"
I have my monitor and TV connected to my two DVI ports and just leave the setting on "Extend" but if you wish to only have a video feed going to your monitor when your TV is off, just ... | 1. When the TV is off but the computer is still configured for two monitors, it will still require the processing power for the TV screen. Higher GPU usage is most likely because you have Windows Aero enabled.
2. You already have this feature with `Windows` + `P`. You can select which monitor mode you want. In your cas... |
71,739,108 | I'm trying to read a CSV file that I have on my computer in a Jupyter Notebook. I using Pandas pd.read\_csv(file path)
but I'm getting this error:
```
File "C:\Users\pc\AppData\Local\Temp/ipykernel_15328/2333079912.py", line 1
flight_df=pd.read_csv('C:\Users\pc\Desktop\Work\flight.csv')
... | 2022/04/04 | [
"https://Stackoverflow.com/questions/71739108",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17644851/"
] | First, I'm not great with CSS, so it's very possible that there's a more elegant solution that what I'm suggesting.
I notice that the modal/dialog does not have a max-height and is ending up using the available height on the page. This is what is leading to the *long* modal in the first place---both on desktop and mob... | Your modal is getting generated while you scrolled to the bottom and there is no place below for modal to take place. so the modal will get upper place and your viewpoint will be the bottom of it.
So now as a workaround I would give the modal a fixed height or at least a max height based on **view height**.
Give this... |
437,827 | I have this jQuery which works fine
```
$("li[id^='shop_id']").click( function () {
alert("I clicked on id ??");
});
```
The above will work if any list element with an id beginging with 'shop\_id' is clicked (i.e 'shop\_id\_1', 'shop\_id\_2', etc).
The problem is that I don't know how to find out exactly which... | 2009/01/13 | [
"https://Stackoverflow.com/questions/437827",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/54438/"
] | The "this" variable will help you out here:
```
$("li[id^='shop_id']").click( function () {
var current_id = $(this).attr("id");
alert(current_id);
});
``` | ```
<script type="text/javascript">
$("li[id^='shop)id']").click(function(){
alert($(this).attr('id'));
});
</script>
``` |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Just thought I'd add an answer about "aviate", "navigate", "communicate" which is discussed somewhat in the comments and is a big part of what you should do.
It's simply a matter of dealing with the most important things in order.
Aviate - fly the aircraft (keep it flying) - if you fail to do this, it will almost cer... | 1. As much as possible, keep your hands off of the controls. A properly trimmed airplane will maintain straight and level flight. A human likely will not.
2. Tune the radio to 121.5 and call mayday. 121.5 will be monitored everywhere there is any ATC activity.
3. Follow the instructions of ATC.
4. Use the trim and thro... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Just thought I'd add an answer about "aviate", "navigate", "communicate" which is discussed somewhat in the comments and is a big part of what you should do.
It's simply a matter of dealing with the most important things in order.
Aviate - fly the aircraft (keep it flying) - if you fail to do this, it will almost cer... | The feel of the controls is one of the things that you will really have to get your head round really quickly if this is the first time you have touched them.
You don't move the controls you just apply a little bit of pressure, unlike a flight sim which has a totally unrealistic feel on the controls, and this alters ... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | This is a good question and your guesses make sense. I’m not a pilot but here is what I’d do (if the plane is small like you say):
A non pilot would definitely be overwhelmed by the controls and buttons and all their meanings. But if you have had some training you could manage. First thing to do would be to establish ... | 1. As much as possible, keep your hands off of the controls. A properly trimmed airplane will maintain straight and level flight. A human likely will not.
2. Tune the radio to 121.5 and call mayday. 121.5 will be monitored everywhere there is any ATC activity.
3. Follow the instructions of ATC.
4. Use the trim and thro... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Step 1 not mentioned so far: keep the unconscious pilot from slumping forward into the controls. Their body pushing the yoke in would be a bad thing at this juncture. Cinch up on the shoulder harness and hang the flight bag strap or something similar on the pilot's forehead, with the bag hanging behind the seat.
Then ... | 1. As much as possible, keep your hands off of the controls. A properly trimmed airplane will maintain straight and level flight. A human likely will not.
2. Tune the radio to 121.5 and call mayday. 121.5 will be monitored everywhere there is any ATC activity.
3. Follow the instructions of ATC.
4. Use the trim and thro... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Step 1 not mentioned so far: keep the unconscious pilot from slumping forward into the controls. Their body pushing the yoke in would be a bad thing at this juncture. Cinch up on the shoulder harness and hang the flight bag strap or something similar on the pilot's forehead, with the bag hanging behind the seat.
Then ... | Having spent a lot of time on flight simulator, and having done an intro lesson, is a big factor in your favor, because you know how to steer, ascend, descend, and *especially* trim for speed. What you may not know is how to work the radio, how to tune to 121.5 and how to press the talk button (and most importantly, re... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | This has happened before and it usually ends ok, the most important thing is to keep calm. One suggestion I would have is instead of flying straight and level I would fly a box over the current location while you speak to ATC. This will keep you in range of the ATC station you are talking to and keep you out of trouble... | Here's my guess as a non pilot.
You'd probably have to ask your friend in advance how exactly to do 3. I suspect doing 1 and 3 simultaneous will be taxing for anyone who hasn't flown a real aircraft.
You might want to know how to set the transponder (if present) and what code it should "squawk".
If the pilot passed ... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | This has happened before and it usually ends ok, the most important thing is to keep calm. One suggestion I would have is instead of flying straight and level I would fly a box over the current location while you speak to ATC. This will keep you in range of the ATC station you are talking to and keep you out of trouble... | 1. As much as possible, keep your hands off of the controls. A properly trimmed airplane will maintain straight and level flight. A human likely will not.
2. Tune the radio to 121.5 and call mayday. 121.5 will be monitored everywhere there is any ATC activity.
3. Follow the instructions of ATC.
4. Use the trim and thro... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Step 1 not mentioned so far: keep the unconscious pilot from slumping forward into the controls. Their body pushing the yoke in would be a bad thing at this juncture. Cinch up on the shoulder harness and hang the flight bag strap or something similar on the pilot's forehead, with the bag hanging behind the seat.
Then ... | The feel of the controls is one of the things that you will really have to get your head round really quickly if this is the first time you have touched them.
You don't move the controls you just apply a little bit of pressure, unlike a flight sim which has a totally unrealistic feel on the controls, and this alters ... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Here's my guess as a non pilot.
You'd probably have to ask your friend in advance how exactly to do 3. I suspect doing 1 and 3 simultaneous will be taxing for anyone who hasn't flown a real aircraft.
You might want to know how to set the transponder (if present) and what code it should "squawk".
If the pilot passed ... | The feel of the controls is one of the things that you will really have to get your head round really quickly if this is the first time you have touched them.
You don't move the controls you just apply a little bit of pressure, unlike a flight sim which has a totally unrealistic feel on the controls, and this alters ... |
19,636 | *There is [another question](https://aviation.stackexchange.com/questions/8986) about airliners and if someone not qualified could land them. My question is about the steps I should take to stay alive in a small GA plane.*
---
Let say a friend of mine invites me aboard a small aircraft (like Cessna 172 or equivalent)... | 2015/09/03 | [
"https://aviation.stackexchange.com/questions/19636",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/10076/"
] | Best case scenario: You're straight and level, on frequency with some form of human being, there's no immediate danger and you have the know-how to transmit. In that case, that human will provide you with everything they possibly can to help you. Most important thing for you to do is keep the aircraft away from clouds,... | Here's my guess as a non pilot.
You'd probably have to ask your friend in advance how exactly to do 3. I suspect doing 1 and 3 simultaneous will be taxing for anyone who hasn't flown a real aircraft.
You might want to know how to set the transponder (if present) and what code it should "squawk".
If the pilot passed ... |
30,405,125 | I am looking for help with getting a volatility function to work with my dataframe. In the function below, I'm just trying to get price daily log returns for each security (each column in my data is a different security's prices over time), and then calculate an annualized vol.
```
volcalc= function (x) {
returns=l... | 2015/05/22 | [
"https://Stackoverflow.com/questions/30405125",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3481868/"
] | An alternative is to keep your data and replace all NA’s with the closest previous non-NA value by running the ’na.locf’ function (last observation carried forward) from the zoo-package BEFORE you apply the ‘volcalc’ - function. You original function has to be changed in any case as using the ‘lag’-function introduces ... | We can remove the 'NA' elements with `!is.na(x)`, but the `lag(x)` will return `NA` as the first element, which can be removed by using `na.rm=TRUE` in the `sd`
```
volcalc= function (x) {
x <- x[!is.na(x)]
returns=log(x)-log(lag(x))
vol=sd(returns, na.rm=TRUE)*sqrt(252)
return(vol)
}
apply(dataexampl... |
17,383,146 | I have an MVC View page, strongly-typed to an enumerated product list. Each list item has an Html.ActionLink with a unique id. In my jquery file, I have an $.ajax function which should process the link with the corresponding id . The intent is to load a partial view on the same page, with that item's information, to al... | 2013/06/29 | [
"https://Stackoverflow.com/questions/17383146",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2363947/"
] | Any specific reason for not using the Ajax HTML-helper?
[http://msdn.microsoft.com/en-us/library/system.web.mvc.ajax.ajaxextensions.actionlink(v=vs.108).aspx](http://msdn.microsoft.com/en-us/library/system.web.mvc.ajax.ajaxextensions.actionlink%28v=vs.108%29.aspx)
You can use it as an actionlink, but it is done async... | Check this:
```
$('.button_action').click(function (e) {
e.preventDefault() // this prevent default behavior for hyperlink on 'click' event
``` |
17,383,146 | I have an MVC View page, strongly-typed to an enumerated product list. Each list item has an Html.ActionLink with a unique id. In my jquery file, I have an $.ajax function which should process the link with the corresponding id . The intent is to load a partial view on the same page, with that item's information, to al... | 2013/06/29 | [
"https://Stackoverflow.com/questions/17383146",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2363947/"
] | In case anyone else needs the solution to the above... It was too simple to believe.The jquery ajax code does not need an id htmlattribute from the Html.ActionLink. In fact, this extra attribute is what was causing the trouble. The jquery ajax recognizes the id from the "this.href' as that is the route controller along... | Check this:
```
$('.button_action').click(function (e) {
e.preventDefault() // this prevent default behavior for hyperlink on 'click' event
``` |
10,804,533 | ```
<style>
.h,.e {list-style-type: none; float:left;}
.h div,.e div{background-color:gray; padding:2px 20px;margin:1px;}
#h1,#e1{background-color:yellow; padding:2px 20px;margin:5px; visibility:hidden;
}
```
```
<ul>
<li class="h">
<div id="h">Home</div>
<ul class="h1" id="h1"><li>H1</li><li>H2</li><li... | 2012/05/29 | [
"https://Stackoverflow.com/questions/10804533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1409521/"
] | Try `visible`.
```
oh1.style.visibility="visible";
``` | Try:
```
oh1.style.visibility="visible";
```
Should be a pretty obvious fix, but as for explanation - setting visibility to "" is no value - hence there will be no change, "visible" is an accepted value and will show the oh1 object. |
10,804,533 | ```
<style>
.h,.e {list-style-type: none; float:left;}
.h div,.e div{background-color:gray; padding:2px 20px;margin:1px;}
#h1,#e1{background-color:yellow; padding:2px 20px;margin:5px; visibility:hidden;
}
```
```
<ul>
<li class="h">
<div id="h">Home</div>
<ul class="h1" id="h1"><li>H1</li><li>H2</li><li... | 2012/05/29 | [
"https://Stackoverflow.com/questions/10804533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1409521/"
] | ```
<script>
var oh = document.getElementById("h");
var oe = document.getElementById("e");
var oh1 = document.getElementById("h1");
var oe1 = document.getElementById("e1");
oh.onmouseover=function(){oh1.style.display="block";};
oe.onmouseover=function(){oe1.style.display="block";};
</script>
``` | Try:
```
oh1.style.visibility="visible";
```
Should be a pretty obvious fix, but as for explanation - setting visibility to "" is no value - hence there will be no change, "visible" is an accepted value and will show the oh1 object. |
10,804,533 | ```
<style>
.h,.e {list-style-type: none; float:left;}
.h div,.e div{background-color:gray; padding:2px 20px;margin:1px;}
#h1,#e1{background-color:yellow; padding:2px 20px;margin:5px; visibility:hidden;
}
```
```
<ul>
<li class="h">
<div id="h">Home</div>
<ul class="h1" id="h1"><li>H1</li><li>H2</li><li... | 2012/05/29 | [
"https://Stackoverflow.com/questions/10804533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1409521/"
] | Try `visible`.
```
oh1.style.visibility="visible";
``` | Use jQuery: <http://jsfiddle.net/JqvSL/8/>
It makes your life easier, and the code looks 10x cleaner. You can use either `opacity` or `display` to hide the block, although `visibility` also works with jQuery. |
10,804,533 | ```
<style>
.h,.e {list-style-type: none; float:left;}
.h div,.e div{background-color:gray; padding:2px 20px;margin:1px;}
#h1,#e1{background-color:yellow; padding:2px 20px;margin:5px; visibility:hidden;
}
```
```
<ul>
<li class="h">
<div id="h">Home</div>
<ul class="h1" id="h1"><li>H1</li><li>H2</li><li... | 2012/05/29 | [
"https://Stackoverflow.com/questions/10804533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1409521/"
] | ```
<script>
var oh = document.getElementById("h");
var oe = document.getElementById("e");
var oh1 = document.getElementById("h1");
var oe1 = document.getElementById("e1");
oh.onmouseover=function(){oh1.style.display="block";};
oe.onmouseover=function(){oe1.style.display="block";};
</script>
``` | Try `visible`.
```
oh1.style.visibility="visible";
``` |
10,804,533 | ```
<style>
.h,.e {list-style-type: none; float:left;}
.h div,.e div{background-color:gray; padding:2px 20px;margin:1px;}
#h1,#e1{background-color:yellow; padding:2px 20px;margin:5px; visibility:hidden;
}
```
```
<ul>
<li class="h">
<div id="h">Home</div>
<ul class="h1" id="h1"><li>H1</li><li>H2</li><li... | 2012/05/29 | [
"https://Stackoverflow.com/questions/10804533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1409521/"
] | ```
<script>
var oh = document.getElementById("h");
var oe = document.getElementById("e");
var oh1 = document.getElementById("h1");
var oe1 = document.getElementById("e1");
oh.onmouseover=function(){oh1.style.display="block";};
oe.onmouseover=function(){oe1.style.display="block";};
</script>
``` | Use jQuery: <http://jsfiddle.net/JqvSL/8/>
It makes your life easier, and the code looks 10x cleaner. You can use either `opacity` or `display` to hide the block, although `visibility` also works with jQuery. |
56,200 | I know that in the day of judgment those that didn't have any possibility to learn Islam will have a parallel world that will last 50 thousand years created for them and will be tested by being sent a prophet.
Imagine those countless indigenous tribe in the Americas that didn't have any possibility of learning Islam.... | 2019/07/28 | [
"https://islam.stackexchange.com/questions/56200",
"https://islam.stackexchange.com",
"https://islam.stackexchange.com/users/47868/"
] | I will try to answer your question by breaking it into smaller parts.
**Can you provide a reference to the below statement of yours from the Quran or Sahih Hadiths:**
>
> I know that in the day of judgment those that didn't have any
> possibility to learn Islam will have a parallel world that will last
> 50 thous... | **Let me answer your question on two parts:**
**First:**
Islam is as our prophet Muhammad explained
>
> " Who is Muslim?
>
>
> A Muslim is whom people are safe from his tongue and his hands".
>
>
>
**Second:**
Good deeds are written by angels, but the bad ones is not written unless you know it is bad.
In ... |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Asserting that the operation $\*$ is not commutative means that *there are* elements $a$ and $b$ such that $a\*b\neq b\*a$. It does *not* mean that $a\*b\neq b\*a$ for *any* two distinct elements $a$ and $b$. Therefore, an operation may well not be commutative and, even so, to have an identity element. There is no cont... | Actually, given *any* set $S$ and operation $\*$ on it (so possibly neither associative nor commutative), we can simply *extend* this with a new symbol $\color{red}0$ (i.e., $\color{red}0\notin S$) and on the set $S':=S\cup\{\color{red}0\}$ define an operation $\color{red}\*$ by
$$x\color{red}\*y:=\begin{cases}x&\text{... |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Actually, given *any* set $S$ and operation $\*$ on it (so possibly neither associative nor commutative), we can simply *extend* this with a new symbol $\color{red}0$ (i.e., $\color{red}0\notin S$) and on the set $S':=S\cup\{\color{red}0\}$ define an operation $\color{red}\*$ by
$$x\color{red}\*y:=\begin{cases}x&\text{... | Isn't subtraction a binary function which has an identity ($x-0=x$) although it is not commutative ($5-0 > 0-5$) or associative ($5-(4-3) > (5-4)-3$)? |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Asserting that the operation $\*$ is not commutative means that *there are* elements $a$ and $b$ such that $a\*b\neq b\*a$. It does *not* mean that $a\*b\neq b\*a$ for *any* two distinct elements $a$ and $b$. Therefore, an operation may well not be commutative and, even so, to have an identity element. There is no cont... | Isn't subtraction a binary function which has an identity ($x-0=x$) although it is not commutative ($5-0 > 0-5$) or associative ($5-(4-3) > (5-4)-3$)? |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Actually, given *any* set $S$ and operation $\*$ on it (so possibly neither associative nor commutative), we can simply *extend* this with a new symbol $\color{red}0$ (i.e., $\color{red}0\notin S$) and on the set $S':=S\cup\{\color{red}0\}$ define an operation $\color{red}\*$ by
$$x\color{red}\*y:=\begin{cases}x&\text{... | >
> Can a binary operation have an identity element when it is not associative and commutative?
>
>
>
Yes. Any non-commutative [**loop**](http://ericmoorhouse.org/pub/bol/) is an example of such algebraic structure. I am surprised that, searching the word *loop* with `Ctrl + F` in this page just before answering, ... |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | It is possible. $\*$ not being commutative means that $a\*b\neq b\*a$ for some $a,b$, not for all of them. So you may have $a\*e=e\*a=a$ without contradicting that $\*$ is not commutative. | Isn't subtraction a binary function which has an identity ($x-0=x$) although it is not commutative ($5-0 > 0-5$) or associative ($5-(4-3) > (5-4)-3$)? |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | An operation is commutative if for *any* $a$ and $b$, we have $ab=ba$. Finding one pair $a,b$ such that $ab=ba$ doesn't prove the operation is commutative; this has to hold for every pair.
Consider the set $\{a,b,c\}$ whose binary operation $\cdot$ is given by the following:
$$a\cdot a = a\,\,\,\,\,\,\,\,\,\,\, a\cdo... | Without looking for esoteric and/or ad hoc examples, there is one you are certainly familiar with. The identity matrix is the identity element for matrix multiplication, which is not commutative. We have $A\,I=I\,A=A $ while in general $A\,B \neq B\,A $. |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Asserting that the operation $\*$ is not commutative means that *there are* elements $a$ and $b$ such that $a\*b\neq b\*a$. It does *not* mean that $a\*b\neq b\*a$ for *any* two distinct elements $a$ and $b$. Therefore, an operation may well not be commutative and, even so, to have an identity element. There is no cont... | An operation is commutative if for *any* $a$ and $b$, we have $ab=ba$. Finding one pair $a,b$ such that $ab=ba$ doesn't prove the operation is commutative; this has to hold for every pair.
Consider the set $\{a,b,c\}$ whose binary operation $\cdot$ is given by the following:
$$a\cdot a = a\,\,\,\,\,\,\,\,\,\,\, a\cdo... |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | An operation is commutative if for *any* $a$ and $b$, we have $ab=ba$. Finding one pair $a,b$ such that $ab=ba$ doesn't prove the operation is commutative; this has to hold for every pair.
Consider the set $\{a,b,c\}$ whose binary operation $\cdot$ is given by the following:
$$a\cdot a = a\,\,\,\,\,\,\,\,\,\,\, a\cdo... | Isn't subtraction a binary function which has an identity ($x-0=x$) although it is not commutative ($5-0 > 0-5$) or associative ($5-(4-3) > (5-4)-3$)? |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Without looking for esoteric and/or ad hoc examples, there is one you are certainly familiar with. The identity matrix is the identity element for matrix multiplication, which is not commutative. We have $A\,I=I\,A=A $ while in general $A\,B \neq B\,A $. | >
> Can a binary operation have an identity element when it is not associative and commutative?
>
>
>
Yes. Any non-commutative [**loop**](http://ericmoorhouse.org/pub/bol/) is an example of such algebraic structure. I am surprised that, searching the word *loop* with `Ctrl + F` in this page just before answering, ... |
2,329,528 | I tried getting the answers in similar questions, everyone says that it's not necessary, but if $e$ is the identity element for any binary operation $\*$, which is not associative and commutative, how can
$$a\*e=a=e\*a$$
when it is not commutative, i.e. $a\*b \ne b\*a$?
Even if we get a value by solving $a\*e=a$. Wi... | 2017/06/20 | [
"https://math.stackexchange.com/questions/2329528",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/410228/"
] | Asserting that the operation $\*$ is not commutative means that *there are* elements $a$ and $b$ such that $a\*b\neq b\*a$. It does *not* mean that $a\*b\neq b\*a$ for *any* two distinct elements $a$ and $b$. Therefore, an operation may well not be commutative and, even so, to have an identity element. There is no cont... | It is possible. $\*$ not being commutative means that $a\*b\neq b\*a$ for some $a,b$, not for all of them. So you may have $a\*e=e\*a=a$ without contradicting that $\*$ is not commutative. |
992,374 | Is there any Object Oriented C++ library for ssh and scp. BSD license would be preferred.
I could find libssh and libssh2. But these are all procedural. | 2009/06/14 | [
"https://Stackoverflow.com/questions/992374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/122668/"
] | Take a look at NetSieben SSH Library - an open source ssh client library in C++:
<http://freshmeat.net/projects/net7ssh/> | I use cryptlib for this. It is free for Opensource and Freeware applications and easy to use.
<http://www.cs.auckland.ac.nz/~pgut001/cryptlib/>
/mspoerr |
992,374 | Is there any Object Oriented C++ library for ssh and scp. BSD license would be preferred.
I could find libssh and libssh2. But these are all procedural. | 2009/06/14 | [
"https://Stackoverflow.com/questions/992374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/122668/"
] | With libssh version 0.5 the library comes with a nice C++ wrapper. It's in the include directory and called libsshpp.h
I hope this will suite your needs. Else open a feature request. | Take a look at NetSieben SSH Library - an open source ssh client library in C++:
<http://freshmeat.net/projects/net7ssh/> |
992,374 | Is there any Object Oriented C++ library for ssh and scp. BSD license would be preferred.
I could find libssh and libssh2. But these are all procedural. | 2009/06/14 | [
"https://Stackoverflow.com/questions/992374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/122668/"
] | With libssh version 0.5 the library comes with a nice C++ wrapper. It's in the include directory and called libsshpp.h
I hope this will suite your needs. Else open a feature request. | I use cryptlib for this. It is free for Opensource and Freeware applications and easy to use.
<http://www.cs.auckland.ac.nz/~pgut001/cryptlib/>
/mspoerr |
56,110,120 | We have a large data set with 150 beer brands, sold in 85 stores, during 399 weeks.
The brands are still divided into sub brands (f.ex.: brand = Budweiser, but sub brands still exist: Budweiser light/ Budweiser regular etc.)
We want to create a function that creates a new column that gives us the average price per bra... | 2019/05/13 | [
"https://Stackoverflow.com/questions/56110120",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11489834/"
] | If you are saving **UTCDATE** on the server then the following code will help you as you just need to pass current Timezone offset in minutes as follow
```
DECLARE @Offset as int = 300
SELECT DATEADD(MINUTE, CONVERT(int,@Offset), GETUTCDATE())
``` | You can use momentjs timezone, to tackle this problem
<https://momentjs.com/timezone/>
Where you can convert your server time , to your timezone before doing any calculations.
the best approach is to save timestamp in the server which is the milliseconds after epoch, that way you are always on the same page |
3,327,454 | Is it common in Python to keep testing for type values when working in a OOP fashion?
```
class Foo():
def __init__(self,barObject):
self.bar = setBarObject(barObject)
def setBarObject(barObject);
if (isInstance(barObject,Bar):
self.bar = barObject
else:
# throw... | 2010/07/25 | [
"https://Stackoverflow.com/questions/3327454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/160032/"
] | Nope, in fact it's overwhelmingly common *not* to test for type values, as in your second approach. The idea is that a client of your code (i.e. some other programmer who uses your class) should be able to pass any kind of object that has all the appropriate methods or properties. If it doesn't happen to be an instance... | I think that it's good practice to check *input* for type. It's reasonable to assume that if you asked a user to give one data type they might give you another, so you should code to defend against this.
However, it seems like a waste of time (both writing and running the program) to check the type of input that the p... |
3,327,454 | Is it common in Python to keep testing for type values when working in a OOP fashion?
```
class Foo():
def __init__(self,barObject):
self.bar = setBarObject(barObject)
def setBarObject(barObject);
if (isInstance(barObject,Bar):
self.bar = barObject
else:
# throw... | 2010/07/25 | [
"https://Stackoverflow.com/questions/3327454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/160032/"
] | Nope, in fact it's overwhelmingly common *not* to test for type values, as in your second approach. The idea is that a client of your code (i.e. some other programmer who uses your class) should be able to pass any kind of object that has all the appropriate methods or properties. If it doesn't happen to be an instance... | If your alternative to the type check is an else containing exception handling, then you should really consider duck typing one tier up, supporting as many objects with the methods you require from the input, and working inside a try.
You can then except (and except as specifically as possible) that.
The final result w... |
3,327,454 | Is it common in Python to keep testing for type values when working in a OOP fashion?
```
class Foo():
def __init__(self,barObject):
self.bar = setBarObject(barObject)
def setBarObject(barObject);
if (isInstance(barObject,Bar):
self.bar = barObject
else:
# throw... | 2010/07/25 | [
"https://Stackoverflow.com/questions/3327454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/160032/"
] | Nope, in fact it's overwhelmingly common *not* to test for type values, as in your second approach. The idea is that a client of your code (i.e. some other programmer who uses your class) should be able to pass any kind of object that has all the appropriate methods or properties. If it doesn't happen to be an instance... | I agree with some of the above answers, in that I generally never check for type from one function to another.
However, as someone else mentioned, anything accepted from a user should be checked, and for things like this I use regular expressions. The nice thing about using regular expressions to validate user input i... |
3,327,454 | Is it common in Python to keep testing for type values when working in a OOP fashion?
```
class Foo():
def __init__(self,barObject):
self.bar = setBarObject(barObject)
def setBarObject(barObject);
if (isInstance(barObject,Bar):
self.bar = barObject
else:
# throw... | 2010/07/25 | [
"https://Stackoverflow.com/questions/3327454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/160032/"
] | I think that it's good practice to check *input* for type. It's reasonable to assume that if you asked a user to give one data type they might give you another, so you should code to defend against this.
However, it seems like a waste of time (both writing and running the program) to check the type of input that the p... | If your alternative to the type check is an else containing exception handling, then you should really consider duck typing one tier up, supporting as many objects with the methods you require from the input, and working inside a try.
You can then except (and except as specifically as possible) that.
The final result w... |
3,327,454 | Is it common in Python to keep testing for type values when working in a OOP fashion?
```
class Foo():
def __init__(self,barObject):
self.bar = setBarObject(barObject)
def setBarObject(barObject);
if (isInstance(barObject,Bar):
self.bar = barObject
else:
# throw... | 2010/07/25 | [
"https://Stackoverflow.com/questions/3327454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/160032/"
] | I think that it's good practice to check *input* for type. It's reasonable to assume that if you asked a user to give one data type they might give you another, so you should code to defend against this.
However, it seems like a waste of time (both writing and running the program) to check the type of input that the p... | I agree with some of the above answers, in that I generally never check for type from one function to another.
However, as someone else mentioned, anything accepted from a user should be checked, and for things like this I use regular expressions. The nice thing about using regular expressions to validate user input i... |
8,384,624 | I have one to many association in my dto,
Parent DTO : **Question**
Child DTO : **History**
**Question 1:**
Means One question record has many history records, I am using JPA2.x with hibernate,
I bound the entities with lazy fetching method/mode. some places I want the lazy fetching...
and some places I don't wa... | 2011/12/05 | [
"https://Stackoverflow.com/questions/8384624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1081416/"
] | Your code executes in the background window of your extension, the `window` object is the background window. To change tab location you need to execute code in the tab. You do it with the [`chrome.tabs.executeScript` method](http://code.google.com/chrome/extensions/tabs.html#method-executeScript). Something like this (... | Use the [chrome.tabs.create](http://code.google.com/chrome/extensions/tabs.html#method-create) API. |
8,384,624 | I have one to many association in my dto,
Parent DTO : **Question**
Child DTO : **History**
**Question 1:**
Means One question record has many history records, I am using JPA2.x with hibernate,
I bound the entities with lazy fetching method/mode. some places I want the lazy fetching...
and some places I don't wa... | 2011/12/05 | [
"https://Stackoverflow.com/questions/8384624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1081416/"
] | You can use the `chrome.tabs.update` API to change the location:
```js
function callLocalhost(info, tab) {
chrome.tabs.update(
info.tab,
{"url": obj."http://localhost/" + info.selectionText});
}
```
Unlike the `chrome.tabs.executeScript` approach proposed by Wladimir, this doesn't require script execut... | Use the [chrome.tabs.create](http://code.google.com/chrome/extensions/tabs.html#method-create) API. |
3,068,887 | I am using some XML parser to get some information from API, blah blah... :)
In one place in my script, I need to convert string to int but I'm not sure how...
Here is my object:
```
object(parserXMLElement)#45 (4) {
["name:private"]=>
string(7) "balance"
["data:private"]=>
object(SimpleXMLElement)#46 (1) {
... | 2010/06/18 | [
"https://Stackoverflow.com/questions/3068887",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/175793/"
] | you have an object, intval of an object will always be 1(if it doesnt have a \_\_toString() magic method defined).
you can intval SimpleXMLElement and it will return 11426, but to do that, the data member of the parserXMLElement class has to be public. you might need to define a getData() method for the parserXMLElemen... | You need to use [`intval`](http://php.net/manual/en/function.intval.php). For example:
```
echo intval($parsed->result->balance);
```
will output the value as an integer - assuming that `balance` is a string. |
3,503,676 | You have a length of wire and you want to find the maximum and minimum area that can be created if you cut the wire into two, and bend it to form a square and an equilateral triangle.
I know the answer will be that the maximum will be when all the wire is used for the square, and the minimum will be when all the wire... | 2020/01/10 | [
"https://math.stackexchange.com/questions/3503676",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/727158/"
] | Assume the wire is $L$ long and you cut it to $xL$ for the triangle and $(1-x)L$ for the square. Then, the side of the equilateral triangle must be $t=xL/3$ and of the square will be $s=(1-x)L/4$.
Based on this, the area of the triangle will be $t^2\sqrt{3}/4$ and of the square will be $s^2$, so the total area now can... | Use $N$ for the total length (as a constant), and $x$ (variable) as the length of the side of a square. Then, the length of the sides of the triangle will be $\frac{N - x}{3}$.
Then you can use $\frac{N - x}{3}$ as the base for your triangle, and $(\frac{1}{4}x)^2$ as the area of the square. Then you create a function... |
3,503,676 | You have a length of wire and you want to find the maximum and minimum area that can be created if you cut the wire into two, and bend it to form a square and an equilateral triangle.
I know the answer will be that the maximum will be when all the wire is used for the square, and the minimum will be when all the wire... | 2020/01/10 | [
"https://math.stackexchange.com/questions/3503676",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/727158/"
] | Assume the wire is $L$ long and you cut it to $xL$ for the triangle and $(1-x)L$ for the square. Then, the side of the equilateral triangle must be $t=xL/3$ and of the square will be $s=(1-x)L/4$.
Based on this, the area of the triangle will be $t^2\sqrt{3}/4$ and of the square will be $s^2$, so the total area now can... | Let l be the length of wire and n and m be the side lengths of equilateral triangle and that of square respectively.
$$Hence\,\,l = 3n + 4m -------(1) $$
$$Area \,\,A(n)=(\frac{\sqrt{3}}{4})n^2+m^2$$
Using (1)
$$ A(n)=(\frac{\sqrt{3}}{4})n^2+(\frac{l-3n}{4})^2$$
Differentiate w.r.t n
$$A'(n)=2.(\frac{\sqrt{3}}{4})n-... |
3,503,676 | You have a length of wire and you want to find the maximum and minimum area that can be created if you cut the wire into two, and bend it to form a square and an equilateral triangle.
I know the answer will be that the maximum will be when all the wire is used for the square, and the minimum will be when all the wire... | 2020/01/10 | [
"https://math.stackexchange.com/questions/3503676",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/727158/"
] | Use $N$ for the total length (as a constant), and $x$ (variable) as the length of the side of a square. Then, the length of the sides of the triangle will be $\frac{N - x}{3}$.
Then you can use $\frac{N - x}{3}$ as the base for your triangle, and $(\frac{1}{4}x)^2$ as the area of the square. Then you create a function... | Let l be the length of wire and n and m be the side lengths of equilateral triangle and that of square respectively.
$$Hence\,\,l = 3n + 4m -------(1) $$
$$Area \,\,A(n)=(\frac{\sqrt{3}}{4})n^2+m^2$$
Using (1)
$$ A(n)=(\frac{\sqrt{3}}{4})n^2+(\frac{l-3n}{4})^2$$
Differentiate w.r.t n
$$A'(n)=2.(\frac{\sqrt{3}}{4})n-... |
29,550,238 | I am following [this tutorial (using meteor on modulus)](http://help.modulus.io/customer/portal/articles/1647770-using-meteor-with-modulus) to test telescope app and how the deploy works
I am getting this error :
>
> Unable to connect to any application instances.
>
>
>
And this is the log:
>
> /mnt/data/1/nod... | 2015/04/09 | [
"https://Stackoverflow.com/questions/29550238",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1130903/"
] | This is a common issue when you don't redeploy the application after the first step.
run this 2 commands.
```
modulus project restart
modulus deploy
```
**NOTE** be sure the URL don't have any blank space either. | From step three of the tutorial,
>
> The Meteor app is not quite ready yet and the logs will show errors. We have to deploy first in order to receive a URL for Meteor's required environment variables.
>
>
>
Have you goen through and correctly defined all of the environment variables? |
1,818,882 | Let $L/K$ be a finite Galois extension of number fields with Galois group $G$. Determine a necessary and sufficient condition on $L/K$ to
ensure that
$$\{I\in \text{Id}\_L,\text{ such that }\sigma (I)=I, \forall \sigma \in G\}=\text{Id}\_K$$
where $\text{Id}\_K$ is seen as a subgroup of $\text{Id}\_L$ through the ex... | 2016/06/08 | [
"https://math.stackexchange.com/questions/1818882",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/223794/"
] | Your mistake is this:
>
> It's not true that there must exist a prime ideal of $\mathcal O\_K$ which ramifies in $\mathcal O\_L$.
>
>
>
For example, the extension $\mathbb Q({\sqrt{-5}},i)/\mathbb Q(\sqrt{-5})$ is unramified at all primes. Note that the class group of $\mathbb Q({\sqrt{-5}})$ is cyclic of order ... | As a complement to Matmo123's answer, I would like to take a cohomological approach, not for the sake of « abstract non sense », but in order to show that your problem is just an introduction the so called « genus theory » for class groups. Notations : $L/K$ is finite Galois with group $G$, $I\_K$ and $I\_L$ are the re... |
43,114,232 | I have an `ArrayList` of string elements that the user enters in the `MainActivity` of my application (Android Studio). It is called `ArrayList<String>` `serviceNames`. The service names can be anything like Facebook, Fitness App, Clock App etc. I want to assign an Integer value to each of these user inputs of services... | 2017/03/30 | [
"https://Stackoverflow.com/questions/43114232",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7667132/"
] | In order to use `Intersect` I suggest implementing `IEqualityComparer<T>`, something like this :
```
public class FD
{
public string Name { get; set; }
}
static void Main()
{
List<FD> fdList1 = new List<FD>();
fdList1.Add(new FD { Name = "a" });
List<FD> fdList2 = new List<FD>();
... | If you created your own class, and did not override the `Equals`-method in that class, the `Intersect`-method will only compare the references of the objects, and not the properties.
Take the following, really simple class:
```
class MyClass
{
int Value { get; set; }
public MyClass(int value)
{
this.Value ... |
19,166,603 | I'm attempting to add a custom header filter in my Dropwizard instance to check to see if the request's version is synced to the Dropwizard instance's version.
I see you can use `FilterBuilder` to add jetty `CrossOriginFilters`. However, I am having trouble figuring out how to set a custom filter.
Thanks | 2013/10/03 | [
"https://Stackoverflow.com/questions/19166603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/811282/"
] | Via the Environment class.
<https://dropwizard.github.io/dropwizard/manual/core.html#environments>
```
@Override
public void run(MyApplicationConfiguration configuration, Environment environment) {
environment.servlets().addFilter("Custom-Filter-Name", new MyCustomFilter()).addMappingForUrlPatterns(EnumSet.allOf... | This is how I got it to work using Dropwwizard 0.7.1 (APIs appear to have changed from other examples I found out there)
In run method of your application:
```
final FilterRegistration.Dynamic cors = environment.servlets().addFilter("crossOriginRequsts", CrossOriginFilter.class);
cors.addMappingForUrlPatterns(EnumSet... |
8,314,790 | I'm working on some legacy code and I ran into something that I'm not sure is safe - in fact I'm pretty sure it's undefined, but I'm not entirely sure why (more or less a bad feeling).
For some reason this code has a class, we'll call it A. Class A has an overloaded pre-increment operator (++) that appears to do some ... | 2011/11/29 | [
"https://Stackoverflow.com/questions/8314790",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/857994/"
] | The order of evaluation of function arguments is unspecified, so if either operation affects the value of the other, then this is indeed a problem.
(In your code, though, this would somehow require `B` to be a reference to a member of `A`. As it's written, one would not suspect that there might be a problem (but you n... | The value of parameters is computed *before* entering the function. The order of computation is *not* specified. So the code you given might produce unexpected results. You can fix it with
```
++A;
foo(A, *B)
```
but of course, as you said if B is part of A then only A should be passed. |
243,635 | As much as the answer is known to be a "Yes", I want to understand the following:
1. Can I buy a preowned (used-very good/like new) game to use in PS4?
2. What should I not be expecting from a used/pre-owned PS4 game?
The question behind this is the Call of Duty: Advanced Warfare which I believe has gone down to an a... | 2015/11/16 | [
"https://gaming.stackexchange.com/questions/243635",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/96084/"
] | As [DGarvanski has already covered](https://gaming.stackexchange.com/a/243637/73976), there isn't any weird checking if you want to use pre-owned games on PS4. Like most pre-owned games however, *if* there was any additional content that was unlocked by the use of downloadable content, or passes or something similar, t... | **Yes, you can play it normally.**
The PS4 allows the use of pre-owned games without any online checks or weird DRM. I've checked and Call of Duty: AW has no "Online Pass" system in place so you wouldn't have to buy anything extra in order to play. The only thing that will be different is if you buy a special edition s... |
47,480,279 | I'm using [Spark](http://sparkjava.com) to create a rest API.
also I'm using **ormLite** + **mysql** database for persistent database.
now the question is when should i close the connection to the database ?
or should i close the connection after each request ?
This is how I'm connecting to the database :
```
Jdbc... | 2017/11/24 | [
"https://Stackoverflow.com/questions/47480279",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5264543/"
] | Database connections are expensive to open and thus valuable.
I would suggest that you investigate if you can use a connection pool that manages opening and closing connections in the background.
I have used the [connection pool developed for Tomcat](https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html) with some ... | Ok so actually based on [Gray's](https://stackoverflow.com/users/179850/gray) comment this is how you do it with **Spark** :
```
JdbcPooledConnectionSource connectionSource = JdbcPooledConnectionSource(databasePath, username, password);
```
What I'm doing is using `JdbcPooledConnectionSource` instead of `JdbcConnec... |
39,099,526 | Hi have the following example code:
**func.h** - header file for functions
```
#include <vector>
#include <tuple>
using std::vector;
using std::tuple;
tuple <double,double> A(vector<int>& n);
```
**func.cpp** - function cpp file
```
#include <iostream>
#include <vector>
#include <tuple>
using namespace std;
tuple ... | 2016/08/23 | [
"https://Stackoverflow.com/questions/39099526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1420894/"
] | I cut and pasted your three files (`func.h`, `func.cpp` and `main.cpp`) and I can assure you that on my Linux box (CentOS 7.2) with g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4) everything works fine (your original command had some errors):
`g++ -o myProg -O3 -std=c++0x main.cpp func.cpp -lm`
Update your GCC (even from ... | Since you want to run an executable (compiled from recent [C++11](https://en.wikipedia.org/wiki/C%2B%2B11) or [C++14](https://en.wikipedia.org/wiki/C%2B%2B14) source code) on a server with an old version of Linux and of [GCC](http://gcc.gnu.org/) -you have [GCC 4.4](https://gcc.gnu.org/gcc-4.4/) which does not support ... |
39,099,526 | Hi have the following example code:
**func.h** - header file for functions
```
#include <vector>
#include <tuple>
using std::vector;
using std::tuple;
tuple <double,double> A(vector<int>& n);
```
**func.cpp** - function cpp file
```
#include <iostream>
#include <vector>
#include <tuple>
using namespace std;
tuple ... | 2016/08/23 | [
"https://Stackoverflow.com/questions/39099526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1420894/"
] | Surprisingly the error seems to tell you that std=c++0x is not set.
Double check your compilation command. it should be
```
g++ -std=c++0x -o b main.cpp func.cpp -O3 -lm
```
and not
```
g++ -o -std=c++0x b main.cpp func.cpp -03 -lm
```
as in the original question. | Since you want to run an executable (compiled from recent [C++11](https://en.wikipedia.org/wiki/C%2B%2B11) or [C++14](https://en.wikipedia.org/wiki/C%2B%2B14) source code) on a server with an old version of Linux and of [GCC](http://gcc.gnu.org/) -you have [GCC 4.4](https://gcc.gnu.org/gcc-4.4/) which does not support ... |
39,099,526 | Hi have the following example code:
**func.h** - header file for functions
```
#include <vector>
#include <tuple>
using std::vector;
using std::tuple;
tuple <double,double> A(vector<int>& n);
```
**func.cpp** - function cpp file
```
#include <iostream>
#include <vector>
#include <tuple>
using namespace std;
tuple ... | 2016/08/23 | [
"https://Stackoverflow.com/questions/39099526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1420894/"
] | You are telling GCC to output to the file named "-std=c++0x", and thus not setting that option at all, leading to this error. What it does with "b" afterwards, I have no idea. But you should always do "-o outputfilename" and not put other options between the "-o" option and its argument. | Since you want to run an executable (compiled from recent [C++11](https://en.wikipedia.org/wiki/C%2B%2B11) or [C++14](https://en.wikipedia.org/wiki/C%2B%2B14) source code) on a server with an old version of Linux and of [GCC](http://gcc.gnu.org/) -you have [GCC 4.4](https://gcc.gnu.org/gcc-4.4/) which does not support ... |
70,877 | In the sentence:
* Thomas ist froh, weil er sein Abitur mit 1,7
bestanden hat.
Why don't we use (Präteritum) or (Plusquamperfekt) or Perfect(habe bestanden)?
I am struggling with the differences between (Präteritum) and (Plusquamperfekt) and (Perfekt),
And also i have problem understanding the differences between (... | 2022/06/15 | [
"https://german.stackexchange.com/questions/70877",
"https://german.stackexchange.com",
"https://german.stackexchange.com/users/53009/"
] | We're using present perfect, because the moment of passing the exam is in the past and he still has it today.
Simple past (preterite) would sound weird because our focus here is on the situation as it is now (we're happy, he has it).
Generally, you need to stop looking for the equivalents in English. These thing ofte... | Tenses
------
>
> I am struggling with the differences between (Präteritum) and (Plusquamperfekt) and (Perfekt)
>
>
>
Let us start with this. It has already been said that german and english tenses don't map one-to-one. Take, what i write as a rule of thumb:
**Präsens** is used for things currently taking place ... |
50,567,283 | I need to understand how to read from keyboard a string of a precise number of characters.
This function is called from the `main`.
```
void get_string(char *prompt,
char *input,
int length)
{
printf("%s", prompt);
if (!fgets(input, length, stdin))
{
printf("\nErrore: Inse... | 2018/05/28 | [
"https://Stackoverflow.com/questions/50567283",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7297188/"
] | use `scanf("%4s")`. The 4 before the `s` stops saving the input after 4th char.
```
char buf[4];
scanf("%4s", buf);
printf("%s\n", buf);
input: 123abc
output: 123a
```
This solution is wrong ,as it would read not only alphanumeric.
My 2nd attempt was changing the `scanf` to this `scanf("%4[a-zA-Z0-9]s", buf);` bu... | As I read from another answer, you could perform this through a scanf function like this:
```
scanf("%3s", string);
```
Where 3 is the maximum number of characters able to be read. Remember that if you want to read n characters, your array has to be n+1 long because of the null terminator '\0'
Hope this helps, |
25,320,250 | I'm using javascipt to validate a form and the code is like below,
```
function validateForm() {
console.log("start check form");
var errors = [];
var form = document.getElementsByTagName('form')[0];
/*
* Store appropriate form elements.
* There are many ways to do thi... | 2014/08/15 | [
"https://Stackoverflow.com/questions/25320250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3928849/"
] | First you map the error array to the contained messages: [`array.map()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map).
Then you can join the messages: [`array.join()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join).
```
if (er... | ```
for( var sAlert = '', i = 0, iL = errors.length; i < iL; ++i ) {
sAlert += errors[i].message + '\n';
}
alert(sAlert );
```
I didn't had a closer look at your code but if everything is fine this should solve it :) |
25,320,250 | I'm using javascipt to validate a form and the code is like below,
```
function validateForm() {
console.log("start check form");
var errors = [];
var form = document.getElementsByTagName('form')[0];
/*
* Store appropriate form elements.
* There are many ways to do thi... | 2014/08/15 | [
"https://Stackoverflow.com/questions/25320250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3928849/"
] | Change your loop to append the message to a variable, then alert after the loop:
```
var messages = "";
for(var i=0; i<errors.length;i++){
messages += errors[i].message + "\n";
}
alert(messages)
``` | ```
for( var sAlert = '', i = 0, iL = errors.length; i < iL; ++i ) {
sAlert += errors[i].message + '\n';
}
alert(sAlert );
```
I didn't had a closer look at your code but if everything is fine this should solve it :) |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | **Answer: Yes**, this is exactly how it is done in the real world. What you have described is what I do in my job to check systems in CAD.
Since you indicated you would like me to step through my design process, I have detailed it below. Note that most of this does not involve CAD. CAD is invaluable, but only if you a... | CAD is essential for determining Geometrical interference and special design. If Finite Elements are used in the CAD package, the data can be used for stress and strain calculations (determining if the system will withstand the loads). This can get complicated since if a system is going to be dynamic, there are static ... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | **Answer: Yes**, this is exactly how it is done in the real world. What you have described is what I do in my job to check systems in CAD.
Since you indicated you would like me to step through my design process, I have detailed it below. Note that most of this does not involve CAD. CAD is invaluable, but only if you a... | I work for a fortune 500 mechanical engineering company.
The process of product development in an mechanical system is broadly:
I assume that you have a complete specification of things like forces, temperatures, pressures etc. and can begin designing straight away. The first thing is to start generating design conc... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | **Answer: Yes**, this is exactly how it is done in the real world. What you have described is what I do in my job to check systems in CAD.
Since you indicated you would like me to step through my design process, I have detailed it below. Note that most of this does not involve CAD. CAD is invaluable, but only if you a... | Not sure how you've gotten on but I'm in the same boat and have gotten stumped...
"it will entail gears, linkages and actuators" I believe is very difficult for the hobbyist. This level of modelling requires professional design software costing ££££. If you can get that, then all is well after you've engaged with the ... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | **Answer: Yes**, this is exactly how it is done in the real world. What you have described is what I do in my job to check systems in CAD.
Since you indicated you would like me to step through my design process, I have detailed it below. Note that most of this does not involve CAD. CAD is invaluable, but only if you a... | >
> I am new to mechanical engineering, although I have a scientific
> background (postgrad in Mathematics), and I (mostly) code for a
> living.
>
>
>
My observation is that there are plenty of analogues between how software is designed, tested for, coded (heh, in that order), and distributed - and how mechanica... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | CAD is essential for determining Geometrical interference and special design. If Finite Elements are used in the CAD package, the data can be used for stress and strain calculations (determining if the system will withstand the loads). This can get complicated since if a system is going to be dynamic, there are static ... | >
> I am new to mechanical engineering, although I have a scientific
> background (postgrad in Mathematics), and I (mostly) code for a
> living.
>
>
>
My observation is that there are plenty of analogues between how software is designed, tested for, coded (heh, in that order), and distributed - and how mechanica... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | I work for a fortune 500 mechanical engineering company.
The process of product development in an mechanical system is broadly:
I assume that you have a complete specification of things like forces, temperatures, pressures etc. and can begin designing straight away. The first thing is to start generating design conc... | >
> I am new to mechanical engineering, although I have a scientific
> background (postgrad in Mathematics), and I (mostly) code for a
> living.
>
>
>
My observation is that there are plenty of analogues between how software is designed, tested for, coded (heh, in that order), and distributed - and how mechanica... |
2,125 | I am new to mechanical engineering, although I have a scientific background (postgrad in Mathematics), and I (mostly) code for a living.
I have an idea about creating a mechanical device; I envisage it will entail gears, linkages and actuators.
I have a rough idea where things will fit but I would like to be able to ... | 2015/03/18 | [
"https://engineering.stackexchange.com/questions/2125",
"https://engineering.stackexchange.com",
"https://engineering.stackexchange.com/users/932/"
] | Not sure how you've gotten on but I'm in the same boat and have gotten stumped...
"it will entail gears, linkages and actuators" I believe is very difficult for the hobbyist. This level of modelling requires professional design software costing ££££. If you can get that, then all is well after you've engaged with the ... | >
> I am new to mechanical engineering, although I have a scientific
> background (postgrad in Mathematics), and I (mostly) code for a
> living.
>
>
>
My observation is that there are plenty of analogues between how software is designed, tested for, coded (heh, in that order), and distributed - and how mechanica... |
21,163,562 | I have the following table:
<http://i42.tinypic.com/sovfab.png>
I need to insert all fields into a new table in mysql when I clicked on "plus" button. In adition I need to show this modal:
<http://i39.tinypic.com/mrd63k.png>
In resume, I need to insert data and show modal on the same click.
I'm using MVC with code... | 2014/01/16 | [
"https://Stackoverflow.com/questions/21163562",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3200400/"
] | Your case is certainly a candidate for using PIVOT table syntax. The below is a simple query which does pivot.
```
SELECT Department_number
,[January]
,[February]
,[March]
FROM (
SELECT Department_number, Amount, datename(date_created) AS month_created from <Your_Table>
) AS SOURCETABLE
PIVOT(SUM([Amount]) FOR month_... | If you want to display this in SSRS report then go for Row and Column grouping and aggregate the amount otherwise you can use Pivot Table with TSQL : [How to pivot table with T-SQL?](https://stackoverflow.com/questions/9830960/how-to-pivot-table-with-t-sql) |
10,343,253 | I'm hoping someone can help me with my design issue. I have index.php:
which contains a javascript piece of code:
```
<script type="text/javascript">
$(function() {
$.getJSON('http://localhost/getData.php', function(data) {
foo...
```
index.php also contains a form that updates the screen:
```
<form actio... | 2012/04/27 | [
"https://Stackoverflow.com/questions/10343253",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1341635/"
] | You can use `$(input_selector).val()` to get the value of a form input, and you can pass it to getJSON as an object, like this:
```
$.getJSON('http://localhost/getData.php', {
some_value: $(some_input).val(),
other_value: $(other_input).val()
}, function(data) { ... });
```
You can also use [serialize](http:... | Hmm. Look very closely at this line:
```
<form id="myform" action="index.php" method="post" />
```
Oops. You self-closed your form. That may be causing issues with how the input/select elements update. Try changing it to:
```
<form id="myform" action="index.php" method="post">
```
You also don't actually need the... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | Make sure you don't have duplicate LpVariable names, and watch out for LpVariable names with the unsupported characters `-+[] ->/` since all of those characters are silently converted to underscores `_`
Setting `LpSolverDefault.msg = 1` before calling `prob.solve()` may help by printing the solvers output to the conso... | I experienced the same issue when launching multiple instances of the LPSolver class. As fmars stated, the problem is that the path 'tmpSol' does not exist, which is defined in the following lines of code within the solvers.py file of pulp:
```
pid = os.getpid()
tmpLp = os.path.join(self.tmpDir, "%d-pulp.lp" % pid)
tm... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I recently had a similar problem due to Nan inputs in the model. I had the data in a DataFrame where some the cells should not bee converted to variables to improve performance. However, upon creating the objective function and the constraints, I noticed the presence of Nan and when I changed them it worked perfectly. | I had this problem today, and it was because the temporary files for CBC were trying to be written in a location whose path had spaces in it, and the command that pulp passes to subprocess.Popen() to run CBC does not use quotes, and thus the command was misinterpreted and CBC couldn't find the location to create temp f... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I recently had a similar problem due to Nan inputs in the model. I had the data in a DataFrame where some the cells should not bee converted to variables to improve performance. However, upon creating the objective function and the constraints, I noticed the presence of Nan and when I changed them it worked perfectly. | I had a similar problem, and indeed with duplicate LpVariable names just like levis501's answer and aleon answered.
my code was:
```
var = [[pulp.LpVariable(f'x{i}{j}', lowBound=0, cat=pulp.LpInteger) for j in range(col)] for i in range(row)]
```
when i=1 j=11, x would be x111, and when i=11 j=1, x also would be x1... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I think that you have duplicate LpVariable names. I just had the same problem and saw it thanks to [levis501's answer](https://stackoverflow.com/a/30551217/10797640). Here:
```
X = [[LpVariable('X' + str(i+1) + str(j+1), 0, C[i,j],LpBinary)
for j in range(N)] for i in range(N)]
```
X contains some variables wi... | I had this problem today, and it was because the temporary files for CBC were trying to be written in a location whose path had spaces in it, and the command that pulp passes to subprocess.Popen() to run CBC does not use quotes, and thus the command was misinterpreted and CBC couldn't find the location to create temp f... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | Make sure you don't have duplicate LpVariable names, and watch out for LpVariable names with the unsupported characters `-+[] ->/` since all of those characters are silently converted to underscores `_`
Setting `LpSolverDefault.msg = 1` before calling `prob.solve()` may help by printing the solvers output to the conso... | I recently had the same error raised aswell. The reason this error code was raised in my case was that my data frame was not correctly populated. i incorrectly had `NaN` on the RHS on some of my constraints
What is had was something like:
`Matrix = df.pivot(1st_dimension, 2nd_dimension, value)`
This operation automa... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | Make sure you don't have duplicate LpVariable names, and watch out for LpVariable names with the unsupported characters `-+[] ->/` since all of those characters are silently converted to underscores `_`
Setting `LpSolverDefault.msg = 1` before calling `prob.solve()` may help by printing the solvers output to the conso... | I had this problem today, and it was because the temporary files for CBC were trying to be written in a location whose path had spaces in it, and the command that pulp passes to subprocess.Popen() to run CBC does not use quotes, and thus the command was misinterpreted and CBC couldn't find the location to create temp f... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I think that you have duplicate LpVariable names. I just had the same problem and saw it thanks to [levis501's answer](https://stackoverflow.com/a/30551217/10797640). Here:
```
X = [[LpVariable('X' + str(i+1) + str(j+1), 0, C[i,j],LpBinary)
for j in range(N)] for i in range(N)]
```
X contains some variables wi... | I had a similar problem, and indeed with duplicate LpVariable names just like levis501's answer and aleon answered.
my code was:
```
var = [[pulp.LpVariable(f'x{i}{j}', lowBound=0, cat=pulp.LpInteger) for j in range(col)] for i in range(row)]
```
when i=1 j=11, x would be x111, and when i=11 j=1, x also would be x1... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I experienced the same issue when launching multiple instances of the LPSolver class. As fmars stated, the problem is that the path 'tmpSol' does not exist, which is defined in the following lines of code within the solvers.py file of pulp:
```
pid = os.getpid()
tmpLp = os.path.join(self.tmpDir, "%d-pulp.lp" % pid)
tm... | I had this problem today, and it was because the temporary files for CBC were trying to be written in a location whose path had spaces in it, and the command that pulp passes to subprocess.Popen() to run CBC does not use quotes, and thus the command was misinterpreted and CBC couldn't find the location to create temp f... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I recently had a similar problem due to Nan inputs in the model. I had the data in a DataFrame where some the cells should not bee converted to variables to improve performance. However, upon creating the objective function and the constraints, I noticed the presence of Nan and when I changed them it worked perfectly. | I experienced the same issue when launching multiple instances of the LPSolver class. As fmars stated, the problem is that the path 'tmpSol' does not exist, which is defined in the following lines of code within the solvers.py file of pulp:
```
pid = os.getpid()
tmpLp = os.path.join(self.tmpDir, "%d-pulp.lp" % pid)
tm... |
27,406,858 | I am trying to solve MILP in puLP (Python), and I keep getting the following error:
```
Traceback (most recent call last):
File "main_lp.py", line 63, in <module>
ans = solve_lp(C)
File "/home/ashwin/Documents/Williams/f2014/math317_or/project/solve_lp.py", line 36, in solve_lp
prob.solve()
File "/usr/l... | 2014/12/10 | [
"https://Stackoverflow.com/questions/27406858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2387589/"
] | I recently had the same error raised aswell. The reason this error code was raised in my case was that my data frame was not correctly populated. i incorrectly had `NaN` on the RHS on some of my constraints
What is had was something like:
`Matrix = df.pivot(1st_dimension, 2nd_dimension, value)`
This operation automa... | I have met some similar problem which because of some PuLP's bug. When some problem is infeasible and the solver failed to solve the problem, PuLP raise an exception rather than return status equals to infeasible. Below is the reason.
(You may first want to check out latest codebase of PuLP because the line number you... |
516,261 | In relativity theory it is accepted that speed of light is invariant and even time is flexible. Can the mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible? Because time is such a complex concept that we cannot measure it or even theoretically define it, I think... | 2019/11/26 | [
"https://physics.stackexchange.com/questions/516261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/248182/"
] | >
> Can mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible?
>
>
>
Not to my knowledge, no. The time you call “flexible” is coordinate time and is frame variant and cannot be made invariant. However, in relativity there is also proper time, which is invaria... | >
> Can the mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible?
>
>
>
**No** : in-variance of $c$ is proved by [Kennedy & Thorndike](https://en.wikipedia.org/wiki/Kennedy%E2%80%93Thorndike_experiment) and variance of $t$ is proved by [Ives & Stilwell](http... |
516,261 | In relativity theory it is accepted that speed of light is invariant and even time is flexible. Can the mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible? Because time is such a complex concept that we cannot measure it or even theoretically define it, I think... | 2019/11/26 | [
"https://physics.stackexchange.com/questions/516261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/248182/"
] | >
> Can mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible?
>
>
>
Not to my knowledge, no. The time you call “flexible” is coordinate time and is frame variant and cannot be made invariant. However, in relativity there is also proper time, which is invaria... | It is possible to measure time by counting reliably periodic events, such as the spinning of the Earth about its axis or the swings of a pendulum. Generally speaking, more accurate measurements can be made by picking events with shorter and more uniform periods. The most accurate clocks currently, known as atomic clock... |
516,261 | In relativity theory it is accepted that speed of light is invariant and even time is flexible. Can the mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible? Because time is such a complex concept that we cannot measure it or even theoretically define it, I think... | 2019/11/26 | [
"https://physics.stackexchange.com/questions/516261",
"https://physics.stackexchange.com",
"https://physics.stackexchange.com/users/248182/"
] | It is possible to measure time by counting reliably periodic events, such as the spinning of the Earth about its axis or the swings of a pendulum. Generally speaking, more accurate measurements can be made by picking events with shorter and more uniform periods. The most accurate clocks currently, known as atomic clock... | >
> Can the mathematics of relativity be interpreted in such a way that time is invariant and everything else is flexible?
>
>
>
**No** : in-variance of $c$ is proved by [Kennedy & Thorndike](https://en.wikipedia.org/wiki/Kennedy%E2%80%93Thorndike_experiment) and variance of $t$ is proved by [Ives & Stilwell](http... |
20,019,736 | i am new on cocos2d, I have
```
int score;//default 0
```
I am increasing the score but when switch scene, score is going to be 0 again.
How can i keep the score when i switch the scene?
Sorry for my bad english.
Best Regards. Thanks for your advice. | 2013/11/16 | [
"https://Stackoverflow.com/questions/20019736",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1525166/"
] | I reset `lawlist-filename` to `nil` at the end of each example so that it can be used in a variety of other functions, including, but not limited to, `dired-read-file-name`: [dired-read-file-name: pop-up dired mode to read-file-name](https://stackoverflow.com/questions/19899595/dired-read-file-name-pop-up-dired-mode-to... | This works, but it seems inelegant:
<http://www.emacswiki.org/emacs/KeyboardMacros>
I used a macro:
>
> (fset 'my\_macro
>
>
>
```
[?! ?o ?p ?e ?n ? return])
``` |
55,546,875 | I am following below JSON structure to send push notification from PHP script to an android app but not able to achieve so. I am using POSTMAN and getting a status code of 200 but notification is not received.
**JSON STRUCTURE I AM FOLLOWING:**
<https://firebase.google.com/docs/cloud-messaging/concept-options>
```
... | 2019/04/06 | [
"https://Stackoverflow.com/questions/55546875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7254873/"
] | ### TL;DR: `torch.flatten()`
Use [`torch.flatten()`](https://pytorch.org/docs/stable/torch.html#torch.flatten) which was introduced in [v0.4.1](https://github.com/pytorch/pytorch/releases/tag/v0.4.1) and documented in [v1.0rc1](https://github.com/pytorch/pytorch/releases/tag/v1.0rc1):
>
>
> ```
> >>> t = torch.tens... | Use `torch.reshape` and only a single dimension can be passed to flatten it. If you do not want the dimension to be hardcoded, just `-1` could be specified and the correct dimension would be inferred.
```
>>> x = torch.tensor([[1,2], [3,4]])
>>> x.reshape(-1)
tensor([1, 2, 3, 4])
```
EDIT:
For your example:
[![ente... |
55,546,875 | I am following below JSON structure to send push notification from PHP script to an android app but not able to achieve so. I am using POSTMAN and getting a status code of 200 but notification is not received.
**JSON STRUCTURE I AM FOLLOWING:**
<https://firebase.google.com/docs/cloud-messaging/concept-options>
```
... | 2019/04/06 | [
"https://Stackoverflow.com/questions/55546875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7254873/"
] | ### TL;DR: `torch.flatten()`
Use [`torch.flatten()`](https://pytorch.org/docs/stable/torch.html#torch.flatten) which was introduced in [v0.4.1](https://github.com/pytorch/pytorch/releases/tag/v0.4.1) and documented in [v1.0rc1](https://github.com/pytorch/pytorch/releases/tag/v1.0rc1):
>
>
> ```
> >>> t = torch.tens... | `flatten()` uses `reshape()` beneath in [C++ PyTorch code](https://github.com/pytorch/pytorch/blob/ef6356133ebdc4b9b49dd1aac2ca7b3e3f05ca7c/aten/src/ATen/native/TensorShape.cpp#L814-L839).
With `flatten()` you may do things like this:
```py
import torch
input = torch.rand(2, 3, 4).cuda()
print(input.shape) # torch.S... |
55,546,875 | I am following below JSON structure to send push notification from PHP script to an android app but not able to achieve so. I am using POSTMAN and getting a status code of 200 but notification is not received.
**JSON STRUCTURE I AM FOLLOWING:**
<https://firebase.google.com/docs/cloud-messaging/concept-options>
```
... | 2019/04/06 | [
"https://Stackoverflow.com/questions/55546875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7254873/"
] | ### TL;DR: `torch.flatten()`
Use [`torch.flatten()`](https://pytorch.org/docs/stable/torch.html#torch.flatten) which was introduced in [v0.4.1](https://github.com/pytorch/pytorch/releases/tag/v0.4.1) and documented in [v1.0rc1](https://github.com/pytorch/pytorch/releases/tag/v1.0rc1):
>
>
> ```
> >>> t = torch.tens... | you can do a simple `t.view(-1)`
```
>>>t = torch.rand([2, 3, 5])
>>>t = t.view(-1)
>>>t.shape
torch.Size([30])
``` |
55,546,875 | I am following below JSON structure to send push notification from PHP script to an android app but not able to achieve so. I am using POSTMAN and getting a status code of 200 but notification is not received.
**JSON STRUCTURE I AM FOLLOWING:**
<https://firebase.google.com/docs/cloud-messaging/concept-options>
```
... | 2019/04/06 | [
"https://Stackoverflow.com/questions/55546875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7254873/"
] | Use `torch.reshape` and only a single dimension can be passed to flatten it. If you do not want the dimension to be hardcoded, just `-1` could be specified and the correct dimension would be inferred.
```
>>> x = torch.tensor([[1,2], [3,4]])
>>> x.reshape(-1)
tensor([1, 2, 3, 4])
```
EDIT:
For your example:
[.
With `flatten()` you may do things like this:
```py
import torch
input = torch.rand(2, 3, 4).cuda()
print(input.shape) # torch.S... |
55,546,875 | I am following below JSON structure to send push notification from PHP script to an android app but not able to achieve so. I am using POSTMAN and getting a status code of 200 but notification is not received.
**JSON STRUCTURE I AM FOLLOWING:**
<https://firebase.google.com/docs/cloud-messaging/concept-options>
```
... | 2019/04/06 | [
"https://Stackoverflow.com/questions/55546875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7254873/"
] | Use `torch.reshape` and only a single dimension can be passed to flatten it. If you do not want the dimension to be hardcoded, just `-1` could be specified and the correct dimension would be inferred.
```
>>> x = torch.tensor([[1,2], [3,4]])
>>> x.reshape(-1)
tensor([1, 2, 3, 4])
```
EDIT:
For your example:
[![ente... | you can do a simple `t.view(-1)`
```
>>>t = torch.rand([2, 3, 5])
>>>t = t.view(-1)
>>>t.shape
torch.Size([30])
``` |
561,442 | Is there a word or expression in English to describe someone who has the power/ability/skills to act upon something, but we already expect them not to do it because they see themselves as not in a position where they *need* to take an effort to act?
It doesn't necessarily refer to a person, could be a corporation as w... | 2021/02/27 | [
"https://english.stackexchange.com/questions/561442",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/289673/"
] | The following idiomatic expression can be used to convey the idea you want to express:
>
> [rest on your laurels](https://dictionary.cambridge.org/it/dizionario/inglese/rest-on-your-laurels)
>
>
> to be satisfied with your achievements an not to make an effort to do anything else.
>
>
>
(Cambridge Dictionary)
... | The situation you describe of some people (or companies) being neglectful or lazy, and not caring to act because their (perceived) dominance may come from a bias known as the [overconfidence\_effect](https://en.wikipedia.org/wiki/Overconfidence_effect)
The dictionary has many terms for not acting. I like Indolence, wi... |
40,582,594 | I am using jquery to Delete recordes i have 2 different jquery methods one is to Delete a single record which goes in Controller Destroy method and other is to Delete Multiple records which goes in Controller destroyAll method
I want to use only Destroy method for both in Controller where delete for single and multipl... | 2016/11/14 | [
"https://Stackoverflow.com/questions/40582594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7858231/"
] | If this field was a summary (You right clicked on a certain field, then you chose to insert --> Summary) Then you can right click on it, then choose `Edit Summary`, then instead of `Count` choose `Sum`. | sometimes Crystal report has this "bug" that causes sum to count
eventhough it is set to SUM it still counts the items
adding a **tonumber** solves this issue.
all you have to do is create a formula field for your column and use tonumber
[](https:/... |
57,290,839 | In my C# code I have a list of Tuples. The tuples themselves consist of two numbers of the type `double` and an object of type `LocalDate`.
```
List<Tuple<double, double, LocalDate>> tupleList = new List<Tuple<double, double, LocalDate>>();
```
The list, for instance, could look as follows.
```
1, 10, LocalDate1
12... | 2019/07/31 | [
"https://Stackoverflow.com/questions/57290839",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/973158/"
] | Linq would be the way to go:
```
var firstValues = tupleList.Select(x => x.Item1).ToList();
```
This projects the list of Tuples into a list of the first items only, keeping their order. Same with the second, third, n'th item as well.
If you want an array, just invoke `ToArray()` instead of `ToList()`. | This can be done with a baseline for loop:
```
//Sorry for any Syntax errors. Got no VS installation in reach
double[] output = new double[tupleList.Length];
for(int i = 0; i < tupleList.Length; i++){
output[i] = tupleList[i].Item1;
}
```
Of course something like linq or anything that uses lambdas in general migh... |
7,665,849 | I am looking for a simple library ( and/or app - eventually want both ) example ( like a math library or whatever) for iOS which has a makefile for it that I can use as a template to make other makefiles from and learn. Static of course, (and dynamic if iOS supports it so I can have 2+ apps that share common code)
The... | 2011/10/05 | [
"https://Stackoverflow.com/questions/7665849",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/576448/"
] | The first link pictorially represents the process step by step that you've asked then the second link contains a package that allows a programmer to compile a make file based project
[click me](http://blog.boreal-kiss.net/2011/03/15/how-to-create-universal-static-libraries-on-xcode-4/)
[click me](https://github.com/h... | If you want to build a static library using a make file and link against it every time you build your Xcode project, you can add a "run script" build phase in your project before all the others, which runs this make file, and then add the built library to your linking phase. If you want a make file that builds the enti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.