qid
int64
1
74.7M
question
stringlengths
12
33.8k
date
stringlengths
10
10
metadata
sequence
response_j
stringlengths
0
115k
response_k
stringlengths
2
98.3k
41,786
I have Flash files that I would like to make edits on but I don't know how or with what. Is there some software that can edit a Flash (.fla) file? (Ideally something free.)
2009/09/15
[ "https://superuser.com/questions/41786", "https://superuser.com", "https://superuser.com/users/10319/" ]
You can install the free 1 month trail version of [Adobe Flash CS4 Professional](https://www.adobe.com/products/flash/), which you can use to edit and create free flash movies. If all you need to do is a one-time editing of the flash (.fla) file, you can get away using just the trial version.
there are no legally free programs that allows full capable editing of Flash source files (.fla). Only Adobe Flash (not Player!) can do it. I suggest you stop wasting time hoping a free program like this comes along, and start using that time saved to work and buy a copy eventually.
41,786
I have Flash files that I would like to make edits on but I don't know how or with what. Is there some software that can edit a Flash (.fla) file? (Ideally something free.)
2009/09/15
[ "https://superuser.com/questions/41786", "https://superuser.com", "https://superuser.com/users/10319/" ]
Check [projects on osflash](http://www.osflash.org/projects). All of these are free. There are IDEs, command line tools, editors, game servers, etc ...and check [tutorials](http://osflash.org/tutorials).
there are no legally free programs that allows full capable editing of Flash source files (.fla). Only Adobe Flash (not Player!) can do it. I suggest you stop wasting time hoping a free program like this comes along, and start using that time saved to work and buy a copy eventually.
41,786
I have Flash files that I would like to make edits on but I don't know how or with what. Is there some software that can edit a Flash (.fla) file? (Ideally something free.)
2009/09/15
[ "https://superuser.com/questions/41786", "https://superuser.com", "https://superuser.com/users/10319/" ]
You can download the 30-day trial version of [Adobe Flash Professional](http://www.adobe.com/products/flash/). I don't know of any free alternative that works as well.
there are no legally free programs that allows full capable editing of Flash source files (.fla). Only Adobe Flash (not Player!) can do it. I suggest you stop wasting time hoping a free program like this comes along, and start using that time saved to work and buy a copy eventually.
41,786
I have Flash files that I would like to make edits on but I don't know how or with what. Is there some software that can edit a Flash (.fla) file? (Ideally something free.)
2009/09/15
[ "https://superuser.com/questions/41786", "https://superuser.com", "https://superuser.com/users/10319/" ]
You can install the free 1 month trail version of [Adobe Flash CS4 Professional](https://www.adobe.com/products/flash/), which you can use to edit and create free flash movies. If all you need to do is a one-time editing of the flash (.fla) file, you can get away using just the trial version.
Check [projects on osflash](http://www.osflash.org/projects). All of these are free. There are IDEs, command line tools, editors, game servers, etc ...and check [tutorials](http://osflash.org/tutorials).
41,786
I have Flash files that I would like to make edits on but I don't know how or with what. Is there some software that can edit a Flash (.fla) file? (Ideally something free.)
2009/09/15
[ "https://superuser.com/questions/41786", "https://superuser.com", "https://superuser.com/users/10319/" ]
You can install the free 1 month trail version of [Adobe Flash CS4 Professional](https://www.adobe.com/products/flash/), which you can use to edit and create free flash movies. If all you need to do is a one-time editing of the flash (.fla) file, you can get away using just the trial version.
You can download the 30-day trial version of [Adobe Flash Professional](http://www.adobe.com/products/flash/). I don't know of any free alternative that works as well.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
First, look into a UPS (un-interuptable power supply) Second, look into creating persistent transactions, transactions that will save early and often, but not commit until you tell it to. This goes a little beyond the typical transactions in TSQL.
If it's a hard power-cut (like the battery removed on a laptop while unplugged), then there's not much you can do other than write to disk every. step. of. the. way. (Talk about a performance hit.) And also make sure that you have something recorded to let the application know when it starts back up what it was in the middle of doing before, so it can either continue, or retry the operation. If it's a power-cut, like the power button being pressed to shutdown/sleep/hibernate the computer, then listen for the SystemEvents.PowerModeChanged event and act accordingly. Lastly, make sure that if your data would be corrupted if halfway written to a database, make sure your database writes are atomic (either all the changes happen and are accepted, or none of them are).
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
First, look into a UPS (un-interuptable power supply) Second, look into creating persistent transactions, transactions that will save early and often, but not commit until you tell it to. This goes a little beyond the typical transactions in TSQL.
PowerFailureException class will solve this. Actually just maintain power with a UPS. The only other option really is to maintain atomicity for database transactions.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
You can append the current information being received to the file system. It will be a performance hit, but will allow you to get back to the last item being captured. When the application starts detect if there is a pending file, and provide the option to recover. Load the data saved in the file appropriately. Once you have all the information, when you are doing the process that happens when paying, make sure to record any significant changes in the process atomically. If you are hitting external systems, record when you are initiating the operation and when it comes back right away. In the above there is always a window of time when it can fail, but you want to keep it as short as possible and to have enough information for the recovery processes. Worst case if the system can't automatically recover, you want it to have enough information to determine where in the process it stopped.
You might want to consider having your application use [SQLite](http://www.sqlite.org). They have some great info on their [when to use page](http://www.sqlite.org/whentouse.html). Some points that stand out are: > > * Updates happen atomically as application content is revised > * Content is updated continuously and atomically so that there is no work lost in the event of a power failure or crash. > > > I'm looking for a similar option for an application I am going to implement which will be used in a third world country where the power goes out frequently throughout the day....so far SQLite seems to stand out as a good possible choice. But at the end of the day, your choice will depend on your individual circumstances and requirements.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
If it's a hard power-cut (like the battery removed on a laptop while unplugged), then there's not much you can do other than write to disk every. step. of. the. way. (Talk about a performance hit.) And also make sure that you have something recorded to let the application know when it starts back up what it was in the middle of doing before, so it can either continue, or retry the operation. If it's a power-cut, like the power button being pressed to shutdown/sleep/hibernate the computer, then listen for the SystemEvents.PowerModeChanged event and act accordingly. Lastly, make sure that if your data would be corrupted if halfway written to a database, make sure your database writes are atomic (either all the changes happen and are accepted, or none of them are).
You might want to consider having your application use [SQLite](http://www.sqlite.org). They have some great info on their [when to use page](http://www.sqlite.org/whentouse.html). Some points that stand out are: > > * Updates happen atomically as application content is revised > * Content is updated continuously and atomically so that there is no work lost in the event of a power failure or crash. > > > I'm looking for a similar option for an application I am going to implement which will be used in a third world country where the power goes out frequently throughout the day....so far SQLite seems to stand out as a good possible choice. But at the end of the day, your choice will depend on your individual circumstances and requirements.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
If it's a hard power-cut (like the battery removed on a laptop while unplugged), then there's not much you can do other than write to disk every. step. of. the. way. (Talk about a performance hit.) And also make sure that you have something recorded to let the application know when it starts back up what it was in the middle of doing before, so it can either continue, or retry the operation. If it's a power-cut, like the power button being pressed to shutdown/sleep/hibernate the computer, then listen for the SystemEvents.PowerModeChanged event and act accordingly. Lastly, make sure that if your data would be corrupted if halfway written to a database, make sure your database writes are atomic (either all the changes happen and are accepted, or none of them are).
PowerFailureException class will solve this. Actually just maintain power with a UPS. The only other option really is to maintain atomicity for database transactions.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
If it's a hard power-cut (like the battery removed on a laptop while unplugged), then there's not much you can do other than write to disk every. step. of. the. way. (Talk about a performance hit.) And also make sure that you have something recorded to let the application know when it starts back up what it was in the middle of doing before, so it can either continue, or retry the operation. If it's a power-cut, like the power button being pressed to shutdown/sleep/hibernate the computer, then listen for the SystemEvents.PowerModeChanged event and act accordingly. Lastly, make sure that if your data would be corrupted if halfway written to a database, make sure your database writes are atomic (either all the changes happen and are accepted, or none of them are).
What you really want are atomic on disk transactions. There are many ways to perform these, but often times if you are using an existing database product it will be done for you. If you rolled your own database or file formats, you have some work cut our for you depending on your file format.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
You can append the current information being received to the file system. It will be a performance hit, but will allow you to get back to the last item being captured. When the application starts detect if there is a pending file, and provide the option to recover. Load the data saved in the file appropriately. Once you have all the information, when you are doing the process that happens when paying, make sure to record any significant changes in the process atomically. If you are hitting external systems, record when you are initiating the operation and when it comes back right away. In the above there is always a window of time when it can fail, but you want to keep it as short as possible and to have enough information for the recovery processes. Worst case if the system can't automatically recover, you want it to have enough information to determine where in the process it stopped.
What you really want are atomic on disk transactions. There are many ways to perform these, but often times if you are using an existing database product it will be done for you. If you rolled your own database or file formats, you have some work cut our for you depending on your file format.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
First, look into a UPS (un-interuptable power supply) Second, look into creating persistent transactions, transactions that will save early and often, but not commit until you tell it to. This goes a little beyond the typical transactions in TSQL.
You can append the current information being received to the file system. It will be a performance hit, but will allow you to get back to the last item being captured. When the application starts detect if there is a pending file, and provide the option to recover. Load the data saved in the file appropriately. Once you have all the information, when you are doing the process that happens when paying, make sure to record any significant changes in the process atomically. If you are hitting external systems, record when you are initiating the operation and when it comes back right away. In the above there is always a window of time when it can fail, but you want to keep it as short as possible and to have enough information for the recovery processes. Worst case if the system can't automatically recover, you want it to have enough information to determine where in the process it stopped.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
You can append the current information being received to the file system. It will be a performance hit, but will allow you to get back to the last item being captured. When the application starts detect if there is a pending file, and provide the option to recover. Load the data saved in the file appropriately. Once you have all the information, when you are doing the process that happens when paying, make sure to record any significant changes in the process atomically. If you are hitting external systems, record when you are initiating the operation and when it comes back right away. In the above there is always a window of time when it can fail, but you want to keep it as short as possible and to have enough information for the recovery processes. Worst case if the system can't automatically recover, you want it to have enough information to determine where in the process it stopped.
PowerFailureException class will solve this. Actually just maintain power with a UPS. The only other option really is to maintain atomicity for database transactions.
736,712
We are developing an RetailPOS .net (windows) application. One of the customer asks 'What will happen to current data being processed in the application when a power went off suddenly?', 'Will the application able to recover the unsaved data?' I am wondering, how this feature can be included in the .net application? Can some help me, what needs to be done for this?
2009/04/10
[ "https://Stackoverflow.com/questions/736712", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53262/" ]
First, look into a UPS (un-interuptable power supply) Second, look into creating persistent transactions, transactions that will save early and often, but not commit until you tell it to. This goes a little beyond the typical transactions in TSQL.
What you really want are atomic on disk transactions. There are many ways to perform these, but often times if you are using an existing database product it will be done for you. If you rolled your own database or file formats, you have some work cut our for you depending on your file format.
6,944
Occasionally, I see a question for which I don't know enough to write a good answer, but I happen to know something that I think would be useful for someone asking that question to know. * **[Example 1](https://rpg.stackexchange.com/questions/94633/how-to-create-a-custom-lycanthrope-in-heroforge-anew#comment218859_94633):** Arthaban wants to know how to do something in HeroForge. I don't know how to do the thing they want to do in HeroForge, so I can't write a good answer. But I *do* know the developer of HeroForge, who probably knows the answer. So I comment with a link to where they could get in touch with her. * **[Example 2](https://rpg.stackexchange.com/questions/98082/how-should-a-substitution-level-be-read#comment230523_98082):** HeyICanChan wants to know what exactly gets replaced when you take a substitution level. I can't find satisfactory rules text that would tell us what *actually* happens - but I have noticed a regularity that might help them out in ruling on these things in a way that makes sense, so I post a comment briefly mentioning it. --- On the one hand, these smell a little bit like [partial-answers-in-comments](https://rpg.meta.stackexchange.com/questions/6533/should-users-refrain-from-answers-or-partial-answers-in-comments/6534#6534). On the other hand, they're not really answers - they're just things that the question makes me think the asker would probably want to know. Are such comments acceptable? If not, is there a different venue by which it would be more appropriate to communicate this kind of information?
2017/04/13
[ "https://rpg.meta.stackexchange.com/questions/6944", "https://rpg.meta.stackexchange.com", "https://rpg.meta.stackexchange.com/users/30299/" ]
No, these aren't acceptable. These are partial answers in comments. A "lead", an "idea", and something that starts with "not an answer but..." are all answers in comments. Your options are: 1. Take the time to find out and write an answer. 2. Hit them up in chat. 3. Let it lie. Usually #3 is the best, because usually the helpful tip isn't really that helpful. Most of them are some variant on "LMGTFY". Your example of "you could go here and contact the developer" - realistically, they know that, or could with a token bit of research. But they're asking here. Everyone knows they could Google or go ask the author/designer on Twitter or go post on some other forum for thing X and ask there. But that's not an answer. Someone with the wherewithal to actually contact the developer and find out - *they* deserve to post an answer. Your second example - so there's a 50% chance the lead is wrong and deceptive as to an approach, because you don't really know the answer. I totally know everyone throwing out "tips" is doing it to be helpful. I am certainly not questioning any motives. But the fact is, these "tips" in comments are often a) wrong, b) pointless, and/or c) lead to comment arguments when people try to rebut them since comments don't have downvotes and their own comments like a proper answer does. In general, don't do it. The likelihood you have the critical piece of information some real answerer doesn't have is slight. And by posting a piece, you disincentivize someone from writing an actual answer around that, since "Well... It's there in a comment and they've already read it... I'll go spend my time somewhere else."
You do *technically* have a fourth option. If you actually have a good, substantial partial-answer but can't finish it off for whatever reason, consider posting it as a community wiki answer in its incomplete form. Community wiki answers should be rare, because we can generally answer a question without needing multiple different experts specialized in different areas, but they are there if you want to use them and posting partial answers is still officially okay. I don't think either of the test cases you mention pass muster for that, though.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Thats a apples to oranges question in my book. C/c++ don't have memory management at least not in the language thats your job. That being said java will allocate and destroy memory for you all the live long day but at the cost of control. For the standard business app this is not at issue. You are going to load some bloated 3rd party code either way, but when it counts you have more power in c/c++. You also have more power to shoot yourself in the foot.
As for internal memory management, Java has the best of the three, since it automates disposing of objects. If your question aims at performance, C or C++ would be a better bet. You would have to do all of the memory management yourself, but at the same time wouldn't have to wait for a Garbage Collector to do it's job. IMO it all depends on your approach: If you want to optimize your Application for Performance, go C or C++. If you don't want to worry about memory management yourself, use Java.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Java has memory management. C and C++ don't, so it's memory management is a function of the programmer.
Programmer managed memory in c and c++ is the root cause of many software bugs in programs written in those languages. This is one of the main reasons modern languages like Java and C# have garbage collection.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
The problem with Java is that since it does the garbage collection automatically, and you can only induce it to happen, you cannot free resources at the exact moment you want them to be freed. The advantage is that you do not have to worry about objects being left behind, because they won't affect your memory in the long run (as long as you don't keep a reference to them, of course). For optimal memory management, I would recommend C or C++, even though between those two, I would say C++ because of the high number of features it has. As for particular arguments regarding the memory management between C and C++, I do not know. In any case, the fact that they allow you to treat things in a much more controlled and customized way, means that you must not relax and forget to do that management yourself. Hope that helps.
Programmer managed memory in c and c++ is the root cause of many software bugs in programs written in those languages. This is one of the main reasons modern languages like Java and C# have garbage collection.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
As for internal memory management, Java has the best of the three, since it automates disposing of objects. If your question aims at performance, C or C++ would be a better bet. You would have to do all of the memory management yourself, but at the same time wouldn't have to wait for a Garbage Collector to do it's job. IMO it all depends on your approach: If you want to optimize your Application for Performance, go C or C++. If you don't want to worry about memory management yourself, use Java.
Programmer managed memory in c and c++ is the root cause of many software bugs in programs written in those languages. This is one of the main reasons modern languages like Java and C# have garbage collection.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Java has memory management. C and C++ don't, so it's memory management is a function of the programmer.
The problem with Java is that since it does the garbage collection automatically, and you can only induce it to happen, you cannot free resources at the exact moment you want them to be freed. The advantage is that you do not have to worry about objects being left behind, because they won't affect your memory in the long run (as long as you don't keep a reference to them, of course). For optimal memory management, I would recommend C or C++, even though between those two, I would say C++ because of the high number of features it has. As for particular arguments regarding the memory management between C and C++, I do not know. In any case, the fact that they allow you to treat things in a much more controlled and customized way, means that you must not relax and forget to do that management yourself. Hope that helps.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Java has memory management. C and C++ don't, so it's memory management is a function of the programmer.
As for internal memory management, Java has the best of the three, since it automates disposing of objects. If your question aims at performance, C or C++ would be a better bet. You would have to do all of the memory management yourself, but at the same time wouldn't have to wait for a Garbage Collector to do it's job. IMO it all depends on your approach: If you want to optimize your Application for Performance, go C or C++. If you don't want to worry about memory management yourself, use Java.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Thats a apples to oranges question in my book. C/c++ don't have memory management at least not in the language thats your job. That being said java will allocate and destroy memory for you all the live long day but at the cost of control. For the standard business app this is not at issue. You are going to load some bloated 3rd party code either way, but when it counts you have more power in c/c++. You also have more power to shoot yourself in the foot.
Java and C# have both garbage collection. This is a good thing because the programmer has less problems with memory management, and can concentrate on other problems. In C and C++ you must manually manage memory - for this you need much time and patience and experience. JVM's garbage collector is fast enough, hence you almost don't feel the difference between time execution of C++ programs vs Java programs(C++ is supposed to be faster than java).
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Thats a apples to oranges question in my book. C/c++ don't have memory management at least not in the language thats your job. That being said java will allocate and destroy memory for you all the live long day but at the cost of control. For the standard business app this is not at issue. You are going to load some bloated 3rd party code either way, but when it counts you have more power in c/c++. You also have more power to shoot yourself in the foot.
Programmer managed memory in c and c++ is the root cause of many software bugs in programs written in those languages. This is one of the main reasons modern languages like Java and C# have garbage collection.
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
The problem with Java is that since it does the garbage collection automatically, and you can only induce it to happen, you cannot free resources at the exact moment you want them to be freed. The advantage is that you do not have to worry about objects being left behind, because they won't affect your memory in the long run (as long as you don't keep a reference to them, of course). For optimal memory management, I would recommend C or C++, even though between those two, I would say C++ because of the high number of features it has. As for particular arguments regarding the memory management between C and C++, I do not know. In any case, the fact that they allow you to treat things in a much more controlled and customized way, means that you must not relax and forget to do that management yourself. Hope that helps.
Java and C# have both garbage collection. This is a good thing because the programmer has less problems with memory management, and can concentrate on other problems. In C and C++ you must manually manage memory - for this you need much time and patience and experience. JVM's garbage collector is fast enough, hence you almost don't feel the difference between time execution of C++ programs vs Java programs(C++ is supposed to be faster than java).
3,910,625
I just wanted to know which language has better memory management among C,C++ and Java,why is it so and it is based on what criteria? I know that Java uses garbage collection for freeing memory and C uses DMA functions.Does this make java better at memory management since it's handled automatically? I do not know C++ so I don't have much idea there,though I know it uses destructors and delete. Any suggestions/ideas will be grately appreciated.
2010/10/11
[ "https://Stackoverflow.com/questions/3910625", "https://Stackoverflow.com", "https://Stackoverflow.com/users/472777/" ]
Java has memory management. C and C++ don't, so it's memory management is a function of the programmer.
Java and C# have both garbage collection. This is a good thing because the programmer has less problems with memory management, and can concentrate on other problems. In C and C++ you must manually manage memory - for this you need much time and patience and experience. JVM's garbage collector is fast enough, hence you almost don't feel the difference between time execution of C++ programs vs Java programs(C++ is supposed to be faster than java).
134,478
I would like to attach an eyebolt to the ridgeline of my metal roof. I can then attach a rope to that when I need to work on the roof. I am a climber and have the knowledge and gear to secure myself. The rope is mainly to allow me to get up the 10/12 central part of the roof (the ridgeline of which I'll mount the eye-bolt), and not slide off the adjacent 5/12 portions of the roof. It will not be subject to dynamic loading (catching falls); the biggest loads it will sustain are when I haul on it to get up the 10/12 roof (it's impossible otherwise, very slippery). Since the ridge cap is just a fairly flimsy piece of galvalume, the eyebolt must be secured without reliance on it (and RTV silicon caulked to it). My plan is to drill a hole through the ridge cap, the eyebolt will come through that, and then be attached to the rafters with two u-bolts. Since this is the ridge, it's where the rafters meet. So additionally, I will reinforce the rafters with two triangular shaped steel plates (one on each side of the area where the rafters meet); these will be bolted through the rafter with 2-3 bolts, and then the u-bolts will go through them as well. This picture shows the detail. [![enter image description here](https://i.stack.imgur.com/PLNdV.jpg)](https://i.stack.imgur.com/PLNdV.jpg)
2018/03/13
[ "https://diy.stackexchange.com/questions/134478", "https://diy.stackexchange.com", "https://diy.stackexchange.com/users/34111/" ]
If I may suggest an alternative since putting a hole in any roof is better avoided. I have a 10/12 pitched roof and I use an extension ladder with a stand-off stabilizer to reach the peak. [![stand-off stabilizer ](https://i.stack.imgur.com/gLCUR.jpg)](https://i.stack.imgur.com/gLCUR.jpg) The ladder is laid flat on the roof with the stabilizer pointing skyward. Extend the section and slide upward towards the peak and then flip the ladder so the stabilizer hooks over the peak. Climb up the rungs which offer both hand and footholds. Once you’re at the peak, tie off your safety line, hoist a plank to lay on the opposite side of the peak and insert through the top rung. Lash it off or use pipe clamps and you’ve reinforced the setup. I have used it to rebuild chimneys, antenna work, placing hundreds of pounds of brick, etc... on it.
Here's what I ended up doing: 1. I mounted a piece of 6x6 oak between two rafters, just down from the ridgeline, butted flat against the roof underlayment, and secured with three anodized 4" timber screws through the rafters at each end. I did two of these, one of each side of the ridgeline. 2. I sourced some 1/2" by 4+" stainless steel shoulder lag eye bolts. [![enter image description here](https://i.stack.imgur.com/2LKH7.png)](https://i.stack.imgur.com/2LKH7.png) ... and screwed them through the roofing metal and into the oak 6x6 pieces. I obtained some nylon washers (called a company that manufactures them and asked for samples) to use where the bolts penetrated the roof, to forestall galvanic corrosion between the SS and the galvalume. I sealed the penetration throughly with RTV silicon. 3. I sourced some 3/16" wire rope and hardware to make loops at each end, and used this to tie the two eyebolts together (outside, on top of the roof). I covered the wire rope with UV resistant plastic tubing where it lays over the galvalume ridge cap, again to avoid galvanic corrosion. The purpose of this is to create redundancy in my anchors: if the one I'm secured to should fail, the wire rope will keep me secured to the other. This will fail if the circular eye of the bolt fails, but this seems an unlikely failure point - the whole thing seems extremely secure, including the way I mounted the eye bolts to the 6x6 pieces. The only part that worries me a little is where the shoulder of the eye is attached to the threaded shaft of the bolt. As far as using, some of this will only make sense to climbers: 1. I attach a piece of climbing rope to a 'biner with a retraced-figure8. Standing up through a "roof window" openable skylight in the loft, I use a stick clip to attach the 'biner to the near-side eyebolt. 2. I attach the rope to my harness with a grigri, with a safety knot below the grigri. I adjust the rope length as I move about the roof. I could move the 'biner to the other eyebolt when I go over the ridgeline to the other side of the roof. 3. When done, I do a procedure somewhat like cleaning a sport climb. I secure myself to the near-side eyebolt with a sling. Then I detach the rope and 'biner from the eyebolt. I thread the rope through the eyebolt and tie it to my harness. 4. Then I rappel down from the eyebolt to the roof window, using the grigri.
134,478
I would like to attach an eyebolt to the ridgeline of my metal roof. I can then attach a rope to that when I need to work on the roof. I am a climber and have the knowledge and gear to secure myself. The rope is mainly to allow me to get up the 10/12 central part of the roof (the ridgeline of which I'll mount the eye-bolt), and not slide off the adjacent 5/12 portions of the roof. It will not be subject to dynamic loading (catching falls); the biggest loads it will sustain are when I haul on it to get up the 10/12 roof (it's impossible otherwise, very slippery). Since the ridge cap is just a fairly flimsy piece of galvalume, the eyebolt must be secured without reliance on it (and RTV silicon caulked to it). My plan is to drill a hole through the ridge cap, the eyebolt will come through that, and then be attached to the rafters with two u-bolts. Since this is the ridge, it's where the rafters meet. So additionally, I will reinforce the rafters with two triangular shaped steel plates (one on each side of the area where the rafters meet); these will be bolted through the rafter with 2-3 bolts, and then the u-bolts will go through them as well. This picture shows the detail. [![enter image description here](https://i.stack.imgur.com/PLNdV.jpg)](https://i.stack.imgur.com/PLNdV.jpg)
2018/03/13
[ "https://diy.stackexchange.com/questions/134478", "https://diy.stackexchange.com", "https://diy.stackexchange.com/users/34111/" ]
It may not look the best, but if you're going to install a fall arrest system on your roof this seems like a cheaper and tested solution. It's best not to try to MacGyver solutions when life safety is involved. I'd suggest covering the fasteners with a waterproofing tape once the system is installed to prevent as much water damage as possible. [![enter image description here](https://i.stack.imgur.com/3NjhQ.png)](https://i.stack.imgur.com/3NjhQ.png)
Here's what I ended up doing: 1. I mounted a piece of 6x6 oak between two rafters, just down from the ridgeline, butted flat against the roof underlayment, and secured with three anodized 4" timber screws through the rafters at each end. I did two of these, one of each side of the ridgeline. 2. I sourced some 1/2" by 4+" stainless steel shoulder lag eye bolts. [![enter image description here](https://i.stack.imgur.com/2LKH7.png)](https://i.stack.imgur.com/2LKH7.png) ... and screwed them through the roofing metal and into the oak 6x6 pieces. I obtained some nylon washers (called a company that manufactures them and asked for samples) to use where the bolts penetrated the roof, to forestall galvanic corrosion between the SS and the galvalume. I sealed the penetration throughly with RTV silicon. 3. I sourced some 3/16" wire rope and hardware to make loops at each end, and used this to tie the two eyebolts together (outside, on top of the roof). I covered the wire rope with UV resistant plastic tubing where it lays over the galvalume ridge cap, again to avoid galvanic corrosion. The purpose of this is to create redundancy in my anchors: if the one I'm secured to should fail, the wire rope will keep me secured to the other. This will fail if the circular eye of the bolt fails, but this seems an unlikely failure point - the whole thing seems extremely secure, including the way I mounted the eye bolts to the 6x6 pieces. The only part that worries me a little is where the shoulder of the eye is attached to the threaded shaft of the bolt. As far as using, some of this will only make sense to climbers: 1. I attach a piece of climbing rope to a 'biner with a retraced-figure8. Standing up through a "roof window" openable skylight in the loft, I use a stick clip to attach the 'biner to the near-side eyebolt. 2. I attach the rope to my harness with a grigri, with a safety knot below the grigri. I adjust the rope length as I move about the roof. I could move the 'biner to the other eyebolt when I go over the ridgeline to the other side of the roof. 3. When done, I do a procedure somewhat like cleaning a sport climb. I secure myself to the near-side eyebolt with a sling. Then I detach the rope and 'biner from the eyebolt. I thread the rope through the eyebolt and tie it to my harness. 4. Then I rappel down from the eyebolt to the roof window, using the grigri.
11,242,592
I am facing a problem for several days and after many research I couldn't find anything that fit with my case. Here's the thing : I'm working with Visual Studio 2010 on a solution that contains several projects and a Setup Project. I want the setup project to create a MSI file to update the product from version 1.5 to version 1.6. I followed this tutorial <http://www.simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/> and updated also the assembly version and file version numbers of each project of the solution. The settings of my Setup Project are : DetectNewerInstalledVersion : **True** InstallAllUsers : **True** RemovePreviousVersions : **True** Version : **1.6.3** The ProductCode is different from the ProductCode of the previous version and UpgradeCode is the same than the UpgradeCode of the previous version. I read that normally the MSI should remove the files which version is newer than the existing ones and replace with the new ones. And when I run the previous MSI (those which updates the product from 1.4 to 1.5) it works just fine as described. (I'm not sure with which version of visual studio it was compiled but I guess it's with VS2008). Now when I run my MSI, it seems that it first runs the "installation sequence" that replace the old .exe with the new ones, and then it runs the "uninstall sequence" that erase the .exe. And when the install is "finished" there is no more .exe in my application directory. (However in the "Add/Remove Programs" Panel the product apppears as installed in version 1.6). (NB : I can notice when the "install" part or "uninstall" part of the MSI is running because both have Custom Actions that open a Console Application in which I can have a trace). After more research I compared the old MSI with mine whith ORCA and I noticed differences in the table InstallExecuteSequence : With the old MSI, the sequence number of RemoveExistingProducts is **1525** that is between InstallInitialize (1500) and AllocateRegistrySpace (1550). With my MSI, the sequence number of RemoveExistingProducts is **6550** that is between InstallExecute (6500) and InstallFinalize (6600). I can't see any other differencies in the table. I even tried to edit manually with ORCA the MSI and put the sequence number of RemoveExistingProduct to 1525. At the execution the "uninstall part" ran correctly but then I got a 2356 Error (after a few research I guess this is because editing manually the MSI corrupted it). If anyone have an idea that explains the behaviour of my MSI and how to fix it? Thanks
2012/06/28
[ "https://Stackoverflow.com/questions/11242592", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1488053/" ]
This appears to be a bug with the plugin "Microsoft Visual Studio 2017 Installer Projects". The msi file gets built with an incorrect sequence number (too high). The uninstall of older products happens *after* the install of new files, so new files get incorrectly deleted. Manual fix: Change the sequence so that uninstall of old products happens before the install of new items. * open the msi with orca.exe (or whatever editor works for you) * go to the InstallExecuteSequence table * change the RemoveExistingProducts sequence number so that it is between InstallValidate and InstallInitialize. For example, I changed it from 6550 to 1450. I ended up creating a simple script to do this fix automatically as a post build step. You can get on github it here... [InstallerStuff](https://github.com/DigitalCoastSoftware/InstallerStuff)
That article is just out of date in two respects: 1. It doesn't explain that the upgrade in later versions of Visual Studio setup projects was changed to be "on top" of the existing files, after which the older product is removed. This is not a bug, it's a feature. Example: If you installed a product with a database that was then populated by the customer with a million database entries, then the old upgrade removed it before installing the new version of the product. 2. Because the new version is installed over the older version the file replacement update rules are applied, such as newer versions replace older versions (based on file version) and files modified after first install are not removed (so preserving our hypothetical database). <https://learn.microsoft.com/en-us/windows/desktop/msi/default-file-versioning> Having said that, this doesn't appear to be the cause of the problem. If you upgraded from VS 2008 to VS 2010 it sounds like you have this issue: <https://support.microsoft.com/en-us/help/2418919/fix-files-and-registry-keys-for-the-installation-path-disappear-unexpe>
111,749
How might I implement a local HTTP server using either Java, C#, C or purely Mathematica? It should be able to respond with Mathematica input to GET and POST requests ideally on W7. This is related although [doesn't really work.](https://mathematica.stackexchange.com/questions/72551/reading-from-a-socket-stream) If you would like you can read the license [here](https://mathematica.stackexchange.com/questions/27785/implementing-a-100-mathematica-http-server)
2016/04/03
[ "https://mathematica.stackexchange.com/questions/111749", "https://mathematica.stackexchange.com", "https://mathematica.stackexchange.com/users/5615/" ]
The following is a sample implementation of a simple HTTP server in Wolfram Language code only: <https://github.com/arnoudbuzing/wolfram-server> You send it a POST request where the body data of the HTTP request contains the Wolfram Language code you wish to evaluate. The (running) wolframserver.wls script processes the request by evaluating the code string and returning the result as [ExpressionJSON](https://reference.wolfram.com/language/ref/format/ExpressionJSON.html) which should be generic enough to parse and process in most programming languages (including javascript for web browsers). It's a new and evolving project for me, so please give it a star if this is useful to you because that will tell me how much interest there is in this (and how much time to spend on it for making improvements).
Yes (and using pure Mathematica or WolframEngine) <https://jerryi.github.io/tinyweb-mathematica/>
43,314
Is there a difference when the adverbs '*always, continually,forever,etc..*' are used with past simple and past progressive? For example : 1. He **always/ continually** worked there. 2. He was **always/ continually** working there. (What is the difference between the above two sentences?)
2014/12/17
[ "https://ell.stackexchange.com/questions/43314", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/10435/" ]
Let's say that a colleague mistakenly believes that Joe is a new hire. We might say: *Joe has always worked here.* to mean nothing more than the fact that Joe is not a new employee. He has been here for some while. If we want to say that Joe never slacked off when he was working at Acme Widgets, but always took his job seriously and gave it his best effort: *Joe was always working when he was at Acme Widgets.*
/simple past/ means **perfect** or done. /always/ can be used in past form when we want to **emphasize** the event. past progressive follows simple past. for ex: *I was reading a novel* when *he knocked the door*. you could also say: He knocked the door while I was reading a novel. as long as I know, adverb of freq /always/ is not good to place in past prog. tense
43,314
Is there a difference when the adverbs '*always, continually,forever,etc..*' are used with past simple and past progressive? For example : 1. He **always/ continually** worked there. 2. He was **always/ continually** working there. (What is the difference between the above two sentences?)
2014/12/17
[ "https://ell.stackexchange.com/questions/43314", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/10435/" ]
Sometimes, we use the past continuous as an alternative to the past simple for repeated or routine actions, with a little difference in meaning. He always/continually worked there. He was always/continually working there. The first sentence literally implies that he always worked there, whereas, the second sentence does not literally mean so. It conveys the sense that he appeared to be always working there. In other words, it implies that he was seen to be working there very often.
/simple past/ means **perfect** or done. /always/ can be used in past form when we want to **emphasize** the event. past progressive follows simple past. for ex: *I was reading a novel* when *he knocked the door*. you could also say: He knocked the door while I was reading a novel. as long as I know, adverb of freq /always/ is not good to place in past prog. tense
43,314
Is there a difference when the adverbs '*always, continually,forever,etc..*' are used with past simple and past progressive? For example : 1. He **always/ continually** worked there. 2. He was **always/ continually** working there. (What is the difference between the above two sentences?)
2014/12/17
[ "https://ell.stackexchange.com/questions/43314", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/10435/" ]
Let's say that a colleague mistakenly believes that Joe is a new hire. We might say: *Joe has always worked here.* to mean nothing more than the fact that Joe is not a new employee. He has been here for some while. If we want to say that Joe never slacked off when he was working at Acme Widgets, but always took his job seriously and gave it his best effort: *Joe was always working when he was at Acme Widgets.*
Sometimes, we use the past continuous as an alternative to the past simple for repeated or routine actions, with a little difference in meaning. He always/continually worked there. He was always/continually working there. The first sentence literally implies that he always worked there, whereas, the second sentence does not literally mean so. It conveys the sense that he appeared to be always working there. In other words, it implies that he was seen to be working there very often.
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
Other answers are great, but I'll add my experience. When playing live with a band, you have a lot going on at the same time. So mistakes may be masked by the rest of the band. Most importantly though, is that you roll with it. Not just from the perspective that mistakes can still work, but that if you let it get to you, you are more likely to make more mistakes. Instead, just keep going, the audience can't rewind to hear your mistake again. If you can finish strong, that's what they will remember. I love this [video](https://www.youtube.com/watch?v=wn1pk8Lpelc), and it's the perfect example of rolling with it. SRV breaks a string and his tech replaces the guitar in basically a four measure break that was there anyway.
No. Professionals are so perfect they never hit a single note wrong, and if you try to play like they do and they find out you make mistakes, they will come to your house at night and you will be banned from playing in front of people until the end of your life (or the end of the world, whatever comes first.) Ok, now forget everything I just said. Of course they do. Sometimes, it does happen that guitarists (or trombonists, saxophonists, etc.) play perfectly if they practice enough. I myself once scored a perfect score in a contest with my flute solo. And- I've also failed miserably the next year I did it, even though the piece was (sort of) easy and I've played it fine millions of times before. So I know the feeling. Some mistakes can be covered up, especially if you're not playing alone and you're not totally terrible. And even if you are- if you play a Bb instead of a B one time, no one will notice. Really, it depends on how well you play. Everyone makes mistakes. The difference in levels is that when an ok musician messes up one note, they freak out and mess up even more, humiliating themselves completely; however, when a star forgets a big chunk of their music, they begin wildly improvising something that is way better than what was written. (This actually happened once at a concert with our band; a saxophone player had a solo part, and he missed the entrance by a few beats, so he just started playing something completely random that wasn't anywhere near what he was supposed to play. But it was honestly amazing- after the concert, we all agreed that we liked the new version better.) So yeah, it happens. There are only two good ways to deal with these situations, however: when you goof up, cover it up with something better, or, as I heard from my band director hundreds of times: "Don't practice until you can play it right; practice until you can't play it wrong." Good luck with the guitar!
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
If you are talking about mistakes made during a live performance, all guitarists make them and most of the time they will not play solos note for note as recorded on the studio version (see the many Youtube videos of Steve Vai's original and several live versions of "Tender Surrender"). If you are talking about a recorded performance, as @Todd Wilcox noted, mistakes are hardly ever left on with most music genres as they are so easy to fix. Of course in jazz, blues, etc., guitarists make mistakes on solos all of the time but you probably won't notice them as they will just turn them into a new ideas as solos are for the most part improvised (live and studio versions). Mike Stern told me many of his best ideas came from errors and variations on them.
Other answers are great, but I'll add my experience. When playing live with a band, you have a lot going on at the same time. So mistakes may be masked by the rest of the band. Most importantly though, is that you roll with it. Not just from the perspective that mistakes can still work, but that if you let it get to you, you are more likely to make more mistakes. Instead, just keep going, the audience can't rewind to hear your mistake again. If you can finish strong, that's what they will remember. I love this [video](https://www.youtube.com/watch?v=wn1pk8Lpelc), and it's the perfect example of rolling with it. SRV breaks a string and his tech replaces the guitar in basically a four measure break that was there anyway.
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
I would expect that the musicians in top bands play extremely consistently, due to sheer repetition and the fact that it's their career. However, your question touches on a trickier idea: What exactly is a "mistake"? If the exact notes and rhythms are prescribed, then any deviation from that clearly constitutes a mistake. But how precise does the timing/tempo need to be for the rhythm to be considered correct? What if it's technically correct, but a bit off stylistically or emotionally? What if something is "supposed" to ring out, but the fretting was a bit off and a note got partially dampened? And what if the music is improvised? From the listener's perspective: would you rather listen to a solo that was beautiful but had a wrong note, or one that was technically perfect but soulless? Anecdotally, my favorite rendition of a Debussy piano piece has a blatant key signature mistake in it\*, but it's still my favorite due to every other aspect of the performance. My old piano teacher tells a story of performing a section of a Bartok piece in the wrong *clef*, and people still enjoyed it. The whole idea of perfection and mistakes is not very well defined, and in performance art it must be that way. Ultimately, the question is not whether or not a performance was "perfect", but whether or not it was enjoyable and conveyed whatever it was supposed to. --- \* For the curious: [Van Cliburn's recording of Jardins sous la pluie](https://www.youtube.com/watch?v=m8rXQCewQjA). The section in C# in the middle, he misses B# in the melody each time.
I am not a guitarist myself, but I know a really great one and he assures me that he has never played all the way through a song without making a mistake, nor has he ever played a piece through exactly the same way twice. He's always tweaking things here and there. If you're comparing yourself to recordings, you have to realize they do multiple takes and combine the best takes. Even then, nobody is hardly ever perfect. And please do silence your conscience! This is not what it's there for!
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
'Perfectly': never. 'Very Good': usually. Professionals tend to want to show you what they can do, rather than what they can't; it's their meal ticket, after all. One of the skills in being an instrumentalist though is to practice techniques that allow you *to* power through small mistakes without disrupting the rhythm or the overall feel of the song, or letting your small mistake trip you up and turn into a bigger one. Pros will generally be good at this aspect of instrumentalism too; it's one reason you may not notice their mistakes.
I am not a guitarist myself, but I know a really great one and he assures me that he has never played all the way through a song without making a mistake, nor has he ever played a piece through exactly the same way twice. He's always tweaking things here and there. If you're comparing yourself to recordings, you have to realize they do multiple takes and combine the best takes. Even then, nobody is hardly ever perfect. And please do silence your conscience! This is not what it's there for!
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
If you are talking about mistakes made during a live performance, all guitarists make them and most of the time they will not play solos note for note as recorded on the studio version (see the many Youtube videos of Steve Vai's original and several live versions of "Tender Surrender"). If you are talking about a recorded performance, as @Todd Wilcox noted, mistakes are hardly ever left on with most music genres as they are so easy to fix. Of course in jazz, blues, etc., guitarists make mistakes on solos all of the time but you probably won't notice them as they will just turn them into a new ideas as solos are for the most part improvised (live and studio versions). Mike Stern told me many of his best ideas came from errors and variations on them.
No. Professionals are so perfect they never hit a single note wrong, and if you try to play like they do and they find out you make mistakes, they will come to your house at night and you will be banned from playing in front of people until the end of your life (or the end of the world, whatever comes first.) Ok, now forget everything I just said. Of course they do. Sometimes, it does happen that guitarists (or trombonists, saxophonists, etc.) play perfectly if they practice enough. I myself once scored a perfect score in a contest with my flute solo. And- I've also failed miserably the next year I did it, even though the piece was (sort of) easy and I've played it fine millions of times before. So I know the feeling. Some mistakes can be covered up, especially if you're not playing alone and you're not totally terrible. And even if you are- if you play a Bb instead of a B one time, no one will notice. Really, it depends on how well you play. Everyone makes mistakes. The difference in levels is that when an ok musician messes up one note, they freak out and mess up even more, humiliating themselves completely; however, when a star forgets a big chunk of their music, they begin wildly improvising something that is way better than what was written. (This actually happened once at a concert with our band; a saxophone player had a solo part, and he missed the entrance by a few beats, so he just started playing something completely random that wasn't anywhere near what he was supposed to play. But it was honestly amazing- after the concert, we all agreed that we liked the new version better.) So yeah, it happens. There are only two good ways to deal with these situations, however: when you goof up, cover it up with something better, or, as I heard from my band director hundreds of times: "Don't practice until you can play it right; practice until you can't play it wrong." Good luck with the guitar!
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
'Perfectly': never. 'Very Good': usually. Professionals tend to want to show you what they can do, rather than what they can't; it's their meal ticket, after all. One of the skills in being an instrumentalist though is to practice techniques that allow you *to* power through small mistakes without disrupting the rhythm or the overall feel of the song, or letting your small mistake trip you up and turn into a bigger one. Pros will generally be good at this aspect of instrumentalism too; it's one reason you may not notice their mistakes.
I'll talk about live performances since, as other posters have mentioned, recorded performances can easily be fixed with editing. Mistakes? Yes. Always. But don't let them stop you! As a not-top-notch performer I can tell you that there is a stark difference between your (the performer's) perception of the performance and the audience's. In a band situation, you are concentrating very specifically on what you are playing while the audience is taking in the entire performance of all of the members. Not only are you paying more attention to your own performance, but often there are monitors allowing you to hear your performance more than that of your bandmates. This can make you think "wow, that stood out like a sore thumb", when really it's not as prominent as you are hearing. Further, you can feel your mistakes. You feel your fingers slip or not hit the strings with enough force. This extra sense of the mistake underscores when they happen. An interesting aspect is that due to the nervousness of playing in public and having practiced a song many times, you are perceiving time differently. A mess-up will feel like it lasts an eternity but typically they are over so fast that it will fly by before anyone gets a chance to notice. The real key to a good performance: when you inevitably make mistakes, don't let it show. Don't make "I messed up" face. And after a performance, just don't mention mistakes, even though it might be the first thing on your mind.
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
'Perfectly': never. 'Very Good': usually. Professionals tend to want to show you what they can do, rather than what they can't; it's their meal ticket, after all. One of the skills in being an instrumentalist though is to practice techniques that allow you *to* power through small mistakes without disrupting the rhythm or the overall feel of the song, or letting your small mistake trip you up and turn into a bigger one. Pros will generally be good at this aspect of instrumentalism too; it's one reason you may not notice their mistakes.
No. Professionals are so perfect they never hit a single note wrong, and if you try to play like they do and they find out you make mistakes, they will come to your house at night and you will be banned from playing in front of people until the end of your life (or the end of the world, whatever comes first.) Ok, now forget everything I just said. Of course they do. Sometimes, it does happen that guitarists (or trombonists, saxophonists, etc.) play perfectly if they practice enough. I myself once scored a perfect score in a contest with my flute solo. And- I've also failed miserably the next year I did it, even though the piece was (sort of) easy and I've played it fine millions of times before. So I know the feeling. Some mistakes can be covered up, especially if you're not playing alone and you're not totally terrible. And even if you are- if you play a Bb instead of a B one time, no one will notice. Really, it depends on how well you play. Everyone makes mistakes. The difference in levels is that when an ok musician messes up one note, they freak out and mess up even more, humiliating themselves completely; however, when a star forgets a big chunk of their music, they begin wildly improvising something that is way better than what was written. (This actually happened once at a concert with our band; a saxophone player had a solo part, and he missed the entrance by a few beats, so he just started playing something completely random that wasn't anywhere near what he was supposed to play. But it was honestly amazing- after the concert, we all agreed that we liked the new version better.) So yeah, it happens. There are only two good ways to deal with these situations, however: when you goof up, cover it up with something better, or, as I heard from my band director hundreds of times: "Don't practice until you can play it right; practice until you can't play it wrong." Good luck with the guitar!
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
I would expect that the musicians in top bands play extremely consistently, due to sheer repetition and the fact that it's their career. However, your question touches on a trickier idea: What exactly is a "mistake"? If the exact notes and rhythms are prescribed, then any deviation from that clearly constitutes a mistake. But how precise does the timing/tempo need to be for the rhythm to be considered correct? What if it's technically correct, but a bit off stylistically or emotionally? What if something is "supposed" to ring out, but the fretting was a bit off and a note got partially dampened? And what if the music is improvised? From the listener's perspective: would you rather listen to a solo that was beautiful but had a wrong note, or one that was technically perfect but soulless? Anecdotally, my favorite rendition of a Debussy piano piece has a blatant key signature mistake in it\*, but it's still my favorite due to every other aspect of the performance. My old piano teacher tells a story of performing a section of a Bartok piece in the wrong *clef*, and people still enjoyed it. The whole idea of perfection and mistakes is not very well defined, and in performance art it must be that way. Ultimately, the question is not whether or not a performance was "perfect", but whether or not it was enjoyable and conveyed whatever it was supposed to. --- \* For the curious: [Van Cliburn's recording of Jardins sous la pluie](https://www.youtube.com/watch?v=m8rXQCewQjA). The section in C# in the middle, he misses B# in the melody each time.
I'll talk about live performances since, as other posters have mentioned, recorded performances can easily be fixed with editing. Mistakes? Yes. Always. But don't let them stop you! As a not-top-notch performer I can tell you that there is a stark difference between your (the performer's) perception of the performance and the audience's. In a band situation, you are concentrating very specifically on what you are playing while the audience is taking in the entire performance of all of the members. Not only are you paying more attention to your own performance, but often there are monitors allowing you to hear your performance more than that of your bandmates. This can make you think "wow, that stood out like a sore thumb", when really it's not as prominent as you are hearing. Further, you can feel your mistakes. You feel your fingers slip or not hit the strings with enough force. This extra sense of the mistake underscores when they happen. An interesting aspect is that due to the nervousness of playing in public and having practiced a song many times, you are perceiving time differently. A mess-up will feel like it lasts an eternity but typically they are over so fast that it will fly by before anyone gets a chance to notice. The real key to a good performance: when you inevitably make mistakes, don't let it show. Don't make "I messed up" face. And after a performance, just don't mention mistakes, even though it might be the first thing on your mind.
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
Other answers are great, but I'll add my experience. When playing live with a band, you have a lot going on at the same time. So mistakes may be masked by the rest of the band. Most importantly though, is that you roll with it. Not just from the perspective that mistakes can still work, but that if you let it get to you, you are more likely to make more mistakes. Instead, just keep going, the audience can't rewind to hear your mistake again. If you can finish strong, that's what they will remember. I love this [video](https://www.youtube.com/watch?v=wn1pk8Lpelc), and it's the perfect example of rolling with it. SRV breaks a string and his tech replaces the guitar in basically a four measure break that was there anyway.
“Never lose the groove in order to find a note.” ― Victor L. Wooten, The Music Lesson: A Spiritual Search for Growth Through Music This acknowledges that musicians do play "wrong" notes, but what's more important is the flow of the piece. As for "wrong," it depends on how formalized the piece is. Some classical music has a fairly rigid structure, and the performer is usually expected to play the music as written (note-wise, not speaking of interpretation here). Celtic tunes on the other hand have "settings" (i.e. ways of playing) that may vary, so a musician who plays a "wrong" note may claim it as a new setting; but of course playing a C# in the key of F may raise eyebrows... I like the comment above about being one fret from the "correct" note, and that's what slides are for.
53,874
I playing guitar since a couple of years (but not regularly) and I always wondered if guitarist from known bands always play their songs/solos perfectly? Especially when the songs are fast paced, is it easier to make mistakes that no one will notice? When I play solos I am never really satisfied with my performance since it doesn't sound exactly the same like in the song. I know there is no exact answer but I would like to know what you think so I can silence my conscience :)
2017/02/28
[ "https://music.stackexchange.com/questions/53874", "https://music.stackexchange.com", "https://music.stackexchange.com/users/37313/" ]
If you are talking about mistakes made during a live performance, all guitarists make them and most of the time they will not play solos note for note as recorded on the studio version (see the many Youtube videos of Steve Vai's original and several live versions of "Tender Surrender"). If you are talking about a recorded performance, as @Todd Wilcox noted, mistakes are hardly ever left on with most music genres as they are so easy to fix. Of course in jazz, blues, etc., guitarists make mistakes on solos all of the time but you probably won't notice them as they will just turn them into a new ideas as solos are for the most part improvised (live and studio versions). Mike Stern told me many of his best ideas came from errors and variations on them.
I'll talk about live performances since, as other posters have mentioned, recorded performances can easily be fixed with editing. Mistakes? Yes. Always. But don't let them stop you! As a not-top-notch performer I can tell you that there is a stark difference between your (the performer's) perception of the performance and the audience's. In a band situation, you are concentrating very specifically on what you are playing while the audience is taking in the entire performance of all of the members. Not only are you paying more attention to your own performance, but often there are monitors allowing you to hear your performance more than that of your bandmates. This can make you think "wow, that stood out like a sore thumb", when really it's not as prominent as you are hearing. Further, you can feel your mistakes. You feel your fingers slip or not hit the strings with enough force. This extra sense of the mistake underscores when they happen. An interesting aspect is that due to the nervousness of playing in public and having practiced a song many times, you are perceiving time differently. A mess-up will feel like it lasts an eternity but typically they are over so fast that it will fly by before anyone gets a chance to notice. The real key to a good performance: when you inevitably make mistakes, don't let it show. Don't make "I messed up" face. And after a performance, just don't mention mistakes, even though it might be the first thing on your mind.
102,059
Because of certain reasons, I'm sometimes tied to an extremely slow internet connection. What I realized with this, is that certain sites (for example, any subdomain of blog.hu) works in a way that needs a certain part of the site be loaded before comments are loaded too. I assume it's because of an AJAX operation, as the comments themselves are not visible within the HTML file. In contrast, forum engines, such as vBulletin are often free from AJAX, meaning that when a thread's HTML is loaded, every comment in it are "hardcoded", meaning that even if the "fancy parts" (CSS, images and so on) are not loaded, I can already read the comments. My needs are very special though, so I'm interested - is there any general UX advantage of any of these?
2016/12/01
[ "https://ux.stackexchange.com/questions/102059", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/76708/" ]
There are physical limits as to how long a line of text can be before it gets difficult to process. Much like breathing while speaking, the mind needs periodic breaks to process the string of letters and numbers it has just taken in. Line breaks provide an opportunity for this to occur. A general rule that I have heard is to aim for roughly 80 characters per line. However, this is not the whole story. It seems like we could simply base our font size off of the vw unit to ensure that we always hit this magical 80 character ideal, but no one really does this. Why not? The short answer is peripheral vision. Keep in mind that our eyes and brain also need to keep track of what line we're on, so when we jump after the line break, we know where to continue from. If the text block takes up too much of our field of view, the start of the line will be too far into our peripheral vision by the time we get to the end, and we lose sight of our place. That's no good either. The best way to solve the demands of both character limit and field of view limit is to just enforce a maximum width that (hopefully) ensures we're fitting 80ish characters to a line while those characters remain large enough to read easily and the entire block remains small enough to stay within readable focus. A couple of points about outlook and gmail specifically. Outlook uses some of the excess horizontal space to display both navigation and the list of messages in left aligned panes. The remainder of the window *appears* to be used for the message body, but extreme widths (using multiple monitors) reveal that it quietly enforces a max-width for the body contents. Gmail surprisingly does allow body text to grow effectively infinitely. I pulled up a couple of wordy emails to check, and to be honest long paragraphs don't read especially well. Note that the *compose* dialog is width limited, so it's somewhat surprising that they aren't limiting the width for reading. Perhaps they've found in their testing that emails are typically fairly short or (in the case of promotional) have already been laid out by a designer. Or perhaps Google needs to update their desktop layout...
@JoshDoebbert has a good point on the text legibility. [This other question](https://ux.stackexchange.com/questions/34120/relationship-between-font-size-and-width-of-container) has some interesting information on the topic. I just wanted to add that percentages are good to let the content adapt to smaller screen size. As you said there is a minimum size and in the same way there is maximum size that lets the content be understood correctly. Whether it is text or images **the screen size in both height and width should be considered to display the content correctly**, and set relevant breakpoints for both parameters. [![enter image description here](https://i.stack.imgur.com/oTPat.jpg)](https://i.stack.imgur.com/oTPat.jpg)
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
Selenium is more designed for doing end-to-end testing, where it simulates actions within a browser. Jasmine and QUnit are both unit testing frameworks for testing the code. If you're looking to do end-to-end tests that are more compatible with JS, check out Protractor—it's made for AngularJS apps. Otherwise, if you're unit testing, you should avoid Selenium and use one of the unit testing frameworks.
You can use this approach - "**VISUAL REGRESSION TESTING USING JEST, CHROMELESS AND AWS LAMBDA**" <https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda>
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
Selenium is a UI automation library whereas libraries like Jasmine is a general javascript test framework which can be utilized for the unit as well as UI testing automation for the assertions. If you are purely unit testing, then probably you don't need selenium.
Selenium is more designed for doing end-to-end testing, where it simulates actions within a browser. Jasmine and QUnit are both unit testing frameworks for testing the code. If you're looking to do end-to-end tests that are more compatible with JS, check out Protractor—it's made for AngularJS apps. Otherwise, if you're unit testing, you should avoid Selenium and use one of the unit testing frameworks.
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
**TL;DR**: Selenium is just to slow, compared to for example [Karma](https://karma-runner.github.io/2.0/index.html). --- I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results. Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it faster with for example Karma and plain JavaScript. Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them. For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast. UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.
Selenium is more designed for doing end-to-end testing, where it simulates actions within a browser. Jasmine and QUnit are both unit testing frameworks for testing the code. If you're looking to do end-to-end tests that are more compatible with JS, check out Protractor—it's made for AngularJS apps. Otherwise, if you're unit testing, you should avoid Selenium and use one of the unit testing frameworks.
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
The reason is quick feedback. unit tests run much faster and selenium/protractor being e2e solutions runs slower. There is a clear separation between unit test and end to end testing. Please let us know in specific what you need to understand.
You can use this approach - "**VISUAL REGRESSION TESTING USING JEST, CHROMELESS AND AWS LAMBDA**" <https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda>
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
Selenium is a UI automation library whereas libraries like Jasmine is a general javascript test framework which can be utilized for the unit as well as UI testing automation for the assertions. If you are purely unit testing, then probably you don't need selenium.
You can use this approach - "**VISUAL REGRESSION TESTING USING JEST, CHROMELESS AND AWS LAMBDA**" <https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda>
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
**TL;DR**: Selenium is just to slow, compared to for example [Karma](https://karma-runner.github.io/2.0/index.html). --- I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results. Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it faster with for example Karma and plain JavaScript. Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them. For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast. UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.
You can use this approach - "**VISUAL REGRESSION TESTING USING JEST, CHROMELESS AND AWS LAMBDA**" <https://novemberfive.co/blog/visual-regression-testing-jest-chromeless-lambda>
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
Selenium is a UI automation library whereas libraries like Jasmine is a general javascript test framework which can be utilized for the unit as well as UI testing automation for the assertions. If you are purely unit testing, then probably you don't need selenium.
The reason is quick feedback. unit tests run much faster and selenium/protractor being e2e solutions runs slower. There is a clear separation between unit test and end to end testing. Please let us know in specific what you need to understand.
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
**TL;DR**: Selenium is just to slow, compared to for example [Karma](https://karma-runner.github.io/2.0/index.html). --- I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results. Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it faster with for example Karma and plain JavaScript. Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them. For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast. UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.
The reason is quick feedback. unit tests run much faster and selenium/protractor being e2e solutions runs slower. There is a clear separation between unit test and end to end testing. Please let us know in specific what you need to understand.
34,119
I am writing unit testcases for a UI Framework using **Mocha**, **Chai** and **Karma**. I have analysed before whether to use selenium webdriver to do testing, but since most of the test cases involve working with DOMElement I have found it difficult to be working with selenium though javascript version( **WebDriverJS** ) is available. Even when I checked other UI Frameworks like **jquery ui**, **kendo**, **semantic**, **foundation** etc.. they have used javascript frameworks like **jasmine**, **qunit** etc.. for testing rather than selenium. What could be the reason that UI Framework developers do not prefer Selenium?
2018/06/07
[ "https://sqa.stackexchange.com/questions/34119", "https://sqa.stackexchange.com", "https://sqa.stackexchange.com/users/28240/" ]
**TL;DR**: Selenium is just to slow, compared to for example [Karma](https://karma-runner.github.io/2.0/index.html). --- I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results. Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it faster with for example Karma and plain JavaScript. Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them. For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast. UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.
Selenium is a UI automation library whereas libraries like Jasmine is a general javascript test framework which can be utilized for the unit as well as UI testing automation for the assertions. If you are purely unit testing, then probably you don't need selenium.
13,142,384
probably had these questions a thousand times already. For a school project I want to make a HTML5 game where you can challenge someone and play against. Now I'm pretty new to game development. I don't now exactly where to start off. There is so much information/technologies on the net that I don't know which to use. I prefer to do this in a known environment (.NET) I found these: * <http://kaazing.com/> * <http://xsockets.net/> I also checked out Node.js, socket.io, HTML5 canvas, etc It's all a bit of overwhelming for me. :(
2012/10/30
[ "https://Stackoverflow.com/questions/13142384", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1785932/" ]
Since you're working in a .NET environment, take a look at SignalR, <http://signalr.net>. It's a very nice API around websockets (with fallbacks to other methods for older servers and browsers) that lets you do client-to-server and server-to-client communication. Code on the client can invoke a Javascript function that will in turn invoke a method on the server. That server method could then send a message down to one or all of the connected clients. Alnitak's answer is correct; your communication would be from client to server to client, not directly client to client.
You will need a central server to relay messages between the two players. WebSockets (and anything else you might find that plugs into a browser) are unsuitable for direct peer-to-peer communications.
43,843,463
Within the scope of a new project in Qt/QML, We are currently looking for an application architecture. We are thinking about an implementation of the Flux architecture from Facebook. I found this good library which makes it in some ways : <https://github.com/benlau/quickflux> In our case, we would like to manage Stores and Actions in C++. However, there is a problem in making a Flux implementation for C++. That is the data type to be passed to Dispatcher. C++ is strong type language but Dispatcher allows any kind of data to be passed to the dispatch() function. It could use QVariant type just like what Quick Flux did. But I think C++ developer do not really like this approach. Would you have a way to resolve this problem ? Thanks for you anwsers
2017/05/08
[ "https://Stackoverflow.com/questions/43843463", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7979527/" ]
My answer may be outdated, but perhaps will help someone having the same question... You can try to use C++/Qt implementation of Flux-like application pattern <https://github.com/eandritskiy/flux_qt> Please check QML example. There are only 2 classes that are exported to QML engine: ActionProvider and Store. ActionProvider is responsible for the action generation in a whole app (in QML part and in C++ part also). Store provides its properties(that are used in property bindings) to QML elements. All Store properties are changed in a controlled manner in a C++ part. P.S. If you'd prefer pure C++ implementation please check <https://github.com/eandritskiy/flux_cpp> (but be sure that your compiler supports C++17 std::any)
It makes sense to consider a Flux-like app architecture as Ben Lau suggests. However, for simple QML-driven apps an easier implementation of the same pattern is also possible. Especially since the introduction of Qt Quick Compiler, there's really no need to dive into complex C++ code. You can find a simple guide for QML-driven apps that rely ensure a uni-direction data-flow (like Flux) here: [How to structure QML-driven apps](https://v-play.net/apps/avoid-cpp-models-qt) It also covers Qt architecture basics and when to best use QML vs C++.
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
If you keep getting rep for today then it will count toward the limit for the day after the recalc. So if you got a total of 220 today but 20 went away in a recalc then you would still get 200 for the day. The system still tracks your rep for the day even after you hit the limit. It just doesn't apply more than 200 per day.
I think so, a rep recalc computes all your reputation from scratch, so the rep cap would be taken into account without counting the now deleted post and you'd get the reputation from the subsequent posts
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
I believe that *in theory* it should work like that, yes. A few times I've had a rep recalc and still had what appeared to be some oddities. Here's a sample timeline: * 2am: 5 genuine votes * 3am: 20 upvotes from one user, hit cap after the first 15 of them * 6am: Get online, post answers, get more upvotes, report vote fraud * 10.30am: Votes are removed, 150 points lost * 11am: Request rep recalc: still not hit rep limit despite having lots of votes In other words, votes that didn't count due to the rep limit being hit for fraud *appeared* not to count after the rep recalc. I had a summary screen for "today" which showed *less* than 200 rep, but still votes that didn't contribute to reputation. I'm not overly bothered and it's a very hard thing to diagnose for certain, but that's at least what I *think* I saw. It does sound very odd, based on what a rep recalc is meant to do... Now, the good news is that all of the votes are recorded so if there *is* a bug in the recalc procedure, when it's fixed and you get another recalc, you'll get the rep back. I believe the *intended* behaviour is for those "wasted" votes to come back into effect after previously-counted votes are deleted, at least.
If you keep getting rep for today then it will count toward the limit for the day after the recalc. So if you got a total of 220 today but 20 went away in a recalc then you would still get 200 for the day. The system still tracks your rep for the day even after you hit the limit. It just doesn't apply more than 200 per day.
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
I think you should get that rep back. I want to believe that if you got 25 upvotes in a day, you should cap at 200. If you had an answer deleted that subtracted 2 upvotes that left you with 180, you should still in theory have 230 rep worth of upvotes, so during a recalc you should still make the 200 points.
I think so, a rep recalc computes all your reputation from scratch, so the rep cap would be taken into account without counting the now deleted post and you'd get the reputation from the subsequent posts
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
I believe that *in theory* it should work like that, yes. A few times I've had a rep recalc and still had what appeared to be some oddities. Here's a sample timeline: * 2am: 5 genuine votes * 3am: 20 upvotes from one user, hit cap after the first 15 of them * 6am: Get online, post answers, get more upvotes, report vote fraud * 10.30am: Votes are removed, 150 points lost * 11am: Request rep recalc: still not hit rep limit despite having lots of votes In other words, votes that didn't count due to the rep limit being hit for fraud *appeared* not to count after the rep recalc. I had a summary screen for "today" which showed *less* than 200 rep, but still votes that didn't contribute to reputation. I'm not overly bothered and it's a very hard thing to diagnose for certain, but that's at least what I *think* I saw. It does sound very odd, based on what a rep recalc is meant to do... Now, the good news is that all of the votes are recorded so if there *is* a bug in the recalc procedure, when it's fixed and you get another recalc, you'll get the rep back. I believe the *intended* behaviour is for those "wasted" votes to come back into effect after previously-counted votes are deleted, at least.
I think you should get that rep back. I want to believe that if you got 25 upvotes in a day, you should cap at 200. If you had an answer deleted that subtracted 2 upvotes that left you with 180, you should still in theory have 230 rep worth of upvotes, so during a recalc you should still make the 200 points.
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
I believe that *in theory* it should work like that, yes. A few times I've had a rep recalc and still had what appeared to be some oddities. Here's a sample timeline: * 2am: 5 genuine votes * 3am: 20 upvotes from one user, hit cap after the first 15 of them * 6am: Get online, post answers, get more upvotes, report vote fraud * 10.30am: Votes are removed, 150 points lost * 11am: Request rep recalc: still not hit rep limit despite having lots of votes In other words, votes that didn't count due to the rep limit being hit for fraud *appeared* not to count after the rep recalc. I had a summary screen for "today" which showed *less* than 200 rep, but still votes that didn't contribute to reputation. I'm not overly bothered and it's a very hard thing to diagnose for certain, but that's at least what I *think* I saw. It does sound very odd, based on what a rep recalc is meant to do... Now, the good news is that all of the votes are recorded so if there *is* a bug in the recalc procedure, when it's fixed and you get another recalc, you'll get the rep back. I believe the *intended* behaviour is for those "wasted" votes to come back into effect after previously-counted votes are deleted, at least.
I think so, a rep recalc computes all your reputation from scratch, so the rep cap would be taken into account without counting the now deleted post and you'd get the reputation from the subsequent posts
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
Well, if you **really want**, add a comment here and I'll try it. **However** You'd need to accept that you might actually *lose more rep* from other deleted posts etc. The other day somebody requesting a rep recalc lost ~450 points. On your head be it; there is no preview nor undo. Let me know.
I think so, a rep recalc computes all your reputation from scratch, so the rep cap would be taken into account without counting the now deleted post and you'd get the reputation from the subsequent posts
15,214
Today, I reached 200 rep, but 20 of them came from a now-deleted post (a duplicate answer posted really close in time to the first answer). I stopped getting rep from my answers after this was deleted and I hit 180 reputation on posted answers today (180 + the 20 from the deleted = the cap of 200). After a rep recalculation, I will lose the 20 points from that deleted answer (I'm pretty sure). But will the system detect that I made more than 20 points after that and give me any rep from after that? The only reason I care is because I want to reach 20k before the Boston Dev Days... Personal Example: * 200 rep earned to hit cap * 3 more upvotes for 30 "potential rep" * Answer deleted wipes out 2 upvotes to drop down to 180 rep. * Rep limit after recalc **should** come out to 200 with 1 upvote left over due to cap.
2009/08/18
[ "https://meta.stackexchange.com/questions/15214", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/572/" ]
I believe that *in theory* it should work like that, yes. A few times I've had a rep recalc and still had what appeared to be some oddities. Here's a sample timeline: * 2am: 5 genuine votes * 3am: 20 upvotes from one user, hit cap after the first 15 of them * 6am: Get online, post answers, get more upvotes, report vote fraud * 10.30am: Votes are removed, 150 points lost * 11am: Request rep recalc: still not hit rep limit despite having lots of votes In other words, votes that didn't count due to the rep limit being hit for fraud *appeared* not to count after the rep recalc. I had a summary screen for "today" which showed *less* than 200 rep, but still votes that didn't contribute to reputation. I'm not overly bothered and it's a very hard thing to diagnose for certain, but that's at least what I *think* I saw. It does sound very odd, based on what a rep recalc is meant to do... Now, the good news is that all of the votes are recorded so if there *is* a bug in the recalc procedure, when it's fixed and you get another recalc, you'll get the rep back. I believe the *intended* behaviour is for those "wasted" votes to come back into effect after previously-counted votes are deleted, at least.
Well, if you **really want**, add a comment here and I'll try it. **However** You'd need to accept that you might actually *lose more rep* from other deleted posts etc. The other day somebody requesting a rep recalc lost ~450 points. On your head be it; there is no preview nor undo. Let me know.
297,333
this is my first post here. I am new to FPGAs. I would like to implement a NOT gate on the BASYS (Spartan3E-100) FPGA. I've been looking at the tutorial [HERE](https://docs.numato.com/kb/learning-fpga-verilog-beginners-guide-part-4-synthesis/) to work my way towards a synthesis. I wish to keep everything on-board, i.e. only use the LEDs and switches on this board. How should I proceed? My thoughts/questions so far: * Do I have to use LD2-LD7 on Bank 3 and not LD1, LD0? * What does LHCLK0, LHCLK1 mean? Why are the labels not corresponding to LD1, LD0? Do the LHCLK prevent me from using LD0, LD1 for the gate? * The push button switches are connected to Bank 2, but the LEDs are on Bank 3, how do I connect the switch to the LED? I would be grateful if somebody could point me in the right direction. Edit: I should have clarified that I realize that the tutorial is NOT for my board, but I would still like to implement the not-gate on my board.
2017/04/08
[ "https://electronics.stackexchange.com/questions/297333", "https://electronics.stackexchange.com", "https://electronics.stackexchange.com/users/144681/" ]
Find a different tutorial! The tutorial you're reading is written for a completely different board -- it's written for the Mimas v2, from Numato Labs. This board has almost nothing in common with the Basys, beyond that they both have Xilinx FPGAs on them. Some of the general concepts will line up, but the details of which pins to use will be completely different. Look for a tutorial written specifically for the board you're using. (This may be difficult for such an old board; you may want to look for any university teaching materials which were written for students using this board.)
If you come with programming background, then probably FPGA-s will have some surprises for you. However I assume you know how to use ISE WebPack or whatever environment you use right now. What you need is schematics for your board (probably delivered by Digilent). Second this is knowledge of constraint files. This files describes how your project will be fitted into platform. One of the things it describes is the signal - pin allocation. Here is Xilinx's document regarding constraints (could be old). <https://www.xilinx.com/support/documentation/sw_manuals/xilinx11/cgd.pdf> Second thing I googled in 2 minutes is <https://learn.digilentinc.com/Classroom/Tutorials/Xilinx%20ISE%20WebPACK%20Verilog%20Tutorial.pdf> It's Verilog, not VHDL however should give you an overview even or VHDL.
225
In particular, I don't mean mere alternate spellings like *colour*, *honour*, but words that are entirely different: using *lift* instead of *elevator*, *fridge* instead of *refrigerator* etc. What is the common outlook on using them in plain informal speech in the US? What are the chances they won't be recognized at all? Will they be seen as pretentious? Weird? Unwelcome?
2013/01/24
[ "https://ell.stackexchange.com/questions/225", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/30/" ]
AFAIK *most* Americans know the British equivalents for their words, and vice versa. Some people even use them (some Britons use the American words). It wouldn't be considered weird - an American would just assume you were British, or learnt British English. It wouldn't be considered unwelcome either, by the vast majority of Americans.
I think there is a chance that some of the less common words would not be recognised at all between the AmE and BritE, but it does depend on what sphere the words are from. The common ones are fairly well known, others not so: From cars: Trunk, boot. Hood, bonnet. Rocker panel, sill etc From culinary: Bitter sweet chocolate, plain chocolate. Tomato sauce, crushed tomatoes. Tomato paste, tomato puree. Cilantro, coriander. And so on.
225
In particular, I don't mean mere alternate spellings like *colour*, *honour*, but words that are entirely different: using *lift* instead of *elevator*, *fridge* instead of *refrigerator* etc. What is the common outlook on using them in plain informal speech in the US? What are the chances they won't be recognized at all? Will they be seen as pretentious? Weird? Unwelcome?
2013/01/24
[ "https://ell.stackexchange.com/questions/225", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/30/" ]
AFAIK *most* Americans know the British equivalents for their words, and vice versa. Some people even use them (some Britons use the American words). It wouldn't be considered weird - an American would just assume you were British, or learnt British English. It wouldn't be considered unwelcome either, by the vast majority of Americans.
In general, I would say no, but there are some exceptions. The first time I encountered a sign in a public place saying "toilet," I felt it was quite crude. Americans would only use that word for the actual fixture, preferring restroom for such contexts.
225
In particular, I don't mean mere alternate spellings like *colour*, *honour*, but words that are entirely different: using *lift* instead of *elevator*, *fridge* instead of *refrigerator* etc. What is the common outlook on using them in plain informal speech in the US? What are the chances they won't be recognized at all? Will they be seen as pretentious? Weird? Unwelcome?
2013/01/24
[ "https://ell.stackexchange.com/questions/225", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/30/" ]
I think there is a chance that some of the less common words would not be recognised at all between the AmE and BritE, but it does depend on what sphere the words are from. The common ones are fairly well known, others not so: From cars: Trunk, boot. Hood, bonnet. Rocker panel, sill etc From culinary: Bitter sweet chocolate, plain chocolate. Tomato sauce, crushed tomatoes. Tomato paste, tomato puree. Cilantro, coriander. And so on.
In general, I would say no, but there are some exceptions. The first time I encountered a sign in a public place saying "toilet," I felt it was quite crude. Americans would only use that word for the actual fixture, preferring restroom for such contexts.
28,924,130
In other words, is it possible to create a Google Chrome app and package it as an .exe or .app so that users won't need Chrome to be installed to run it? I'm working with NWJS at this time (previously known as Node-Webkit) but I'm interested in the bluetooth/usb APIs from Chrome.
2015/03/08
[ "https://Stackoverflow.com/questions/28924130", "https://Stackoverflow.com", "https://Stackoverflow.com/users/816478/" ]
The editor [Atom](https://atom.io/) uses this approach. It is distributed as a binary on many platforms, but underneath is using Chromium and io.js. The cross-platform desktop application shell portion of atom has been broken into its own project: [atom-shell](https://github.com/atom/atom-shell). In essence, you are distributing a customized version of the Chromium browser with you app.
Generally, you cannot distribute Chrome Apps the way you are asking, no. Sorry.
248,370
I want to build a flat ground level deck approx 25x26ft. I have very limited space between the ground and the door, so it needs to be streamlined. I plan to use 3 26’ 2x10 as primary frame supports and than use 12’ 2x10 as joists with 12” spacing. Wondering how many posts do I need for each 26’ piece of lumber? Will 4 posts for each 26’ (6-1/2 apart) be enough? Also, will 12’ span for joists cause any issue? [![my plan](https://i.stack.imgur.com/qlMqH.jpg)](https://i.stack.imgur.com/qlMqH.jpg)
2022/04/27
[ "https://diy.stackexchange.com/questions/248370", "https://diy.stackexchange.com", "https://diy.stackexchange.com/users/25752/" ]
Contact your power company. Say: "Am I correct that my smart meter has a large contactor in it, so that you can remotely shut off my power with a few keystrokes on your computer?" And "If I have you do that for 10 minutes, will you require a permit and inspection to turn it back on?" And this may lead to a short conversation about exactly what it is that you are doing, and they are likely to say "Oh. That's fine." At which point, have them de-energize; check that it is de-energized; do your thing and call them to turn it back on. Note that this uses "Ethernet over Powerline" communication at grand scale which means *grandly bad* bit rate on a rather busy comm channel. So it can take some minutes for the command to actually get through the queue.
There's a couple of ways to play this, assuming you don't want to just YOLO this and shove them on with your bare hand (not the greatest idea) 1. Ask your utility to kill the power to your house for a few minutes. They might not like coming out for something this minor, but I can't say how well this will or won't go. Your mileage will vary greatly here. This is, hands down, the safest way to do it, though. 2. Buy some lineman rubber gloves and shove them on. You can buy them commercially. Not as safe as having a dead panel, but the gloves are designed to come into contact with much higher voltage live wires than what your panel will ever see. These aren't crazy expensive, but you might not ever have another use for them (unless you like working on live panels for some odd reason)
38,819
[This question on SO](https://stackoverflow.com/questions/2215314/sybase-central-issues-on-64-bit-windows-2008-server-r2) clearly belongs elsewhere, but the asker already put a bounty on the question. If the question is migrated, does the rep get refunded? Does the question continue to be a bounty question on the target site if the user has enough rep? (The asker in the referenced question does not have any associated accounts, but I'm curious about what happens.) Edit: I just tried to add my own close vote, but apparently you can't when there's an open bounty. However, a mod should still be able to close/migrate/etc.
2010/02/09
[ "https://meta.stackexchange.com/questions/38819", "https://meta.stackexchange.com", "https://meta.stackexchange.com/users/136558/" ]
The correct procedure would be to flag for moderator attention. If required diamond moderators can migrate the question by removing the bounty. * Bounty is removed and refunded * Question is closed and migrated I have flagged the question as well for the SO mods to look at it
Questions with bounties on them can't be closed or migrated (unless by a superpower of mod type personage). It'll stay until the bounty's accepted or expired.
35,827,150
I struggle since a few days to get a correct provisioning profile. I am an independent iOS dev with my own iTunes connect account but I recently started to develop for a development team. Since then, I can't get a correct provisionning profile to run my app from xCode to my iPhone. iOS documentation describes how to create certificates and provisionning profiles but it doesn't identify who needs to do each step (either me the developer, either the development team manager). Could you please describe who needs to do the following step : 1. Create a development certificate. To me, it should be me as it is me who develops. Then, I send it to the dev team manager who adds it in his member center. 2. App ID : The dev team manager create the app ID with a specific bundle ID 3. Devices : The dev team manager adds my iPhone UDID. 4. Provisioning profile : The dev team manager creates it from my certificates, the app ID and my device. Then, he sends me the file and I just have to double-click on it. However, this doesn't seem to work. Any idea how I can obtain a valid provisioning profile. PS 1 : I have been added in Itunes Connect and I can access to the app details. PS 2 : Bundle ID of the app in xCode and iTunes connect are the same (I've checked a hundred times).
2016/03/06
[ "https://Stackoverflow.com/questions/35827150", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2521010/" ]
Each team member is responsible for creating their own key/cert pair and adding it to their machine via Keychain Access. That is for Development builds. Distribution certs can only be created by an admin. To create an app Id or provision on the member center you need to have admin access. If you don't have admin access then you have to rely on someone who does to create those. They would be responsible for making sure your device and cert are attached to then development provision for your app. Your problem could also be that your code signing settings are not setup correctly in the project. You should set provision to Automatic and identity to iOSDeveloper. This lets Xcode figure it out and also allows you to share the project in a team setting without code signing issues
Ok, here are the steps: 1. Generate a new CSR from Keychain. 2. Go to iTunes Connect. 3. In Certificate section: * Download Apple's World Wide Relations Authority Certificate using CSR. * Download iOS Developer Certificate using CSR. 4. Add both these certificates to Keychain. 5. In Provisional Profile Section: * Download a new provisional profile which includes this developer certificate. 6. Add this profile to Xcode. 7. In Xcode, go to Build Settings --> Code Signing --> Set provisional profile. 8. Run project. This should do it for you. Good luck.
1,115,973
I've noticed an increasing number of jobs that are asking for experience with data mining and business intelligence technologies. This sounds like an incredibly broad topic but where would one go if they wanted to develop at least a partial understanding of this stuff if it were to come up in an interview?
2009/07/12
[ "https://Stackoverflow.com/questions/1115973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/132153/" ]
A very good book with practical examples is the [Programming Collective Intelligence: Building Smart Web 2.0 Applications](https://rads.stackoverflow.com/amzn/click/com/0596529325) by Toby Segaran.
Go read [Data Mining: Practical Machine Learning Tools and Techniques (Second Edition)](http://www.cs.waikato.ac.nz/~ml/weka/book.html). Then use [Weka](http://www.cs.waikato.ac.nz/~ml/weka/index.html) on a pet project. Despite the name, this is a good book, and the Weka package has several levels of entry into the data-m... er machine-learning world.
1,115,973
I've noticed an increasing number of jobs that are asking for experience with data mining and business intelligence technologies. This sounds like an incredibly broad topic but where would one go if they wanted to develop at least a partial understanding of this stuff if it were to come up in an interview?
2009/07/12
[ "https://Stackoverflow.com/questions/1115973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/132153/" ]
Go read [Data Mining: Practical Machine Learning Tools and Techniques (Second Edition)](http://www.cs.waikato.ac.nz/~ml/weka/book.html). Then use [Weka](http://www.cs.waikato.ac.nz/~ml/weka/index.html) on a pet project. Despite the name, this is a good book, and the Weka package has several levels of entry into the data-m... er machine-learning world.
Consider reading [Ralph Kimball's books](http://www.amazon.com/s/ref=nb_ss?url=search-alias%3Daps&field-keywords=ralph+kimball&x=0&y=0) for an introduction to Business Intelligence. Also, try to not stick to one technolgy-vendor, every company has its own biased vision of BI, you'll need a 360 overview.
1,115,973
I've noticed an increasing number of jobs that are asking for experience with data mining and business intelligence technologies. This sounds like an incredibly broad topic but where would one go if they wanted to develop at least a partial understanding of this stuff if it were to come up in an interview?
2009/07/12
[ "https://Stackoverflow.com/questions/1115973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/132153/" ]
Go read [Data Mining: Practical Machine Learning Tools and Techniques (Second Edition)](http://www.cs.waikato.ac.nz/~ml/weka/book.html). Then use [Weka](http://www.cs.waikato.ac.nz/~ml/weka/index.html) on a pet project. Despite the name, this is a good book, and the Weka package has several levels of entry into the data-m... er machine-learning world.
Maybe you can also try to work with real BI - it is almost impossible to get in contact with data-filled and running SAS, MS, Oracle etc. I work in a team which integrates BI BellaDati for enterprises. For try-out and personal purposes it is free with some datastore limitations ( <http://www.trgiman.eu/en/belladati/product/personal> ). BellaDati is also used as a learning tool on technical universities focused on practical application of data mining and analysis. The final manager-level dashboards examples of BellaDati can be seen at <http://mercato.belladati.com/bi/mercato/show/worldexchanges> You can work here with SQL datasources, flat files, web services and play. From my own experience - to show real samples of market analysis practise (like case study etc.) is good for an interview. I wish you luck, Peter
1,115,973
I've noticed an increasing number of jobs that are asking for experience with data mining and business intelligence technologies. This sounds like an incredibly broad topic but where would one go if they wanted to develop at least a partial understanding of this stuff if it were to come up in an interview?
2009/07/12
[ "https://Stackoverflow.com/questions/1115973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/132153/" ]
A very good book with practical examples is the [Programming Collective Intelligence: Building Smart Web 2.0 Applications](https://rads.stackoverflow.com/amzn/click/com/0596529325) by Toby Segaran.
Consider reading [Ralph Kimball's books](http://www.amazon.com/s/ref=nb_ss?url=search-alias%3Daps&field-keywords=ralph+kimball&x=0&y=0) for an introduction to Business Intelligence. Also, try to not stick to one technolgy-vendor, every company has its own biased vision of BI, you'll need a 360 overview.
1,115,973
I've noticed an increasing number of jobs that are asking for experience with data mining and business intelligence technologies. This sounds like an incredibly broad topic but where would one go if they wanted to develop at least a partial understanding of this stuff if it were to come up in an interview?
2009/07/12
[ "https://Stackoverflow.com/questions/1115973", "https://Stackoverflow.com", "https://Stackoverflow.com/users/132153/" ]
A very good book with practical examples is the [Programming Collective Intelligence: Building Smart Web 2.0 Applications](https://rads.stackoverflow.com/amzn/click/com/0596529325) by Toby Segaran.
Maybe you can also try to work with real BI - it is almost impossible to get in contact with data-filled and running SAS, MS, Oracle etc. I work in a team which integrates BI BellaDati for enterprises. For try-out and personal purposes it is free with some datastore limitations ( <http://www.trgiman.eu/en/belladati/product/personal> ). BellaDati is also used as a learning tool on technical universities focused on practical application of data mining and analysis. The final manager-level dashboards examples of BellaDati can be seen at <http://mercato.belladati.com/bi/mercato/show/worldexchanges> You can work here with SQL datasources, flat files, web services and play. From my own experience - to show real samples of market analysis practise (like case study etc.) is good for an interview. I wish you luck, Peter
18,219
I'm going to try to provide a high level overview of the issue - realizing that more details/info will be necessary - but I don't want to write a novel that seems too overwhelming for people to respond to :) **Background**: Let's say I have 3 sets (A, B, C) of irregular point data of varying quality; A is "better" than B and B is "better" than C. One or more data sets might have data for a given point. **Goal**: Create a grid/map that contains the "best" possible data. **Example/Possible Solution**: Use some sort of inverse distance weighted algorithm in combination w/somehow weighting the better datasets more than the lower quality data sets. Please feel free to post follow-up questions as I know my original post is rather vague. Thanks in advance.
2011/12/26
[ "https://gis.stackexchange.com/questions/18219", "https://gis.stackexchange.com", "https://gis.stackexchange.com/users/1384/" ]
When "best" is interpreted as "minimum variance unbiased estimator," then **the answer is [cokriging](http://www.gammadesign.com/gswinhelp/kriging_and_cokriging/cokriging.htm)**. This technique views the three datasets as realizations of three correlated spatial stochastic processes. It characterizes the process and their correlations by means of a preliminary analysis, "variography." The variography can be informed by additional considerations such as the relative quality of the datasets: this would cause the analyst to prefer variogram models that assign higher variances to the lower-quality datasets. Then, the co-kriging algorithm itself uses the data and the variographic output (a set of "pseudo co-variograms") to predict any desired linear combination of the three datasets (such as the mean values of dataset "A" within specified grid cells). **A simple, limiting version of co-kriging** supposes the three datasets are not correlated with each other at all. In this case, each of the datasets can be kriged separately. (This means a variogram model is fit to each dataset separately and used separately to interpolate the data values onto a grid of specified locations.) The kriging output includes a kriging variance. Assuming each dataset represents the same physical quantity, the question becomes how to combine the three estimated values at each grid point into the "best" possible estimate of that quantity. The answer is to take a weighted average of the three estimates, using the reciprocals of the kriging variances as the weights. The result remains unbiased because the three inputs are unbiased by construction; weighting inversely by variance assures the result has the smallest variance, which is exactly what "best" was assumed to mean. **Kriging and co-kriging are available** in the Geostatistical Analyst add-on for ArcGIS (at an extra cost) and in freely available software such as the [gstat](http://www.itc.nl/~rossiter/teach/R/R_ck.pdf) package for R. These are not activities to be undertaken casually: they are sophisticated, comprehensive analyses of the data that become valid *only* as a result of reasoned, accurate statistical characterization. Although software for kriging and co-kriging has long been available in many GIS environments, IMHO **kriging is *not* an activity to be performed solely by a GIS analyst**, because it requires close collaboration both with a seasoned statistician and an expert in the field of study. (Occasionally two of these three roles or even all three may be adequately filled by the same person, but this is rare.) It is one of those especially dangerous capabilities of a GIS because kriging *output* is easily created by anyone who can push the right buttons (a task that can be learned in 30 minutes with ESRI's excellent tutorial on Geostatistical Analyst, for instance) and will often *look* correct but is just the "GO" part of the proverbial [GIGO](http://en.wikipedia.org/wiki/Garbage_in,_garbage_out).
One thing I can come up with is to use simulation. For each of your observations you have a probability distribution, e.g. a normal distribution. For the low quality observations these probablity distributions are larger. From each of these observations you can draw a realization of the prob. distribution, interpolate the values, resulting in a map. Doing this a few thousand times will get you a probability distribution for each gridpoint in the inteprolation. From this you can extract for example the mean. In addition, you can use the probability distributions at the interpolation gridpoints to get an estimate of the uncertainty at each location. You probably cannot draw independent values at of your observations, but have to draw with a spatial dependency between the points. I'm not sure how this would work from a statistical point of view using e.g. kriging, i.e. is the prob. distribution at the interpolation points valid given all the statistical assumptions in the realizations of the input points. This kind of thing can probably most easily be done in a programming environment such as R or matlab.
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
"**Confirming the hypothesis**" always sounds good in a technical paper. Or "**as hypothesized**". If you are noting agreement with previous results, you can say "**validating/confirming results from...**".
**Paralleled** > > a person or thing that is similar or analogous to another. > > > The experimental results **paralleled** the theoretically expected results outlined in Paper/Report/Experiment x/y/z Alternatively: * Corresponded * Analogous The correct word choice would also depend on the way the information is presented to the reader.
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
Consider [synonyms](http://thesaurus.com/browse/consistent) of *[consistent](http://en.wiktionary.org/wiki/consistent#Adjective)*, such as *[compatible](http://en.wiktionary.org/wiki/compatible#Adjective)* and *[congruent](http://en.wiktionary.org/wiki/congruent#Adjective)*; eg, “Results of experiment B were consistent / compatible / congruent with those of experiment A.” Also consider *[in accord with](http://en.wiktionary.org/wiki/accord#Noun)*; eg, “In accord with predictions based on experiment A, experiment B showed that...”
If the results of your second experiment were predicted by the first experiment then there was no need to carry the former. Maybe you deduced from the first experiment's results that the second experiment might give certain results, or you had doubts about the reasons for the results of the first experiment. In this case, maybe, *as predicted* is the wrong expression. > > What about *as indicated*? > > >
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
"**Confirming the hypothesis**" always sounds good in a technical paper. Or "**as hypothesized**". If you are noting agreement with previous results, you can say "**validating/confirming results from...**".
If the results of your second experiment were predicted by the first experiment then there was no need to carry the former. Maybe you deduced from the first experiment's results that the second experiment might give certain results, or you had doubts about the reasons for the results of the first experiment. In this case, maybe, *as predicted* is the wrong expression. > > What about *as indicated*? > > >
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
Consider [synonyms](http://thesaurus.com/browse/consistent) of *[consistent](http://en.wiktionary.org/wiki/consistent#Adjective)*, such as *[compatible](http://en.wiktionary.org/wiki/compatible#Adjective)* and *[congruent](http://en.wiktionary.org/wiki/congruent#Adjective)*; eg, “Results of experiment B were consistent / compatible / congruent with those of experiment A.” Also consider *[in accord with](http://en.wiktionary.org/wiki/accord#Noun)*; eg, “In accord with predictions based on experiment A, experiment B showed that...”
The primary question asks for a **linking phrase** for a discussion of "***expected***" results from a secondary experiment. You could say the results of the second experiment were "***anticipated***". > > The results of the second experiment were "**anticipated in support > of**" deductions made during the first experiment. > > > The second experiment was thus also **anticipated to affirm** the working deduction of the primary experiment. It could be referred to as **confirmatory** as well. <https://www.thefreedictionary.com/affirm> <https://www.thefreedictionary.com/confirm>
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
I think the word you are looking for is **corroborate**: > > [**corroborate**](http://www.merriam-webster.com/dictionary/corroborate): to > support or help prove (a statement, theory, etc.) by providing information or evidence > > > So, you performed a first experiment resulting in "x". The result "x" supports your hypothesis. You then perform a second experiment that, if the results of your first experiment are correct, will support the results of your first experiment. If that turns out to be the case, you would say that the results of your second experiment **corroborate** the results of your first experiment, and, thereby, strengthen the evidence in support of your hypothesis.
If the results of your second experiment were predicted by the first experiment then there was no need to carry the former. Maybe you deduced from the first experiment's results that the second experiment might give certain results, or you had doubts about the reasons for the results of the first experiment. In this case, maybe, *as predicted* is the wrong expression. > > What about *as indicated*? > > >
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
"Corollary" is the usual technical/scientific term to describe the consequent or expected sets of derivative results or conclusions of a main theory, hypothesis or experiment. > > [cor·ol·lar·y](http://www.thefreedictionary.com/corollary) (kôr-lr, kr-) > n. pl. cor·ol·lar·ies > > > > 1. A proposition that follows with little or no proof required from one already proven. > 2. A deduction or an inference. > 3. A natural consequence or effect; a result. > > > adj. > Consequent; resultant. > > > For example, > > I have thus concluded the 1st and 2nd experiments. The results of the 2nd experiment have demonstrated to be corollaries to those of the 1st. > > >
"Therefore it proves that" also passes off in a technical paper.
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
How about: clearly, apparently, obviously, evidently, patently? The word obviously can sometimes affect readers adversely, "well, it wasn't so obvious to me."
[Ergo](http://www.merriam-webster.com/dictionary/ergo) > > : therefore, hence > > > (definition from m-w.com)
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
Consider [synonyms](http://thesaurus.com/browse/consistent) of *[consistent](http://en.wiktionary.org/wiki/consistent#Adjective)*, such as *[compatible](http://en.wiktionary.org/wiki/compatible#Adjective)* and *[congruent](http://en.wiktionary.org/wiki/congruent#Adjective)*; eg, “Results of experiment B were consistent / compatible / congruent with those of experiment A.” Also consider *[in accord with](http://en.wiktionary.org/wiki/accord#Noun)*; eg, “In accord with predictions based on experiment A, experiment B showed that...”
"Corollary" is the usual technical/scientific term to describe the consequent or expected sets of derivative results or conclusions of a main theory, hypothesis or experiment. > > [cor·ol·lar·y](http://www.thefreedictionary.com/corollary) (kôr-lr, kr-) > n. pl. cor·ol·lar·ies > > > > 1. A proposition that follows with little or no proof required from one already proven. > 2. A deduction or an inference. > 3. A natural consequence or effect; a result. > > > adj. > Consequent; resultant. > > > For example, > > I have thus concluded the 1st and 2nd experiments. The results of the 2nd experiment have demonstrated to be corollaries to those of the 1st. > > >
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
The primary question asks for a **linking phrase** for a discussion of "***expected***" results from a secondary experiment. You could say the results of the second experiment were "***anticipated***". > > The results of the second experiment were "**anticipated in support > of**" deductions made during the first experiment. > > > The second experiment was thus also **anticipated to affirm** the working deduction of the primary experiment. It could be referred to as **confirmatory** as well. <https://www.thefreedictionary.com/affirm> <https://www.thefreedictionary.com/confirm>
"Therefore it proves that" also passes off in a technical paper.
106,477
I am writing a technical paper where I have described an experiment resulting in "x". Then I go on to describe the result of a second experiment whose result was expected since the reason was deduced in the previous experiment (x). I'm looking for a phrase to tie the two sentences together but I did not want to use "as expected" or "it would follow". I know there is another phrase out there that suits better but I can't seem to come up with it right now so I need your help. Thanks.
2013/03/07
[ "https://english.stackexchange.com/questions/106477", "https://english.stackexchange.com", "https://english.stackexchange.com/users/38999/" ]
"**Confirming the hypothesis**" always sounds good in a technical paper. Or "**as hypothesized**". If you are noting agreement with previous results, you can say "**validating/confirming results from...**".
"Corollary" is the usual technical/scientific term to describe the consequent or expected sets of derivative results or conclusions of a main theory, hypothesis or experiment. > > [cor·ol·lar·y](http://www.thefreedictionary.com/corollary) (kôr-lr, kr-) > n. pl. cor·ol·lar·ies > > > > 1. A proposition that follows with little or no proof required from one already proven. > 2. A deduction or an inference. > 3. A natural consequence or effect; a result. > > > adj. > Consequent; resultant. > > > For example, > > I have thus concluded the 1st and 2nd experiments. The results of the 2nd experiment have demonstrated to be corollaries to those of the 1st. > > >
37,318,319
I have Two Question related to Native App Performance Testing? 1)I have a Payment App, and it comes with bank security which is installed at the time of app installation. It sends an token number and rest of the data in encrypted format. Is it possible to handle such kind of request using Jmeter or any other performance testing tool, do i need to change some setting in app server or jmeter to get this done ? 2)Mobile App uses Device ID, so if i simulated load on cloud server it will use same Device ID which i used while creating script? is it possible to simulate different mobile ID to make it real-time? any Help or references will be appreciated ..:)
2016/05/19
[ "https://Stackoverflow.com/questions/37318319", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4252313/" ]
(1) Yes. This is why performance testing tools are built around general purpose programming languages, to allow you (as the tester) to leverage your foundation skills in programming to leverage the appropriate algorithms and libraries to represent the same behavior as the client (2) This is why performance testing tools allow for parameterization of the sending datastream to the server/application under test
I'm not an expert in JMeter. But work a lot with Loadrunner (LR) (Performance Testing Tool from HP). Though JMeter and LR are different tools, they work under same principle and objective and so objective of performance testing. As James Pulley mentioned, the performance testing tool may have the capability. But the question is, Have your tried recording your app with JMeter? Since your app is a native kind, please do the recording from simulator/emulator and check the feasibility. JMeter might not be the right candidate for mobile app load testing. Alternatively there are lot of other tools available (both commercial and opensource) in market for your objective. Best Regards
37,318,319
I have Two Question related to Native App Performance Testing? 1)I have a Payment App, and it comes with bank security which is installed at the time of app installation. It sends an token number and rest of the data in encrypted format. Is it possible to handle such kind of request using Jmeter or any other performance testing tool, do i need to change some setting in app server or jmeter to get this done ? 2)Mobile App uses Device ID, so if i simulated load on cloud server it will use same Device ID which i used while creating script? is it possible to simulate different mobile ID to make it real-time? any Help or references will be appreciated ..:)
2016/05/19
[ "https://Stackoverflow.com/questions/37318319", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4252313/" ]
(1) Yes. This is why performance testing tools are built around general purpose programming languages, to allow you (as the tester) to leverage your foundation skills in programming to leverage the appropriate algorithms and libraries to represent the same behavior as the client (2) This is why performance testing tools allow for parameterization of the sending datastream to the server/application under test
With the raise of several mobile network technologies, load testing a mobile application has become a different ball game in comparison with normal web app load testing. This is because of the differences in the response times that occur in different mobile networks such as 2G, 3G, 4G, etc. Additionally the client being a mobile device has plenty of physical constraints such as limited CPU, RAM, internal storage etc. All of these need to be considered while conducting performance testing of a mobile application if one wants to simulate a scenario close to a real time condition. Coming to your 2 questions, 1) Yes it is possible but the amount of manual effort that needs to be invested to make the script execution ready might vary (since you are mentioning there is data in encrypted format - some are easy to understand and some are just crude and difficult to handle using JMeter). But there might not be any app server setting that would be required to change (unless of course you are unable to handle the encryption with JMeter in which case, the encryption might have to be disabled for QA phase) 2) As rightly said by James Pulley, these values can be parameterized. However, I fear that these values will be validated by the app server and hence the values need to be appropriately fed in the requests. You can refer to this link for reference on how to do Mobile Performance Testing for Native application <http://www.neotys.com/documents/doc/neoload/latest/en/html/#4234.htm#o4237> .The same could be extrapolated to JMeter to an extent.
30,362
My mate always tells me to remove the germ (the center) from garlic and onions, especially if it's turning green. What are the pros and cons of the germs of these plants?
2013/01/24
[ "https://cooking.stackexchange.com/questions/30362", "https://cooking.stackexchange.com", "https://cooking.stackexchange.com/users/15265/" ]
So... I was always taught that you remove it because it's bitter. I generally remove it if it's big enough. However, there seems to be some contention as to whether this is true (and to what degree it's true). See: <http://www.examiner.com/article/remove-the-garlic-germ-few-do-this-anymore> and <http://ruhlman.com/2011/02/garlic-germ/> In short, there are mixed teachings as to whether you should remove it. But essentially the germ DOES affect the taste of garlic. Some call it bitter, some call it "more garlicky". Ruhlman suggests that if you're hitting it with heat immediately, then there isn't a point in removing it. If he's doing something that will have the garlic sitting around, then he doesn't. From this what I'd suggest (and what I'm going to try doing from now on) is to ignore it and if you notice a difference in taste, or more importantly find the result objectionable. then take it out next time. Otherwise don't bother as you won't know the difference.
I always remove mine as I too find it affects the taste of the garlic. However, since I started keeping my garlic in the refrigerator, I've noticed that the garlic keeps much longer and rarely develops green germs.
257,454
I don't know if this can be done in an home environment but I would like to make a powerful system and have that providing a way for all my home computers to connect to having their own profile as if they were logging into their own account on a windows machine. I would prefer a Windows 7 Based OS. Is there such thing? I would think Windows Server 2008 R2 with Hyper V machines associated to each account for logging in? Is that the only concept? Thanks
2011/03/14
[ "https://superuser.com/questions/257454", "https://superuser.com", "https://superuser.com/users/46390/" ]
That sounds like the basic Roaming Profiles facility that all Windows Server editions (certainly since Server 2000) provides. 1. Install a windows server, and set it up as an Active Directory Server. 2. Join the workstations into the Domain you created as part of Step 1. You now have centralised user management and profile storage at your fingertips.
Both [Windows Home Server](http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx) (new release out soon which is 2008 R2 based) and [Windows Small Business Server 2011](http://www.microsoft.com/oem/en/products/servers/Pages/sbs_overview.aspx) offer features which should help. Home server has the ability to sync accounts from various computers in a Work Group setting for many centralized tasks where as SBS is a single enterprise in a box setup with Active Directory, Exchange, SharePoint and WSUS.
38,286
I know that memorising the whole the Quran is fard kifaya but are there any other fard kifaya acts ?
2017/03/05
[ "https://islam.stackexchange.com/questions/38286", "https://islam.stackexchange.com", "https://islam.stackexchange.com/users/20796/" ]
The most known examples are the funeral prayer (salat al-Janazah beside the janazah -burying itself- and the ghusl of the dead person), jihad, memorizing quran, getting or seeking knowledge, enjoining what is good and forbidding what is evil and ijtihad. What constitutes fard al-kifaya فرض كفاية is that it is an obligation on the Ummah, but if any of them perform this obligation the rest would be exempt from performing it, but if nobody does it the Ummah would be considered as sinning. > > قال الإمام الشافعي رحمه الله : "حق على الناس غسل الميت ، والصلاة عليه ودفنه ، لا يسع عامتهم تركه. وإذا قام به من فيه كفاية أجزأ عنهم ، إن شاء الله تعالى" انتهى من "الأم" (source [islamqa#131270](https://islamqa.info/ar/131270)) > > > Al-Imam a-Shafi'i has written in his al-Umm: "a right people must fulfill is washing the dead, praying on him and burying him, and they can't leave it all of them, if enough people did it those would be rewarded and the rest exempt from it, if Allah wills" > > > But a fard kifaya can easily move from this state to the state of fard 'ayn فرض عين, an obligation which must be performed by anybody (except people who have special conditions). For example if Muslims don't have their own physicians anybody would be asked to learn this science until we would have a capable person, if nobody re-reads the sources and does ijtihad we are all asked to do so until we find at least one capable person. And for jihad it is fard kifaya for jihad to attack the enemy (if this is an allowed option) or help oppressed Muslims in a place far away, but if the enemy is in your country it would be fard 'ayn to fight him! Some relevant posts: [Is ijtihad open in Islam (Sunni view)?](https://islam.stackexchange.com/questions/17371/is-ijtihad-open-in-islam-sunni-view/26101#26101) [Levels of approval/disapproval](https://islam.stackexchange.com/questions/35381/levels-of-approval-disapproval/35385#35385)
example: The five daily prayers for which muslims are individually responsible!
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
If you are on PC, you can use the console to add and remove perks. **Finding a perk id:** help [name of perk] 4 *help Armsman 4* **Removing a perk** player.removeperk [perk id] *player.removeperk 00079342* **Adding a perk** player.addperk [perk id] *player.addperk 00079342* Notes: * You can use the PageUp/PageDown keys to scroll the console. * Use double quotes when searching for a perk with a space: "Steel Smithing" -yx * The [UESP](http://www.uesp.net/wiki/Template:Skills_in_Skyrim) has the perk id for all the skills. -Mark Trapp
You can get the skill up to 100, make it legendary to make the skill 15 again. The perks you dumped into it will be removed and you can reuse them
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
If you are on PC, you can use the console to add and remove perks. **Finding a perk id:** help [name of perk] 4 *help Armsman 4* **Removing a perk** player.removeperk [perk id] *player.removeperk 00079342* **Adding a perk** player.addperk [perk id] *player.addperk 00079342* Notes: * You can use the PageUp/PageDown keys to scroll the console. * Use double quotes when searching for a perk with a space: "Steel Smithing" -yx * The [UESP](http://www.uesp.net/wiki/Template:Skills_in_Skyrim) has the perk id for all the skills. -Mark Trapp
For PC. An easy solution related to all perks, so you can basically recreate your char: This mod will remove all perks and add the right ammount removed as perk points: [Ishs Respec Mod](http://www.nexusmods.com/skyrim/mods/16471/?) If there remain any perks after the above mod being used, use the console to remove them (as explained by [Arkive post](https://gaming.stackexchange.com/a/35140/45976), you can even create a bat file to make it easier later on) and use this mod: [Perk Point Potion](http://www.nexusmods.com/skyrim/mods/10836/?) to get the right ammount of perk points back.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
You can remove perks you currently have by using: > > player.removeperk *perkid* > > > To find out the id of the perk, type this in: > > help "perk name here" 0 > > > This will bring up a list of all items matching your query (hopefully it contains the perk in that list). To add a perk: > > player.addperk *perkid* > > > **Note:** for perks that have multiple levels, you will have to remove all the perks for those skills to clear it out. i.e. one handed has 5 levels, the way skyrim tracks that is to add a perk for each level, so there are 5 different perks for one handed. To redistribute your stats, you can use: > > player.setav *stat value* > > > However this will not persist across saves, to do that use: > > player.modav *stat amount\_to\_modify\_by* > > > That can be used to set all skills and stats.
If you have the Dragonborn DLC, play through the main DLC questline. One of the rewards of completing the [At the Summit of Apocrypha](http://www.uesp.net/wiki/Dragonborn:At_the_Summit_of_Apocrypha) quest is: > > A book that transports you to Hermaeus Mora's realm, and allows you to reset perks at the cost of one Dragon Soul per tree. > > >
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
Alternatively to cheating, there are other options: 1. Get yourself killed, your perk won't be saved. 2. Quit the game abruptly without saving, your perk won't be saved. 3. Although not really fair, you could return to a previous save game.
For PC. An easy solution related to all perks, so you can basically recreate your char: This mod will remove all perks and add the right ammount removed as perk points: [Ishs Respec Mod](http://www.nexusmods.com/skyrim/mods/16471/?) If there remain any perks after the above mod being used, use the console to remove them (as explained by [Arkive post](https://gaming.stackexchange.com/a/35140/45976), you can even create a bat file to make it easier later on) and use this mod: [Perk Point Potion](http://www.nexusmods.com/skyrim/mods/10836/?) to get the right ammount of perk points back.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
If you are on PC, you can use the console to add and remove perks. **Finding a perk id:** help [name of perk] 4 *help Armsman 4* **Removing a perk** player.removeperk [perk id] *player.removeperk 00079342* **Adding a perk** player.addperk [perk id] *player.addperk 00079342* Notes: * You can use the PageUp/PageDown keys to scroll the console. * Use double quotes when searching for a perk with a space: "Steel Smithing" -yx * The [UESP](http://www.uesp.net/wiki/Template:Skills_in_Skyrim) has the perk id for all the skills. -Mark Trapp
Alternatively to cheating, there are other options: 1. Get yourself killed, your perk won't be saved. 2. Quit the game abruptly without saving, your perk won't be saved. 3. Although not really fair, you could return to a previous save game.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
You can get the skill up to 100, make it legendary to make the skill 15 again. The perks you dumped into it will be removed and you can reuse them
For PC. An easy solution related to all perks, so you can basically recreate your char: This mod will remove all perks and add the right ammount removed as perk points: [Ishs Respec Mod](http://www.nexusmods.com/skyrim/mods/16471/?) If there remain any perks after the above mod being used, use the console to remove them (as explained by [Arkive post](https://gaming.stackexchange.com/a/35140/45976), you can even create a bat file to make it easier later on) and use this mod: [Perk Point Potion](http://www.nexusmods.com/skyrim/mods/10836/?) to get the right ammount of perk points back.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
If you have the Dragonborn DLC, play through the main DLC questline. One of the rewards of completing the [At the Summit of Apocrypha](http://www.uesp.net/wiki/Dragonborn:At_the_Summit_of_Apocrypha) quest is: > > A book that transports you to Hermaeus Mora's realm, and allows you to reset perks at the cost of one Dragon Soul per tree. > > >
Alternatively to cheating, there are other options: 1. Get yourself killed, your perk won't be saved. 2. Quit the game abruptly without saving, your perk won't be saved. 3. Although not really fair, you could return to a previous save game.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
If you have the Dragonborn DLC, play through the main DLC questline. One of the rewards of completing the [At the Summit of Apocrypha](http://www.uesp.net/wiki/Dragonborn:At_the_Summit_of_Apocrypha) quest is: > > A book that transports you to Hermaeus Mora's realm, and allows you to reset perks at the cost of one Dragon Soul per tree. > > >
For PC. An easy solution related to all perks, so you can basically recreate your char: This mod will remove all perks and add the right ammount removed as perk points: [Ishs Respec Mod](http://www.nexusmods.com/skyrim/mods/16471/?) If there remain any perks after the above mod being used, use the console to remove them (as explained by [Arkive post](https://gaming.stackexchange.com/a/35140/45976), you can even create a bat file to make it easier later on) and use this mod: [Perk Point Potion](http://www.nexusmods.com/skyrim/mods/10836/?) to get the right ammount of perk points back.
35,121
While leveling in Skyrim I put a perk in a tree, but now I feel like it is wasted, since I've found blowing things up with spells is much more fun than stabbing things with a giant sword. Is there anyway for me to recover the wasted perk? I'm on the PC so I was guessing console commands could help.
2011/11/11
[ "https://gaming.stackexchange.com/questions/35121", "https://gaming.stackexchange.com", "https://gaming.stackexchange.com/users/3015/" ]
You can remove perks you currently have by using: > > player.removeperk *perkid* > > > To find out the id of the perk, type this in: > > help "perk name here" 0 > > > This will bring up a list of all items matching your query (hopefully it contains the perk in that list). To add a perk: > > player.addperk *perkid* > > > **Note:** for perks that have multiple levels, you will have to remove all the perks for those skills to clear it out. i.e. one handed has 5 levels, the way skyrim tracks that is to add a perk for each level, so there are 5 different perks for one handed. To redistribute your stats, you can use: > > player.setav *stat value* > > > However this will not persist across saves, to do that use: > > player.modav *stat amount\_to\_modify\_by* > > > That can be used to set all skills and stats.
Alternatively to cheating, there are other options: 1. Get yourself killed, your perk won't be saved. 2. Quit the game abruptly without saving, your perk won't be saved. 3. Although not really fair, you could return to a previous save game.