qid int64 1 74.7M | question stringlengths 12 33.8k | date stringlengths 10 10 | metadata list | response_j stringlengths 0 115k | response_k stringlengths 2 98.3k |
|---|---|---|---|---|---|
41,921 | I'm an amateur photographer that loves portraits and recently I started to take photographs at weddings. As time goes by I'm getting more and more work to photograph these weddings.
The wedding party moves around almost the entire day, forcing me on my feet to run/walk/jog around to capture the images. After a full da... | 2013/08/20 | [
"https://photo.stackexchange.com/questions/41921",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/4892/"
] | I'm a big fan of either Dockers or Sketcher's dress shoes. Add a pair of gel inserts if you need and that should help a lot. Also, use of a monopod and any good weight balancing gear you can use will also help spread the weight out evenly. As edilsonfb pointed out, using really good socks can also help. | The answers were specific for men's shoes so far. What may well work either way are ballroom dancing shoes. The soles are usually suede which may or may not be a problem but obviously they are made for looking well and being reasonably comfortable to move around in. Latin dancing shoes may also be an option, particular... |
41,921 | I'm an amateur photographer that loves portraits and recently I started to take photographs at weddings. As time goes by I'm getting more and more work to photograph these weddings.
The wedding party moves around almost the entire day, forcing me on my feet to run/walk/jog around to capture the images. After a full da... | 2013/08/20 | [
"https://photo.stackexchange.com/questions/41921",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/4892/"
] | I'm glad to answer your question and I hope will helpful for you.
I'm a wedding photographer from Brazil, here we have lot's of confortable brands of shoes, as in your country has.
If you're shooting the cerimony you must use social shoes, and that's why I prefer invest on great socks instead of classic socks (you're ... | The answers were specific for men's shoes so far. What may well work either way are ballroom dancing shoes. The soles are usually suede which may or may not be a problem but obviously they are made for looking well and being reasonably comfortable to move around in. Latin dancing shoes may also be an option, particular... |
41,921 | I'm an amateur photographer that loves portraits and recently I started to take photographs at weddings. As time goes by I'm getting more and more work to photograph these weddings.
The wedding party moves around almost the entire day, forcing me on my feet to run/walk/jog around to capture the images. After a full da... | 2013/08/20 | [
"https://photo.stackexchange.com/questions/41921",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/4892/"
] | I'm a big fan of either Dockers or Sketcher's dress shoes. Add a pair of gel inserts if you need and that should help a lot. Also, use of a monopod and any good weight balancing gear you can use will also help spread the weight out evenly. As edilsonfb pointed out, using really good socks can also help. | I am not sure, but probably you can consult an orthopedist.
It is not necessary that you have a problem, but he could make you a specific molded shoe so it perfectly fits your feet.
Just an Idea. |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | [sysstat](http://sebastien.godard.pagesperso-orange.fr/) is made pretty much exactly for your kind of purpose. | **[Server Density](http://www.serverdensity.com/) does exactly what you describe.**
I use it on one of our production servers and am very happy about it. It's top feature is the ability to view charts, click on a peak and see the server CPU/Memory consumption at that current time, including all running processes. They... |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | **[Server Density](http://www.serverdensity.com/) does exactly what you describe.**
I use it on one of our production servers and am very happy about it. It's top feature is the ability to view charts, click on a peak and see the server CPU/Memory consumption at that current time, including all running processes. They... | [Munin](http://munin-monitoring.org/) will do all of what you need out of the box without requiring Nagios or any other tool. There are RPMs available for OpenSUSE. |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | The answers suggested when I asked a similar [question](https://serverfault.com/questions/67234/storing-calculating-historical-load-averages):
[Icapan](https://serverfault.com/users/7651/icapan) [said](https://serverfault.com/questions/67234/storing-calculating-historical-load-averages/67266#67266):
>
> [Munin](http... | [Munin](http://munin-monitoring.org/) will do all of what you need out of the box without requiring Nagios or any other tool. There are RPMs available for OpenSUSE. |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | Have you tried collectd?
It's very powerful and customizable.
Has a lot of plugins and could be integrated with nagios.
<http://collectd.org/features.shtml> | **[Server Density](http://www.serverdensity.com/) does exactly what you describe.**
I use it on one of our production servers and am very happy about it. It's top feature is the ability to view charts, click on a peak and see the server CPU/Memory consumption at that current time, including all running processes. They... |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | I've used atop before:
<http://freshmeat.net/projects/atop/>
"Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded ... | Centreon on top of Nagios, Nagios coupled with NRPE. You can then write custom scripts to report data in ANY format you wish to NRPE. Nagios then polls the data from remote servers with NRPE and Centreon makes a pretty graph and adds a ton of user flexibility. We use it over at <http://beyondhosting.net> I have a VZ Co... |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | I've used atop before:
<http://freshmeat.net/projects/atop/>
"Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded ... | [Munin](http://munin-monitoring.org/) will do all of what you need out of the box without requiring Nagios or any other tool. There are RPMs available for OpenSUSE. |
163,563 | I am looking for a way to diagnose issues, such as swap death, where a balooning memory process fills up swap and kills the whole machine (such as apache).
I'm already using cacti and I can set up nagios (though would rather not) or munin but as far as I can tell they can't record individual program usage - just overa... | 2010/07/23 | [
"https://serverfault.com/questions/163563",
"https://serverfault.com",
"https://serverfault.com/users/2491/"
] | I've used atop before:
<http://freshmeat.net/projects/atop/>
"Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded ... | **[Server Density](http://www.serverdensity.com/) does exactly what you describe.**
I use it on one of our production servers and am very happy about it. It's top feature is the ability to view charts, click on a peak and see the server CPU/Memory consumption at that current time, including all running processes. They... |
46,518,818 | <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html>
Based on the above article and the FAQ, is there another article which can I help me better understand the near real time metrics and EC2 sending metric to Cloudwatch in 1-minute periods?
The FAQ did state near real time for events and log, "*... | 2017/10/02 | [
"https://Stackoverflow.com/questions/46518818",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4943855/"
] | AWS have three levels of monitoring frequency
* "standard" the free tier 5 minute metrics
* "detailed" the pay for version, 1 minute metrics
* "high resolution" anything under 1 minute
You specifically asked about alarms. Under high resolution, alarms can be configured for as fast as 10 seconds.
See <https://aws.ama... | CloudWatch Events sends metrics to Amazon CloudWatch every minute.
This article from Amazon will help you with more details:
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwe-metricscollected.html> |
306,152 | I have a software that manages user accounts at a given service.
The administrator creates the account, the user validates e-mail and other data and then the account is considered to be valid/good for use.
I have a list/table that lists all accounts and I want a term/expression to fill a column of my table describing... | 2016/02/13 | [
"https://english.stackexchange.com/questions/306152",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/140902/"
] | **The planets aligning**
>
> It only occurs once in a thousand years like **the planets aligning** that a lady gets attracted to me and shows interest, but I ruin the opportunity (to approach her) stupidly and have to wait another thousand years!
>
>
>
This idiom will make those who believe in Astrology happy. Th... | If you really insist on sticking with the super-hyperbolic “1000-year” time frame, then you should go with something that actually does reoccur only that often (or something whose re-occurrence is at least “close enough for self-deprecation,” like Candied’s answer).
Personally, however, I’d reduce the time frame to ei... |
306,152 | I have a software that manages user accounts at a given service.
The administrator creates the account, the user validates e-mail and other data and then the account is considered to be valid/good for use.
I have a list/table that lists all accounts and I want a term/expression to fill a column of my table describing... | 2016/02/13 | [
"https://english.stackexchange.com/questions/306152",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/140902/"
] | **The planets aligning**
>
> It only occurs once in a thousand years like **the planets aligning** that a lady gets attracted to me and shows interest, but I ruin the opportunity (to approach her) stupidly and have to wait another thousand years!
>
>
>
This idiom will make those who believe in Astrology happy. Th... | **Once in a blue moon** - refers to a very rare event.
>
> To do something “once in a blue moon” is to do it very rarely: “That company puts on a good performance only once in a blue moon.” The phrase refers to the appearance of a second full moon within a calendar month, which actually happens about every thirty-two... |
306,152 | I have a software that manages user accounts at a given service.
The administrator creates the account, the user validates e-mail and other data and then the account is considered to be valid/good for use.
I have a list/table that lists all accounts and I want a term/expression to fill a column of my table describing... | 2016/02/13 | [
"https://english.stackexchange.com/questions/306152",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/140902/"
] | **Once in a blue moon** - refers to a very rare event.
>
> To do something “once in a blue moon” is to do it very rarely: “That company puts on a good performance only once in a blue moon.” The phrase refers to the appearance of a second full moon within a calendar month, which actually happens about every thirty-two... | If you really insist on sticking with the super-hyperbolic “1000-year” time frame, then you should go with something that actually does reoccur only that often (or something whose re-occurrence is at least “close enough for self-deprecation,” like Candied’s answer).
Personally, however, I’d reduce the time frame to ei... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | Raisin cakes were an item used in pagan worship1. The NET Bible makes this explicit:
>
> ...although they turn to other gods and love to offer raisin cakes to idols.
>
>
>
The same practice is spoken of in Jeremiah 7:18
>
> Children are gathering firewood, fathers are building fires with it, and women are mixin... | "love the sacred raisin cakes" could possibly relate to the pleasant or appealing aspect of a sweet palatable acceptance of an offering made to represent one's acceptance of that form of worship and to be filled with adoration and inspiration while participating in that form of worship. The fact that it is "sacred" imp... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | Raisin cakes were an item used in pagan worship1. The NET Bible makes this explicit:
>
> ...although they turn to other gods and love to offer raisin cakes to idols.
>
>
>
The same practice is spoken of in Jeremiah 7:18
>
> Children are gathering firewood, fathers are building fires with it, and women are mixin... | The verse already disparages the "children of Israel" who sometimes stray from the flock by "turn(ing) to other gods", so to "love cakes of raisins" as a reference to idol worship would be redundant, and the scripture rarely is. Not to mention, that that interpretation is a huge stretch, when you think of the often sym... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The Hebrew of "raisin cakes" is
>
> אֲשִׁישֵׁ֥י עֲנָבִֽים
>
>
>
Strong's: [809](http://www.blueletterbible.org/lang/lexicon/lexicon.cfm?Strongs=H809&t=KJV), [6025](http://www.blueletterbible.org/lang/lexicon/lexicon.cfm?Strongs=H6025&t=KJV).
The old rendering is "flagons of wine" (KJV). If that interpretation is... | Raisin cakes were not uncommon in the time of the Hebrews as raisins themselves weren't, being that raisin cakes were just raisins pressed into cake form. They were sweet, being a compressed form of sugar. They were eaten as a delicacy in SoS. This probably has more to do in Hosea with Israel turning to the things they... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The link to Strong H809 in Kazark's answer brings three other references:
1. II Sam 6:19
2. I Chron 16:3
3. Song 5:2
In addition see Isaiah 16:7.
None of the contexts gives a clearer idea of what "ashishim" are. Different words but similar general imagery to Hosea 3:1 in Amos 6:6 provided a basis for some commentato... | Raisin cakes were not uncommon in the time of the Hebrews as raisins themselves weren't, being that raisin cakes were just raisins pressed into cake form. They were sweet, being a compressed form of sugar. They were eaten as a delicacy in SoS. This probably has more to do in Hosea with Israel turning to the things they... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | Raisin cakes were not uncommon in the time of the Hebrews as raisins themselves weren't, being that raisin cakes were just raisins pressed into cake form. They were sweet, being a compressed form of sugar. They were eaten as a delicacy in SoS. This probably has more to do in Hosea with Israel turning to the things they... | "love the sacred raisin cakes" could possibly relate to the pleasant or appealing aspect of a sweet palatable acceptance of an offering made to represent one's acceptance of that form of worship and to be filled with adoration and inspiration while participating in that form of worship. The fact that it is "sacred" imp... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The verse already disparages the "children of Israel" who sometimes stray from the flock by "turn(ing) to other gods", so to "love cakes of raisins" as a reference to idol worship would be redundant, and the scripture rarely is. Not to mention, that that interpretation is a huge stretch, when you think of the often sym... | "love the sacred raisin cakes" could possibly relate to the pleasant or appealing aspect of a sweet palatable acceptance of an offering made to represent one's acceptance of that form of worship and to be filled with adoration and inspiration while participating in that form of worship. The fact that it is "sacred" imp... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The link to Strong H809 in Kazark's answer brings three other references:
1. II Sam 6:19
2. I Chron 16:3
3. Song 5:2
In addition see Isaiah 16:7.
None of the contexts gives a clearer idea of what "ashishim" are. Different words but similar general imagery to Hosea 3:1 in Amos 6:6 provided a basis for some commentato... | "love the sacred raisin cakes" could possibly relate to the pleasant or appealing aspect of a sweet palatable acceptance of an offering made to represent one's acceptance of that form of worship and to be filled with adoration and inspiration while participating in that form of worship. The fact that it is "sacred" imp... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The Hebrew of "raisin cakes" is
>
> אֲשִׁישֵׁ֥י עֲנָבִֽים
>
>
>
Strong's: [809](http://www.blueletterbible.org/lang/lexicon/lexicon.cfm?Strongs=H809&t=KJV), [6025](http://www.blueletterbible.org/lang/lexicon/lexicon.cfm?Strongs=H6025&t=KJV).
The old rendering is "flagons of wine" (KJV). If that interpretation is... | I think some of the answer can be found in the other scriptures, 2 Samuel 6. David uses this cake as a mass produced gift from him to bless each man and woman of Israel.
It is also worth considering that it's reference here may have had a local understanding, one that was transient but understood by those of the time, ... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The link to Strong H809 in Kazark's answer brings three other references:
1. II Sam 6:19
2. I Chron 16:3
3. Song 5:2
In addition see Isaiah 16:7.
None of the contexts gives a clearer idea of what "ashishim" are. Different words but similar general imagery to Hosea 3:1 in Amos 6:6 provided a basis for some commentato... | The verse already disparages the "children of Israel" who sometimes stray from the flock by "turn(ing) to other gods", so to "love cakes of raisins" as a reference to idol worship would be redundant, and the scripture rarely is. Not to mention, that that interpretation is a huge stretch, when you think of the often sym... |
1,751 | Hosea 3:1 reads (ESV):
>
> And the LORD said to me, “Go again, love a woman who is loved by another man and is an adulteress, even as the LORD loves the children of Israel, though they turn to other gods and **love cakes of raisins**.”
>
>
>
The translators of the NLT took this interpret "love cakes of raisins" t... | 2012/05/21 | [
"https://hermeneutics.stackexchange.com/questions/1751",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/273/"
] | The link to Strong H809 in Kazark's answer brings three other references:
1. II Sam 6:19
2. I Chron 16:3
3. Song 5:2
In addition see Isaiah 16:7.
None of the contexts gives a clearer idea of what "ashishim" are. Different words but similar general imagery to Hosea 3:1 in Amos 6:6 provided a basis for some commentato... | I think some of the answer can be found in the other scriptures, 2 Samuel 6. David uses this cake as a mass produced gift from him to bless each man and woman of Israel.
It is also worth considering that it's reference here may have had a local understanding, one that was transient but understood by those of the time, ... |
2,111,985 | I have an application that uses OpenGL on a GLSurfaceView. The problem
is that the initial load takes quite a while processing textures and
getting things ready.
What i want to do is have a simple PNG displayed (with a slight
animation) while the GLSurfaceView is getting ready. As soon as it's
ready to render, i would... | 2010/01/21 | [
"https://Stackoverflow.com/questions/2111985",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/57662/"
] | Might I suggest that you let Java do this for you?
* Use file.listFiles() to get the list of files
* Use file.getName().contains(string) to filter them if needed
* iterate over the array performing file.delete()
Advantage: improved portability, saves the cost of an exec() | 1. Use exec( String [] { cmd , arg1 , arg2...)
2. Here's a full example to get the result as a String : [Link](http://franckbehaghel.free.fr/java/exec-within-java.php). |
2,111,985 | I have an application that uses OpenGL on a GLSurfaceView. The problem
is that the initial load takes quite a while processing textures and
getting things ready.
What i want to do is have a simple PNG displayed (with a slight
animation) while the GLSurfaceView is getting ready. As soon as it's
ready to render, i would... | 2010/01/21 | [
"https://Stackoverflow.com/questions/2111985",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/57662/"
] | Might I suggest that you let Java do this for you?
* Use file.listFiles() to get the list of files
* Use file.getName().contains(string) to filter them if needed
* iterate over the array performing file.delete()
Advantage: improved portability, saves the cost of an exec() | Runtime.getRuntime().exec(new String[] { "sh", "-c", "gunzip \*.gz" }); |
2,111,985 | I have an application that uses OpenGL on a GLSurfaceView. The problem
is that the initial load takes quite a while processing textures and
getting things ready.
What i want to do is have a simple PNG displayed (with a slight
animation) while the GLSurfaceView is getting ready. As soon as it's
ready to render, i would... | 2010/01/21 | [
"https://Stackoverflow.com/questions/2111985",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/57662/"
] | Runtime.getRuntime().exec(new String[] { "sh", "-c", "gunzip \*.gz" }); | 1. Use exec( String [] { cmd , arg1 , arg2...)
2. Here's a full example to get the result as a String : [Link](http://franckbehaghel.free.fr/java/exec-within-java.php). |
4,661,931 | We've got some HTML emails that get sent out that show email addresses our service has blocked. When viewing the email in Outlook (and presumably in other clients as well) these plain-text email addresses get turned into clickable links that would compose a new message to this address when clicked.
Is there a way to p... | 2011/01/11 | [
"https://Stackoverflow.com/questions/4661931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/79677/"
] | Most email clients strip out META tags, Javascript, and other types of code not necessary for email. Outlook is going to do what it wants with your email, so what you may want to do is wrap the addresses with your own anchor tag and use a blank HREF. Then, style the link to look like the rest of your text. | I think a better answer is to formulate anything that you think a mail client might try to generate a link for in a way that breaks up the string a bit like this: <https://stackoverflow.com/a/7625887/470749> |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | >
> **Resolved**: [taylor-series](https://math.stackexchange.com/questions/tagged/taylor-series "show questions tagged 'taylor-series'") is now a synonym of [taylor-expansion](https://math.stackexchange.com/questions/tagged/taylor-expansion "show questions tagged 'taylor-expansion'")
>
>
>
I think that the tags [t... | The tag [sedenions](https://math.stackexchange.com/questions/tagged/sedenions "show questions tagged 'sedenions'") looks very narrow to me. [Only nine questions even mention the word at all.](https://math.stackexchange.com/search?q=sedenion+is%3Aquestion) It seems to me that sedenions are only ever thought about when o... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | >
> **Resolved**: [taylor-series](https://math.stackexchange.com/questions/tagged/taylor-series "show questions tagged 'taylor-series'") is now a synonym of [taylor-expansion](https://math.stackexchange.com/questions/tagged/taylor-expansion "show questions tagged 'taylor-expansion'")
>
>
>
I think that the tags [t... | The [congruences](https://math.stackexchange.com/questions/tagged/congruences "show questions tagged 'congruences'")-issue should not be forgotten. It has been mentioned more than a year ago in <http://meta.math.stackexchange.com/questions/11232> but has not been solved since.
>
> Rename [congruences](https://math.s... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | In accordance with [this post](https://math.meta.stackexchange.com/questions/18969/do-we-need-the-self-learning) and the responses there, I suggest:
* Delete [self-learning](https://math.stackexchange.com/questions/tagged/self-learning "show questions tagged 'self-learning'"); retag questions actually about the proces... | >
> **Resolved:** The tag was removed.
>
>
>
I can't see the utility of a tag like [non-noetherian](https://math.stackexchange.com/questions/tagged/non-noetherian "show questions tagged 'non-noetherian'") created here: [Krull's height theorem in the non-Noetherian case](https://math.stackexchange.com/questions/125... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | What do folks here think about the tag [necklace-and-bracelets](https://math.stackexchange.com/questions/tagged/necklace-and-bracelets "show questions tagged 'necklace-and-bracelets'")? It started in January '14 and currently 9 questions carry this tag.
AFAICT those questions are about the application of Burnside's le... | Make [regular-expressions](https://math.stackexchange.com/questions/tagged/regular-expressions "show questions tagged 'regular-expressions'") a synonym of [regular-language](https://math.stackexchange.com/questions/tagged/regular-language "show questions tagged 'regular-language'"). Perhaps pluralize [regular-language]... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | >
> Rename [searching](https://math.stackexchange.com/questions/tagged/searching "show questions tagged 'searching'") to [search-algorithms](https://math.stackexchange.com/questions/tagged/search-algorithms "show questions tagged 'search-algorithms'")
>
>
>
The name 'searching' is just unclear. | We have a [metalogic](https://math.stackexchange.com/questions/tagged/metalogic "show questions tagged 'metalogic'") tag, apparently. I think it could be either removed or merged/synonymized into [meta-math](https://math.stackexchange.com/questions/tagged/meta-math "show questions tagged 'meta-math'"). |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | >
> Suggestion: Burninate and blacklist [differential](https://math.stackexchange.com/questions/tagged/differential "show questions tagged 'differential'").
>
>
>
I'd like us as a community to evaluate the tag [differential](https://math.stackexchange.com/questions/tagged/differential "show questions tagged 'diffe... | There are tags [l-series](https://math.stackexchange.com/questions/tagged/l-series "show questions tagged 'l-series'") and [l-functions](https://math.stackexchange.com/questions/tagged/l-functions "show questions tagged 'l-functions'").
While there is a slight difference, I do not think we need these as separate tags.... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | The [monoid](https://math.stackexchange.com/questions/tagged/monoid "show questions tagged 'monoid'") tag has inconsistent plurality. I suggest renaming to [monoids](https://math.stackexchange.com/questions/tagged/monoids "show questions tagged 'monoids'"). | There are tags [l-series](https://math.stackexchange.com/questions/tagged/l-series "show questions tagged 'l-series'") and [l-functions](https://math.stackexchange.com/questions/tagged/l-functions "show questions tagged 'l-functions'").
While there is a slight difference, I do not think we need these as separate tags.... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | >
> **Resolved**: The tag is gone
>
>
>
What is [generalized-functions](https://math.stackexchange.com/questions/tagged/generalized-functions "show questions tagged 'generalized-functions'") for?
It is often misused, and when it is used correctly it seems to be synonymous with [distribution-theory](https://math.s... | The tag [algebraic-numbers](https://math.stackexchange.com/questions/tagged/algebraic-numbers "show questions tagged 'algebraic-numbers'") is created recently. Do we need such a tag? I suggest to make it a synonym of [abstract-algebra](https://math.stackexchange.com/questions/tagged/abstract-algebra "show questions tag... |
19,037 | Tags need a regular cleanup. This is a customary thread for tag synonyms etc.
Rules of the game are basically [the same](http://meta.math.stackexchange.com/q/12485/):
* post your suggestion as an answer here if you see
+ a particularly bad tag (a rule of thumb: «if I can't imagine a person classifying a tag as eithe... | 2015/01/01 | [
"https://math.meta.stackexchange.com/questions/19037",
"https://math.meta.stackexchange.com",
"https://math.meta.stackexchange.com/users/152/"
] | I feel that we should remove tags like [noetherian](https://math.stackexchange.com/questions/tagged/noetherian "show questions tagged 'noetherian'"), [prime-ideals](https://math.stackexchange.com/questions/tagged/prime-ideals "show questions tagged 'prime-ideals'") and [maximal-ideals](https://math.stackexchange.com/qu... | The tag [algebraic-numbers](https://math.stackexchange.com/questions/tagged/algebraic-numbers "show questions tagged 'algebraic-numbers'") is created recently. Do we need such a tag? I suggest to make it a synonym of [abstract-algebra](https://math.stackexchange.com/questions/tagged/abstract-algebra "show questions tag... |
26,905 | I text-messaged my friend on his cell phone last night and this morning I got a reply saying, "I had saved your number, ...but I didn't check my cell until now.."
Is "didn't check until now" okay, or should it be "hadn't checked it until now" ? | 2011/05/25 | [
"https://english.stackexchange.com/questions/26905",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/5828/"
] | *Hadn't checked until now* would be incorrect, as *hadn't checked* (or *had not checked*) is the past perfect tense, meaning he would be saying that something had not yet occurred at a moment in the past. However, *now* indicates that the point of reference is the present.
I think your primary confusion is the change ... | "Didn't check until now" has the meaning that his cell wasn't checked up until now.
"Hadn't checked until now" had the meaning that he was going to check it but did not have the chance until now.
So it depends whether your friend was delayed or not. |
26,905 | I text-messaged my friend on his cell phone last night and this morning I got a reply saying, "I had saved your number, ...but I didn't check my cell until now.."
Is "didn't check until now" okay, or should it be "hadn't checked it until now" ? | 2011/05/25 | [
"https://english.stackexchange.com/questions/26905",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/5828/"
] | 1. **Didn't check** would mean, an activity, checking, was not done.
Whether they check always or not.
2. **Hadn't checked** would mean, possession of, checking activity.
Which leads to the meaning, he/she would always check there *sth*(something, cell) but
on this occasion it was not done. | "Didn't check until now" has the meaning that his cell wasn't checked up until now.
"Hadn't checked until now" had the meaning that he was going to check it but did not have the chance until now.
So it depends whether your friend was delayed or not. |
26,905 | I text-messaged my friend on his cell phone last night and this morning I got a reply saying, "I had saved your number, ...but I didn't check my cell until now.."
Is "didn't check until now" okay, or should it be "hadn't checked it until now" ? | 2011/05/25 | [
"https://english.stackexchange.com/questions/26905",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/5828/"
] | *Hadn't checked until now* would be incorrect, as *hadn't checked* (or *had not checked*) is the past perfect tense, meaning he would be saying that something had not yet occurred at a moment in the past. However, *now* indicates that the point of reference is the present.
I think your primary confusion is the change ... | 1. **Didn't check** would mean, an activity, checking, was not done.
Whether they check always or not.
2. **Hadn't checked** would mean, possession of, checking activity.
Which leads to the meaning, he/she would always check there *sth*(something, cell) but
on this occasion it was not done. |
4,552 | All (or at least almost all) tournaments at ATP level have a qualifying competition, from which players can get into the main draw.
Do players get some points if they win a match in the qualifying rounds? If not, do at least winners of the qualifying get points? (IIRC the players who enter main draw get points even if... | 2014/04/26 | [
"https://sports.stackexchange.com/questions/4552",
"https://sports.stackexchange.com",
"https://sports.stackexchange.com/users/1237/"
] | Tom,
First I'd like to clear up some misconceptions you might have about the NTRP rating scale and where players (and teaching pros) fall on that scale.
The skill level of your local tennis pro or instructor can vary greatly. Some tennis pros are former professional players while some, who understand the game and the... | Absolutely no way you can *learn something* in three days(or 3 weeks, even 3 months), let alone reaching "intermediate level"(for which 3 years are probably still not quite enough). Also if all those tens of thousands of coaches are 6.0 out of 7.0 then this rating scale will be a joke.
The claim is highly unlikely. Po... |
4,552 | All (or at least almost all) tournaments at ATP level have a qualifying competition, from which players can get into the main draw.
Do players get some points if they win a match in the qualifying rounds? If not, do at least winners of the qualifying get points? (IIRC the players who enter main draw get points even if... | 2014/04/26 | [
"https://sports.stackexchange.com/questions/4552",
"https://sports.stackexchange.com",
"https://sports.stackexchange.com/users/1237/"
] | Tom,
First I'd like to clear up some misconceptions you might have about the NTRP rating scale and where players (and teaching pros) fall on that scale.
The skill level of your local tennis pro or instructor can vary greatly. Some tennis pros are former professional players while some, who understand the game and the... | You can make huge strides in even three weeks assuming you're practicing every day. Three months is enough time to reach 4.5 level. Kids progress the fastest. A motivated kid can go from a complete beginner to a somewhat advanced player in three months. My daughter (and I) teaches tennis and has a little Asian boy who ... |
4,552 | All (or at least almost all) tournaments at ATP level have a qualifying competition, from which players can get into the main draw.
Do players get some points if they win a match in the qualifying rounds? If not, do at least winners of the qualifying get points? (IIRC the players who enter main draw get points even if... | 2014/04/26 | [
"https://sports.stackexchange.com/questions/4552",
"https://sports.stackexchange.com",
"https://sports.stackexchange.com/users/1237/"
] | Absolutely no way you can *learn something* in three days(or 3 weeks, even 3 months), let alone reaching "intermediate level"(for which 3 years are probably still not quite enough). Also if all those tens of thousands of coaches are 6.0 out of 7.0 then this rating scale will be a joke.
The claim is highly unlikely. Po... | You can make huge strides in even three weeks assuming you're practicing every day. Three months is enough time to reach 4.5 level. Kids progress the fastest. A motivated kid can go from a complete beginner to a somewhat advanced player in three months. My daughter (and I) teaches tennis and has a little Asian boy who ... |
29,704 | I am circuit bending a walkie-talkie to move some of the switches around and embed it in a shoe.
One part I'm not sure about is how to replace some momentary switches on the front with external switches I bought. I will be hand soldering this, and I don't want to fry the circuit board.
Here's the front of the circuit... | 2012/04/11 | [
"https://electronics.stackexchange.com/questions/29704",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/9064/"
] | Here's how to solder it neatly:
As Polynomial suggested, First rub the gold pads with a little fine sandpaper (1200 grit), or a [salmon Garyflex block](http://www.amazon.co.uk/Garryson-Garryflex-Abrasive-Block-240grit/dp/B0001P08UG/ref=sr_1_2?ie=UTF8&qid=1334157572&sr=8-2). Clean it with some methylated spirits. Run a... | From the looks of it, the buttons on the front are pressure buttons (not sure of the technical name), which simply consist of two conductive rings with a metal plate hovering over them. When you press the button, the plate hits the rings and bridges the circuit.
I'd *guess* that the outer ring is connected to a transi... |
993,770 | add and GetContentPane are methods
Does this code access a method in a method? What does this code do?
frame.getContentPane().add(BorderLayout.SOUTH, b); | 2009/06/14 | [
"https://Stackoverflow.com/questions/993770",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/106615/"
] | A method can return an object. And you can call a method on that object.
There are languages that support local functions. But those are not visible from the outside. | getContentPane() returns a Container, and add is one of the methods of the Container class.
So by doing frame.getContentPane() you're getting the Container object returned by it, and then calling the add method for that object. |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | No, Bethesda has decided not to do so although there is a crafting file for it in the game. Maybe they'll patch it later?
But for the moment no, just scour the world shops and buy the arrows at the stores. | From what everyone has stated, the dawngaurd expansion gives you that ability. However, with everyone's statement about deadric arrows being shot from guards in cities or your housecarl are actually true. I have a bountiful supply of ebony arrows at only level 12, and an extensive supply of dwarf, orc, and glass. Elven... |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | There is no fletching skill in Skyrim; only a skill to recover more arrows, Hunter's Discipline which Recover twice as many arrows from dead bodies.
[Archery Skills](http://www.uesp.net/wiki/Skyrim:Archery)
Edit: however, it seems to be added to the DawnGuard expansion
"If the Dawnguard plug-in has been installed, 1... | I read somewhere if you have a high enough pickpocket skill you can put a deadric arrow in Cynric Endell inventory and take all of his arrows - this will cause him to start practicing with the deadric and you can then farm them. |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | You can craft arrows and bolts at a forge (Fort Dawnguard forge in the case of bolts) if you have the Dawnguard DLC. 1 firewood and 1 metal ingot (substite metal with dragon bone in the case of Dragonbone arrows) make 24 arrows or 10 bolts. It is impossible to craft arrows in Skyrim sans Dawnguard/mods. | From what everyone has stated, the dawngaurd expansion gives you that ability. However, with everyone's statement about deadric arrows being shot from guards in cities or your housecarl are actually true. I have a bountiful supply of ebony arrows at only level 12, and an extensive supply of dwarf, orc, and glass. Elven... |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | No, Bethesda has decided not to do so although there is a crafting file for it in the game. Maybe they'll patch it later?
But for the moment no, just scour the world shops and buy the arrows at the stores. | There is no fletching skill in Skyrim; only a skill to recover more arrows, Hunter's Discipline which Recover twice as many arrows from dead bodies.
[Archery Skills](http://www.uesp.net/wiki/Skyrim:Archery)
Edit: however, it seems to be added to the DawnGuard expansion
"If the Dawnguard plug-in has been installed, 1... |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | You can craft arrows and bolts at a forge (Fort Dawnguard forge in the case of bolts) if you have the Dawnguard DLC. 1 firewood and 1 metal ingot (substite metal with dragon bone in the case of Dragonbone arrows) make 24 arrows or 10 bolts. It is impossible to craft arrows in Skyrim sans Dawnguard/mods. | I read somewhere if you have a high enough pickpocket skill you can put a deadric arrow in Cynric Endell inventory and take all of his arrows - this will cause him to start practicing with the deadric and you can then farm them. |
46,885 | I get the materials to make them like other games, but i can't seem to be able to make them. Is there a quest that has to be done before you can make arrows. | 2012/01/13 | [
"https://gaming.stackexchange.com/questions/46885",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/17876/"
] | No, Bethesda has decided not to do so although there is a crafting file for it in the game. Maybe they'll patch it later?
But for the moment no, just scour the world shops and buy the arrows at the stores. | I took one of my housecarls, gave her one deadric arrow and took her other ones as well as her sword so she had to shoot with a bow. We went to the snow areas and hunted for anything to kill, the arrows are easier to spot in the snow. Just walking around and fast traveling to other snow areas I got 174 arrows in less t... |
10,648,115 | lots of apps now need to interact with other apps. i'll give some examples:
take picture by calling system camera
open url like <http://www.shihuangzhilu.com> in a browser
android instruments can only test one app per time. can we do automation testing here? | 2012/05/18 | [
"https://Stackoverflow.com/questions/10648115",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1402717/"
] | You can't explicit definitely not using the current testing framework of android.
What you can do is use robotium, and then check if you have gotten the values back, and that you are no longer within your application/activity, that's the only way i can think of. | Yes, you can test across applications, see monkeyrunner:
<http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html>
(not to be confused with Monkey, another android tool) |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | All of the detailed probability calculations and Markov analysis posted by Eric P. and ire\_and\_curses can be distilled into a simple set of Risk attack heuristics:
* **Large battles favor the attacker but only very slightly.**
* **For small battles, attack if you have more armies, stop if you don't.**
---
**The ra... | If you are online, the easiest way to determine whether you have a good chance of winning a battle is to use this calculator:
<http://armsrace.co/probabilities>
It emphasizes a non-trivial conclusion: if you have the choice, always attack the big guys first in your sequence!
For instance, if you have 6 on a territory... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | If you are online, the easiest way to determine whether you have a good chance of winning a battle is to use this calculator:
<http://armsrace.co/probabilities>
It emphasizes a non-trivial conclusion: if you have the choice, always attack the big guys first in your sequence!
For instance, if you have 6 on a territory... | Here is an incredibly simple way to figure this out without graphs or calculators.
Simply count one of your soldiers defeated for every other soldier you intend to defeat & one of your soldiers left behind for every territory your conquer.
Example: If you wish to eliminate another player that has 12 soldiers spread ove... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | If you are online, the easiest way to determine whether you have a good chance of winning a battle is to use this calculator:
<http://armsrace.co/probabilities>
It emphasizes a non-trivial conclusion: if you have the choice, always attack the big guys first in your sequence!
For instance, if you have 6 on a territory... | Analyzing Dice Rolls in the Game of Risk
========================================
The Goal of this research is to answer this question: Who has the probable advantage in the game of Risk? Does the Attacker or the Defender have this advantage?
Initial Thinking:
-----------------
With two dice rolled, what is the prob... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | All of the detailed probability calculations and Markov analysis posted by Eric P. and ire\_and\_curses can be distilled into a simple set of Risk attack heuristics:
* **Large battles favor the attacker but only very slightly.**
* **For small battles, attack if you have more armies, stop if you don't.**
---
**The ra... | Here is an incredibly simple way to figure this out without graphs or calculators.
Simply count one of your soldiers defeated for every other soldier you intend to defeat & one of your soldiers left behind for every territory your conquer.
Example: If you wish to eliminate another player that has 12 soldiers spread ove... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | All of the detailed probability calculations and Markov analysis posted by Eric P. and ire\_and\_curses can be distilled into a simple set of Risk attack heuristics:
* **Large battles favor the attacker but only very slightly.**
* **For small battles, attack if you have more armies, stop if you don't.**
---
**The ra... | Analyzing Dice Rolls in the Game of Risk
========================================
The Goal of this research is to answer this question: Who has the probable advantage in the game of Risk? Does the Attacker or the Defender have this advantage?
Initial Thinking:
-----------------
With two dice rolled, what is the prob... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | As stated in the [Risk FAQ](http://www.kent.ac.uk/IMS/personal/odl/riskfaq.htm) the expected losses per attack for standard Risk rules is about 6 to 7. This means the attacker is expected to lose 6 armies for every 7 defender armies destroyed. Since we're talking about expected values, this represents the mean (average... | Analyzing Dice Rolls in the Game of Risk
========================================
The Goal of this research is to answer this question: Who has the probable advantage in the game of Risk? Does the Attacker or the Defender have this advantage?
Initial Thinking:
-----------------
With two dice rolled, what is the prob... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | As stated in the [Risk FAQ](http://www.kent.ac.uk/IMS/personal/odl/riskfaq.htm) the expected losses per attack for standard Risk rules is about 6 to 7. This means the attacker is expected to lose 6 armies for every 7 defender armies destroyed. Since we're talking about expected values, this represents the mean (average... | Here is an incredibly simple way to figure this out without graphs or calculators.
Simply count one of your soldiers defeated for every other soldier you intend to defeat & one of your soldiers left behind for every territory your conquer.
Example: If you wish to eliminate another player that has 12 soldiers spread ove... |
3,514 | I'm looking for an way to estimate the percent chance of winning a specific Risk battle. Assume the maximum number of dice will be used.
It doesn't need to be a perfect calculation, just an estimate to give a general idea of whether to attack or not. It needs to be easy to memorize.
I'm sure there is a trade off bet... | 2011/05/21 | [
"https://boardgames.stackexchange.com/questions/3514",
"https://boardgames.stackexchange.com",
"https://boardgames.stackexchange.com/users/1327/"
] | All of the detailed probability calculations and Markov analysis posted by Eric P. and ire\_and\_curses can be distilled into a simple set of Risk attack heuristics:
* **Large battles favor the attacker but only very slightly.**
* **For small battles, attack if you have more armies, stop if you don't.**
---
**The ra... | A good paper by Jason Osborne can be found [here](http://www4.stat.ncsu.edu/~jaosborn/research/RISK.pdf). (It's a correction to an earlier paper by Tan.) He uses Markov chain calculations to get the exact probabilities. You'll especially want to look at Table 3 on page 6, which has these probabilities rounded to three ... |
43,902,074 | Are there any logs in NetSuite that provide information regarding SuiteScript performance? For example, when I save a purchase order, I'd like to be able to see all of the SuiteScripts that executed (including SuiteScripts from 3rd party bundles) and their runtimes. Is this possible? | 2017/05/10 | [
"https://Stackoverflow.com/questions/43902074",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1298486/"
] | Check out the *Application Performance Monitor* bundle. I believe there is documentation in Help/SuiteAnswers about installing and managing it, but it will show you exactly what you're asking. | As I just found out, you can install the Script Performance Monitor Bundle (Bundle ID: 38106) or Application Performance Monitor SuiteApp (Bundle ID: 67350). Looks like 38106 has been replaced with 67350. This provides a performance dashboard and a bunch of tools for monitoring and checking performance of records, scri... |
76,944 | In researching the origin and purpose of the Analytical Tradition in philosophy, all that appeared was that it traces its origin to the 'Tractatus' offshoots following Wittgenstein and Russell, and perhaps to the aftermath of the Vienna Circle with Carnap, etc. The only other information explained that it is often term... | 2020/10/19 | [
"https://philosophy.stackexchange.com/questions/76944",
"https://philosophy.stackexchange.com",
"https://philosophy.stackexchange.com/users/-1/"
] | You can see: Michael Dummett, [Origins of Analytical Philosophy (1993)](https://books.google.it/books?id=lsSXQVBzJMoC&printsec=frontcover).
And see some fundamental statements from Russell:
* B.Russell, [Our Knowledge of the External World (1914)](https://books.google.it/books?id=ui-OvQEACAAJ), page 26:
"The topics ... | Analytic philosophy can be argued to have diverged from the Continental tradition with logical positivism and the Vienna Circle. Which Wittgenstein was associated with, and is considered to have done some of the most important work to develop, with his Tractatus. The 'linguistic turn' is considered to have begun to the... |
101,883 | I know that sometimes we are allowed to remove the name field as column in a related list. But for some related list we cannot remove the name. What is the rule and how to determine if we could be able to remove the column name or not ? Does it depend on the relationship type ? having only one parent ? | 2015/12/09 | [
"https://salesforce.stackexchange.com/questions/101883",
"https://salesforce.stackexchange.com",
"https://salesforce.stackexchange.com/users/13713/"
] | You cannot remove non-auto-number Name fields from related lists. I have learned this the hard way. | You can modify all of your custom related lists. However there are certain standard related lists which you cannot modify
1. Notes and Attachments
2. History
3. Approval History
Some objects have their additional related list, which might not be modifiable such as Case comments on Cases etc.
>
> Update - Steps to m... |
10,293,549 | I have learned basics of ExtJS and developed some web apps using ExtJS. Now I have to develop web desktop using ExtJS (like desktop app which is present in examples folder) but I am not able to find any documentation or tutorial or book about how to develop it.
Does anyone knows how to develop **web desktop applicatio... | 2012/04/24 | [
"https://Stackoverflow.com/questions/10293549",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/194476/"
] | I doubt you'll find a book or tutorial dedicated to exactly what you're looking for, but you can put together enough resources across the internet to do the trick.
A Google search of "extjs 4 cookbook" turned up a book called "Ext JS 4 Web Application Development Cookbook" that seems to have plenty of information. How... | You can just use default Web Desktop Sample provided by Sencha and modify it a little bit.
I am also interested in, I did what I advice you, so you can look what I have received now:
<http://www.bdovhan.orgfree.com/>
Hmmm, these free hosting providers use lot of ads if your site becomes clickable.
I created another mi... |
10,293,549 | I have learned basics of ExtJS and developed some web apps using ExtJS. Now I have to develop web desktop using ExtJS (like desktop app which is present in examples folder) but I am not able to find any documentation or tutorial or book about how to develop it.
Does anyone knows how to develop **web desktop applicatio... | 2012/04/24 | [
"https://Stackoverflow.com/questions/10293549",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/194476/"
] | I doubt you'll find a book or tutorial dedicated to exactly what you're looking for, but you can put together enough resources across the internet to do the trick.
A Google search of "extjs 4 cookbook" turned up a book called "Ext JS 4 Web Application Development Cookbook" that seems to have plenty of information. How... | We inspired from the desktop sample and we build a full functional web app using Extj 6.7 along with Unigui Framework (Delphi), and the result is awsome:
[](https://i.stack.imgur.com/ql9og.jpg)
Just implementing the idea step by step. |
10,293,549 | I have learned basics of ExtJS and developed some web apps using ExtJS. Now I have to develop web desktop using ExtJS (like desktop app which is present in examples folder) but I am not able to find any documentation or tutorial or book about how to develop it.
Does anyone knows how to develop **web desktop applicatio... | 2012/04/24 | [
"https://Stackoverflow.com/questions/10293549",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/194476/"
] | You can just use default Web Desktop Sample provided by Sencha and modify it a little bit.
I am also interested in, I did what I advice you, so you can look what I have received now:
<http://www.bdovhan.orgfree.com/>
Hmmm, these free hosting providers use lot of ads if your site becomes clickable.
I created another mi... | We inspired from the desktop sample and we build a full functional web app using Extj 6.7 along with Unigui Framework (Delphi), and the result is awsome:
[](https://i.stack.imgur.com/ql9og.jpg)
Just implementing the idea step by step. |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | Ok there are two things, while searching trains in Germany Bahn.de has been my best site. I have even used them to book hotels in Paris, its very informative and useful.
Second confusion may have been caused due to the Frankfurt airport station.
Frankfurt(Main) Flughafen is the name you are looking for if you look a... | As @skv explained, the train is better than goeuro suggests, you need to use the local train company's website.
Otherwise, you can obviously get a cab or rent a car. It's probably not even quicker but it's more flexible and, given the distances involved, perfectly doable. |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | Ok there are two things, while searching trains in Germany Bahn.de has been my best site. I have even used them to book hotels in Paris, its very informative and useful.
Second confusion may have been caused due to the Frankfurt airport station.
Frankfurt(Main) Flughafen is the name you are looking for if you look a... | ### Car Sharing
Let's add another option here: car-sharing (Mitfahrgelegenheit). [Here is an example site (in English).](http://www.carpooling.co.uk/#) You could try a search using your arrival date and time to see if anyone is driving that route. I tried a dummy search and the route seems to be covered by both car-sh... |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | Ok there are two things, while searching trains in Germany Bahn.de has been my best site. I have even used them to book hotels in Paris, its very informative and useful.
Second confusion may have been caused due to the Frankfurt airport station.
Frankfurt(Main) Flughafen is the name you are looking for if you look a... | For future travels: there is a special offer to book your train ticket with the flight, called Rail&Fly (or AirRail for a few selected destinations).
>
> Rail&Fly is an offer of the airlines and tour operators and can therefore only be booked by them.
>
>
>
These tickets are not bound to a specific train.
>
> ... |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | As @skv explained, the train is better than goeuro suggests, you need to use the local train company's website.
Otherwise, you can obviously get a cab or rent a car. It's probably not even quicker but it's more flexible and, given the distances involved, perfectly doable. | ### Car Sharing
Let's add another option here: car-sharing (Mitfahrgelegenheit). [Here is an example site (in English).](http://www.carpooling.co.uk/#) You could try a search using your arrival date and time to see if anyone is driving that route. I tried a dummy search and the route seems to be covered by both car-sh... |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | I've edited your question to add the details from your comments. If your question is which train you will be able to catch, it's important to know exactly when you're landing (20:45, not 21:00 as originally written), which terminal you will land and if you have checked luggage or not.
German Railways gives you an esti... | As @skv explained, the train is better than goeuro suggests, you need to use the local train company's website.
Otherwise, you can obviously get a cab or rent a car. It's probably not even quicker but it's more flexible and, given the distances involved, perfectly doable. |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | I've edited your question to add the details from your comments. If your question is which train you will be able to catch, it's important to know exactly when you're landing (20:45, not 21:00 as originally written), which terminal you will land and if you have checked luggage or not.
German Railways gives you an esti... | ### Car Sharing
Let's add another option here: car-sharing (Mitfahrgelegenheit). [Here is an example site (in English).](http://www.carpooling.co.uk/#) You could try a search using your arrival date and time to see if anyone is driving that route. I tried a dummy search and the route seems to be covered by both car-sh... |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | For future travels: there is a special offer to book your train ticket with the flight, called Rail&Fly (or AirRail for a few selected destinations).
>
> Rail&Fly is an offer of the airlines and tour operators and can therefore only be booked by them.
>
>
>
These tickets are not bound to a specific train.
>
> ... | ### Car Sharing
Let's add another option here: car-sharing (Mitfahrgelegenheit). [Here is an example site (in English).](http://www.carpooling.co.uk/#) You could try a search using your arrival date and time to see if anyone is driving that route. I tried a dummy search and the route seems to be covered by both car-sh... |
39,054 | I'm going from Rome to Karlsruhe. Direct flights are not comfortable, and going there through Stuttgart (few flights, bad times) is tricky as well.
So I decided to go to Frankfurt and get a train from there, because I heard that there are many trains from Frankfurt to Karlsruhe.
So, I've now my ticket to Frankfurt (sc... | 2014/11/26 | [
"https://travel.stackexchange.com/questions/39054",
"https://travel.stackexchange.com",
"https://travel.stackexchange.com/users/4629/"
] | I've edited your question to add the details from your comments. If your question is which train you will be able to catch, it's important to know exactly when you're landing (20:45, not 21:00 as originally written), which terminal you will land and if you have checked luggage or not.
German Railways gives you an esti... | For future travels: there is a special offer to book your train ticket with the flight, called Rail&Fly (or AirRail for a few selected destinations).
>
> Rail&Fly is an offer of the airlines and tour operators and can therefore only be booked by them.
>
>
>
These tickets are not bound to a specific train.
>
> ... |
10,173 | Yesterday I found a great deal on 3" x 12" x 12' non-treated lumber (pine). I bought several pieces, but before using it for an indoor table, I want to add a termite-resistant treatment.
Once I add the termite-resistant treatment, I'll add a coating of lacquer or add a staining.
I live in the Caribbean and I **DO NOT... | 2019/12/19 | [
"https://woodworking.stackexchange.com/questions/10173",
"https://woodworking.stackexchange.com",
"https://woodworking.stackexchange.com/users/2833/"
] | You make indoor spaces ant and termite resistant by having an exterminator come into your house and, using the appropriate chemicals in the recommended manner on a recommended schedule, spray wood trim and installed furniture, and places where such pests have ingress to indoor spaces. The idea is to lay down a coating ... | You could sandwich wood boards between two panes of glass, leaving some space for wood expansion. Seal the sides with glass, use 100% silicone on glass seams. Leave one short side covered by steel mesh door on piano hinge for air and access (you can use aluminium window screen), leave several centimeters of space befor... |
18,617 | Has anybody had success in running CHIRP on a modern Mac? I am running OSX 10.15.7 and the download I found for Mac looks like just source code, no app file at all. I'm considering trying a build from source code, but before I get into that let me ask, has anyone got this working? | 2021/06/23 | [
"https://ham.stackexchange.com/questions/18617",
"https://ham.stackexchange.com",
"https://ham.stackexchange.com/users/20060/"
] | That's ... complicated. You indicated macOS 10.15, which adds a ton of strict security pertaining to just what third-party apps are allowed to do. The download page on the [CHIRP website](https://chirp.danplanet.com/projects/chirp/wiki/Home) has a link for [macOS downloads](https://trac.chirp.danplanet.com/chirp_daily/... | A friend bought an M1 Mini and is having trouble. Asked me to download Chirp from <https://trac.chirp.danplanet.com/chirp_daily/LATEST/>
chirp-unified-daily-20210704.app.zip runs on my 2013 MacPro with 11.4. Or at least "it looks to me like it runs" as I haven't tried to run it through its paces.
To override the lack... |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | Shorter methods are very much more readable - [fewer things to keep in mind to understand them](http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two). The most vocal advocates of clean code would probably say that *almost all* methods should be *shorter* than 8 lines. And pretty much every developer... | It's all about separation of concerns. The method should answer 1 question or make 1 decision. And that's all. So, having the methods of 100 lines of code means these method are just do too much. 7-8 LoC methods are absolutely great. The other question is - where are you going to put all these methods. Having 20 short ... |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | The LoC in a method is a completely pointless measure. The important things are separation of concerns and code duplication.
A method should only do one thing, and that one thing should be expressed in its name. Other things should be left to other methods.
The problems arising from code duplication cannot be overes... | It's all about separation of concerns. The method should answer 1 question or make 1 decision. And that's all. So, having the methods of 100 lines of code means these method are just do too much. 7-8 LoC methods are absolutely great. The other question is - where are you going to put all these methods. Having 20 short ... |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | Shorter methods are very much more readable - [fewer things to keep in mind to understand them](http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two). The most vocal advocates of clean code would probably say that *almost all* methods should be *shorter* than 8 lines. And pretty much every developer... | There's a school of thought that says 7-8 LOC is a bit **long** for a method. I don't subscribe to that but I'd say go right ahead - anything less than a screen is good for me. |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | The LoC in a method is a completely pointless measure. The important things are separation of concerns and code duplication.
A method should only do one thing, and that one thing should be expressed in its name. Other things should be left to other methods.
The problems arising from code duplication cannot be overes... | Shorter methods are very much more readable - [fewer things to keep in mind to understand them](http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two). The most vocal advocates of clean code would probably say that *almost all* methods should be *shorter* than 8 lines. And pretty much every developer... |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | Shorter methods are very much more readable - [fewer things to keep in mind to understand them](http://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two). The most vocal advocates of clean code would probably say that *almost all* methods should be *shorter* than 8 lines. And pretty much every developer... | Methods should be as simple as *necessary*, but no simpler. |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | The LoC in a method is a completely pointless measure. The important things are separation of concerns and code duplication.
A method should only do one thing, and that one thing should be expressed in its name. Other things should be left to other methods.
The problems arising from code duplication cannot be overes... | There's a school of thought that says 7-8 LOC is a bit **long** for a method. I don't subscribe to that but I'd say go right ahead - anything less than a screen is good for me. |
94,429 | So, I watched as my colleague complained a bit about a project he has inherited from someone who is, shall we say, not very experienced as a programmer (intern left to his own devices on a project).
At one point there was duplicate code, about 7-8 lines of code duplicated (so 14-16 lines total) in a method of say 70-8... | 2011/07/20 | [
"https://softwareengineering.stackexchange.com/questions/94429",
"https://softwareengineering.stackexchange.com",
"https://softwareengineering.stackexchange.com/users/21523/"
] | The LoC in a method is a completely pointless measure. The important things are separation of concerns and code duplication.
A method should only do one thing, and that one thing should be expressed in its name. Other things should be left to other methods.
The problems arising from code duplication cannot be overes... | Methods should be as simple as *necessary*, but no simpler. |
53,088,286 | This is my first post here and I'm a python beginner - all help is appreciated!
I'm trying to add all combinations of adjacent rows in a numpy matrix. i.e. row 1 + row 2, row 2 + row 3, row 3 + row 4, etc... with output to a list
I will then look for the smallest of these outputs and select that item in the list to b... | 2018/10/31 | [
"https://Stackoverflow.com/questions/53088286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10587069/"
] | AWS Step Functions (a managed state machine service) would be the obvious choice. AWS has some examples as starting points. I remember one being a looping state that you could probably apply to this use case.
Another idea off top of my head...
Create an "Orchestration Lambda" that has the list of your files...
1.... | Personally, I prefer the idea with "Step Functions".
But if you want to simplify your architecture, you could create trigered lambda function. Chose 'S3 trigger' in left side of lambda function designer and configure it bottom.
[](https://i.stack.imgu... |
53,088,286 | This is my first post here and I'm a python beginner - all help is appreciated!
I'm trying to add all combinations of adjacent rows in a numpy matrix. i.e. row 1 + row 2, row 2 + row 3, row 3 + row 4, etc... with output to a list
I will then look for the smallest of these outputs and select that item in the list to b... | 2018/10/31 | [
"https://Stackoverflow.com/questions/53088286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10587069/"
] | AWS Step Functions (a managed state machine service) would be the obvious choice. AWS has some examples as starting points. I remember one being a looping state that you could probably apply to this use case.
Another idea off top of my head...
Create an "Orchestration Lambda" that has the list of your files...
1.... | The stated problem seems a suitable candidate for the Saga Pattern.
Basically [Saga](https://microservices.io/patterns/data/saga.html) is described like any long running , distributed process.
As mentioned earlier , the AWS platform allows using Step functions to implement a Saga, [as described here enter](https://the... |
53,088,286 | This is my first post here and I'm a python beginner - all help is appreciated!
I'm trying to add all combinations of adjacent rows in a numpy matrix. i.e. row 1 + row 2, row 2 + row 3, row 3 + row 4, etc... with output to a list
I will then look for the smallest of these outputs and select that item in the list to b... | 2018/10/31 | [
"https://Stackoverflow.com/questions/53088286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10587069/"
] | I would propose a couple of options here:
**Step Functions:**
This is a managed service for state machines. It's great for co-ordinating workflows.
**Atomic Counting:**
If you know the number of things in advance, you could initialize an [Atomic Counter](https://docs.aws.amazon.com/amazondynamodb/latest/developergu... | Personally, I prefer the idea with "Step Functions".
But if you want to simplify your architecture, you could create trigered lambda function. Chose 'S3 trigger' in left side of lambda function designer and configure it bottom.
[](https://i.stack.imgu... |
53,088,286 | This is my first post here and I'm a python beginner - all help is appreciated!
I'm trying to add all combinations of adjacent rows in a numpy matrix. i.e. row 1 + row 2, row 2 + row 3, row 3 + row 4, etc... with output to a list
I will then look for the smallest of these outputs and select that item in the list to b... | 2018/10/31 | [
"https://Stackoverflow.com/questions/53088286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10587069/"
] | I would propose a couple of options here:
**Step Functions:**
This is a managed service for state machines. It's great for co-ordinating workflows.
**Atomic Counting:**
If you know the number of things in advance, you could initialize an [Atomic Counter](https://docs.aws.amazon.com/amazondynamodb/latest/developergu... | The stated problem seems a suitable candidate for the Saga Pattern.
Basically [Saga](https://microservices.io/patterns/data/saga.html) is described like any long running , distributed process.
As mentioned earlier , the AWS platform allows using Step functions to implement a Saga, [as described here enter](https://the... |
16,344 | Can you patent your video game mechanics? Like if Flappy Bird mechanics had been patented by the guys who made the helecopter game (original flappy bird), could the creator of Flappy Bird be sued for it? | 2016/08/24 | [
"https://patents.stackexchange.com/questions/16344",
"https://patents.stackexchange.com",
"https://patents.stackexchange.com/users/17379/"
] | This is a complex question because of changes in patent law relating to three significant cases, namely [Bilski](https://en.wikipedia.org/wiki/Bilski_v._Kappos), [Alice](https://en.wikipedia.org/wiki/Alice_Corp._v._CLS_Bank_International), and [Mayo](https://en.wikipedia.org/wiki/Alice_Corp._v._CLS_Bank_International).... | I don't know much about this subject but these 2 patents might be interesting to look at:
<https://www.eff.org/pt-br/deeplinks/2015/12/loading-screen-game-patent-finally-expires>
<https://www.gamesindustry.biz/articles/2021-02-08-warner-bros-finally-secures-patent-for-shadow-of-mordors-nemesis-system> |
9,356,674 | I am practising with symfony2, I have completed the Symblog Tutorial And Now I have stated creating my own small application. I have created a registration form and Login form. Now I have a lot of doubts about the doctrine queries set, I have never used an MVC architecture.
1. How to write these queries and where I ne... | 2012/02/20 | [
"https://Stackoverflow.com/questions/9356674",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/995113/"
] | Use the FOSUserBundle.... It handles all user related features. Custom queries are done in it's own repository like UserRepository. Then its linked to the Entity and can be called from the controller with $em->getRepostory('path to entity')->myQuery(). Its all in the Symfony docs.
FOSUserBundle: <https://github.com/F... | Start with Symfony2's Doctrine documentation:
<http://symfony.com/doc/current/book/doctrine.html> |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | Focus on the C++ projects - they are almost guaranteed to be the largest time drains for building.
Some tips on getting the C++ build times down:
* Make sure that you're only including headers that you need in the C++ projects!
* Use forward declarations whenever possible in headers instead of including other headers... | You may try the distributed build system Incredibuild: <http://www.xoreax.com/visual_studio.htm> |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | You may try the distributed build system Incredibuild: <http://www.xoreax.com/visual_studio.htm> | Make multiple solutions for the project that only include relevant subsets of the projects and leave one super solution for releases etc. |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | Focus on the C++ projects - they are almost guaranteed to be the largest time drains for building.
Some tips on getting the C++ build times down:
* Make sure that you're only including headers that you need in the C++ projects!
* Use forward declarations whenever possible in headers instead of including other headers... | Make multiple solutions for the project that only include relevant subsets of the projects and leave one super solution for releases etc. |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | Focus on the C++ projects - they are almost guaranteed to be the largest time drains for building.
Some tips on getting the C++ build times down:
* Make sure that you're only including headers that you need in the C++ projects!
* Use forward declarations whenever possible in headers instead of including other headers... | If you install [IncrediBuild](http://www.xoreax.com/) on every machine that needs to build it, it distributes the build process among all of the machines.
If you really want to just throw hardware at the problem you can set up a few dedicated machines that serve only as IncrediBuild clients.
On a different scale, make... |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | Focus on the C++ projects - they are almost guaranteed to be the largest time drains for building.
Some tips on getting the C++ build times down:
* Make sure that you're only including headers that you need in the C++ projects!
* Use forward declarations whenever possible in headers instead of including other headers... | You could use a tool like [lint](http://en.wikipedia.org/wiki/Lint_(software)) to see if you have redundant include files in your c++ projects.
There is also a great article on this subject at [Games from Within](http://gamesfromwithin.com/?p=8). |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | If you install [IncrediBuild](http://www.xoreax.com/) on every machine that needs to build it, it distributes the build process among all of the machines.
If you really want to just throw hardware at the problem you can set up a few dedicated machines that serve only as IncrediBuild clients.
On a different scale, make... | Make multiple solutions for the project that only include relevant subsets of the projects and leave one super solution for releases etc. |
1,202,365 | A legacy app I am working on currenty takes ~2hours to build. The project has about 170 projects with 150 or so being unmanaged C++ and the other 30 C#.Net 2.0.
What are some suggestions on ways to improve build times for something like this? | 2009/07/29 | [
"https://Stackoverflow.com/questions/1202365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/127853/"
] | You could use a tool like [lint](http://en.wikipedia.org/wiki/Lint_(software)) to see if you have redundant include files in your c++ projects.
There is also a great article on this subject at [Games from Within](http://gamesfromwithin.com/?p=8). | Make multiple solutions for the project that only include relevant subsets of the projects and leave one super solution for releases etc. |
156,761 | When does the sci-fi book and TV series *The Expanse* take place? | 2017/04/07 | [
"https://scifi.stackexchange.com/questions/156761",
"https://scifi.stackexchange.com",
"https://scifi.stackexchange.com/users/23384/"
] | Probably around 2350.
---------------------
The timeframe for the series is, presumably intentionally, left vague.
The world of *The Expanse* started as a tabletop RPG run by Ty Franck (one of the authors writing the book series behind the pseudonym James S. A. Corey). This RPG was called "2350", and was presumably s... | Great ideas.
If you use The Martian's date of 2035, Mars must have been a UN colony for at LEAST 150 years before the Epstein drive, maybe more since 2035 + 150yrs + 150yrs (years since Epstein) its still only 2335.
Or who knows, maybe it took longer to colonize Mars in earnest after Mark Watney's trip.
We can also... |
156,761 | When does the sci-fi book and TV series *The Expanse* take place? | 2017/04/07 | [
"https://scifi.stackexchange.com/questions/156761",
"https://scifi.stackexchange.com",
"https://scifi.stackexchange.com/users/23384/"
] | Probably around 2350.
---------------------
The timeframe for the series is, presumably intentionally, left vague.
The world of *The Expanse* started as a tabletop RPG run by Ty Franck (one of the authors writing the book series behind the pseudonym James S. A. Corey). This RPG was called "2350", and was presumably s... | The TV series looks to be around 2215. At the very beginning it states that it is the 23rd century.
>
> In the 23rd Century humans have colonized the Solar System
>
>
> [](https://i.stack.imgur.com/oM7fL.jpg)
>
> *Click image ... |
14,210,171 | I'm using a databasefirst approach with Entity framwork and MVC 4(asp.net) and do now and then get the following error:
>
> The operation failed: The relationship could not be changed because
> one or more of the foreign-key properties is non-nullable. When a
> change is made to a relationship, the related foreign-... | 2013/01/08 | [
"https://Stackoverflow.com/questions/14210171",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1476083/"
] | Add the file as a deployment item
Local Setting > Deployment > enable deployment > Add File | You have to add that required file as deployment item so that automatically it will take file and you issue will resolve. |
14,210,171 | I'm using a databasefirst approach with Entity framwork and MVC 4(asp.net) and do now and then get the following error:
>
> The operation failed: The relationship could not be changed because
> one or more of the foreign-key properties is non-nullable. When a
> change is made to a relationship, the related foreign-... | 2013/01/08 | [
"https://Stackoverflow.com/questions/14210171",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1476083/"
] | I tried same steps
Local Setting > Deployment > enable deployment > Add File
Still getting same issue, only thing i am running application in remote execution mode and can see error in one of Agent machine, although other dll and plugins are getting copied on path only PDF files i added in deployment are not copied.... | You have to add that required file as deployment item so that automatically it will take file and you issue will resolve. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.