qid int64 1 74.7M | question stringlengths 12 33.8k | date stringlengths 10 10 | metadata list | response_j stringlengths 0 115k | response_k stringlengths 2 98.3k |
|---|---|---|---|---|---|
179,188 | I’m returning to D&D after a VERY long time, and will predominantly be playing solo.
Can you create a character that is an animal? I’m thinking of a cat who is a wizard, possibly because of a spell that went wrong. I’ve started reading the D&D basic rules from 2018 , and can only see four races? The character is/was human, but is stuck in a feline form after a spell that was above their level backfired.
Okay... I played D&D back in the 80s, and got interested again after an artist I dig shared his love of the game. Given the U.K. is going back into lockdown, I wondered if you could do solo adventures. Cats are my favourite animals, and a lot of my own characters (I’m a professional artist) are cat like creatures. A cat like wizard just really appealed to me! So, basically, a cat like human, around 5 feet tall, not a domestic cat. I like the idea of him being grumpy and a bit distracted, like cats can be. He would have good agility and balance, as cats do. Basically thinking it’d be FUN. Another add on is that he could be on a quest to return to human form... | 2021/01/04 | [
"https://rpg.stackexchange.com/questions/179188",
"https://rpg.stackexchange.com",
"https://rpg.stackexchange.com/users/67734/"
] | Akixkisu's excellent [suggestion](https://rpg.stackexchange.com/a/179202/48249) made me think of a couple other possibilities:
Leonin, from [Mythic Odysseys of Theros](https://www.dndbeyond.com/marketplace/sourcebooks/mythic-odysseys-of-theros):
>
> Leonin are proud lion-like hunters, many of whom live in defiance of
> the gods.
>
>
>
Shifter (Swiftstride or Wildhunt) from [Eberron: Rising from the Last War](https://www.dndbeyond.com/sources/erftlw) and [Wayfinder's Guide to Eberron](https://www.dndbeyond.com/sources/wgte):
>
> Swiftstride are often predatory and feline... Wildhunt shifters are
> born from any creature that tracks its prey.
>
>
>
If you want to play as an actual cat, your best bet is probably homebrew. RAW, you may need to resort to Polymorph and/ or Wish. For an example of an animal NPC, you could look to (spoilers for Descent into Avernus):
>
> Traxigor was polymorphed into an otter years ago, and decided he preferred the new form to his original one (that of a wizened old man). His otter form was made permanent by a wish spell. He uses the archmage stat block, but is a Tiny beast with a Strength of 3. His alignment is chaotic good, and he speaks Common, Draconic ...
>
>
> | ### Playing awakened animals isn't possible.
All playable characters are humanoid and either Small or Medium in size. A cat, even a cat given intelligence and the ability to speak with the Awaken spell, is not a viable player character. They're Tiny Beasts, not Humanoids, and rules for them only exist in the form of NPC stat blocks.
Additionally, if an awakened animal such as a cat were to become a Wizard, they would be incapable of casting spells that require Somatic components since they don't have hands.
As a result of these issues, I would recommend that you instead try to play a character who belongs to a cat-like humanoid race, such as a Tabaxi, Leonin, or Shifter, as suggested by other answers. |
179,188 | I’m returning to D&D after a VERY long time, and will predominantly be playing solo.
Can you create a character that is an animal? I’m thinking of a cat who is a wizard, possibly because of a spell that went wrong. I’ve started reading the D&D basic rules from 2018 , and can only see four races? The character is/was human, but is stuck in a feline form after a spell that was above their level backfired.
Okay... I played D&D back in the 80s, and got interested again after an artist I dig shared his love of the game. Given the U.K. is going back into lockdown, I wondered if you could do solo adventures. Cats are my favourite animals, and a lot of my own characters (I’m a professional artist) are cat like creatures. A cat like wizard just really appealed to me! So, basically, a cat like human, around 5 feet tall, not a domestic cat. I like the idea of him being grumpy and a bit distracted, like cats can be. He would have good agility and balance, as cats do. Basically thinking it’d be FUN. Another add on is that he could be on a quest to return to human form... | 2021/01/04 | [
"https://rpg.stackexchange.com/questions/179188",
"https://rpg.stackexchange.com",
"https://rpg.stackexchange.com/users/67734/"
] | Consider the Custom Lineage optional rules
------------------------------------------
[Tasha's Cauldron of Everything](https://www.dndbeyond.com/marketplace/sourcebooks/tashas-cauldron-of-everything) provides the optional rule variant for designing your character's race outside of the standard race options. Essentially you would choose your size (small/medium), a +2 ability bonus, a feat, a skill proficiency/darkvision, and an extra language. If you want your wizard to be catlike due to a magical mishap this might help distinguish you from regular catlike races. | ### Playing awakened animals isn't possible.
All playable characters are humanoid and either Small or Medium in size. A cat, even a cat given intelligence and the ability to speak with the Awaken spell, is not a viable player character. They're Tiny Beasts, not Humanoids, and rules for them only exist in the form of NPC stat blocks.
Additionally, if an awakened animal such as a cat were to become a Wizard, they would be incapable of casting spells that require Somatic components since they don't have hands.
As a result of these issues, I would recommend that you instead try to play a character who belongs to a cat-like humanoid race, such as a Tabaxi, Leonin, or Shifter, as suggested by other answers. |
31,619,313 | I have downloaded **httpd-2.4.16.tar.gz** package from <http://www.apache.org/dist/httpd/>
and extracted on my ubuntu 14.04 LTS two times but i am unable to find **conf** directory so that i configure **httpd.conf** file present in this directory as mentioned in <http://httpd.apache.org/docs/2.4/install.html#customize>
One directory i found in this package at **/docs/conf** but in this package i found **httpd.conf.in** instead of **httpd.conf** is it correct directory for configuration?
Thanks | 2015/07/24 | [
"https://Stackoverflow.com/questions/31619313",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3994589/"
] | >
> Use find /etc -name httpd
>
>
>
This will produce a list of all files within that directory that contain httpd
Or use:
>
> find / -name httpd.conf
>
>
>
which will produce the full path of wherever httpd.conf is situated. | Actually **conf** file appear after installation of apache. I was finding it inside extracted directory of **httpd-2.4.16.tar.gz**. |
71,676 | It doesn't have to be a rock, in fact it would probably be depleted uranium or even some crazy material like neutronium. | 2017/02/19 | [
"https://worldbuilding.stackexchange.com/questions/71676",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/33662/"
] | I am not going to give numbers because the issue is way more complex than it appears, but I will add some factors than seem to have been overlooked.
* First and more important, an object at 0.999999c will not simply travel through space. At that speed, every single atom of matter that it collides with will trigger a nuclear fusion, as it goes so fast that atoms cannot be repelled. A good illustration of that is [XKCD relativistic baseball](https://what-if.xkcd.com/1/).
* As the object approaches the sun, the solar winds will be more intense and concentrated; in fact it would be as if you had a nuclear engine in the entire front of the object, pushing it back. A object that is not dense enough will simply be stopped until it goes at a reasonable speed (0.5c?), the issue would be with a bigger one.
* The relativistic mass of an object at 0.999999c will be 1000 times its rest mass; that will create a 1000 times stronger gravity field that will attract particles toward it (thus slowing it more).
* If the object still impacts the Sun , its influence in it will be related to its cross-section; an object with an small cross section would simply run through it and cause not much of an issue.
So, I see 4 distinct possibilities, each of which depend of lots of unknown factors:
* The object slows enough to become another regular celestial object. It happens if it is relation between its mass and its cross-section is low; because the reactions at the side facing the sun slow it.
* Due to the pressure of the nuclear reaction it its surface, the object breaks in pieces. Collisions between the fragments cause a big explossion that throw the matter of the object in all directions; possible secondary damage due to high velocity debris hitting planets.
* The object reaches the Sun, but it is small enough that the Sun simply "swallows" it. The energy produced by the desintegration of the object just add a few degrees to the Sun temperature.
* The object reaches the Sun, and has a cross section (and mass) enough that a significant part of the Sun gas gets fuses with it. In this case, the Sun does not "explode", but its mass is divided between
+ A part of it that fuses with the object and leaves the system.
+ A part of it that is spent in the increased nuclear reaction.
+ A part of it that is ejected as solar wind.
+ A part of it that remains in place (which might be or might be not capable of sustaining hidrogen fusion). | Fact of the matter is, it isn't force or lack thereof that makes a star go nova. It's a depletion of its 'food source'. A star, in the simplest terms, is a ball of gas that is under such immense pressure that the gas is superheated, and the combination of this and quantum mechanics allows for Hydrogen atoms to fuse and become Helium atoms.
The longer a star lives, the heavier the atoms become (this is how the elements on the Periodic Table of Elements are created). Until a time comes when the star runs out of Hydrogen and starts to swell, becoming a Red Giant. If the host star has planets in near enough orbit, these planets are swallowed by the host star.
Eventually, the star collapses unit its own weight and (as Neil deGrasse-Tyson explained it) spills its enriched guts into the surrounding galaxy **i.e. it goes nova**.
This coalescence of matter, kinetic energy, and all else causes nearby gas clouds to compact and form new stars, and the atoms form the planets that surround it.
For more information, please see [this link](http://www.astro.keele.ac.uk/workx/starlife/StarpageS_26M.html), or google life of a star, or lifecycle of a star, or something similar. |
1,818 | I am used to the fact that when 5 different users edit a question, that is automatically changed to a CW question.
Is this still valid? Does the number of editors include also the OP? | 2011/08/25 | [
"https://english.meta.stackexchange.com/questions/1818",
"https://english.meta.stackexchange.com",
"https://english.meta.stackexchange.com/users/252/"
] | [According to Meta Stack Overflow](https://meta.stackexchange.com/questions/11740/what-are-community-wiki-posts/11741#11741), the automatic triggers for CW conversion include:
>
> * The body of the post has been edited by at least five (5) different users.
> * The post has been edited ten (10) times by the original owner.
> * The question generates more than 30 answers.
>
>
>
Also,
>
> Rollbacks do not reverse any of the Community Wiki mode calculations.
>
>
>
(I don't know for sure that these numbers are valid for us on EL&U or still current.) | At this moment, the question ‘[What is “context specific”?](https://english.stackexchange.com/posts/62085/revisions)’ has exactly five edits by five different users, none by the original poster. It has apparently not changed to a CW question. I think this directly contradicts the documentation in the Meta.SO post [cited by aedia λ](https://english.meta.stackexchange.com/a/1819/14073). |
288,995 | Are both the following sentences correct? If so, what's the difference?
>
> a. Mary has still been lingering in the park since she left the office.
>
>
>
>
> b. Mary is still lingering in the park after she left the office.
>
>
> | 2021/06/14 | [
"https://ell.stackexchange.com/questions/288995",
"https://ell.stackexchange.com",
"https://ell.stackexchange.com/users/3865/"
] | No, neither is quite natural.
>
> Mary is still lingering in the park.
>
>
>
states where she is now, with an element of surprise that she has been there so long. The fact that, earlier, she left the office would be better in a new sentence.
>
> Mary has been lingering in the park since she left the office.
>
>
>
states when the 'lingering' began. *Still* doesn't fit in this sentence. | Both are "correct" and yes, slight differences.
A.) There has been an ongoing discussion the last two weeks about Mary spending time lingering in the park — she was told to stop it or face legal action. But, as evidence shows, she has still been lingering in the park since her firing.
B.) I just looked out the window, since everyone should have gone home from work and sure enough, Mary is still lingering in the park after she left the office. I think she's stalking someone.
Might be best to think about what specific idea you're trying to convey and rewriting it? |
516,225 | In each below, should there be an intervening comma between the two repeated words?
That’s what makes Tony Tony. (what makes Tony who he is.)
That’s what makes her her. (Same logic.)
That’s what makes him him. (Same logic.)
Thanks. | 2019/10/23 | [
"https://english.stackexchange.com/questions/516225",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/40068/"
] | If these two last words at the end of the sentence were different, you wouldn't put a comma in:
>
> That's what makes a house a home.
>
>
>
So you shouldn't put a comma in even if they're identical. | Should there be an intervening comma? Yes.
>
> That’s what makes Tony, Tony.
>
>
>
The *Chicago Manual of Style* (13th ed) says:
>
> For ease of reading, it is sometimes desirable to separate two identical or closely similar words with a comma, even though the sense or grammatical construction does not require such separation:
> "Let us march in, in twos."
> "Whatever is, is good."
> *But:* "He gave his life that that cause might prevail."
> (Source: CMOS, Paragraph 5.56)
>
>
>
Note that the "sense or grammatical construction does not require such separation"; however, the comma provides a small indicator to the reader that there should be a short break (and possibly intonation change) after the first "Tony." |
516,225 | In each below, should there be an intervening comma between the two repeated words?
That’s what makes Tony Tony. (what makes Tony who he is.)
That’s what makes her her. (Same logic.)
That’s what makes him him. (Same logic.)
Thanks. | 2019/10/23 | [
"https://english.stackexchange.com/questions/516225",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/40068/"
] | If these two last words at the end of the sentence were different, you wouldn't put a comma in:
>
> That's what makes a house a home.
>
>
>
So you shouldn't put a comma in even if they're identical. | Either is acceptable in published writing.
I tested this with an analogous set of examples to your own:
>
> (1) That's what makes you you
>
>
> (2) That's what makes you, you
>
>
>
Among the books conforming to (1) are *[Thankless in Death](https://www.google.com/books/edition/Thankless_in_Death/Ra6soCJYiSoC?hl=en&gbpv=1&dq=%22That%27s%20what%20makes%20you%20you%22&pg=PA173&printsec=frontcover)* by J.D. Robb, *[But Don't Call Me White](https://www.google.com/books/edition/But_Don_t_Call_Me_White/ge_NxDNHJ6kC?hl=en&gbpv=1&dq=%22That%27s%20what%20makes%20you%20you%22&pg=PA135&printsec=frontcover)* by Silvia Bettez, and *[The Paris Affair](https://www.google.com/books/edition/The_Paris_Affair/pjBudTWlfBMC?hl=en&gbpv=1&dq=%22That%27s%20what%20makes%20you%20you%22&pg=PT145&printsec=frontcover)* by Teresa Grant.
Meanwhile, the books conforming to (2) include *[Vows](https://www.google.com/books/edition/Vows/Wk5EHClaae0C?hl=en&gbpv=1&dq=%22That%27s%20what%20makes%20you%20you%22&pg=PA235&printsec=frontcover)* by John Porec and *[The Diary of Margaret Evans](https://www.google.com/books/edition/The_Diary_of_Margaret_Evans/X6eaAgAAQBAJ?hl=en&gbpv=1&dq=%22That%27s%20what%20makes%20you%20you%22&pg=PA99&printsec=frontcover)* by Alyanna Tate.
So in practice the usage is up to the editor and writer.
---
*[The Chicago Manual of Style](https://www.chicagomanualofstyle.org/book/ed17/part2/ch06/psec055.html)* (17th edition; may be paywalled) also allows for both. Paragraph 6.55 leaves the clarification up to the editor:
>
> For ease of reading and subject to editorial discretion, two words that are spelled alike but have different functions may be separated by a comma if such clarification seems desirable.
>
>
>
> >
> > Let us march in, in twos.
> >
> >
> > Whatever is, is good.
> >
> >
> >
>
>
> but
>
>
>
> >
> > “It depends on what *means* means.”
> >
> >
> >
>
>
>
Their use of italics suggests an emphatic alternative:
>
> That's what makes Tony *Tony*.
>
>
> |
76,296 | I know that there's a risk of bacteria in any area where you defrost chicken, but what about the chicken itself? Will running water over it (unwrapped) reduce the taste or change the texture? | 2016/12/09 | [
"https://cooking.stackexchange.com/questions/76296",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/6999/"
] | Try mixing up some salt and cayenne powder into an old spice shaker. That should make life easier. Start with a low amount of salt and adjust up to your level of heat. If you end up putting it in a paprika container you may want to label it! | Sprinkling powders or flakes made from hotter types of dried chili pepper (which you need to use if you dont want the end result tasting of paprika) directly over food will end up giving you a rather harsh type of heat.
Consider using a chili-infused oil, or actually cooking a finer ground dried chili in oil for a moment before adding the mixture to the food (be careful with the fumes). Capsaicin is oil soluble and tastes much better to most people if solute in oil.
Be careful experimenting with pure capsaicin (or >>100000 scoville peppers or preparations), it is actually considered a hazardous substance for a reason. |
76,296 | I know that there's a risk of bacteria in any area where you defrost chicken, but what about the chicken itself? Will running water over it (unwrapped) reduce the taste or change the texture? | 2016/12/09 | [
"https://cooking.stackexchange.com/questions/76296",
"https://cooking.stackexchange.com",
"https://cooking.stackexchange.com/users/6999/"
] | Try mixing up some salt and cayenne powder into an old spice shaker. That should make life easier. Start with a low amount of salt and adjust up to your level of heat. If you end up putting it in a paprika container you may want to label it! | There are plenty of hot sauces that really don't taste like much but heat. That won't really have a noticeable texture at all, unless you're putting it on something dry.
Or, you can just get a hot chili powder and either use it by itself or mix it with salt. You might not want it *too* hot, since it's hard to sprinkle perfectly evenly, but in any case you can find a level of heat that works for you. You could also mix it with salt yourself if you like the spicy salt idea, and find a good ratio of salt and heat. Cayenne is probably the most common in the US, but there are plenty of other peppers out there, especially if you start looking at Indian stores. |
40,543 | I have a stereo that I purchased over 15 years ago(rechecked date), and it's kind of bulky but it sounds great to my ears. Is there any technological improvement that might make a new stereo better than this already 6 point surround sound (as far as how it sounds not whether it will receive bluetooth etc..)? Computers obviously are worth buying every 4 years but how can a sound be made better if a stereo is already reproducing the quality that it receives? What about speakers themselves, do newer speakers have improvements somehow that older ones didn't like CPU's having more transistors? | 2016/12/18 | [
"https://sound.stackexchange.com/questions/40543",
"https://sound.stackexchange.com",
"https://sound.stackexchange.com/users/19935/"
] | This is a very opinion-based question and likely to get closed by the adult-supervisors here. But meanwhile....
**Has stereo equipment CHANGED in the last 10 years?** Certainly. It is hard to find any area of technology that has not changed over time.
**Has stereo equipment IMPROVED in the last 10 years?** That is a different question. You could argue that switch-mode power amplifiers (Class-D or Class-T so-called by TriPath) Are practictically overtaking and replacing the old-style linear power amplifier designs. They are cheaper and more efficient, and can be made to perform just as good as linear designs (if maybe even better).
Some "retro" audio gear is experiencing a revival, like vinyl LP discs, etc. And you could argue that with modern technology we can make better black vinyl discs than back when they were the main media.
And some audio gear like reel-to-reel tape is also seeing minor revival interest in people who are fond of that particular kind of distortion.
OTOH there are some modern aspects of audio that seem to be regressing. Most people are listening to music that has been compressed with LOSSY compression (i.e. MP3) Few people anymore hear uncompressed music.
And more people are listening to music on cheap earbuds or lousy plastic toy "computer speakers". | Very few people care about Sound quality anymore. The wider population don't have critical ears and aren't aware of it. Many think beats headphones sound good despite evidence suggesting otherwise. If all people listen to is lossy music on crap gear how will they know any different. As for your 'stereo' it could only be improved if it is a 'seperates' system. Speakers don't improve over time in the same way some wood instruments do. They do change over time though and bed in. This is why it's crucial that if a speaker driver fails you must replace both drivers in each speaker cab not just the failed one. |
23,045 | In the Mistborn books by Brandon Sanderson, the chapters are inter-cut with snippets about the hero of ages and his quest. I've been listening in with Audible to the stories, but I honestly think I'd struggle to piece the information together if I had the books. Has someone summarised the information revealed somewhere?
It's mostly the second book I'm struggling with (which is where I've gotten to), the summary of Alendi, on the mistborn wikia is enough to refresh my memory on the first book snippets.
The thing that confuses me the most, I suppose is pulling apart all the different people talking. *Which is which?* Is there a clear distinction for each book? | 2012/09/05 | [
"https://scifi.stackexchange.com/questions/23045",
"https://scifi.stackexchange.com",
"https://scifi.stackexchange.com/users/3804/"
] | The Final Empire quotes are from
>
> [Alendi's diary](http://coppermind.net/wiki/Alendi%27s_journal) of events up to his death by the Lord Ruler (Rashek)
>
>
>
The Well of Ascension quotes are from
>
> [Kwaan's inscription](http://coppermind.net/wiki/Kwaan%27s_inscription) in the Conventical of Seran (where Sazed and Marsh visit)
>
>
>
The Hero of Ages quotes are from
>
> the [Words of Founding](http://coppermind.net/wiki/Words_of_Founding), the books left behind by Sazed after the Final Ascension, one of the books includes the [letter](http://coppermind.net/wiki/Sazed%27s_note) read by Spook in the epilogue.
>
>
> | In the later Mistborn books, not all of the snippets at the tops of the chapters are from the ancient diary. There are at least two ancient characters and one modern character whose writings appear in those snippets over the course of the series.
And one request - this issue brushes massive spoilers, please be circumspect! |
23,045 | In the Mistborn books by Brandon Sanderson, the chapters are inter-cut with snippets about the hero of ages and his quest. I've been listening in with Audible to the stories, but I honestly think I'd struggle to piece the information together if I had the books. Has someone summarised the information revealed somewhere?
It's mostly the second book I'm struggling with (which is where I've gotten to), the summary of Alendi, on the mistborn wikia is enough to refresh my memory on the first book snippets.
The thing that confuses me the most, I suppose is pulling apart all the different people talking. *Which is which?* Is there a clear distinction for each book? | 2012/09/05 | [
"https://scifi.stackexchange.com/questions/23045",
"https://scifi.stackexchange.com",
"https://scifi.stackexchange.com/users/3804/"
] | The Final Empire quotes are from
>
> [Alendi's diary](http://coppermind.net/wiki/Alendi%27s_journal) of events up to his death by the Lord Ruler (Rashek)
>
>
>
The Well of Ascension quotes are from
>
> [Kwaan's inscription](http://coppermind.net/wiki/Kwaan%27s_inscription) in the Conventical of Seran (where Sazed and Marsh visit)
>
>
>
The Hero of Ages quotes are from
>
> the [Words of Founding](http://coppermind.net/wiki/Words_of_Founding), the books left behind by Sazed after the Final Ascension, one of the books includes the [letter](http://coppermind.net/wiki/Sazed%27s_note) read by Spook in the epilogue.
>
>
> | The snippets in The Final Empire are all from Alendi's diary.
The snippets in The Well of Ascension all come from Kwaan's inscription on the steel plate. |
150,386 | I was recently playing on a factions server, and decided that I needed more money. So I began building an underground sugarcane farm. All was fine until about ten minutes later I noticed the sugarcane still hadn't grown at all. I have the sugarcane on dirt and the room is four blocks high. I waited even longer later and still nothing. Why wont this sugarcane grow?
EDIT: Here is a screenshot:
 | 2014/01/11 | [
"https://gaming.stackexchange.com/questions/150386",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/50580/"
] | It seems that you may be dealing with an instance where the server staff has nerfed sugarcane's growth rate, most likely using a plugin, or the built-in feature of spigot.
This is often done to prevent the price of easily-farm-able goods, like sugarcane, from dropping to rock bottom, or, in the event of a server store, people getting too rich.
Ask the server staff about this, and maybe they will give you some hints for their specific implementation. | Wait for it to grow naturally; don't place it. |
150,386 | I was recently playing on a factions server, and decided that I needed more money. So I began building an underground sugarcane farm. All was fine until about ten minutes later I noticed the sugarcane still hadn't grown at all. I have the sugarcane on dirt and the room is four blocks high. I waited even longer later and still nothing. Why wont this sugarcane grow?
EDIT: Here is a screenshot:
 | 2014/01/11 | [
"https://gaming.stackexchange.com/questions/150386",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/50580/"
] | It seems that you may be dealing with an instance where the server staff has nerfed sugarcane's growth rate, most likely using a plugin, or the built-in feature of spigot.
This is often done to prevent the price of easily-farm-able goods, like sugarcane, from dropping to rock bottom, or, in the event of a server store, people getting too rich.
Ask the server staff about this, and maybe they will give you some hints for their specific implementation. | There are two reasons why the sugarcane might not be growing:
1. The ceiling of the underground plantation is too low
2. The sugarcane needs light
One thing you might want to try is using sand in place of the dirt, because sugarcane can grow on both. If none of these suggestions work, just try your best. :) |
150,386 | I was recently playing on a factions server, and decided that I needed more money. So I began building an underground sugarcane farm. All was fine until about ten minutes later I noticed the sugarcane still hadn't grown at all. I have the sugarcane on dirt and the room is four blocks high. I waited even longer later and still nothing. Why wont this sugarcane grow?
EDIT: Here is a screenshot:
 | 2014/01/11 | [
"https://gaming.stackexchange.com/questions/150386",
"https://gaming.stackexchange.com",
"https://gaming.stackexchange.com/users/50580/"
] | There are two reasons why the sugarcane might not be growing:
1. The ceiling of the underground plantation is too low
2. The sugarcane needs light
One thing you might want to try is using sand in place of the dirt, because sugarcane can grow on both. If none of these suggestions work, just try your best. :) | Wait for it to grow naturally; don't place it. |
4,299 | I bought a vacuum cleaner that came wrapped in several plastic bags. The bags only have one recycling code printed on them, the Japanese *pura* *māku*:

Can these bags be recycled with ♴ or ♶ plastic film in the US? | 2015/02/04 | [
"https://sustainability.stackexchange.com/questions/4299",
"https://sustainability.stackexchange.com",
"https://sustainability.stackexchange.com/users/1013/"
] | Jumping into this late but I couldn't help it because this is what I do for a living (guide major corporations on recycling).
The mark you have simply means that the bag is plastic (it's not identifying which type). As mentioned above, it's the same as SPI codes (the numbers in the chasing arrows). No fee is paid to any organization for use of this code. It's just to help recyclers identify what material they're receiving.
Unfortunately because they didn't call out what type it was, it's not completely knowable. However, plastic bags are generally made with PE (polyethene, either LDPE or HDPE (the LD and HD refer to density levels)). Either way, you can place it in a proper recycling stream (either at a retail location or at a transfer station) and the recyclers can chose to keep it or weed it out.
Hope that helps! | **The symbol**
The symbol you posted (and similar recycling symbols all around the world) could only mean, that some kind of ecological charge was paid by manufacturer and that money is on the other hand given to recycling companies. Nothing else. Some of them does cooperate worldwide and sending/receiving money if the packaging materials are exported/imported, some does not. but the symbol definitely does not say anything about the material form which the plastic bags are made of.
From wikipedia (<https://en.wikipedia.org/wiki/Japanese_recycling_symbols>), this symbol is "Recyclable plastic", usually used with letters bellow depend on plastic type. As is on the picture below.
[](https://i.stack.imgur.com/1j57o.jpg)
**The material**
Actually, you have to decide by yourself if this plastic is possible to recycle, based on the material which it is made from.
Usually plastic bags are from some type of polyethylene, so probably it is possible to recycle it in US as well. It is plastic as any other, does not matter if the US symbol is missing. In Japan they are recycling plastics similarly as in any other country.
For recycling different materials/different plastics it is necessary to always distinguish the material from which it is made from, not if the ecological charge was paid and where.
[](https://i.stack.imgur.com/Il1NP.png)
the numbers and the letters, if used, seems to be the same in whole world.
**... and some fun**
And finally, some fun: It is not possible and definitely not sustainable to re-export the plastic bags back to Japan to be recycled there. :c) |
8,436,844 | I followed the instruction on this page (<http://developers.facebook.com/docs/authentication/>) to add facebook authentication on my web site.
I manage to get it work however, the request for permission window is not the same. the first one is how it's supposed to look like. the second one is what I have.
here's the code i use.
"<https://graph.facebook.com/oauth/authorize?client_id=>{0}& redirect\_uri={1}{2}&scope=email,user\_photos,publish\_stream";

 | 2011/12/08 | [
"https://Stackoverflow.com/questions/8436844",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/817314/"
] | That's the new dialog - if you want to disable that for some reason there's an option in the app settings for 'enabled enhanced auth dialog' - turn it off | Are you sure that you are using the right id from your facebook app? You can find this id here: <https://developers.facebook.com/apps> |
184,697 | We have been noticing black specks that leave a greasy trail when smeared in our bathroom sinks and on dishes washed in the dishwasher in recent weeks. After some research, I find that the 2 main reasons for this are 1) a deteriorating black rubber hose to/from the water heater, and 2) a deteriorating magnesium anode rod in the water heater. I pried open a bit of insulation on the pipes to/from water heater and found that they are either copper or solid plastic pipes. That leaves reason (2). How do I determine if the anode rod in my water heater is magnesium (as opposed to aluminum) without calling a professional? Is it typically written somewhere on the heater? Our heater was replaced in the past 3 years. I'm attaching 2 pictures below showing parts of the top of the heater, one of which seems to be the head of the anode rod (I don't know which one).
[](https://i.stack.imgur.com/rpNV7.jpg)
[](https://i.stack.imgur.com/pH7e1.jpg)
Also, are there any other major causes for the black stuff that I should be looking out for? I find that decaying black rubber hoses is another reason, but the hoses to the sinks in our house look like the picture below, which does not seem to be the flexible black rubber hose that decays. Can anyone confirm?
[](https://i.stack.imgur.com/vreTz.jpg)
Yet another possible reason I find is the decaying inner lining of the water heater expansion tank. Below is a pic of the label on the expansion tank, which I believe was replaced when the heater was replaced in Dec 2017. Does it looks like the kind that has an inner lining that decays quickly?
[](https://i.stack.imgur.com/hY1t0.jpg) | 2020/02/14 | [
"https://diy.stackexchange.com/questions/184697",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/44992/"
] | Water heater anodes usually last about 3 to 5 years or so depending on the chemistry and hardness of your water, so chances are, if your water heater is only 3 years old, that's not the problem. That being said, it wouldn't hurt to take a peek at the anode and make sure it's doing OK.
The top of the anode rod is typically visible on the top of your water heater. It will look kind of like a bolt head on the top of the heater. You should be able to loosen it with a wrench and extract the anode to inspect it and replace it. If you don't see one of those on the top of the heater, the anode might be integrated with the hot water outlet pipe. You can disconnect the pipe and extract the anode that way.
[](https://i.stack.imgur.com/jdSpN.png)
From what I know, magnesium anode rods have a "bump" in the center of the cover nut while aluminum/zinc rods have smooth-faced nuts. I don't know if this is a "universal thing" or it varies from manufacturer to manufacturer, but that has been my experience.
Aluminum:
[](https://i.stack.imgur.com/PEjTd.png)
Magnesium:
[](https://i.stack.imgur.com/SJbZp.png)
Most water heaters have aluminum anodes installed by default from the factory, but it sounds like you may have a magnesium rod and high sulfates in your water. That combination can cause hydrogen sulfides to form as the anode reacts with the water and produces black, oily particles to settle inside the water tank and float through the plumbing in one degree or another.
You might be able to get rid of the black specks by draining or flushing out your water heater (there should be a drain tap a the bottom of the tank that you can hook a garden hose up to) and replacing your magnesium anode with an aluminum or aluminum/zinc anode rod. | A black oily substance in sinks can be caused by hard/caustic water eating away at rubber compounds (washers, gaskets, etc.) in the domestic water system. This could possibly be caused by an anode rod that has been eaten away resulting in higher concentrations of corrosives in the water. However, that's unlikey after only three years but it's not impossible. It's not too difficult to check. Just follow the directions in your user manual or look for instructions on-line. They are usually very accessible from the top of your water heater. But make sure to follow instructions on shutting down the water heater and turning off the water as well as depressurizing the tank.
A more likely scenario is very hard water eating away at those rubber fittings in your faucet and dishwasher. A water softener will probably solve that for you. In the short-term check the washers and O rings in your faucets. Replacing them might buy you some time. |
58,587,101 | I did not understand, which best practices of react component. That's functional base or class base. Please suggestion to me! | 2019/10/28 | [
"https://Stackoverflow.com/questions/58587101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9345764/"
] | You need to dig down more to get the exact knowledge of both the Components as both of them are equally important. Class based components are state based components means you can change the state (data accordingly) but in functional component you cannot do this and whatever is coming in props value you can just show that thus it is called stateless component.You should use functional components if you are writing a presentational component which doesn’t have its own state or needs to access a lifecycle hook. Otherwise you can stick to class components or take a look into the library recompose which allows you to write functional components and enhance them with a state or lifecycle hooks with HOCs!
For more:
<https://medium.com/@Zwenza/functional-vs-class-components-in-react-231e3fbd7108>
<https://programmingwithmosh.com/react/react-functional-components/> | For simple stuff you may want to use Functional components,
but if you want to use state and life cycle methods (component did mount, component did update, component will unmount..) you may want to use Class based components.
Although I recommend you use react hooks, because with them you can write Functional based components with state and life cycle methods - for MUCH cleaner code.
Hope this helps |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Alternative Diet
================
A [red panda](https://en.wikipedia.org/wiki/Red_panda) is kind of like a fox, and eats bamboo. If it had massive dred-tails, it could still catch bamboo. And it would probably still be cute, too.
The [crab-eating fox](https://en.wikipedia.org/wiki/Crab-eating_fox) is a canid closely related to the traditional foxes (genus Vulpes). As its name implies, it gets most of its diet from crustaceans in the wet season, and insects in the dry season, with lizards, eggs, turtles, and fruit thrown in for good measure. This kind of diet is a lot easier with a big tail than chasing rabbits would be. This diet is also pretty similar to what peacocks eat, and they manage it with their own gigantic tails.
Other options could be a badger-like diet that consists of digging things out of holes, or a strict insectivore. A diet based on plants, fruit, insects, fish, shellfish, or carrion or any combination of the above could all work. | Braid/bunch the tails for hunting that way when shit gets real the tails can come apart and get all dramatic while inflicting superficial wounds on everyone involved.
These foxes are clearly already smarter than they should be. Braiding or tying off their dread locks wouldn't be that much of a stretch if I believed that they knew how to make them in the first place. |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Tails that drag behind you are unlikely to be tripped over while chasing something. If that thing gets behind you, causing you to turn around, it has already demonstrated that it is faster or more agile than you are and is going to get away anyway. Yes, there are probably events where the predator needs that maneuverability, but they should be edge cases. You could offset the lost prey percentage by heightening one of their senses vs. a regular fox.
**With that said...** I think it is interesting that I cannot think of another mammal with a hairy tail that allows its tail to drag on the ground. Cats (big and small), dogs (big and small), horses (and related animals), etc. all have hairy tails, but those tails are either short enough to avoid the ground or are held aloft as the animal moves. This suggests that having 9 tails as described would create a host of other issues that are not in your animal's best interest.
Dragging your tail on the ground while walking would get it COVERED in crud all the time. Dirt, mud, algae, moss, fecal matter, bugs, parasites, and any amoeba etc. This would make it highly susceptible to infection and substantially increase its mortality rate; so much so that I would be surprised if a number of parasites DIDN'T adapt specifically to inflict themselves onto this particular animal.
If the tails were cleaned regularly in the typical animal fashion (licking), from a hygiene perspective your fox might as well run with its tongue out licking the ground for all the crud it's going to ingest.
If not cleaned, the tails would quickly take on a LOT more weight and add considerably more drag to your animal - slowing it down and making it less capable as a predator. | perhaps add the stalking issue to the design of the character. if the animal is already matted and grungy i would imagine it being emaciated two, only able to capture specific/easy prey. i can imagine that not only would the tails make the fox more clumsy but also take away from the predators stealth as they would drag the ground. the constant rustling would be an issue to the animal.
but most fox species are opportunistic predators, they take what the can. they scavenge and steal, it a major fox trait. so as oppose to stalking adult rabbit the fox may be more interested in digging defenceless babies out of the nest. or stealing chickens eggs, and meal scraps from other predators.
(great concept you have here. i myself am an artist and am generally wanting to draw a concept of this animal) |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Alternative Diet
================
A [red panda](https://en.wikipedia.org/wiki/Red_panda) is kind of like a fox, and eats bamboo. If it had massive dred-tails, it could still catch bamboo. And it would probably still be cute, too.
The [crab-eating fox](https://en.wikipedia.org/wiki/Crab-eating_fox) is a canid closely related to the traditional foxes (genus Vulpes). As its name implies, it gets most of its diet from crustaceans in the wet season, and insects in the dry season, with lizards, eggs, turtles, and fruit thrown in for good measure. This kind of diet is a lot easier with a big tail than chasing rabbits would be. This diet is also pretty similar to what peacocks eat, and they manage it with their own gigantic tails.
Other options could be a badger-like diet that consists of digging things out of holes, or a strict insectivore. A diet based on plants, fruit, insects, fish, shellfish, or carrion or any combination of the above could all work. | Ninetails holds onto the other tails with its real tail when it hunts, allowing it to maneuver however it wants to without a big problem. The tails also show superiority to its prey when it gets near, releasing the tails and intimidating them. Just an idea. |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Alternative Diet
================
A [red panda](https://en.wikipedia.org/wiki/Red_panda) is kind of like a fox, and eats bamboo. If it had massive dred-tails, it could still catch bamboo. And it would probably still be cute, too.
The [crab-eating fox](https://en.wikipedia.org/wiki/Crab-eating_fox) is a canid closely related to the traditional foxes (genus Vulpes). As its name implies, it gets most of its diet from crustaceans in the wet season, and insects in the dry season, with lizards, eggs, turtles, and fruit thrown in for good measure. This kind of diet is a lot easier with a big tail than chasing rabbits would be. This diet is also pretty similar to what peacocks eat, and they manage it with their own gigantic tails.
Other options could be a badger-like diet that consists of digging things out of holes, or a strict insectivore. A diet based on plants, fruit, insects, fish, shellfish, or carrion or any combination of the above could all work. | perhaps add the stalking issue to the design of the character. if the animal is already matted and grungy i would imagine it being emaciated two, only able to capture specific/easy prey. i can imagine that not only would the tails make the fox more clumsy but also take away from the predators stealth as they would drag the ground. the constant rustling would be an issue to the animal.
but most fox species are opportunistic predators, they take what the can. they scavenge and steal, it a major fox trait. so as oppose to stalking adult rabbit the fox may be more interested in digging defenceless babies out of the nest. or stealing chickens eggs, and meal scraps from other predators.
(great concept you have here. i myself am an artist and am generally wanting to draw a concept of this animal) |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Why not real tails? Yes, you'll need to think some about attachment points. But it would also allow you musculature which will make the tails much more maneuverable.
For the actual question: the same way that peacocks avoid their predators, they just have to deal with the problems caused by their tails. May result in behavioral changes; ie: make them more likely to lay in wait / ambush, than to actively pursue their prey.
Have you considered making this a sex-linked trait; as it is for peacocks? Another example; moose/deer have massive antlers (which get caught in trees and other obstacles and end up killing more than a few of them), etc. Typically you give these traits to males, as they're the more disposable of the sexes. Even if you kill off 10% (or much larger %) of the males, you don't decrease the number of animals in the next generation. | perhaps add the stalking issue to the design of the character. if the animal is already matted and grungy i would imagine it being emaciated two, only able to capture specific/easy prey. i can imagine that not only would the tails make the fox more clumsy but also take away from the predators stealth as they would drag the ground. the constant rustling would be an issue to the animal.
but most fox species are opportunistic predators, they take what the can. they scavenge and steal, it a major fox trait. so as oppose to stalking adult rabbit the fox may be more interested in digging defenceless babies out of the nest. or stealing chickens eggs, and meal scraps from other predators.
(great concept you have here. i myself am an artist and am generally wanting to draw a concept of this animal) |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Maybe I'm not understanding the question.
Tails are critical in hunting as counter-torsion devices allowing a hunter to adjust its ground contact for rapid acceleration changes. That is, tails let you turn and stop fast. You can read anything by Patel for more deep details.
If the nine tails work synchronously, you have a regular tail. If they fan out, you have a strong windbreak or flying wing. If you had an ambush predator against flying prey, this would give amazing acrobatics. Also, if you are against small prey, tails could stun prey on a near miss, much as bats bounce insects off the stomach.
And tails can be prehensile...
===
Patel, Amir, and M. Braae. "Rapid turning at high-speed: Inspirations from the cheetah's tail." 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems. IEEE, 2013.
Patel, Amir, and Edward Boje. "On the conical motion and aerodynamics of the cheetah tail." Robotics: Science and Systems Workshop on “Robotic Uses for Tails. 2015. | Braid/bunch the tails for hunting that way when shit gets real the tails can come apart and get all dramatic while inflicting superficial wounds on everyone involved.
These foxes are clearly already smarter than they should be. Braiding or tying off their dread locks wouldn't be that much of a stretch if I believed that they knew how to make them in the first place. |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | perhaps add the stalking issue to the design of the character. if the animal is already matted and grungy i would imagine it being emaciated two, only able to capture specific/easy prey. i can imagine that not only would the tails make the fox more clumsy but also take away from the predators stealth as they would drag the ground. the constant rustling would be an issue to the animal.
but most fox species are opportunistic predators, they take what the can. they scavenge and steal, it a major fox trait. so as oppose to stalking adult rabbit the fox may be more interested in digging defenceless babies out of the nest. or stealing chickens eggs, and meal scraps from other predators.
(great concept you have here. i myself am an artist and am generally wanting to draw a concept of this animal) | Braid/bunch the tails for hunting that way when shit gets real the tails can come apart and get all dramatic while inflicting superficial wounds on everyone involved.
These foxes are clearly already smarter than they should be. Braiding or tying off their dread locks wouldn't be that much of a stretch if I believed that they knew how to make them in the first place. |
59,396 | Need ideas for the fox's tails. In case you're wondering, this is for a speculative evolution book I'm doing which is suppose to build a structure for a novel series about these foxes (something like Watership Down or Warrior cats).
To start the extra tails are actually massive dreads of matted fur extending from the hindquarter which are religiously groomed and stretched with teeth and tongue to resemble a real tail.
At the base of the tails there are long, thick hairs which are similar to spines of a hedgehog or a porcupine which help erect them as the fox flares the tails up in a shimmering fan position, which helps with both sexual display and aposematic display.
While for some species, they are used for shade for desert species, as a blanket for extra warmth for both tundra and mountain species, as a form of hierarchy for pack-hunting ones, balance and for one cat-sized species that lives in the swamps whose tips of their tails have been stiffen and tangled with insects to help lure in fish near the water, like a fishing rod.
The problem is that the tails could be a nuisance when stalking, pouncing or chasing after prey as the fox could easily trick over of the tails.
Any ideas to overcome this handicap?
Other question is how long the tails should be?
Pouncing on prey has already been solved thanks to IndigoFenix's help (thanks for that) and also has running thanks to GrinningX. All is left is stalking
[](https://i.stack.imgur.com/xWEim.png) Something like this
Copyright belongs to <http://arvalis.deviantart.com/art/Ninetales-582816024> | 2016/10/24 | [
"https://worldbuilding.stackexchange.com/questions/59396",
"https://worldbuilding.stackexchange.com",
"https://worldbuilding.stackexchange.com/users/26561/"
] | Alternative Diet
================
A [red panda](https://en.wikipedia.org/wiki/Red_panda) is kind of like a fox, and eats bamboo. If it had massive dred-tails, it could still catch bamboo. And it would probably still be cute, too.
The [crab-eating fox](https://en.wikipedia.org/wiki/Crab-eating_fox) is a canid closely related to the traditional foxes (genus Vulpes). As its name implies, it gets most of its diet from crustaceans in the wet season, and insects in the dry season, with lizards, eggs, turtles, and fruit thrown in for good measure. This kind of diet is a lot easier with a big tail than chasing rabbits would be. This diet is also pretty similar to what peacocks eat, and they manage it with their own gigantic tails.
Other options could be a badger-like diet that consists of digging things out of holes, or a strict insectivore. A diet based on plants, fruit, insects, fish, shellfish, or carrion or any combination of the above could all work. | Tails that drag behind you are unlikely to be tripped over while chasing something. If that thing gets behind you, causing you to turn around, it has already demonstrated that it is faster or more agile than you are and is going to get away anyway. Yes, there are probably events where the predator needs that maneuverability, but they should be edge cases. You could offset the lost prey percentage by heightening one of their senses vs. a regular fox.
**With that said...** I think it is interesting that I cannot think of another mammal with a hairy tail that allows its tail to drag on the ground. Cats (big and small), dogs (big and small), horses (and related animals), etc. all have hairy tails, but those tails are either short enough to avoid the ground or are held aloft as the animal moves. This suggests that having 9 tails as described would create a host of other issues that are not in your animal's best interest.
Dragging your tail on the ground while walking would get it COVERED in crud all the time. Dirt, mud, algae, moss, fecal matter, bugs, parasites, and any amoeba etc. This would make it highly susceptible to infection and substantially increase its mortality rate; so much so that I would be surprised if a number of parasites DIDN'T adapt specifically to inflict themselves onto this particular animal.
If the tails were cleaned regularly in the typical animal fashion (licking), from a hygiene perspective your fox might as well run with its tongue out licking the ground for all the crud it's going to ingest.
If not cleaned, the tails would quickly take on a LOT more weight and add considerably more drag to your animal - slowing it down and making it less capable as a predator. |
68,987 | The definitions are quite similar, but what are the differences in meaning between them, exactly?
>
> [cunning](http://oxforddictionaries.com/definition/cunning?q=cunning): having or showing skill in achieving one’s ends by deceit or evasion
>
>
> [crafty](http://oxforddictionaries.com/definition/crafty?q=crafty): clever at achieving one’s aims by indirect or deceitful methods
>
>
> [wily](http://oxforddictionaries.com/definition/wily?q=wily): skilled at gaining an advantage, especially deceitfully
>
>
> | 2012/05/25 | [
"https://english.stackexchange.com/questions/68987",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/16833/"
] | The differences are indeed very subtle. I would say *cunning* usually denotes uncommon intelligence; *crafty* usually denotes uncommon creativity; and *wily* usually denotes uncommon skill.
Of the three, *crafty* has the weakest, most lightweight connotation. Someone who is *cunning* might also be described as brilliant. Someone who is *wily* may not be particularly smart or ingenious in a conventional sense; they may have developed their skill through sheer experience, or they may have strong "street sense". | Webster's Dictionary of Synonyms says all the terms (along with sly, tricky, foxy, insidious, guileful and artful) are comparable when they mean having or showing a disposition to attain one's ends by devious or indirect means.
*Cunning* stresses the use of intelligence in circumventing; it often suggests sly inventiveness rather than a high-grade mentality, and a perverted sense of morality.
*Crafty* also implies a use of intelligence but it usually suggests a higher order of mentality than *cunning*.
*Wily* (and *guileful*) stress an attempt to ensnare or entrap; they usually imply treacherous astuteness or sagacity and a lack of scruples regarding the means to one's end. |
68,987 | The definitions are quite similar, but what are the differences in meaning between them, exactly?
>
> [cunning](http://oxforddictionaries.com/definition/cunning?q=cunning): having or showing skill in achieving one’s ends by deceit or evasion
>
>
> [crafty](http://oxforddictionaries.com/definition/crafty?q=crafty): clever at achieving one’s aims by indirect or deceitful methods
>
>
> [wily](http://oxforddictionaries.com/definition/wily?q=wily): skilled at gaining an advantage, especially deceitfully
>
>
> | 2012/05/25 | [
"https://english.stackexchange.com/questions/68987",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/16833/"
] | The differences are indeed very subtle. I would say *cunning* usually denotes uncommon intelligence; *crafty* usually denotes uncommon creativity; and *wily* usually denotes uncommon skill.
Of the three, *crafty* has the weakest, most lightweight connotation. Someone who is *cunning* might also be described as brilliant. Someone who is *wily* may not be particularly smart or ingenious in a conventional sense; they may have developed their skill through sheer experience, or they may have strong "street sense". | Cunningness based on acquiring circumstantial favour by means of deceit even creating harms to others.
Intelligence is based on genuine methods applicable to attain the goal.
Clever is he who creat a situation or circumstance with mathematical means to get work done. |
68,987 | The definitions are quite similar, but what are the differences in meaning between them, exactly?
>
> [cunning](http://oxforddictionaries.com/definition/cunning?q=cunning): having or showing skill in achieving one’s ends by deceit or evasion
>
>
> [crafty](http://oxforddictionaries.com/definition/crafty?q=crafty): clever at achieving one’s aims by indirect or deceitful methods
>
>
> [wily](http://oxforddictionaries.com/definition/wily?q=wily): skilled at gaining an advantage, especially deceitfully
>
>
> | 2012/05/25 | [
"https://english.stackexchange.com/questions/68987",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/16833/"
] | Webster's Dictionary of Synonyms says all the terms (along with sly, tricky, foxy, insidious, guileful and artful) are comparable when they mean having or showing a disposition to attain one's ends by devious or indirect means.
*Cunning* stresses the use of intelligence in circumventing; it often suggests sly inventiveness rather than a high-grade mentality, and a perverted sense of morality.
*Crafty* also implies a use of intelligence but it usually suggests a higher order of mentality than *cunning*.
*Wily* (and *guileful*) stress an attempt to ensnare or entrap; they usually imply treacherous astuteness or sagacity and a lack of scruples regarding the means to one's end. | Cunningness based on acquiring circumstantial favour by means of deceit even creating harms to others.
Intelligence is based on genuine methods applicable to attain the goal.
Clever is he who creat a situation or circumstance with mathematical means to get work done. |
28,452,994 | I have to implement the layout of a single screen, which is not connected to the overall app flow, and I was wondering if it makes sense to use a Storyboard.
Storyboards make sense for flow/navigation (multiple controller), have some convenient features like, iirc prototype cells which are not available in xib. And it also makes sense if I think maybe later the screen may become a "story" (more view controllers). But none of this advantages are useful for my particular case.
I was thinking anyways in using Storyboard, as it seems to be a bit more flexible than xib generally, but is there any disadvantage? Maybe performance penalty or such? Is there a preferred way to setup single view controller? | 2015/02/11 | [
"https://Stackoverflow.com/questions/28452994",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/930450/"
] | Go ahead..take the advantages of using storyboard. There is no disadvantages or performance issues particular to storyboards when compared to xib files. Its all about your convenience. As you said the single view controller may become a story in future, then the storyboard would be a right decision. And when to use xib? thats upto you, one ideal situation where i will choose xib is, if i have an independent controller that i want to share with other project also then i would choose xib. | The performance penalty would only bother under the circumstance which too many controllers (more than 10) with segues were squeezed in one Storyboard. Everything would be totally fine before that. |
28,452,994 | I have to implement the layout of a single screen, which is not connected to the overall app flow, and I was wondering if it makes sense to use a Storyboard.
Storyboards make sense for flow/navigation (multiple controller), have some convenient features like, iirc prototype cells which are not available in xib. And it also makes sense if I think maybe later the screen may become a "story" (more view controllers). But none of this advantages are useful for my particular case.
I was thinking anyways in using Storyboard, as it seems to be a bit more flexible than xib generally, but is there any disadvantage? Maybe performance penalty or such? Is there a preferred way to setup single view controller? | 2015/02/11 | [
"https://Stackoverflow.com/questions/28452994",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/930450/"
] | The performance penalty would only bother under the circumstance which too many controllers (more than 10) with segues were squeezed in one Storyboard. Everything would be totally fine before that. | And if you have more than two people are trying to edit same storyboard file than you have to resolve conflict, which will be more tedious job.
Storyboard benefits:
a. easy demo purpose and fast implementation.
b. small team like two person.
c. Storyboard is providing complete view and navigation model.
XIB benefits:
a. You can modularize your code.
b. More people can work on different-different controller without affecting your xib or code. |
28,452,994 | I have to implement the layout of a single screen, which is not connected to the overall app flow, and I was wondering if it makes sense to use a Storyboard.
Storyboards make sense for flow/navigation (multiple controller), have some convenient features like, iirc prototype cells which are not available in xib. And it also makes sense if I think maybe later the screen may become a "story" (more view controllers). But none of this advantages are useful for my particular case.
I was thinking anyways in using Storyboard, as it seems to be a bit more flexible than xib generally, but is there any disadvantage? Maybe performance penalty or such? Is there a preferred way to setup single view controller? | 2015/02/11 | [
"https://Stackoverflow.com/questions/28452994",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/930450/"
] | Go ahead..take the advantages of using storyboard. There is no disadvantages or performance issues particular to storyboards when compared to xib files. Its all about your convenience. As you said the single view controller may become a story in future, then the storyboard would be a right decision. And when to use xib? thats upto you, one ideal situation where i will choose xib is, if i have an independent controller that i want to share with other project also then i would choose xib. | And if you have more than two people are trying to edit same storyboard file than you have to resolve conflict, which will be more tedious job.
Storyboard benefits:
a. easy demo purpose and fast implementation.
b. small team like two person.
c. Storyboard is providing complete view and navigation model.
XIB benefits:
a. You can modularize your code.
b. More people can work on different-different controller without affecting your xib or code. |
756,343 | I'm in the process of doing some identity consolidation, so I'm providing URLs to me at various locations on the internet. I'm quite active on IRC, so this naturally lead me to wonder whether there was a way to provide a link to my IRC presence.
This lead to me finding <http://www.w3.org/Addressing/draft-mirashi-url-irc-01.txt> which appears to be a draft of an RFC for associating URLs with IRC, which suggests that I would be
irc://irc.freenode.net/DRMacIver,isnick
Which seems a little on the lame side. Further, this RFC draft has very thoroughly expired (February 28 1997). On the other hand it seems to be implemented in chatzilla at least:
<http://www.mozilla.org/projects/rt-messaging/chatzilla/irc-urls.html>
So does anyone know if there's a superseding RFC and/or any other de facto standard for this? | 2009/04/16 | [
"https://Stackoverflow.com/questions/756343",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/71627/"
] | I've been an IRC user for many years and I have never heard of any standards that allow you to do this (other than the RFC you mentioned).
I've always found IRC a very tricky place to keep track of users since it is such a simple thing to set up a bouncer and change your ident so easily. | There's a newer draft <https://datatracker.ietf.org/doc/html/draft-butcher-irc-url-04> that looks like it's basically the same except using isuser instead of isnick. It seems that isnick is more widely supported so it's probably better to use that. |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | See: <http://clang.llvm.org/>
It has both a C++ and a C interface (libclang). | If you want to parse C or C++ code, there are some options:
<http://bellard.org/tcc/>
http://students.ceid.upatras.gr/~sxanth/ncc/
If you want to create a parser using C/C++, you can try:
<http://boost-spirit.com/home/>
http://dinosaur.compilertools.net/ Lex and Yacc
<http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c12805> Flex and Bison |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | If you want to parse C or C++ code, there are some options:
<http://bellard.org/tcc/>
http://students.ceid.upatras.gr/~sxanth/ncc/
If you want to create a parser using C/C++, you can try:
<http://boost-spirit.com/home/>
http://dinosaur.compilertools.net/ Lex and Yacc
<http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c12805> Flex and Bison | If you're feeling brave the links in the answer to "[is there a yacc-able C++ grammar?](http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11)" might be helpful. Gcc-xml and clang have already been suggested and [Swig also has an XML output](http://www.rexx.com/~dkuhlman/swigxml.html) which depending on what you're trying to achieve might be relevant. |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | Our [C++ Front End](http://www.semanticdesigns.com/Products/FrontEnds/CppFrontEnd.html) is able to parse a variety of C++ dialects (ANSI, GCC, MSVS), automatically builds ASTs whose nodes are marked with precise source positions and are decorated with any nearby comment text, and builds a full symbol table. (EDIT Jan 2013: the C++ front end has been able to handle C++11 for quite awhile now).
The C++ front end is built on top of our [DMS Software Reengineering Toolkit](http://www.semanticdesigns.com/Products/DMS/DMSToolkit.html), generalized compiler technology for program analysis and transformation, designed to support custom tool building. The C++ front end includes a preprocessor, in which the preprocessor directives can be expanded or not collectively or individually as appropriate for the task. It also includes full symbol construction with all the nasty Koenig lookup stuff.
DMS accepts explicit language definitions (that's how it understands C++; there are also fron ends for C, C#, Java, COBOL, and variety of other languages). DMS provides general parsing, symbol table building, flow analysis machinery, procedural APIs for tree navigation/inspection/modification, source-to-source transformation, and AST-to-source text regeneration including the original comments, number radices, etc. All of these capabilities are available for use by the C++ Front End.
DMS is also designed to handle the scale required for serious tasks. Often you need not just *one* compilation unit (which is what GCC will give you at best) but access to an entire set. DMS has been used to analyze/transform thousands of C++ compilation units, and literally tens of thousands of C compilation units (on a 25 million line application).
"Easy to use library" is an oxymoron when it comes to program manipulation tools. The langauges themselves are complex (C++ being one of the most difficult and getting worse with C++0X) and that induces complexity in the nature of the questions you can ask and what the answers look like (e.g. "are there any template instantions that can modify local variable X in method Y in class C in any namespace N?"). The questions themselves are hard.
What you want is a library with the *necessary* complexity to let you carry off your task. DMS has been under continuous development for the last 15 years, to provide that necessary complexity. If you want to do serious program processing, I claim you will need that information.
As proof, DMS has been used to carry out massive automated reengineering of C++-based mission avionics software for Boeing. I don't believe there are any other tools that can do this. (Clang looks to be trying, but only for C++. YMMV). | I did not try it, but I think that best choice will be getting modules for parsing from some popular open source compiler like [gcc](http://gcc.gnu.org/) for C++;
Maybe you'll find something interesting here <http://www.nobugs.org/developer/parsingcpp/> |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | C++ parsing is famously hard. AFAIK there are only three parsers that are acceptable by todays standards: EDG (widely used as a frontend in popular C++ compilers), GCC's and Microsoft's. And apparently, Microsoft has started using EDG's parser in VS2010, for Intellisense.
When you're looking at the free options, you're pretty much stuck at GCC. It can produce XML, though, so the easy part is there. (Easy by C++ parsing standards, that is) | Clang is the most up-to-date and mature option, with a decent C++ API (but no plain C). Elsa is a bit out of date and unmaintained, but still a usable choice. Both could be used as libraries as well as standalone XML frontends. |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | C++ parsing is famously hard. AFAIK there are only three parsers that are acceptable by todays standards: EDG (widely used as a frontend in popular C++ compilers), GCC's and Microsoft's. And apparently, Microsoft has started using EDG's parser in VS2010, for Intellisense.
When you're looking at the free options, you're pretty much stuck at GCC. It can produce XML, though, so the easy part is there. (Easy by C++ parsing standards, that is) | If you're feeling brave the links in the answer to "[is there a yacc-able C++ grammar?](http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11)" might be helpful. Gcc-xml and clang have already been suggested and [Swig also has an XML output](http://www.rexx.com/~dkuhlman/swigxml.html) which depending on what you're trying to achieve might be relevant. |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | C++ parsing is famously hard. AFAIK there are only three parsers that are acceptable by todays standards: EDG (widely used as a frontend in popular C++ compilers), GCC's and Microsoft's. And apparently, Microsoft has started using EDG's parser in VS2010, for Intellisense.
When you're looking at the free options, you're pretty much stuck at GCC. It can produce XML, though, so the easy part is there. (Easy by C++ parsing standards, that is) | I did not try it, but I think that best choice will be getting modules for parsing from some popular open source compiler like [gcc](http://gcc.gnu.org/) for C++;
Maybe you'll find something interesting here <http://www.nobugs.org/developer/parsingcpp/> |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | See: <http://clang.llvm.org/>
It has both a C++ and a C interface (libclang). | Our [C++ Front End](http://www.semanticdesigns.com/Products/FrontEnds/CppFrontEnd.html) is able to parse a variety of C++ dialects (ANSI, GCC, MSVS), automatically builds ASTs whose nodes are marked with precise source positions and are decorated with any nearby comment text, and builds a full symbol table. (EDIT Jan 2013: the C++ front end has been able to handle C++11 for quite awhile now).
The C++ front end is built on top of our [DMS Software Reengineering Toolkit](http://www.semanticdesigns.com/Products/DMS/DMSToolkit.html), generalized compiler technology for program analysis and transformation, designed to support custom tool building. The C++ front end includes a preprocessor, in which the preprocessor directives can be expanded or not collectively or individually as appropriate for the task. It also includes full symbol construction with all the nasty Koenig lookup stuff.
DMS accepts explicit language definitions (that's how it understands C++; there are also fron ends for C, C#, Java, COBOL, and variety of other languages). DMS provides general parsing, symbol table building, flow analysis machinery, procedural APIs for tree navigation/inspection/modification, source-to-source transformation, and AST-to-source text regeneration including the original comments, number radices, etc. All of these capabilities are available for use by the C++ Front End.
DMS is also designed to handle the scale required for serious tasks. Often you need not just *one* compilation unit (which is what GCC will give you at best) but access to an entire set. DMS has been used to analyze/transform thousands of C++ compilation units, and literally tens of thousands of C compilation units (on a 25 million line application).
"Easy to use library" is an oxymoron when it comes to program manipulation tools. The langauges themselves are complex (C++ being one of the most difficult and getting worse with C++0X) and that induces complexity in the nature of the questions you can ask and what the answers look like (e.g. "are there any template instantions that can modify local variable X in method Y in class C in any namespace N?"). The questions themselves are hard.
What you want is a library with the *necessary* complexity to let you carry off your task. DMS has been under continuous development for the last 15 years, to provide that necessary complexity. If you want to do serious program processing, I claim you will need that information.
As proof, DMS has been used to carry out massive automated reengineering of C++-based mission avionics software for Boeing. I don't believe there are any other tools that can do this. (Clang looks to be trying, but only for C++. YMMV). |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | See: <http://clang.llvm.org/>
It has both a C++ and a C interface (libclang). | C++ parsing is famously hard. AFAIK there are only three parsers that are acceptable by todays standards: EDG (widely used as a frontend in popular C++ compilers), GCC's and Microsoft's. And apparently, Microsoft has started using EDG's parser in VS2010, for Intellisense.
When you're looking at the free options, you're pretty much stuck at GCC. It can produce XML, though, so the easy part is there. (Easy by C++ parsing standards, that is) |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | Clang is the most up-to-date and mature option, with a decent C++ API (but no plain C). Elsa is a bit out of date and unmaintained, but still a usable choice. Both could be used as libraries as well as standalone XML frontends. | If you're feeling brave the links in the answer to "[is there a yacc-able C++ grammar?](http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.11)" might be helpful. Gcc-xml and clang have already been suggested and [Swig also has an XML output](http://www.rexx.com/~dkuhlman/swigxml.html) which depending on what you're trying to achieve might be relevant. |
4,593,732 | I need a good, stable and, maybe, easy to use C++ parser library with C/C++ interface (C is preferred).
I hear that cint is good c++ interpreter. Can I use it (or some part of it) for this purpose?
Any suggestions? | 2011/01/04 | [
"https://Stackoverflow.com/questions/4593732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556119/"
] | If you want to parse C or C++ code, there are some options:
<http://bellard.org/tcc/>
http://students.ceid.upatras.gr/~sxanth/ncc/
If you want to create a parser using C/C++, you can try:
<http://boost-spirit.com/home/>
http://dinosaur.compilertools.net/ Lex and Yacc
<http://www.codeguru.com/csharp/.net/net_general/patterns/article.php/c12805> Flex and Bison | I don't know for cint, but I heard people use [gcc-xml](http://www.gccxml.org) for this.
I have been looking for a good stand-alone library too, but haven't found any. |
11,563 | Will I lose US Green Card if applying for Italian Elective residence visa?
The Italian Elective Residence Visa is for foreigners – retired persons, persons with high self-sustaining incomes and financial assets - who have chosen Italy as the country of permanent residence. | 2017/07/30 | [
"https://expatriates.stackexchange.com/questions/11563",
"https://expatriates.stackexchange.com",
"https://expatriates.stackexchange.com/users/13239/"
] | The US Green Card is an immigration permit, meaning it allows you to move into the US permanently. If you decide to move somewhere else permanently, you are considered to have abandoned your US immigration plans, as you cannot be a permanent resident in two places.
Technically, if you are outside of the US for more than a year, you are considered to have abandoned your Green Card, unless you have special reasons and apply for an exception *upfront*. But even shorter times might be considered an abandonment: USCIS says (<https://www.uscis.gov/green-card/after-green-card-granted/maintaining-permanent-residence>): *"You may also lose your permanent resident status by intentionally abandoning it. You may be found to have abandoned your status if you: Move to another country, intending to live there permanently."*
Applying for an Italian permanent residence permit could well be considered as *'intending to live there permanently'*, and there's little to argue with that.
So, yes, you'll probably lose the Green Card. You can always apply again for it, if you change your mind again, but there is no guarantee that you get one again.
If you lived in the US five full years on the Green Card, you can apply for Citizenship. Once you are an American Citizen, you can move permanently to Italy without the risk of losing it. | A US permanent resident is required to maintain residence in the US. Whether a person has abandoned residence is determined subjectively by looking at many factors, including time out of the US, pattern of previous absences, whether the person maintained access to a home in the US, whether the person had family in the US, whether the person maintained accounts in the US and filed taxes in the US if they had income (as a permanent resident is a resident alien no matter where they are), whether the intended activity abroad had a fixed termination date instead of being open-ended, whether the failure to return sooner was due to circumstances beyond the person's control, etc. There is no one factor (e.g. length of absence) that can absolutely say whether the person has abandoned residence or not (i.e. there is no length of absence above which absolutely means the person has abandoned residence, and no length of absence below which the person has absolutely maintained residence).
There is no rule that having permanent resident status in another country necessarily precludes maintaining residence in the US -- it depends on what the person actually does with respect to residing in the US. The issue may be that the other country may require that their permanent residents spend a certain amount of time in that country (I am not sure what Italy requires), in which case it may be difficult to maintain permanent residence in both the US and that country. But even if the other country has such a rule, it is still not true that getting that country's permanent residency affects the person's US permanent residency, because the person might end up spending most of their time in the US and eventually lose the other country's permanent residency. Depending on the country, it's also possible that the other country doesn't require permanent residents to spend a certain amount of time in that country, or allow it to be spent in the US in certain circumstances (e.g. I know Canadian permanent residents can maintain residence abroad if they are living with a Canadian citizen spouse), in which case it may be possible to maintain both countries' permanent residency. So in conclusion, it's not the act of getting permanent residency that matters, but rather the overall actions of the person with respect to residence in the US. |
24,720,825 | I have the following problem:
Using Arduino 1.5.7 and Yun with OpenWrt 1.2 I can upload my sketch via USB and see my sketch working via serial monitor. However when I disconnect the usb connection then i can not connect the serial monitor anymore
>
> error: Unable to connect: is the sketch using the bridge?
>
>
>
and my sketch (Adding Data to Google Spreadsheet viaTemboo) is not working. I tried a example sketch (Bridge/Temboo/SendAnEmail) same result.
The sketch is only working when the Port is set to the USB connection dev/cu/usbmodem1411 (Arduino Yun). What am I doing wrong (I'm quite new to the Yun)? I can connect to the Yun Configuration Page - so the Wifi part must be working. | 2014/07/13 | [
"https://Stackoverflow.com/questions/24720825",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3700024/"
] | I work at Temboo.
Our examples assume that you're connecting to your Arduino board via USB. If you're not, you can make a simple modification to your sketch code so that it will run over Wifi. Here's a tutorial showing you what you need to do:
<https://www.temboo.com/arduino/yun/serial-to-console>
Please don't hesitate to get in touch if you have any further questions: support@temboo.com | Sounds similar to what i experienced.
During boot the Arduino bootloader is looking for updates via the serial port. However if the RX ping is not connected to anything, it sees garbage data and sits there indefinitely waiting for an update that will never come. Just stick a 10k resistor across the RX and TX connections (ie: digital pins 0 and 1) or from RX to GND. |
1,870 | From the help center:
>
> **What are comments?**
>
>
> Comments are temporary "Post-It" notes left on a question or answer. They can be up-voted (but not down-voted) and flagged, but do not generate reputation. There's no revision history, and when they are deleted they're gone for good.
>
>
> [...]
>
>
> **When should I comment?**
>
>
> You should submit a comment if you want to:
>
>
> * Request clarification from the author;
> * Leave constructive criticism that guides the author in improving the post;
> * Add relevant but minor or transient information to a post (e.g. a link to a related question, or an alert to the author that the question has been updated)."
>
>
> [...]
>
>
> **When *shouldn't* I comment?**
>
>
> Comments are not recommended for any of the following:
>
>
> * Suggesting corrections that don't fundamentally change the meaning of the post; instead, make or suggest an edit;
> * Answering a question or providing an alternate solution to an existing answer; instead, post an actual answer (or edit to expand an
> existing one);
> * Compliments which do not add new information ("+1, great answer!"); instead, up-vote it and pay it forward;
> * Criticisms which do not add anything constructive ("-1, see previous comments you scallywag!"); instead, down-vote (and provide or
> up-vote a better answer if appropriate);
> * Secondary discussion or debating a controversial point; please use chat instead;
> * Discussion of community behavior or site policies; please use meta instead.
>
>
> [...]
>
>
>
---
Because our answers can oftentimes be subjective, it's important for us to have the ability to rank each answer in order of best to not-the-best. The problem with answering a question with a comment is that:
1. It removes that answer from the community review process. Not allowing it to be viewed in comparison to other answers.
2. There is a 600 character limit for comments. That is the length of a short answer, so there's not much reason why it can't be an actual answer.
If the comment is too short to be an answer, some effort should be taken to make it into an answer, or simply wait for someone else to answer and upvote their answer.
3. There are no downvotes on comments. One upvote is enough to cancel out the reputation lost from 5 downvotes. It shouldn't be any cause to try to avoid them using the comment section. That also just seems like a cop-out to me. If an answer can't stand as an answer, it shouldn't stand as a comment either.
I don't see any reason why we would want to keep comments that try to answer questions around. Certainly they have the risk to cause more harm than anything. But when I looked at the possible flags, the options were:
>
> * rude or offensive
> * not constructive
> * obsolete
> * too chatty
> * other
>
>
>
No option for flagging as a comment as an answer.
So should I Be flagging these comments as "Other" and say that it's an answer not a comment? Or is this just a peeve of mine that I should work on ignoring? What do you think? | 2014/08/04 | [
"https://pets.meta.stackexchange.com/questions/1870",
"https://pets.meta.stackexchange.com",
"https://pets.meta.stackexchange.com/users/481/"
] | We want to keep the number of 'answerments' (what I've grown to call these things) to an *absolute* minimum, wherever possible. Their presence encourages discussion, and a shortcut to typing stuff on the site that might not be as well-researched and backed up as a proper answer.
The *really* good comments, the ones I'd always hesitate to delete are firmly anchored in the parent post - and have some kind of meaning that just (for whatever reason) can't be moved into the post itself. They aren't attempts at answers on their own.
What I recommend you do, if you have time, is use these 'answerments' as the inspiration for your *own* answer, find some references if you need them, and expand it into what the other person didn't have the time or inclination to sit down and write. You can link to the comment in the beginning of your answer, e.g.:
>
> Expanding on the insightful comment that [link to sue's profile]Sue[/link] left, in particular where she mentioned Snails, nails and puppy dog tails ...
>
>
>
The comment might then be obsolete.
As the site ages, and you come across something a year old - and nobody has bothered to take the 'stub' someone left in a comment and expand it, then it can probably just go out in the night. Of course, @mentioning the comment author asking them to put that in an answer *so it persists* often helps.
But yes, you can (and should) generally flag them, we don't want them to become a self-fulfilling problem - at least not any more than they have been. | Flagging them is not a problem, but there's not a lot we can do other than delete them. If somebody posts an answer better suited as a comment, we have the ability to convert it, but not the other way around.
In general, though, as a consequence I would be likely to leave the comment around if the user won't create the answer. I typically only clean up comments that are arguments, outdated, or not relevant, but good information is better to keep. |
26,547 | While browsing online materials about the FAT file system, I occasionally came across mentions of ‘logically-sectored FAT’. This was apparently some kind of special mode of formatting a hard drive, where the file system structures were laid out pretending that the sector size is larger than it actually is, to bypass size limitations of early versions of MS-DOS. Just for one example, in [Andries Brouwer’s listing of partition type IDs](https://www.win.tue.nl/%7Eaeb/partitions/partition_types-1.html), there are even partition type IDs listed as claimed for such specially-formatted partitions.
How did this scheme work? What did it take to have such a setup on your system? | 2023/03/01 | [
"https://retrocomputing.stackexchange.com/questions/26547",
"https://retrocomputing.stackexchange.com",
"https://retrocomputing.stackexchange.com/users/15334/"
] | TL;DR: It's all about the Interface.
------------------------------------
DOS prior to version 3.31 used a 16 bit sector number to communicate with the disk driver, thus the maximum sector number was 65536. With 512 byte sectors that adds up to 32 MiB - rather large for 1980.
DOS 3.31 introduced an extension to interface (and[BIOS Parameter Block](https://en.wikipedia.org/wiki/BIOS_parameter_block)) increasing the sector number field to 32 bit, allowing 2 TB when using 512 byte sectors (\*1).
---
DOS always maintained a strictly logical device interface and did not (and still does not) imply a certain sector size. The sector size can be anywhere between 1 and 65525 bytes. It is defined by a 16 bit value at Offset 0Bh within the BIOS Parameter Block (\*2). For all practical means only power of two values between 32 and 32768 are useful and only values between 128 and 8192 do work with (most) DOS versions (\*3).
With a block size of 512, as IBM selected for its first hard disk, the maximum number of 65536 sectors will limit the logical disk size to 32 MiB. To support drives larger than 32 MiB vendors could either
* present it as multiple logical drives (\*4) or
* use a larger logical sector size.
While the first would limit the use of truly large files, the late would come at cost of more waste - the usual trade of between size of management unit vs. useful data.
Of course, using larger sectors will also mean DOS needs to reserve more buffer space of the limited main memory - not cool with 640 KiB or less total RAM.
Those sectors are named 'logical' as they are not necessary the same size than the physical sector. If not, it was the task of the vendor specific device driver to block and deblock sectors.
In fact, larger disks were often still using 512 byte sectors on disk level, so all that number juggling was just to get around the interface limitation - much like with later INT 13h games.
---
\*1 - In fact, all of this does sound a lot like the more recent discussion of 4 KiB block sizes to increase physical drive capacity and thruput.
\*2 - Before 2.0 those values where fixed tied to the media descriptor. IBM for example used values of 128 and 1024 some 8" disks.
\*3 - Microsoft's official FAT paper ([fatgen103.pdf](https://www.win.tue.nl/%7Eaeb/linux/fs/fat/fatgen103.pdf)) does only name sizes of 512 to 4096 bytes as valid for MS-DOS (p.9). In contrast MS' own [KB entry Q75131](https://jeffpar.github.io/kbarchive/kb/075/Q75131/) mentions 128 bytes for media type FE and FD.The paper seems to have been created in hindsight with less than perfect knowledge, containing several errors (explanation of the 10ms time value at 0Dh is for example complete nonsense).
\*4 - Using the partitioning scheme (MMBR][4](https://en.wikipedia.org/wiki/Master_boot_record)) introduced with DOS 2.0 - or before DOS 2.0 using some vendor specific scheme implemented in their driver. | The IBM BIOS itself never defines a default sector size, it just happens that in DOS the default IBM format with physical sector size of 512 is used for floppies.
Accessing hard disks through the BIOS was not possible until an add-on hard drive with add-on BIOS was inserted into the system, and it used a fixed sector size of 512 bytes, so the BIOS interface for e.g. later IDE hard drives can't be changed as the sector size of 512 bytes is defined by IDE hardware.
Other floppy formats than 512 bytes per sector were used so BIOS and DOS needed to be compatible with different sector sizes.
All DOS IO to a DOS disk partition is done using logical sectors access which start from 0, so the partition can physically start anywhere on the drive.
When the DOS logical disk IO only supported 65536 sectors, it limits the drive size with 512 byte sectors to 32MB, so it is possible that some interfaces could have used larger hardware sector size because of this.
But it might have been a relatively short lived extension, as DOS 4 expanded the interfaces to support accessing more than 65536 sectors.
And still, if the drivers support it, you could just partition a large physical drive into multiple logical partitions with less than 65536 sectors per partition, and still have 512 byte sectors.
The extension made it possible to still use 512 byte physical sector size for larger drives, and the logical sector number matches the physical sector number even for drives larger than 65536 sectors.
Edit: Some vendors did in fact have a System BIOS or DOS BIOS which combined several 512-byte physical disk sectors into single larger DOS logical sector. So indeed some adaptation layer presented a standard 512-byte sector hard disk as a logical disk with larger logical sectors for DOS. |
9,610 | I had a novice account here, 4 questions asked (more answers):
<https://serverfault.com/users/208540/t-todua?tab=questions>
and out of 4, only 1 was marked as duplicate and 1 closed. However, my account is suspended from posting questions. Is that 2 questions that much to limit my account? | 2020/02/26 | [
"https://meta.serverfault.com/questions/9610",
"https://meta.serverfault.com",
"https://meta.serverfault.com/users/208540/"
] | The six deleted questions probably also have something to do with it. But nobody -- not even the site moderators -- can see the exact reasons why an account is blocked from posting, so if you need an authoritative answer, your only recourse is to contact Stack Overflow staff. | Further to Womble's answer:
This is the definitive Q&A about question and answer bans:
[What can I do when getting "We are no longer accepting questions/answers from this account"?](https://meta.stackexchange.com/questions/86997/what-can-i-do-when-getting-we-are-no-longer-accepting-questions-answers-from-th)
A few important points:
* You've been banned from asking questions, you can still post answers.
* There is no way for a moderator or for an SE staff member to un-ban you. There's no point in trying to contact SE staff, the Q&A posted above contains all the information available.
* If you can improve some of your questions by editing them and if they then get some upvotes, you might be able to post questions again.
* The ban is not total - even when banned, you can ask one question every 6 months. If you ask a question and it gets some upvotes, you might be able to post questions again.
* Only SE staff know the algorithm that determines if you're banned, but it's generally believed that your score on answers has an effect as well, so if you post some good answers that get upvotes, that might help. |
14,780 | I'm looking to pick up some of the D&D dungeon tiles sets. I'm wondering if the sets come with recommended designs for the tiles, or are their sites online where people have provided possible configurations or even specific adventures/encounters that make use of the tiles. Or do I just need to do the designing myself? | 2012/06/03 | [
"https://rpg.stackexchange.com/questions/14780",
"https://rpg.stackexchange.com",
"https://rpg.stackexchange.com/users/3777/"
] | The three 'starter' boxed sets (Dungeon, Wilderness, City) do not.
All of the six-sheet packs (the original DTx and DUx series, and current DNx) have a couple of suggested designs on the interior covers. (In a few cases, one or two of the suggested designs require two copies of the set - particularly "Arcane Towers", which was designed around buying two sets, but in general with some of the 'building interior' and transition sets).
I strongly recommend [PyMapper](http://sourceforge.net/projects/pymapper/) as a mapping tool. It has a simple drag-and-drop tile interface, prints well, and can keep track of the tiles in your collection and warn you when you use them up - taking into account that the tiles are double-sided.
Also, the published [Living Forgotten Realms](http://www.livingforgottenrealms.com/adventures.html) adventures are a great resource for map ideas, as most contain two or three maps made with the tiles.
(Also, all the tiles are extremely easy to design with; "drop them on table and arrange" will go a long way in a pinch.) | I can only speak for the three Master Sets (Dungeon, Wilderness and City), which do not.
I believe most (if not all) of the published adventures picture tile configurations for their dungeons, though. |
8,208,991 | I have an HTML5 page loaded on server along with a geolocation script. The code is working and has no errors. It shows the position and map the user. Right now, it's working well for everyone else and i also tried the same on other PC and it works. But, when i visit the page on my Chrome browser, nothing shows up. Why is that happening? Why can't it locate me and map me? I have Windows 7 OS running the latest Chrome and using data-card for internet.
This is the [LINK](http://jan-lokpal.rdinvent.com)
On the other hand, the Google page accurately shows my location on the left bar side | 2011/11/21 | [
"https://Stackoverflow.com/questions/8208991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/570928/"
] | That page detects my location correctly in Chrome 17 (dev channel). I do see a JavaScript error, however: "Uncaught ReferenceError: geocoder is not defined" on line 81 of `myLoc.js`. Taking a quick look at the code, it doesn't appear to be defined anywhere. Have you perhaps forgotten to include a file? | Check in your chrome, in settings -> advanced -> privacy (content) -> localization if you allow web pages to check your location (this menus can be named a bit different, I'm checking on Polish Chrome).
You say nothing shows up and the question to allow web page to check location should show up (this happens by me).
Another thing, geolocation is checked by Wi-Fi if available, determine it by your IP may be quite inaccurate. |
8,208,991 | I have an HTML5 page loaded on server along with a geolocation script. The code is working and has no errors. It shows the position and map the user. Right now, it's working well for everyone else and i also tried the same on other PC and it works. But, when i visit the page on my Chrome browser, nothing shows up. Why is that happening? Why can't it locate me and map me? I have Windows 7 OS running the latest Chrome and using data-card for internet.
This is the [LINK](http://jan-lokpal.rdinvent.com)
On the other hand, the Google page accurately shows my location on the left bar side | 2011/11/21 | [
"https://Stackoverflow.com/questions/8208991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/570928/"
] | I experienced the same issue with geolocation script. It seems to be an issue with Chrome specifically blocking the uri starting with "file:///" for security reasons.
See related articles:
<http://groups.google.com/a/googleproductforums.com/forum/#!category-topic/chrome/give-feature-feedback-and-suggestions/E0yx7wne-RI>
<http://groups.google.com/a/googleproductforums.com/forum/#!category-topic/chrome/report-a-problem-and-get-troubleshooting-help/pNcftbZTN1E>
[HTML 5 Geo Location Prompt in Chrome](https://stackoverflow.com/questions/5423938/html-5-geo-location-prompt-in-chrome) | Check in your chrome, in settings -> advanced -> privacy (content) -> localization if you allow web pages to check your location (this menus can be named a bit different, I'm checking on Polish Chrome).
You say nothing shows up and the question to allow web page to check location should show up (this happens by me).
Another thing, geolocation is checked by Wi-Fi if available, determine it by your IP may be quite inaccurate. |
8,208,991 | I have an HTML5 page loaded on server along with a geolocation script. The code is working and has no errors. It shows the position and map the user. Right now, it's working well for everyone else and i also tried the same on other PC and it works. But, when i visit the page on my Chrome browser, nothing shows up. Why is that happening? Why can't it locate me and map me? I have Windows 7 OS running the latest Chrome and using data-card for internet.
This is the [LINK](http://jan-lokpal.rdinvent.com)
On the other hand, the Google page accurately shows my location on the left bar side | 2011/11/21 | [
"https://Stackoverflow.com/questions/8208991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/570928/"
] | That page detects my location correctly in Chrome 17 (dev channel). I do see a JavaScript error, however: "Uncaught ReferenceError: geocoder is not defined" on line 81 of `myLoc.js`. Taking a quick look at the code, it doesn't appear to be defined anywhere. Have you perhaps forgotten to include a file? | I experienced the same issue with geolocation script. It seems to be an issue with Chrome specifically blocking the uri starting with "file:///" for security reasons.
See related articles:
<http://groups.google.com/a/googleproductforums.com/forum/#!category-topic/chrome/give-feature-feedback-and-suggestions/E0yx7wne-RI>
<http://groups.google.com/a/googleproductforums.com/forum/#!category-topic/chrome/report-a-problem-and-get-troubleshooting-help/pNcftbZTN1E>
[HTML 5 Geo Location Prompt in Chrome](https://stackoverflow.com/questions/5423938/html-5-geo-location-prompt-in-chrome) |
101,526 | For my master thesis I want to set-up several experiments. One thing my professor has been complaining about is that most computer science experiments are lacking scientifically. To not fall into this trap I want to properly design my experiments. Unfortunately I could not find much literature on CS experiment design. (Except for D. Feitelson's "Experimental Computer Science: The Need for a Cultural Change" available [here](http://www.cs.huji.ac.il/~feit/pub.html) which is more of an appeal than a guide.)
I remember that in statistics people often use a H\_0 and H\_1 hypothesis together with the Type I and Type II error. I wonder if this is applicable in the field of computer science.
A quick example that I could think of:
>
> H\_0: Both methods create the same output in this scenario
>
>
> H\_1: One method creates a worse output in this scenario (worse: according to
> metric X)
>
>
>
But then how would I calculate the Type I and Type II errors? In a speed-benchmark I could run the experiments multiple times and then possibly calculate how likely it is that the benchmark result is still wrong. However often I just want to compare the output of two deterministic methods. Measuring the quality according to a certain metric. This result doesn't change when running the experiment multiple times. What do I do then? Is the null hypothesis approach not a good fit for these kind of experiments? | 2014/06/07 | [
"https://stats.stackexchange.com/questions/101526",
"https://stats.stackexchange.com",
"https://stats.stackexchange.com/users/46915/"
] | I don't know exactly what kind of computer experiments you are trying to do. If you are trying to judge the performance of algorithms, there is now a field called *experimental algorithmics* which has [a textbook](http://rads.stackoverflow.com/amzn/click/0521173019), [journals](http://www.jea.acm.org), and conferences. If you're comparing the performance of two or more algorithms on different inputs, you should probably look at references from this field; this is exactly the kind of thing they study, and they have figured out ways to do this which work much better than the naive first approach that you might think of. Furthermore, the fact that you are following the techniques of an established subfield of computer science should address your professor's complaints that the experiments are lacking scientifically. Even if the experimental design you come up with after looking at the techniques in this field is the same as the one you would have come up on your own, your professor is less likely to object to it.
If you just have two algorithms you want to compare, one input, and one output for each algorithm, there is very little statistical analysis you can do, as this scenario gives you only two data points, and without some kind of model for the behavior of these algorithms, there is absolutely nothing you can do statistically with two data points. | You should take a look at Catherine McGeoch's book, "A Guide To Experimental Algorithmics" McGeoch has been criticized for her work on a study of the performance of the D-wave quantum computer, but I think the book is a good source.
[http://www.amazon.com/Guide-Experimental-Algorithmics-Catherine-McGeoch/dp/0521173019](http://rads.stackoverflow.com/amzn/click/0521173019) |
90,190 | During dynamic creation of my +1 Body Wrap of Mighty Strikes the item gained the "slimy" characteristic. Is it possible to remove the putrid smell of the slime with prestidigitation to remove the -2 penalty to Diplomacy and Handle Animal checks due to the smell? If so, since RAW states that prestidigitation can …
>
> "clean […] items in a 1-foot cube each round."
>
>
>
Would this continue to cleanse the smell each round for an hour? OR would it be only an instantaneous effect? | 2016/11/09 | [
"https://rpg.stackexchange.com/questions/90190",
"https://rpg.stackexchange.com",
"https://rpg.stackexchange.com/users/16470/"
] | It is magical slime. Magic item properties cannot be modified on the item once it has been created outside of specific circumstances, *prestidigitation* not being one of them. Slimy is a magic item quirk that says:
>
> The item is covered in putrid slime, which seeps out to cover the bearer as well. The bearer gains a +5 circumstance bonus on Escape Artist checks, on combat maneuver checks to break grapples, and to CMD against grapples (these bonuses do not stack with grease or other similar effects), but takes a –2 penalty on Acrobatics, Disable Device, and Disguise checks, as well as on Diplomacy and Handle Animal checks except against creatures that aren't bothered by putrid slime. *([Magic Items, PFSRD](http://www.d20pfsrd.com/magic-items))*
>
>
>
Since the nature of this quirk is clearly magical, and prestidigitation "*lacks the power to duplicate any other spell effects,*" ([Paizo PRD](http://paizo.com/pathfinderRPG/prd/coreRulebook/spells/prestidigitation.html)) I would argue strongly that prestidigitation also cannot "clean" a magical quirk from a magical item.
Take for example, a pair of muddy boots: they are muddy. You could wipe them with a cloth and they would be clean. Pfah, that's too much effort for a mage of my stature, so *\*poof*\* -- now my boots are clean by way of *prestidigitation.*
On the other hand, imagine a pair of cursed boots. The curse is that the boots always appear to be muddy. Curses, being magical in nature, are a tricky thing to deal with. You might be able to wipe away the dirt, but because of the curse, they instantly muddy themselves again. Prestidigitation is no better: you clean them with the spell, but they are instantly dirty again.
Think of the *slimy* quirk as a sort of minor curse -- no matter how much you wipe off that slime, it constantly seeps slime and covers you, the bearer of the slimy object, as it's description says. You may even be able to cast prestidigitation to clean the slime off once per round but it will always be seeping the slime, unable to be stopped. | Prestidigitation works for 1 hour and lets you clean 1-foot cube each round.
It thus becomes a question of how fast the slime spreads.
It takes quite a few rounds to clear your entire body one cubic foot per round - at least a minute.
The description of the slime-effect does not state how fast the slime spreads exactly, so if it takes a few minutes before you are covered you might be a little better off if you keep wiping it off with Prestidigitation. If it spreads to your entire body in less than a minute, then you can't remove it fast enough to matter.
>
> Once cast, a prestidigitation spell enables you to perform simple
> magical effects for 1 hour.
>
>
>
This does not specify what kind of action is needed to perform those tricks in question - it might well be that you need to spend actions to cleaning.
If I were the DM for this I would judge that if you spend a minute cleaning yourself (using magic or otherwise) then you would get a few minutes (3d6?) of not smelling bad, as that seems like a good trade-off and opening for odd roleplaying situations, but that it just me.
I would recommend donning some heavy robes or a coat over that gear and stack on a ton of perfume and try to convince your DM that it masks the smell and offsets the Diplomacy check disadvantage (but might make the other problems worse). |
4,552,017 | I have a .docx template with a "Picture Content Control" which is placed inside a shape. I've successfully inserted an user selected image to that particular area, as the user selected images's got different sizes I'm looking for a solution to programmatically adjust the height and width scale of both "Picture Content Control" and the container (Shape).
I'm using this solution to insert images to my .docx template:
<http://www.codeproject.com/KB/office/Word_2007_Images.aspx> | 2010/12/29 | [
"https://Stackoverflow.com/questions/4552017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556812/"
] | Namespaces are new in PHP 5.3. Almost all existing software projects don't use them, since they want to be compatible with older versions of PHP. Many (most?) aren't even object oriented! You could replace every instance of \_\_ with another valid (and unique!) function name in one of the projects, but that will make updating that project difficult even though it's probably the best solution. | Using namespaces may be a tedious task as it may require you a lot of code change. I would suggest replacing the \_\_() function in Wordpress with some other name. |
4,552,017 | I have a .docx template with a "Picture Content Control" which is placed inside a shape. I've successfully inserted an user selected image to that particular area, as the user selected images's got different sizes I'm looking for a solution to programmatically adjust the height and width scale of both "Picture Content Control" and the container (Shape).
I'm using this solution to insert images to my .docx template:
<http://www.codeproject.com/KB/office/Word_2007_Images.aspx> | 2010/12/29 | [
"https://Stackoverflow.com/questions/4552017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556812/"
] | I've done some work integrating Wordpress with Kohana. See [this post](https://stackoverflow.com/questions/2827238/incorporate-wordpress-into-kohana-3#3593080). It's easier to rename and replace \_\_() in Kohana than it is to do so for Wordpress, trust me. | Namespaces are new in PHP 5.3. Almost all existing software projects don't use them, since they want to be compatible with older versions of PHP. Many (most?) aren't even object oriented! You could replace every instance of \_\_ with another valid (and unique!) function name in one of the projects, but that will make updating that project difficult even though it's probably the best solution. |
4,552,017 | I have a .docx template with a "Picture Content Control" which is placed inside a shape. I've successfully inserted an user selected image to that particular area, as the user selected images's got different sizes I'm looking for a solution to programmatically adjust the height and width scale of both "Picture Content Control" and the container (Shape).
I'm using this solution to insert images to my .docx template:
<http://www.codeproject.com/KB/office/Word_2007_Images.aspx> | 2010/12/29 | [
"https://Stackoverflow.com/questions/4552017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/556812/"
] | I've done some work integrating Wordpress with Kohana. See [this post](https://stackoverflow.com/questions/2827238/incorporate-wordpress-into-kohana-3#3593080). It's easier to rename and replace \_\_() in Kohana than it is to do so for Wordpress, trust me. | Using namespaces may be a tedious task as it may require you a lot of code change. I would suggest replacing the \_\_() function in Wordpress with some other name. |
88,303 | Where can I ask questions regarding
* Networking
* Cisco
* CCNA/CCNP/CCIE
* IP subnetting | 2011/04/21 | [
"https://meta.stackexchange.com/questions/88303",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/139273/"
] | I suggest asking both theoretical network protocol questions and Network Engineering implementation / config questions on [Network Engineering](https://networkengineering.stackexchange.com/).
It's unclear what you mean by ip subnetting, but if you have an ip subnetting question, please consider the existing answers as a possible solution:
* [How do you calculate the prefix, network, subnet, and host numbers?](https://networkengineering.stackexchange.com/q/7106/8499)
* [How does subnetting work](https://serverfault.com/questions/49765/how-does-subnetting-work) (thanks @Zypher, below)
* [Number of Hosts in a subnet](https://stackoverflow.com/questions/1219168/number-of-hosts-in-a-subnet)
* [What is a valid subnet address](https://stackoverflow.com/questions/5703090/networking-question-what-is-a-valid-subnet-address) | Most of network related questions are asked on [ServerFault](https://serverfault.com/) but some questions are also been asked on [SuperUser](https://superuser.com/).
From the about link of serverFault:
>
> Server Fault is a site for system and network administrators needing
> expert answers related to managing computer systems **in a professional
> capacity**.
>
>
>
And from about link of SuperUser:
>
> Super User is a Q&A site for computer
> enthusiasts that’s free.
>
>
> |
88,303 | Where can I ask questions regarding
* Networking
* Cisco
* CCNA/CCNP/CCIE
* IP subnetting | 2011/04/21 | [
"https://meta.stackexchange.com/questions/88303",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/139273/"
] | I suggest asking both theoretical network protocol questions and Network Engineering implementation / config questions on [Network Engineering](https://networkengineering.stackexchange.com/).
It's unclear what you mean by ip subnetting, but if you have an ip subnetting question, please consider the existing answers as a possible solution:
* [How do you calculate the prefix, network, subnet, and host numbers?](https://networkengineering.stackexchange.com/q/7106/8499)
* [How does subnetting work](https://serverfault.com/questions/49765/how-does-subnetting-work) (thanks @Zypher, below)
* [Number of Hosts in a subnet](https://stackoverflow.com/questions/1219168/number-of-hosts-in-a-subnet)
* [What is a valid subnet address](https://stackoverflow.com/questions/5703090/networking-question-what-is-a-valid-subnet-address) | Oy,
Just to let you know that currently, there's a new beta round of a [Network Engineering Stack Exchange site](https://networkengineering.stackexchange.com/). Beta means that it is temporary and will disappear unless it has a decent amount of activity with regards to questions, answers and quality of answers.
Hope that helps. |
368,411 | I'm asking in reference to [this question](https://stackoverflow.com/q/50476327/6671176) that I just asked.
Often, I'll write a piece of code that works, but is ugly or inefficient. I know that Stack Overflow is not Code Review and isn't meant to be a place where people discuss the quality of code, but is it OK to ask a specific question regarding how to make a small chunk of code better, even if I already have a solution, as in my linked question? Or is this better suited to Code Review? | 2018/05/22 | [
"https://meta.stackoverflow.com/questions/368411",
"https://meta.stackoverflow.com",
"https://meta.stackoverflow.com/users/6671176/"
] | Code Review has very strict rules about what’s on-topic and what’s off-topic, so a vague question about making “code better” isn’t going to work there in the same way as it’s not going to do very well here.
If you have a specific requirement for making the code “better”, like
* Use less memory
* Take less time
* etc.
then asking here is fine.
You have a problem (using too much memory, taking too long) and as long as you phrase the question in those terms you should be OK. | It can be on topic -- ***if you manage to formulate it just right.*** Which is the tricky part, and if you're new, you're very likely to slip and get it closed.
A question on SO must be:
1. asking how to solve a specific, practical programming problem.
2. fully, definitely answerable in up to several paragraphs.
3. while specific, be general enough to be useful for future readers with similar problems.
So, you need to:
* clearly formulate what specific problem you're trying to solve, and how it is practical if that's not obvious. This will satisfy 1).
+ "make code less ugly" is not a specific problem, and "make it use less resources just because" is not a practical problem. "Suggest an algorithm that would solve more-or-less recurring problem X faster than in `O(n^3)`" (if there's a reason to believe that it exists) or "what way(s) library Y provides to solve problems like Z" are.
* show your research. This is critical:
+ First, the more theory needs to be explained, the more efforts are needed to answer fully -- so the better you need to show that you're worth expending that effort on you.
+ We also need to know what level to explain things on, what you already know and what pieces of information you're missing. This drastically reduces the space and effort required for a full answer -- so makes the question more likely to satisfy 2)
* Isolate your problem from details not immediately relevant to it, and compose a [Minimal, Complete and Verifiable example](/help/mcve). This is the way to present a problem statement and illustrating code to satisfy 3).
If all this sounds overwhelming to you, it probably is. I said this is very tricky to get right. |
368,411 | I'm asking in reference to [this question](https://stackoverflow.com/q/50476327/6671176) that I just asked.
Often, I'll write a piece of code that works, but is ugly or inefficient. I know that Stack Overflow is not Code Review and isn't meant to be a place where people discuss the quality of code, but is it OK to ask a specific question regarding how to make a small chunk of code better, even if I already have a solution, as in my linked question? Or is this better suited to Code Review? | 2018/05/22 | [
"https://meta.stackoverflow.com/questions/368411",
"https://meta.stackoverflow.com",
"https://meta.stackoverflow.com/users/6671176/"
] | Code Review has very strict rules about what’s on-topic and what’s off-topic, so a vague question about making “code better” isn’t going to work there in the same way as it’s not going to do very well here.
If you have a specific requirement for making the code “better”, like
* Use less memory
* Take less time
* etc.
then asking here is fine.
You have a problem (using too much memory, taking too long) and as long as you phrase the question in those terms you should be OK. | I know Python (but not Pandas), and that question looks fine to me. You have a single specific problem, and you've shown us what you've currently tried. It gives the desired output, but you want to know if there's a better way (more readable &/or more efficient). That's fine, question code on SO isn't required to be broken, IMHO. Because your question is focused it means that possible answers can also be focused.
However, if you posted a complete application that does a whole bunch of different things, and you wanted us to improve the whole program, then the question would *not* be a good fit for Stack Overflow. That's essentially a bunch of different SO questions bundled together, and while each item in the bundle may be useful to future readers the whole bundle is unlikely to be so.
The bottom line is that we want questions where the answers are likely to help multiple future readers as well as the OP.
---
We sometimes get complete but broken programs posted by new coders, where their code has several unrelated problems, and all of those problems need to be fixed in order to achieve a working program. That's not a great fit for SO, but it's tolerable (IMHO) when the code is for a small homework exercise. It can be very instructive for a student to see a working version of their code, with brief explanations of what they were doing wrong. And such answers can be helpful to other students in the future.
OTOH, there are a handful of common problems that arise in such code, and there's no real need to write a new specific answer because a good duplicate target already exists, eg [Asking the user for input until they give a valid response](https://stackoverflow.com/q/23294658/4014959). Of course, there's a good chance that there are existing questions with nice solutions about the same (or very similar) homework problem, in which case the new question should be closed as a dupe, although in some cases it may be useful to write a short specific answer for the new question. |
368,411 | I'm asking in reference to [this question](https://stackoverflow.com/q/50476327/6671176) that I just asked.
Often, I'll write a piece of code that works, but is ugly or inefficient. I know that Stack Overflow is not Code Review and isn't meant to be a place where people discuss the quality of code, but is it OK to ask a specific question regarding how to make a small chunk of code better, even if I already have a solution, as in my linked question? Or is this better suited to Code Review? | 2018/05/22 | [
"https://meta.stackoverflow.com/questions/368411",
"https://meta.stackoverflow.com",
"https://meta.stackoverflow.com/users/6671176/"
] | I know Python (but not Pandas), and that question looks fine to me. You have a single specific problem, and you've shown us what you've currently tried. It gives the desired output, but you want to know if there's a better way (more readable &/or more efficient). That's fine, question code on SO isn't required to be broken, IMHO. Because your question is focused it means that possible answers can also be focused.
However, if you posted a complete application that does a whole bunch of different things, and you wanted us to improve the whole program, then the question would *not* be a good fit for Stack Overflow. That's essentially a bunch of different SO questions bundled together, and while each item in the bundle may be useful to future readers the whole bundle is unlikely to be so.
The bottom line is that we want questions where the answers are likely to help multiple future readers as well as the OP.
---
We sometimes get complete but broken programs posted by new coders, where their code has several unrelated problems, and all of those problems need to be fixed in order to achieve a working program. That's not a great fit for SO, but it's tolerable (IMHO) when the code is for a small homework exercise. It can be very instructive for a student to see a working version of their code, with brief explanations of what they were doing wrong. And such answers can be helpful to other students in the future.
OTOH, there are a handful of common problems that arise in such code, and there's no real need to write a new specific answer because a good duplicate target already exists, eg [Asking the user for input until they give a valid response](https://stackoverflow.com/q/23294658/4014959). Of course, there's a good chance that there are existing questions with nice solutions about the same (or very similar) homework problem, in which case the new question should be closed as a dupe, although in some cases it may be useful to write a short specific answer for the new question. | It can be on topic -- ***if you manage to formulate it just right.*** Which is the tricky part, and if you're new, you're very likely to slip and get it closed.
A question on SO must be:
1. asking how to solve a specific, practical programming problem.
2. fully, definitely answerable in up to several paragraphs.
3. while specific, be general enough to be useful for future readers with similar problems.
So, you need to:
* clearly formulate what specific problem you're trying to solve, and how it is practical if that's not obvious. This will satisfy 1).
+ "make code less ugly" is not a specific problem, and "make it use less resources just because" is not a practical problem. "Suggest an algorithm that would solve more-or-less recurring problem X faster than in `O(n^3)`" (if there's a reason to believe that it exists) or "what way(s) library Y provides to solve problems like Z" are.
* show your research. This is critical:
+ First, the more theory needs to be explained, the more efforts are needed to answer fully -- so the better you need to show that you're worth expending that effort on you.
+ We also need to know what level to explain things on, what you already know and what pieces of information you're missing. This drastically reduces the space and effort required for a full answer -- so makes the question more likely to satisfy 2)
* Isolate your problem from details not immediately relevant to it, and compose a [Minimal, Complete and Verifiable example](/help/mcve). This is the way to present a problem statement and illustrating code to satisfy 3).
If all this sounds overwhelming to you, it probably is. I said this is very tricky to get right. |
526,625 | I would like to find a word for when you hit someone, but in a playful "no hard feelings" kind of way.
Like when you see a friend, you slap them in the arm or whatever, or the sort of thing you would expect from a game like the circle game.
Something that conveys that the hit is not truly coming out of rage or intended to cause harm or damage.
I need this as I need to write about something and if I do 'I hit him on the arm', it could convey a much different message to the reader. Like there was some physical assault going on.
So which word(s) could I use instead? | 2020/03/02 | [
"https://english.stackexchange.com/questions/526625",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/142949/"
] | The word **pat** can be used here, given by [Lexico](https://www.lexico.com/definition/pat) as
>
> **pat**
>
>
> VERB
>
> Touch quickly and gently with the flat of the hand.
>
> *he patted him consolingly on the shoulder*
>
>
>
Also
>
> NOUN
>
> A quick, light touch with the hand.
>
> *Scotty gives Johnny a friendly pat on the arm before leaving the room*
>
>
>
A **pat** means a friendly or reassuring touch and isn't easily confused with an assault.
---
The word **pat** is also used in the phrase
>
> pat someone on the back
>
> Express approval of or admiration for someone
>
>
>
and in this case it is used as a metaphor. | I think you would need to use an adverb or an adjective to describe the nature of the blow. We have many words that mean "to hit," but most don't convey that it was done in a loving manner unless another word is added. Even the term "love tap" can sometimes be used to say that disciplinary action was gentle.
Try "playfully swatted," or "gave an affectionate swipe." |
526,625 | I would like to find a word for when you hit someone, but in a playful "no hard feelings" kind of way.
Like when you see a friend, you slap them in the arm or whatever, or the sort of thing you would expect from a game like the circle game.
Something that conveys that the hit is not truly coming out of rage or intended to cause harm or damage.
I need this as I need to write about something and if I do 'I hit him on the arm', it could convey a much different message to the reader. Like there was some physical assault going on.
So which word(s) could I use instead? | 2020/03/02 | [
"https://english.stackexchange.com/questions/526625",
"https://english.stackexchange.com",
"https://english.stackexchange.com/users/142949/"
] | The word **pat** can be used here, given by [Lexico](https://www.lexico.com/definition/pat) as
>
> **pat**
>
>
> VERB
>
> Touch quickly and gently with the flat of the hand.
>
> *he patted him consolingly on the shoulder*
>
>
>
Also
>
> NOUN
>
> A quick, light touch with the hand.
>
> *Scotty gives Johnny a friendly pat on the arm before leaving the room*
>
>
>
A **pat** means a friendly or reassuring touch and isn't easily confused with an assault.
---
The word **pat** is also used in the phrase
>
> pat someone on the back
>
> Express approval of or admiration for someone
>
>
>
and in this case it is used as a metaphor. | Love tap.
<https://www.merriam-webster.com/dictionary/love%20tap>
*Definition of love tap
: a gentle blow*
I would note that "love tap" seems to be used just as frequently to mean a gentle blow as it does to be sarcastically to mean "a hard punch".
For example: *He was mouthing off to me so I gave him a little love tap and he went down like a sack of potatoes.* |
191,435 | I am sure I’ve seen this usage somewhere, i want to use this and it goes like this:
“As I reflect on the years passed, ...”
I don’t feel comfortable with it. But I’ve seen similar usage in “ a reflection on years passed”
Can someone help tell if my usage is correct ?
Thanks | 2018/12/31 | [
"https://ell.stackexchange.com/questions/191435",
"https://ell.stackexchange.com",
"https://ell.stackexchange.com/users/87436/"
] | It's not correct English.
Confusion often arises between the verb **passed**
>
> She passed the library each morning on the way to work
>
>
>
and the word **past** which, problematically, while never a verb,
can act as a noun:
>
> The reason for his actions lay in his past
>
>
>
or a preposition:
>
> The first horse past the post
>
>
>
or an adverb:
>
> Several dogs ran past
>
>
>
or an adjective:
>
> The past week has been a busy one.
>
>
>
In your case your are talking about **the years past** where **past** is an adjective. That's to say, earlier years or years that have gone by.
To use your construction, you would have to change it to read:
>
> As I reflect on the years **that have passed** since.....
>
>
>
<https://www.dictionary.com/browse/past>
<https://www.macmillandictionary.com/dictionary/british/past_1>
<https://webapps.towson.edu/ows/past.htm> | passed / past
>
> If you are referring to a distance or a period of time before now, use “past”: “the police car drove past the suspect’s house” (distance) or “the team performed well in the past” (time). If you are describing the action of passing, however, you need to use “passed”: “when John passed the gravy, he spilled it on his lap,” “the teacher was astonished that none of the students had passed the test,” “after a brief illness, he passed away.” Remember that no matter however you have ”passed the time” you have never “past the time,” not even in the distant past.
>
>
> “Past” can be an adjective, a noun, a preposition, or an adverb, but never a verb. If you need to write the past tense of the verb “to pass,” use “passed.”
>
>
>
Published in Prof Paul Brian’s book,
Common Errors of English Usage
<https://brians.wsu.edu/2016/05/30/passed-past/> |
269,386 | I am using A7 module from Ai Thinker for GPRS and GPS. However, what I notice is that,
1. The A7 module does not lock GPS
2. When the GPS application on Android Phone shows 13 detected GPS satellites, the A7 module struggles to detect even 3. The best I have seen so far is 4 satellite. But it did not lock the GPS.
I took the module in open area and kept it ON for 15 to 20 mins without any luck.
I used commands like AT+GPS=1 and AT+AGPS=1 to enable GPS.
Am I missing something here.
Any help in this regards would be useful. | 2016/11/15 | [
"https://electronics.stackexchange.com/questions/269386",
"https://electronics.stackexchange.com",
"https://electronics.stackexchange.com/users/129942/"
] | Hello I would take a look at this video.
<https://youtu.be/H7eBurjWC0k>,
It shows that the supplied anntena for his module was actually a 2.4 wifi anntena not suitable for gps, once a cheap ebay gps antenna was connected the module works as expected | I am testing A7. GPS works fine. Guess you are listening to the GPS port and attached the external antenna.
Use AT+GPSRD = 1 ( to have a 1 sec frequency reporting in your normal port. ) |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | You might want to have a look at [Synfig](http://synfig.org).
When I needed to make something in this line, used SVG frames, and editing the xml, as you did.
Not free, but cheap, have a look at [Koolmoves](http://www.koolmoves.com) .It has svg export. I like the tool.
(Anyway, consider other exports, like SWF or HTML 5, more future-proof, and better supported in available editors. Disregard this if you totally need svg export.) | Try <http://archer.graphics> - not exactly animation but you can go quite far with it when you know how to write javascript code |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | You might want to have a look at [Synfig](http://synfig.org).
When I needed to make something in this line, used SVG frames, and editing the xml, as you did.
Not free, but cheap, have a look at [Koolmoves](http://www.koolmoves.com) .It has svg export. I like the tool.
(Anyway, consider other exports, like SWF or HTML 5, more future-proof, and better supported in available editors. Disregard this if you totally need svg export.) | There is a commercial non-free tool made for creating SVG animation similar to Macromedia Dreamviewer and Microsoft expression blend:
<https://aphalina.com/>
Disclaimer: A friend of mine made this product. I don't work for him. |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | You might want to have a look at [Synfig](http://synfig.org).
When I needed to make something in this line, used SVG frames, and editing the xml, as you did.
Not free, but cheap, have a look at [Koolmoves](http://www.koolmoves.com) .It has svg export. I like the tool.
(Anyway, consider other exports, like SWF or HTML 5, more future-proof, and better supported in available editors. Disregard this if you totally need svg export.) | I would suggest using Blender or Synfig Studio.
Synfig Studio would be great if you want only 2D.
Blender can import and use SVG, it is used for 3D but you can setup camera's to use it in 2D. |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | You might want to have a look at [Synfig](http://synfig.org).
When I needed to make something in this line, used SVG frames, and editing the xml, as you did.
Not free, but cheap, have a look at [Koolmoves](http://www.koolmoves.com) .It has svg export. I like the tool.
(Anyway, consider other exports, like SWF or HTML 5, more future-proof, and better supported in available editors. Disregard this if you totally need svg export.) | If you just simply want to animate an SVG and export a single animated SVG file with clean code, I would recommend [SVGator](https://www.svgator.com).
I've tried other tools, but SVGator is the best one so far. It doesn't require any coding skills, but in case you need some help getting started you can check out their [tutorials](https://www.svgator.com/tutorials). |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | There is a commercial non-free tool made for creating SVG animation similar to Macromedia Dreamviewer and Microsoft expression blend:
<https://aphalina.com/>
Disclaimer: A friend of mine made this product. I don't work for him. | Try <http://archer.graphics> - not exactly animation but you can go quite far with it when you know how to write javascript code |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | There is a commercial non-free tool made for creating SVG animation similar to Macromedia Dreamviewer and Microsoft expression blend:
<https://aphalina.com/>
Disclaimer: A friend of mine made this product. I don't work for him. | I would suggest using Blender or Synfig Studio.
Synfig Studio would be great if you want only 2D.
Blender can import and use SVG, it is used for 3D but you can setup camera's to use it in 2D. |
1,405 | Are there any graphical tools to create and edit animated SVG images? Inkscape is great, but it does everything *except* animation. I created an image in Inkscape, then manually edited the XML to add animation properties; and this gave me what I wanted, but for slightly more complicated designs it can be very tedious. | 2011/03/21 | [
"https://graphicdesign.stackexchange.com/questions/1405",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/910/"
] | There is a commercial non-free tool made for creating SVG animation similar to Macromedia Dreamviewer and Microsoft expression blend:
<https://aphalina.com/>
Disclaimer: A friend of mine made this product. I don't work for him. | If you just simply want to animate an SVG and export a single animated SVG file with clean code, I would recommend [SVGator](https://www.svgator.com).
I've tried other tools, but SVGator is the best one so far. It doesn't require any coding skills, but in case you need some help getting started you can check out their [tutorials](https://www.svgator.com/tutorials). |
2,958,056 | I developed a iPhone application for my client.
I have my own developer account, so I created the Ad Hoc and App Store Distribution profiles by using my account.
Now the thing is, my client want to submit the app by using his account. He has his own account.
I want to know,
Should I build the app using my distribution profile?
OR
Should I need the distribution profile created using client's account?
Thanks in advance. | 2010/06/02 | [
"https://Stackoverflow.com/questions/2958056",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/102839/"
] | All the certs involved for the client's app should be the client's certs. You should even create a separate developer's cert for yourself under the client's account.
These certs not only identify the distributed apps to the technology of the App store but are also the apps financial and legal IDs. In other words, the certs control who gets paid and who gets sued.
Neither you or your clients want the other's certs entangled with their own. If you do entangle the certs, your client might find they can't administer or update their own app and you might find yourself responsible for some future action of the client.
You might even want to go so far as to create a separate user account on your development Mac for each client in order to keep all the certs and profiles cleanly separated. It's a pain but these certs and profiles are the very heart of the App Store system. If the certs and profiles get scrambled it's a big, big deal. As in money, guns and lawyers big deal. | You should create a distribution profile using the client's account.
You can have multiple distribution profile & certificates on your machine at once and select the one you want to use when you build the project.
While you're at it, I would also create a iTunes Connect user for yourself in their account, so that you can still administrate the application and get notifications, etc ... |
16,937 | I've build a trap dipole for 20/40m bands. Traps are made of a coil wound on an insulator of RG213 coax and 3 kV NP0 capacitors. The impedance measured with EU1KY antenna analyzer is following:
[](https://i.stack.imgur.com/AeqN7.png)
This is a single trap, before and after putting a heatshrink. The final version of this one is for 14.080 MHz. The second one turned out a bit different, the resonant frequency is 14.150 MHz.
Here is an SWR plot of a final antenna:
[](https://i.stack.imgur.com/3xR4n.png)
The mast is non-conductive, 10 meter high. The balun is 7 turns of RG58 on FT140-43 core. The active impedance is > 1000 Ohm from 80 to 15 meters. The antenna is used in **inverted-V** configuration.
The antenna was tested using 100W CW. It works OK. However I was surprised to get such a narrow band and SWR >= 1.5 on 20 meters. What brings a question - is it an expected result for trap dipoles? I always thought that it supposed to be more narrowband on lowest band, because traps work as loading coils there. Can it indicate that something is wrong with the antenna? | 2020/06/30 | [
"https://ham.stackexchange.com/questions/16937",
"https://ham.stackexchange.com",
"https://ham.stackexchange.com/users/13598/"
] | I don't know how much of an impact it might make, but you might try moving the trap resonance to be outside the 20m band.
Trap losses are highest at the trap's resonant frequency because at this frequency the current circulating between the inductance and capacitance is at a maximum. Thus, ohmic losses within the trap are maximized.
At resonance is also where the rate of change of impedance with respect to frequency is highest. Designing the trap to be resonant within the 20m band means the trap impedance will vary rapidly over the band, which could explain the narrow SWR bandwidth.
To work as a trap you don't need the impedance to be infinite: only high enough to sufficiently isolate the following length of the antenna. Moving the resonant frequency of the trap may lower its impedance, but you can compensate for that by adjusting the length of the antenna. On the up side, losses may be lower and SWR bandwidth may be improved.
Further reading:
* <https://www.falstad.com/circuit/e-res-par.html>
* <https://www.w8ji.com/traps.htm> | My quick opinion is that this looks reasonable. A trapped dipole will likely have a smaller bandwidth than a regular dipole. A short simulation is what is required to be sure.
You're getting 5% bandwidth at 40 m (the traps don't load it very much at 40 m) which is normal. And to be generous 1% at 20 m. The traps are working on the high impedance tips of the dipole, the frequency range where they're high enough impedance is quite small.
Do check that the traps are tuned to the same frequency, it won't help if they aren't.
The impedance never goes through 50 Ohms, so there's a further reduction in usable bandwidth there. With a VNA, calibrated to the end of the cable, you could try to figure out whether it's high or low, and put in the appropriate parallel cap or series inductor (and re-trim the antenna). |
16,937 | I've build a trap dipole for 20/40m bands. Traps are made of a coil wound on an insulator of RG213 coax and 3 kV NP0 capacitors. The impedance measured with EU1KY antenna analyzer is following:
[](https://i.stack.imgur.com/AeqN7.png)
This is a single trap, before and after putting a heatshrink. The final version of this one is for 14.080 MHz. The second one turned out a bit different, the resonant frequency is 14.150 MHz.
Here is an SWR plot of a final antenna:
[](https://i.stack.imgur.com/3xR4n.png)
The mast is non-conductive, 10 meter high. The balun is 7 turns of RG58 on FT140-43 core. The active impedance is > 1000 Ohm from 80 to 15 meters. The antenna is used in **inverted-V** configuration.
The antenna was tested using 100W CW. It works OK. However I was surprised to get such a narrow band and SWR >= 1.5 on 20 meters. What brings a question - is it an expected result for trap dipoles? I always thought that it supposed to be more narrowband on lowest band, because traps work as loading coils there. Can it indicate that something is wrong with the antenna? | 2020/06/30 | [
"https://ham.stackexchange.com/questions/16937",
"https://ham.stackexchange.com",
"https://ham.stackexchange.com/users/13598/"
] | I don't know how much of an impact it might make, but you might try moving the trap resonance to be outside the 20m band.
Trap losses are highest at the trap's resonant frequency because at this frequency the current circulating between the inductance and capacitance is at a maximum. Thus, ohmic losses within the trap are maximized.
At resonance is also where the rate of change of impedance with respect to frequency is highest. Designing the trap to be resonant within the 20m band means the trap impedance will vary rapidly over the band, which could explain the narrow SWR bandwidth.
To work as a trap you don't need the impedance to be infinite: only high enough to sufficiently isolate the following length of the antenna. Moving the resonant frequency of the trap may lower its impedance, but you can compensate for that by adjusting the length of the antenna. On the up side, losses may be lower and SWR bandwidth may be improved.
Further reading:
* <https://www.falstad.com/circuit/e-res-par.html>
* <https://www.w8ji.com/traps.htm> | OK, I've checked 5 or 6 types of traps made of different materials, tuned to the same or slightly different frequencies, tuned right on the band, below the band and above the band. Most of them were not better than the first pair. Tuning above the band doesn't work. Traps made of RG58 coax work best. You get SWR 1:1 on both bands, 320 kHz bandwidth on 20m and 225 kHz bandwidth on 40m with SWR <= 2. According to WSPR report the antenna is no less effective than my previous fan dipole was. The article [An Attic Coaxial-Cable Trap Dipole for 10, 15, 20, 30, 40, and 80 Meters](https://eax.me/diy-trap-dipole/) by John DeGood, NU3E explains how to make such traps in great detail. Turned out these traps are tuned to the slightly different frequencies below the band.
Answering my own question: **NO**, this is not an expected result. Although such antenna kind of works, you can make a much better one. |
32,208 | Could anyone please suggest a good site, like Stack Overflow, for people working with cyber crime and forensics?
I have a few questions which probably don't belong here. I looked at [Super User](https://superuser.com), but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics? | 2009/12/07 | [
"https://meta.stackexchange.com/questions/32208",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/140044/"
] | I would check out the **remote-exploit.org** forums. They will be able to help you out with most technical details of whatever you're trying to do.
If you're snooping around for advice on statues, copyright infringement, and legal matters you should **find a lawyer**. It doesn't matter how knowledgeable **the person on the other end of the keyboard** is, you have no way to prove that the advice they gave you will keep you out of trouble and it **will not stand up as a credible source** should legal authorities demand an explanation of your actions let alone **should you contaminate your evidence**. | A lawyer licensed to practice in your jurisdiction?
I know, it's the usual cop-out answer, but it may be the right way to go, depending on the situation. |
32,208 | Could anyone please suggest a good site, like Stack Overflow, for people working with cyber crime and forensics?
I have a few questions which probably don't belong here. I looked at [Super User](https://superuser.com), but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics? | 2009/12/07 | [
"https://meta.stackexchange.com/questions/32208",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/140044/"
] | I would check out the **remote-exploit.org** forums. They will be able to help you out with most technical details of whatever you're trying to do.
If you're snooping around for advice on statues, copyright infringement, and legal matters you should **find a lawyer**. It doesn't matter how knowledgeable **the person on the other end of the keyboard** is, you have no way to prove that the advice they gave you will keep you out of trouble and it **will not stand up as a credible source** should legal authorities demand an explanation of your actions let alone **should you contaminate your evidence**. | Without knowing your specific question, if it's about a technical aspect of computer forensics, I'd say Stack Overflow would probably be the best site in the trilogy to start. There's a chance it will get migrated, but at least then you'd know where to ask further similar questions.
If your question is about a legal aspect of computer forensics, I'm afraid no site in the trilogy is a good fit. Laws are different in every country, so legal questions for any specific country are likely to be closed as "too localized." |
32,208 | Could anyone please suggest a good site, like Stack Overflow, for people working with cyber crime and forensics?
I have a few questions which probably don't belong here. I looked at [Super User](https://superuser.com), but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics? | 2009/12/07 | [
"https://meta.stackexchange.com/questions/32208",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/140044/"
] | >
> I looked at superuser.com, but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
>
>
>
A suitable alternative might be [Information Security Stack Exchange](https://security.stackexchange.com/); it currently has [52 forensics questions](https://security.stackexchange.com/questions/tagged/forensics) and [30 questions tagged [crime]](https://security.stackexchange.com/questions/tagged/crime).
---
>
> I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics?
>
>
>
For these topics, you can try [Law Stack Exchange](https://law.stackexchange.com/). Please note that it
>
> is for [educational purposes only](http://law.stackexchange.com/help/disclaimer) and is not a substitute for individualized advice from a qualified legal practitioner. Communications on Law Stack Exchange are not privileged communications and do not create an attorney-client relationship
>
>
>
and check their [Help Center](https://law.stackexchange.com/help/on-topic) before asking a question. | A lawyer licensed to practice in your jurisdiction?
I know, it's the usual cop-out answer, but it may be the right way to go, depending on the situation. |
32,208 | Could anyone please suggest a good site, like Stack Overflow, for people working with cyber crime and forensics?
I have a few questions which probably don't belong here. I looked at [Super User](https://superuser.com), but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics? | 2009/12/07 | [
"https://meta.stackexchange.com/questions/32208",
"https://meta.stackexchange.com",
"https://meta.stackexchange.com/users/140044/"
] | >
> I looked at superuser.com, but there are only two questions tagged forensics there, one of which is mine. The community there is not very active.
>
>
>
A suitable alternative might be [Information Security Stack Exchange](https://security.stackexchange.com/); it currently has [52 forensics questions](https://security.stackexchange.com/questions/tagged/forensics) and [30 questions tagged [crime]](https://security.stackexchange.com/questions/tagged/crime).
---
>
> I have some questions also relating to UK statutes, copyright infringement, unlicensed pornography, piracy, etc... anyone know a good place to ask about these topics?
>
>
>
For these topics, you can try [Law Stack Exchange](https://law.stackexchange.com/). Please note that it
>
> is for [educational purposes only](http://law.stackexchange.com/help/disclaimer) and is not a substitute for individualized advice from a qualified legal practitioner. Communications on Law Stack Exchange are not privileged communications and do not create an attorney-client relationship
>
>
>
and check their [Help Center](https://law.stackexchange.com/help/on-topic) before asking a question. | Without knowing your specific question, if it's about a technical aspect of computer forensics, I'd say Stack Overflow would probably be the best site in the trilogy to start. There's a chance it will get migrated, but at least then you'd know where to ask further similar questions.
If your question is about a legal aspect of computer forensics, I'm afraid no site in the trilogy is a good fit. Laws are different in every country, so legal questions for any specific country are likely to be closed as "too localized." |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | Fire extinguishers (here in the US anyway) are REQUIRED to not be usable after being discharged, partial or not, because you can never know HOW MUCH ***extinguishing material*** was discharged by just looking at the pressure gauge. So the valves are designed with breakaway seals that, once broken, will not hold the charge for very long, forcing you to replace it or have it recharged ***and re-certified*** by the manufacturer. These are devices used in saving lives, it's all very serious from their perspective. | There are (at least) two types of fire extinguishers, ones that are preloaded and ones that you must load before use. The ones preloaded have the chamber, that contains the extuingishing medium preassurized. The ones you must load have a small gas tank and when you want to use the extinguisher, you press a button that releases the gas in the tank with the medium. Possibly you've got an extinguisher of the latter kind and the medium tank is not made to keep the preassure for a long period. Hint: if the extinguisher says one has to load it by pressing a button or the handles prior to use, this is probably the case.
Source: fire protection training in Germany, possibly fire extinguishers in the US work differently. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | Fire extinguishers (here in the US anyway) are REQUIRED to not be usable after being discharged, partial or not, because you can never know HOW MUCH ***extinguishing material*** was discharged by just looking at the pressure gauge. So the valves are designed with breakaway seals that, once broken, will not hold the charge for very long, forcing you to replace it or have it recharged ***and re-certified*** by the manufacturer. These are devices used in saving lives, it's all very serious from their perspective. | While not strictly speaking "single use", I would consider a typical consumer-grade residential fire extinguisher (I have 2 - one on each floor, with the upstairs one near the kitchen) to be a single-use item. This is for a few reasons:
* Even a moderately sized fire could make good use of the entire extinguisher, so if it is "half used" it is already in the mode of "possibly not enough for when you really need it again".
* While the main case is pretty simple and sturdy, the firing mechanism has more small (and possibly plastic) parts and is therefore likely to have problems after use. Remember, that one use in a fire involves pushing a lot of chemicals at high pressure through a small mechanism very quickly - easy for that to cause damage to the mechanism.
* The price ($15 - $50 typical in a quick search) doesn't allow for super-high-quality mechanism, so it is "just good enough to do the job".
* Because the price is low (which encourages people to buy an item that they will hopefully **never** use!), it is not cost-effective to professionally recharge these fire extinguishers, which means the mechanism does not need to be designed for multiple uses.
You may ask:
*If this fire extinguisher is only going to be used once, why bother to have any pressure gauge on it at all?*
The answer is that because there can be leaks for other reasons - e.g., fire extinguisher dropped but did not activate, corrosion of parts, etc. - the pressure gauge provides an easy way to tell very easily whether the fire extinguisher is likely to be functional when it is really needed. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | If it's a dry chemical extinguisher (seems likely, most common, particularly with a pressure gauge) the simple answer is that **the valve has got dry chemical dust** in it and no longer seals properly as a result. When refilling the valve or valve parts will either be cleaned or replaced as needed, the dry chemicals will be placed in the container, the valve installed, and clean gas will be added to pressurize the tank, which will not contaminate the sealing surfaces of the clean valve. When you discharge the extinguisher, powder and gas both flow out through the valve, and some powder stays in the valve. Leaks ensue.
The instructions on the side of the (refillable, servicable) ones I have state that they should be fully discharged and then professionally refilled immediately after any use. So the above would not be an issue.
If you want an extinguisher you can partially use (and particularly if you are building a CO2 tank) look for a CO2 extinguisher. They don't typically have gauges (since a gauge would only tell you what the temperature was) - you **weigh** them to see how much is left. The instructions will still want you to refill after any use (because that's how fire extinguishers are always labelled, to be ready in the event of a need at their rated capacity) but practically speaking most CO2 extinguishers will reseal (there is no dust, just gas) and if you have a clearly labelled "normal" extinguisher and a CO2 that you label as "not for use as an extinguisher" you could do that - or you could just get a small CO2 tank that isn't an extinguisher at all, which would be even more clear. | Fire extinguishers with plastic heads cannot (or should not) be refilled (recharged)...only metal heads.
Plastic heads can split, crack, etc. over time. Either they won’t take a charge or they’ll loose a charge over time. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | Fire extinguishers (here in the US anyway) are REQUIRED to not be usable after being discharged, partial or not, because you can never know HOW MUCH ***extinguishing material*** was discharged by just looking at the pressure gauge. So the valves are designed with breakaway seals that, once broken, will not hold the charge for very long, forcing you to replace it or have it recharged ***and re-certified*** by the manufacturer. These are devices used in saving lives, it's all very serious from their perspective. | Fire extinguishers with plastic heads cannot (or should not) be refilled (recharged)...only metal heads.
Plastic heads can split, crack, etc. over time. Either they won’t take a charge or they’ll loose a charge over time. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | Fire extinguishers (here in the US anyway) are REQUIRED to not be usable after being discharged, partial or not, because you can never know HOW MUCH ***extinguishing material*** was discharged by just looking at the pressure gauge. So the valves are designed with breakaway seals that, once broken, will not hold the charge for very long, forcing you to replace it or have it recharged ***and re-certified*** by the manufacturer. These are devices used in saving lives, it's all very serious from their perspective. | Can't help you with arts and crafts reuse, as that's off topic here. Do hydrostatic test the tank to 225% of working pressure. Better to go "tink" than "BOOM".
For use in a home,
Take the extinguisher to get it refilled
----------------------------------------
There are shops which do this, because commercial enterprises have their extinguishers refilled every few years. Extinguishers expire, after all.
Regardless, **you should refill it because you partially used it, and extinguishers are designed to be used on a single fire**. The on/off isn't so you can use it on later fires, it's so you can use it efficiently to attack *the same fire*.
Some low-end extinguishers are not refillable, and are indeed one-shot devices. If that's so, the refiller will tell you that. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | If it's a dry chemical extinguisher (seems likely, most common, particularly with a pressure gauge) the simple answer is that **the valve has got dry chemical dust** in it and no longer seals properly as a result. When refilling the valve or valve parts will either be cleaned or replaced as needed, the dry chemicals will be placed in the container, the valve installed, and clean gas will be added to pressurize the tank, which will not contaminate the sealing surfaces of the clean valve. When you discharge the extinguisher, powder and gas both flow out through the valve, and some powder stays in the valve. Leaks ensue.
The instructions on the side of the (refillable, servicable) ones I have state that they should be fully discharged and then professionally refilled immediately after any use. So the above would not be an issue.
If you want an extinguisher you can partially use (and particularly if you are building a CO2 tank) look for a CO2 extinguisher. They don't typically have gauges (since a gauge would only tell you what the temperature was) - you **weigh** them to see how much is left. The instructions will still want you to refill after any use (because that's how fire extinguishers are always labelled, to be ready in the event of a need at their rated capacity) but practically speaking most CO2 extinguishers will reseal (there is no dust, just gas) and if you have a clearly labelled "normal" extinguisher and a CO2 that you label as "not for use as an extinguisher" you could do that - or you could just get a small CO2 tank that isn't an extinguisher at all, which would be even more clear. | While not strictly speaking "single use", I would consider a typical consumer-grade residential fire extinguisher (I have 2 - one on each floor, with the upstairs one near the kitchen) to be a single-use item. This is for a few reasons:
* Even a moderately sized fire could make good use of the entire extinguisher, so if it is "half used" it is already in the mode of "possibly not enough for when you really need it again".
* While the main case is pretty simple and sturdy, the firing mechanism has more small (and possibly plastic) parts and is therefore likely to have problems after use. Remember, that one use in a fire involves pushing a lot of chemicals at high pressure through a small mechanism very quickly - easy for that to cause damage to the mechanism.
* The price ($15 - $50 typical in a quick search) doesn't allow for super-high-quality mechanism, so it is "just good enough to do the job".
* Because the price is low (which encourages people to buy an item that they will hopefully **never** use!), it is not cost-effective to professionally recharge these fire extinguishers, which means the mechanism does not need to be designed for multiple uses.
You may ask:
*If this fire extinguisher is only going to be used once, why bother to have any pressure gauge on it at all?*
The answer is that because there can be leaks for other reasons - e.g., fire extinguisher dropped but did not activate, corrosion of parts, etc. - the pressure gauge provides an easy way to tell very easily whether the fire extinguisher is likely to be functional when it is really needed. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | There are (at least) two types of fire extinguishers, ones that are preloaded and ones that you must load before use. The ones preloaded have the chamber, that contains the extuingishing medium preassurized. The ones you must load have a small gas tank and when you want to use the extinguisher, you press a button that releases the gas in the tank with the medium. Possibly you've got an extinguisher of the latter kind and the medium tank is not made to keep the preassure for a long period. Hint: if the extinguisher says one has to load it by pressing a button or the handles prior to use, this is probably the case.
Source: fire protection training in Germany, possibly fire extinguishers in the US work differently. | Can't help you with arts and crafts reuse, as that's off topic here. Do hydrostatic test the tank to 225% of working pressure. Better to go "tink" than "BOOM".
For use in a home,
Take the extinguisher to get it refilled
----------------------------------------
There are shops which do this, because commercial enterprises have their extinguishers refilled every few years. Extinguishers expire, after all.
Regardless, **you should refill it because you partially used it, and extinguishers are designed to be used on a single fire**. The on/off isn't so you can use it on later fires, it's so you can use it efficiently to attack *the same fire*.
Some low-end extinguishers are not refillable, and are indeed one-shot devices. If that's so, the refiller will tell you that. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | Fire extinguishers with plastic heads cannot (or should not) be refilled (recharged)...only metal heads.
Plastic heads can split, crack, etc. over time. Either they won’t take a charge or they’ll loose a charge over time. | Can't help you with arts and crafts reuse, as that's off topic here. Do hydrostatic test the tank to 225% of working pressure. Better to go "tink" than "BOOM".
For use in a home,
Take the extinguisher to get it refilled
----------------------------------------
There are shops which do this, because commercial enterprises have their extinguishers refilled every few years. Extinguishers expire, after all.
Regardless, **you should refill it because you partially used it, and extinguishers are designed to be used on a single fire**. The on/off isn't so you can use it on later fires, it's so you can use it efficiently to attack *the same fire*.
Some low-end extinguishers are not refillable, and are indeed one-shot devices. If that's so, the refiller will tell you that. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | While not strictly speaking "single use", I would consider a typical consumer-grade residential fire extinguisher (I have 2 - one on each floor, with the upstairs one near the kitchen) to be a single-use item. This is for a few reasons:
* Even a moderately sized fire could make good use of the entire extinguisher, so if it is "half used" it is already in the mode of "possibly not enough for when you really need it again".
* While the main case is pretty simple and sturdy, the firing mechanism has more small (and possibly plastic) parts and is therefore likely to have problems after use. Remember, that one use in a fire involves pushing a lot of chemicals at high pressure through a small mechanism very quickly - easy for that to cause damage to the mechanism.
* The price ($15 - $50 typical in a quick search) doesn't allow for super-high-quality mechanism, so it is "just good enough to do the job".
* Because the price is low (which encourages people to buy an item that they will hopefully **never** use!), it is not cost-effective to professionally recharge these fire extinguishers, which means the mechanism does not need to be designed for multiple uses.
You may ask:
*If this fire extinguisher is only going to be used once, why bother to have any pressure gauge on it at all?*
The answer is that because there can be leaks for other reasons - e.g., fire extinguisher dropped but did not activate, corrosion of parts, etc. - the pressure gauge provides an easy way to tell very easily whether the fire extinguisher is likely to be functional when it is really needed. | Can't help you with arts and crafts reuse, as that's off topic here. Do hydrostatic test the tank to 225% of working pressure. Better to go "tink" than "BOOM".
For use in a home,
Take the extinguisher to get it refilled
----------------------------------------
There are shops which do this, because commercial enterprises have their extinguishers refilled every few years. Extinguishers expire, after all.
Regardless, **you should refill it because you partially used it, and extinguishers are designed to be used on a single fire**. The on/off isn't so you can use it on later fires, it's so you can use it efficiently to attack *the same fire*.
Some low-end extinguishers are not refillable, and are indeed one-shot devices. If that's so, the refiller will tell you that. |
174,235 | I'm planning to make a small DIY gas tank and I saw people using old or used fire extinguishers but I don't understand why my fire extinguisher can't hold pressure after one use.
I have this fire extinguisher about 3 years and it was holding pressure but few weeks ago my home workshop caught fire from a lithium ion battery explosion. I used my fire extinguisher to control fire but I only used a little bit. After I used it the pressure gauge showed half of the pressure remained but after few weeks pressure slowly leaked to zero.
Do all fire extinguishers do that or is mine just a cheap one?
Also I must add: My fire extinguisher is refillable (instructions say it can be refilled by the manufacturer). I'm thinking maybe they have a special method for locking the mechanism? Because leakage happened after I removed the safety pin. Maybe the company added a mechanism so people have to send their fire extinguisher to the company after use? | 2019/09/12 | [
"https://diy.stackexchange.com/questions/174235",
"https://diy.stackexchange.com",
"https://diy.stackexchange.com/users/106950/"
] | While not strictly speaking "single use", I would consider a typical consumer-grade residential fire extinguisher (I have 2 - one on each floor, with the upstairs one near the kitchen) to be a single-use item. This is for a few reasons:
* Even a moderately sized fire could make good use of the entire extinguisher, so if it is "half used" it is already in the mode of "possibly not enough for when you really need it again".
* While the main case is pretty simple and sturdy, the firing mechanism has more small (and possibly plastic) parts and is therefore likely to have problems after use. Remember, that one use in a fire involves pushing a lot of chemicals at high pressure through a small mechanism very quickly - easy for that to cause damage to the mechanism.
* The price ($15 - $50 typical in a quick search) doesn't allow for super-high-quality mechanism, so it is "just good enough to do the job".
* Because the price is low (which encourages people to buy an item that they will hopefully **never** use!), it is not cost-effective to professionally recharge these fire extinguishers, which means the mechanism does not need to be designed for multiple uses.
You may ask:
*If this fire extinguisher is only going to be used once, why bother to have any pressure gauge on it at all?*
The answer is that because there can be leaks for other reasons - e.g., fire extinguisher dropped but did not activate, corrosion of parts, etc. - the pressure gauge provides an easy way to tell very easily whether the fire extinguisher is likely to be functional when it is really needed. | There are (at least) two types of fire extinguishers, ones that are preloaded and ones that you must load before use. The ones preloaded have the chamber, that contains the extuingishing medium preassurized. The ones you must load have a small gas tank and when you want to use the extinguisher, you press a button that releases the gas in the tank with the medium. Possibly you've got an extinguisher of the latter kind and the medium tank is not made to keep the preassure for a long period. Hint: if the extinguisher says one has to load it by pressing a button or the handles prior to use, this is probably the case.
Source: fire protection training in Germany, possibly fire extinguishers in the US work differently. |
2,859,539 | Is there a function for ASP.NET MVC 2 built in data annotation javascript validation that performs the functionality of Jquery.Validate's isValid()?
I'd like to check if my fields are valid prior to using jquery ajax to send data to the server? Any suggestions?
Thank You. | 2010/05/18 | [
"https://Stackoverflow.com/questions/2859539",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14093/"
] | i used the :
<http://geekswithblogs.net/stun/archive/2010/02/27/asp.net-mvc-client-side-validation-summary-with-jquery-validation-plugin.aspx>
and it worked great for me,
especially you don't need to change the original Mvc Validation way(I mean the validation field), you just make it client side | Jquery will be your best friend
check this <http://bassistance.de/jquery-plugins/jquery-plugin-validation/>
document link:<http://docs.jquery.com/Plugins/Validation> |
2,859,539 | Is there a function for ASP.NET MVC 2 built in data annotation javascript validation that performs the functionality of Jquery.Validate's isValid()?
I'd like to check if my fields are valid prior to using jquery ajax to send data to the server? Any suggestions?
Thank You. | 2010/05/18 | [
"https://Stackoverflow.com/questions/2859539",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14093/"
] | i used the :
<http://geekswithblogs.net/stun/archive/2010/02/27/asp.net-mvc-client-side-validation-summary-with-jquery-validation-plugin.aspx>
and it worked great for me,
especially you don't need to change the original Mvc Validation way(I mean the validation field), you just make it client side | Scott Guh describe simple js validation step by step in this post: <http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx> (look for step3).
It is not JQuery but wouldn't that fit your needs?
--
Dom |
113,232 | I have a friend in Arizona whose employer refuses to give pay under certain conditions.
It is a live-in place, where she and other people are working for the summer. There is a contract to stay for the duration of the summer. $4 per day is withheld by the employer from the paycheck which will be paid at the end of the contract if the employee has stayed for the entire contract duration. This isn't what struck me as illegal, though.
There are dorm checks, and if anyone in the group does not pass this dorm check, the whole group of employees does not receive their pay. Apparently the missed check is paid the following pay period if the dorms are brought to the standard.
What laws, if any, are violated by the employer here?
Is reporting to a government agency a reasonable action? I believe the Department of Labor regulates this sort of thing.
What advice can I give my friend? | 2018/06/01 | [
"https://workplace.stackexchange.com/questions/113232",
"https://workplace.stackexchange.com",
"https://workplace.stackexchange.com/users/87601/"
] | It’s illegal. If you worked, they have to give you your pay for the time worked. If they think that for whatever reason they should have paid less, they need to pay you first, and then can take you to court. With what your post says, any judge would kick them as far as he can.
And that’s why the law is that way: So that scammers can’t rip you off. Including by making you sign contracts that allow them to break the law. | You're friend needs to gather any documentation regarding payment policies and employment contracts she has and talk to a lawyer ASAP. What the employer is doing is highly unethical and probably illegal (but they may have found some weird loop holes). A good employment lawyer will ensure your friend, and the other employees, get the money they're owed. Then I would personally run as far away from that company as fast as I could. |
115,008 | I need to open the port for my MySQL server to the outside and from what I read, the default configuration is not secure nor encrypted.
For that, I have a few solutions in mind with their reason but I'd like to know, from a better security point of view, if I'm missing something.
First, the initial idea was to set up an SSH tunneling, but I'm afraid the connection could be lost from time to time (even if I setup with "autossh" system to automatically reconnect when the connection stops).
My main concern is that I'm afraid to lose some requests (between the moment the ssh tunneling stops, and the time autossh takes up a new connection).
So I thought about opening MySQL for the outside. I'm aware this is not the best option without working on securing it, but if I add those steps, would it be better?
1. **Change the port for the outside.** This won't stop someone to find the correct port, but it will at least stop the bots that target directly 3306
2. **Set up Mysql SSL.** This will stop transmitting data in clear between the client and the server, and avoid MitM attacks.
3. **Allow only from certain IPs.** This will ensure only the IPs I want will be able to connect. This would be managed by **IPtables**
4. **root will be only available from localhost**. And all other users will have restricted access (to their database)
With this configuration in mind, do you think MySQL would still be vulnerable?
My only idea is if someone would access my web server, and knows the login/password, but I believe that once someone has the login/password, security becomes useless (because it has already been breached to obtain the credentials) | 2016/02/18 | [
"https://security.stackexchange.com/questions/115008",
"https://security.stackexchange.com",
"https://security.stackexchange.com/users/9611/"
] | The specific issues depend to some extent on the precise reasons you're opening the server in this way. However, I'm not sure what the difference between a direct MySQL connection dropping (which could happen anyway) and an SSL tunnelled connection dropping, in terms of levels of worry.
1. Changing the port is essentially security by obscurity. It might reduce the number of attacks seen slightly, but I've never seen particularly high levels of traffic against any database ports when compared with what is commonly seen against, say, SSH ports. There is no harm in doing it, as long as it is not the only security precautions taken. Don't expect it to stop anyone targeting your server specifically though.
2. SSL Connections for MySQL are sensible. Make sure your clients are aware of the specific certificate to expect, else it would be possible for a MitM attack to take place by interception and re-encryption (client->attacker is encrypted with attacker cert, attacker decrypts and sends to server using server cert, server responds to attacker, who re-encrypts the data to return to client)
3. IP restrictions are good. You can apply defence in depth here - IPTables to allow for connections to the server, then specific users within MySQL to only be allowed from specific source IPs. Be aware of any users coming from dynamic or shared IP ranges - this mostly applies to users who require access from mobile devices in some countries, but can also result from corporate NATs.
4. This is also good. Ensure that root still has a strong password, and does not rely on access from localhost as the only security precaution - in particular, allowing access to specific hosts indiscriminately, even if that is localhost, is a bad idea, since it weakens the security level to that of the lowest privilege user with access to that host.
However:
* Are your clients storing access passwords in an unencrypted form? (e.g. are they using software to access the system which doesn't restrict access to the passwords if they click "remember my password"?) This might be addressed by policy (saying "don't click remember my password") or by technology (enforcing a specific client which doesn't have this function, or safely implements the function)
* Is the stored data sensitive enough to warrant at-rest encryption?
* Are you storing logs for the system, and monitoring these regularly?
* Does the web server have access to any data it does not specifically require? (e.g. if it doesn't need to be able to read the MySQL users table, has it been prevented from doing so?)
Essentially, without knowing the specific details of your setup, any answer can only offer suggestions of what would normally be considered "secure enough". For a bank or for medical records, I would suggest that your setup is not secure enough, and that you should get in a specialist to help secure it fully. For a brochure website, with no transaction data, and no customer data, it's probably fine. For anything between them, it varies. | One thing I can think of: Setting up SSL may not *enforce* all connections to be SSL. Be sure to verify that.
Aside from the above concern, I think it would only be vulnerable if there was a bug in Mysql itself. If you want to mitigate that, use a VPN (which is not unlike SSH tunneling, as it is an extra point of potential failure), and tell Mysql to only bind to the VPN's vitrual network interface (e.g. tun0). |
2,768,828 | I'm using the MySql connector for .NET to copy data from MySql servers to SQL Server 2008.
Has anyone experienced better performance using one of the following, versus the other?
* DataAdapter and calling Fill to a DataTable in chunks of 500
* DataReader.Read to a DataTable in a loop of 500
I am then using SqlBulkCopy to load the 500 DataTable rows, then continue looping until the MySql record set is completely transferred.
I am primarily concerned with using a reasonable amount of memory and completing in a short amount of time.
Any help would be appreciated! | 2010/05/04 | [
"https://Stackoverflow.com/questions/2768828",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/111934/"
] | I've used SqlBulkCopy with DataReader when processing large amounts of data. I’ve found the process to be quite efficient in terms of speed and memory usage, since the entire data set is not retrieved before copying. I recommend setting the BatchSize property to some reasonable value, say 500 in your case. | I have not used SqlBulkCopy, but as a general rule of thumb, DataReaders typically offer better performance.
A DataReader can be processed while the underlying query is still returning records (so you don't have to wait for the query to finish before you can start processing data). A DataReader will return data as soon as it is available and I believe will only store the active record in memory by default (not the complete result set), thus reducing memory usage.
A DataAdapter loads the full result set in to a DataTable/DataSet that will have higher overhead due to how the information is stored in memory and the additional associated state (think rowstate, etc).
If I am only reading data, I will always use a DataReader over a DataAdapter... someone please correct me if I am wrong on any point?
Regardless, SqlBulkCopy appears to only iterate over the records and does not use the DataTable for any optimizations (according to Reflector), so I think DataReader is your best bet. |
774,374 | I am setting up a VPN server using OpenVPN. The authentication method is the certificate one (different certs for client and server). The VPS has 1TB of traffic monthly.
I plan allowing up to 4 clients per one server. So I'd like to restrict the client using more than 250GB per month.
I thought I might have restricted the amount of traffic coming from one IP, but this idea wouldn't solve the problem - clients may login from either their phone, PC, or tablet.
Ideally, I expect a statement in the .ovpn client file which would be able to control the amount of traffic coming from one client. I haven't found it, though.
How to setup the restriction? Thanks. | 2016/05/02 | [
"https://serverfault.com/questions/774374",
"https://serverfault.com",
"https://serverfault.com/users/352553/"
] | I'm a bit late to the party, but you can use the **client-config-dir** option to assign each client conf a local IP address.
Then you can use Linux's **Traffic Control** (tc) to limit the bandwidth for each IP (and thus for each client). Would that work for you ? | Per [OpenVPN 2.0.x](https://openvpn.net/index.php/open-source/documentation/manuals/65-openvpn-20x-manpage.html):
>
> --shaper n Limit bandwidth of outgoing tunnel data to n bytes per second on the TCP/UDP port. If you want to limit the bandwidth in both
> directions, use this option on both peers. OpenVPN uses the following
> algorithm to implement traffic shaping: Given a shaper rate of n bytes
> per second, after a datagram write of b bytes is queued on the TCP/UDP
> port, wait a minimum of (b / n) seconds before queuing the next write.
>
>
> It should be noted that OpenVPN supports multiple tunnels between the
> same two peers, allowing you to construct full-speed and reduced
> bandwidth tunnels at the same time, routing low-priority data such as
> off-site backups over the reduced bandwidth tunnel, and other data
> over the full-speed tunnel.
>
>
> Also note that for low bandwidth tunnels (under 1000 bytes per
> second), you should probably use lower MTU values as well (see above),
> otherwise the packet latency will grow so large as to trigger timeouts
> in the TLS layer and TCP connections running over the tunnel.
>
>
> OpenVPN allows n to be between 100 bytes/sec and 100 Mbytes/sec.
>
>
> |
774,374 | I am setting up a VPN server using OpenVPN. The authentication method is the certificate one (different certs for client and server). The VPS has 1TB of traffic monthly.
I plan allowing up to 4 clients per one server. So I'd like to restrict the client using more than 250GB per month.
I thought I might have restricted the amount of traffic coming from one IP, but this idea wouldn't solve the problem - clients may login from either their phone, PC, or tablet.
Ideally, I expect a statement in the .ovpn client file which would be able to control the amount of traffic coming from one client. I haven't found it, though.
How to setup the restriction? Thanks. | 2016/05/02 | [
"https://serverfault.com/questions/774374",
"https://serverfault.com",
"https://serverfault.com/users/352553/"
] | I'm a bit late to the party, but you can use the **client-config-dir** option to assign each client conf a local IP address.
Then you can use Linux's **Traffic Control** (tc) to limit the bandwidth for each IP (and thus for each client). Would that work for you ? | You can use the **iptables quota** match extension as shown with a good example in [this answer](https://serverfault.com/a/245565/209089) to limit the traffic volume of a specific IP address. |
142,650 | I have an svg image generated by another program (for visualisation of molecules) that is super complex, and I'd like to try and automatically simplify it. For example, a simple sphere with a gradient is drawn with 576 triangles. Is there a program (I have Inkscape and Illustrator, but I can download another free program if needed) capable to automatically convert these objects in simpler ones (e.g. a sphere with a gradient)? Just so you understand what I'm talking about, here's an example image: <https://cloud.iacchi.casa/s/criQNyKNHaRpWMx>
The idea is to get a 200 KB image instead of a 7 MB one, considering that I have to add more similar images together in a single final image, which shouldn't weigh 50 MB or so! | 2020/10/27 | [
"https://graphicdesign.stackexchange.com/questions/142650",
"https://graphicdesign.stackexchange.com",
"https://graphicdesign.stackexchange.com/users/157566/"
] | Might be easier to just recreate these totally from scratch to be honest. I just tried using the shape builder to try and merge some shapes and Illustrator just sits there doing nothing.
The whole thing is only made up of a few individual shapes with gradients.
Here's an example showing the pieces (on the right), and recreated artwork from these pieces (on the left).
[](https://i.stack.imgur.com/Rct7A.png) | No! Though in this case its relatively easy to replace the artwork generation with some thing smarter than just dumping your opengl feed. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.