qid
int64
1
74.7M
question
stringlengths
15
58.3k
date
stringlengths
10
10
metadata
list
response_j
stringlengths
4
30.2k
response_k
stringlengths
11
36.5k
2,231,289
Is there a a cfscript equivalent for cffile action="upload" in ColdFusion 9? Looking through the docs, there doesn't seem to be. [Update] This was added in the 9.0.1 update <http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSd160b5fdf5100e8f36f73035129d9e70a92-8000.html>
2010/02/09
[ "https://Stackoverflow.com/questions/2231289", "https://Stackoverflow.com", "https://Stackoverflow.com/users/78869/" ]
You can easily abstract it with a user defined function. ``` <cffunction name="fileuploader"> <cfargument name="formfield" required="yes" hint="form field that contains the uploaded file"> <cfargument name="dest" required="yes" hint="folder to save file. relative to web root"> <cfargument name="conflict" r...
Nope, but it has been requested.
2,231,289
Is there a a cfscript equivalent for cffile action="upload" in ColdFusion 9? Looking through the docs, there doesn't seem to be. [Update] This was added in the 9.0.1 update <http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSd160b5fdf5100e8f36f73035129d9e70a92-8000.html>
2010/02/09
[ "https://Stackoverflow.com/questions/2231289", "https://Stackoverflow.com", "https://Stackoverflow.com/users/78869/" ]
Not sure when this was added but CF does support file uploads in CFSCRIPT. I have been using FileUpload() for a little while. I have checked it is not a function in my MVC framework and def seems to be something unique to CF 9.01. However, Builder 2 does not seem to like it nor can I find reference on CF 9 Docs but it...
Nope, but it has been requested.
2,231,289
Is there a a cfscript equivalent for cffile action="upload" in ColdFusion 9? Looking through the docs, there doesn't seem to be. [Update] This was added in the 9.0.1 update <http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSd160b5fdf5100e8f36f73035129d9e70a92-8000.html>
2010/02/09
[ "https://Stackoverflow.com/questions/2231289", "https://Stackoverflow.com", "https://Stackoverflow.com/users/78869/" ]
You can easily abstract it with a user defined function. ``` <cffunction name="fileuploader"> <cfargument name="formfield" required="yes" hint="form field that contains the uploaded file"> <cfargument name="dest" required="yes" hint="folder to save file. relative to web root"> <cfargument name="conflict" r...
Not sure when this was added but CF does support file uploads in CFSCRIPT. I have been using FileUpload() for a little while. I have checked it is not a function in my MVC framework and def seems to be something unique to CF 9.01. However, Builder 2 does not seem to like it nor can I find reference on CF 9 Docs but it...
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Droid are absolutely hackable in the Star Wars Universe, especially by other droids. It's a difficult process, and not possible to do remotely (without very specialized hardware on both ends), but it can be done. The seventh book of the X-Wing Series, [Solo Command](http://starwars.wikia.com/wiki/X-Wing%3a_Solo_Comman...
Back when Decipher had the license to produce a SW CCG, they made the following cards: > > [4-LOM](https://rads.stackoverflow.com/amzn/click/B00ODCDSN2): **"Overrode and reprogrammed its own self-governing software" > (hacked itself!) to become a bounty hunter.** > > > and > > [U-3PO](http://www.tradingcarddb....
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Droid are absolutely hackable in the Star Wars Universe, especially by other droids. It's a difficult process, and not possible to do remotely (without very specialized hardware on both ends), but it can be done. The seventh book of the X-Wing Series, [Solo Command](http://starwars.wikia.com/wiki/X-Wing%3a_Solo_Comman...
Yes, in Canon also ================== In the **Clone Wars** series, we see a B2 droid which is hacked by the Republic engineers to assist in a covert operation.
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Back when Decipher had the license to produce a SW CCG, they made the following cards: > > [4-LOM](https://rads.stackoverflow.com/amzn/click/B00ODCDSN2): **"Overrode and reprogrammed its own self-governing software" > (hacked itself!) to become a bounty hunter.** > > > and > > [U-3PO](http://www.tradingcarddb....
Yes, in Canon also ================== In the **Clone Wars** series, we see a B2 droid which is hacked by the Republic engineers to assist in a covert operation.
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Yes. * R2D2 was hacked remotely by a Force user ([Irek Ismaren](http://starwars.wikia.com/wiki/Irek_Ismaren)) as depicted in *Children of the Jedi* - who was able to interact with technology by the means of [Subelectronic converter](http://starwars.wikia.com/wiki/Subelectronic_converter), to make R2D2 try and kill Sol...
Back when Decipher had the license to produce a SW CCG, they made the following cards: > > [4-LOM](https://rads.stackoverflow.com/amzn/click/B00ODCDSN2): **"Overrode and reprogrammed its own self-governing software" > (hacked itself!) to become a bounty hunter.** > > > and > > [U-3PO](http://www.tradingcarddb....
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Droid are absolutely hackable in the Star Wars Universe, especially by other droids. It's a difficult process, and not possible to do remotely (without very specialized hardware on both ends), but it can be done. The seventh book of the X-Wing Series, [Solo Command](http://starwars.wikia.com/wiki/X-Wing%3a_Solo_Comman...
In the Disney Canon, you have Star Wars Rebels episode "Double Agent Droid" (S3E18) in which an Imperial Information Officer remotely hacks and takes control of Chopper while Chopper is trying to steal Imperials access codes from an ISB base.
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Nowhere is there any indication of R2D2 and C3P0 having any capability of wireless (rather than through cables with connectors wired to them) access to their systems. And when R2D2 hacks into the Death Star's systems, he does the same, he uses a connector he extends from his body to connect himself to the station's ...
Yes. * R2D2 was hacked remotely by a Force user ([Irek Ismaren](http://starwars.wikia.com/wiki/Irek_Ismaren)) as depicted in *Children of the Jedi* - who was able to interact with technology by the means of [Subelectronic converter](http://starwars.wikia.com/wiki/Subelectronic_converter), to make R2D2 try and kill Sol...
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Nowhere is there any indication of R2D2 and C3P0 having any capability of wireless (rather than through cables with connectors wired to them) access to their systems. And when R2D2 hacks into the Death Star's systems, he does the same, he uses a connector he extends from his body to connect himself to the station's ...
Droid are absolutely hackable in the Star Wars Universe, especially by other droids. It's a difficult process, and not possible to do remotely (without very specialized hardware on both ends), but it can be done. The seventh book of the X-Wing Series, [Solo Command](http://starwars.wikia.com/wiki/X-Wing%3a_Solo_Comman...
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Yes. * R2D2 was hacked remotely by a Force user ([Irek Ismaren](http://starwars.wikia.com/wiki/Irek_Ismaren)) as depicted in *Children of the Jedi* - who was able to interact with technology by the means of [Subelectronic converter](http://starwars.wikia.com/wiki/Subelectronic_converter), to make R2D2 try and kill Sol...
In the Disney Canon, you have Star Wars Rebels episode "Double Agent Droid" (S3E18) in which an Imperial Information Officer remotely hacks and takes control of Chopper while Chopper is trying to steal Imperials access codes from an ISB base.
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
Yes. * R2D2 was hacked remotely by a Force user ([Irek Ismaren](http://starwars.wikia.com/wiki/Irek_Ismaren)) as depicted in *Children of the Jedi* - who was able to interact with technology by the means of [Subelectronic converter](http://starwars.wikia.com/wiki/Subelectronic_converter), to make R2D2 try and kill Sol...
Yes, in Canon also ================== In the **Clone Wars** series, we see a B2 droid which is hacked by the Republic engineers to assist in a covert operation.
37,692
**Are droids hackable in the Star Wars universe?** For example, theoretically, * could an Imperial hacker hack into C3P0's memory (let's say while the poor robot is in pieces in the Cloud City, before Chewie finds and rebuilds "him")? Could said hacker read and possibly alter C3P0's memories? Could he install "subli...
2013/07/03
[ "https://scifi.stackexchange.com/questions/37692", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/472/" ]
In the Disney Canon, you have Star Wars Rebels episode "Double Agent Droid" (S3E18) in which an Imperial Information Officer remotely hacks and takes control of Chopper while Chopper is trying to steal Imperials access codes from an ISB base.
Yes, in Canon also ================== In the **Clone Wars** series, we see a B2 droid which is hacked by the Republic engineers to assist in a covert operation.
61,703,766
I have 2 tables ``` +----+------------+------------+ | id | first_name | date | +----+------------+------------+ | 1 | Bob | 01/01/2019 | +----+------------+------------+ | 2 | June | 01/05/2019 | +----+------------+------------+ ``` and ``` +----+--------+---------+------------+ | id | userID ...
2020/05/09
[ "https://Stackoverflow.com/questions/61703766", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2655012/" ]
For starters the logic of the function is wrong. Usually such a function should return `1` (or a positive value) that corresponds to the logical `true` or `0` that corresponds to the logical `false` when it answers to a question like "yes or no". This call ``` strcmp(string, "OH") ``` returns 0 if two strings are ...
Get the length of the string and check the last two characters. ``` int len = strlen(string); if(string[len-1] == 'H' && string[len-2] =='O') return -1; ```
61,703,766
I have 2 tables ``` +----+------------+------------+ | id | first_name | date | +----+------------+------------+ | 1 | Bob | 01/01/2019 | +----+------------+------------+ | 2 | June | 01/05/2019 | +----+------------+------------+ ``` and ``` +----+--------+---------+------------+ | id | userID ...
2020/05/09
[ "https://Stackoverflow.com/questions/61703766", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2655012/" ]
Your function is too complicated and it returns `0` if the suffix is `OH`. A simpler way is to compute the length of the string and if this length is at least 2, compare the last 2 characters with `'O'` and `'H'`: ```c int hydroxide(const char *string) { size_t len = strlen(string); if (len >= 2 && string[len ...
Get the length of the string and check the last two characters. ``` int len = strlen(string); if(string[len-1] == 'H' && string[len-2] =='O') return -1; ```
61,703,766
I have 2 tables ``` +----+------------+------------+ | id | first_name | date | +----+------------+------------+ | 1 | Bob | 01/01/2019 | +----+------------+------------+ | 2 | June | 01/05/2019 | +----+------------+------------+ ``` and ``` +----+--------+---------+------------+ | id | userID ...
2020/05/09
[ "https://Stackoverflow.com/questions/61703766", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2655012/" ]
For starters the logic of the function is wrong. Usually such a function should return `1` (or a positive value) that corresponds to the logical `true` or `0` that corresponds to the logical `false` when it answers to a question like "yes or no". This call ``` strcmp(string, "OH") ``` returns 0 if two strings are ...
Your function is too complicated and it returns `0` if the suffix is `OH`. A simpler way is to compute the length of the string and if this length is at least 2, compare the last 2 characters with `'O'` and `'H'`: ```c int hydroxide(const char *string) { size_t len = strlen(string); if (len >= 2 && string[len ...
12,259,482
In the Apache CXF `HTTPClientPolicy.setConnectionTimeout()` and `HTTPClientPolicy.setReceiveTimeout()` methods, are the parameters in seconds or milliseconds? It seems trivial, but I can't find the answer anywhere, to begin with the javadoc...
2012/09/04
[ "https://Stackoverflow.com/questions/12259482", "https://Stackoverflow.com", "https://Stackoverflow.com/users/505714/" ]
As I know all web services timeouts is configured in milliseconds, I did not see anywhere that the timeout would be configured in seconds. In your case there is a documentation from `XSD` of: ``` {http://cxf.apache.org/transports/http/configuration}HTTPClientPolicy ``` > > `ConnectionTimeout:` > Specifies the amou...
Ok, I finally found it. These methods take values in milliseconds. I found the answer here: <http://lhein.blogspot.fr/2008/09/apache-cxf-and-time-outs.html?showComment=1328760737362#c5269809084998987761>
12,259,482
In the Apache CXF `HTTPClientPolicy.setConnectionTimeout()` and `HTTPClientPolicy.setReceiveTimeout()` methods, are the parameters in seconds or milliseconds? It seems trivial, but I can't find the answer anywhere, to begin with the javadoc...
2012/09/04
[ "https://Stackoverflow.com/questions/12259482", "https://Stackoverflow.com", "https://Stackoverflow.com/users/505714/" ]
As I know all web services timeouts is configured in milliseconds, I did not see anywhere that the timeout would be configured in seconds. In your case there is a documentation from `XSD` of: ``` {http://cxf.apache.org/transports/http/configuration}HTTPClientPolicy ``` > > `ConnectionTimeout:` > Specifies the amou...
The only hint is that it uses a `long` which in Java is usually in milliseconds, but clearly the unit is not documented anywhere. The method `setConnectionTimeout` should have been named `setConnectionTimeoutMillis` and the JavaDoc should have mentioned this somewhere. Developers should do this whenever a **unit** is ...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
**Q: Do box wings suffer from induced drag the same way as normal wings?** **A: Yes and no.** Box Wing aircraft will suffer from induced drag the same as any aircraft will, if they are heavier-than-air vehicles and are using their wings to fly. Induced drag is a function of finite span loading, and moderated by variou...
**Closed systems (Box Wing is only a particular type of closed wing), C-wings and biwings are actually related as far as the minimization of induced drag is concerned.** If you are interested in technical answers regarding the **induced drag minimization/performance of Box Wings, closed systems, bi-wing systems, and m...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
They're not *free* from induced drag, but the induced drag is greatly diminished, as demonstrated in Prandtl's [NACA paper from 1924](http://naca.central.cranfield.ac.uk/reports/1924/naca-tn-182.pdf) and reported in [this book](http://books.google.de/books?id=wiVsjBsySX8C&pg=PA182&lpg=PA182&dq=prandtl%20paper%201924%20...
**Closed systems (Box Wing is only a particular type of closed wing), C-wings and biwings are actually related as far as the minimization of induced drag is concerned.** If you are interested in technical answers regarding the **induced drag minimization/performance of Box Wings, closed systems, bi-wing systems, and m...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
The box wing is only better when you compare wings with identical span. The two wings of a box wing work in different [Treffz planes](https://ocw.mit.edu/courses/aeronautics-and-astronautics/16-100-aerodynamics-fall-2005/lecture-notes/16100lectre19_cg.pdf), so the downwash is spread out vertically. The difference in in...
Many good points about drag reduction here. Yes, induced drag can be reduced a few percent with a box wing, by diffusing the wing tip vortex. Makes a difference of a few percent, which is significant. About the same as a biplane. The REAL compelling advantage of boxwings is structural. With the wings connected at th...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
Induced drag is generated as energy is lost in the wake. In order to create lift, air needs to be accelerated downwards (F=m\*a). This means that after the aircraft passes, the previous stationary air, now has a downward velocity, so kinetic energy. This is regardless of the method of creating lift, or how many tips th...
**Closed systems (Box Wing is only a particular type of closed wing), C-wings and biwings are actually related as far as the minimization of induced drag is concerned.** If you are interested in technical answers regarding the **induced drag minimization/performance of Box Wings, closed systems, bi-wing systems, and m...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
The box wing is only better when you compare wings with identical span. The two wings of a box wing work in different [Treffz planes](https://ocw.mit.edu/courses/aeronautics-and-astronautics/16-100-aerodynamics-fall-2005/lecture-notes/16100lectre19_cg.pdf), so the downwash is spread out vertically. The difference in in...
**Closed systems (Box Wing is only a particular type of closed wing), C-wings and biwings are actually related as far as the minimization of induced drag is concerned.** If you are interested in technical answers regarding the **induced drag minimization/performance of Box Wings, closed systems, bi-wing systems, and m...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
The box wing is only better when you compare wings with identical span. The two wings of a box wing work in different [Treffz planes](https://ocw.mit.edu/courses/aeronautics-and-astronautics/16-100-aerodynamics-fall-2005/lecture-notes/16100lectre19_cg.pdf), so the downwash is spread out vertically. The difference in in...
The main reason for induced drag is, that the wing accelerates the air above and below it downwards increasing it's kinetic energy and due to law of conservation of energy, it has to take that energy somewhere and the only way is by doing negative work on the aircraft, i.e. inducing drag. The amount of air accelerated...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
The main reason for induced drag is, that the wing accelerates the air above and below it downwards increasing it's kinetic energy and due to law of conservation of energy, it has to take that energy somewhere and the only way is by doing negative work on the aircraft, i.e. inducing drag. The amount of air accelerated...
**Closed systems (Box Wing is only a particular type of closed wing), C-wings and biwings are actually related as far as the minimization of induced drag is concerned.** If you are interested in technical answers regarding the **induced drag minimization/performance of Box Wings, closed systems, bi-wing systems, and m...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
**Q: Do box wings suffer from induced drag the same way as normal wings?** **A: Yes and no.** Box Wing aircraft will suffer from induced drag the same as any aircraft will, if they are heavier-than-air vehicles and are using their wings to fly. Induced drag is a function of finite span loading, and moderated by variou...
The main reason for induced drag is, that the wing accelerates the air above and below it downwards increasing it's kinetic energy and due to law of conservation of energy, it has to take that energy somewhere and the only way is by doing negative work on the aircraft, i.e. inducing drag. The amount of air accelerated...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
The box wing is only better when you compare wings with identical span. The two wings of a box wing work in different [Treffz planes](https://ocw.mit.edu/courses/aeronautics-and-astronautics/16-100-aerodynamics-fall-2005/lecture-notes/16100lectre19_cg.pdf), so the downwash is spread out vertically. The difference in in...
**Q: Do box wings suffer from induced drag the same way as normal wings?** **A: Yes and no.** Box Wing aircraft will suffer from induced drag the same as any aircraft will, if they are heavier-than-air vehicles and are using their wings to fly. Induced drag is a function of finite span loading, and moderated by variou...
3,428
Most wings suffer from induced drag due to a pressure difference above and below the wing causing air to sneak around the tip, forming a vortex. There are various methods to minimize these effects, such as winglets. However, looking at the [Synergy aircraft](http://www.synergyaircraft.com/) as an example, box wings ha...
2014/04/17
[ "https://aviation.stackexchange.com/questions/3428", "https://aviation.stackexchange.com", "https://aviation.stackexchange.com/users/2/" ]
They're not *free* from induced drag, but the induced drag is greatly diminished, as demonstrated in Prandtl's [NACA paper from 1924](http://naca.central.cranfield.ac.uk/reports/1924/naca-tn-182.pdf) and reported in [this book](http://books.google.de/books?id=wiVsjBsySX8C&pg=PA182&lpg=PA182&dq=prandtl%20paper%201924%20...
Induced drag is generated as energy is lost in the wake. In order to create lift, air needs to be accelerated downwards (F=m\*a). This means that after the aircraft passes, the previous stationary air, now has a downward velocity, so kinetic energy. This is regardless of the method of creating lift, or how many tips th...
1,016,491
Hi is any one can help me in below scenario.. I have configured VPN server on my AWS server and created multiple VPN user. After that i have created some groups policy like map network drive, hide their locka drive. But user are connected not through VPN but these policies are not working. I have run gpupdae / force a...
2020/05/10
[ "https://serverfault.com/questions/1016491", "https://serverfault.com", "https://serverfault.com/users/574062/" ]
What I read from your command is, in my not-so-good English: > > Please, host with 192.168.0.5 address, execute the scp command to copy the /home/osboxes/test file to yourself entering with the user osboxes and locating the copy in the usually avoided for user writings /home directory > > > If you really want to ...
used shell shell: scp /home/osboxes/test osboxes@192.168.0.6:
128,895
As the question suggests we are looking for creating functionality of Upload/Download using `Node.js`. We have our destination in SharePoint 2013 document library where we want to upload files. First question is it possible to achieve this using `Node.js`? If yes then how? If anybody can explain what's node and how ...
2015/01/19
[ "https://sharepoint.stackexchange.com/questions/128895", "https://sharepoint.stackexchange.com", "https://sharepoint.stackexchange.com/users/9972/" ]
There is a specific library for SharePoint. You can download it from <https://github.com/lstak/node-sharepoint> Then use it as ``` contacts.add({LastName: 'Picolet', FirstName: 'Emma'}, function (err, data) { // data contains the new item returned from server. // data.Id will be the server assigned Id. }) ```
Hi I have found out a way to do this. James was correct in pointing out that we need to do stuff we cannot just rely on built in classes. I had to edit a file present in the sharepoint lib folder. In the file I had to rewrite a method which was already present and tweak it to upload a file in a document library. The f...
12,351
I recently reinstalled Windows 7 and I just didn't bother about iTunes (anymore). Now I luckily found a way to transfer all my apps "back" to iTunes (see [here](https://apple.stackexchange.com/questions/7035/new-harddrive-cannot-sync-my-ipad/7055#7055)), but now when I don't want to keep downloading the updates with my...
2011/04/18
[ "https://apple.stackexchange.com/questions/12351", "https://apple.stackexchange.com", "https://apple.stackexchange.com/users/5799/" ]
When using the standard iTunes/iPhone sync mechanism: a) iTunes won't copy over an app to the iphone unless the app in iTunes is newer b) It won't have an affect on app settings c) If you only sync apps then it won't touch data/music
Rob, basically I don't think your a) and b) answers are right. a). As far as my iTunes Pop-Up says (it's in German), my whole iPhone gets wiped and the stuff replaced. Replaced in this case seems not to be "add to"/"overwrite existing". b). iTunes 10 helped me put this to the test. Actually it "previews" the whole pr...
3,552,844
If I do `*ptr[x]`, is that equivalent to `*(ptr[x])`, or `(*ptr)[x]`?
2010/08/24
[ "https://Stackoverflow.com/questions/3552844", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15055/" ]
`*(ptr[x])` See the [Wikipedia operator precedence table](http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages), or, for a more detailed table, [this C/C++ specific table](http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence).
Using the counter-clockwise movement of analyzing and parsing that simple example ``` 1. starting with ptr, work in counter-clockwise until you hit asterisk operator 2. asterisk, in counter-clockwise until you hit subscript operator 3. we arrive here, at subscript operator [x] ``` Since `[]` has higher precedence t...
3,552,844
If I do `*ptr[x]`, is that equivalent to `*(ptr[x])`, or `(*ptr)[x]`?
2010/08/24
[ "https://Stackoverflow.com/questions/3552844", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15055/" ]
`*(ptr[x])` See the [Wikipedia operator precedence table](http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages), or, for a more detailed table, [this C/C++ specific table](http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B#Operator_precedence).
In C, all postfix operators have higher precedence than prefix operators, and prefix operators have higher precedence than infix operators. So its `*(ptr[x])`
3,552,844
If I do `*ptr[x]`, is that equivalent to `*(ptr[x])`, or `(*ptr)[x]`?
2010/08/24
[ "https://Stackoverflow.com/questions/3552844", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15055/" ]
In C, all postfix operators have higher precedence than prefix operators, and prefix operators have higher precedence than infix operators. So its `*(ptr[x])`
Using the counter-clockwise movement of analyzing and parsing that simple example ``` 1. starting with ptr, work in counter-clockwise until you hit asterisk operator 2. asterisk, in counter-clockwise until you hit subscript operator 3. we arrive here, at subscript operator [x] ``` Since `[]` has higher precedence t...
57,666,703
My code: ``` <script> jQuery.ajax({ type: 'POST', url: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', dataType: 'json', data: { 'location': 'xxxxxxxxxxxxxxxxxxxxxxxx' }, success: function(listings) { jQuery("div[id='xxxxxxx']").each(function(index) { jQuery(this).contents()[0].data = xxxx...
2019/08/27
[ "https://Stackoverflow.com/questions/57666703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/777505/" ]
Look like you have many `div` with the same id `clinic_name`. It's not good because `id` should be unique, you can use `class` instead. If you want to change text of the `h2` inside the div, you can use this selector `div.clinic_name h2:first-child`(here I use `class` instead of `id`). Example: ``` jQuery("div.clini...
You need find child first you can use this ``` jQuery(this).find(':first-child').text(listings[index].name); //this = div.clinic_name ``` First child can be get any element inside or you use these... * `.find(':first-child')` if you need find first of inside * `.find(':last-child')` if you need find last of inside ...
9,377
I have an (allegedly) 15mbps cable connection from Comcast with a pretty standard setup - cable modem plugged in to Netgear router, which serves one PC via an ethernet cable and several laptops via wireless. The problem is that, on the desktop only (running Vista), DNS frequently fails. It will work fine for half an h...
2009/07/18
[ "https://superuser.com/questions/9377", "https://superuser.com", "https://superuser.com/users/3064/" ]
I can't tell you what your EXACT problem is but I can tell you that I've had this very same problem with Comcast DNS in the past. Everything works fine one minute then suddently poof... only about half the stuff resolves. In the end I just got tired of Comcast's DNS and changed all of our workstations to use OpenDNS i...
Just an idea: You could start `ipconfig /all` in the command line and see if your provider offered you **several** DNS server IP addresses which are used round robin by your operating system. If you see more than one DNS server IPs try to resolve e.g. `serverfault.com` with each of those IPs like this `nslookup server...
9,377
I have an (allegedly) 15mbps cable connection from Comcast with a pretty standard setup - cable modem plugged in to Netgear router, which serves one PC via an ethernet cable and several laptops via wireless. The problem is that, on the desktop only (running Vista), DNS frequently fails. It will work fine for half an h...
2009/07/18
[ "https://superuser.com/questions/9377", "https://superuser.com", "https://superuser.com/users/3064/" ]
Just an idea: You could start `ipconfig /all` in the command line and see if your provider offered you **several** DNS server IP addresses which are used round robin by your operating system. If you see more than one DNS server IPs try to resolve e.g. `serverfault.com` with each of those IPs like this `nslookup server...
When I had a provider with a bad DNS server, annoying things would happen like: lookup an address. It fails. Try again, it works. The server also seemed to have a variable length of time to respond to the same query. That made me think the entire service offering was pointing to a non-load balanced IP, or that the subn...
9,377
I have an (allegedly) 15mbps cable connection from Comcast with a pretty standard setup - cable modem plugged in to Netgear router, which serves one PC via an ethernet cable and several laptops via wireless. The problem is that, on the desktop only (running Vista), DNS frequently fails. It will work fine for half an h...
2009/07/18
[ "https://superuser.com/questions/9377", "https://superuser.com", "https://superuser.com/users/3064/" ]
I can't tell you what your EXACT problem is but I can tell you that I've had this very same problem with Comcast DNS in the past. Everything works fine one minute then suddently poof... only about half the stuff resolves. In the end I just got tired of Comcast's DNS and changed all of our workstations to use OpenDNS i...
Can you connect Internet connection to some other host other than the Vista machine giving problem? If things work fine with other machine (say laptop) then it is problem with Vista. Then you can try re-installation or if Vista supports some kind of repair. Since `ipconfig /flushdns` command is working. It is most li...
9,377
I have an (allegedly) 15mbps cable connection from Comcast with a pretty standard setup - cable modem plugged in to Netgear router, which serves one PC via an ethernet cable and several laptops via wireless. The problem is that, on the desktop only (running Vista), DNS frequently fails. It will work fine for half an h...
2009/07/18
[ "https://superuser.com/questions/9377", "https://superuser.com", "https://superuser.com/users/3064/" ]
Can you connect Internet connection to some other host other than the Vista machine giving problem? If things work fine with other machine (say laptop) then it is problem with Vista. Then you can try re-installation or if Vista supports some kind of repair. Since `ipconfig /flushdns` command is working. It is most li...
When I had a provider with a bad DNS server, annoying things would happen like: lookup an address. It fails. Try again, it works. The server also seemed to have a variable length of time to respond to the same query. That made me think the entire service offering was pointing to a non-load balanced IP, or that the subn...
9,377
I have an (allegedly) 15mbps cable connection from Comcast with a pretty standard setup - cable modem plugged in to Netgear router, which serves one PC via an ethernet cable and several laptops via wireless. The problem is that, on the desktop only (running Vista), DNS frequently fails. It will work fine for half an h...
2009/07/18
[ "https://superuser.com/questions/9377", "https://superuser.com", "https://superuser.com/users/3064/" ]
I can't tell you what your EXACT problem is but I can tell you that I've had this very same problem with Comcast DNS in the past. Everything works fine one minute then suddently poof... only about half the stuff resolves. In the end I just got tired of Comcast's DNS and changed all of our workstations to use OpenDNS i...
When I had a provider with a bad DNS server, annoying things would happen like: lookup an address. It fails. Try again, it works. The server also seemed to have a variable length of time to respond to the same query. That made me think the entire service offering was pointing to a non-load balanced IP, or that the subn...
21,212,509
``` #!/bin/sh # This is a trial program puts "++++++++++++++++++++++++++++++++++++++++++++++++++" set y "0.0.0.0" set z [split $y "."] puts "z=$z" lreplace $z 0 5 puts "z $z" set v [llength $z] puts "length of array= $v" puts "in the loop-------->\n" puts " " incr v -1 puts $v for {set ml $v } { $ml >= 0} { puts "$m...
2014/01/19
[ "https://Stackoverflow.com/questions/21212509", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3211264/" ]
You would use `vertical-align:top` on each element. This works because they are inline elements with a default `vertical-align` value of `baseline`. [**EXAMPLE HERE**](http://jsfiddle.net/gqWsj/) ``` #list1, #list2, #list3 { vertical-align:top; } ```
add the style `vertical-align:top;` to each of the list elements
10,903
I am building an online version of the [game of Set](http://en.wikipedia.org/wiki/Set_%28game%29), and I want to get my vocabulary straight. So far, the words I have are "card", "deck", "(card) feature", "set", "player" and "dealer". I am missing words describing: * the initial laying of 12 cards (lay out? initialisa...
2013/01/24
[ "https://boardgames.stackexchange.com/questions/10903", "https://boardgames.stackexchange.com", "https://boardgames.stackexchange.com/users/4817/" ]
(Part of) the rules of Set read as follows: > > The dealer shuffles the cards and lays twelve cards (in a rectangle) > face up on the table so that they can be seen by all players. The > players remove a 'Set' of three cards as they are seen. Each 'Set' is > checked by the other players. If correct, the 'Set' is k...
> > (1) layout, or possibly deal; (2) replacement; (3) the cards [on the table]; (4) calling 'Set'; and (5) variation. > > > I agree with these terms. You might add another for the Sets each player holds until scoring at the end of a round. Per the rules of Set, in the scoring portion: > > The number of 'Sets' h...
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Use the `xrandr` command. For example: My native res is 1680×1050. If I type in terminal: ``` xrandr --output LVDS --panning 1920x1200 --scale 1.1428571429x1.1428571429 ``` I will get perfectly good 1920×1200 resolution (it's 16:10, as my screen is) but, as an earlier answer suggested, this creates an oversized des...
Try QRes on Windows [Qres](http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/QRes.shtml) It works on command line ``` QRes.exe /X:1024 /Y:768 ```
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
You can use [PowerStrip](http://entechtaiwan.com/util/ps.shtm) to force it into a higher resolution than supported. However, forcing an incompatible resolution may be harmful to your display, graphics card, or any other component in the way.
Depending on your model, some models allow an oversized desktop, but everything starts looking like tunnel, as you need to pan around. Oversized desktops might not let some oversized desktop sensitive applications to open. Some oversized resolution of an FHD display might me 1152 pixels or 1440 pixels, but setting the...
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
One possible way around that could be to use what is refered to as a Oversized Desktop. From [Wikipedia](http://en.wikipedia.org/wiki/Virtual_desktop#Oversized_Desktops): > > [Oversized desktops] make it possible to pan around a desktop that is > larger than the available hardware is capable of displaying. This > ...
You can use [PowerStrip](http://entechtaiwan.com/util/ps.shtm) to force it into a higher resolution than supported. However, forcing an incompatible resolution may be harmful to your display, graphics card, or any other component in the way.
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Sometimes increasing resolution is useful (even though it does reduce quality). If a dialog's height is hard-coded to 800px it'll be off the bottom of the screen, and there's very little way to see it. On a 1366x768 monitor it's less of an issue, but on a 1024x600 netbook I hit this issue all the time. Maybe you have a...
Use the `xrandr` command. For example: My native res is 1680×1050. If I type in terminal: ``` xrandr --output LVDS --panning 1920x1200 --scale 1.1428571429x1.1428571429 ``` I will get perfectly good 1920×1200 resolution (it's 16:10, as my screen is) but, as an earlier answer suggested, this creates an oversized des...
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
It would not make sense to increase output resolution more than the screen is capable of displaying. In best case it would have to rescale the output back to its native resolution (it *must* show is using a fixed number of pixels), which would require processing power and give you a worse result than just using the na...
Try QRes on Windows [Qres](http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/QRes.shtml) It works on command line ``` QRes.exe /X:1024 /Y:768 ```
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Use the `xrandr` command. For example: My native res is 1680×1050. If I type in terminal: ``` xrandr --output LVDS --panning 1920x1200 --scale 1.1428571429x1.1428571429 ``` I will get perfectly good 1920×1200 resolution (it's 16:10, as my screen is) but, as an earlier answer suggested, this creates an oversized des...
You can use [PowerStrip](http://entechtaiwan.com/util/ps.shtm) to force it into a higher resolution than supported. However, forcing an incompatible resolution may be harmful to your display, graphics card, or any other component in the way.
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Try QRes on Windows [Qres](http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/QRes.shtml) It works on command line ``` QRes.exe /X:1024 /Y:768 ```
Depending on your model, some models allow an oversized desktop, but everything starts looking like tunnel, as you need to pan around. Oversized desktops might not let some oversized desktop sensitive applications to open. Some oversized resolution of an FHD display might me 1152 pixels or 1440 pixels, but setting the...
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Sometimes increasing resolution is useful (even though it does reduce quality). If a dialog's height is hard-coded to 800px it'll be off the bottom of the screen, and there's very little way to see it. On a 1366x768 monitor it's less of an issue, but on a 1024x600 netbook I hit this issue all the time. Maybe you have a...
One possible way around that could be to use what is refered to as a Oversized Desktop. From [Wikipedia](http://en.wikipedia.org/wiki/Virtual_desktop#Oversized_Desktops): > > [Oversized desktops] make it possible to pan around a desktop that is > larger than the available hardware is capable of displaying. This > ...
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Try QRes on Windows [Qres](http://www.softpedia.com/get/Multimedia/Video/Other-VIDEO-Tools/QRes.shtml) It works on command line ``` QRes.exe /X:1024 /Y:768 ```
The solution that worked for me was to increase my resolution size to 1366 x 766, by going to Control Panel & then Display.
426,614
I have a laptop, which has a screen resolution of 1366x768, as most laptops have. Is there any way to increase it? The laptop is an [HP Pavilion](https://en.wikipedia.org/wiki/HP_Pavilion_(computer)) dv6, with Intel HD 3000 graphics and Radeon HD 6490M GPU. I want to increase the resolution beyond 1366 x 768, as I hav...
2012/05/20
[ "https://superuser.com/questions/426614", "https://superuser.com", "https://superuser.com/users/132745/" ]
Sometimes increasing resolution is useful (even though it does reduce quality). If a dialog's height is hard-coded to 800px it'll be off the bottom of the screen, and there's very little way to see it. On a 1366x768 monitor it's less of an issue, but on a 1024x600 netbook I hit this issue all the time. Maybe you have a...
You can use [PowerStrip](http://entechtaiwan.com/util/ps.shtm) to force it into a higher resolution than supported. However, forcing an incompatible resolution may be harmful to your display, graphics card, or any other component in the way.
43,533
Balanced equation: $$\ce{Mg(s) + 2HCl(aq) -> MgCl2(aq) + H2(g)}$$ However, Cl- is a spectator ion so the actual reaction equation is: $$\ce{Mg + 2H+ -> Mg^2+ + H2}$$ Here is my proposed reaction mechanism: 1. A magnesium atom reacts with a $\ce{H+}$ ion: $\ce{Mg + H+ -> Mg+ + H}$ 2. The $\ce{Mg+}$ intermediate pro...
2016/01/10
[ "https://chemistry.stackexchange.com/questions/43533", "https://chemistry.stackexchange.com", "https://chemistry.stackexchange.com/users/24535/" ]
There's a certain amount of misinformation here: > > sulfate is a bidentate ligand > > > Sulfate is actually a flexidentate ligand, which is a term used to describe a polydentate ligand which is found to show different denticity in different complexes. Sulfate can act both as mono- or a bidentate ligand. Remember...
Interestingly enough, it seems that crystal structure of $\ce{[Co(NH3)5(SO4)]+}$ has not yet been obtained. Probably it has something to do with [*trans*-effect](https://en.wikipedia.org/wiki/Trans_effect) of $\ce{SO4^2-}$, which makes $\ce{NH3}$ ligand extremely labile. Also, C.N. 7 is also very common for cobalt and ...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
`UIProgressView` is the class you are looking for: [Apple Docs](http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIProgressView_Class/Reference/Reference.html) You need to use the `setProgress:animated:` method to updated the shown progress. Most likely where you handle received data from the netw...
**Swift 5.x Version** import UIKit ``` class SKLoader: NSObject { static let sharedInstance = SKLoader() let indicator: UIActivityIndicatorView? = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.medium) let screen = UIScreen.main.bounds var appDelegate: SceneDelegate { guard l...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
You can use IOS in-built UIProgressView. Below is code snippet: ``` UIProgressView *progressView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault]; [self.view addSubview:progressView]; [progressView setProgress:50.0]; ``` You can use setFrame: for positioning of progress bar on view.
@hiren's answer translation to Swift4.0 ``` let indicator: UIActivityIndicatorView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorView.Style.gray) indicator.frame = CGRect(x: 0.0, y: 0.0, width: 40.0, height: 40.0) indicator.center = view.center view.addSubview(indicator) ...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
I'd recommend using `NSURLConnection`. The methods you would need are: ``` - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { [self.resourceData setLength:0]; self.filesize = [NSNumber numberWithLongLong:[response expectedContentLength]]; } -(void)connection:(NSURLConn...
Swift 3 version of @enrique7mc solution ``` var indicator = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray) indicator.frame = CGRect(x: 0, y: 0, width: 40, height: 40) indicator.center = view.center view.addSubview(indicator) indicator.bringSubview(toFront: view) ...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
I know this is an older question but I've written a global static method for doing this type of thing from any view, based on the above answers. Main updates are: * support optional opaque overlay behind the activity indicator * use default frame sizing for the activity indicator * use .WhiteLarge indicator style **...
**App Delegate.h** ``` -(void)showLoader; -(void)hideLoder; ``` **App Delegate.m** ``` @implementation AppDelegate AppDelegate *app; -(void)showLoader { if(loaderView== NULL) { loaderView=[[UIView alloc] initWithFrame:self.window.frame]; [loaderView setBackgroundColor:[UIColor blackColo...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Translating @Hiren's answer to Swift ``` var indicator: UIActivityIndicatorView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray) indicator.frame = CGRect(x: 0, y: 0, width: 40, height: 40) indicator.center = view.center self.view.addSubview(indicator) self.view.bringSubview(toF...
Swift 3 version of @enrique7mc solution ``` var indicator = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray) indicator.frame = CGRect(x: 0, y: 0, width: 40, height: 40) indicator.center = view.center view.addSubview(indicator) indicator.bringSubview(toFront: view) ...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
**Swift 5.x** version of @enrique7mc's Swift code: ``` var indicator: UIActivityIndicatorView = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.gray) indicator.frame = CGRect(x: 0.0, y: 0.0, width: 40.0, height: 40.0) indicator.center = view.center view.addSubview(indicator) indicator.bringSubviewToFront(...
**App Delegate.h** ``` -(void)showLoader; -(void)hideLoder; ``` **App Delegate.m** ``` @implementation AppDelegate AppDelegate *app; -(void)showLoader { if(loaderView== NULL) { loaderView=[[UIView alloc] initWithFrame:self.window.frame]; [loaderView setBackgroundColor:[UIColor blackColo...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Translating @Hiren's answer to Swift ``` var indicator: UIActivityIndicatorView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray) indicator.frame = CGRect(x: 0, y: 0, width: 40, height: 40) indicator.center = view.center self.view.addSubview(indicator) self.view.bringSubview(toF...
I wanted to post a solution I created which will show a progress bar in a separate window to show progress with results that could be listed off. Attached is an image below of what it looks like. [![enter image description here](https://i.stack.imgur.com/ifyY8.png)](https://i.stack.imgur.com/ifyY8.png) **Compatibili...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Translating @Hiren's answer to Swift ``` var indicator: UIActivityIndicatorView = UIActivityIndicatorView(activityIndicatorStyle: UIActivityIndicatorViewStyle.gray) indicator.frame = CGRect(x: 0, y: 0, width: 40, height: 40) indicator.center = view.center self.view.addSubview(indicator) self.view.bringSubview(toF...
**SwiftUI version** Very crude and simple, not-networked, basic progress indicator. Still not supported by default in SwiftUI, so the `UIViewRepresentable` is the way to go. Enjoy modifying it to your heart's contents. ``` struct ActivityIndicatorView: UIViewRepresentable { let large: Bool @State var enabled:...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try below code ``` float progress; //components UIProgressView *progressBar; progressBar=[[UIProgressView alloc]initWithProgressViewStyle:UIProgressViewStyleDefault]; [progressBar setFrame:CGRectMake(30.0, 75.0, 200.0, 80.0)]; int prog=progress*100; progressStr=[NSString stringWithFormat:@"%d%%",prog]; [progressBar ...
**Swift 5.x Version** import UIKit ``` class SKLoader: NSObject { static let sharedInstance = SKLoader() let indicator: UIActivityIndicatorView? = UIActivityIndicatorView(style: UIActivityIndicatorView.Style.medium) let screen = UIScreen.main.bounds var appDelegate: SceneDelegate { guard l...
9,976,278
I am using http communication in My iPhone app. I want to show a progress bar while it is loading data from server. How can I do it programmatically? I just want a default progress-bar. Nothing fancy, like in android we do `ProgressDialog.show();`, is there any one liner for showing progress-bar in iphone?
2012/04/02
[ "https://Stackoverflow.com/questions/9976278", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
Try [MBProgressHUD](https://github.com/jdg/MBProgressHUD). It's pretty simple, got several progress animation options, and able to add some customization. It displays fullscreen. And it should work with any recent iOS versions. Or try [LDProgressView](https://github.com/lightdesign/LDProgressView) if you want someth...
I will put in my two cents here as well: I have created this [ARSLineProgress](https://github.com/soberman/ARSLineProgress) preloader, that you could also test here on [Appetize](https://appetize.io/app/yb7ay1ye7fbm9c0jq4cqrecmyg).
4,436
I wanted to know if a jump instruction as `JE` must directly follow to a `CMP` instruction. Until now, I did always see that first a `CMP` comes and after that a `JMP`. But today I have discover the following: ``` ... CMP DWORD PTR SS:[EBP+0xC], EAX MOV ECX, DWORD PTR SS:[EBP+0x18] PUSH ESI MOV ECX, DWORD PTR SS:[EBP+...
2014/05/23
[ "https://reverseengineering.stackexchange.com/questions/4436", "https://reverseengineering.stackexchange.com", "https://reverseengineering.stackexchange.com/users/4645/" ]
It is perfectly normal, compilers tend to emit such code for sake of optimization. Moreover delaying the conditional jump is helpful for instruction prefetching & branch handling. The code is valid too unless the code in between modify the EFLAGS register.
JE (Jump on Equal) instructions use a result of a previous operation, this previous operation is usually CMP (compare) but it can be any other of a multitude of similar operations (eg ADD, XOR, etc..) As a matter of fact the operation which will provide the result and the actual jump command may not be consecutive at a...
4,436
I wanted to know if a jump instruction as `JE` must directly follow to a `CMP` instruction. Until now, I did always see that first a `CMP` comes and after that a `JMP`. But today I have discover the following: ``` ... CMP DWORD PTR SS:[EBP+0xC], EAX MOV ECX, DWORD PTR SS:[EBP+0x18] PUSH ESI MOV ECX, DWORD PTR SS:[EBP+...
2014/05/23
[ "https://reverseengineering.stackexchange.com/questions/4436", "https://reverseengineering.stackexchange.com", "https://reverseengineering.stackexchange.com/users/4645/" ]
It is perfectly normal, compilers tend to emit such code for sake of optimization. Moreover delaying the conditional jump is helpful for instruction prefetching & branch handling. The code is valid too unless the code in between modify the EFLAGS register.
JE checks the zero flag (ZF). So as long as ZF is not modified you can jump any time you want. The same to other jump instructions
4,436
I wanted to know if a jump instruction as `JE` must directly follow to a `CMP` instruction. Until now, I did always see that first a `CMP` comes and after that a `JMP`. But today I have discover the following: ``` ... CMP DWORD PTR SS:[EBP+0xC], EAX MOV ECX, DWORD PTR SS:[EBP+0x18] PUSH ESI MOV ECX, DWORD PTR SS:[EBP+...
2014/05/23
[ "https://reverseengineering.stackexchange.com/questions/4436", "https://reverseengineering.stackexchange.com", "https://reverseengineering.stackexchange.com/users/4645/" ]
JE checks the zero flag (ZF). So as long as ZF is not modified you can jump any time you want. The same to other jump instructions
JE (Jump on Equal) instructions use a result of a previous operation, this previous operation is usually CMP (compare) but it can be any other of a multitude of similar operations (eg ADD, XOR, etc..) As a matter of fact the operation which will provide the result and the actual jump command may not be consecutive at a...
61,895,358
Consider this: [![enter image description here](https://i.stack.imgur.com/9dxLY.png)](https://i.stack.imgur.com/9dxLY.png) With an exact number for scaling the content (`transform: scale(0.62);`) we can achieve this: [![enter image description here](https://i.stack.imgur.com/q8ecv.png)](https://i.stack.imgur.com/q8e...
2020/05/19
[ "https://Stackoverflow.com/questions/61895358", "https://Stackoverflow.com", "https://Stackoverflow.com/users/782358/" ]
This would need help of Javascript too. Get the widths and heights of **container** div and **content** div in Javascript. And then the below trick might help : ``` scale = min( availableWidth / contentWidth, availableHeight / contentHeight ); ```
Unfortunately, there is no way with only clear CSS. Made a scale script for you. ```js $(document).ready(function() { let containerW = $('.container').outerWidth(), containerH = $('.container').outerHeight(), contentW = $('.content').outerWidth(), contentH = $('.content').outerHeight(); ...
28,011,809
I'm so close to create my form i need. But there is still a "bug". I wan't create a form where a customer can calucate how expensive something will be. I'm sure there are a lot of shorter ways to build the whole thing, but this is not the question. The problem is the calucation: When you choose: CMS it sets the Price ...
2015/01/18
[ "https://Stackoverflow.com/questions/28011809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4450985/" ]
In order to format the string with the provided variables, you need to remove the commas: ``` Console.WriteLine("Grade Report : \n" + "{0} grades was entered, total grade is : {1}\n" + "Class average : {2:F}\n" + "\nA : {3}, \nB : {4}, \nC : {5}, \nD : {6}", gradeCounter, gradeTotal, ( double ) gradeTo...
`Console.WriteLine` expects parameterized string as first parameter and after comma it expects parameters. Also you can use `@` to format string with new lines. So you end up with the following: ``` Console.WriteLine(@"Grade Report : {0} grades was entered, total grade is : {1} Class average : {2:F} A : {3}, B : {4}...
28,011,809
I'm so close to create my form i need. But there is still a "bug". I wan't create a form where a customer can calucate how expensive something will be. I'm sure there are a lot of shorter ways to build the whole thing, but this is not the question. The problem is the calucation: When you choose: CMS it sets the Price ...
2015/01/18
[ "https://Stackoverflow.com/questions/28011809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4450985/" ]
try this: ``` Console.WriteLine( String.Format("Grade Report : \n {0} grades was entered, total grade is :{1}\n Class average : {2:F}\n\n A : {3}, \nB : {4}, \nC : {5}, \nD : {6}", gradeCounter, gradeTotal, ( double ) gradeTotal / gradeCounter, aCount, bCount, cCount, dCount ) ); ``` [Stri...
`Console.WriteLine` expects parameterized string as first parameter and after comma it expects parameters. Also you can use `@` to format string with new lines. So you end up with the following: ``` Console.WriteLine(@"Grade Report : {0} grades was entered, total grade is : {1} Class average : {2:F} A : {3}, B : {4}...
6,146,015
I have an array ``` var data = new Array("1111_3", "1231_54", "1143_76", "1758_12"); ``` now I want to parse data[0] to get 1111. ``` var ids = new Array(); // example: ids = Array("1111", "1231", "1143", "1758"); ``` and copy all ids from data to ids Array. is it possible to do it like in php or do i need to us...
2011/05/26
[ "https://Stackoverflow.com/questions/6146015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/761778/" ]
elegance: ``` data.map(function(x){ return x.split('_')[0]; }) ``` This IS part of the ECMA-262 standard. But, if you care about supporting old outdated sub-par browsers, use jQuery (or whatever other framework you are using; almost all of them define a custom `map` function): ``` $.map(data, function(x){ ...
Really simple: ``` var ids = []; for(var i = 0, j = data.length; i < j; ++i) { var idString = data[i]; ids.push(idString.substring(0, idString.indexOf('_'))); } ```
6,146,015
I have an array ``` var data = new Array("1111_3", "1231_54", "1143_76", "1758_12"); ``` now I want to parse data[0] to get 1111. ``` var ids = new Array(); // example: ids = Array("1111", "1231", "1143", "1758"); ``` and copy all ids from data to ids Array. is it possible to do it like in php or do i need to us...
2011/05/26
[ "https://Stackoverflow.com/questions/6146015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/761778/" ]
Really simple: ``` var ids = []; for(var i = 0, j = data.length; i < j; ++i) { var idString = data[i]; ids.push(idString.substring(0, idString.indexOf('_'))); } ```
What you want to do is called a 'map.' Some browsers support them, but if you want to be safe you can use underscore.js (http://documentcloud.github.com/underscore/) You'd end up with either: ``` _(data).map(function(x){ return x.split('_')[0]; }); ``` or ``` _.map(data, function(x){ return x.split('_')[0...
6,146,015
I have an array ``` var data = new Array("1111_3", "1231_54", "1143_76", "1758_12"); ``` now I want to parse data[0] to get 1111. ``` var ids = new Array(); // example: ids = Array("1111", "1231", "1143", "1758"); ``` and copy all ids from data to ids Array. is it possible to do it like in php or do i need to us...
2011/05/26
[ "https://Stackoverflow.com/questions/6146015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/761778/" ]
Really simple: ``` var ids = []; for(var i = 0, j = data.length; i < j; ++i) { var idString = data[i]; ids.push(idString.substring(0, idString.indexOf('_'))); } ```
If you have a **really** big array it may be faster to join it to a string and split the string, rather than using any of the iterative methods to form it one by one. ``` var data = ["1111_3", "1231_54", "1143_76", "1758_12"]; var ids= data.join(' ').replace(/_\d+/g,'').split(' '); alert(ids) /* returned value: (A...
6,146,015
I have an array ``` var data = new Array("1111_3", "1231_54", "1143_76", "1758_12"); ``` now I want to parse data[0] to get 1111. ``` var ids = new Array(); // example: ids = Array("1111", "1231", "1143", "1758"); ``` and copy all ids from data to ids Array. is it possible to do it like in php or do i need to us...
2011/05/26
[ "https://Stackoverflow.com/questions/6146015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/761778/" ]
elegance: ``` data.map(function(x){ return x.split('_')[0]; }) ``` This IS part of the ECMA-262 standard. But, if you care about supporting old outdated sub-par browsers, use jQuery (or whatever other framework you are using; almost all of them define a custom `map` function): ``` $.map(data, function(x){ ...
What you want to do is called a 'map.' Some browsers support them, but if you want to be safe you can use underscore.js (http://documentcloud.github.com/underscore/) You'd end up with either: ``` _(data).map(function(x){ return x.split('_')[0]; }); ``` or ``` _.map(data, function(x){ return x.split('_')[0...
6,146,015
I have an array ``` var data = new Array("1111_3", "1231_54", "1143_76", "1758_12"); ``` now I want to parse data[0] to get 1111. ``` var ids = new Array(); // example: ids = Array("1111", "1231", "1143", "1758"); ``` and copy all ids from data to ids Array. is it possible to do it like in php or do i need to us...
2011/05/26
[ "https://Stackoverflow.com/questions/6146015", "https://Stackoverflow.com", "https://Stackoverflow.com/users/761778/" ]
elegance: ``` data.map(function(x){ return x.split('_')[0]; }) ``` This IS part of the ECMA-262 standard. But, if you care about supporting old outdated sub-par browsers, use jQuery (or whatever other framework you are using; almost all of them define a custom `map` function): ``` $.map(data, function(x){ ...
If you have a **really** big array it may be faster to join it to a string and split the string, rather than using any of the iterative methods to form it one by one. ``` var data = ["1111_3", "1231_54", "1143_76", "1758_12"]; var ids= data.join(' ').replace(/_\d+/g,'').split(' '); alert(ids) /* returned value: (A...
41,542,230
I am trying to call a python function by Ajax. I want to stop the execution of that function. I have tried to refresh the page but it doesn't stop. When I stopped the Django server then it get stop. Here some code: This Call call HTTP request ``` class ScrapData(): @classmethod def search_status(self, urls_l...
2017/01/09
[ "https://Stackoverflow.com/questions/41542230", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1558544/" ]
How is this django app served? How many processes and threads? How do you know which thread runs the particular request? There are several Python ways to deal with this, but it is not as simple as "stop a particular request". In my opinion, the best way to deal with long-polling tasks in terms of management, scaleabil...
I got the same problem that I called a a wrong and slow request. And I stopped it by restarting my Apache server. It might be a solution when it's ok to restart the server.
41,542,230
I am trying to call a python function by Ajax. I want to stop the execution of that function. I have tried to refresh the page but it doesn't stop. When I stopped the Django server then it get stop. Here some code: This Call call HTTP request ``` class ScrapData(): @classmethod def search_status(self, urls_l...
2017/01/09
[ "https://Stackoverflow.com/questions/41542230", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1558544/" ]
How is this django app served? How many processes and threads? How do you know which thread runs the particular request? There are several Python ways to deal with this, but it is not as simple as "stop a particular request". In my opinion, the best way to deal with long-polling tasks in terms of management, scaleabil...
try nested function, it will allow you to call whichever function you wish, or end process the code: ``` class ScrapData(): @classmethod def func(): def search_status(self, urls_list): for url in urls_list: r = requests.get(url) text = r.text ...
18,193,726
I am trying to implement the [Johnson-Lindenstrauss lemma](http://tcs.nju.edu.cn/wiki/index.php/%E9%9A%8F%E6%9C%BA%E7%AE%97%E6%B3%95_%28Fall_2011%29/Johnson-Lindenstrauss_Theorem). I have search for the pseudocode here but could not get any. I don't know if I have implemented it correctly or not. I just want you guys ...
2013/08/12
[ "https://Stackoverflow.com/questions/18193726", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2626190/" ]
You can cheat a little bit and use XmlElement on a List, and the XmlSerializer will happily comply. ``` public class AlertItem { [XmlElement(ElementName = "docketNumber")] public string DocketNumber { get; set; } [XmlElement(ElementName = "dotNumber")] public string DOTNumber { get; set; } [XmlEl...
If you want to create a list of changes, this would work ``` <CarrierService.GetAlerts> <ResponseDO> <status>APPROVED</status> <action>OK</action> <code>SFW00542</code> <displayMsg/> <techMsg/> </ResponseDO> <AlertList count="1"> <AlertItem> <docketNumber>MC758</docketNumber> <dotNumber>17952</dot...
73,977,077
I have an ASPX page that includes an ASCX control, which in turn references a script in a separate file. I want the ASCX to handle a button click by calling a function in the script file, but whenever the page loads, the browser's debugger says that it cannot find the function. What is supposed to be happening in the ...
2022/10/06
[ "https://Stackoverflow.com/questions/73977077", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7914734/" ]
**Use ScriptManager** The code has multiple problems, but we can get it working. The main reason it doesn't work is because the script is not loading. On an HTML page you load the script using a `<script>` tag, but an ASCX control needs to load scripts using ScriptManager. Modify your Control1.ascx file as shown bel...
I got it to work, but I had to jump through a hoop or two. The main problems were, (a) I should have been using the ClientScriptManager (Page.ClientScript), (b) I have to use RegisterStartupScript instead of RegisterClientScriptBlock (something to do with when the script is loaded in relation to the existing scripts),...
77,138
There are Words of Power in Pathfinder, like the [Power Word Kill](http://www.d20pfsrd.com/magic/all-spells/p/power-word-kill) and other similar Words for "[Blind](http://www.d20pfsrd.com/magic/all-spells/p/power-word-blind)" and "[Stun](http://www.d20pfsrd.com/magic/all-spells/p/power-word-stun)", which affect creatur...
2016/03/15
[ "https://rpg.stackexchange.com/questions/77138", "https://rpg.stackexchange.com", "https://rpg.stackexchange.com/users/9368/" ]
### A creature typically can't determine another creature's remaining hit points However, a creature *can* come close using spells like [*deathwatch*](http://www.d20pfsrd.com/magic/all-spells/d/deathwatch) and [*detect animals and plants*](http://www.d20pfsrd.com/magic/all-spells/d/detect-animals-or-plants), and optio...
The usual check for medical analisys is Heal. For the DC I'd tie it to the creature type, knowing the health status of an human is fairly easy for the trained eye, knowing the health status of an ooze or a ghost not so much. I'd also consider situational modifiers, wizards like to stay as far away from monsters a...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
you can use [RemoveDuplicates()](https://msdn.microsoft.com/en-us/library/office/ff193823(v=office.15)) and [Autofilter()](https://msdn.microsoft.com/en-us/library/office/ff193884.aspx) methods of Range object as follows: ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim depSheet As Worksheet W...
You've put together a pretty good question. It has a clear description of the starting point and what the objective is. The code you have is a good start towards the answer. However I didn't try to group a bunch of rows together like you wanted to do because I had no idea of how to do that. What I did was to loop throu...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
I've created this VBA to copy data from one sheet (source) to another sheet (target) based on conditional data given in 3rd sheet (condition): ``` Sub CopyYes() Dim c As Range Dim j As Integer Dim Source As Worksheet Dim Target As Worksheet Dim Condition As Worksheet Set Source = ActiveWorkboo...
You've put together a pretty good question. It has a clear description of the starting point and what the objective is. The code you have is a good start towards the answer. However I didn't try to group a bunch of rows together like you wanted to do because I had no idea of how to do that. What I did was to loop throu...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
you can use [RemoveDuplicates()](https://msdn.microsoft.com/en-us/library/office/ff193823(v=office.15)) and [Autofilter()](https://msdn.microsoft.com/en-us/library/office/ff193884.aspx) methods of Range object as follows: ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim depSheet As Worksheet W...
Thanks for all your replies. I actually found a pretty good code that does exactly what I wanted, I forgot to note down the reference site though. Here's the code if anyone's interested: ``` Sub parse_data() Dim lr As Long Dim ws As Worksheet Dim vcol, i As Integer Dim icol As Long Dim myarr A...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
you can use [RemoveDuplicates()](https://msdn.microsoft.com/en-us/library/office/ff193823(v=office.15)) and [Autofilter()](https://msdn.microsoft.com/en-us/library/office/ff193884.aspx) methods of Range object as follows: ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim depSheet As Worksheet W...
But Eileen, If we need to copy cell values of COLUMN E, rather than COLUMN A and paste on new sheet, then your ref code still lists values from COLUMN A......! So we need just to change vcol = 5 on line 9
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
you can use [RemoveDuplicates()](https://msdn.microsoft.com/en-us/library/office/ff193823(v=office.15)) and [Autofilter()](https://msdn.microsoft.com/en-us/library/office/ff193884.aspx) methods of Range object as follows: ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim depSheet As Worksheet W...
I modified [user3598756's answer](https://stackoverflow.com/a/38803096/1445318) above to bypass restrictions on the max length allowed for the name of a sheet. It will concatenate the first and last 13 characters of the name with 4 dots in between ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim de...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
I've created this VBA to copy data from one sheet (source) to another sheet (target) based on conditional data given in 3rd sheet (condition): ``` Sub CopyYes() Dim c As Range Dim j As Integer Dim Source As Worksheet Dim Target As Worksheet Dim Condition As Worksheet Set Source = ActiveWorkboo...
Thanks for all your replies. I actually found a pretty good code that does exactly what I wanted, I forgot to note down the reference site though. Here's the code if anyone's interested: ``` Sub parse_data() Dim lr As Long Dim ws As Worksheet Dim vcol, i As Integer Dim icol As Long Dim myarr A...
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
I've created this VBA to copy data from one sheet (source) to another sheet (target) based on conditional data given in 3rd sheet (condition): ``` Sub CopyYes() Dim c As Range Dim j As Integer Dim Source As Worksheet Dim Target As Worksheet Dim Condition As Worksheet Set Source = ActiveWorkboo...
But Eileen, If we need to copy cell values of COLUMN E, rather than COLUMN A and paste on new sheet, then your ref code still lists values from COLUMN A......! So we need just to change vcol = 5 on line 9
38,796,106
I have a DATA sheet containing an employee list with 3 columns, ``` COLUMN A - DEPARTMENT COLUMN B - EMPCODE COLUMN C - EMPNAME ``` Here is sample data: [![Raw data](https://i.stack.imgur.com/aFSUb.png)](https://i.stack.imgur.com/aFSUb.png) I want to split the contents of this sheet according to COLUMN A - DEPARM...
2016/08/05
[ "https://Stackoverflow.com/questions/38796106", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6683761/" ]
I've created this VBA to copy data from one sheet (source) to another sheet (target) based on conditional data given in 3rd sheet (condition): ``` Sub CopyYes() Dim c As Range Dim j As Integer Dim Source As Worksheet Dim Target As Worksheet Dim Condition As Worksheet Set Source = ActiveWorkboo...
I modified [user3598756's answer](https://stackoverflow.com/a/38803096/1445318) above to bypass restrictions on the max length allowed for the name of a sheet. It will concatenate the first and last 13 characters of the name with 4 dots in between ``` Option Explicit Sub CopyRows() Dim rngCell As Range Dim de...
609,649
I'm trying to implement an synchronous 4-bit counter in Verilog on the DE10-Lite (according to the [Intel Lab Exercise 4](https://ftp.intel.com/Public/Pub/fpgaup/pub/Teaching_Materials/current/Laboratory_Exercises/Digital_Logic/Verilog/lab4.pdf)). The design works fine in simulation (counts from 0-15 repeatedly), but i...
2022/02/23
[ "https://electronics.stackexchange.com/questions/609649", "https://electronics.stackexchange.com", "https://electronics.stackexchange.com/users/308053/" ]
Not trying to diagnose your problem but just looking at the weaknesses of your circuit... * Don't rely on external hardware debouncing, which for a demo' board is almost certainly just a parallel capacitor. Add a debouncing circuit to your Verilog firmware. There's plenty of explanations and example Verilog on switch ...
It may be something to do with the "clock" signal from your button not arriving to every flop at the same time. There are constraints for clock routing, but I think putting the button input through a synchronizer (usually a 2 or 3 bit serial in-serial out shift register clocked with the system clock) would help, not to...
8,964,476
What is the ressource (`android.R.…`) or name of the following Android widget? It is neither a `RadioButton` nor an `ExpandableList`. ![Screenshot](https://i.stack.imgur.com/MdedV.png)
2012/01/22
[ "https://Stackoverflow.com/questions/8964476", "https://Stackoverflow.com", "https://Stackoverflow.com/users/870798/" ]
<http://www.kaloer.com/android-preferences> read this. If you are talking about the Vibration settings screen it is the PreferenceScreen in the android settings menu. It lets you to create a list of settings with different kinds of preferences such as CheckBoxPreference,ListPreference,EditTextPreference and so on. Clas...
it should be an ExpandableList, why this very definition it is that: <http://developer.android.com/reference/android/widget/ExpandableListView.html>. Specifically this view is NOT found in the android.R because it doesn't need to be there. Its simply a Special Item that is applied to a ListView that tells the user th...
68,153,805
I am using the column header titles as the comma separated content in another cell. I am using Excel 2016. I have a table named **StudentCourse** and for a better illustration please see the below example layout: ``` [Name] [Math] [Geo] [Bio] [Fees] [Fixes] Ram Very Bad Good Good ...
2021/06/27
[ "https://Stackoverflow.com/questions/68153805", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16328531/" ]
Assuming that the table is located at `[A1:E9]` and there are no [BLANK] cells as confirmed by OP. Enter this formula in `[F2]` and copy it to `[F3:F9]`. **Excel 2016** ``` = IF( SUMPRODUCT( ($B2:$E2<>{"Good","Good","Good","Paid"})*1 )=0, "Ok: Not Urgent", "Urgent: " & SUBSTITUTE( IF( $B2<>"Good", ", " & $B$1, "" )...
If you list the acceptable data in column H:I (as example below). You could use: `=IF(TEXTJOIN(", ",1,IF(INDEX($I$1:$I$4,MATCH($B$1:$E$1,$H$1:$H$4,0))=B2:E2,"",$B$1:$E$1))="","OK: No urgent","Urgent: "&TEXTJOIN(", ",1,IF(INDEX($I$1:$I$4,MATCH($B$1:$E$1,$H$1:$H$4,0))=B2:E2,"",$B$1:$E$1)))` ![enter image description here...
496,348
based on [this nice question](https://tex.stackexchange.com/questions/7032/good-way-to-make-textcircled-numbers) and its answers, I have this little code: ```latex % % circled steps (with labels to reference them!) % \newcommand*\circled[2][]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=...
2019/06/18
[ "https://tex.stackexchange.com/questions/496348", "https://tex.stackexchange.com", "https://tex.stackexchange.com/users/38080/" ]
**Revised version after your feedback.** This is an attempt of an answer but no guarantee that it works. Why should one not nest `tikzpicture`s? The main reason is that the pgf keys of the ambient `tikzpicture` will affect the shapes of the inner ones. One way to evade this is to create "new" shapes that merely differ ...
Really, it seems almost impossible to safely nest `pgfpictures` (as is clearly stated everywhere). So I implemented a different strategy that you can see in this answer to the original question: <https://tex.stackexchange.com/a/496665/38080> old answer: works sometime ========================== Ok --- I simplified th...
35,662
If one had a story that was as yet undefined but wanted to work out the economics of a manga publication - how would one go about it? How does one get to top artists (any artist, otherwise)? Are there any costs associated with contacting accomplished manga artists? Where would one get access to manga artists in gen...
2014/07/09
[ "https://graphicdesign.stackexchange.com/questions/35662", "https://graphicdesign.stackexchange.com", "https://graphicdesign.stackexchange.com/users/27010/" ]
Start by going to your local comic book shop. Many local comic book stores have artists come in regularly for signing and sketches. A lot of employees might also moonlight as illustrators. They may not be Manga but they might be able to do it or know someone that does. If you already have an artist in mind, drop them ...
> > how would one go about it? > > > Pretty much like you'd hire any professional. Ask around. Get recommendations. Look at previous work. Interview, etc. > > any costs associated with it? > > > Again like any professional, you'd ask for an estimate. They'd provide that to you. > > And what are the publ...
35,662
If one had a story that was as yet undefined but wanted to work out the economics of a manga publication - how would one go about it? How does one get to top artists (any artist, otherwise)? Are there any costs associated with contacting accomplished manga artists? Where would one get access to manga artists in gen...
2014/07/09
[ "https://graphicdesign.stackexchange.com/questions/35662", "https://graphicdesign.stackexchange.com", "https://graphicdesign.stackexchange.com/users/27010/" ]
Start by going to your local comic book shop. Many local comic book stores have artists come in regularly for signing and sketches. A lot of employees might also moonlight as illustrators. They may not be Manga but they might be able to do it or know someone that does. If you already have an artist in mind, drop them ...
Look for/post at job boards and online portfolios, make inquiries with the ones you prefer. <http://forum.deviantart.com/jobs/offers/> There are also "digital webbing" and "penciljack", but I can't post the link as I have to register here and build a reputation to post more than 1 URL. On these you'll probably find ...
273,275
This question is the extension of [THIS](https://salesforce.stackexchange.com/questions/273172/lightning-recordeditform-getting-error-object-object-for-few-users?noredirect=1#comment412367_273172) question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am ge...
2019/08/12
[ "https://salesforce.stackexchange.com/questions/273275", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/70823/" ]
1. In communities, only `comm__namedPage` page-reference will work. 2. It will navigate to specified community page within community. 3. You have to use component/page inside community page. 4. Although you can pass the parameters through `state`, you cannot get the state from component as it is inside community page. ...
I came in this answer I think we have one more way to do it. You can pass parameters to the community with the following Page to pass the parameters ``` this[NavigationMixin.Navigate]({ type: 'comm__namedPage', attributes: { name: 'Register' }, state: { emailParameter: 'email@email.co...
273,275
This question is the extension of [THIS](https://salesforce.stackexchange.com/questions/273172/lightning-recordeditform-getting-error-object-object-for-few-users?noredirect=1#comment412367_273172) question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am ge...
2019/08/12
[ "https://salesforce.stackexchange.com/questions/273275", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/70823/" ]
1. In communities, only `comm__namedPage` page-reference will work. 2. It will navigate to specified community page within community. 3. You have to use component/page inside community page. 4. Although you can pass the parameters through `state`, you cannot get the state from component as it is inside community page. ...
I know this is an old question but still want to share a nice hack for navigating to different pages in community (from LWC) without using navigation mixin. You can simply add the below function onto an event handler (e.g. onclick,onload, etc.) in order to navigate. ``` someFunction(){ let urlString = '/your-page-...
273,275
This question is the extension of [THIS](https://salesforce.stackexchange.com/questions/273172/lightning-recordeditform-getting-error-object-object-for-few-users?noredirect=1#comment412367_273172) question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am ge...
2019/08/12
[ "https://salesforce.stackexchange.com/questions/273275", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/70823/" ]
1. In communities, only `comm__namedPage` page-reference will work. 2. It will navigate to specified community page within community. 3. You have to use component/page inside community page. 4. Although you can pass the parameters through `state`, you cannot get the state from component as it is inside community page. ...
Parikhit's code has a lot of syntax errors (won't run at all) and will not handle the 's' in the url. This is some code that will handle the s by getting the origin url and then tracking on visualforce page and parameters ``` let urlString = window.location.origin+ 'apex/my_Page?param1='; let urlEvent ...
273,275
This question is the extension of [THIS](https://salesforce.stackexchange.com/questions/273172/lightning-recordeditform-getting-error-object-object-for-few-users?noredirect=1#comment412367_273172) question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am ge...
2019/08/12
[ "https://salesforce.stackexchange.com/questions/273275", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/70823/" ]
I came in this answer I think we have one more way to do it. You can pass parameters to the community with the following Page to pass the parameters ``` this[NavigationMixin.Navigate]({ type: 'comm__namedPage', attributes: { name: 'Register' }, state: { emailParameter: 'email@email.co...
I know this is an old question but still want to share a nice hack for navigating to different pages in community (from LWC) without using navigation mixin. You can simply add the below function onto an event handler (e.g. onclick,onload, etc.) in order to navigate. ``` someFunction(){ let urlString = '/your-page-...
273,275
This question is the extension of [THIS](https://salesforce.stackexchange.com/questions/273172/lightning-recordeditform-getting-error-object-object-for-few-users?noredirect=1#comment412367_273172) question. Posting again (with simplified code) as I am blocked in this issue. Even for very simple form as below I am ge...
2019/08/12
[ "https://salesforce.stackexchange.com/questions/273275", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/70823/" ]
I came in this answer I think we have one more way to do it. You can pass parameters to the community with the following Page to pass the parameters ``` this[NavigationMixin.Navigate]({ type: 'comm__namedPage', attributes: { name: 'Register' }, state: { emailParameter: 'email@email.co...
Parikhit's code has a lot of syntax errors (won't run at all) and will not handle the 's' in the url. This is some code that will handle the s by getting the origin url and then tracking on visualforce page and parameters ``` let urlString = window.location.origin+ 'apex/my_Page?param1='; let urlEvent ...
16,720,200
I am new to XSLT and really hoping someone can help me out. I get an XML document from our server and I need to be able to convert this to a CSV file. Here is an example of the XML File: ``` <root> <DataRow> <ColumnName>Value</ColumnName> <ColumnName>Value</ColumnName> <ColumnName>Value</ColumnName> ...
2013/05/23
[ "https://Stackoverflow.com/questions/16720200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1663389/" ]
I was having the same problem, I download and extract boost in /usr/include/boost\_1\_57\_0 then I run ``` sudo apt-get install libboost-all-dev ``` Then in the directory i have the c++ drivers i run ``` sudo scons --extrapath=/usr/include/boost_1_57_0 ```
Im guessing you didnt install the libs, just ran ./b2 rather than ./b2 install Can you try the following? `scons --extrapath="/usr/local/boost_1_51_0/,/usr/local/boost_1_51_0/stage"`
16,720,200
I am new to XSLT and really hoping someone can help me out. I get an XML document from our server and I need to be able to convert this to a CSV file. Here is an example of the XML File: ``` <root> <DataRow> <ColumnName>Value</ColumnName> <ColumnName>Value</ColumnName> <ColumnName>Value</ColumnName> ...
2013/05/23
[ "https://Stackoverflow.com/questions/16720200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1663389/" ]
I was having the same problem, I download and extract boost in /usr/include/boost\_1\_57\_0 then I run ``` sudo apt-get install libboost-all-dev ``` Then in the directory i have the c++ drivers i run ``` sudo scons --extrapath=/usr/include/boost_1_57_0 ```
I solve this problem. In the SCons, the order to test the boost libraries is wrong. Open the SConstruct file and change the following line: ``` boostLibs = [ "regex", "thread", "system" ] ``` to ``` boostLibs = [ "system", "regex", "thread" ] ``` Cheers,