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 |
|---|---|---|---|---|---|
914,260 | I want to read Extremal Finite Set Combinatorics in some detail.
(By 'Extremal Finite Set Combinatorics' I mean the subject which covers theorems like Sperner's Theorem, Erdos-Ko-Rado Theorem, deBruijn-Erdos Theorem etc.)
Can somebody please recommend me a good book for self-study for this purpose?
Thanks. | 2014/08/30 | [
"https://math.stackexchange.com/questions/914260",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/88582/"
] | I would recommend Ian Anderson's book: Combinatorics of Finite Sets.
It is very readable and gives a good introduction.
Another good choice is Bollobas's book: Combinatorics: Set Systems, Hypergraphs, Families of Vectors and Combinatorial Probability.
Also readable. A bit more emphasis on probabilistic ideas.
There is also a couple chapters of an unfinished book here
<http://www.renyi.hu/~ohkatona/>
For linear algebraic techniques there is a great preliminary manuscript which is linked to here due to Frankl and Babai:
<https://mathoverflow.net/questions/17006/linear-algebra-proofs-in-combinatorics>
One more nice introduction in a broader setting is the notes of this BSM class, they are available somewhere online I think but I can't find them at the moment:
<http://www.bsmath.hu/11spring/com2a_11s.html> | A new book that focuses on exactly your preferred topic is Daniel Gerbner, Balazs Patkos: Extremal Finite Set Theory. |
914,260 | I want to read Extremal Finite Set Combinatorics in some detail.
(By 'Extremal Finite Set Combinatorics' I mean the subject which covers theorems like Sperner's Theorem, Erdos-Ko-Rado Theorem, deBruijn-Erdos Theorem etc.)
Can somebody please recommend me a good book for self-study for this purpose?
Thanks. | 2014/08/30 | [
"https://math.stackexchange.com/questions/914260",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/88582/"
] | I would recommend Ian Anderson's book: Combinatorics of Finite Sets.
It is very readable and gives a good introduction.
Another good choice is Bollobas's book: Combinatorics: Set Systems, Hypergraphs, Families of Vectors and Combinatorial Probability.
Also readable. A bit more emphasis on probabilistic ideas.
There is also a couple chapters of an unfinished book here
<http://www.renyi.hu/~ohkatona/>
For linear algebraic techniques there is a great preliminary manuscript which is linked to here due to Frankl and Babai:
<https://mathoverflow.net/questions/17006/linear-algebra-proofs-in-combinatorics>
One more nice introduction in a broader setting is the notes of this BSM class, they are available somewhere online I think but I can't find them at the moment:
<http://www.bsmath.hu/11spring/com2a_11s.html> | I would also recommend *Stasys Jukna - Extremal Combinatorics*
There is a free draft of the book [here](https://core.ac.uk/download/pdf/189205038.pdf) |
914,260 | I want to read Extremal Finite Set Combinatorics in some detail.
(By 'Extremal Finite Set Combinatorics' I mean the subject which covers theorems like Sperner's Theorem, Erdos-Ko-Rado Theorem, deBruijn-Erdos Theorem etc.)
Can somebody please recommend me a good book for self-study for this purpose?
Thanks. | 2014/08/30 | [
"https://math.stackexchange.com/questions/914260",
"https://math.stackexchange.com",
"https://math.stackexchange.com/users/88582/"
] | A new book that focuses on exactly your preferred topic is Daniel Gerbner, Balazs Patkos: Extremal Finite Set Theory. | I would also recommend *Stasys Jukna - Extremal Combinatorics*
There is a free draft of the book [here](https://core.ac.uk/download/pdf/189205038.pdf) |
10,087 | The thermal reliefs of my ground polygon to one of the pads of my footprint are just simply weird! I dont know what causes it? It seems to me that the lines leading up from the polygon to the pads are just too thick and are out of proportion to the pad.
 | 2011/02/13 | [
"https://electronics.stackexchange.com/questions/10087",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/1688/"
] | You need to change the width of your ground polygon. The polygons are actually made up of many wires drawn to make a continuous surface. If you zoom in on a polygon that is drawn in a non-solid pattern (like an inner layer on a 4 or greater layer board) you can see what I mean.
When you draw the polygon you can choose the size of the wires used, just the same as when drawing wires. You can also change it after the fact using change->width, if I remember correctly.
You probably want to make the width no greater than the width of your IC pads. | This may not apply to you because you use Eagle, but in Altium if you have traces going to pads then you pour a plane over it, it can behave badly. Try removing the (superfluous) traces and repouring it.
Tangentially related: Did you use an auto-router? You might want to adjust your neck-down rules so you actually have a neck, or possibly the trace thickness rules. In any case, because you're using a plane, you should probably do everything manually around those small SMT parts. |
17,049 | I am about to buy the Samsung Galaxy Nexus and I need to tether with the following connections
1. USB to my Windows PC
2. Wi-Fi with my Mac, iPad or iPhone (to download apps over 20MB)
I will be using Verizon Wireless's LTE 4G connection to my smartphone
I also don't want to root my phone, install a custom rom or pay Verizon $20/GB
I heard of PDANet and EasyTether and Tether.com but they only provide USB connectivity to the Mac or PC (I won't be able to use it with iPhone's or iPads)
Any help is greatly appreciated.
I am willing to pay for the software if it provides Wi-Fi and USB. (Bluetooth is optional but not needed) | 2011/12/16 | [
"https://android.stackexchange.com/questions/17049",
"https://android.stackexchange.com",
"https://android.stackexchange.com/users/10669/"
] | [ClockworkMod Tether](https://plus.google.com/103583939320326217147/posts/1Yy1jb9z4TA#103583939320326217147/posts/1Yy1jb9z4TA) does USB tethering without root and Bluetooth tethering is planned (it's still in alpha). Unfortunately, from what I understand only Windows, Linux & Mac OS will be supported, but who knows what will happen in the future (maybe Wi-Fi support). Koush's apps are great. | I use PDAnet for the USB tether (which is something like $16) and FoxFi (Free on the Android Market) FoxFi enables Wi-Fi WITHOUT rooting. I use it all the time, even for running my kids Wii. Should work fine for running your tablets, iPhones, and iPads, etc. Works great for using my laptop while traveling also.
They both work awesome for me. |
139,853 | >
> Why are you asking Tom? He does not know the answer. Ask me instead!
>
>
>
versus
>
> No, I have not seen Tom for quite some time. Why do you ask?
>
>
>
Is it correct? And if it is, why the difference? Is it not in both cases a single action ('ask') happening at or around the time of speaking?
I guess that the answer is to do with the fact that, in the first sentence, the pupil knows why the teacher is asking Tom, (in order to get an answer, which goes without saying), whereas in the second sentence, I do not know the reason the person who asked me whether I had seen Tom lately did so.
The difference here would be parallel to the difference between Present Perfect Simple –'I have repaired the car.' – where the emphasis is on the result of the action, and Present Perfect Continuous – 'There is grease on my hands because I have been repairing the car.' – where the emphasis is on the action itself, is more descriptive, and we do not know whether the result, getting the car repaired, has been achieved or not. | 2013/11/30 | [
"https://english.stackexchange.com/questions/139853",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/58319/"
] | I disagree somewhat with Barrie.
For most verbs the simple present can be used only in a habitual sense:
>
> Why do you hit him?\*
>
>
>
is unambiguously asking about your habit, not about this particular instance. *Why are you hitting him?* or *Why did you hit him?* would be usual for that case.
For some verbs, particularly denoting mental state, the continuous is not normally used (or has a particular connotation if it is used), and the present is normal:
>
> Why do you want that?
>
>
> Why do you think that?
>
>
> What do you see?
>
>
>
The verb *ask* appears to refer to an act, rather than a mental state; but it nevertheless can behave like those verbs and take the simple present.
\*In ordinary speech, you may hear *why d'ya hit him?*, but this generally represents *why did you hit him?* not *why do you hit him?* | One of the uses of the present progressive construction is to describe something that is temporary. The event described in ‘Why are you asking Tom?’ is by its nature unlikely to last for long.
One of the uses of the present tense is to describe a present event, or, as in ‘Why do you ask?’ one that has very recently occurred. The present progressive can also be used in such situations, but with a slightly different emphasis. ‘Why are you asking?’ contains a hint that the speaker is suspicious of the motives of the other in asking the question. |
14,455 | I have the Zip +4 for the about 650 areas and I need to find Illinois Senator and Rep code,
address, name. How can I solve this issue. Did anyone solve this issue using any vendor data? We do not want to look up the names of the senators from the website. | 2011/09/08 | [
"https://gis.stackexchange.com/questions/14455",
"https://gis.stackexchange.com",
"https://gis.stackexchange.com/users/4022/"
] | The state board of elections says they have shapefiles of the districts that you can get by calling them: [Representative Maps and Descriptions](http://www.elections.il.gov/votinginformation/representativedistricts.aspx)
It doesn't say whether or not you have to purchase the data. | You can use the [2010 Tiger line files](http://www.census.gov/geo/www/tiger/tgrshp2010/tgrshp2010.html) from the US Census to get the districts for the legislators. I'm not sure where you can find free Zip+4 locations but plenty of people sell the data.
Then you can do a simple look up to find which district each zip code is in and then fill in the details of the legislator from which ever source you have (I don't see why you can't look it up on the web site). |
14,455 | I have the Zip +4 for the about 650 areas and I need to find Illinois Senator and Rep code,
address, name. How can I solve this issue. Did anyone solve this issue using any vendor data? We do not want to look up the names of the senators from the website. | 2011/09/08 | [
"https://gis.stackexchange.com/questions/14455",
"https://gis.stackexchange.com",
"https://gis.stackexchange.com/users/4022/"
] | The state board of elections says they have shapefiles of the districts that you can get by calling them: [Representative Maps and Descriptions](http://www.elections.il.gov/votinginformation/representativedistricts.aspx)
It doesn't say whether or not you have to purchase the data. | The 2010 TIGER files have the pre-redistricting districts, but if you want the current info, that'd work. TIGER also has a Zip Code layer which should allow you to district most of the students. <http://www.census.gov/cgi-bin/geo/shapefiles2010/main>
Look at the Illinois General Assembly site for member info--appears you'll have to do some reformatting to get it into a data format. <http://www.ilga.gov/> |
266,000 | I am trying to view the output from my Vonnics DVR security system. It works from a Windows program that came with the system, I-phones and my Android based phone. The only Windows computer is my sons gaming box so it would be a lot nicer to be able to check the cams from a Linux box. http: //IPAddress:port#/videostream.cgi?user=username&pwd=password doesn't work. Is there a Linux IP Cam Viewer? Is my only option to use wine or an Android emulator? Any help would be great. | 2013/03/09 | [
"https://askubuntu.com/questions/266000",
"https://askubuntu.com",
"https://askubuntu.com/users/76252/"
] | Your viewer use Active X. You need a bowser that supports that, typicaly IE.
Try this <http://www.tatanka.com.br/ies4linux/page/Main_Page>
Or a VM that runs IE, (a bit of a pain) | Saw your question all over the net (I have a similar nameless China H.264 8-CH DVR) and I was like you working hard to make Internet Explorer work on Ubuntu. Got it to work through Tatanka, while having to edit some of the installer script, but in the end the DVR still wouldn't show in IE6.
Since I had installed wine along the way I had the glorious idea to check the CD that came with the DVR. There was a folder PC Client that had a software netdvr in it and believe it or not it installed and runs without (major) problems! Can life-view, playback and edit settings! |
6,362,685 | Each insertion in a stack is O(1) so is the time taken to insert 'n' elements O(n) ?
Can we speak similarly for a hash-table as well ? In average case the time taken to insert 'n' elements in a hash table = O(n) ? | 2011/06/15 | [
"https://Stackoverflow.com/questions/6362685",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/701441/"
] | Yes. The dominating factor is not the insert time, which is constant, its the time it takes to iterate over all the things you are inserting. If inserting did not happen in constant time, it would be more complicated.
Note that in the HashTable case a lot depends on if the HashTable has to grow itself or rehash everything in it when that happens, but for the simple case (i.e. assuming the table is big enough to hold everything, and your hashcode generation does not generate collisions) the upper bound on insert should be n. | >
> Each insertion in a stack is O(1) so is the time taken to insert 'n' elements O(n) ?
> Can we speak similarly for a hash-table as well ? In average case the time taken to
> insert 'n' elements in a hash table = O(n) ?
>
>
>
As you mentioned *stack* , I assume we resolve collisions in hashtable using *stack* ([in chaining manner, using closed addressing](http://en.wikipedia.org/wiki/Hash_table#Separate_chaining) ).
In such case I answer:
Yes, "average case the time taken to insert 'n' elements in a hash table = O(n)".
To be more specific. As inserting to hash table in your case is :
* making hash = O(1)
* inserting into stack selected with hash = O(1)
Whole hash insertion is O(1). So *n* operations is O(n).
My advice : be very specific on your exam about your assumptions (structures you use, their implementation and complexity) as all those details might have significant impact on result of all equations. |
30,707,428 | I've been assigned to a project aiming at programming Lego Mindstorms with JavaScript. However, I can't find many good resources regarding the use of JS with Mindstorms. Does anyone have any ?
Also, I don't really get how I can, for example, make the wheels turn using JS. From what I understood I need to use Node.js. | 2015/06/08 | [
"https://Stackoverflow.com/questions/30707428",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1236336/"
] | If you can use <http://www.ev3dev.org/> as an alternative firmware, you can install and run node.js on the ev3. ev3dev is a debian linux based distribution and offers a wide range of packages.
One catch you will be stuck a node.js-0.10, since newer node.js (0.12) versions use a newer version of v8 (js engine) and that does not support the old arm-9 that runs the ev3 anymore (or more precisely it now requires vfp-3 that only arm-v7 cpus have). | Lego don't allow javascript on LEGO MINDSTORMS EV3 Home Edition.
But I don't know about third party softwares.
I hope support for javascript will come soon. |
30,707,428 | I've been assigned to a project aiming at programming Lego Mindstorms with JavaScript. However, I can't find many good resources regarding the use of JS with Mindstorms. Does anyone have any ?
Also, I don't really get how I can, for example, make the wheels turn using JS. From what I understood I need to use Node.js. | 2015/06/08 | [
"https://Stackoverflow.com/questions/30707428",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1236336/"
] | If you can use <http://www.ev3dev.org/> as an alternative firmware, you can install and run node.js on the ev3. ev3dev is a debian linux based distribution and offers a wide range of packages.
One catch you will be stuck a node.js-0.10, since newer node.js (0.12) versions use a newer version of v8 (js engine) and that does not support the old arm-9 that runs the ev3 anymore (or more precisely it now requires vfp-3 that only arm-v7 cpus have). | Have you looked into [Robot JavaScript](https://robotjavascript.com). This is a Windows based compiler downloaded from the Microsoft App Store that allows you to compile JavaScript directly into an EV3 robot for execution. No need to alter the EV3 operating system. This uses the Firmware from LEGO. |
197,140 | I'm currently using default implementation of STL for VS2005 and I'm [not really satisfied](https://stackoverflow.com/questions/186494/ifstr1str2-versus-ifstr1lengthstr2length-str1str2) with it. Perhaps there is something better? | 2008/10/13 | [
"https://Stackoverflow.com/questions/197140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25459/"
] | The Dinkumware STL implementation (supplied with VS2005) is actually quite good. The STL is a general purpose library and so it is almost always possible to write something better for very specific use cases.
I'm aware of the following alternative implementations, but I've never used them with VS2005:
SGI Standard Template Library 3.3:
<http://www.sgi.com/tech/stl/>
STLport 5.1.6 (derived from SGI implementation):
<http://www.stlport.org/>
Both SGI and STLport implement the size/length check as the first test in operator== and so you might like it. They are also both free to download and use.
Changing from one STL implementation to another, in theory, should be easy. However, I've heard from some colleagues that it is not always so. They've tripped over compiler bugs, found that they've inadvertently used non-standard features, or unknowingly relied on some behaviour specific to a particular STL implementation.
One good thing about the Dinkumware STL implementation is that it has been well tested with the VS2005 C++ compiler.
If you decide to try out these alternatives, good luck! And let us know how it goes. | How about STLPort?
<http://www.stlport.org/> |
197,140 | I'm currently using default implementation of STL for VS2005 and I'm [not really satisfied](https://stackoverflow.com/questions/186494/ifstr1str2-versus-ifstr1lengthstr2length-str1str2) with it. Perhaps there is something better? | 2008/10/13 | [
"https://Stackoverflow.com/questions/197140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25459/"
] | The Dinkumware STL implementation (supplied with VS2005) is actually quite good. The STL is a general purpose library and so it is almost always possible to write something better for very specific use cases.
I'm aware of the following alternative implementations, but I've never used them with VS2005:
SGI Standard Template Library 3.3:
<http://www.sgi.com/tech/stl/>
STLport 5.1.6 (derived from SGI implementation):
<http://www.stlport.org/>
Both SGI and STLport implement the size/length check as the first test in operator== and so you might like it. They are also both free to download and use.
Changing from one STL implementation to another, in theory, should be easy. However, I've heard from some colleagues that it is not always so. They've tripped over compiler bugs, found that they've inadvertently used non-standard features, or unknowingly relied on some behaviour specific to a particular STL implementation.
One good thing about the Dinkumware STL implementation is that it has been well tested with the VS2005 C++ compiler.
If you decide to try out these alternatives, good luck! And let us know how it goes. | [Dinkumware](http://www.dinkumware.com/) supposedly produces one of the most standards-compliant implementations of the C++ standard library. You can get a [binary licence](http://www.dinkumware.com/BinaryEdition.aspx) for VS2005 for $200. |
197,140 | I'm currently using default implementation of STL for VS2005 and I'm [not really satisfied](https://stackoverflow.com/questions/186494/ifstr1str2-versus-ifstr1lengthstr2length-str1str2) with it. Perhaps there is something better? | 2008/10/13 | [
"https://Stackoverflow.com/questions/197140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25459/"
] | The Dinkumware STL implementation (supplied with VS2005) is actually quite good. The STL is a general purpose library and so it is almost always possible to write something better for very specific use cases.
I'm aware of the following alternative implementations, but I've never used them with VS2005:
SGI Standard Template Library 3.3:
<http://www.sgi.com/tech/stl/>
STLport 5.1.6 (derived from SGI implementation):
<http://www.stlport.org/>
Both SGI and STLport implement the size/length check as the first test in operator== and so you might like it. They are also both free to download and use.
Changing from one STL implementation to another, in theory, should be easy. However, I've heard from some colleagues that it is not always so. They've tripped over compiler bugs, found that they've inadvertently used non-standard features, or unknowingly relied on some behaviour specific to a particular STL implementation.
One good thing about the Dinkumware STL implementation is that it has been well tested with the VS2005 C++ compiler.
If you decide to try out these alternatives, good luck! And let us know how it goes. | There is also [Apache STL](http://stdcxx.apache.org/), but as others have noted, I believe Dinkumware is your best bet. |
197,140 | I'm currently using default implementation of STL for VS2005 and I'm [not really satisfied](https://stackoverflow.com/questions/186494/ifstr1str2-versus-ifstr1lengthstr2length-str1str2) with it. Perhaps there is something better? | 2008/10/13 | [
"https://Stackoverflow.com/questions/197140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25459/"
] | The Dinkumware STL implementation (supplied with VS2005) is actually quite good. The STL is a general purpose library and so it is almost always possible to write something better for very specific use cases.
I'm aware of the following alternative implementations, but I've never used them with VS2005:
SGI Standard Template Library 3.3:
<http://www.sgi.com/tech/stl/>
STLport 5.1.6 (derived from SGI implementation):
<http://www.stlport.org/>
Both SGI and STLport implement the size/length check as the first test in operator== and so you might like it. They are also both free to download and use.
Changing from one STL implementation to another, in theory, should be easy. However, I've heard from some colleagues that it is not always so. They've tripped over compiler bugs, found that they've inadvertently used non-standard features, or unknowingly relied on some behaviour specific to a particular STL implementation.
One good thing about the Dinkumware STL implementation is that it has been well tested with the VS2005 C++ compiler.
If you decide to try out these alternatives, good luck! And let us know how it goes. | Depending on your constraints, you may find Electronic Arts' STL implementation as interesting: [EASTL](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html) |
278,343 | I was thinking of bounds for functions yesterday and it occurred to me that a bound from above is an "upper bound" (not "higher"), whereas a bound from below is a "lower bound".
Is there any etymological reason why we say ***"upper bound"*** but not "downer bound", or ***"lower bound"*** but not "higher bound"? | 2015/10/07 | [
"https://english.stackexchange.com/questions/278343",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/89715/"
] | Because "higher" is scalable (high, higher, highest). So is "low" (low, lower, lowest").
"up" and "down" are not scalable. The suffix "er" on "upper" and "downer" does not make them comparatives. In the case of the drug slang "upper" and "downer", it's an agentive suffix. Something that brings you up or brings you down.
"Upper" as an adjective means **above** or **on top**. "Lower" as an adjective means **below** or **on the bottom**. Consider bunk beds. There is a *lower bunk* (the one on the bottom) and an *upper bunk* (the one on the top). Likewise, the 1st and 2nd storeys of a house are the *lower floor* and the *upper floor* respectively. And we have *lower* and *upper* teeth. In other words, when there are only two choices, rather than degrees of "upness" or "downness", the two choices are called *lower* and *upper*.
An aside:
There is not always symmetry in word usage. Our up-and-down words present other counterexamples: Consider *lower the bridge*. Now, if you put it up again, what did you do? You *raised* it—you didn't "higher" (or "upper") it. And back to drug slang: you *get high* but you don't "get low"—you *come down*.
Anyway, I agree it's peculiar. But that's how English goes. I'm not an etymologist, so I'll leave it at that. | The term ***[downer](http://www.thefreedictionary.com/downer)*** has been associateted more with a physical/phsychological state from the 60's when the term became popular, (see [Ngram](https://books.google.com/ngrams/graph?content=downer&year_start=1800&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Cdowner%3B%2Cc0)) probably from its earlier usage (Down: sense of "depressed mentally" is attested from c. 1600.):
(n.) Slang
>
> * A depressant or sedative drug, such as a barbiturate or tranquilizer.
> * One that depresses, such as an experience or person.
>
>
>
(adj.)
>
> * Unable to stand because of disease or sometimes injury. Used of livestock.
>
>
>
(AHD)
***[Downer](http://www.etymonline.com/index.php?term=downer):***
>
> * 1966 in sense of "barbiturate;" 1970 in sense of "depressing person;" agent noun from down (v.).
>
>
>
(Etymonline) |
278,343 | I was thinking of bounds for functions yesterday and it occurred to me that a bound from above is an "upper bound" (not "higher"), whereas a bound from below is a "lower bound".
Is there any etymological reason why we say ***"upper bound"*** but not "downer bound", or ***"lower bound"*** but not "higher bound"? | 2015/10/07 | [
"https://english.stackexchange.com/questions/278343",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/89715/"
] | The term ***[downer](http://www.thefreedictionary.com/downer)*** has been associateted more with a physical/phsychological state from the 60's when the term became popular, (see [Ngram](https://books.google.com/ngrams/graph?content=downer&year_start=1800&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Cdowner%3B%2Cc0)) probably from its earlier usage (Down: sense of "depressed mentally" is attested from c. 1600.):
(n.) Slang
>
> * A depressant or sedative drug, such as a barbiturate or tranquilizer.
> * One that depresses, such as an experience or person.
>
>
>
(adj.)
>
> * Unable to stand because of disease or sometimes injury. Used of livestock.
>
>
>
(AHD)
***[Downer](http://www.etymonline.com/index.php?term=downer):***
>
> * 1966 in sense of "barbiturate;" 1970 in sense of "depressing person;" agent noun from down (v.).
>
>
>
(Etymonline) | The ending *-er* is generally applied to adjectives. And *down* is not an adjective.
You might say "*Up* isn't an adjective either!", but apparently *up* was actually used as an adjective at one point. The OED entry for the adjective *upper* says
>
> Comparative of *up* adj., and signifying ‘higher’, ‘over’, ‘loftier’, ‘top’ (in contrast to *lower, nether, under*).
>
>
>
That said, the linked OED entry for *up* as an adjective doesn't seem to have many example quotations, so I'm not sure exactly what went on with the word *upper.*
In some cases, *higher* is in fact used as the opposite of *lower,* as in "higher and lower faculties" or apparently "[Higher and lower orders](https://www.grammarphobia.com/blog/2010/02/a-class-act.html)". |
278,343 | I was thinking of bounds for functions yesterday and it occurred to me that a bound from above is an "upper bound" (not "higher"), whereas a bound from below is a "lower bound".
Is there any etymological reason why we say ***"upper bound"*** but not "downer bound", or ***"lower bound"*** but not "higher bound"? | 2015/10/07 | [
"https://english.stackexchange.com/questions/278343",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/89715/"
] | Because "higher" is scalable (high, higher, highest). So is "low" (low, lower, lowest").
"up" and "down" are not scalable. The suffix "er" on "upper" and "downer" does not make them comparatives. In the case of the drug slang "upper" and "downer", it's an agentive suffix. Something that brings you up or brings you down.
"Upper" as an adjective means **above** or **on top**. "Lower" as an adjective means **below** or **on the bottom**. Consider bunk beds. There is a *lower bunk* (the one on the bottom) and an *upper bunk* (the one on the top). Likewise, the 1st and 2nd storeys of a house are the *lower floor* and the *upper floor* respectively. And we have *lower* and *upper* teeth. In other words, when there are only two choices, rather than degrees of "upness" or "downness", the two choices are called *lower* and *upper*.
An aside:
There is not always symmetry in word usage. Our up-and-down words present other counterexamples: Consider *lower the bridge*. Now, if you put it up again, what did you do? You *raised* it—you didn't "higher" (or "upper") it. And back to drug slang: you *get high* but you don't "get low"—you *come down*.
Anyway, I agree it's peculiar. But that's how English goes. I'm not an etymologist, so I'll leave it at that. | The ending *-er* is generally applied to adjectives. And *down* is not an adjective.
You might say "*Up* isn't an adjective either!", but apparently *up* was actually used as an adjective at one point. The OED entry for the adjective *upper* says
>
> Comparative of *up* adj., and signifying ‘higher’, ‘over’, ‘loftier’, ‘top’ (in contrast to *lower, nether, under*).
>
>
>
That said, the linked OED entry for *up* as an adjective doesn't seem to have many example quotations, so I'm not sure exactly what went on with the word *upper.*
In some cases, *higher* is in fact used as the opposite of *lower,* as in "higher and lower faculties" or apparently "[Higher and lower orders](https://www.grammarphobia.com/blog/2010/02/a-class-act.html)". |
7,771 | [1 Corinthians 6](http://www.biblegateway.com/passage/?search=1%20Corinthians%206:9-10&version=NIV) is often used as evidence that some actions, such as homosexuality, are incompatible with Biblical teaching.
>
> 9Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor men who have sex with men 10 nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God.
>
>
>
For the purpose of this question, however, I'm not interested in discussing homosexuality, or any other specific "sin" in the list. I'm simply interested in understanding if this list is meant to be prescriptive or descriptive.
That is to say, is this list saying:
* Any person who participates in XYZ activity will not inherit the kingdom of God
Or is it saying
* Those who will not inherit the kingdom of God engage in XYZ activities
It may seem like a difference of semantics to some, but perhaps an imagined contemporary re-phrasing can help make my question more clear.
>
> Or do you not know that party animals will not inherit the kingdom of God? Do not be deceived: Neither the twerkers, nor dirty dancers, nor sexually promiscuous, nor womanizers, nor drunkards, nor drug users, nor gossipers nor stalkers will inherit the kingdom of God.
>
>
>
In my contrived example, the list is descriptive--describing a possible night club scene, for instance.
Is the original text descriptive, perhaps of a certain class (or classes) of people? Or is it prescriptive? | 2013/12/27 | [
"https://hermeneutics.stackexchange.com/questions/7771",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/158/"
] | **pre·scrip·tive**
/priˈskriptiv/
>
> adjective: prescriptive1. of or relating to the imposition
> or enforcement of a rule or method
>
>
>
**de·scrip·tive
/diˈskriptiv**/
adjective
>
> adjective: descriptive1. serving or seeking to describe. synonyms:
> illustrative, expressive, graphic, detailed, lively, vivid, striking;
> More explanatory, explicative "descriptive prose"
>
>
> •Grammar(of an adjective) assigning a quality rather than restricting
> the application of the expression modified, e.g., blue as distinct
> from few.2. describing or classifying without expressing feelings or
> judging.
>
>
>
To answer your question, 1 Cor. 6:9-10(and other simular passage) are both \**D*\*escriptive and \**P*\*rescriptive. Descriptive, from the fact that Scripture 'describes' these activities as sinful and leaves no doubt as to the consequence for remaining in them; Prescriptive, in that just as consequences of disobeying or ignoring are prescribed, so also is the 'remedy' if one is willing to take it.
As to 're-interpreting' what the Scripture says to mean something else, one must exercise great caution. There are other Scriptures to describe those activities or their attributes. The important truth contained here is that if one **continues** in these activities, then one is "ineligable' for the Kingdom of God; one can repent from them and in vs. 11:
>
> And such were some of you: but ye are washed, but ye are sanctified,
> but ye are justified in the name of the Lord Jesus, and by the Spirit
> of our God
>
>
>
. | It is both prescriptive and descriptive. Corinth was known for 2 things back in their day: a robust economy (it was a center of commerce and trading) and their sexual perversion. In fact the Corinthian church was the richest church Paul wrote to. Out of all the sins, it's quite curious that he specified sexual sin (which was also part of their pagan temple worship), drinking, and material covetousness which were connected to Greco-Roman culture (hedonism).
It could also be a warning to the Corinthians to avoid their previous sinful lifestyles. The context of that passage was Paul's command to stop sinning against one another in those areas because that wasn't really loving one another as Christ loves you. |
7,771 | [1 Corinthians 6](http://www.biblegateway.com/passage/?search=1%20Corinthians%206:9-10&version=NIV) is often used as evidence that some actions, such as homosexuality, are incompatible with Biblical teaching.
>
> 9Or do you not know that wrongdoers will not inherit the kingdom of God? Do not be deceived: Neither the sexually immoral nor idolaters nor adulterers nor men who have sex with men 10 nor thieves nor the greedy nor drunkards nor slanderers nor swindlers will inherit the kingdom of God.
>
>
>
For the purpose of this question, however, I'm not interested in discussing homosexuality, or any other specific "sin" in the list. I'm simply interested in understanding if this list is meant to be prescriptive or descriptive.
That is to say, is this list saying:
* Any person who participates in XYZ activity will not inherit the kingdom of God
Or is it saying
* Those who will not inherit the kingdom of God engage in XYZ activities
It may seem like a difference of semantics to some, but perhaps an imagined contemporary re-phrasing can help make my question more clear.
>
> Or do you not know that party animals will not inherit the kingdom of God? Do not be deceived: Neither the twerkers, nor dirty dancers, nor sexually promiscuous, nor womanizers, nor drunkards, nor drug users, nor gossipers nor stalkers will inherit the kingdom of God.
>
>
>
In my contrived example, the list is descriptive--describing a possible night club scene, for instance.
Is the original text descriptive, perhaps of a certain class (or classes) of people? Or is it prescriptive? | 2013/12/27 | [
"https://hermeneutics.stackexchange.com/questions/7771",
"https://hermeneutics.stackexchange.com",
"https://hermeneutics.stackexchange.com/users/158/"
] | **pre·scrip·tive**
/priˈskriptiv/
>
> adjective: prescriptive1. of or relating to the imposition
> or enforcement of a rule or method
>
>
>
**de·scrip·tive
/diˈskriptiv**/
adjective
>
> adjective: descriptive1. serving or seeking to describe. synonyms:
> illustrative, expressive, graphic, detailed, lively, vivid, striking;
> More explanatory, explicative "descriptive prose"
>
>
> •Grammar(of an adjective) assigning a quality rather than restricting
> the application of the expression modified, e.g., blue as distinct
> from few.2. describing or classifying without expressing feelings or
> judging.
>
>
>
To answer your question, 1 Cor. 6:9-10(and other simular passage) are both \**D*\*escriptive and \**P*\*rescriptive. Descriptive, from the fact that Scripture 'describes' these activities as sinful and leaves no doubt as to the consequence for remaining in them; Prescriptive, in that just as consequences of disobeying or ignoring are prescribed, so also is the 'remedy' if one is willing to take it.
As to 're-interpreting' what the Scripture says to mean something else, one must exercise great caution. There are other Scriptures to describe those activities or their attributes. The important truth contained here is that if one **continues** in these activities, then one is "ineligable' for the Kingdom of God; one can repent from them and in vs. 11:
>
> And such were some of you: but ye are washed, but ye are sanctified,
> but ye are justified in the name of the Lord Jesus, and by the Spirit
> of our God
>
>
>
. | >
> **1 Corinthians 6:7-10 (DRB)** Already indeed there is plainly a fault among you, that you have lawsuits one with another. Why do you not rather take wrong? Why do you not rather suffer yourselves to be defrauded? 8 But you do wrong and defraud, and that to your brethren. 9 **Know you not** that the unjust shall not possess the kingdom of God? Do not err: neither fornicators, nor idolaters, nor adulterers, 10 Nor the effeminate, nor liers with mankind, nor thieves, nor covetous, nor drunkards, nor railers, nor extortioners, shall possess the kingdom of God.
>
>
>
A 'you are doing wrong ... don't you know that wrongdoers will not inherit the kingdom of heaven' is quite clearly **a warning, that is to say, prescriptive.**
Besides, you asked:
>
> That is to say, is this list saying:
>
>
> * Any person who participates in XYZ activity will not inherit the kingdom of God
>
>
> Or is it saying
>
>
> * Those who will not inherit the kingdom of God engage in XYZ activities
>
>
>
What does it say?
"[e.g.] fornicators ... shall [not] possess the kingdom of God"
This is not the same as "those who shall not inherit the kingdom of God are fornicators. Especially since in passages like Galatians 5, St. Paul explicitly *warns* believers about committing these sins because they will not inherit the kingdom of God. You don't *warn* people *someone else* will not inherit the kingdom of God 'therefore do not partake with them.' |
32,577 | I need help with workflow suggestions for a flash game. (although the concepts would apply to other game engines, too).
In a game like: [Hero Academy](http://www.robotentertainment.com/games/heroacademy/)
There are several different character models each with a multiplicity of animations (walking, standing, getting hurt, attacking, etc.). I am certain that each of these could be manually animated and a sprite sheet generated and used, but when you add up how many animations and core drawings would be needed...that would be near insanity to complete.
So, in research I found that some are creating character models in Blender, Maya, a 3d engine of some kind - setting the camera angle to 45deg, etc. animating and exporting that sprite.
In each of these examples however, the character models were 3d looking i.e.: [3d to 2d](http://blogs.silverlight.net/blogs/msnow/archive/2009/03/02/silverlight-tip-of-the-day-97-creating-sprites-from-3d-models-envygames.aspx)
When I look at Hero Academy, they still look like a 2d drawing.
If I am looking to re-create a similar art style to Hero Academy and need several animations per model what is the most efficient/correct workflow to creating the animation? Manually creating each animation sprite in Flash? Or utilizing 3d and texturing it to look 2d?(if that is even possible)?
EDIT:
Thank you to all those who have posted great answers. To add information to the concept, one 'issue' I am contending with is the modeling/view of our desired game. To further clarify, if you look at Hero Academy's grid system (a la chess board) if you wanted an entity to be able to move vertically or diagonally this would need it's own sprites. However, is this still a simple 2d side scrolling game since the camera is fixed? And they have simply designed the background map to have the EFFECT of perspective?
If that is the case, then using Nuoji's comments, a 2d skeleton would then again be possible.
The base question is: if we are looking at close to 100 different character entities all with their own movement animation, long and close range attack animations, taunts, etc. what is the most expeditious method of doing this?
Note that I have experience in programming but no design/modeling experience. Whether we went the flash animation route or 3d modeling route I would be learning from scratch so any previous skill or preference is nullified. | 2012/07/18 | [
"https://gamedev.stackexchange.com/questions/32577",
"https://gamedev.stackexchange.com",
"https://gamedev.stackexchange.com/users/18145/"
] | After looking at the trailer in your link, they are indeed hand-drawn sprites. The animation seems smooth, so I wouldn't be surprised if they used some sort of skeletal 2D animation. This style involves drawing the movable parts of the character separately, so limbs, head, etc are separate sprites and they are posed and rotated accordingly to create keyframes, and tween the animation by code.
The other method as you mentioned, would be to make 3D models and export their animations individually for use in a 2D medium. If you are familiar with 3D modeling, this approach can be a lot quicker. You'd make your keyframes and tween them as usual but you will be able to export the entire animation as a sequence of images ready to be used in your game.
Ultimately, it depends on the aesthetic you want to achieve. Skeletal animation isn't suited for complex deformations. | 3D models are certainly a possibility. A 3D model with the combination of cell shading could easily achieve this effect. Project zomboid, while not really cartoon looking, doesn't look very much like 3D models when their animations are playing. However, as they said in a [post about animation](http://projectzomboid.com/blog/index.php/2012/05/on-the-reanimated-dead/), they indeed use 3D models to generate their animations.
However, from the looks of it, Hero Academy looks like 2D art that's been attached to a skeletal system and animated. For example, their appears to be no 3D rotation of any of the limbs or head. They only rotate around an axis normal to the screen.
Using the 2D skeleton will allow you to attach the same animations to multiple characters. |
316,632 | Even after googling and reading fitting articles and answers to fitting questions here on StackExchange, I don't understand how CNNs handle scale invariance.
I found logical sounding answers saying that it is solely done by pooling, others, equally sounding answers said it is a combination of convolution and pooling; no one gave an explanation based on a simple example.
Is scale invariance handling "located" in one layer or "spread" over multiple layers? If so, can the mechanism be easily described?
Are images with patterns of different scales needed in the training phase in order to train scale invariance? If so, that would mean every possible size is needed and that cannot be the case, right? In consequence, that would mean, no real learning / "abstraction" would take place?
A simple example: A very simple CNN should learn to identify one particular symbol in images, e.g. the digit '4'.
Let's say I only have images of a fixed size, e.g. 12x12 pixel.
What is needed as training data in order order to detect different-sized '4's?
After training, how does the CNN detect that a 5x5 pixel '4' as compared to a 10x10 pixel '4'? What does it do in the different layers? | 2017/12/01 | [
"https://stats.stackexchange.com/questions/316632",
"https://stats.stackexchange.com",
"https://stats.stackexchange.com/users/186959/"
] | By themselves, convolutional filters do not handle scale invariance. Each learned filter will be sensitive to a given set of features only within a narrow range of scale. There are generally three techniques that can help approximate scale invariance and make the network resilient to scale changes:
1) Training with random zoom in/out on the input image. This synthetically provides examples at different scales. This technique works well in particular for zooming out, but zooming in is limited since one might end up zooming in too much on the wrong portion of the image.
2) Multiscale input: the input image is fed in at multiple scales, say 0.5, 1x and 2x; predictions are then averaged across the outputs. Another technique is to use [feature pyramids](https://towardsdatascience.com/review-fpn-feature-pyramid-network-object-detection-262fc7482610).
3) Multisize or dilated convolutions: instead of using a fixed filter size (say, 3x3), you use multiple filter sizes (3x3, 4x4, 5x5) at each stage. One can also use [dilated filters](https://towardsdatascience.com/review-dilated-convolution-semantic-segmentation-9d5a5bd768f5), for example a 3x3 convolution that covers a 5x5 receptive field by skipping super pixels in-between. | I would argue that CNNs are not inherently able to handle non-scale-invariant features.
Imagine if we have image A of size n x n that only contains a ``corner" feature which looks like a curve. If we scale up the image by 100 times, the new image B will be 100n x 100n and each n x n sub-regions of it will appear to be straight edges instead of corner-like curves.
Let's say we have a CNN-based image classifier C for corner features that trains with only kernels smaller than n x n. Now if we feed B into the classifier, it will look at n x n(or smaller) sub-regions in B and will have no chance of outputting positive results. |
5,219,896 | If I am reading a file stored on an NTFS filesystem, and I try to move/rename that file while it is still being read, I am prevented from doing so. If I try this on a UNIX filesystem such as EXT3, it succeeds, and the process doing the reading is unaffected. I can even rm the file and reading processes are unaffected. How does this work? Could somebody explain to me why this behaviour is supported under UNIX filesystems but not NTFS? I have a vague feeling it has to do with hard links and inodes, but I would appreciate a good explanation. | 2011/03/07 | [
"https://Stackoverflow.com/questions/5219896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/331393/"
] | Unix filesystems use reference counting and a two-layer architecture for finding files.
The filename refers to something called an [inode](https://secure.wikimedia.org/wikipedia/en/wiki/Inode), for information node or index node. The inode stores (a pointer to) the file contents as well as some metadata, such as the file's type (ordinary, directory, device, etc.) and who owns it.
Multiple filenames can refer to the same inode; they are then called [hard links](https://secure.wikimedia.org/wikipedia/en/wiki/Hard_link). In addition, a [file descriptor](https://secure.wikimedia.org/wikipedia/en/wiki/File_descriptor) (fd) refers to an inode. An fd is the type of object a process gets when it opens a file.
A file in a Unix filesystem only disappears when the last reference to it is gone, so when there are no more names (hard links) or fd's referencing it. So, `rm` does not actually remove a file; it removes a *reference to* a file.
This filesystem setup may seem confusing and it sometimes poses problems (esp. with NFS), but it has the benefit that locking is not necessary for a lot of applications. Many Unix programs also use the situation to their advantage by opening a temporary file and deleting it immediately after. As soon as they terminate, even if they crash, the temporary file is gone. | On unix, a filename is simply a link to the actual file(inode). Opening a file also creates a (temporary) link to the actual file. When all links to a file have disappeared (rm and close()) then the file is removed.
On NTFS, logically the filename *is* the file. There's no indirection layer from the filename to the file metainfo, they're the same object. If you open it, it's in use and can't be removed, just as the actual file(inode) on unix can't be removed while it's in use.
**Unix:** Filename ➜ FileInfo ➜ File Data
**NTFS:** FileName + FileInfo ➜ File Data |
1,050,646 | I've come across listings for 25gb NIC cards online, from various companies including Intel, Mellanox, and Broadcom. Can someone explain what these are for? Clearly the bandwidth these cards can support is an order of magnitude higher than what your ISP provides. I know these cards are used to quickly transfer data between servers in a server room, but other than that I don't see any real application. Are there scientific instruments which generate a lot of data and support a 25gb interface? | 2021/01/21 | [
"https://serverfault.com/questions/1050646",
"https://serverfault.com",
"https://serverfault.com/users/613482/"
] | It's quite useful for:
1. backend of "Internet of the Things" (where all data is received)
2. Distributed Storage system like CEPH/Gluster/Lustre
3. Firewall/Router system (some Linuxes/BSDs are used for that purpose)
4. Streaming Servers | "The only substitute for bandwidth is more bandwidth." |
1,050,646 | I've come across listings for 25gb NIC cards online, from various companies including Intel, Mellanox, and Broadcom. Can someone explain what these are for? Clearly the bandwidth these cards can support is an order of magnitude higher than what your ISP provides. I know these cards are used to quickly transfer data between servers in a server room, but other than that I don't see any real application. Are there scientific instruments which generate a lot of data and support a 25gb interface? | 2021/01/21 | [
"https://serverfault.com/questions/1050646",
"https://serverfault.com",
"https://serverfault.com/users/613482/"
] | These cards would more commonly be used in servers in data centers that have higher bandwidth connections to the internet. They can also be used in corporate data centers where bandwidth is again higher than residential internet connections. | "The only substitute for bandwidth is more bandwidth." |
1,050,646 | I've come across listings for 25gb NIC cards online, from various companies including Intel, Mellanox, and Broadcom. Can someone explain what these are for? Clearly the bandwidth these cards can support is an order of magnitude higher than what your ISP provides. I know these cards are used to quickly transfer data between servers in a server room, but other than that I don't see any real application. Are there scientific instruments which generate a lot of data and support a 25gb interface? | 2021/01/21 | [
"https://serverfault.com/questions/1050646",
"https://serverfault.com",
"https://serverfault.com/users/613482/"
] | >
> I know these cards are used to quickly transfer data between servers in a server room, but other than that I don't see any real application
>
>
>
Since you ask the question on serverfault.com, servers in datacenters are everybody's focus. Anyway, you answered your question. What other information you need?
In addition to the use cases that were already mentioned, let me add clouds. A lot of data is transferred between hypervisor hosts and their storage providers, or between hypervisor hosts for migration of virtual machines. | "The only substitute for bandwidth is more bandwidth." |
101,074 | Windows user switching over to Mac here.
I have downloaded an application, the link to which is currently on my desktop. It is actually a \*.app file, which I'm assuming is a shortcut to the file? I want to get the shortcut onto the tray of icons at the bottom of the screen. I'm familiar with linux/unix. Is there a way to mv the file from the desktop where it is to the tray of icons at the bottom? I'm not sure what the path is.
Previously, I tried dragging it onto the tray, then deleting it from the desktop, but when I tried to then run it from the tray, it said it was in the trash. | 2013/09/06 | [
"https://apple.stackexchange.com/questions/101074",
"https://apple.stackexchange.com",
"https://apple.stackexchange.com/users/56559/"
] | In OS X to "properly" install an application, just take the .app file a drag in into your applications folder using the Finder (due to localization the *Application* folder in the Screenshot is named *Program...*, but the icon is the same)

When you then launch the application it will appear in the dock (the "tray of icons"). Right click the icon and and choose "Options" -> "Keep in dock" and it will stay there for quick launching. You can also move it around in the dock if you want to have it in another spot. | Firstly, [@cyphorious has the answer you need](https://apple.stackexchange.com/a/101077), but I'm going to add more details to help expand your understanding of Mac terms.
Firstly, the .app file that is on your desktop is the actual application, not a link. Think of a .app as being roughly equivalent to a .exe (the main difference being that a Windows .exe file is a single file that will no doubt require a bunch of DLLs and other supporting files that it will expect to find either in your windows/system32 folder, or in the same location as the .exe itself. A .app looks like a single file, but is actually a collection of files and folders that is just treated differently so an app can be identified and moved/copied/deleted as a single file, rather than having to know which files and folders combined make it up - it's essentially a bit like a zip file that doesn't need unzipping to access the contents).
The tray of icons at the bottom is the dock. Nothing lives in the dock permanently, anything there should be a shortcut or link to the actual file that is expected to reside elsewhere. In this way, when you remove an app from the dock, you are just removing the shortcut, not deleting the actual app.
So the key to getting the shortcut working in the dock is to move the application to where you want it, then either start it and tell it to stay in the dock, or drag it to the dock from its new permanent location (usually the applications folder as per [@cyphorious's answer](https://apple.stackexchange.com/a/101077), but could be on an external disk etc). |
101,074 | Windows user switching over to Mac here.
I have downloaded an application, the link to which is currently on my desktop. It is actually a \*.app file, which I'm assuming is a shortcut to the file? I want to get the shortcut onto the tray of icons at the bottom of the screen. I'm familiar with linux/unix. Is there a way to mv the file from the desktop where it is to the tray of icons at the bottom? I'm not sure what the path is.
Previously, I tried dragging it onto the tray, then deleting it from the desktop, but when I tried to then run it from the tray, it said it was in the trash. | 2013/09/06 | [
"https://apple.stackexchange.com/questions/101074",
"https://apple.stackexchange.com",
"https://apple.stackexchange.com/users/56559/"
] | In OS X to "properly" install an application, just take the .app file a drag in into your applications folder using the Finder (due to localization the *Application* folder in the Screenshot is named *Program...*, but the icon is the same)

When you then launch the application it will appear in the dock (the "tray of icons"). Right click the icon and and choose "Options" -> "Keep in dock" and it will stay there for quick launching. You can also move it around in the dock if you want to have it in another spot. | I would like to add one clarification to @stuffe's excellent expansion on @cyphorious's answer. This is something I see happen a lot, both on long-time Mac users and adopters who come over from other systems.
@stuffe states: "Nothing lives in the dock permanently, anything there *should be a shortcut* or link to the actual file that is expected to reside elsewhere."
This is correct, but I just want to point out that you don't have to make a shortcut to the file and then drag it to the dock. The icons in the dock are by their very nature shortcuts. And I know that @stuffe didn't say that you had to make a shortcut, but like I said people do this a lot, when they hear that the icons in the dock are shortcuts.
*Mac uses this strategy a lot. The same goes for icons in your sidebar, and on the task bar. And numerous other applications on your Mac.*
**Example:** in iPhoto, only the photos in the Library are the true photos, and therefore can be truly deleted. Photos put into albums appear like the real photo, but really the albums are just an organizational method. Deleting the photos out of the albums does not delete the photos, it just deletes their organizational reference, or shortcut, within the album. |
101,074 | Windows user switching over to Mac here.
I have downloaded an application, the link to which is currently on my desktop. It is actually a \*.app file, which I'm assuming is a shortcut to the file? I want to get the shortcut onto the tray of icons at the bottom of the screen. I'm familiar with linux/unix. Is there a way to mv the file from the desktop where it is to the tray of icons at the bottom? I'm not sure what the path is.
Previously, I tried dragging it onto the tray, then deleting it from the desktop, but when I tried to then run it from the tray, it said it was in the trash. | 2013/09/06 | [
"https://apple.stackexchange.com/questions/101074",
"https://apple.stackexchange.com",
"https://apple.stackexchange.com/users/56559/"
] | Firstly, [@cyphorious has the answer you need](https://apple.stackexchange.com/a/101077), but I'm going to add more details to help expand your understanding of Mac terms.
Firstly, the .app file that is on your desktop is the actual application, not a link. Think of a .app as being roughly equivalent to a .exe (the main difference being that a Windows .exe file is a single file that will no doubt require a bunch of DLLs and other supporting files that it will expect to find either in your windows/system32 folder, or in the same location as the .exe itself. A .app looks like a single file, but is actually a collection of files and folders that is just treated differently so an app can be identified and moved/copied/deleted as a single file, rather than having to know which files and folders combined make it up - it's essentially a bit like a zip file that doesn't need unzipping to access the contents).
The tray of icons at the bottom is the dock. Nothing lives in the dock permanently, anything there should be a shortcut or link to the actual file that is expected to reside elsewhere. In this way, when you remove an app from the dock, you are just removing the shortcut, not deleting the actual app.
So the key to getting the shortcut working in the dock is to move the application to where you want it, then either start it and tell it to stay in the dock, or drag it to the dock from its new permanent location (usually the applications folder as per [@cyphorious's answer](https://apple.stackexchange.com/a/101077), but could be on an external disk etc). | I would like to add one clarification to @stuffe's excellent expansion on @cyphorious's answer. This is something I see happen a lot, both on long-time Mac users and adopters who come over from other systems.
@stuffe states: "Nothing lives in the dock permanently, anything there *should be a shortcut* or link to the actual file that is expected to reside elsewhere."
This is correct, but I just want to point out that you don't have to make a shortcut to the file and then drag it to the dock. The icons in the dock are by their very nature shortcuts. And I know that @stuffe didn't say that you had to make a shortcut, but like I said people do this a lot, when they hear that the icons in the dock are shortcuts.
*Mac uses this strategy a lot. The same goes for icons in your sidebar, and on the task bar. And numerous other applications on your Mac.*
**Example:** in iPhoto, only the photos in the Library are the true photos, and therefore can be truly deleted. Photos put into albums appear like the real photo, but really the albums are just an organizational method. Deleting the photos out of the albums does not delete the photos, it just deletes their organizational reference, or shortcut, within the album. |
28,701 | I would like to know why does Moriarty go through so much trouble to make a replica of the phone from "A Study in Pink" in the *Sherlock* episode "The Great Game"? | 2015/01/03 | [
"https://movies.stackexchange.com/questions/28701",
"https://movies.stackexchange.com",
"https://movies.stackexchange.com/users/16847/"
] | It's to show him that he's been following him for a while, and knows a lot of details about his life. | It's to show the connection between the crimes that only Sherlock would realize, so that none of the people at the police station would try to keep Sherlock out of it. Also, it shows that even though the criminal knows so much about Sherlock, he did not use the actual phone because he needed to see how good Sherlock was |
71,262 | I've had the camera I have for a few years now (the Nikon d40x) but have been thinking about getting a new camera as the Nikon d40x doesn't have great low light performance. I've been thinking about getting the Sony Alpha a7r II but was wondering if that would be a good idea as I wouldn't be able to use my old lenses (I have three zoom lenses). Should I get the Sony Alpha a7r II or get another Nikon DSLR? | 2015/11/26 | [
"https://photo.stackexchange.com/questions/71262",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/46652/"
] | I am in roughly the same boat (more lenses though). I think that Mirrorless is the way of the future for the following reasons.
1. The very high sensitivity of sensors will allow (if not already) the EVF to give you more information in low light than a regular viewfinder.
2. You don't have to take your eyes away from the EVF to see a preview of the captured photo, thus saving you from that moment where you realize that the last 10 shots are completely dark because you forgot M mode from last time.
3. Lens stabilization no longer has advantage over sensor stabilization as you can see the stabilized image through the EVF, meaning 2 things:
* cheaper and smaller lenses
* stabilization even with prime lenses that don't usually come in VR/IS
4. Less (audible) noise, less shake due to mirror movement
5. Smaller camera
6. Little things, like manual focus assist, histogram on evf etc.
However, the reviewer at fstoppers (<https://fstoppers.com/originals/fstoppers-reviews-canon-5dsr-sony-a7rii-and-nikon-d810-89896>) while he does acknowledge that mirrorless is the future, states that the A7RII is just before the crossover point. Given that the hardest part for an experienced photographer is to get over the tradition I appreciate the fact that they don't dismiss the A7 as a toy but rather make their case.
So for me the scales are level if it was about someone who would buy his first professional camera. However given that you have some lenses the scale tips lightly (or heavily, depending on how good glass you have) towards the Nikon.
There's always a third option: **wait**. The third iteration of the A7R will probably be clearly over the crossover point with the DSLR's and it will make the choice all the more easier. | If you are going for serious photography, go for a Nikon or Canon D.S.L.R. But if it is just for family purposes or if you like showing-off a lot Sony is the best. Sony has every thing but the basics are not as strong as those of Canon or Nikon. |
71,262 | I've had the camera I have for a few years now (the Nikon d40x) but have been thinking about getting a new camera as the Nikon d40x doesn't have great low light performance. I've been thinking about getting the Sony Alpha a7r II but was wondering if that would be a good idea as I wouldn't be able to use my old lenses (I have three zoom lenses). Should I get the Sony Alpha a7r II or get another Nikon DSLR? | 2015/11/26 | [
"https://photo.stackexchange.com/questions/71262",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/46652/"
] | I had a Nikon D40 and I switched to D7100 because I could keep all the lenses (total investment: 1000 Euro).
From my point of view (non professional) I think that was fine, I would not be able to justify for pleasure throwing away that much money to buy new lenses.
However, if I had to start from scratch, I would buy Sony Alpha and go mirrorless. The newer sensors are sharp, and phase focusing on sensor itself ("hybrid mode") brings way better results, since no microadjustments are needed. And you can follow subjects very well.
Battery is not an issue, you can have TWO spare batteries plus A7 for the same total weight of a similar dSLR, since mirrorless is lighter. And video advantages, and so on. Moreover, Nikon has very deep focal plane: you cannot convert other lenses to Nikon without additional optics. But the opposite is possible (manual lenses).
If you don't have many lenses, go Sony. | If you are going for serious photography, go for a Nikon or Canon D.S.L.R. But if it is just for family purposes or if you like showing-off a lot Sony is the best. Sony has every thing but the basics are not as strong as those of Canon or Nikon. |
71,262 | I've had the camera I have for a few years now (the Nikon d40x) but have been thinking about getting a new camera as the Nikon d40x doesn't have great low light performance. I've been thinking about getting the Sony Alpha a7r II but was wondering if that would be a good idea as I wouldn't be able to use my old lenses (I have three zoom lenses). Should I get the Sony Alpha a7r II or get another Nikon DSLR? | 2015/11/26 | [
"https://photo.stackexchange.com/questions/71262",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/46652/"
] | I am in roughly the same boat (more lenses though). I think that Mirrorless is the way of the future for the following reasons.
1. The very high sensitivity of sensors will allow (if not already) the EVF to give you more information in low light than a regular viewfinder.
2. You don't have to take your eyes away from the EVF to see a preview of the captured photo, thus saving you from that moment where you realize that the last 10 shots are completely dark because you forgot M mode from last time.
3. Lens stabilization no longer has advantage over sensor stabilization as you can see the stabilized image through the EVF, meaning 2 things:
* cheaper and smaller lenses
* stabilization even with prime lenses that don't usually come in VR/IS
4. Less (audible) noise, less shake due to mirror movement
5. Smaller camera
6. Little things, like manual focus assist, histogram on evf etc.
However, the reviewer at fstoppers (<https://fstoppers.com/originals/fstoppers-reviews-canon-5dsr-sony-a7rii-and-nikon-d810-89896>) while he does acknowledge that mirrorless is the future, states that the A7RII is just before the crossover point. Given that the hardest part for an experienced photographer is to get over the tradition I appreciate the fact that they don't dismiss the A7 as a toy but rather make their case.
So for me the scales are level if it was about someone who would buy his first professional camera. However given that you have some lenses the scale tips lightly (or heavily, depending on how good glass you have) towards the Nikon.
There's always a third option: **wait**. The third iteration of the A7R will probably be clearly over the crossover point with the DSLR's and it will make the choice all the more easier. | I had a Nikon D40 and I switched to D7100 because I could keep all the lenses (total investment: 1000 Euro).
From my point of view (non professional) I think that was fine, I would not be able to justify for pleasure throwing away that much money to buy new lenses.
However, if I had to start from scratch, I would buy Sony Alpha and go mirrorless. The newer sensors are sharp, and phase focusing on sensor itself ("hybrid mode") brings way better results, since no microadjustments are needed. And you can follow subjects very well.
Battery is not an issue, you can have TWO spare batteries plus A7 for the same total weight of a similar dSLR, since mirrorless is lighter. And video advantages, and so on. Moreover, Nikon has very deep focal plane: you cannot convert other lenses to Nikon without additional optics. But the opposite is possible (manual lenses).
If you don't have many lenses, go Sony. |
236,738 | So I was thinking of having religions prophesy of a day where there'd be a massive beam of light coming down from on high at a specific holy spot. How would this be possible with lens orbiting the star of the system?
For convenience, assume the planet is Earth-like in size and location to a star that is similar to our sun (unless it would work better for it not to be). I was thinking of having multiple lenses orbit the star at different distances, almost like inner planets between this Earth-like one and the star. There would be one day that the inhabitants to calculate and have on their calendars when these lenses happen to all line up and focus enough light to start melting the ground in this one spot.
I'm also curious about what this would look like the rest of the time outside of a special convergence - like if one lens would suddenly make the day brighter as it passes between the star and the planet. Or if you would be able to see the lenses during the day or at night with the help of a telescope. I think the size would also be important, and depending if they were large enough, if you could theoretically see them with the naked eye.
And lastly, if it were possible, would the light beam only last for a split second? Or could you increase the size of the lenses in order to lengthen the time of this divine occurrence? | 2022/10/13 | [
"https://worldbuilding.stackexchange.com/questions/236738",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/39160/"
] | This couldn't happen unless the lenses were powered and controlled. Here are the obstacles you'd run into:
Tumbling
--------
Unless the lenses were actually monolithic crystal spheres, the lenses would rotate. You can't tide-lock an object on a lesser axis, so it would tend to rotate such that an edge was pointing at the planet. You could probably compensate for this by giving them counterweights that extended forward and back, but I'll leave that for you to do the math.
Orbital variation
-----------------
I'm presuming that you are thinking that the lenses would be on orbits that line up between the star and the planet on a schedule. For instance, if there were three of them, lens A and B would line up every third month, but lens C only aligned with them every ninth year or some such.
I suggest you look at the [paths that the moon's shadow traverses over the Earth on a solar eclipse](https://www.timeanddate.com/eclipse/list-total-solar.html). As you can see, just getting ONE satellite to pass over a single point reliably would be nigh impossible.
Perturbations
-------------
Even if you manage to get everything lined up the way you want it to, natural satellites would mess things up for you by pulling the lenses out of their perfect orbits. Even without natural satellites, the other planets would mess things up for you. If there are no other planets, then the solar wind will push them around enough to make the alignment fail.
In conclusion, this would have to either be done through magic or technology advanced enough that it's basically magic. It could work if you had an active community maintaining engines that keep the lenses in the right place, but that makes them far less mysterious.
Also, if there are people on the space stations, you can accomplish the same thing with a single mirror set, or even with an orbital laser cannon.
How would it work?
==================
Let's say you have an order of mystic astronauts that keep the lenses in the right place. At this point, you would have the "when single shines the triple sun" situation. The nearest one would be moving the fastest, so let's presume that it performs a final culmination of an otherwise wide beam. Let's also assume that all lenses are either convex transparent or concave mirrors.
### For the big lens case:
The larger lenses would look like dark spots in the sky most of the time, getting brighter when they passed directly overhead. The furthest out one would have to be really huge to be worth the effort. When they were on the "full moon" side of the planet, they would either be invisible or they would have a tiny reflective spot that looked like a star moving slightly faster than itself. You would probably be able to see a ring of the outer edge most of the time.
### For the mirror case:
For a pass-through reflection, you'd need a big outer ring that reflected light to a smaller inner circle. This would be a circular shadow most of the time.
Regardless of what they looked like the rest of the time, when aligned, the device would probably a line in the ground, tracking the nearest mirror's trajectory, instead of just hitting a single spot. Even if you had all of the orbits offset from each other, that would only make the line less intense and more wavy leading up to the final burn. If you absolutely NEEDED it to just hit one spot, you might consider having an opaque shutter object that kept light off of the nearest lens except for when it hit the critical point. | Lenses... would probably be rather hard. Mirrors in satellites would be fairly easy. (I suspect easily doable with today's technology.)
The satellites could only deploy their mirrors at the appropriate time, and thus look less interesting the rest of the time. Multiple satellites would give you redundancy, so if you lose a few things still work. And mirrors could have their aim adjusted over time to give you hours of light beams.
The downside with either lenses or mirrors is that the target are would probably need to be very small. Big enough for the altar, but not for the congregation. (Actually, I think it would be about the size of the mirror/lens.)
One possible bonus: priesthood with appropriate communications technology and security codes could call for the light show whenever and wherever they want it. |
15,871,101 | on upload.aspx page i have
conn1.ConnectionString = "Data Source=.\ip-of-remote-database-server;AttachDbFilename=signup.mdf;Integrated Security=True;User Instance=True";
and all the queries are also on same page ,only database on another machine..
so is this the correct way of implementing ?? or i have to create all queries on another machine and call them by application?? | 2013/04/08 | [
"https://Stackoverflow.com/questions/15871101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2247541/"
] | Any given query query might originate from the client code (such as ASP.NET), or it might be stored a-priori in the DBMS itself as a VIEW or a stored procedure (or even a trigger).
But no matter where it originated from, the query is always executed by the DBMS server. This way, the DBMS can guarantee the integrity of data and "defend" itself from the bugs in the client code.
The logical separation of client and server is why this model is called client/server, but that doesn't mean they must be separate *physical* machines - you'll decide that based on expected workload1 and usage patterns2.
---
*1 Distributing the processing to multiple machines might increase performance.*
*2 E.g. you might need several "fat" clients around the LAN (communicating with the same database server) to reach all your users. This is less relevant for Web where there are additional layers of indirection between users and the database.* | It depends on your infrastructure. If you have got Sql Server locally you can use it. I assume that it is a school project so it does not matter. In real life it usually a good idea to separate web server and database server |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | Am assuming Sybase ASE.
Ships with Sybase Central and SQL Advantage as part of the client tools. Sybase Central lets you manage and create tables, views, sprocs etc. SQL Advantage lets you run SQL...
Sybase Workspace is a new tool for ASE, I've never tried it. <http://www.sybase.com/products/modelingdevelopment/workspace>
ASE ISQL is a free tool that is also useful for running sql, but is less useful for modifiying stored procedures etc. (More of a SQL Advantage replacement). <http://code.google.com/p/aseisql/>
If you have money to spend then there's also Embarcadero's DBArtisan. <http://www.embarcadero.com/products/dbartisan>. I've used this and it's pretty good, although their support for MSSQL and Oracle is better than the Sybase support. | [Squirrel SQL](http://squirrel-sql.sourceforge.net/) is open source and works pretty well |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | Looks like Quest now offers a [Sybase version of Toad](http://www.quest.com/toad-for-sybase/). | [Squirrel SQL](http://squirrel-sql.sourceforge.net/) is open source and works pretty well |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | [RazorSQL](http://www.razorsql.com/) has very good Sybase support. Edit / view stored procedures, etc. | SqlDbx at <http://www.sqldbx.com/>. Very light-weight software promising a lot of editor features. This requires Sybase Open Client to be installed on your workstation.
But I'll recommend using Oracle SQL Developer. I'm presently working through a JDBC connection to a Sybase ASE database using this tool. This seems to be Eclipse-based, but is quite responsive and allows you to view source code for functions and procs too. |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | [RazorSQL](http://www.razorsql.com/) has very good Sybase support. Edit / view stored procedures, etc. | Looks like Quest now offers a [Sybase version of Toad](http://www.quest.com/toad-for-sybase/). |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | SqlDbx at <http://www.sqldbx.com/>. Very light-weight software promising a lot of editor features. This requires Sybase Open Client to be installed on your workstation.
But I'll recommend using Oracle SQL Developer. I'm presently working through a JDBC connection to a Sybase ASE database using this tool. This seems to be Eclipse-based, but is quite responsive and allows you to view source code for functions and procs too. | I'm using CAST SQL-Builder from [CAST Software](http://www.castsoftware.com/), the debugger in this tool saved me a lot of time. |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | DBeaver is open-source and appears to work fine. | [Squirrel SQL](http://squirrel-sql.sourceforge.net/) is open source and works pretty well |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | Looks like Quest now offers a [Sybase version of Toad](http://www.quest.com/toad-for-sybase/). | I'm using CAST SQL-Builder from [CAST Software](http://www.castsoftware.com/), the debugger in this tool saved me a lot of time. |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | Am assuming Sybase ASE.
Ships with Sybase Central and SQL Advantage as part of the client tools. Sybase Central lets you manage and create tables, views, sprocs etc. SQL Advantage lets you run SQL...
Sybase Workspace is a new tool for ASE, I've never tried it. <http://www.sybase.com/products/modelingdevelopment/workspace>
ASE ISQL is a free tool that is also useful for running sql, but is less useful for modifiying stored procedures etc. (More of a SQL Advantage replacement). <http://code.google.com/p/aseisql/>
If you have money to spend then there's also Embarcadero's DBArtisan. <http://www.embarcadero.com/products/dbartisan>. I've used this and it's pretty good, although their support for MSSQL and Oracle is better than the Sybase support. | SqlDbx at <http://www.sqldbx.com/>. Very light-weight software promising a lot of editor features. This requires Sybase Open Client to be installed on your workstation.
But I'll recommend using Oracle SQL Developer. I'm presently working through a JDBC connection to a Sybase ASE database using this tool. This seems to be Eclipse-based, but is quite responsive and allows you to view source code for functions and procs too. |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | Am assuming Sybase ASE.
Ships with Sybase Central and SQL Advantage as part of the client tools. Sybase Central lets you manage and create tables, views, sprocs etc. SQL Advantage lets you run SQL...
Sybase Workspace is a new tool for ASE, I've never tried it. <http://www.sybase.com/products/modelingdevelopment/workspace>
ASE ISQL is a free tool that is also useful for running sql, but is less useful for modifiying stored procedures etc. (More of a SQL Advantage replacement). <http://code.google.com/p/aseisql/>
If you have money to spend then there's also Embarcadero's DBArtisan. <http://www.embarcadero.com/products/dbartisan>. I've used this and it's pretty good, although their support for MSSQL and Oracle is better than the Sybase support. | [RazorSQL](http://www.razorsql.com/) has very good Sybase support. Edit / view stored procedures, etc. |
1,743,286 | Is there a Toad type application for Sybase? I can't seem to find a single one! I've tried using VS 2008 but can't see the sproc source. | 2009/11/16 | [
"https://Stackoverflow.com/questions/1743286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/84587/"
] | SqlDbx at <http://www.sqldbx.com/>. Very light-weight software promising a lot of editor features. This requires Sybase Open Client to be installed on your workstation.
But I'll recommend using Oracle SQL Developer. I'm presently working through a JDBC connection to a Sybase ASE database using this tool. This seems to be Eclipse-based, but is quite responsive and allows you to view source code for functions and procs too. | Try [Embarcadero Rapid SQL](http://www.embarcadero.com/products/rapid-sql-xe). I recommend you the 7.4 version over 7.6 because it is more stable. Embarcadero Rapid SQL XE is the recent version.
>
> Embarcadero Rapid SQL XE enables
> developers and DBAs to produce high
> performing SQL code at lightening
> speeds. With support for all major
> database platforms from a single
> interface, teams can standardize on
> one powerful heterogeneous SQL IDE
> tool.
>
>
> |
46,797,727 | I have an Asp.Net core project hosting an angular application within it. There are a couple of API controllers in the asp.net core project. These controllers are called from within the Angular App.
The asp.net core app is protected by Azure AD authentication using OpenIdConnect along with Cookies. What I am looking at is how should I handle the token expiry for an overnight idle session for the user.
Currently, if a user will resume his browser session which is expired, he is thrown an exception on the async API call made from the Angular App. How should I make Angular App re-direct user back to the login page for the Azure AD application?. | 2017/10/17 | [
"https://Stackoverflow.com/questions/46797727",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/761130/"
] | I resolved the token expiry issue by moving the token cache to Sql Server. With this done, if current in-memory token is expired, the refresh token from sql server is used to generate a new access token. | You can implement a hidden iframe in your web app that makes a request against your server every 45 minutes or so. That way, your token will always be valid while your application is running.
[This blog post](http://www.cloudidentity.com/blog/2016/07/25/controlling-a-web-apps-session-duration-2/) talks about this issue and explain your options, including showing a script that makes the request on a scheduled interval. |
43,343 | I would like to purchase a DSLR. Please note that this is my first DSLR camera and I am a poor graduate student so I am foregoing almost 6 months of warm dinner to purchase this.
I have decided to buy the Canon EOS 60D (body only) as my first camera. However I am a little confused about the lens I should buy as I get a lot of suggestions.
I know I want to get a prime lens (more specifically Canon EF 50mm f/1.8 II Camera Lens) for my close range and portrait mode photography. But I will also like to buy a zoom lens for capturing natural scenes and group photos and maybe the occasional Buckeye football game.
Can anyone suggest a good lens that will serve all around without substantially overdrawing my bank account ? Something in the $250-$300 range will be fine.
Or should I just go for the stock 18-55mm Lens that Canon gives with a lot of its camera. | 2013/10/12 | [
"https://photo.stackexchange.com/questions/43343",
"https://photo.stackexchange.com",
"https://photo.stackexchange.com/users/22660/"
] | Stick with the thrifty-fifty until you have enough money to get good food and the lens. Your health is more valuable than getting the shots you want, plus the 50mm should be enough for now. If you're set on getting a zoom, I'd go used especially at your budget.
You mentioned Buckeye football, so I'll assume you go to OSU. There's a good used photography place up near Clintonville called [Columbus Camera Group](http://columbuscameragroup.com/) that has some pretty good gear, plus they cut good deals for students. [Midwest Photo Exchange](http://mpex.com/) up on High also has some really nice used gear (I bought my D300 there, got a very good deal), plus the staff are friendly and knowledgeable. | The 50mm f/1.8 is a nice lens for the price but it has it's limitations.
The problems I have with my 50mm f/1.8 are:
1. It has extremely slow auto-focus, especially in low-ish light (like indoors) - to the point it's hard to catch kids running around, not a problem for portraits but it's difficult to use it on anything that is moving unexpectedly (if you can't prepare and pre-focus).
2. 50mm on an APS-C camera (like the 60D) is a little too tight for general indoor use for my taste, great for head and shoulders portraits but you will find yourself limited by room size for full length and group shots (meaning you are limited in where you stand and where you put your subject, you lose a lot of control if you always need to place the subjects right next to a wall), also, it's practically useless to capture the atmosphere of the entire room (unless you can stage everything or you are very good at framing your shots).
3. 50mm is also too wide for things that are traditionally shot with a tele lens - forget sports, forget wildlife (also forget animals at the zoo unless the poor animals are in a bad zoo with really small cages), etc.
I recommend getting a kit zoom at well as the 50mm, they aren't the best lenses ever made but they are good enough for a hobbyist and are very versatile, you can get the 18-55 for cheap with the camera or for next to nothing used, the 18-135 is better if you have the budget.
If I want to take a staged portrait I go for the 50mm, but as a general walkabout lens I use the 18-135 and most days the 50mm stays in the bag (I know preferring a consumer zoom over a prime makes me an horrible person or something but the fast auto-focus and extra reach of the zoom lets me easily take pictures I wouldn't be able to take with the 50mm). |
2,126,965 | I know how I can create a Windows Service in C# but I have a series of variables that the user currently feeds into a text file and I wanted to control this process. So can I attach a Windows service to a Windows form application to control such things as installing the service, uninstalling the service, start and restart. Or is it better to have them completely separate and just use the form app to run system commands for install/uninstall and use the serviceController to start/restart?
Thanks | 2010/01/24 | [
"https://Stackoverflow.com/questions/2126965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/129499/"
] | I suggest to make it completely separated. | You can do it by allowing the service to interact with the desktop. It's an acceptable way of doing it, but saying that, I agree with dario-g! |
2,126,965 | I know how I can create a Windows Service in C# but I have a series of variables that the user currently feeds into a text file and I wanted to control this process. So can I attach a Windows service to a Windows form application to control such things as installing the service, uninstalling the service, start and restart. Or is it better to have them completely separate and just use the form app to run system commands for install/uninstall and use the serviceController to start/restart?
Thanks | 2010/01/24 | [
"https://Stackoverflow.com/questions/2126965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/129499/"
] | I suggest to make it completely separated. | It's probably better to keep them separate: have the form write a config file for the service, then either restart the service or have the service detect the changed file and reconfigure itself.
If the service interacts with the desktop, then you'll have to start worrying about what happens if they're running as different users, or if there isn't a logged-on user at all, or... |
2,126,965 | I know how I can create a Windows Service in C# but I have a series of variables that the user currently feeds into a text file and I wanted to control this process. So can I attach a Windows service to a Windows form application to control such things as installing the service, uninstalling the service, start and restart. Or is it better to have them completely separate and just use the form app to run system commands for install/uninstall and use the serviceController to start/restart?
Thanks | 2010/01/24 | [
"https://Stackoverflow.com/questions/2126965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/129499/"
] | It's probably better to keep them separate: have the form write a config file for the service, then either restart the service or have the service detect the changed file and reconfigure itself.
If the service interacts with the desktop, then you'll have to start worrying about what happens if they're running as different users, or if there isn't a logged-on user at all, or... | You can do it by allowing the service to interact with the desktop. It's an acceptable way of doing it, but saying that, I agree with dario-g! |
515,000 | Very simple problem: I am trying to hook up a laptop to a projector via a Mini DisplayPort to VGA connector, however it just doesn't work at all.
Where this gets odd is:
* This all works to the second monitor on my desk - thus the Mini DisplayPort, OS/Drivers & adapter are working.
* This all works if I take the VGA cable from the monitor and plug in the projector directly this would imply a cable issue to the projector.
* Other laptops work with the normal monitor VGA cable albeit without the adapter, seems to eliminate a catastrophic the cable issue.
* There are no pins missing from the projector cable.
* The projector is pushing out the plug & play info.
* Tried on a second projector with similar config and same issue occurs.
This leads me to think an issue exists between the combination of the adapter & cable. The only key difference I can see between the screen cable & the projectors cable is length (projector cable is much longer) but still [within the 15m](https://superuser.com/questions/451126/mini-displayport-cable-max-length).
The question I have is how to get this working?
If you have next steps in troubleshooting, I would love to hear those too.
---
Specs
=====
Laptop is a [Dell XPS 17](http://www.dell.com/us/p/xps-l702x/pd)
Adapter is an [Apple Mini DisplayPort to VGA adapter](http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter)
Second screen is a [Samsung SyncMaster 732N](http://www.samsung.com/africa_en/support/model/LS17PEASB/ZAT)
Projector is an [Epson EMP-83](http://www.epson.com.au/products/projector/emp83.asp)
Second projector is an [Epson EH-TW6000](http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/11236)
OS is Windows 8
Update
------
Tried with a [hama Mini Display Port to VGA adapter](http://www.hama.de/portal/action*2851/articleId*185248) and same issues | 2012/12/05 | [
"https://superuser.com/questions/515000",
"https://superuser.com",
"https://superuser.com/users/3122/"
] | After trying every HDMI adapter I could & found the failure rate at best 40%, I settled on a USB 2.0 Display Adapter (it has outputs for VGA, HDMI & DVI). It has always worked so seems like a safe choice. | I had a similar problem with Apple Mini Display-port to VGA connector. I have an XPS 13 Ultrabook. I decided to order direct from Dell and this has solved my problem.
That means, Dell has apparently designed their own connector. It has dual-link (whatever that means). I tried it on 2 projectors - an old Hitachi and a newer HP potable projector. It worked on both. You might want to order directly from dell. |
515,000 | Very simple problem: I am trying to hook up a laptop to a projector via a Mini DisplayPort to VGA connector, however it just doesn't work at all.
Where this gets odd is:
* This all works to the second monitor on my desk - thus the Mini DisplayPort, OS/Drivers & adapter are working.
* This all works if I take the VGA cable from the monitor and plug in the projector directly this would imply a cable issue to the projector.
* Other laptops work with the normal monitor VGA cable albeit without the adapter, seems to eliminate a catastrophic the cable issue.
* There are no pins missing from the projector cable.
* The projector is pushing out the plug & play info.
* Tried on a second projector with similar config and same issue occurs.
This leads me to think an issue exists between the combination of the adapter & cable. The only key difference I can see between the screen cable & the projectors cable is length (projector cable is much longer) but still [within the 15m](https://superuser.com/questions/451126/mini-displayport-cable-max-length).
The question I have is how to get this working?
If you have next steps in troubleshooting, I would love to hear those too.
---
Specs
=====
Laptop is a [Dell XPS 17](http://www.dell.com/us/p/xps-l702x/pd)
Adapter is an [Apple Mini DisplayPort to VGA adapter](http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter)
Second screen is a [Samsung SyncMaster 732N](http://www.samsung.com/africa_en/support/model/LS17PEASB/ZAT)
Projector is an [Epson EMP-83](http://www.epson.com.au/products/projector/emp83.asp)
Second projector is an [Epson EH-TW6000](http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/11236)
OS is Windows 8
Update
------
Tried with a [hama Mini Display Port to VGA adapter](http://www.hama.de/portal/action*2851/articleId*185248) and same issues | 2012/12/05 | [
"https://superuser.com/questions/515000",
"https://superuser.com",
"https://superuser.com/users/3122/"
] | Many people seem to have an issue with linking laptops with Mini DisplayPort output to projectors with VGA input.
Here's the real solution to my similar problem:
I purchased a Dell XPS 8700 one year ago:
* Windows 7 Home Premium
* NVIDIA(R) GeForce(R) GTX 650 Ti 1.0GB GDDR5 card
I paired it with a Dell 1610HD projector, using its stock 6 foot VGA to VGA cable, and an Apple Mini DisplayPort to VGA adaptor from Best Buy. I had no problems for a year, maybe twenty PowerPoint presentations. Then, the projector failed to detect a signal from the laptop.
I tried all the usual techniques on the laptop:
* cycling through the displays with the F1 key
* rebooting etc.
After reading online posts, I believed that my adaptor was broken, so I purchased a Rocketfish brand. **Didn't work**. So, I purchased the Dell brand. **Didn't work**.
What, I wondered, were the chances that three different manufacturer's products were defective? Not very high. I reasoned it much more likely that the problem was with the Mini DisplayPort module, itself. Most likely, the more it is used, the "looser" it becomes, making the connection with the adapters more tenuous. So, I did an experiment.
**SOLUTION**:
In sequence":
* I turned on the laptop
* I then turned on the projector
* I connected the VGA cable to the projector, and the adaptor to the cable.
* I used the F1 key on the laptop to toggle through the display choices to the "Duplicate" mode.
* The display on the laptop then shrinks horizontally, and says that this is isn't the optimum display resolution. I ignored that. This also works with the "Extended" mode, and the warning about resolution isn't displayed.
* I plugged the adaptor into the laptop, firmly, wiggled it around a bit to secure the connection, and waited to see if the laptop screen was displayed on the projector.
* I did this ten times for each of my three brands of adaptor, unplugging the adaptor, then plugging it back in, to calculate the success rate of each adaptor.
Results:
- the Apple brand, the one which I had thought was broken, connected 90% of the time
- the Rocketfish brand, 80% of the attempts
- the Dell brand was successful 90% of the time.
The conclusion is that the adaptors don't break. There is no magic adaptor brand any better than any other brand. The connection between the adaptor and the laptop via the Mini DisplayPort is the culprit. The more the Mini Displayport is used, the greater the chance that it somehow works loose and suffers a failure. The key is in seating the adaptor deeply and surely, and even at that, there is an occasional failure to connect, whatever the brand. If it doesn't work once, remove the adaptor and firmly reseat it. Caution! This is very important! On my Dell, the display choice obtained by using the F1 key will always default back to "Disconnect Projector" when the adaptor is unplugged. If you don't use the F1 key each time you unplug the adaptor to reset it, the projector won't see the laptop. Always, always, use the F1 key to reset the display mode to "Duplicate" or "Extended" if you unplug and reseat the adaptor.
This occasional failure of the connection on my Dell XPS is likely the cause of failure on other laptop to projector combinations. I suspect that all Mini Displayport modules are manufactured by a single company and installed on different laptop brands, so all are subject to the inherent weakness of its design. Let's face it: the Mini Displayport isn't as robust as a VNG output found on some laptops.
I have to chalk the failure of these connections up to the inherent design of the Mini Displayport module on the laptop, and to operator error. If you don't make a secure connection, it won't work. If you still believe that the brand of the adaptor makes a difference, here are my observations on the three brands, and some measurements I took to objectify my impressions. Overall, the Dell brand (Model # DAYBNBC084) is the most robust, sturdy and well-manufactured of the three. I plan to keep it, and return one of the others, keeping the third for a spare in case I lose the Dell adaptor before an important PowerPoint presentation. The Dell is black, 8 1/2 inches long, and weighs 40.8 grams on my balance beam scale. The Rocketfish is white, 7 3/8 inches long, and weighs 33 grams. The Apple is white, 5 1/4 inches long, and weighs 32 grams. The greater weight of the Dell is chiefly due not to its greater length, but stronger construction: the wire is thicker, the convertor box is larger, and everything feels more robust. It's my choice, but as the experiment shows, all adaptors have an occasional failure rate, and the fault lies not in the adaptor, but in the Mini Displayport. | I had a similar problem with Apple Mini Display-port to VGA connector. I have an XPS 13 Ultrabook. I decided to order direct from Dell and this has solved my problem.
That means, Dell has apparently designed their own connector. It has dual-link (whatever that means). I tried it on 2 projectors - an old Hitachi and a newer HP potable projector. It worked on both. You might want to order directly from dell. |
515,000 | Very simple problem: I am trying to hook up a laptop to a projector via a Mini DisplayPort to VGA connector, however it just doesn't work at all.
Where this gets odd is:
* This all works to the second monitor on my desk - thus the Mini DisplayPort, OS/Drivers & adapter are working.
* This all works if I take the VGA cable from the monitor and plug in the projector directly this would imply a cable issue to the projector.
* Other laptops work with the normal monitor VGA cable albeit without the adapter, seems to eliminate a catastrophic the cable issue.
* There are no pins missing from the projector cable.
* The projector is pushing out the plug & play info.
* Tried on a second projector with similar config and same issue occurs.
This leads me to think an issue exists between the combination of the adapter & cable. The only key difference I can see between the screen cable & the projectors cable is length (projector cable is much longer) but still [within the 15m](https://superuser.com/questions/451126/mini-displayport-cable-max-length).
The question I have is how to get this working?
If you have next steps in troubleshooting, I would love to hear those too.
---
Specs
=====
Laptop is a [Dell XPS 17](http://www.dell.com/us/p/xps-l702x/pd)
Adapter is an [Apple Mini DisplayPort to VGA adapter](http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter)
Second screen is a [Samsung SyncMaster 732N](http://www.samsung.com/africa_en/support/model/LS17PEASB/ZAT)
Projector is an [Epson EMP-83](http://www.epson.com.au/products/projector/emp83.asp)
Second projector is an [Epson EH-TW6000](http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/11236)
OS is Windows 8
Update
------
Tried with a [hama Mini Display Port to VGA adapter](http://www.hama.de/portal/action*2851/articleId*185248) and same issues | 2012/12/05 | [
"https://superuser.com/questions/515000",
"https://superuser.com",
"https://superuser.com/users/3122/"
] | After trying every HDMI adapter I could & found the failure rate at best 40%, I settled on a USB 2.0 Display Adapter (it has outputs for VGA, HDMI & DVI). It has always worked so seems like a safe choice. | I got initially the same problem with a MacBook pro, and finally returned the laptop to apple, 'cause i work with a second monitor on a regular basis (on a desk or with projectors). I changed to a dell xps 14z, and I was afraid to encounter the same problem I look everywhere in for a suggestion.
At the end, the explanation runs on the line that the mini display to vga from apple, is passive, where there is also 'active' versions of the same connector. The recommendation was to buy an 'active' conector en voila, everything workout.
The one I have used is this one [http://www.amazon.com/StarTech-com-Mini-DisplayPort-Video-Adapter/dp/B0031SEMBQ/ref=sr\_1\_1?ie=UTF8&qid=1400589997&sr=8-1&keywords=mini+dvi+to+vga+%2B+dell+xps](http://rads.stackoverflow.com/amzn/click/B0031SEMBQ)
Here the there is an extraction of the comment, from a reviewer (Alice winter) on the same conector:
>
> The real reason I got this is because it's an ACTIVE adapter. I have a
> MacBook Pro 15" Late 2011, and when I try to boot in Windows 7 while
> using an external monitor, there's absolutely no picture on the screen
> if I'm using a regular VGA adapter. The Mac OS works fine. HOWEVER,
> StarTech came to the rescue, and after weeks of grueling agony without
> my nice monitor, I can FINALLY use both operating systems on the big
> screen!
>
>
> The problem with regular (or "passive") VGA adapters is that they need
> software to convert the digital signal to analog. Some computers have
> it and some don't. The *StarTech* adapter is awesome because it has
> built-in hardware for doing the conversion for you without any extra
> software or drivers. They're called "active" adapters because they
> actively convert the signal all by themselves.
>
>
> |
515,000 | Very simple problem: I am trying to hook up a laptop to a projector via a Mini DisplayPort to VGA connector, however it just doesn't work at all.
Where this gets odd is:
* This all works to the second monitor on my desk - thus the Mini DisplayPort, OS/Drivers & adapter are working.
* This all works if I take the VGA cable from the monitor and plug in the projector directly this would imply a cable issue to the projector.
* Other laptops work with the normal monitor VGA cable albeit without the adapter, seems to eliminate a catastrophic the cable issue.
* There are no pins missing from the projector cable.
* The projector is pushing out the plug & play info.
* Tried on a second projector with similar config and same issue occurs.
This leads me to think an issue exists between the combination of the adapter & cable. The only key difference I can see between the screen cable & the projectors cable is length (projector cable is much longer) but still [within the 15m](https://superuser.com/questions/451126/mini-displayport-cable-max-length).
The question I have is how to get this working?
If you have next steps in troubleshooting, I would love to hear those too.
---
Specs
=====
Laptop is a [Dell XPS 17](http://www.dell.com/us/p/xps-l702x/pd)
Adapter is an [Apple Mini DisplayPort to VGA adapter](http://store.apple.com/us/product/MB572Z/B/mini-displayport-to-vga-adapter)
Second screen is a [Samsung SyncMaster 732N](http://www.samsung.com/africa_en/support/model/LS17PEASB/ZAT)
Projector is an [Epson EMP-83](http://www.epson.com.au/products/projector/emp83.asp)
Second projector is an [Epson EH-TW6000](http://www.epson.co.uk/gb/en/viewcon/corporatesite/products/mainunits/overview/11236)
OS is Windows 8
Update
------
Tried with a [hama Mini Display Port to VGA adapter](http://www.hama.de/portal/action*2851/articleId*185248) and same issues | 2012/12/05 | [
"https://superuser.com/questions/515000",
"https://superuser.com",
"https://superuser.com/users/3122/"
] | Many people seem to have an issue with linking laptops with Mini DisplayPort output to projectors with VGA input.
Here's the real solution to my similar problem:
I purchased a Dell XPS 8700 one year ago:
* Windows 7 Home Premium
* NVIDIA(R) GeForce(R) GTX 650 Ti 1.0GB GDDR5 card
I paired it with a Dell 1610HD projector, using its stock 6 foot VGA to VGA cable, and an Apple Mini DisplayPort to VGA adaptor from Best Buy. I had no problems for a year, maybe twenty PowerPoint presentations. Then, the projector failed to detect a signal from the laptop.
I tried all the usual techniques on the laptop:
* cycling through the displays with the F1 key
* rebooting etc.
After reading online posts, I believed that my adaptor was broken, so I purchased a Rocketfish brand. **Didn't work**. So, I purchased the Dell brand. **Didn't work**.
What, I wondered, were the chances that three different manufacturer's products were defective? Not very high. I reasoned it much more likely that the problem was with the Mini DisplayPort module, itself. Most likely, the more it is used, the "looser" it becomes, making the connection with the adapters more tenuous. So, I did an experiment.
**SOLUTION**:
In sequence":
* I turned on the laptop
* I then turned on the projector
* I connected the VGA cable to the projector, and the adaptor to the cable.
* I used the F1 key on the laptop to toggle through the display choices to the "Duplicate" mode.
* The display on the laptop then shrinks horizontally, and says that this is isn't the optimum display resolution. I ignored that. This also works with the "Extended" mode, and the warning about resolution isn't displayed.
* I plugged the adaptor into the laptop, firmly, wiggled it around a bit to secure the connection, and waited to see if the laptop screen was displayed on the projector.
* I did this ten times for each of my three brands of adaptor, unplugging the adaptor, then plugging it back in, to calculate the success rate of each adaptor.
Results:
- the Apple brand, the one which I had thought was broken, connected 90% of the time
- the Rocketfish brand, 80% of the attempts
- the Dell brand was successful 90% of the time.
The conclusion is that the adaptors don't break. There is no magic adaptor brand any better than any other brand. The connection between the adaptor and the laptop via the Mini DisplayPort is the culprit. The more the Mini Displayport is used, the greater the chance that it somehow works loose and suffers a failure. The key is in seating the adaptor deeply and surely, and even at that, there is an occasional failure to connect, whatever the brand. If it doesn't work once, remove the adaptor and firmly reseat it. Caution! This is very important! On my Dell, the display choice obtained by using the F1 key will always default back to "Disconnect Projector" when the adaptor is unplugged. If you don't use the F1 key each time you unplug the adaptor to reset it, the projector won't see the laptop. Always, always, use the F1 key to reset the display mode to "Duplicate" or "Extended" if you unplug and reseat the adaptor.
This occasional failure of the connection on my Dell XPS is likely the cause of failure on other laptop to projector combinations. I suspect that all Mini Displayport modules are manufactured by a single company and installed on different laptop brands, so all are subject to the inherent weakness of its design. Let's face it: the Mini Displayport isn't as robust as a VNG output found on some laptops.
I have to chalk the failure of these connections up to the inherent design of the Mini Displayport module on the laptop, and to operator error. If you don't make a secure connection, it won't work. If you still believe that the brand of the adaptor makes a difference, here are my observations on the three brands, and some measurements I took to objectify my impressions. Overall, the Dell brand (Model # DAYBNBC084) is the most robust, sturdy and well-manufactured of the three. I plan to keep it, and return one of the others, keeping the third for a spare in case I lose the Dell adaptor before an important PowerPoint presentation. The Dell is black, 8 1/2 inches long, and weighs 40.8 grams on my balance beam scale. The Rocketfish is white, 7 3/8 inches long, and weighs 33 grams. The Apple is white, 5 1/4 inches long, and weighs 32 grams. The greater weight of the Dell is chiefly due not to its greater length, but stronger construction: the wire is thicker, the convertor box is larger, and everything feels more robust. It's my choice, but as the experiment shows, all adaptors have an occasional failure rate, and the fault lies not in the adaptor, but in the Mini Displayport. | I got initially the same problem with a MacBook pro, and finally returned the laptop to apple, 'cause i work with a second monitor on a regular basis (on a desk or with projectors). I changed to a dell xps 14z, and I was afraid to encounter the same problem I look everywhere in for a suggestion.
At the end, the explanation runs on the line that the mini display to vga from apple, is passive, where there is also 'active' versions of the same connector. The recommendation was to buy an 'active' conector en voila, everything workout.
The one I have used is this one [http://www.amazon.com/StarTech-com-Mini-DisplayPort-Video-Adapter/dp/B0031SEMBQ/ref=sr\_1\_1?ie=UTF8&qid=1400589997&sr=8-1&keywords=mini+dvi+to+vga+%2B+dell+xps](http://rads.stackoverflow.com/amzn/click/B0031SEMBQ)
Here the there is an extraction of the comment, from a reviewer (Alice winter) on the same conector:
>
> The real reason I got this is because it's an ACTIVE adapter. I have a
> MacBook Pro 15" Late 2011, and when I try to boot in Windows 7 while
> using an external monitor, there's absolutely no picture on the screen
> if I'm using a regular VGA adapter. The Mac OS works fine. HOWEVER,
> StarTech came to the rescue, and after weeks of grueling agony without
> my nice monitor, I can FINALLY use both operating systems on the big
> screen!
>
>
> The problem with regular (or "passive") VGA adapters is that they need
> software to convert the digital signal to analog. Some computers have
> it and some don't. The *StarTech* adapter is awesome because it has
> built-in hardware for doing the conversion for you without any extra
> software or drivers. They're called "active" adapters because they
> actively convert the signal all by themselves.
>
>
> |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | Do you know the rationale behind washing the containers? There's a large-scale system for, among others, plastic containers in place in Germany, and here you are explicitly advised not to wash the containers.
My gut reply would be to not wash the containers. This is based on the assumption that they will either be recycled, and no recycling plant can rely on you washing your peanut butter jars sufficiently for their purposes, and they can probably wash them more efficiently at their plant.
Or the plastic waste is incinerated (in this case the separate collection may be because plastic waste is high value fuel) and then it really doesn't matter.
A lot really depends on what actually happens with the plastics. Note that recycling can mean almost anything except landfill in the terms of the relevant laws: thermal recycling = incineration, material recycling = smelting and reuse.
While I see no sustainability argument for washing, there's a health aspect - containers with food remains can attract pests, stink, or be a reservoir for pathogens. Depending on where you live and how you store the packaging, this may be an issue (thx @WhirlWind for pointing this out!). | I guess the question presupposes a problem, namely that we are going to use potable water to wash plastic containers to be recycled. This is, IMO, a major problem with assuming that people should wash containers prior to recycling. There's really no reason that these need to be washed in ways that reduce our availability of potable water.
My sense is the same as yours but for a different reason. My feeling is that if we get to a point where potable water such an issue one can recycle water for the purpose of washing such containers (maybe using something like runoff from the washing machine). As they say, premature optimization is the root of all evil. I wouldn't worry about it. Short-run it's not a problem. Long-run it's not a problem without solutions. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | I guess the question presupposes a problem, namely that we are going to use potable water to wash plastic containers to be recycled. This is, IMO, a major problem with assuming that people should wash containers prior to recycling. There's really no reason that these need to be washed in ways that reduce our availability of potable water.
My sense is the same as yours but for a different reason. My feeling is that if we get to a point where potable water such an issue one can recycle water for the purpose of washing such containers (maybe using something like runoff from the washing machine). As they say, premature optimization is the root of all evil. I wouldn't worry about it. Short-run it's not a problem. Long-run it's not a problem without solutions. | In areas with commingled recycling, one of the arguments made for washing plastic and metal containers is contamination of paper and cardboard in the bin. One leaking unwashed can could taint the entirety of the paper and cardboard in the bin, making it unsuitable for recycling, plus the resulting mess may lead to things sticking together, making the automated sorting not work. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | Do you know the rationale behind washing the containers? There's a large-scale system for, among others, plastic containers in place in Germany, and here you are explicitly advised not to wash the containers.
My gut reply would be to not wash the containers. This is based on the assumption that they will either be recycled, and no recycling plant can rely on you washing your peanut butter jars sufficiently for their purposes, and they can probably wash them more efficiently at their plant.
Or the plastic waste is incinerated (in this case the separate collection may be because plastic waste is high value fuel) and then it really doesn't matter.
A lot really depends on what actually happens with the plastics. Note that recycling can mean almost anything except landfill in the terms of the relevant laws: thermal recycling = incineration, material recycling = smelting and reuse.
While I see no sustainability argument for washing, there's a health aspect - containers with food remains can attract pests, stink, or be a reservoir for pathogens. Depending on where you live and how you store the packaging, this may be an issue (thx @WhirlWind for pointing this out!). | I have run into the same quandary. I resolved it by keeping a large bin in my sink that catches "grey water" or water already used for washing dishes and add a drop of biodegradable phosphate-free soap and lather it up and dunk it in the grey water as my pre-recycling rinse. Keeping a bin inside my sink and salvaging grey water really cuts down my water use. Soap will carry away any gunk from the dirty water. Sometimes I do a final rinse with one shot of potable water if the soap is too dense to rinse off in greywater bin. I hope that helps other people with this dilemma. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | Do you know the rationale behind washing the containers? There's a large-scale system for, among others, plastic containers in place in Germany, and here you are explicitly advised not to wash the containers.
My gut reply would be to not wash the containers. This is based on the assumption that they will either be recycled, and no recycling plant can rely on you washing your peanut butter jars sufficiently for their purposes, and they can probably wash them more efficiently at their plant.
Or the plastic waste is incinerated (in this case the separate collection may be because plastic waste is high value fuel) and then it really doesn't matter.
A lot really depends on what actually happens with the plastics. Note that recycling can mean almost anything except landfill in the terms of the relevant laws: thermal recycling = incineration, material recycling = smelting and reuse.
While I see no sustainability argument for washing, there's a health aspect - containers with food remains can attract pests, stink, or be a reservoir for pathogens. Depending on where you live and how you store the packaging, this may be an issue (thx @WhirlWind for pointing this out!). | This is not a problem if you use a basin to wash dishes. As I soap dishes it goes in an empty basin in one half the sink. I rinse the dishes in the basin one at a time and put in rack. As I do so the basin fills up with the soapy rinse water. I have a full basin at the end of the wash. I can use this water to wash a kitchen rag to wipe down counters and/or I can use this water to rinse off another load of dirty dishes and/or I can use this water to rinse out recyclable containers like the above-mentioned peanut butter jar. Then this water I pour into a greywater bucket to water plants outside. So this potable water has potentially five uses: rinsing, washing rag, rinsing dirty dishes, rinsing dirty recyclable containers, watering outdoor plants. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | Do you know the rationale behind washing the containers? There's a large-scale system for, among others, plastic containers in place in Germany, and here you are explicitly advised not to wash the containers.
My gut reply would be to not wash the containers. This is based on the assumption that they will either be recycled, and no recycling plant can rely on you washing your peanut butter jars sufficiently for their purposes, and they can probably wash them more efficiently at their plant.
Or the plastic waste is incinerated (in this case the separate collection may be because plastic waste is high value fuel) and then it really doesn't matter.
A lot really depends on what actually happens with the plastics. Note that recycling can mean almost anything except landfill in the terms of the relevant laws: thermal recycling = incineration, material recycling = smelting and reuse.
While I see no sustainability argument for washing, there's a health aspect - containers with food remains can attract pests, stink, or be a reservoir for pathogens. Depending on where you live and how you store the packaging, this may be an issue (thx @WhirlWind for pointing this out!). | In areas with commingled recycling, one of the arguments made for washing plastic and metal containers is contamination of paper and cardboard in the bin. One leaking unwashed can could taint the entirety of the paper and cardboard in the bin, making it unsuitable for recycling, plus the resulting mess may lead to things sticking together, making the automated sorting not work. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | I have run into the same quandary. I resolved it by keeping a large bin in my sink that catches "grey water" or water already used for washing dishes and add a drop of biodegradable phosphate-free soap and lather it up and dunk it in the grey water as my pre-recycling rinse. Keeping a bin inside my sink and salvaging grey water really cuts down my water use. Soap will carry away any gunk from the dirty water. Sometimes I do a final rinse with one shot of potable water if the soap is too dense to rinse off in greywater bin. I hope that helps other people with this dilemma. | In areas with commingled recycling, one of the arguments made for washing plastic and metal containers is contamination of paper and cardboard in the bin. One leaking unwashed can could taint the entirety of the paper and cardboard in the bin, making it unsuitable for recycling, plus the resulting mess may lead to things sticking together, making the automated sorting not work. |
246 | I live in a major metropolitan area in the United States, and we have a municipal recycling pick-up program. They advise us to wash food containers prior to putting them in our bins, and if an item takes "too much water" to wash, that it's better to throw it away instead. What are the differences in the ecological impact between using more water to wash-out a difficult-to-clean item (e.g. a plastic peanut butter jar) vs. throwing it away? My gut feeling was that it would objectively be better to use more water to wash an item so that it could (possibly) be recycled than it would be to conserve water and have it (ultimately) end up in a landfill, but I don't have any background to evaluate one way or the other.
**Edit:** I changed the title of the question in response to some answers and comments. It used to be "Is it more sustainable to save water or to recycle", which hid the assumption that I would use potable water, and which wasn't clear that I was asking about recycling waste (not water). | 2013/02/02 | [
"https://sustainability.stackexchange.com/questions/246",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/146/"
] | This is not a problem if you use a basin to wash dishes. As I soap dishes it goes in an empty basin in one half the sink. I rinse the dishes in the basin one at a time and put in rack. As I do so the basin fills up with the soapy rinse water. I have a full basin at the end of the wash. I can use this water to wash a kitchen rag to wipe down counters and/or I can use this water to rinse off another load of dirty dishes and/or I can use this water to rinse out recyclable containers like the above-mentioned peanut butter jar. Then this water I pour into a greywater bucket to water plants outside. So this potable water has potentially five uses: rinsing, washing rag, rinsing dirty dishes, rinsing dirty recyclable containers, watering outdoor plants. | In areas with commingled recycling, one of the arguments made for washing plastic and metal containers is contamination of paper and cardboard in the bin. One leaking unwashed can could taint the entirety of the paper and cardboard in the bin, making it unsuitable for recycling, plus the resulting mess may lead to things sticking together, making the automated sorting not work. |
73,493 | I have a PEM file used only for automatic builds and tests on amazon.
My project is open source and I am keeping all information on github. If the information is sensitive, I encrypt it and still keep it on github.
Should I encrypt the pem file used for the automatic build and tests? What is the threat in case I don't? | 2014/11/23 | [
"https://security.stackexchange.com/questions/73493",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/54625/"
] | You're confusing ports, services, vulnerabilities, and exploits. So here is an analogy based on a house. You have a house (server) on a street. That house has three doors (ports), which lead to different places (services). Just because you have doors (ports), doesn't mean someone is going to walk in and steal your jewelry. Ports are opened because a service needs them to be opened for interconnection between a client, and a server. Not all services are vulnerable, and even those that are vulnerable, aren't exploitable.
For example, in the house analogy, having a door **is a** vulnerability however, having a door which leads to say another locked door in a foyer removes the exploitability of a thief getting ahold of your jewelry. There can be other parameters: A thief **GETS IN** the door, but is now trapped in a foyer, and also staring down a vicious dog (honeypot, jailed environment). Get the picture?
If you're concerned about running a webserver, spend some time looking at the versions of software you're going to use, then look for exploits, and or vulnerabilities at NIST using a [CVE search](https://web.nvd.nist.gov/view/vuln/search). Otherwise the approach you are taking is wrong. Just because you have a house with windows, doesn't mean someone is going to, or can break them, walking away with the keys to the kingdom like [Ocean's Eleven](http://www.imdb.com/title/tt0240772/) | You would need to audit the security of the services running on the ports to have a good idea how exploitable you are. Even then, your typical vulnerability scanner will only make suggestions based on what versions of what services you may be running. The vectorability is something which can be audited, but generally speaking is best left to professionals these days.
Depending on what the server is going to do, there are a number of companies out there that provide audits at varying levels of cost. If you're not a commercial project as of yet, Nessus has a community edition that can get you going on the automated route.
A reasonable system administrator assumes he/she is always compromised and approaches their security under that assumption. |
331,355 | I need a 2d political map of the world on which I will draw icons, text, and lines that move around. Users will interact with the map, placing and moving the icons, and they will zoom in and out of the map.
The Google Maps interface isn't very far from what I need, but this is NOT web related; it's a Windows MFC application and I want to talk to a C++ API for a map that lives in the application, not a web interface. Ideally I don't want a separate server, either, and any server MUST run locally (not on the Internet). What canned map package or graphics library should I use to do this? I have no graphics programming experience.
This is strictly 2D, so I don't think something like Google Earth or WorldWind would be appropriate. Good vector graphics support would be cool, and easy drawing of bitmaps is important.
All the canned options seem web oriented. SDL is about all I know of for flexible canvas programming, but it seems like making my own map would be a lot of work for what is probably a common problem. Is there anything higher level? Maybe there's a way to interact with an adobe Flash object? I'm fairly clueless. | 2008/12/01 | [
"https://Stackoverflow.com/questions/331355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16161/"
] | Perhaps:
<http://www.codeplex.com/SharpMap>
ESRI MapObjects
<http://www.esri.com/software/mapobjects/index.html>
ESRI MapObjects LT
<http://www.esri.com/software/mapobjectslt/index.html>
See
<http://www.esri.com/software/mapobjectslt/about/mo_vs_lt.html>
for a comparison of the two MapObjects feature sets.
ESRI may have a replacement to the MapObjects libraries | You could extend your search by using the term GIS (Geographic Information System). I'm sure its gonna be easier. There's a lot of stuff out there on that subject.
Here's a page I found: <http://www.ucancode.net/Gis-Source-Code.htm>
or: <http://opensourcegis.org/> |
331,355 | I need a 2d political map of the world on which I will draw icons, text, and lines that move around. Users will interact with the map, placing and moving the icons, and they will zoom in and out of the map.
The Google Maps interface isn't very far from what I need, but this is NOT web related; it's a Windows MFC application and I want to talk to a C++ API for a map that lives in the application, not a web interface. Ideally I don't want a separate server, either, and any server MUST run locally (not on the Internet). What canned map package or graphics library should I use to do this? I have no graphics programming experience.
This is strictly 2D, so I don't think something like Google Earth or WorldWind would be appropriate. Good vector graphics support would be cool, and easy drawing of bitmaps is important.
All the canned options seem web oriented. SDL is about all I know of for flexible canvas programming, but it seems like making my own map would be a lot of work for what is probably a common problem. Is there anything higher level? Maybe there's a way to interact with an adobe Flash object? I'm fairly clueless. | 2008/12/01 | [
"https://Stackoverflow.com/questions/331355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16161/"
] | You could extend your search by using the term GIS (Geographic Information System). I'm sure its gonna be easier. There's a lot of stuff out there on that subject.
Here's a page I found: <http://www.ucancode.net/Gis-Source-Code.htm>
or: <http://opensourcegis.org/> | Yes, Marble has also the advantage that it provides kind of a ready made solution in a single control (called "widget" in Qt's technical terms).
The dependency on Qt (which is the only dependency btw.) might also be seen as an advantage: Qt's upcoming version is licensed under the LGPL, so even if you plan to use this in a proprietary application then there shouldn't be any real worries. And of course Qt and Marble are cross-plattform and provide an API that is very intuitive and easy to understand. Unlike common GIS solutions the Marble API and the usage of the widget is rather focused on people who don't know much about GIS. So its usage is quite easy to understand even if you feel scared by technical terms used in GIS.
Marble offers several interfaces to programming:
You can either create your own Marble plugins and paint inside those or you can subclass the MarbleWidget control. For a simple HelloWorld application see:
<http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus> |
331,355 | I need a 2d political map of the world on which I will draw icons, text, and lines that move around. Users will interact with the map, placing and moving the icons, and they will zoom in and out of the map.
The Google Maps interface isn't very far from what I need, but this is NOT web related; it's a Windows MFC application and I want to talk to a C++ API for a map that lives in the application, not a web interface. Ideally I don't want a separate server, either, and any server MUST run locally (not on the Internet). What canned map package or graphics library should I use to do this? I have no graphics programming experience.
This is strictly 2D, so I don't think something like Google Earth or WorldWind would be appropriate. Good vector graphics support would be cool, and easy drawing of bitmaps is important.
All the canned options seem web oriented. SDL is about all I know of for flexible canvas programming, but it seems like making my own map would be a lot of work for what is probably a common problem. Is there anything higher level? Maybe there's a way to interact with an adobe Flash object? I'm fairly clueless. | 2008/12/01 | [
"https://Stackoverflow.com/questions/331355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16161/"
] | Perhaps:
<http://www.codeplex.com/SharpMap>
ESRI MapObjects
<http://www.esri.com/software/mapobjects/index.html>
ESRI MapObjects LT
<http://www.esri.com/software/mapobjectslt/index.html>
See
<http://www.esri.com/software/mapobjectslt/about/mo_vs_lt.html>
for a comparison of the two MapObjects feature sets.
ESRI may have a replacement to the MapObjects libraries | You might want to try the [Mapnik C++/Python GIS Toolkit](http://www.mapnik.org/).
You can take a look at the [Marble Widget](http://edu.kde.org/marble/#developers), which is part of KDE's Marble project. There are Windows binaries for this, too, but they might be dependent on Qt. |
331,355 | I need a 2d political map of the world on which I will draw icons, text, and lines that move around. Users will interact with the map, placing and moving the icons, and they will zoom in and out of the map.
The Google Maps interface isn't very far from what I need, but this is NOT web related; it's a Windows MFC application and I want to talk to a C++ API for a map that lives in the application, not a web interface. Ideally I don't want a separate server, either, and any server MUST run locally (not on the Internet). What canned map package or graphics library should I use to do this? I have no graphics programming experience.
This is strictly 2D, so I don't think something like Google Earth or WorldWind would be appropriate. Good vector graphics support would be cool, and easy drawing of bitmaps is important.
All the canned options seem web oriented. SDL is about all I know of for flexible canvas programming, but it seems like making my own map would be a lot of work for what is probably a common problem. Is there anything higher level? Maybe there's a way to interact with an adobe Flash object? I'm fairly clueless. | 2008/12/01 | [
"https://Stackoverflow.com/questions/331355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16161/"
] | Perhaps:
<http://www.codeplex.com/SharpMap>
ESRI MapObjects
<http://www.esri.com/software/mapobjects/index.html>
ESRI MapObjects LT
<http://www.esri.com/software/mapobjectslt/index.html>
See
<http://www.esri.com/software/mapobjectslt/about/mo_vs_lt.html>
for a comparison of the two MapObjects feature sets.
ESRI may have a replacement to the MapObjects libraries | Yes, Marble has also the advantage that it provides kind of a ready made solution in a single control (called "widget" in Qt's technical terms).
The dependency on Qt (which is the only dependency btw.) might also be seen as an advantage: Qt's upcoming version is licensed under the LGPL, so even if you plan to use this in a proprietary application then there shouldn't be any real worries. And of course Qt and Marble are cross-plattform and provide an API that is very intuitive and easy to understand. Unlike common GIS solutions the Marble API and the usage of the widget is rather focused on people who don't know much about GIS. So its usage is quite easy to understand even if you feel scared by technical terms used in GIS.
Marble offers several interfaces to programming:
You can either create your own Marble plugins and paint inside those or you can subclass the MarbleWidget control. For a simple HelloWorld application see:
<http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus> |
331,355 | I need a 2d political map of the world on which I will draw icons, text, and lines that move around. Users will interact with the map, placing and moving the icons, and they will zoom in and out of the map.
The Google Maps interface isn't very far from what I need, but this is NOT web related; it's a Windows MFC application and I want to talk to a C++ API for a map that lives in the application, not a web interface. Ideally I don't want a separate server, either, and any server MUST run locally (not on the Internet). What canned map package or graphics library should I use to do this? I have no graphics programming experience.
This is strictly 2D, so I don't think something like Google Earth or WorldWind would be appropriate. Good vector graphics support would be cool, and easy drawing of bitmaps is important.
All the canned options seem web oriented. SDL is about all I know of for flexible canvas programming, but it seems like making my own map would be a lot of work for what is probably a common problem. Is there anything higher level? Maybe there's a way to interact with an adobe Flash object? I'm fairly clueless. | 2008/12/01 | [
"https://Stackoverflow.com/questions/331355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16161/"
] | You might want to try the [Mapnik C++/Python GIS Toolkit](http://www.mapnik.org/).
You can take a look at the [Marble Widget](http://edu.kde.org/marble/#developers), which is part of KDE's Marble project. There are Windows binaries for this, too, but they might be dependent on Qt. | Yes, Marble has also the advantage that it provides kind of a ready made solution in a single control (called "widget" in Qt's technical terms).
The dependency on Qt (which is the only dependency btw.) might also be seen as an advantage: Qt's upcoming version is licensed under the LGPL, so even if you plan to use this in a proprietary application then there shouldn't be any real worries. And of course Qt and Marble are cross-plattform and provide an API that is very intuitive and easy to understand. Unlike common GIS solutions the Marble API and the usage of the widget is rather focused on people who don't know much about GIS. So its usage is quite easy to understand even if you feel scared by technical terms used in GIS.
Marble offers several interfaces to programming:
You can either create your own Marble plugins and paint inside those or you can subclass the MarbleWidget control. For a simple HelloWorld application see:
<http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus> |
15,290,295 | I was wondering what the best way would be to create a user alert system with a node.js and mongoDB implementation.
Would you still have to get the client side to poll the server side and check if there are any new updates to display to the user? (For example, new messages)
Or is there an efficient way for db changes to filter down to the UI, as they happen? I am just starting out with learning node and I cannot find an answer online.
Any explanation of this would be great.
Thank you. | 2013/03/08 | [
"https://Stackoverflow.com/questions/15290295",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1809386/"
] | For an alert system, I would use the following three components:
* [Tailable cursors](http://docs.mongodb.org/manual/tutorial/create-tailable-cursor/)
* [Capped collections](http://docs.mongodb.org/manual/core/capped-collections/)
* [Socket.io](http://socket.io/)
The capped collection would hold all the notifications (i.e. new notification are just added to the capped collection, the capped collection has the added advantage that old messages are automatically deleted), the tailable cursor would be kept open and continuously return any new messages and socket.io would be able to handle notifying the client without any effort. | It sounds to me the solution you're looking for is here: <https://gist.github.com/scttnlsn/3210919> |
24,895 | There are many letters and numbers printed on the vertical stabilizer of US military aircraft. They identify the plane's design and purpose.
What are those letters and the meanings?
[](https://i.stack.imgur.com/lezP2.jpg) | 2016/02/03 | [
"https://aviation.stackexchange.com/questions/24895",
"https://aviation.stackexchange.com",
"https://aviation.stackexchange.com/users/12207/"
] | The number on the vertical tail is the aircraft serial number, not the type designation. Here the serial number is AF 41 823. The '4' is the last digit of the finacial year in which money was allocated to manufacture the aircraft and the remaining 4 digits represent the sequence number indicating the sequential order in which the particular aircraft was ordered within that particular financial year.
From [USAF serials](http://www.joebaugher.com/usaf_serials/usafserials.html):
>
> Starting on July 1, 1921 (the beginning of FY 1922) a new serial number system was adopted based on procurement within each Fiscal Year. Each serial number now consisted of a base number corresponding to the last two digits of the FY in which money was allocated to manufacture the aircraft, and a sequence number indicating the sequential order in which the particular aircraft was ordered within that particular FY. For example, airplane 22-1 was the first aircraft ordered in FY 1922, 23-1 was the first example ordered in FY 1923, etc. This system is still in use today.
>
>
>
Apparently, USAF decided to have five digits in its tail number in 1958. This resulted in the cutting of first digit of the financial year.
>
> Camouflage began to reappear on USAF aircraft during the Vietnam War, and this led to a change in tail number presentation. The letters "AF" were added directly above the last two digits of the fiscal year, followed by the last three digits of the sequence number. The three-digit sequence number has a height of the AF and fiscal year letters combined and is sometimes called the "large" component of the tail number. For example, F-4E serial number 67-0288 had the tail number 67(small) 288 (large). This could of course lead to confusion, since aircraft 67-1288, 67-2288, etc would have exactly the same tail numbers as 67-0288 under this scheme. This would not ordinary cause a whole lot of difficulty unless of course some of these larger serial numbers also happened to be F-4Es (which they were not). Unfortunately, the system was not always consistent--for example F-4D serial number 66-0234 had a tail number that looks like this: 60(small) 234(large).
>
>
>
So, '4' represents the second digit of the finacial year, and 1823 gives the sequential number. The aircraft appears to be a [F-100 Super Sabre](https://en.wikipedia.org/wiki/North_American_F-100_Super_Sabre). From [f-100.org](http://www.f-100.org/hun001.shtml), the actual serial number appears to be 54-1862, a F-100C-20-NA model. | They are tail codes and indicate the unit(s) the aircraft are assigned to.
In general the Air National Guard units will use their state's two-letter abbreviation. Others will use something related to the base name (EG for Eglin AFB) or their mission (OT for operational test).
This [Wiki](https://en.wikipedia.org/wiki/Tail_code) provides some data.
An up to date list is available in the Air Force Magazine's annual AF Almanac (June 2017). You can access it online at [Air Force Magazine](http://airforcemag.com/Pages/HomePage.aspx). (Free. Registration required.) |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | To answer the question "are they worthwhile?", you need to explore:
* How expensive (in terms of time and money) are they to create, maintain, and execute?
* What value are these tests providing? Are they finding bugs? Providing confidence?
* Are there other, less expensive, ways to provide similar value?
I once worked at a software company which built desktop tools used by large-enterprise DBAs. We had an intern whose responsibility it was to thoroughly examine the UI and measure it against our standards for UI object size, placement, spacing, font selection, etc. He basically performed all of the steps you indicated, and more. We were eventually able to automate some of that (it was in the early days of test automation), but not all.
In some shops it would have not been a worthwhile exercise. In ours, it was considered money well spent. For my company, complete UI consistency was considered an important attribute for our intended market. | Answering your question requires knowing why you were asked to write those tests. Unlike [solving applied math problems](https://sqa.stackexchange.com/users/346/joshin4colours), we usually do not write automated UI tests for the sheer pleasure or the intellectual challenge. I assume you were asked to write them, in that style, for a reason. If there is a reason to believe the UI is particularly buggy and that it is easier to test the UI automatically than manually, it may make sense to write them.
Sometimes testers resort to automatic UI testing for the wrong reasons. The reasoning usually goes something like this: the UI is ultimately the interface the user will interact with, bugs in the business logic will not necessarily be triggered by how the UI uses it, and when you test the UI, you test the business logic at the same time. However, a well-architected application will separate the UI from the business logic. It is usually better to use API-level tests for the business logic; the tests will be faster and better able to take advantage of API-level diagnostics that are not available in the UI. They will also be insulated from UI changes (although of course they will not be insulated from API changes).
You have been in SQA for a while, so I suspect you already know this, but I will mention it for completeness. A line of reasoning promoted by some tool vendors and UI automation evangelists goes like this: automation is hard because it requires programming, but these days there are great capture/playback tools that enable creating automated UI test suites quickly with a minimum of programming knowledge. You did not say what kind of technology you would use to write those tests, but if you are considering using capture/playback, you may want to read [some other questions on that subject](https://sqa.stackexchange.com/search?q=capture%20playback) in this forum. |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | Answering your question requires knowing why you were asked to write those tests. Unlike [solving applied math problems](https://sqa.stackexchange.com/users/346/joshin4colours), we usually do not write automated UI tests for the sheer pleasure or the intellectual challenge. I assume you were asked to write them, in that style, for a reason. If there is a reason to believe the UI is particularly buggy and that it is easier to test the UI automatically than manually, it may make sense to write them.
Sometimes testers resort to automatic UI testing for the wrong reasons. The reasoning usually goes something like this: the UI is ultimately the interface the user will interact with, bugs in the business logic will not necessarily be triggered by how the UI uses it, and when you test the UI, you test the business logic at the same time. However, a well-architected application will separate the UI from the business logic. It is usually better to use API-level tests for the business logic; the tests will be faster and better able to take advantage of API-level diagnostics that are not available in the UI. They will also be insulated from UI changes (although of course they will not be insulated from API changes).
You have been in SQA for a while, so I suspect you already know this, but I will mention it for completeness. A line of reasoning promoted by some tool vendors and UI automation evangelists goes like this: automation is hard because it requires programming, but these days there are great capture/playback tools that enable creating automated UI test suites quickly with a minimum of programming knowledge. You did not say what kind of technology you would use to write those tests, but if you are considering using capture/playback, you may want to read [some other questions on that subject](https://sqa.stackexchange.com/search?q=capture%20playback) in this forum. | IMHO, no.
Here's why:
1. Depending upon your UI, cost of implementing will probably be high. Don't forget to sum the cost of maintaining it when your UI changes in the next release and so on. This itself should warrant second thoughts.
2. UI tests can be flaky. In my experience accuracy of UI test cases is pretty low. I'd imagine this to get worse with brute forcing.
3. If you have 10 elements are there going to be 10! iterations?!
4. Time and resources required to execute these TCs and then investigate failures might outweigh the benefits.
5. If you do implement and execute something like this, will you be 100% sure that your UI is near perfect? :-) I guess not. There's your answer.
Hope that helps. |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | Answering your question requires knowing why you were asked to write those tests. Unlike [solving applied math problems](https://sqa.stackexchange.com/users/346/joshin4colours), we usually do not write automated UI tests for the sheer pleasure or the intellectual challenge. I assume you were asked to write them, in that style, for a reason. If there is a reason to believe the UI is particularly buggy and that it is easier to test the UI automatically than manually, it may make sense to write them.
Sometimes testers resort to automatic UI testing for the wrong reasons. The reasoning usually goes something like this: the UI is ultimately the interface the user will interact with, bugs in the business logic will not necessarily be triggered by how the UI uses it, and when you test the UI, you test the business logic at the same time. However, a well-architected application will separate the UI from the business logic. It is usually better to use API-level tests for the business logic; the tests will be faster and better able to take advantage of API-level diagnostics that are not available in the UI. They will also be insulated from UI changes (although of course they will not be insulated from API changes).
You have been in SQA for a while, so I suspect you already know this, but I will mention it for completeness. A line of reasoning promoted by some tool vendors and UI automation evangelists goes like this: automation is hard because it requires programming, but these days there are great capture/playback tools that enable creating automated UI test suites quickly with a minimum of programming knowledge. You did not say what kind of technology you would use to write those tests, but if you are considering using capture/playback, you may want to read [some other questions on that subject](https://sqa.stackexchange.com/search?q=capture%20playback) in this forum. | I believe that automated testing scenarios need to be build around real life use cases, so meaningfull testing script should be close to what user typically would do
If in your system it is a typical for a usual user to open all forms and fill all checkboxes, then, yes, otherwise - it is useless. Even if this testing will find some bugs and deelopers will spend some of their time to fix them for a scenario which will never occur, wouldnt it be better for developers to spend this time for creating a new features for their users? |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | To answer the question "are they worthwhile?", you need to explore:
* How expensive (in terms of time and money) are they to create, maintain, and execute?
* What value are these tests providing? Are they finding bugs? Providing confidence?
* Are there other, less expensive, ways to provide similar value?
I once worked at a software company which built desktop tools used by large-enterprise DBAs. We had an intern whose responsibility it was to thoroughly examine the UI and measure it against our standards for UI object size, placement, spacing, font selection, etc. He basically performed all of the steps you indicated, and more. We were eventually able to automate some of that (it was in the early days of test automation), but not all.
In some shops it would have not been a worthwhile exercise. In ours, it was considered money well spent. For my company, complete UI consistency was considered an important attribute for our intended market. | IMHO, no.
Here's why:
1. Depending upon your UI, cost of implementing will probably be high. Don't forget to sum the cost of maintaining it when your UI changes in the next release and so on. This itself should warrant second thoughts.
2. UI tests can be flaky. In my experience accuracy of UI test cases is pretty low. I'd imagine this to get worse with brute forcing.
3. If you have 10 elements are there going to be 10! iterations?!
4. Time and resources required to execute these TCs and then investigate failures might outweigh the benefits.
5. If you do implement and execute something like this, will you be 100% sure that your UI is near perfect? :-) I guess not. There's your answer.
Hope that helps. |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | To answer the question "are they worthwhile?", you need to explore:
* How expensive (in terms of time and money) are they to create, maintain, and execute?
* What value are these tests providing? Are they finding bugs? Providing confidence?
* Are there other, less expensive, ways to provide similar value?
I once worked at a software company which built desktop tools used by large-enterprise DBAs. We had an intern whose responsibility it was to thoroughly examine the UI and measure it against our standards for UI object size, placement, spacing, font selection, etc. He basically performed all of the steps you indicated, and more. We were eventually able to automate some of that (it was in the early days of test automation), but not all.
In some shops it would have not been a worthwhile exercise. In ours, it was considered money well spent. For my company, complete UI consistency was considered an important attribute for our intended market. | I agree with Aniket, this kind of exhaustive UI test is not worth it. Another thing to consider:
Awhile back, I inherited a manual test case plan from someone who left the company. He had been doing things like checking the list sorting behavior in every area of the app. He wasn't a programmer and didn't understand that the code behind the dropdown box for the sorting mechanism was *the same each time*. He was over-testing. This is the kind of thing you'd run into if your test plan called for interacting with every widget possible.
Remember you're doing *functional* testing of the behavior of the application under test, not testing whichever UI framework the developers chose to use. Chances are you'll find any UI-specific bugs when you are executing your functional tests anyway. |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | To answer the question "are they worthwhile?", you need to explore:
* How expensive (in terms of time and money) are they to create, maintain, and execute?
* What value are these tests providing? Are they finding bugs? Providing confidence?
* Are there other, less expensive, ways to provide similar value?
I once worked at a software company which built desktop tools used by large-enterprise DBAs. We had an intern whose responsibility it was to thoroughly examine the UI and measure it against our standards for UI object size, placement, spacing, font selection, etc. He basically performed all of the steps you indicated, and more. We were eventually able to automate some of that (it was in the early days of test automation), but not all.
In some shops it would have not been a worthwhile exercise. In ours, it was considered money well spent. For my company, complete UI consistency was considered an important attribute for our intended market. | I believe that automated testing scenarios need to be build around real life use cases, so meaningfull testing script should be close to what user typically would do
If in your system it is a typical for a usual user to open all forms and fill all checkboxes, then, yes, otherwise - it is useless. Even if this testing will find some bugs and deelopers will spend some of their time to fix them for a scenario which will never occur, wouldnt it be better for developers to spend this time for creating a new features for their users? |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | I agree with Aniket, this kind of exhaustive UI test is not worth it. Another thing to consider:
Awhile back, I inherited a manual test case plan from someone who left the company. He had been doing things like checking the list sorting behavior in every area of the app. He wasn't a programmer and didn't understand that the code behind the dropdown box for the sorting mechanism was *the same each time*. He was over-testing. This is the kind of thing you'd run into if your test plan called for interacting with every widget possible.
Remember you're doing *functional* testing of the behavior of the application under test, not testing whichever UI framework the developers chose to use. Chances are you'll find any UI-specific bugs when you are executing your functional tests anyway. | IMHO, no.
Here's why:
1. Depending upon your UI, cost of implementing will probably be high. Don't forget to sum the cost of maintaining it when your UI changes in the next release and so on. This itself should warrant second thoughts.
2. UI tests can be flaky. In my experience accuracy of UI test cases is pretty low. I'd imagine this to get worse with brute forcing.
3. If you have 10 elements are there going to be 10! iterations?!
4. Time and resources required to execute these TCs and then investigate failures might outweigh the benefits.
5. If you do implement and execute something like this, will you be 100% sure that your UI is near perfect? :-) I guess not. There's your answer.
Hope that helps. |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | IMHO, no.
Here's why:
1. Depending upon your UI, cost of implementing will probably be high. Don't forget to sum the cost of maintaining it when your UI changes in the next release and so on. This itself should warrant second thoughts.
2. UI tests can be flaky. In my experience accuracy of UI test cases is pretty low. I'd imagine this to get worse with brute forcing.
3. If you have 10 elements are there going to be 10! iterations?!
4. Time and resources required to execute these TCs and then investigate failures might outweigh the benefits.
5. If you do implement and execute something like this, will you be 100% sure that your UI is near perfect? :-) I guess not. There's your answer.
Hope that helps. | I believe that automated testing scenarios need to be build around real life use cases, so meaningfull testing script should be close to what user typically would do
If in your system it is a typical for a usual user to open all forms and fill all checkboxes, then, yes, otherwise - it is useless. Even if this testing will find some bugs and deelopers will spend some of their time to fix them for a scenario which will never occur, wouldnt it be better for developers to spend this time for creating a new features for their users? |
2,648 | Lately I've been asked to write some automated GUI tests of the following style:
* Open the application
* Open ALL dialog boxes
* In each dialog check for ...
Are these types of tests worthwhile? What are some benefits of these tests? In some cases they can be very simple to write, but in others they require extensive knowledge of many unrelated parts of an application. As well, they can take a long time to finish, finding issues or not. Sometimes I feel these tests just aren't worth it, but I could be wrong. Any thoughts? | 2012/02/15 | [
"https://sqa.stackexchange.com/questions/2648",
"https://sqa.stackexchange.com",
"https://sqa.stackexchange.com/users/346/"
] | I agree with Aniket, this kind of exhaustive UI test is not worth it. Another thing to consider:
Awhile back, I inherited a manual test case plan from someone who left the company. He had been doing things like checking the list sorting behavior in every area of the app. He wasn't a programmer and didn't understand that the code behind the dropdown box for the sorting mechanism was *the same each time*. He was over-testing. This is the kind of thing you'd run into if your test plan called for interacting with every widget possible.
Remember you're doing *functional* testing of the behavior of the application under test, not testing whichever UI framework the developers chose to use. Chances are you'll find any UI-specific bugs when you are executing your functional tests anyway. | I believe that automated testing scenarios need to be build around real life use cases, so meaningfull testing script should be close to what user typically would do
If in your system it is a typical for a usual user to open all forms and fill all checkboxes, then, yes, otherwise - it is useless. Even if this testing will find some bugs and deelopers will spend some of their time to fix them for a scenario which will never occur, wouldnt it be better for developers to spend this time for creating a new features for their users? |
209,683 | Given the tight guidelines on questions, and the [reason](https://meta.stackexchange.com/a/55891/234193) that many posts are made into community wikis is that the questions may not be the best fit questions. Meta sites are a little different, as there is the option to have discussion.
Is there really a point to having the option of turning questions on the main sites into community wikis?
---
**edit** my question didn't ask it very well, it used one example, but it general to me it seems unclear where there place is on the network atm. | 2013/12/03 | [
"https://meta.stackexchange.com/questions/209683",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/-1/"
] | I've been actually doing a lot of thinking on this very subject. It's part of a potential revamp I've been trying to look into.
Fact is we use Community Wiki for *a lot* of things across the network. And in honesty? Very little of it has to do with "not being the best fit". It actually tends to be more often used for things like doing away with credit (like when copying someone else's answer from another post), when combining the contributions of multiple users, or building up information that isn't available at the time of answer from just a single user. Even the "use it for soft questions" portion is not nearly as large as the contingent where it's used for other reasons.
Now, that we use Community Wiki for these things, among several other uses... it may not be the best tool. My plan is to look into what kind of specific solutions we can do for each of the various things we use Community Wiki for currently. It may still be Community Wiki, it may be something else.
I'd say we still have a place for it. Whether it'll stay in the same shape that it does now, though, I'm hoping not. | Most of the questions that I see where people have asked, "why can't we just turn this into a community wiki post", have generally been questions that hold some marginal benefit to the community yet are so broad that they dilute the site. When community wiki is used to allow broad questions to flourish, it can actually discourage others from asking several, more detailed questions about more specific problems. Since a Stack Exchange site's visits per day metric, and how valuable it is to the world, is determined by the amount of quality content, encouraging folks to ask more detailed questions while also increasing the sheer number of good questions is a win-win for a site's growth and utility.
One example I can think of is the [Common (Project Management) Challenges](https://pm.meta.stackexchange.com/questions/609/common-pm-challenges) on the Project Management SE site, where a user asked for a list of all of the common challenges faced by project managers. Thing is, every question is inherently about some problem faced in the field of project management, so to try to list them all would be incredibly redundant.
While some users did make well-reasoned arguments as to how such a post could be helpful, allowing such a post could potentially pull the legs out from under the many many more detailed questions that could arise out of instead picking a single challenge and then asking a very detailed question about *that* specific problem. In short, posts where answers contain solutions to problems instead of just lists of problems are more valuable.
Instead of keeping the post opened, we closed it, with the goal of *maybe* using it as a table of contents for linking to real, actual problems that highlighted a common challenge listed in the Common PM Challenges post. We never got as far as to actually ask those questions or compile them into a wiki, but that would seem like one good way to possibly use community wiki, but then again, we have tags for organizing content, so even then [community wiki seems like something that is truly dead](https://blog.stackoverflow.com/2011/08/the-future-of-community-wiki/).
In summary, I never use community wiki on the main sites. |
48,029 | I just [came across (pdf)](http://www.uni-potsdam.de/u/eCommerce/Lehre/SS_04/HS_Gesch_ftskonzepte/coopet.pdf) this expression:
>
> A Smith & Wesson beats a straight flush
>
>
>
1. What does it mean?
Is it the idea of winning via unlawful means when losing?
2. Is it a common expression? | 2011/11/11 | [
"https://english.stackexchange.com/questions/48029",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/3080/"
] | It means a gun will beat whatever you have in a poker game.
That is, if you have a pair of twos and the other person has a straight flush, it won't matter. You have a gun, and you can shoot the person.
Basically, the card game is irrelevant. If you have something powerful (gun, or a monopoly, or a dictatorship) then the rules that everyone is playing by do not apply to you. | Its exact meaning depends on the context. If you read the paper you link carefully the meaning is straightforward. It's an idiom of the "Main idea" for "ELEMENT #3: Rules" (page 5):
>
> Many people simply assume the rules of business - both formal and
> informal - are set in stone and are not subject to negotiation. That’s
> incorrect. There’s no reason why you should blindly follow the rules -
> you can change them at any time.
>
>
> But, keep in mind that works both ways. At any time, your competitors,
> customers, suppliers or complementors can change the rules as well.
> They don’t necessarily have to follow the same rules you do.
>
>
> In the marketplace, whichever party has the most power gets to make
> the rules
>
>
>
Thus, in this context it means that in business those with power can opt out of rule following and benefit from it. Or put differently: in business power is such that it allows for benefits by changing or breaking the rules. |
48,029 | I just [came across (pdf)](http://www.uni-potsdam.de/u/eCommerce/Lehre/SS_04/HS_Gesch_ftskonzepte/coopet.pdf) this expression:
>
> A Smith & Wesson beats a straight flush
>
>
>
1. What does it mean?
Is it the idea of winning via unlawful means when losing?
2. Is it a common expression? | 2011/11/11 | [
"https://english.stackexchange.com/questions/48029",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/3080/"
] | It means a gun will beat whatever you have in a poker game.
That is, if you have a pair of twos and the other person has a straight flush, it won't matter. You have a gun, and you can shoot the person.
Basically, the card game is irrelevant. If you have something powerful (gun, or a monopoly, or a dictatorship) then the rules that everyone is playing by do not apply to you. | The straight flush is the highest hand in poker: nothing beats it. The meaning intended here is, from the document itself: "In the marketplace, whichever party has the most power gets to make the rules."
Of course, that is also a prime example of [*argumentum ad baculum*](http://en.wikipedia.org/wiki/Argumentum_ad_baculum). |
48,029 | I just [came across (pdf)](http://www.uni-potsdam.de/u/eCommerce/Lehre/SS_04/HS_Gesch_ftskonzepte/coopet.pdf) this expression:
>
> A Smith & Wesson beats a straight flush
>
>
>
1. What does it mean?
Is it the idea of winning via unlawful means when losing?
2. Is it a common expression? | 2011/11/11 | [
"https://english.stackexchange.com/questions/48029",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/3080/"
] | The straight flush is the highest hand in poker: nothing beats it. The meaning intended here is, from the document itself: "In the marketplace, whichever party has the most power gets to make the rules."
Of course, that is also a prime example of [*argumentum ad baculum*](http://en.wikipedia.org/wiki/Argumentum_ad_baculum). | Its exact meaning depends on the context. If you read the paper you link carefully the meaning is straightforward. It's an idiom of the "Main idea" for "ELEMENT #3: Rules" (page 5):
>
> Many people simply assume the rules of business - both formal and
> informal - are set in stone and are not subject to negotiation. That’s
> incorrect. There’s no reason why you should blindly follow the rules -
> you can change them at any time.
>
>
> But, keep in mind that works both ways. At any time, your competitors,
> customers, suppliers or complementors can change the rules as well.
> They don’t necessarily have to follow the same rules you do.
>
>
> In the marketplace, whichever party has the most power gets to make
> the rules
>
>
>
Thus, in this context it means that in business those with power can opt out of rule following and benefit from it. Or put differently: in business power is such that it allows for benefits by changing or breaking the rules. |
7,230 | So if n is a member of the set of natural numbers, such that n is greater than 1 and lesser than 3, then n=2 necessarily? | 2013/06/13 | [
"https://philosophy.stackexchange.com/questions/7230",
"https://philosophy.stackexchange.com",
"https://philosophy.stackexchange.com/users/3868/"
] | This is more on the lines of commentary on your question, rather than an answer.
If one uses the *usual* natural numbers then yes. But are there other systems of natural numbers?
1. There are non-standard integers: The integers are axiomatically defined by the Peano Axioms. We actually obtain them in a model. The question here is are all such models isomorphic - that is categorial. If we use second-order logic, they are; if first-order then not. But the initial segment of any non-standard integer model is isomorphic to the usual ones. So this doesn't work.
2. We could use topos rather than semantics for the PA axioms, this means the axioms are interpreted in a topos. This means that the topos must have a Natural Number Object. Whether there is a topos, within which the condition you specify fails, is for me, an open question. | Yes, if "natural numbers" is the commonly agreed on term from arithmetic. When there is no other possibility, there can only be the distinct, unqualified answer. |
92,615 | I'm giving each of my users an unique Blocktrail wallet that is protected by two API keys (which the server knows) and one passphrase (unique to each wallet).
I want the wallet's passphrase to be unavailable to anyone but the logged-in user (session persistent), so that nobody, even server administrators, can look at the wallet's password and make transactions from the wallet.
I'm already encrypting user account passwords with bcrypt.
**This is what I would ideally like to implement:**
* A passphrase that only a logged in user "has access" to. (Not directly, but through their session).
* That the passphrase is available for when the user decides to make a
transaction from within the client UI (the passphrase is needed in
order to make transactions), but that the user isn't required to type
in a second password or type in their account's password every time.
* That nobody is able to know what the passphrase is for any specific
user, not server admins looking at databases/server sessions, not hackers breaking
into the server and writing scripts that leak the passphrase, not
myself.
Is this possible at all? My guess is that I'd have to somehow derive a hash, perhaps, of the user password before encrypting it with bcrypt, use that as the passphrase and store that in the session, or probably in a cookie (with additional security?). But then again, administrators sneak-peaking at the server can look at whatever is stored in each session, retrieve the passphrase, and steal the bitcoins, right? And also, I think that storing a hashed password client side wouldn't be such a good idea.
I'm really new to security, so I have no clue as to what would be the best approach for this. Or perhaps I am being too paranoid, and should just use the bcrypted password or a random string (stored in a database) as the wallet's passphrase? (Considering two API keys are also required).
I'm just looking for a hint in the right direction, since I don't even know if what I want is even achievable. Thanks. | 2015/06/29 | [
"https://security.stackexchange.com/questions/92615",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/79567/"
] | >
> I want the wallet's passphrase to be unavailable to anyone but the logged-in user (session persistent), so that nobody, even server administrators, can look at the wallet's password and make transactions from the wallet.
>
>
> * That nobody is able to know what the passphrase is for any specific user, not server admins looking at databases/server sessions, not hackers breaking into the server and writing scripts that leak the passphrase, not myself.
>
>
>
While you can protect this against storage, an **Administrator can put in some extra logging to capture this information**. There's nothing you can do about that, except store the secret on the Client as [@Ethan suggested](https://security.stackexchange.com/questions/92615/how-to-securely-derive-a-second-password-specific-to-an-user#comment162324_92615). (which could be better or worse for security depending on who your clients are)
I'm going to answer with the **assumption that you decided that the server needs access to the secret directly**. (in which case also storing on the client would be pointless)
**You can prevent plain storage server-side**, assuming no malicious logging has been installed.
>
> I'm already encrypting user account passwords with bcrypt.
>
>
>
Encryption is reversible with the key. Hashes are one-way. **BCrypt is a hash, not encryption.** (and that's a good thing)
**Make sure you have a strong work factor.** It should take at least 100ms (with appropriate DoS protection) to calculate the BCrypt hash. Note that attacker's hardware (should the hash be stolen) will probably calculate these hashes much more quickly when they try to brute-force.
>
> A passphrase that only a logged in user "has access" to. (Not directly, but through their session).
>
>
>
When the user logs in, the server will have the information needed to decrypt the secret.
>
> isn't required to type in a second password or type in their account's password every time.
>
>
>
There is going to be some password that decrypts the secret initially. This can either be the first password they use to log in, or a 'special' password if you prefer. After that, the secret will be continuously available as a part of the login session.
>
> Is this possible at all?
>
>
>
Good question. The answer is Yes, I've outlined how this can be done in the below question. Basically you just need to derive encryption keys from the user's password, and then from the session token. Both of these should be hashed (not just the password) so that the attacker cannot access the original text from which the encryption key was derived. The Session Token should have enough entropy so that you can use a Fast Hash.
Once you have the encryption key management worked out, you can just store the **encrypted secret** on the server.
[How can we serve sensitive encrypted data without storing the key? Should I use user-defined passwords for keys?](https://security.stackexchange.com/questions/129776/how-can-we-serve-sensitive-encrypted-data-without-storing-the-key-should-i-use)
Except, in your case, instead of serving the encrypted data, you'll just be using it internally on the server.
Please read this over, and post a new question or comment if you don't understand how it can apply to your situation.
And of course, make sure your application is secure from attackers (non-admins) to begin with. That is the most important thing. | I hope I'm understanding the question correctly, but why not hash the passphrase with SHA-256 and store the result in a db. There is no encryption key so you can't reverse it and if somebody gets there hands on the hash and submit it it will be hashed again and rendered invalid. |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | **SME** (standing for **Small or Medium Enterprise**) has become the dominant term in my region and industry. [This Wikipedia article](http://en.wikipedia.org/wiki/Small_and_medium-sized_enterprises) suggests it might be more common in the EU than elsewhere.
**Entrepreneur** might be more what you're looking for - but, for example, someone who inherited and is happily running a family business might not self-identify as an entrepreneur.
Like everyone else (and as a small business owner myself), I don't think there's anything negative about the word "small". In fact here in the UK there are tax advantages to being counted as "small" - so personally, I'm quite keen to hang onto the label! | You can always say he is **a microentrepreneur**. [(one who operates a microenterprise)](http://www.yourdictionary.com/microentrepreneur)
>
> -In general, a microenterprise is considered a small business employing 10 people or less, and have a capital asset of less than PhP 3,000,000. Internationally, most microenterprises are family businesses employing one or two persons. These microentrepreneurs operate microenterprises by choice. Most microenterprise owners are primarily interested in earning a living to support themselves and their families. They only grow the business when something in their lives changes and they need to generate a larger income. According to information found on the Census.gov website,[1] microenterprises make up 95% of the 28 million US companies tracked by the census. Microenterprise is a common aspect in business communities everywhere. [Wikipedia](http://en.wikipedia.org/wiki/Micro-enterprise)
>
>
> |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | The sole owner of a small business could be called a [proprietor](http://www.oxforddictionaries.com/definition/english/proprietor). | You can always say he is **a microentrepreneur**. [(one who operates a microenterprise)](http://www.yourdictionary.com/microentrepreneur)
>
> -In general, a microenterprise is considered a small business employing 10 people or less, and have a capital asset of less than PhP 3,000,000. Internationally, most microenterprises are family businesses employing one or two persons. These microentrepreneurs operate microenterprises by choice. Most microenterprise owners are primarily interested in earning a living to support themselves and their families. They only grow the business when something in their lives changes and they need to generate a larger income. According to information found on the Census.gov website,[1] microenterprises make up 95% of the 28 million US companies tracked by the census. Microenterprise is a common aspect in business communities everywhere. [Wikipedia](http://en.wikipedia.org/wiki/Micro-enterprise)
>
>
> |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | Believe me ([or google](http://www.allbusiness.com/barrons_dictionary/dictionary-small-business-4958706-1.html)), **small business owners** play a disproportionately **important** role in innovation as well as in the economic and employment growth.
Since "small business"is a industry standard, this "*small*" carries **positive** connotations (and is BIG on tax saving).
>
> **Small business**: Designation for firms of a certain size which fall
> below certain criteria (that varies from country to country) in terms
> of annual turnover, number of employees, total value of assets.
>
>
> | You can always say he is **a microentrepreneur**. [(one who operates a microenterprise)](http://www.yourdictionary.com/microentrepreneur)
>
> -In general, a microenterprise is considered a small business employing 10 people or less, and have a capital asset of less than PhP 3,000,000. Internationally, most microenterprises are family businesses employing one or two persons. These microentrepreneurs operate microenterprises by choice. Most microenterprise owners are primarily interested in earning a living to support themselves and their families. They only grow the business when something in their lives changes and they need to generate a larger income. According to information found on the Census.gov website,[1] microenterprises make up 95% of the 28 million US companies tracked by the census. Microenterprise is a common aspect in business communities everywhere. [Wikipedia](http://en.wikipedia.org/wiki/Micro-enterprise)
>
>
> |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | **SME** (standing for **Small or Medium Enterprise**) has become the dominant term in my region and industry. [This Wikipedia article](http://en.wikipedia.org/wiki/Small_and_medium-sized_enterprises) suggests it might be more common in the EU than elsewhere.
**Entrepreneur** might be more what you're looking for - but, for example, someone who inherited and is happily running a family business might not self-identify as an entrepreneur.
Like everyone else (and as a small business owner myself), I don't think there's anything negative about the word "small". In fact here in the UK there are tax advantages to being counted as "small" - so personally, I'm quite keen to hang onto the label! | Believe me ([or google](http://www.allbusiness.com/barrons_dictionary/dictionary-small-business-4958706-1.html)), **small business owners** play a disproportionately **important** role in innovation as well as in the economic and employment growth.
Since "small business"is a industry standard, this "*small*" carries **positive** connotations (and is BIG on tax saving).
>
> **Small business**: Designation for firms of a certain size which fall
> below certain criteria (that varies from country to country) in terms
> of annual turnover, number of employees, total value of assets.
>
>
> |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | **SME** (standing for **Small or Medium Enterprise**) has become the dominant term in my region and industry. [This Wikipedia article](http://en.wikipedia.org/wiki/Small_and_medium-sized_enterprises) suggests it might be more common in the EU than elsewhere.
**Entrepreneur** might be more what you're looking for - but, for example, someone who inherited and is happily running a family business might not self-identify as an entrepreneur.
Like everyone else (and as a small business owner myself), I don't think there's anything negative about the word "small". In fact here in the UK there are tax advantages to being counted as "small" - so personally, I'm quite keen to hang onto the label! | I suggest two more positive ones, at least IMO: *{**developing**|**aspiring**} business owner*. |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | The sole owner of a small business could be called a [proprietor](http://www.oxforddictionaries.com/definition/english/proprietor). | Believe me ([or google](http://www.allbusiness.com/barrons_dictionary/dictionary-small-business-4958706-1.html)), **small business owners** play a disproportionately **important** role in innovation as well as in the economic and employment growth.
Since "small business"is a industry standard, this "*small*" carries **positive** connotations (and is BIG on tax saving).
>
> **Small business**: Designation for firms of a certain size which fall
> below certain criteria (that varies from country to country) in terms
> of annual turnover, number of employees, total value of assets.
>
>
> |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | The sole owner of a small business could be called a [proprietor](http://www.oxforddictionaries.com/definition/english/proprietor). | I suggest two more positive ones, at least IMO: *{**developing**|**aspiring**} business owner*. |
251,910 | What can I call *small business owners* or small businesses without using this miserable word *small*?
I'm trying to find a name for some event, trying to invent a word that will make them appear in a positive way. | 2015/06/11 | [
"https://english.stackexchange.com/questions/251910",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/124980/"
] | Believe me ([or google](http://www.allbusiness.com/barrons_dictionary/dictionary-small-business-4958706-1.html)), **small business owners** play a disproportionately **important** role in innovation as well as in the economic and employment growth.
Since "small business"is a industry standard, this "*small*" carries **positive** connotations (and is BIG on tax saving).
>
> **Small business**: Designation for firms of a certain size which fall
> below certain criteria (that varies from country to country) in terms
> of annual turnover, number of employees, total value of assets.
>
>
> | I suggest two more positive ones, at least IMO: *{**developing**|**aspiring**} business owner*. |
50,903,464 | I am working on customized WP Theme and was on verge of finalization. But all of sudden my laptop got shutdown and then after I got the error message & opted to repair *wp\_options*, which I did and now on trying to upload images I get error :
>
> An error occurred in the upload. Please try again later.
>
>
>
On checking, I found upload folder was READ ONLY - which I changed. Images are getting uploaded to the folder but it does not show in Media Library. I even tried Twenty Seventeen - but no luck.
Please advise.
Thanks in advance,
Vikram | 2018/06/18 | [
"https://Stackoverflow.com/questions/50903464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4106452/"
] | Did you try deactivating and reactivating your plugins one by one to see if there is a conflict from a plugin?
Wordpress returns this error for a number of reasons. To investigate it further, you can do the following:
* In Chrome or Firefox press F12 and go to Network tab.
* Try to upload image again so it triggers the error.
* At the bottom left of Developer Tools/Console find async\_upload.php file name and click it.
* Go to Preview tab. This will show you the error details.
Let us know what error are you seeing so we can attempt to fix it. | I inspected the Source of the page and discovered this below is the error,
DevTools failed to load SourceMap: Could not load content for <https://sfcui.org.ng/wp-content/plugins/wp-user-manager/vendor/htmlburger/carbon-fields/assets/dist/carbon.core.min.js.map>: HTTP error: status code 404, net::ERR\_HTTP\_RESPONSE\_CODE\_FAILURE
The plugin WP User Manager is the one affecting script from loading the ajax request. I deactivated it and I was able to upload. |
17,968 | I have created a grid using the point density function in VM. I would like to crop this image to a region created from buffering a polyline feature set. Is this possible? Alternatively I have used the set clip region tool, however this only hides the rest of the image where I would like to save the cropped region as a new layer/image. | 2011/12/15 | [
"https://gis.stackexchange.com/questions/17968",
"https://gis.stackexchange.com",
"https://gis.stackexchange.com/users/527/"
] | This is possible using Vertical Mapper - which you stated was used to create the grid in the first place. Here is an exerpt from the Vertical Mapper 3.0 Help file:
"The outer margin of any grid file can be trimmed using a predefined polygon created in a Map window. This tool is particularly useful for trimming grid files to a standard map neatline. Only one grid file can be trimmed at a time.
Choose the region that represents the trimming edge. In the Grid Manager, click the Tools button and choose the Trimmer command. In the Save Trimmed Grid As dialogue, type a new file name for the trimmed grid in the File name box. Once the .grd file is created, it appears in a Map window with a default colour palette applied. You can change the colour range assigned to the grid file. For more information, see Using colour in grids."
Alternatively, if you don't have access to Vertical Mapper any more then you can convert the VM GRD file into a MapInfo MIG file using the 'Grid Tools' utility from the Tool Manager, and then use the MIG Crop function available in the MIG Tools utility which can be downloaded here: [MIG Tools](http://www.hsgridder.com/downloads.html) | open layer control and make the top layer (cosmetic layer) editable. Then once you've done the clip, use the save objects in cosmetic layer (I think it is called that).
Let me know how you get on |
84,829 | I've been using my Android phone for typing more lately, and decided to turn on autocorrect to try it out (it was off by default). While it's handy, [as the entirety of the internet already knows](http://www.damnyouautocorrect.com/) it's frustrating to have an autocorrected word change to something completely different, and then have it be a total pain in the ass to try and get it to type what I meant to type.
For example, I was searching for 'Wifi Direct' recently, but it kept being changed to something like 'whifflefart' or something else completely wrong. Tap-holding the autocorrected word didn't give me any options, and I eventually had to type 'direct', move the cursor back, and type 'wifi', so it wouldn't consider the two words as one word. This is the most egregious one, but it's happened fairly frequently, especially for unknown terms.
The solution I'm imagining is having each autocorrected word highlighted similar to how urecognized words are, with the word being squiggly-underlined in blue or green or something. This would help you notice words have been autocorrected so you can check them before sending, and then you could tap-hold the word to get a list of other corrections or have it revert to what you typed.
I've tried to search for an app or utility that does something vaguely like this, but haven't found anything remotely relevant. I'm not really sure what this type of app would be called, though, which hasn't helped in my search... if it even exists in the first place!
I'm using Android 4.1.2, rooted, and the default keyboard.
Thanks for your help! | 2014/10/14 | [
"https://android.stackexchange.com/questions/84829",
"https://android.stackexchange.com",
"https://android.stackexchange.com/users/76251/"
] | Okay my solution was to buy a cheap Samsung JIG from eBay (~2.5€). You can also build one yourself, but I did not have any resistors laying around at the time, so I just chose to buy on already made.
I plugged it into the mobile and after just a few seconds it turned on into download mode.
I then removed the jig, and connected my samsung s3 mini to my computer. I had to install the correct drivers and started odin. I did not find a way to simply boot my device, but I was able to create an emptpy .tar file to flash. I chose this file via the "BL" button in Odin. I made sure "Auto Reboot" was enabled and hit Start. It worked like a charm. Because the tar file I provided was empty it did not actually flash anything, but the device turned on.
I can now turn on the device whenever I need, using the jig and my pc.
One other problem I ran into is: How do I turn the screen off, having no working power button. The Solution: Apps. There are a number of apps out there which enable you to turn off the screen via many different methods. Choose one that fits you best :) | When in download mode, connect it to Odin on your pc. There is the option to automatically reboot after flashing. If you are not able to hit flashing without an archive, try flashing something harmless. |
84,829 | I've been using my Android phone for typing more lately, and decided to turn on autocorrect to try it out (it was off by default). While it's handy, [as the entirety of the internet already knows](http://www.damnyouautocorrect.com/) it's frustrating to have an autocorrected word change to something completely different, and then have it be a total pain in the ass to try and get it to type what I meant to type.
For example, I was searching for 'Wifi Direct' recently, but it kept being changed to something like 'whifflefart' or something else completely wrong. Tap-holding the autocorrected word didn't give me any options, and I eventually had to type 'direct', move the cursor back, and type 'wifi', so it wouldn't consider the two words as one word. This is the most egregious one, but it's happened fairly frequently, especially for unknown terms.
The solution I'm imagining is having each autocorrected word highlighted similar to how urecognized words are, with the word being squiggly-underlined in blue or green or something. This would help you notice words have been autocorrected so you can check them before sending, and then you could tap-hold the word to get a list of other corrections or have it revert to what you typed.
I've tried to search for an app or utility that does something vaguely like this, but haven't found anything remotely relevant. I'm not really sure what this type of app would be called, though, which hasn't helped in my search... if it even exists in the first place!
I'm using Android 4.1.2, rooted, and the default keyboard.
Thanks for your help! | 2014/10/14 | [
"https://android.stackexchange.com/questions/84829",
"https://android.stackexchange.com",
"https://android.stackexchange.com/users/76251/"
] | I had this problem with my Samsumg S3 Mini. The power button is not working and I looked for ways to turn it on all over the internet and nothing worked (didnt try the JIG thing).
Trying different ways, I found one that may work for you too. It works every time, 100%.
First of all I put my phone to charge until it shows the battery icon charging, then you take it off and plug to another charger right away (It doesnt need to be real fast). Then my phone starts normally.
The weird thing is that the charge that makes it turn on does not charge the phone. Don't know if this is just an odd method that works only on my phone, but you can try some variations of this method and it may be helpful for someone. | When in download mode, connect it to Odin on your pc. There is the option to automatically reboot after flashing. If you are not able to hit flashing without an archive, try flashing something harmless. |
84,829 | I've been using my Android phone for typing more lately, and decided to turn on autocorrect to try it out (it was off by default). While it's handy, [as the entirety of the internet already knows](http://www.damnyouautocorrect.com/) it's frustrating to have an autocorrected word change to something completely different, and then have it be a total pain in the ass to try and get it to type what I meant to type.
For example, I was searching for 'Wifi Direct' recently, but it kept being changed to something like 'whifflefart' or something else completely wrong. Tap-holding the autocorrected word didn't give me any options, and I eventually had to type 'direct', move the cursor back, and type 'wifi', so it wouldn't consider the two words as one word. This is the most egregious one, but it's happened fairly frequently, especially for unknown terms.
The solution I'm imagining is having each autocorrected word highlighted similar to how urecognized words are, with the word being squiggly-underlined in blue or green or something. This would help you notice words have been autocorrected so you can check them before sending, and then you could tap-hold the word to get a list of other corrections or have it revert to what you typed.
I've tried to search for an app or utility that does something vaguely like this, but haven't found anything remotely relevant. I'm not really sure what this type of app would be called, though, which hasn't helped in my search... if it even exists in the first place!
I'm using Android 4.1.2, rooted, and the default keyboard.
Thanks for your help! | 2014/10/14 | [
"https://android.stackexchange.com/questions/84829",
"https://android.stackexchange.com",
"https://android.stackexchange.com/users/76251/"
] | Okay my solution was to buy a cheap Samsung JIG from eBay (~2.5€). You can also build one yourself, but I did not have any resistors laying around at the time, so I just chose to buy on already made.
I plugged it into the mobile and after just a few seconds it turned on into download mode.
I then removed the jig, and connected my samsung s3 mini to my computer. I had to install the correct drivers and started odin. I did not find a way to simply boot my device, but I was able to create an emptpy .tar file to flash. I chose this file via the "BL" button in Odin. I made sure "Auto Reboot" was enabled and hit Start. It worked like a charm. Because the tar file I provided was empty it did not actually flash anything, but the device turned on.
I can now turn on the device whenever I need, using the jig and my pc.
One other problem I ran into is: How do I turn the screen off, having no working power button. The Solution: Apps. There are a number of apps out there which enable you to turn off the screen via many different methods. Choose one that fits you best :) | I had this problem with my Samsumg S3 Mini. The power button is not working and I looked for ways to turn it on all over the internet and nothing worked (didnt try the JIG thing).
Trying different ways, I found one that may work for you too. It works every time, 100%.
First of all I put my phone to charge until it shows the battery icon charging, then you take it off and plug to another charger right away (It doesnt need to be real fast). Then my phone starts normally.
The weird thing is that the charge that makes it turn on does not charge the phone. Don't know if this is just an odd method that works only on my phone, but you can try some variations of this method and it may be helpful for someone. |
56,854 | In *La prière d'une vierge*, at the beginning and throughout, there are many octaves to be played in quick succession. The problem is, my hands are still growing, so therefore cannot reach to a certain extent. Is there a way around this? If no, does that mean I have to remove the Note 1 or 8 on the octave chord [1 , 8 ] | 2017/04/26 | [
"https://music.stackexchange.com/questions/56854",
"https://music.stackexchange.com",
"https://music.stackexchange.com/users/36737/"
] | Just roll the octaves until you hands either grow or stretch enough to play them directly. Twelfths are more problematical; these may still need rolling. | Many beginners (especially those of a young age) face this problem.Unfortunately I don't think there is any way around it.
My suggestion is to practice octaves separately. Try practicing octaves in a scale up and down in order to stretch your fingers. There many exercises of this kind and they will help you play songs that require finger stretching.
Also, take note that some songs might not be that easy to play by young people, when their fingers haven't fully developed yet.
Removing the octaves from the chord's isn't something I would strongly recommend, because the song wouldn't be the same *per se*. You can try to see what it sounds like without them, but my suggestion would be to practice some exercises for finger stretching. |
16,066,263 | A [**Basic Block**](http://en.wikipedia.org/wiki/Basic_block) is an assembly snippet with only one entrance point and one exit point (the Wikipedia link also has a more rigorous definition). Many compiler optimization passes rely on the compiler breaking the user's code down into basic blocks before giving them to the optimizer.
I'm curious to know what nonlocal effects can affect performance of a basic block itself. By nonlocal effects I mean how code outside the basic block run before it may affect its running time, or how where the code is laid out in memory may affect it. This is a bit more restrictive than worrying about performance of arbitrary programs with looping, branching, etc.
Off the top of my head cache use by other parts of the program, both memory and instruction cache, seems like the biggest possible nonlocal effect. Also the state of the pipeline setup by previously executed instructions or earlier instructions currently in flight. I'm interested in x86/x86-64 specifically but effects on other architectures seem worth knowing too. Are there other nonlocal effects? | 2013/04/17 | [
"https://Stackoverflow.com/questions/16066263",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50385/"
] | Here's a short list:
* Location of code and data in memory heirarchy
* Cache line effects
* Other threads executing in parallel
* Locks and other synchronization
* Interrupts (from I/O devices or OS trap calls)
* Page faults due to access patterns
* Data access dependencies (same vs. not same memory address)
* Write serialization/coherency
Have fun with these. | If the basic block contains a function call, that's a big unknown. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.