qid
int64
1
74.7M
question
stringlengths
12
33.8k
date
stringlengths
10
10
metadata
list
response_j
stringlengths
0
115k
response_k
stringlengths
2
98.3k
2,941,424
Can any of you suggest a good and stable echo cancelation package (gnu or not) to be linked with my videoconference application (C/C++) (Windows / Linux / MacOSX) ? My application should be freeware, so i do not want to pay for each user who download the app.
2010/05/31
[ "https://Stackoverflow.com/questions/2941424", "https://Stackoverflow.com", "https://Stackoverflow.com/users/353378/" ]
Here's a URL: <http://www.java-tips.org/other-api-tips/java3d/how-to-use-back-face-culling.html>
Finally, I found two links. These are best ones. <http://www.garybeene.com/3d/3d-java.htm> <http://www.garybeene.com/3d/3d-view.htm>
2,941,424
Can any of you suggest a good and stable echo cancelation package (gnu or not) to be linked with my videoconference application (C/C++) (Windows / Linux / MacOSX) ? My application should be freeware, so i do not want to pay for each user who download the app.
2010/05/31
[ "https://Stackoverflow.com/questions/2941424", "https://Stackoverflow.com", "https://Stackoverflow.com/users/353378/" ]
The first result in google is: [How to use Back Face Culling](http://www.java-tips.org/other-api-tips/java3d/how-to-use-back-face-culling.html)
Finally, I found two links. These are best ones. <http://www.garybeene.com/3d/3d-java.htm> <http://www.garybeene.com/3d/3d-view.htm>
9,761
When viewing this on a shopping web site, one of the reviewers indicates "This is about 50-60 [dollars] worth of pyrex glass and another 20 [dollars] worth of wood." The company charges $499 for this setup, so I'd like to find out if there is any truth to this statement by identifying the parts and seeing how much they cost. Image of the setup below: ![enter image description here](https://i.stack.imgur.com/s41E6.jpg)
2014/04/06
[ "https://chemistry.stackexchange.com/questions/9761", "https://chemistry.stackexchange.com", "https://chemistry.stackexchange.com/users/5100/" ]
I think that you can make your own cheaper Yama cold brew tower however what they are selling to you is the design! What you see in the picture is not chemistry glassware but if you want to make your own with chemistry glassware (this will cost more money because good chemistry glassware is purer and must have many expansive features that normal glassware don't have) I've written the analogous components in the figure. You need an open-top cylindrical dropping funnel with a [stopcock](http://en.wikipedia.org/wiki/Stopcock) valve. ![enter image description here](https://i.stack.imgur.com/Qkj0E.png) See [here](http://www.pltscientific.com/catalog/attachment/files/1352702523-reaction-vessels-1.pdf) and [here](http://www.alibaba.com/product-detail/Dropping-Funnels-_136154108.html) for reference. You can use a normal funnel and attach to it a stopcock valve if you want. Then there is something similar to a Buchner funnel, I imagine that there is a filter in the bottom, may be included into the funnel, in this case, a 90-150 micron filter should be sufficient. See [here](http://www.piscolabglass.com/sintered-glass-buchner-funnel.htm) for more info. Then there is a glass coil spiral, up to my knowledge this has no practical use is only beautiful and geeky but will cost a lot. Then you have a normal carafe. (probably a piece of filter paper is placed over the grounded cafe to allow the diffusion of water in the whole volume of the cylinder and not only in the centre). ![enter image description here](https://i.stack.imgur.com/OIbxl.jpg) With some [filter paper](http://en.wikipedia.org/wiki/Filter_paper) and a couple of half cut plastic bottles you can do your Yama tower with less of 5 $: you can make a little hole in the screw cap of your first bottle to make drip the first funnel, and use a piece of filter paper in the second. If you want to use glassware don't use chemistry glassware you don't need it really, try to find normal glassware to adapt to your project and you can make your own cheaper and nice Yama tower.
No need for Pyrex this all occurs at room temp, replace the valve on any water dispenser with adjustable valve, set to drip. For the funnel, empty wine or liquor bottle, cut off bottom, you all set. For bottom flask, glass milk jug. Easily under $50 and two hours.
19,014
I want to use Lucene (in particular, Lucene.NET) to search for email address domains. E.g. I want to search for "@gmail.com" to find all emails sent to a gmail address. Running a Lucene query for "\*@gmail.com" results in an error, asterisks cannot be at the start of queries. Running a query for "@gmail.com" doesn't return any matches, because "foo@gmail.com" is seen as a whole word, and you cannot search for just parts of a word. How can I do this?
2008/08/20
[ "https://Stackoverflow.com/questions/19014", "https://Stackoverflow.com", "https://Stackoverflow.com/users/536/" ]
I see you have your solution, but mine would have avoided this and added a field to the documents you're indexing called email\_domain, into which I would have added the parsed out domain of the email address. It might sound silly, but the amount of storage associated with this is pretty minimal. If you feel like getting fancier, say some domain had many subdomains, you could instead make a field into which the reversed domain went, so you'd store com.gmail, com.company.department, or ae.eim so you could find all the United Arab Emirates related addresses with a prefix query of 'ae.'
You could a separate field that indexes the email address reversed: Index 'foo@gmail.com' as 'moc.liamg@oof' Which enables you to do a query for "moc.liamg@\*"
19,014
I want to use Lucene (in particular, Lucene.NET) to search for email address domains. E.g. I want to search for "@gmail.com" to find all emails sent to a gmail address. Running a Lucene query for "\*@gmail.com" results in an error, asterisks cannot be at the start of queries. Running a query for "@gmail.com" doesn't return any matches, because "foo@gmail.com" is seen as a whole word, and you cannot search for just parts of a word. How can I do this?
2008/08/20
[ "https://Stackoverflow.com/questions/19014", "https://Stackoverflow.com", "https://Stackoverflow.com/users/536/" ]
I see you have your solution, but mine would have avoided this and added a field to the documents you're indexing called email\_domain, into which I would have added the parsed out domain of the email address. It might sound silly, but the amount of storage associated with this is pretty minimal. If you feel like getting fancier, say some domain had many subdomains, you could instead make a field into which the reversed domain went, so you'd store com.gmail, com.company.department, or ae.eim so you could find all the United Arab Emirates related addresses with a prefix query of 'ae.'
There also is [**setAllowLeadingWildcard**](http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/queryParser/QueryParser.html#setAllowLeadingWildcard(boolean)) But be **careful**. This could get very performance expensive (thats why it is disabled by default). Maybe in some cases this would be an easy solution, but I would prefer a custom Tokenizer as stated by [Judah Himango](https://stackoverflow.com/questions/19014/using-lucene-to-search-for-email-addresses#20468), too.
19,014
I want to use Lucene (in particular, Lucene.NET) to search for email address domains. E.g. I want to search for "@gmail.com" to find all emails sent to a gmail address. Running a Lucene query for "\*@gmail.com" results in an error, asterisks cannot be at the start of queries. Running a query for "@gmail.com" doesn't return any matches, because "foo@gmail.com" is seen as a whole word, and you cannot search for just parts of a word. How can I do this?
2008/08/20
[ "https://Stackoverflow.com/questions/19014", "https://Stackoverflow.com", "https://Stackoverflow.com/users/536/" ]
There also is [**setAllowLeadingWildcard**](http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/queryParser/QueryParser.html#setAllowLeadingWildcard(boolean)) But be **careful**. This could get very performance expensive (thats why it is disabled by default). Maybe in some cases this would be an easy solution, but I would prefer a custom Tokenizer as stated by [Judah Himango](https://stackoverflow.com/questions/19014/using-lucene-to-search-for-email-addresses#20468), too.
You could a separate field that indexes the email address reversed: Index 'foo@gmail.com' as 'moc.liamg@oof' Which enables you to do a query for "moc.liamg@\*"
1,665,330
Need to design ASP.net pages which are mostly datadriven pages (read/write to sql tables) through a interface. This is mostly for maintence of job queues (to job on hold / delete from queue => which in turn is updating or deleting view. What would be best Pattern to do with such maintence pages. Thanks
2009/11/03
[ "https://Stackoverflow.com/questions/1665330", "https://Stackoverflow.com", "https://Stackoverflow.com/users/85952/" ]
If you're looking for a quick fix, you could try [Dynamic Data](http://www.asp.net/dynamicdata/).
While I do agree that a good solution for administrivia style sites such a the one you are describing is easily handled by [Dynamic Data](http://www.asp.net/dynamicdata/) as @Robert Harvey has suggested this is not quite a direct answer to your question. I think you really can't go wrong with using the ASP.NET MVC framework with some DDD concepts tossed in. This of course may be over architecting a small problem however let me suggest why I like it so much. With ASP.NET MVC you don't have any heavy obstacles to worry about ...just nice pure HTML. Form there following a good domain driven design you can quickly get some layers running. Plug in LINQ to SQL and you are off and running. With the MVC framework you can also easily make just about everything test driven which will help to keep the site maintainable over time. I have written a whole series on DotNetSlackers regarding architectural concerns in ASP.NET MVC from a simple app all the way back to a complex distributed SOA style application. I have one more article (covering the SOA portion) to go to complete the series but there are many other articles in this mini-series that you could get started with. Take a look at the "[Three Tiers to MVC](http://dotnetslackers.com/projects/StackOverflowInspiredKnowledgeExchange/)" section on this TOC of the bigger series If this really is an admin site that you are creating though...do take a look at the Dynamic Data option. Very powerful!
13,096,470
I know what is the purpose of using static variables in an object oriented language, still, I don't understand what is the meaning of using the "static" keyword in C. Can someone explain it to me?
2012/10/27
[ "https://Stackoverflow.com/questions/13096470", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1718294/" ]
On a function or global variable, `static` makes the function or global variable local to that file; other files cannot access that function or global variable by that name (but they can access it if you give a pointer to it away). On a local variable, it makes it act as if it was a global variable, but is only accessible within that function (unless, again, you give a pointer to it away).
The value that a **static** variable has upon leaving a function is the same value that variable will have the next time the function is called. A **static** function can be called only from within the same file that the function appears.
7,629,291
I only have a single monitor with a 1920x1080 resolution. Is there some tool that helps me see the outcome of my CSS changes instantly over multiple resolutions? I'm only starting to learn CSS, but constantly resizing my browser into all directions after every tiny modification of my CSS file seems cumbersome.
2011/10/02
[ "https://Stackoverflow.com/questions/7629291", "https://Stackoverflow.com", "https://Stackoverflow.com/users/335355/" ]
Here's a good topic about your question, with your monitor, you should be able to test it with this solution <http://www.cssgirl.com/resources/2006/05/27/browser-size-check/>
If you set your dimensions using `px` pixels - you shouldn't need to concern yourself with resolution.
7,629,291
I only have a single monitor with a 1920x1080 resolution. Is there some tool that helps me see the outcome of my CSS changes instantly over multiple resolutions? I'm only starting to learn CSS, but constantly resizing my browser into all directions after every tiny modification of my CSS file seems cumbersome.
2011/10/02
[ "https://Stackoverflow.com/questions/7629291", "https://Stackoverflow.com", "https://Stackoverflow.com/users/335355/" ]
The [Web developer toolbar](https://addons.mozilla.org/en-US/firefox/addon/web-developer/) has a built-in option to resize your window. Alternatively, you can also create bookmarklets to resize the window using the `resizeTo` function.
If you set your dimensions using `px` pixels - you shouldn't need to concern yourself with resolution.
1,361,200
How do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only. Thanks, Nava
2009/09/01
[ "https://Stackoverflow.com/questions/1361200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/145261/" ]
You can try either [URLLoader](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html) with [content](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoaderDataFormat.html#BINARY) set for binary, or use [URLStream](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLStream.html). What do you need to load ?
Flex security prevents simple access to local files. The most commonly used workaround is having the user select a file, send that to your server, and then downloading that file from your server. There is access to some local storage (using SharedObject) for storing and reading settings. hth, Koen
1,361,200
How do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only. Thanks, Nava
2009/09/01
[ "https://Stackoverflow.com/questions/1361200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/145261/" ]
You can try either [URLLoader](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html) with [content](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoaderDataFormat.html#BINARY) set for binary, or use [URLStream](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLStream.html). What do you need to load ?
You can use a FileReference object to browse for a file and then access the raw bytes via the "data" property on the FileReference when the "complete" event is dispatched.
1,361,200
How do i open file and get its content as a ByteArray in AS3. I saw examples, using FileStream & File classes from flex.filesystem, but the doc says it's for AIR only. Thanks, Nava
2009/09/01
[ "https://Stackoverflow.com/questions/1361200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/145261/" ]
You can try either [URLLoader](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoader.html) with [content](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLLoaderDataFormat.html#BINARY) set for binary, or use [URLStream](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLStream.html). What do you need to load ?
New feature in Flash 10. Last time you can't read the file directly. But now, you can. <http://www.mikechambers.com/blog/2008/08/20/reading-and-writing-local-files-in-flash-player-10/>
301,821
My textbook exercise asks the question > > "Electric field lines cannot be discontinuous. Explain." > > > I thought about something related to potential and stuff like that to somehow show that they cannot be discontinuous but I see no problem with that? Why can't potential not be defined at a point? Has it something to do with nature or what?
2016/12/30
[ "https://physics.stackexchange.com/questions/301821", "https://physics.stackexchange.com", "https://physics.stackexchange.com/users/122358/" ]
Electric field lines *can* be discontinuous. Consider an infinite sheet of uniform charge density. The field is constant on either side of the sheet, but abruptly switches direction when moving from one side to the other. The field is discontinuous at the location of the sheet. A more proper statement would probably be: "If we only allow finite volumetric charge densities, electric field lines cannot be discontinuous."
An electrostatic field line represents the actual path travelled by a unit positive charge in an electric field. If the line have sudden breaks it means the unit positive charge jumps from one place to another which is not possible. It also means that electric field becomes zero suddenly at the breaks which is not possible. So, the field line cannot have sudden breaks.
499,941
What does "playing the usual kabuki" mean in the following excerpt from the Japan Times of May 24? And is this a common expression? > > Japan can score big in the eyes of Trump if it quickly provides an “easy win” to Trump without having trade negotiators playing **the usual kabuki** of trying to protect the domestic market until the very end. > > >
2019/05/28
[ "https://english.stackexchange.com/questions/499941", "https://english.stackexchange.com", "https://english.stackexchange.com/users/41809/" ]
This would not be a standard American English idiom as kabuki theater isn't common in the US. However, the context would be understood as the similar phrase "the usual song and dance", just substituting some Japanese flavor. In other words, the sentence is saying that instead of difficult negotiations featuring hard lines and begrudging compromises, by giving a Trump something he can boast about quickly, Japan is likely to see favorable treatment on future requests or implementation.
> > **Kabuki theater** > > > is literally one kind of dramatic presentation in Japanese culture, with some very particular tropes. The term is used as such in travel guides in English for Japan. But in other discourse, its meaning is metaphorical. [Because of the history of English speakers viewing such performances](https://www.dictionary.com/e/pop-culture/kabuki-theater/), 'kabuki theater' usually means > > political showmanship or empty show emphasizing style and words over substance. > > > The phrase > > ...trade negotiators **playing the usual kabuki** of trying to... > > > is just a slight rewording. Other ways of saying it are ["a bunch of kabuki theater"](https://www.google.com/search?q=%22a+bunch+of+kabuki+theater%22).
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
I think that this is a very subjective question with no real answer. Different situations demand different solutions, and there will not be a single recipe of "when to create a new method". It depends.
Ultimately you don't want to repeat yourself, according to the DRY principle (which you and a few other people already mentioned). It also depends on the language you're using. A lot of object oriented languages make all of there methods public (e.g. Objective-C) and so you would only want to create functions that are intended to be called by other objects. On the other hand many languages like Java provide private functions which support the concept of grouping blocks of code into private functions that aren't really meant to be used outside of the class itself.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
I think that this is a very subjective question with no real answer. Different situations demand different solutions, and there will not be a single recipe of "when to create a new method". It depends.
Create a method to accomplish a specific task. If the method grows in size, that means it has some sub tasks, so separate out (refactor) the sub-tasks in to a new method.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
I think there are no specific design guidelines for this. But some of the design principles do talk about method creation. [DRY](http://en.wikipedia.org/wiki/Don't_repeat_yourself) ( don't repeat yourself) is a guiding principle when comes to method creation. You group similar logic in a single method so that you don't duplicate them all over your code and thus make maintenance a nightmare. [Single Responsibility Principle](http://en.wikipedia.org/wiki/Single_responsibility_principle) is another. It says that your class, or method should do only *one* thing. This is to make the method size small.
Create a method to accomplish a specific task. If the method grows in size, that means it has some sub tasks, so separate out (refactor) the sub-tasks in to a new method.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
An interesting point, albeit unrelated to object oriented programming, is made in linux's coding style [guide](http://www.linuxfromscratch.org/alfs/view/hacker/part2/hacker/coding-style.html): > > Chapter 4: Functions > > > Functions should be short and sweet, and do just one thing. They should fit on one or two screenfuls of text (the ISO/ANSI screen size is 80x24, as we all know), and do one thing and do that well. > > > The maximum length of a function is inversely proportional to the complexity and indentation level of that function. So, if you have a conceptually simple function that is just one long (but simple) case- statement, where you have to do lots of small things for a lot of different cases, it's OK to have a longer function. > > > However, if you have a complex function, and you suspect that a less- than-gifted first-year high-school student might not even understand what the function is all about, you should adhere to the maximum limits all the more closely. Use helper functions with descriptive names (you can ask the compiler to in-line them if you think it's performance-critical, and it will probably do a better job of it that you would have done). > > > Another measure of the function is the number of local variables. They shouldn't exceed 5-10, or you're doing something wrong. Re-think the function, and split it into smaller pieces. A human brain can generally easily keep track of about 7 different things, anything more and it gets confused. You know you're brilliant, but maybe you'd like to understand what you did 2 weeks from now. > > >
You might want to extract a method if: * there is a comment block for a chunk * you can name the intent of a chunk
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
I regard programming as an art. As such, I split methods when it **feels right** to me to split them, or to write a new one. That said, there are some thumb rules (which **do not** overrule my instincts). 1. If you need to scroll the screen to read one method, you need to split it 2. IF you have deja vue (the code you write seems familiar) you are probably repeating yourself, which means you should us an existing function/method and not write a new one. 3. No more than two constructs deep for(...) for(...) for(...) BAD 4. No more than one loop in a row (one after the other). 5. If you need to return more then one type of data (a null/false version is not) then you need to split something. 6. If you get confused when reading your method - split it 7. A method/function should be responsible for one task. 8. The most obvious - when writing new functionality :-)
Check out [Clean Code](http://www.amazon.co.uk/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882) by Robert Martin which covers this (among other things)
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
When you start putting double spaces between blocks of code to signify different responsibilities.
Ultimately you don't want to repeat yourself, according to the DRY principle (which you and a few other people already mentioned). It also depends on the language you're using. A lot of object oriented languages make all of there methods public (e.g. Objective-C) and so you would only want to create functions that are intended to be called by other objects. On the other hand many languages like Java provide private functions which support the concept of grouping blocks of code into private functions that aren't really meant to be used outside of the class itself.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
Check out [Clean Code](http://www.amazon.co.uk/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882) by Robert Martin which covers this (among other things)
Most methods should accomplish one task.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
You might want to extract a method if: * there is a comment block for a chunk * you can name the intent of a chunk
You should **almost always** create a new method when you're repeating code. It removes the repeated code, and it's self-documenting if you choose a good name. The same single line of code occurring in two places isn't too short to make a method out of unless the line is trivial and its intent is screamingly obvious.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
An interesting point, albeit unrelated to object oriented programming, is made in linux's coding style [guide](http://www.linuxfromscratch.org/alfs/view/hacker/part2/hacker/coding-style.html): > > Chapter 4: Functions > > > Functions should be short and sweet, and do just one thing. They should fit on one or two screenfuls of text (the ISO/ANSI screen size is 80x24, as we all know), and do one thing and do that well. > > > The maximum length of a function is inversely proportional to the complexity and indentation level of that function. So, if you have a conceptually simple function that is just one long (but simple) case- statement, where you have to do lots of small things for a lot of different cases, it's OK to have a longer function. > > > However, if you have a complex function, and you suspect that a less- than-gifted first-year high-school student might not even understand what the function is all about, you should adhere to the maximum limits all the more closely. Use helper functions with descriptive names (you can ask the compiler to in-line them if you think it's performance-critical, and it will probably do a better job of it that you would have done). > > > Another measure of the function is the number of local variables. They shouldn't exceed 5-10, or you're doing something wrong. Re-think the function, and split it into smaller pieces. A human brain can generally easily keep track of about 7 different things, anything more and it gets confused. You know you're brilliant, but maybe you'd like to understand what you did 2 weeks from now. > > >
You should **almost always** create a new method when you're repeating code. It removes the repeated code, and it's self-documenting if you choose a good name. The same single line of code occurring in two places isn't too short to make a method out of unless the line is trivial and its intent is screamingly obvious.
1,749,462
I'm trying to find out if there is a consensus on when we should create a new method in our code. For example should we only create a new method/function if we are going to be using the code again (therefore we obviously cut down on the lines used) or is it common to do it just to avoid code clutter as well. I've been programming for a long time now but I've really just gone in and decided in rather random fashion. Are there any design patterns or books that deal with this? A related question would be if we should only set parameters in an object using getter and setter methods. This would create a lot more code obviously but would make things more manageable? Any consensus on that?
2009/11/17
[ "https://Stackoverflow.com/questions/1749462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/123349/" ]
I think that this is a very subjective question with no real answer. Different situations demand different solutions, and there will not be a single recipe of "when to create a new method". It depends.
I once heard someone say that if a method/function becomes too big to fit on a single screen without scrolling then it should be refactored down into seperate methods. It doesn't always hold true and there is no value in refractoring for refactorings sake, but does often help to keep things in perspective.
7,998
We have a [social](https://rpg.stackexchange.com/questions/tagged/social "show questions tagged 'social'") tag, which is actually one of our top tags. That said, it's entirely an umbrella tag for our tags describing specific kinds of questions that have to do with social dynamics. We have [group-dynamics](https://rpg.stackexchange.com/questions/tagged/group-dynamics "show questions tagged 'group-dynamics'") [problem-player](https://rpg.stackexchange.com/questions/tagged/problem-player "show questions tagged 'problem-player'") [gm-techniques](https://rpg.stackexchange.com/questions/tagged/gm-techniques "show questions tagged 'gm-techniques'") etc. It seems to me that any question *just* tagged social and to which a more specific tag didn't apply would garner close votes as 'too broad' quite quickly. While there is certainly some value in being able to favorite all those tags at once rather than doing so individually, that relies on people consistently tagging questions with the social tag, which is a waste of tag space and also conforms not only this site's particular definition of meta-tagging but actually the network-wide one as well. Thus it seems to me the tag should be disused. Is there a reason we shouldn't burn it?
2018/05/21
[ "https://rpg.meta.stackexchange.com/questions/7998", "https://rpg.meta.stackexchange.com", "https://rpg.meta.stackexchange.com/users/14848/" ]
It passes all the tests for a tag and it's not causing any problems. Of the 145 [social](https://rpg.stackexchange.com/questions/tagged/social "show questions tagged 'social'") questions, [69 of them (almost half) aren't tagged](https://rpg.stackexchange.com/questions/tagged/social+-problem-players+-problem-gm+-group-dynamics+-gm-techniques) with any of group-dynamics, problem-players/gm, or gm-techniques. Nearly all of those are open. There doesn't seem to be a problem here. Is there a reason we *should* burn it? Tags are in when someone feels like adding one, and removed only once they demonstrably are causing problems by existing or have no reason to exist. That doesn't seem to be the case here.
I feel like the tag is not particularly useful or consistently used, but it’s also not sticking up as a nail that seems to need to be hammered down. I can’t think of any damaging snags it’s causing; the only problem it seems to have is inconsistent use, which isn’t much of a problem.
7,998
We have a [social](https://rpg.stackexchange.com/questions/tagged/social "show questions tagged 'social'") tag, which is actually one of our top tags. That said, it's entirely an umbrella tag for our tags describing specific kinds of questions that have to do with social dynamics. We have [group-dynamics](https://rpg.stackexchange.com/questions/tagged/group-dynamics "show questions tagged 'group-dynamics'") [problem-player](https://rpg.stackexchange.com/questions/tagged/problem-player "show questions tagged 'problem-player'") [gm-techniques](https://rpg.stackexchange.com/questions/tagged/gm-techniques "show questions tagged 'gm-techniques'") etc. It seems to me that any question *just* tagged social and to which a more specific tag didn't apply would garner close votes as 'too broad' quite quickly. While there is certainly some value in being able to favorite all those tags at once rather than doing so individually, that relies on people consistently tagging questions with the social tag, which is a waste of tag space and also conforms not only this site's particular definition of meta-tagging but actually the network-wide one as well. Thus it seems to me the tag should be disused. Is there a reason we shouldn't burn it?
2018/05/21
[ "https://rpg.meta.stackexchange.com/questions/7998", "https://rpg.meta.stackexchange.com", "https://rpg.meta.stackexchange.com/users/14848/" ]
It passes all the tests for a tag and it's not causing any problems. Of the 145 [social](https://rpg.stackexchange.com/questions/tagged/social "show questions tagged 'social'") questions, [69 of them (almost half) aren't tagged](https://rpg.stackexchange.com/questions/tagged/social+-problem-players+-problem-gm+-group-dynamics+-gm-techniques) with any of group-dynamics, problem-players/gm, or gm-techniques. Nearly all of those are open. There doesn't seem to be a problem here. Is there a reason we *should* burn it? Tags are in when someone feels like adding one, and removed only once they demonstrably are causing problems by existing or have no reason to exist. That doesn't seem to be the case here.
### There is no need to fix what isn't broken. What problem are you trying to solve? The question as presented does not move me to believe that there is a problem. > > [It takes up space](https://rpg.meta.stackexchange.com/questions/7998/do-we-need-the-social-tag-anymore/8001#comment25502_7999) on questions that would really benefit from a more > specific tag > > > What? There is a limit of five tags and they all occupy the same row/text line. No space management problem is in evidence. That people often may use tags badly (I have done so myself) is not something a policy or a burnination can fix. We have a sizable body of community-moderation-motivated members who can clear off, discuss in comments, or change tags as needed to get the tags to match the question in instances where tag usage seems a bad fit for the topic/question. Last point: not everyone is a native English speaker, so now and again a tag selection may be an honest error in that aspect.
7,998
We have a [social](https://rpg.stackexchange.com/questions/tagged/social "show questions tagged 'social'") tag, which is actually one of our top tags. That said, it's entirely an umbrella tag for our tags describing specific kinds of questions that have to do with social dynamics. We have [group-dynamics](https://rpg.stackexchange.com/questions/tagged/group-dynamics "show questions tagged 'group-dynamics'") [problem-player](https://rpg.stackexchange.com/questions/tagged/problem-player "show questions tagged 'problem-player'") [gm-techniques](https://rpg.stackexchange.com/questions/tagged/gm-techniques "show questions tagged 'gm-techniques'") etc. It seems to me that any question *just* tagged social and to which a more specific tag didn't apply would garner close votes as 'too broad' quite quickly. While there is certainly some value in being able to favorite all those tags at once rather than doing so individually, that relies on people consistently tagging questions with the social tag, which is a waste of tag space and also conforms not only this site's particular definition of meta-tagging but actually the network-wide one as well. Thus it seems to me the tag should be disused. Is there a reason we shouldn't burn it?
2018/05/21
[ "https://rpg.meta.stackexchange.com/questions/7998", "https://rpg.meta.stackexchange.com", "https://rpg.meta.stackexchange.com/users/14848/" ]
I feel like the tag is not particularly useful or consistently used, but it’s also not sticking up as a nail that seems to need to be hammered down. I can’t think of any damaging snags it’s causing; the only problem it seems to have is inconsistent use, which isn’t much of a problem.
### There is no need to fix what isn't broken. What problem are you trying to solve? The question as presented does not move me to believe that there is a problem. > > [It takes up space](https://rpg.meta.stackexchange.com/questions/7998/do-we-need-the-social-tag-anymore/8001#comment25502_7999) on questions that would really benefit from a more > specific tag > > > What? There is a limit of five tags and they all occupy the same row/text line. No space management problem is in evidence. That people often may use tags badly (I have done so myself) is not something a policy or a burnination can fix. We have a sizable body of community-moderation-motivated members who can clear off, discuss in comments, or change tags as needed to get the tags to match the question in instances where tag usage seems a bad fit for the topic/question. Last point: not everyone is a native English speaker, so now and again a tag selection may be an honest error in that aspect.
10,546,141
I have a great deal of RDF data to be inferred, and I need to develop my own inference rules. My question is that whether there is any method to do this? Is it ok to use Jena rule and SPARQL to do so? Do the Jena rule and sparql query have to load all data into memory? Wish to get answers soon and thanks in advance!
2012/05/11
[ "https://Stackoverflow.com/questions/10546141", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1032294/" ]
The Jena [inference engines](http://jena.apache.org/documentation/inference/index.html) definitely work best when all of the data is loaded into memory. This is because, while it is possible to connect an inference engine to any Jena `Model`, including a persistent store such as [TDB](http://jena.apache.org/documentation/tdb/index.html), the inference algorithms make *many* calls to check the presence or absence of a particular triple in the model. This just gets inefficient when that check requires hitting disk. If you have relatively straightforward inference requirements, you may be able to express your entailments via carefully constructed SPARQL queries, in which case you can probably get away with querying a TDB or SDB store directly. It just depends on the complexity of the query. If the contents of your triple store are reasonably stable, or can be partitioned into a stable, persistent set and a dynamic in-memory set, then a strategy is to pre-compute the inference closure and store that in a persistent store. The classic space/time trade-off, in other words. There are two ways to do this: first, use the inference engine with an in-memory store using as much heap space as you can give it; second use Jena's [RIOT infer command-line script](http://jena.apache.org/documentation/io/riot.html#inference). For large-scale RDF inferencing, an alternative to the open-source Jena platform is the commercial product [Stardog](http://stardog.com/) from Clark & Parsia (which I believe has a Jena model connector, but I haven't used it myself).
In addition to what Ian said and depending on your rules, if materializing all inferred triples is feasible in a streaming fashion in your case, have a look at RIOT's infer source code and, if you need more than RDFS, think how you might add support for a subset of OWL. You find the source code here: * <https://svn.apache.org/repos/asf/jena/trunk/jena-arq/src/main/java/riotcmd/infer.java> * <https://svn.apache.org/repos/asf/jena/trunk/jena-arq/src/main/java/org/openjena/riot/pipeline/inf/InferenceSetupRDFS.java> * <https://svn.apache.org/repos/asf/jena/trunk/jena-arq/src/main/java/org/openjena/riot/pipeline/inf/InferenceProcessorRDFS.java> The approach of RIOT's infer command can also be used with MapReduce, you can find an example here: * <https://github.com/castagna/tdbloader4/blob/f5363fa49d16a04a362898c1a5084ade620ee81b/src/main/java/org/apache/jena/tdbloader4/InferDriver.java>
6,331,287
**Question:** Can system internal process or module be described as an actor that performs certain functionality against system itself in Use Case diagram? **Added explanation for the question:** We are documenting system functionalities with Use Cases, and then presenting it to customers. Some of the system functionality includes: * Auditing (on entity field change events). * User notification to inbox (by custom rules defined on system objects). * SSIS packages run automatically (updating object attributes). Should we treat system as an actor (system process) that performs these functions or should we declare these functions in separate document section under ‘Special system functions”?
2011/06/13
[ "https://Stackoverflow.com/questions/6331287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/209611/" ]
Generally no. In principle, actors live outside the system boundary while Use Cases (and the system(s) that realise them) live inside. However, more useful is to ask why you have this scenario. Perhaps you can explain further?
Maybe. For example a cron job which performs a nightly summarisation function can be shown as an actor. As with all UML diagrams, if the diagram is useful to the people that are using it, it's OK.
6,331,287
**Question:** Can system internal process or module be described as an actor that performs certain functionality against system itself in Use Case diagram? **Added explanation for the question:** We are documenting system functionalities with Use Cases, and then presenting it to customers. Some of the system functionality includes: * Auditing (on entity field change events). * User notification to inbox (by custom rules defined on system objects). * SSIS packages run automatically (updating object attributes). Should we treat system as an actor (system process) that performs these functions or should we declare these functions in separate document section under ‘Special system functions”?
2011/06/13
[ "https://Stackoverflow.com/questions/6331287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/209611/" ]
Generally no. In principle, actors live outside the system boundary while Use Cases (and the system(s) that realise them) live inside. However, more useful is to ask why you have this scenario. Perhaps you can explain further?
UML is all about communicating a design decision to those that need to know is clear and concise manner. If it is advantageous to the clarity of this aim then using an actor to represent a sub part of the design then do it. So long as you make it very clear that this is what you are communicating and that both are part of the same model. As an example: I have experience in designing and coding embedded systems where blocks of code might be running on different processors/controllers or even in a different enclosure. But they are all part of the same application and therefore design model. Another way of looking at it on say, a windows machine, is an application that relies on a windows service for it's normal operation. The service might be an actor to the GUI application and the application might be an actor to the service. @sfinnie is right in principle, it is sometimes useful to communicate things outside of this rule. After all, you'll never have to compile your UML, just explain it ;) .
20,204
This post contains a euphemism. Unfortunately, the gentlemen that made the rules made it so you need reputation to comment and ask not to edit an answer to reply to the author, so I have to ask a separate question. I tried to find if you can run Minecraft: Bedrock Edition betas in GNU and found [this](https://askubuntu.com/questions/1379067/is-there-any-way-i-can-play-minecraft-bedrock-edition-for-free-in-ubuntu). The accepted answer was: > > Tl;dr: No, you can't. > > > Here's the real answer: > > > You have two issues: > > > 1. Minecraft Java Edition [can be downloaded for Linux](https://www.minecraft.net/en-us/download). After you pay for the game, of course. Minecraft Bedrock Edition (a.k.a. Minecraft: Windows 10 Edition) won't work on Ubuntu (or any other Linux distro, for that matter). It is distributed via [the Microsoft/Xbox store](https://www.xbox.com/en-us/games/store/Minecraft-for-Windows/9NBLGGH2JHXJ). Not a downloadable `.exe`. So you can't download that version for Ubuntu. [Some people](https://www.reddit.com/r/linux_gaming/comments/qemtk8/i_got_minecraft_bedrock_running_with_wine_dxvk_on/) (Reddit link) have gotten it working on Linux. [Here](https://mcpelauncher.readthedocs.io/en/latest/getting_started.html) is another one. So it is technically possible, just hard. > 2. It isn't free. Neither Minecraft: Java Edition nor Minecraft: Bedrock Edition are free (on Windows, Mac, or Linux). So you have to pay. > > > If you want an easy way, I'd just create a Windows 10 VM using [VirtualBox](https://www.virtualbox.org/), or just play Minecraft: Java Edition. > > > I don't understand this answer. What do you have to pay for? Neither Bedrock release nor Bedrock betas are free, and I don't think any of them is distributed as .exe, but release is paid, and betas are foc. Does that mean that you have to pay more for release?
2023/01/02
[ "https://meta.askubuntu.com/questions/20204", "https://meta.askubuntu.com", "https://meta.askubuntu.com/users/1110847/" ]
(I'm cocomac - the user that posted that) Regarding the requirement to have more reputation to comment, see the post on MSE (the discussion site for the Stack Exchange network of sites) called [Why do I need 50 reputation to comment? What can I do instead?](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). I'm somewhat confused by exactly what you're asking, but I'll do my best to clarify. Regarding the rest of your question, I mean the game costs money for the game. I.e., it isn't free. That's what costs money - the game. I'm not sure that you're statement of "the betas are foc" is correct. As far as I'm aware, beta/preview versions of Minecraft aren't free and require you to own the game. If I misunderstood and you you mean the Demo version of the game, I'm not sure if you can run that on Ubuntu (that would be a separate question, though).
Seems like a simple misunderstanding. Microsoft (Mojang) charges for player accounts that use the client launcher (including single-player mode). However, multiplayer servers --like the Minecraft Java Server-- are distributed and licensed for use free of charge. Client = Proprietary/Paid. Server = Proprietary/Free-of-charge. In this case, A assumes you are treating both Client and Server as a single system (paid), while B assumes server alone (free). A + B = misunderstanding.
205,636
Is there a word that means "connected to a conversation, being able to hear, read or any similar phrase" for "video conversation, chat, phone conversation"? I am trying to think and I can't find a very idiomatic way of saying this. Could you also provide with an example sentence, or a few of them? "Be on the line" can be used for phone conversation, but what about other form of communication like radio, video chat, etc? For example: > > Don't talk bad about him, he's still \_\_\_. > > >
2019/04/16
[ "https://ell.stackexchange.com/questions/205636", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/91596/" ]
I think there is no best way to convey this meaning. You can use: > > * ... he's still **around** > * ... he's still **close** > * ... he's still **listening** > * ... he's still **in the listening range** > * ... he can still **hear us / read the messages / in front of the screen** > * ... he's still **with us** (this has the second meaning of "he's still alive") > > >
At work where we constantly use online conferencing services we often say > > * ... he's still **dialed in** > * ... he's still **in the call** > * ... he's still **online** > * ... he's still **joined** > * ... he's still **there, but on mute.** > > > Last one, which is particular (at least for me) to written language online forums, where people read along without posting: > > > * ... he's still **lurking** (Noun: **a lurker**) > > > Disclaimer: Most of them derived from some of the often heard computer announcements that are part of our conferencing solution, where you are regularly given instructions on how to **dial in** or are given audio notifications like *Peter has joined the meeting.* Language background: I'm German, and our conferencing mostly happens with non-native English-speaking colleagues from Spain, Germany, China and a lot of native English speakers from India.
3,158,664
how can i develop an arabic iphone application?it is included in all iphone sdk?and how to use it? thks
2010/07/01
[ "https://Stackoverflow.com/questions/3158664", "https://Stackoverflow.com", "https://Stackoverflow.com/users/355641/" ]
If you feel like that, don't start with UML. Start with the code itself. Moving from requirements to design is always an intuitive leap, which gets much easier with experience (including the experience of making major mistakes, alas!). There are any number of books that can help you progress faster, but nothing beats actual coding experience to drive your design skills. Skip the class diagrams for now, and focus on the code: class diagrams are just a way of abstracting away details in order to communicate the overall shape of your program, sometimes to yourself! If you're unsure of the details, don't attempt to hide from them... I'd recommend Craig Larman's [Applying UML and Patterns](https://rads.stackoverflow.com/amzn/click/com/0137488807) as a starting point addressing most of the software design lifecycle, from a fairly practical and integrated perspective. There are plenty of other books out there: check SO for questions on e.g. [general programming books](https://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read) and [OO books](https://stackoverflow.com/questions/2064154/book-about-oo-in-practice).
UML without context might really be hard to use or benefit from. If you are starting creating projects and you do not want to just "hack it", it is a good idea to choose a good methodology for your project. Once you find a suitable methodology, follow it and it will give you pointers what needs to be done, for what reason and sometimes even how to get it done. For example if you had chosen Unified Process, which is free methodology based on Rational Unified Process done by authors of that methodology and UML, you would be guided how to use UML diagrams to support your development process. I recommend reading this book for this purpose - <http://www.clearviewtraining.com/books/uml-2-and-the-unified-process>
3,158,664
how can i develop an arabic iphone application?it is included in all iphone sdk?and how to use it? thks
2010/07/01
[ "https://Stackoverflow.com/questions/3158664", "https://Stackoverflow.com", "https://Stackoverflow.com/users/355641/" ]
If you feel like that, don't start with UML. Start with the code itself. Moving from requirements to design is always an intuitive leap, which gets much easier with experience (including the experience of making major mistakes, alas!). There are any number of books that can help you progress faster, but nothing beats actual coding experience to drive your design skills. Skip the class diagrams for now, and focus on the code: class diagrams are just a way of abstracting away details in order to communicate the overall shape of your program, sometimes to yourself! If you're unsure of the details, don't attempt to hide from them... I'd recommend Craig Larman's [Applying UML and Patterns](https://rads.stackoverflow.com/amzn/click/com/0137488807) as a starting point addressing most of the software design lifecycle, from a fairly practical and integrated perspective. There are plenty of other books out there: check SO for questions on e.g. [general programming books](https://stackoverflow.com/questions/1711/what-is-the-single-most-influential-book-every-programmer-should-read) and [OO books](https://stackoverflow.com/questions/2064154/book-about-oo-in-practice).
If you are having a problem with identifying the real classes, then do "Noun analysis" - this will give you a hint on what are the classes going to be. Following that do "verb analysis" which is how the classes interact and relate - this will help you on associations and dependencies between classes and sub systems. Refer to OOAD design and related articles from uncle bob's site <http://www.objectmentor.com/omSolutions/oops_what.html>
6,277
We have a custom workflow in a SharePoint 2007 web-application and would like to use the same workflow in another web-application (SharePoint 2007). How can we achieve this? do we have any migration tool?
2010/10/14
[ "https://sharepoint.stackexchange.com/questions/6277", "https://sharepoint.stackexchange.com", "https://sharepoint.stackexchange.com/users/1232/" ]
If this is an SPD Workflow, you can try MetaVis Migrator. It will move workflows between site colelctions.
The easiest approach is to package your source code binaries to WSP. You can use [WSP builder](http://wspbuilder.codeplex.com/) for SharePoint 2007 and deploy to any site web-application you need.
6,277
We have a custom workflow in a SharePoint 2007 web-application and would like to use the same workflow in another web-application (SharePoint 2007). How can we achieve this? do we have any migration tool?
2010/10/14
[ "https://sharepoint.stackexchange.com/questions/6277", "https://sharepoint.stackexchange.com", "https://sharepoint.stackexchange.com/users/1232/" ]
If this is an SPD Workflow, you can try MetaVis Migrator. It will move workflows between site colelctions.
If the workflow was created via SharePoint Designer, I don't know of any way to "migrate" or reuse it without either breaking it in some way, or paying for a 3rd-party tool. I've tried free tools that help fix the GUIDs, but they don't seem to fix the workflows reliably. I've ended up having to recreate those workflows from scratch. The best thing to do is package it as a wsp as Toni says above. Another great tool is Nintex - it's all WYSIWYG in-browser, and you can save workflows as templates & re-use them anywhere (though it's not cheap).
8,021
My bed is right up against a window. I prefer to lean against something and sit in bed while working. The most convenient place where I can lean against is the window, but I'm afraid that I will put too much stress on it and it will become dangerous. Is there any way I could fashion something that would put less stress on the window?
2015/08/21
[ "https://lifehacks.stackexchange.com/questions/8021", "https://lifehacks.stackexchange.com", "https://lifehacks.stackexchange.com/users/8054/" ]
You asked whether it was possible to "fashion something that would put less stress on the window". You could get a board that is wider than the window, and at least 2/3 as tall as your back, and stand it up on one edge with both ends safely\* leaning on the window frame. Then you lean against that instead of leaning against the glass. [![enter image description here](https://i.stack.imgur.com/xSOHT.png)](https://i.stack.imgur.com/xSOHT.png) Depending on how wide the window frame is, a wooden cutting board may do the trick. \*I'm not sure how safe this really is, but it's probably a whole lot safer than leaning against a pane of glass!
**TL;DR;** "*Generally*" speaking, it's "*probably*" ok, but in terms of your safety my official response is "it's impossible to tell without a *lot* more info". --- It being "safe" depends on: * Window type - double or single glazed, or more * Window structure - wooden, PVC, metal * Window age and condition - is it strong, new, or old and deteriorated * How the window is fitted - bars/supports from the window structure running into the walls, or just fasteners, and how strong they are (or are *not*) * How much of you is pressing against the window or window frame * Which part of the window you lean on - the glass or frame or combination, or if partly the window sill * How long you lean on it for * Do you lean back hard, or gently * Probably others Also relevant in terms of safety, is how far you have to fall if something did happen. *It's never going to be good going through a window*, but there is a difference in "risk" between falling 10 or 15 feet down from a house height versus a high rise and 50+ feet down. Neither is good, but there is a difference. If the window is stable and not old and deteriorated, and fastened well, you are *likely* to be safe. *However* without physical evaluation it's hard to say, because of all the above mentioned points. Also, windows are not designed to be leaned on, certainly not over long periods as an ongoing support. Fashioning something to make it safer would likely entail putting something across the frame on one side and the frame on the other, and leaning on that. As then your weight is spread across the frame, rather than pressing on one single point, and certainly not on the glass itself. But this only reduces potential problems from not leaning directly on glass, and if the frame itself is weak then this will not be any safer. In conclusion ------------- It's hard to say over the internet how strong a structure is without knowing anything about it, or how old it is (etc - as per above list). Deterioration is caused by various factors, which can vary or change depending on age, original build quality, and even things like your location - such as the weather (if you get lots of snow for example and you have wooden windows and don't maintain them regularly - etc). Personally, I'd recommend avoiding it if you can. Shuffle your room around so you are leaning on a wall, or fasten a board to the wall below the window which comes up to the height you are leaning (which may not be ideal is it will likely cover the window and you lose light and window access etc).
8,021
My bed is right up against a window. I prefer to lean against something and sit in bed while working. The most convenient place where I can lean against is the window, but I'm afraid that I will put too much stress on it and it will become dangerous. Is there any way I could fashion something that would put less stress on the window?
2015/08/21
[ "https://lifehacks.stackexchange.com/questions/8021", "https://lifehacks.stackexchange.com", "https://lifehacks.stackexchange.com/users/8054/" ]
The first level of added safety would be to fit protective cling film onto the glass (both sides even), such as used for anti-hijack purposes on cars. Any type of glass film will help but some are purpose made to reduce danger if the glass breaks. Adding a sheet of Lexan/polycarbonate/Perspex in front might be a more durable option and an easier sell to other parties, depending on the size you may need a moderately thick sheet, not the cheapest option. Replacing glass with suitable laminated or toughened safety glass is also a option for even more money.
**TL;DR;** "*Generally*" speaking, it's "*probably*" ok, but in terms of your safety my official response is "it's impossible to tell without a *lot* more info". --- It being "safe" depends on: * Window type - double or single glazed, or more * Window structure - wooden, PVC, metal * Window age and condition - is it strong, new, or old and deteriorated * How the window is fitted - bars/supports from the window structure running into the walls, or just fasteners, and how strong they are (or are *not*) * How much of you is pressing against the window or window frame * Which part of the window you lean on - the glass or frame or combination, or if partly the window sill * How long you lean on it for * Do you lean back hard, or gently * Probably others Also relevant in terms of safety, is how far you have to fall if something did happen. *It's never going to be good going through a window*, but there is a difference in "risk" between falling 10 or 15 feet down from a house height versus a high rise and 50+ feet down. Neither is good, but there is a difference. If the window is stable and not old and deteriorated, and fastened well, you are *likely* to be safe. *However* without physical evaluation it's hard to say, because of all the above mentioned points. Also, windows are not designed to be leaned on, certainly not over long periods as an ongoing support. Fashioning something to make it safer would likely entail putting something across the frame on one side and the frame on the other, and leaning on that. As then your weight is spread across the frame, rather than pressing on one single point, and certainly not on the glass itself. But this only reduces potential problems from not leaning directly on glass, and if the frame itself is weak then this will not be any safer. In conclusion ------------- It's hard to say over the internet how strong a structure is without knowing anything about it, or how old it is (etc - as per above list). Deterioration is caused by various factors, which can vary or change depending on age, original build quality, and even things like your location - such as the weather (if you get lots of snow for example and you have wooden windows and don't maintain them regularly - etc). Personally, I'd recommend avoiding it if you can. Shuffle your room around so you are leaning on a wall, or fasten a board to the wall below the window which comes up to the height you are leaning (which may not be ideal is it will likely cover the window and you lose light and window access etc).
8,021
My bed is right up against a window. I prefer to lean against something and sit in bed while working. The most convenient place where I can lean against is the window, but I'm afraid that I will put too much stress on it and it will become dangerous. Is there any way I could fashion something that would put less stress on the window?
2015/08/21
[ "https://lifehacks.stackexchange.com/questions/8021", "https://lifehacks.stackexchange.com", "https://lifehacks.stackexchange.com/users/8054/" ]
You asked whether it was possible to "fashion something that would put less stress on the window". You could get a board that is wider than the window, and at least 2/3 as tall as your back, and stand it up on one edge with both ends safely\* leaning on the window frame. Then you lean against that instead of leaning against the glass. [![enter image description here](https://i.stack.imgur.com/xSOHT.png)](https://i.stack.imgur.com/xSOHT.png) Depending on how wide the window frame is, a wooden cutting board may do the trick. \*I'm not sure how safe this really is, but it's probably a whole lot safer than leaning against a pane of glass!
The first level of added safety would be to fit protective cling film onto the glass (both sides even), such as used for anti-hijack purposes on cars. Any type of glass film will help but some are purpose made to reduce danger if the glass breaks. Adding a sheet of Lexan/polycarbonate/Perspex in front might be a more durable option and an easier sell to other parties, depending on the size you may need a moderately thick sheet, not the cheapest option. Replacing glass with suitable laminated or toughened safety glass is also a option for even more money.
274,249
What is the use of a "Group Input" directly in the Node tree of the material? Note, not within a nodes group It can be easily added to the material nodes tree, but I don't understand its usefulness. Is there any particular function? If so, which one? [![enter image description here](https://i.stack.imgur.com/K9exA.png)](https://i.stack.imgur.com/K9exA.png) Note: I know what a group inputs node in the node group is for. So my question is specific what it is for in a node\_tree of the material. If anyone is 100% sure that the "Group input" node in the material node\_tree is useless, please explain why
2022/09/10
[ "https://blender.stackexchange.com/questions/274249", "https://blender.stackexchange.com", "https://blender.stackexchange.com/users/65925/" ]
The reason is simply that there's a bug with the poll function for the GroupInput and the GroupOutput (perhaps because those are now being yielded by a generator). As this is something that is not checked in the typical tests, and most developers aren't looking for these kind of defects, it's one of those little strange things that finds its way into the final release. It's not a priority bug and probably nobody reported it, so no developer has picked it and solved it.
This is super-quirky, but if make a custom group out of a single node, inputs and outputs are automatically connected, but you can control the order of inputs using the *Group Input* node - for example, if you want the *Scale* and *Detail* of *Noise Texture* to be last: [![](https://i.stack.imgur.com/pUA6m.gif)](https://i.stack.imgur.com/pUA6m.gif) Notice how the types of sockets don't matter for this. Same for *Group Output*: [![](https://i.stack.imgur.com/TjVa9.gif)](https://i.stack.imgur.com/TjVa9.gif) --- When you convert multiply nodes to a group, you can use *Group Input* and *Group Output* to make the input/output connections even before grouping, which is very helpful, even though you can't modify the types and names of *Group Input*/*Group Output* sockets: [![](https://i.stack.imgur.com/Cvzu7.gif)](https://i.stack.imgur.com/Cvzu7.gif)
151,743
The [black hole question](https://worldbuilding.stackexchange.com/questions/151626/a-planet-illuminated-by-a-black-hole) reminded me of an idea I wanted to implement at some point in a space campaign, but didn't go forward with because I was unsure whether it's merely statistically very implausible, or outright physically impossible: Can a 'rogue' planet (in the sense of not orbiting a specific star in a close vicinity) be on such an orbit around the galactic centre that the amount of illumination it gets is equivalent of that gained in the Goldilocks zone? That is, is there such an orbit for which the total illumination provided by the densely packed stellar and similar objects is similar to that provided by our sun at 1a.u. When I say galactic centre, I mean the central area of a galaxy, one hosting a denser selection of stars (and whatever other 'shiny' objects, including feeding supermassive black holes, nebulae or the like) than the rim. If it's doable in the Milky Way with its central area, great; if it's doable in some other galaxy we know to really exist, that's OK too; if it's only possible with a galaxy type we're not sure is plausible according to science, that's a so-so option but I'd still like to be informed about it. I am fully aware that it'll have to lack seasons, and that its velocity will be odd. It's okay if the probability of such an arrangement naturally approaches zero; in fact even if it needs to be a result of Sufficiently Advanced civilisation meddling, that's okay, so long as such an arrangement can keep on existing with no reliance on superscience **once it's in place**.
2019/07/27
[ "https://worldbuilding.stackexchange.com/questions/151743", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/59676/" ]
You have presented your story "factually", but I can't help thinking about it "metaphorically"... You are basically dealing with our real world but from a higher understanding. To the gods, it is all though-forms, ultimate truths and unfounded opinions; with no real threat to your immortality. You understand the underlying purpose of all things. From the mortals point of view, the though-forms are real, truth and opinion are indistinguishable from each other and threat of oblivion is a constant companion. What will happen? Just as in the real world, the mortal active view overwhelms the higher passive view. The blind always rule over the sublime. So just as in the real world, you will get evolution of both facts and opinions, propagation and/or extinctions of individual threads without concern for their fundamental true-ness. Clear and perfect systems will become polluted by modifications engineered by the ignorant in pursuit of irrelevant desires. The whole system will slowly wind down into the crapper. Yet from this turmoil, one of the mortal gene lines will climb upwards, slowly coming to understand the wisdom inherent in what remains of the whole. Eventually, they will come to see it all as the gods do... and then the whole cycle starts again. The point that I am failing to make is that with evolution and extinction so inherent in the process, each generation of gods will find a totality of truth which is distinct from that which spawned its creators. Most of its creator's facts will die out, consumed or wasted by their mortal protege during its own climb to godhood. Similarly, many opinions, held and valued by this mortal protege will escalate to the status of truth as the protege gain higher and higher authority over creation. If you want a complete understanding of the answer which I am offering, wait until you have obtained some mastery of reality, then sire/bear some children. Watch them climb faultfully out of their ignorance till they become ready to sire or bear. In the process, you will see them create a new reality which obeys different truths than yours and many of your truths will become known as outdated opinions. Each generations owns the world, but it is a different world for each new set of hands which owns it. I know that doesn't handle your question's micro-scale of one truth/opinion entity consuming another, and it doesn't attempt to see the evolving reality from the point of view of these entities as your question does. I just hope that by associating your fictional world to the real world godhood climb that we are all engaged in, you can see where your answers are hidden... In the real world experiences of the entities consuming and those of entities being consumed, without any regard for the fundamental true-ness or false-ness that underlies their beings.
You want **Plato's Allegory of the Cave**. <https://faculty.washington.edu/smcohen/320/cave.htm> > > In the allegory, Plato likens people untutored in the Theory of Forms > to prisoners chained in a cave, unable to turn their heads. All they > can see is the wall of the cave. Behind them burns a fire. Between > the fire and the prisoners there is a parapet, along which puppeteers > can walk. The puppeteers, who are behind the prisoners, hold up > puppets that cast shadows on the wall of the cave. The prisoners are > unable to see these puppets, the real objects, that pass behind them. > What the prisoners see and hear are shadows and echoes cast by objects > that they do not see. > > > The fact objects are perceived by the opinion people just as the Platonic Forms are truth; both are perceived by us more or less according to circumstance, education, prejudice, ability and so on. We may misperceive. They might catch on the virtually the whole thing. Opinion people are limited by their biological and metal wetware. So too the opinion people in your world. Plato is not too tough to read. <http://classics.mit.edu/Plato/republic.8.vii.html> Go thru a couple of times, see what other people say about this idea, and then steal the whole premise for your story. Plato is eminently copyable and you will not be the first.
151,743
The [black hole question](https://worldbuilding.stackexchange.com/questions/151626/a-planet-illuminated-by-a-black-hole) reminded me of an idea I wanted to implement at some point in a space campaign, but didn't go forward with because I was unsure whether it's merely statistically very implausible, or outright physically impossible: Can a 'rogue' planet (in the sense of not orbiting a specific star in a close vicinity) be on such an orbit around the galactic centre that the amount of illumination it gets is equivalent of that gained in the Goldilocks zone? That is, is there such an orbit for which the total illumination provided by the densely packed stellar and similar objects is similar to that provided by our sun at 1a.u. When I say galactic centre, I mean the central area of a galaxy, one hosting a denser selection of stars (and whatever other 'shiny' objects, including feeding supermassive black holes, nebulae or the like) than the rim. If it's doable in the Milky Way with its central area, great; if it's doable in some other galaxy we know to really exist, that's OK too; if it's only possible with a galaxy type we're not sure is plausible according to science, that's a so-so option but I'd still like to be informed about it. I am fully aware that it'll have to lack seasons, and that its velocity will be odd. It's okay if the probability of such an arrangement naturally approaches zero; in fact even if it needs to be a result of Sufficiently Advanced civilisation meddling, that's okay, so long as such an arrangement can keep on existing with no reliance on superscience **once it's in place**.
2019/07/27
[ "https://worldbuilding.stackexchange.com/questions/151743", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/59676/" ]
You have presented your story "factually", but I can't help thinking about it "metaphorically"... You are basically dealing with our real world but from a higher understanding. To the gods, it is all though-forms, ultimate truths and unfounded opinions; with no real threat to your immortality. You understand the underlying purpose of all things. From the mortals point of view, the though-forms are real, truth and opinion are indistinguishable from each other and threat of oblivion is a constant companion. What will happen? Just as in the real world, the mortal active view overwhelms the higher passive view. The blind always rule over the sublime. So just as in the real world, you will get evolution of both facts and opinions, propagation and/or extinctions of individual threads without concern for their fundamental true-ness. Clear and perfect systems will become polluted by modifications engineered by the ignorant in pursuit of irrelevant desires. The whole system will slowly wind down into the crapper. Yet from this turmoil, one of the mortal gene lines will climb upwards, slowly coming to understand the wisdom inherent in what remains of the whole. Eventually, they will come to see it all as the gods do... and then the whole cycle starts again. The point that I am failing to make is that with evolution and extinction so inherent in the process, each generation of gods will find a totality of truth which is distinct from that which spawned its creators. Most of its creator's facts will die out, consumed or wasted by their mortal protege during its own climb to godhood. Similarly, many opinions, held and valued by this mortal protege will escalate to the status of truth as the protege gain higher and higher authority over creation. If you want a complete understanding of the answer which I am offering, wait until you have obtained some mastery of reality, then sire/bear some children. Watch them climb faultfully out of their ignorance till they become ready to sire or bear. In the process, you will see them create a new reality which obeys different truths than yours and many of your truths will become known as outdated opinions. Each generations owns the world, but it is a different world for each new set of hands which owns it. I know that doesn't handle your question's micro-scale of one truth/opinion entity consuming another, and it doesn't attempt to see the evolving reality from the point of view of these entities as your question does. I just hope that by associating your fictional world to the real world godhood climb that we are all engaged in, you can see where your answers are hidden... In the real world experiences of the entities consuming and those of entities being consumed, without any regard for the fundamental true-ness or false-ness that underlies their beings.
The One True Fact is the answer to all of your questions. If your world is similar to ours then there is only One True Fact. Everything else that is "true" is merely emergent behavior when the one truth is taken to enough iterations (time) and with the proper seed (initial conditions). Our understanding of physics today is that the world is composed of a handful of particle types (quarks) and a couple forces. We may one day discover that all of these things are actually just one thing and that all events are just the result of the Grand Unifying Equation. Just like a view of the tree of life on Earth has many branches but narrows down into fewer trunks, the tree of "truths" on your world similarly evolves from the One True Fact. Just like the extinction of a species opens a niche for another species to take over on Earth, the learning of a "fact" opens up the Aethernet for another seed to emerge into a result of the One True Fact. A mortal mind is incapable of holding all the data necessary to truly comprehend even one idea completely, so instead they encapsulate it into a "fact" or "opinion" (are they different?). This is just a compression algorithm of reality. Details are lost in the process. It is akin to a cave drawing: depicting a deer with a rectangle and five lines. *All models are wrong but some are useful*, as they become better representations of reality. It is impossible to enumerate through all the possible initial conditions and arrive at all possible end results within one human lifetime, but even if you did, it would be a useless endeavor as you would never be consuming or understanding the essential underlying reality that leads to those results. Only the One True Fact will lead to enlightenment. Only the One True Fact will curse you with the knowledge of the futility of life. The beginning and the end of all things is the One True Fact.
151,743
The [black hole question](https://worldbuilding.stackexchange.com/questions/151626/a-planet-illuminated-by-a-black-hole) reminded me of an idea I wanted to implement at some point in a space campaign, but didn't go forward with because I was unsure whether it's merely statistically very implausible, or outright physically impossible: Can a 'rogue' planet (in the sense of not orbiting a specific star in a close vicinity) be on such an orbit around the galactic centre that the amount of illumination it gets is equivalent of that gained in the Goldilocks zone? That is, is there such an orbit for which the total illumination provided by the densely packed stellar and similar objects is similar to that provided by our sun at 1a.u. When I say galactic centre, I mean the central area of a galaxy, one hosting a denser selection of stars (and whatever other 'shiny' objects, including feeding supermassive black holes, nebulae or the like) than the rim. If it's doable in the Milky Way with its central area, great; if it's doable in some other galaxy we know to really exist, that's OK too; if it's only possible with a galaxy type we're not sure is plausible according to science, that's a so-so option but I'd still like to be informed about it. I am fully aware that it'll have to lack seasons, and that its velocity will be odd. It's okay if the probability of such an arrangement naturally approaches zero; in fact even if it needs to be a result of Sufficiently Advanced civilisation meddling, that's okay, so long as such an arrangement can keep on existing with no reliance on superscience **once it's in place**.
2019/07/27
[ "https://worldbuilding.stackexchange.com/questions/151743", "https://worldbuilding.stackexchange.com", "https://worldbuilding.stackexchange.com/users/59676/" ]
You want **Plato's Allegory of the Cave**. <https://faculty.washington.edu/smcohen/320/cave.htm> > > In the allegory, Plato likens people untutored in the Theory of Forms > to prisoners chained in a cave, unable to turn their heads. All they > can see is the wall of the cave. Behind them burns a fire. Between > the fire and the prisoners there is a parapet, along which puppeteers > can walk. The puppeteers, who are behind the prisoners, hold up > puppets that cast shadows on the wall of the cave. The prisoners are > unable to see these puppets, the real objects, that pass behind them. > What the prisoners see and hear are shadows and echoes cast by objects > that they do not see. > > > The fact objects are perceived by the opinion people just as the Platonic Forms are truth; both are perceived by us more or less according to circumstance, education, prejudice, ability and so on. We may misperceive. They might catch on the virtually the whole thing. Opinion people are limited by their biological and metal wetware. So too the opinion people in your world. Plato is not too tough to read. <http://classics.mit.edu/Plato/republic.8.vii.html> Go thru a couple of times, see what other people say about this idea, and then steal the whole premise for your story. Plato is eminently copyable and you will not be the first.
The One True Fact is the answer to all of your questions. If your world is similar to ours then there is only One True Fact. Everything else that is "true" is merely emergent behavior when the one truth is taken to enough iterations (time) and with the proper seed (initial conditions). Our understanding of physics today is that the world is composed of a handful of particle types (quarks) and a couple forces. We may one day discover that all of these things are actually just one thing and that all events are just the result of the Grand Unifying Equation. Just like a view of the tree of life on Earth has many branches but narrows down into fewer trunks, the tree of "truths" on your world similarly evolves from the One True Fact. Just like the extinction of a species opens a niche for another species to take over on Earth, the learning of a "fact" opens up the Aethernet for another seed to emerge into a result of the One True Fact. A mortal mind is incapable of holding all the data necessary to truly comprehend even one idea completely, so instead they encapsulate it into a "fact" or "opinion" (are they different?). This is just a compression algorithm of reality. Details are lost in the process. It is akin to a cave drawing: depicting a deer with a rectangle and five lines. *All models are wrong but some are useful*, as they become better representations of reality. It is impossible to enumerate through all the possible initial conditions and arrive at all possible end results within one human lifetime, but even if you did, it would be a useless endeavor as you would never be consuming or understanding the essential underlying reality that leads to those results. Only the One True Fact will lead to enlightenment. Only the One True Fact will curse you with the knowledge of the futility of life. The beginning and the end of all things is the One True Fact.
393,197
I am a beginner, so I may have made a horrible mistake in my diagram, but I am trying to learn. According as I have figured it, I am having an issue wherein I need a resistor rated for a minimum of about 1.07 Watts; this is well, however, I do not have any resistors rated that highly heat-wise. I figured that I could just use a group of five 1/4W resistors, similarly to how a pair of two different resistors adds to a higher resistance. [![enter image description here](https://i.stack.imgur.com/a5MD6.jpg)](https://i.stack.imgur.com/a5MD6.jpg) \*That does say 20kΩ and 29.6kΩ in the schem.; I have no idea why I opted to not write the capital omega in those two places.
2018/08/29
[ "https://electronics.stackexchange.com/questions/393197", "https://electronics.stackexchange.com", "https://electronics.stackexchange.com/users/114863/" ]
Why yes, you can certainly combine multiple resistors to spread out the power dissipation. I see you've planned to have 177.5V across and 6mA through R1. You can parallel 5 resistors that will take 1.2mA each. 177.5V / 1.2mA gives 147916 ohms, probably 150k ohms will be close enough. Then put 5 of them in parallel. The overall resistance will work out to 30k ohms (150k / 5). Note that 1/4W resistors, even though they're rated for 1/4W, can still get rather hot when dissipating 1/4W, enough to burn you. Make sure to leave room in between for airflow (don't just bunch them all up together). Also note that you probably won't be able to turn the anode off with this circuit. And if you do manage to turn it off, your Arduino will be fried.
Yes, you can make a high power resistor from multiple low power ones. The simplest way to do this is to put them all either in series or all in parallel. With N resistors in series, make each 1/N the total desired resistance. Similarly, with N resistors in parallel, make each N times the desired resistance. You aren't limited to only series or only parallel, but then computing the final resistance is a little more complex. If you don't make all the resistors equal and all in series or parallel, the resistors may not be sharing the power equally. That's OK, but must be taken into account to guarantee that no individual resistor has its power rating exceeded. A simple trick is to put two of the desired resistances in parallel. That makes half the desired resistance. Now put two of those parallel combinations in series. That doubles the result, so you're back to the original resistance. Here is a diagram of this: [![](https://i.stack.imgur.com/S8xUy.gif)](https://i.stack.imgur.com/S8xUy.gif) If R1 thru R4 are the same, then the resulting composite resistor is also that same value, but with 4x the power capability.
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
This is a very challenging situation: your parents hold beliefs that you do not share. You're not going to change them and they're not going to change you (most likely anyway.) It's most likely that you will simply have to deal with the situation, kindly explaining to the women they send your way your true situation. They, in turn, will have to deal with your take on life. They may not like it and depending on how rigid they are in their beliefs, may develop some strong emotions about it, but in the end they cannot force you to do what you don't want to do. I'd suggest that, if you have not already, you politely explain your view of things. Once will be enough and don't expect immediate acceptance (unless you're lucky). I wish I could give you more comforting advice, but I hope it is in some form helpful. One final thought: never hold a grudge against them as this is how they were raised and part of their core beliefs. They may change at some point in the future and then you definitely want them an active part of your life.
Ask each of them separately "what would you have done and told your parents if they said didn't want you to be with dad/mom"? I have little confidence in this to actually change their views, but hopefully that should at least make it clear that your mind is set.
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
This is a very challenging situation: your parents hold beliefs that you do not share. You're not going to change them and they're not going to change you (most likely anyway.) It's most likely that you will simply have to deal with the situation, kindly explaining to the women they send your way your true situation. They, in turn, will have to deal with your take on life. They may not like it and depending on how rigid they are in their beliefs, may develop some strong emotions about it, but in the end they cannot force you to do what you don't want to do. I'd suggest that, if you have not already, you politely explain your view of things. Once will be enough and don't expect immediate acceptance (unless you're lucky). I wish I could give you more comforting advice, but I hope it is in some form helpful. One final thought: never hold a grudge against them as this is how they were raised and part of their core beliefs. They may change at some point in the future and then you definitely want them an active part of your life.
I think with Asian parents, theres no changing there minds. Its up to you to decide if you're serious about the girl you are with currently and if so let it be known. **Loud and Clear.** Introduce her to them. To others in your family too. If you have open minded relatives whom you are close to bring them into the picture. See if they cant try and get your parents to let up a bit. Openly tell their daughters friends that you're not interested as your already committed to someone else. Once word spreads hopefully you'll get approached by future suitors less.
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
This is a very challenging situation: your parents hold beliefs that you do not share. You're not going to change them and they're not going to change you (most likely anyway.) It's most likely that you will simply have to deal with the situation, kindly explaining to the women they send your way your true situation. They, in turn, will have to deal with your take on life. They may not like it and depending on how rigid they are in their beliefs, may develop some strong emotions about it, but in the end they cannot force you to do what you don't want to do. I'd suggest that, if you have not already, you politely explain your view of things. Once will be enough and don't expect immediate acceptance (unless you're lucky). I wish I could give you more comforting advice, but I hope it is in some form helpful. One final thought: never hold a grudge against them as this is how they were raised and part of their core beliefs. They may change at some point in the future and then you definitely want them an active part of your life.
Bit late to the party, but as no one else mentioned it.... A very effective way to deal with "arrangements" is to be a bad date. Your parents appear to be conservative, their friends likely are the same, so meet the set-up acting as unsuitable as possible. Biker jacket, jeans, don't shower, cheap restaurant (strip clubs work great here. Or breastaurants like Hooters) and tell the server when you both sit down that it's separate cheques. Keep the dinner conversation at a construction worker level (ogling the waitress at least half the time) and it's highly unlikely you will ever hear from the girl again. (Assuming you're not really a complete jerk, give the server a big tip. Like $50)
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
I think with Asian parents, theres no changing there minds. Its up to you to decide if you're serious about the girl you are with currently and if so let it be known. **Loud and Clear.** Introduce her to them. To others in your family too. If you have open minded relatives whom you are close to bring them into the picture. See if they cant try and get your parents to let up a bit. Openly tell their daughters friends that you're not interested as your already committed to someone else. Once word spreads hopefully you'll get approached by future suitors less.
Ask each of them separately "what would you have done and told your parents if they said didn't want you to be with dad/mom"? I have little confidence in this to actually change their views, but hopefully that should at least make it clear that your mind is set.
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
Ask each of them separately "what would you have done and told your parents if they said didn't want you to be with dad/mom"? I have little confidence in this to actually change their views, but hopefully that should at least make it clear that your mind is set.
Bit late to the party, but as no one else mentioned it.... A very effective way to deal with "arrangements" is to be a bad date. Your parents appear to be conservative, their friends likely are the same, so meet the set-up acting as unsuitable as possible. Biker jacket, jeans, don't shower, cheap restaurant (strip clubs work great here. Or breastaurants like Hooters) and tell the server when you both sit down that it's separate cheques. Keep the dinner conversation at a construction worker level (ogling the waitress at least half the time) and it's highly unlikely you will ever hear from the girl again. (Assuming you're not really a complete jerk, give the server a big tip. Like $50)
11,014
Well - I am not entirely sure if this is the right forum, but if you know any, I would really appreciate if you could recommend me some. This is about parenting... from the son's perspective. I am 28 and my parents are pushing me to marry someone. Since they are Asian and belong to a somewhat more traditional society, they have even made semi-arrangements with daughters of their friends and colleagues - who are now contacting me asking for dates!! Now, the main problem is that I am already "engaged" to someone. We are in a relationship since 5 years, but we don't want to officially marry until we are established in our careers. I am becoming a lawyer and she is becoming a math professor. It would just seem wrong to marry now. We cannot afford it. But... my parents don't approve of her as she is "Western".
2014/01/13
[ "https://parenting.stackexchange.com/questions/11014", "https://parenting.stackexchange.com", "https://parenting.stackexchange.com/users/6445/" ]
I think with Asian parents, theres no changing there minds. Its up to you to decide if you're serious about the girl you are with currently and if so let it be known. **Loud and Clear.** Introduce her to them. To others in your family too. If you have open minded relatives whom you are close to bring them into the picture. See if they cant try and get your parents to let up a bit. Openly tell their daughters friends that you're not interested as your already committed to someone else. Once word spreads hopefully you'll get approached by future suitors less.
Bit late to the party, but as no one else mentioned it.... A very effective way to deal with "arrangements" is to be a bad date. Your parents appear to be conservative, their friends likely are the same, so meet the set-up acting as unsuitable as possible. Biker jacket, jeans, don't shower, cheap restaurant (strip clubs work great here. Or breastaurants like Hooters) and tell the server when you both sit down that it's separate cheques. Keep the dinner conversation at a construction worker level (ogling the waitress at least half the time) and it's highly unlikely you will ever hear from the girl again. (Assuming you're not really a complete jerk, give the server a big tip. Like $50)
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
If any single game process can eat up all the memory or CPU, this isn't scalable. If your server is an 8-core machine, eight games can take all of the CPU time, there's nothing you can do, except for monitoring processes via `top` and killing them as needed - but that would make for a bumpy server. Now, if you manage to prevent this stuff in the first place (sounds like a better idea to me), it *is* viable. Each process will take upwards of 30mb of memory, so you'll need a beefy server for every couple hundreds. Look at <http://site.nodester.com> for an example, they seem to be running around 600 processes on a single machine. Their software stack is open source too: <https://github.com/nodester/nodester> node v0.8 [will bring Isolates](https://github.com/joyent/node/issues/2133) (shared-nothing threads), which will probably use less resources than a child process. A more "serious" solution to this would be using some kind of virtualization like [OpenVZ](http://openvz.org) that will allow you to set resource limits, then just keep a pool of virtual servers available, every game gets it's own. It's not as heavy as it looks, it's ~18mb overhead per server and you can host hundreds per machine, although it's a much more complex setup.
This is a hard question to answer, because we don't know what your game do ... If it crash, all games will crash, so i assume having multiple process is a good idea. But i dont see any other good reason why you should have multiple process. ( Maybe a ton of blocking operation like huge DB transaction, process huge file ... etc) Like @Samyak Bhuta said, you could use forever or cluster to restart your process. We are using [monit](http://howtonode.org/deploying-node-upstart-monit) for this
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
The short answer is no, it won't scale! **The long answer** Let's first look at scalability. I'm taking the definition proposed by [wikipedia](http://en.wikipedia.org/wiki/Scalability): "scalability is the ability of a system, network, or process, to handle growing amount of work in a graceful manner or its ability to be enlarged to accommodate that growth." In case one of your processes can eat up as much CPU as it's granted by the scheduler ([More details on the linux scheduler](http://www.ibm.com/developerworks/linux/library/l-scheduler/)) your system won't scale in a "graceful manner"! So what you would need for scalability is a setup as proposed by Ricardo Tomasi above where every match would need it's own VM. But that's not graceful and taking cost into consideration this is no viable solution. The problem why your system won't scale is the algorithm behind it, no architecture can fix that but the algorithm needs to be fixed. Your options to fix the algorithm * Try to use some blocking mechanism in the game loop * Counters to detect infinite loops * Build an event queue that has limited slots so that adding additional events will throw exceptions * Use a time slots algorithm for your game loop somehow like every match can consume 1/count(matches) time of one node.js process (but avoid building your own scheduler) And even when your algorithm is fixed, spawning a process for each match will eat up some MB of your limited RAM resource which is not graceful in the sense of scalability.
This is a hard question to answer, because we don't know what your game do ... If it crash, all games will crash, so i assume having multiple process is a good idea. But i dont see any other good reason why you should have multiple process. ( Maybe a ton of blocking operation like huge DB transaction, process huge file ... etc) Like @Samyak Bhuta said, you could use forever or cluster to restart your process. We are using [monit](http://howtonode.org/deploying-node-upstart-monit) for this
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
I think that *actor model* should definitely provide scalability: * Use a process pool with a load balancing mechanism * Use *ZeroMQ* or something similar to exchange message + you will need *a few communication channels* here + use *request/response* for handshaking and control + you can use *multicasting* for the main channel + you can also use *publish/subscribe* if you have specific use for it too You'll probably need a master process to do balancing and control all of the processes, keep track of events etc. Using the actor model you can scale out across a network of machines and in fact you can even have peer-to-peer clusters if you desire to do so, might need to use RSA keys for authentication though. I'd recommend to start with a single master just waiting for processes to connect, the implement the worker skeleton and see how to implement the control side of things. Stick to master with 2 workers for starters, it's simpler to debug. For the web front end you can also use a proxy, such as *Nginx*, which will call the master and then the master will tell it where to direct the new client. I suppose you would need to implement a UI module and then use it from within the worker. I mean that the master will present no UI, and your workers will listen on different ports, though *Nginx* will hide it away from the user (he will see no ports in the URL bar) and you could also implement a RESTful API on top of that too.
This is a hard question to answer, because we don't know what your game do ... If it crash, all games will crash, so i assume having multiple process is a good idea. But i dont see any other good reason why you should have multiple process. ( Maybe a ton of blocking operation like huge DB transaction, process huge file ... etc) Like @Samyak Bhuta said, you could use forever or cluster to restart your process. We are using [monit](http://howtonode.org/deploying-node-upstart-monit) for this
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
If any single game process can eat up all the memory or CPU, this isn't scalable. If your server is an 8-core machine, eight games can take all of the CPU time, there's nothing you can do, except for monitoring processes via `top` and killing them as needed - but that would make for a bumpy server. Now, if you manage to prevent this stuff in the first place (sounds like a better idea to me), it *is* viable. Each process will take upwards of 30mb of memory, so you'll need a beefy server for every couple hundreds. Look at <http://site.nodester.com> for an example, they seem to be running around 600 processes on a single machine. Their software stack is open source too: <https://github.com/nodester/nodester> node v0.8 [will bring Isolates](https://github.com/joyent/node/issues/2133) (shared-nothing threads), which will probably use less resources than a child process. A more "serious" solution to this would be using some kind of virtualization like [OpenVZ](http://openvz.org) that will allow you to set resource limits, then just keep a pool of virtual servers available, every game gets it's own. It's not as heavy as it looks, it's ~18mb overhead per server and you can host hundreds per machine, although it's a much more complex setup.
There are multiple things to discuss here. How many players can connect to a match? What kind of database are you using? Does it have fast writes? Restarting a process is the last solution, because if you have a game where everything should happen fast and you restart the process it will take a couple of seconds before the players reconnect to it. I don't think one process per match is scalable, what happens when you have 50.000 matches at the same time for example? I would say that a better solution would be to group matches on a child process by 2 criteria: a) by the match id (some kind of sharding algorithm) b) if more and more players come popping up spin another process (or even more), based on the number of players. It's really hard to decide what to do before making some tests on your game. You should really test it to see how it behaves several real matches (how much CPU it "eats", memory) and make some analysis based on the data. Nobody can say exactly what to do in these kinds of situations, because it depends on the project.
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
The short answer is no, it won't scale! **The long answer** Let's first look at scalability. I'm taking the definition proposed by [wikipedia](http://en.wikipedia.org/wiki/Scalability): "scalability is the ability of a system, network, or process, to handle growing amount of work in a graceful manner or its ability to be enlarged to accommodate that growth." In case one of your processes can eat up as much CPU as it's granted by the scheduler ([More details on the linux scheduler](http://www.ibm.com/developerworks/linux/library/l-scheduler/)) your system won't scale in a "graceful manner"! So what you would need for scalability is a setup as proposed by Ricardo Tomasi above where every match would need it's own VM. But that's not graceful and taking cost into consideration this is no viable solution. The problem why your system won't scale is the algorithm behind it, no architecture can fix that but the algorithm needs to be fixed. Your options to fix the algorithm * Try to use some blocking mechanism in the game loop * Counters to detect infinite loops * Build an event queue that has limited slots so that adding additional events will throw exceptions * Use a time slots algorithm for your game loop somehow like every match can consume 1/count(matches) time of one node.js process (but avoid building your own scheduler) And even when your algorithm is fixed, spawning a process for each match will eat up some MB of your limited RAM resource which is not graceful in the sense of scalability.
There are multiple things to discuss here. How many players can connect to a match? What kind of database are you using? Does it have fast writes? Restarting a process is the last solution, because if you have a game where everything should happen fast and you restart the process it will take a couple of seconds before the players reconnect to it. I don't think one process per match is scalable, what happens when you have 50.000 matches at the same time for example? I would say that a better solution would be to group matches on a child process by 2 criteria: a) by the match id (some kind of sharding algorithm) b) if more and more players come popping up spin another process (or even more), based on the number of players. It's really hard to decide what to do before making some tests on your game. You should really test it to see how it behaves several real matches (how much CPU it "eats", memory) and make some analysis based on the data. Nobody can say exactly what to do in these kinds of situations, because it depends on the project.
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
I think that *actor model* should definitely provide scalability: * Use a process pool with a load balancing mechanism * Use *ZeroMQ* or something similar to exchange message + you will need *a few communication channels* here + use *request/response* for handshaking and control + you can use *multicasting* for the main channel + you can also use *publish/subscribe* if you have specific use for it too You'll probably need a master process to do balancing and control all of the processes, keep track of events etc. Using the actor model you can scale out across a network of machines and in fact you can even have peer-to-peer clusters if you desire to do so, might need to use RSA keys for authentication though. I'd recommend to start with a single master just waiting for processes to connect, the implement the worker skeleton and see how to implement the control side of things. Stick to master with 2 workers for starters, it's simpler to debug. For the web front end you can also use a proxy, such as *Nginx*, which will call the master and then the master will tell it where to direct the new client. I suppose you would need to implement a UI module and then use it from within the worker. I mean that the master will present no UI, and your workers will listen on different ports, though *Nginx* will hide it away from the user (he will see no ports in the URL bar) and you could also implement a RESTful API on top of that too.
There are multiple things to discuss here. How many players can connect to a match? What kind of database are you using? Does it have fast writes? Restarting a process is the last solution, because if you have a game where everything should happen fast and you restart the process it will take a couple of seconds before the players reconnect to it. I don't think one process per match is scalable, what happens when you have 50.000 matches at the same time for example? I would say that a better solution would be to group matches on a child process by 2 criteria: a) by the match id (some kind of sharding algorithm) b) if more and more players come popping up spin another process (or even more), based on the number of players. It's really hard to decide what to do before making some tests on your game. You should really test it to see how it behaves several real matches (how much CPU it "eats", memory) and make some analysis based on the data. Nobody can say exactly what to do in these kinds of situations, because it depends on the project.
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
If any single game process can eat up all the memory or CPU, this isn't scalable. If your server is an 8-core machine, eight games can take all of the CPU time, there's nothing you can do, except for monitoring processes via `top` and killing them as needed - but that would make for a bumpy server. Now, if you manage to prevent this stuff in the first place (sounds like a better idea to me), it *is* viable. Each process will take upwards of 30mb of memory, so you'll need a beefy server for every couple hundreds. Look at <http://site.nodester.com> for an example, they seem to be running around 600 processes on a single machine. Their software stack is open source too: <https://github.com/nodester/nodester> node v0.8 [will bring Isolates](https://github.com/joyent/node/issues/2133) (shared-nothing threads), which will probably use less resources than a child process. A more "serious" solution to this would be using some kind of virtualization like [OpenVZ](http://openvz.org) that will allow you to set resource limits, then just keep a pool of virtual servers available, every game gets it's own. It's not as heavy as it looks, it's ~18mb overhead per server and you can host hundreds per machine, although it's a much more complex setup.
The short answer is no, it won't scale! **The long answer** Let's first look at scalability. I'm taking the definition proposed by [wikipedia](http://en.wikipedia.org/wiki/Scalability): "scalability is the ability of a system, network, or process, to handle growing amount of work in a graceful manner or its ability to be enlarged to accommodate that growth." In case one of your processes can eat up as much CPU as it's granted by the scheduler ([More details on the linux scheduler](http://www.ibm.com/developerworks/linux/library/l-scheduler/)) your system won't scale in a "graceful manner"! So what you would need for scalability is a setup as proposed by Ricardo Tomasi above where every match would need it's own VM. But that's not graceful and taking cost into consideration this is no viable solution. The problem why your system won't scale is the algorithm behind it, no architecture can fix that but the algorithm needs to be fixed. Your options to fix the algorithm * Try to use some blocking mechanism in the game loop * Counters to detect infinite loops * Build an event queue that has limited slots so that adding additional events will throw exceptions * Use a time slots algorithm for your game loop somehow like every match can consume 1/count(matches) time of one node.js process (but avoid building your own scheduler) And even when your algorithm is fixed, spawning a process for each match will eat up some MB of your limited RAM resource which is not graceful in the sense of scalability.
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
If any single game process can eat up all the memory or CPU, this isn't scalable. If your server is an 8-core machine, eight games can take all of the CPU time, there's nothing you can do, except for monitoring processes via `top` and killing them as needed - but that would make for a bumpy server. Now, if you manage to prevent this stuff in the first place (sounds like a better idea to me), it *is* viable. Each process will take upwards of 30mb of memory, so you'll need a beefy server for every couple hundreds. Look at <http://site.nodester.com> for an example, they seem to be running around 600 processes on a single machine. Their software stack is open source too: <https://github.com/nodester/nodester> node v0.8 [will bring Isolates](https://github.com/joyent/node/issues/2133) (shared-nothing threads), which will probably use less resources than a child process. A more "serious" solution to this would be using some kind of virtualization like [OpenVZ](http://openvz.org) that will allow you to set resource limits, then just keep a pool of virtual servers available, every game gets it's own. It's not as heavy as it looks, it's ~18mb overhead per server and you can host hundreds per machine, although it's a much more complex setup.
I think that *actor model* should definitely provide scalability: * Use a process pool with a load balancing mechanism * Use *ZeroMQ* or something similar to exchange message + you will need *a few communication channels* here + use *request/response* for handshaking and control + you can use *multicasting* for the main channel + you can also use *publish/subscribe* if you have specific use for it too You'll probably need a master process to do balancing and control all of the processes, keep track of events etc. Using the actor model you can scale out across a network of machines and in fact you can even have peer-to-peer clusters if you desire to do so, might need to use RSA keys for authentication though. I'd recommend to start with a single master just waiting for processes to connect, the implement the worker skeleton and see how to implement the control side of things. Stick to master with 2 workers for starters, it's simpler to debug. For the web front end you can also use a proxy, such as *Nginx*, which will call the master and then the master will tell it where to direct the new client. I suppose you would need to implement a UI module and then use it from within the worker. I mean that the master will present no UI, and your workers will listen on different ports, though *Nginx* will hide it away from the user (he will see no ports in the URL bar) and you could also implement a RESTful API on top of that too.
8,059,703
I'm having a real problem tracking down why i'm getting the error "$("#checkIn").datepicker is not a function" on the link below. You should see the jquery ui calendar when you click either of the input's, or the calendar buttons. I can see in the net panel of firebug that everything's loaded correctly so i'm not sure what the deal is. --link removed--
2011/11/09
[ "https://Stackoverflow.com/questions/8059703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/222403/" ]
The short answer is no, it won't scale! **The long answer** Let's first look at scalability. I'm taking the definition proposed by [wikipedia](http://en.wikipedia.org/wiki/Scalability): "scalability is the ability of a system, network, or process, to handle growing amount of work in a graceful manner or its ability to be enlarged to accommodate that growth." In case one of your processes can eat up as much CPU as it's granted by the scheduler ([More details on the linux scheduler](http://www.ibm.com/developerworks/linux/library/l-scheduler/)) your system won't scale in a "graceful manner"! So what you would need for scalability is a setup as proposed by Ricardo Tomasi above where every match would need it's own VM. But that's not graceful and taking cost into consideration this is no viable solution. The problem why your system won't scale is the algorithm behind it, no architecture can fix that but the algorithm needs to be fixed. Your options to fix the algorithm * Try to use some blocking mechanism in the game loop * Counters to detect infinite loops * Build an event queue that has limited slots so that adding additional events will throw exceptions * Use a time slots algorithm for your game loop somehow like every match can consume 1/count(matches) time of one node.js process (but avoid building your own scheduler) And even when your algorithm is fixed, spawning a process for each match will eat up some MB of your limited RAM resource which is not graceful in the sense of scalability.
I think that *actor model* should definitely provide scalability: * Use a process pool with a load balancing mechanism * Use *ZeroMQ* or something similar to exchange message + you will need *a few communication channels* here + use *request/response* for handshaking and control + you can use *multicasting* for the main channel + you can also use *publish/subscribe* if you have specific use for it too You'll probably need a master process to do balancing and control all of the processes, keep track of events etc. Using the actor model you can scale out across a network of machines and in fact you can even have peer-to-peer clusters if you desire to do so, might need to use RSA keys for authentication though. I'd recommend to start with a single master just waiting for processes to connect, the implement the worker skeleton and see how to implement the control side of things. Stick to master with 2 workers for starters, it's simpler to debug. For the web front end you can also use a proxy, such as *Nginx*, which will call the master and then the master will tell it where to direct the new client. I suppose you would need to implement a UI module and then use it from within the worker. I mean that the master will present no UI, and your workers will listen on different ports, though *Nginx* will hide it away from the user (he will see no ports in the URL bar) and you could also implement a RESTful API on top of that too.
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
The Omkāra is made up of 3 letters: (1) akāra - अ; (2) ukāra - उ; (3) makāra - म and also an anusvāra (ardhamātrā). It is often a misconception that it has only the first three letters but the Upanishads are clear that it has even an anusvāra. So you will pronounce it as Om and let the ma resonate after for a bit in the mouth/ nose area. The Nādabindūpaniṣad verse 1 beautifully describes the components of Omkāra in the form of a swan: > > अकारो दक्षिणः पक्ष उकारस्तूत्तरः स्मृतः । > मकारं पुच्छमित्याहुरर्धमात्रा तु मस्तकम्॥१॥ > > > The **syllable A** is considered to be its (the bird Om's) right wing;**the syllable U**, its left; **the syllable M**, its tail; and **the ardhamātrā (half-metre)** is said to be its head. > > > A better description of the Omkāra can be found in the Praṇavopaniṣad: > > It has 3 full matra (a, u, m) and one half matra (anusvāra) and that is its auspicious Shiva form. (Verse 3b) > > > The Rigveda, Earth, Gārhapatya Agni and Lord Brahma are described as the syllable ‘a’ by knowers or Brahman (verse 4) > > > The Yajurveda, Antariksha, Dakshinagni and Lord Vishnu are known as the syllable ‘u’ (verse 5) > > > The Samaveda, Dyuloka, Ahvaniya Agni and Lord Shiva are described as the syllable ‘m’ (verse 6) > > > --- One can better understand the components of Om by looking at the Tamil and Telugu symbols for it though all scripts focus on mainly the anusvāra and omit the makāra altogether, while yet pronouncing it as a makāra and omitting to pronounce the makāra in combination with the anusvāra.
The components of Om is explained very well in Shiva Puran. "The syllable “A” came first from northern face; the syllable “U” from the western; the syllable “M” from the southern and the Bindu (dot) from the eastern face. The Nāda (mystical sound) came from the middle face. Thus the complete set cropped up in five-fold form. Then all of them united in the syllable of “Om”. -from Shiv Puran, Vidyeswara Samhita, Chapter 10, verse 18,19. "4. The syllable Om means an excellent boat to cross the ocean of worldly existence. [Pra=of the Prakṛti i.e. the world evolved out of it. Navam—Nāvāṃ Varam—an excellent boat] 5. Or Praṇava may mean: “there is no world for you” or it may mean “That which leads to salvation”. 6-8. Or it may mean “that which leads to new knowledge.” After annihilating all actions it gives the persons who repeat the mantra or worship, a fresh knowledge of the pure soul. This Praṇava is two-fold (1) the subtle (2) the gross. 9. The subtle one is of a single syllable where the constituent five syllables are not differentiated clearly. The gross one is of five syllables where all the constituent syllables are manifest. 10. The subtle one is for the liberated living soul (jīvanmukta). The need for the contemplation of the meaning through the mantra is only upto the destruction of the physical body. 11. When the body is destroyed he completely merges in Śiva undoubtedly. The mere repeater of the mantra attains the yogic communion with Śiva certainly. 12. A person who repeats the mantra thirty-six crores of times certainly attains the yogic communion. The subtle Praṇava is again two-fold—the short, and the long. 13-15. The long one is present in the heart of the Yogins alone—separately in the form of “A” syllable, “U” syllable, “M” syllable, Bindu and Nāda. It is endowed with all the digits of the time sound. Śiva, Śakti and their union are indicated by “M” syllable ramified into three and this is called the short subtle Praṇava. The short Praṇava shall be recited and repeated by those who desire their all sins annihilated." -from Shiv Puran, Vidyeswara Samhita, chapter 17. Namah Shivaay
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
The Omkāra is made up of 3 letters: (1) akāra - अ; (2) ukāra - उ; (3) makāra - म and also an anusvāra (ardhamātrā). It is often a misconception that it has only the first three letters but the Upanishads are clear that it has even an anusvāra. So you will pronounce it as Om and let the ma resonate after for a bit in the mouth/ nose area. The Nādabindūpaniṣad verse 1 beautifully describes the components of Omkāra in the form of a swan: > > अकारो दक्षिणः पक्ष उकारस्तूत्तरः स्मृतः । > मकारं पुच्छमित्याहुरर्धमात्रा तु मस्तकम्॥१॥ > > > The **syllable A** is considered to be its (the bird Om's) right wing;**the syllable U**, its left; **the syllable M**, its tail; and **the ardhamātrā (half-metre)** is said to be its head. > > > A better description of the Omkāra can be found in the Praṇavopaniṣad: > > It has 3 full matra (a, u, m) and one half matra (anusvāra) and that is its auspicious Shiva form. (Verse 3b) > > > The Rigveda, Earth, Gārhapatya Agni and Lord Brahma are described as the syllable ‘a’ by knowers or Brahman (verse 4) > > > The Yajurveda, Antariksha, Dakshinagni and Lord Vishnu are known as the syllable ‘u’ (verse 5) > > > The Samaveda, Dyuloka, Ahvaniya Agni and Lord Shiva are described as the syllable ‘m’ (verse 6) > > > --- One can better understand the components of Om by looking at the Tamil and Telugu symbols for it though all scripts focus on mainly the anusvāra and omit the makāra altogether, while yet pronouncing it as a makāra and omitting to pronounce the makāra in combination with the anusvāra.
Mandukya Upanishad says that OM is a Combination of (A + U + M) > > That same Self, from the point of view of the syllable, is Om, and > viewed from the stand point of the letters, the quarters are the > letters, and the letters are the quarters. The letters are A, U and > M.(Mandukya Up 8) > > > **Vaisvanara seated in the waking state is the first letter A**, owing to its all-pervasiveness or being the first. He who knows thus verily > accomplishes all longings and becomes the first. **Taijasa seated in > the dream is U**, the second letter of Om, owing to the similarity of > excellence or intermediate position. He who knows thus verily advances > the bounds of his knowledge and becomes equal to all and none who is > not a knower of Brahman is born in his family. **Prajna seated in the > state of deep sleep is M**, the third letter of Om, because of his > being the measure or the entity wherein all become absorbed. He who > knows thus measures all this and absorbs all.(Mandukya Up 9-11) > > >
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
The Omkāra is made up of 3 letters: (1) akāra - अ; (2) ukāra - उ; (3) makāra - म and also an anusvāra (ardhamātrā). It is often a misconception that it has only the first three letters but the Upanishads are clear that it has even an anusvāra. So you will pronounce it as Om and let the ma resonate after for a bit in the mouth/ nose area. The Nādabindūpaniṣad verse 1 beautifully describes the components of Omkāra in the form of a swan: > > अकारो दक्षिणः पक्ष उकारस्तूत्तरः स्मृतः । > मकारं पुच्छमित्याहुरर्धमात्रा तु मस्तकम्॥१॥ > > > The **syllable A** is considered to be its (the bird Om's) right wing;**the syllable U**, its left; **the syllable M**, its tail; and **the ardhamātrā (half-metre)** is said to be its head. > > > A better description of the Omkāra can be found in the Praṇavopaniṣad: > > It has 3 full matra (a, u, m) and one half matra (anusvāra) and that is its auspicious Shiva form. (Verse 3b) > > > The Rigveda, Earth, Gārhapatya Agni and Lord Brahma are described as the syllable ‘a’ by knowers or Brahman (verse 4) > > > The Yajurveda, Antariksha, Dakshinagni and Lord Vishnu are known as the syllable ‘u’ (verse 5) > > > The Samaveda, Dyuloka, Ahvaniya Agni and Lord Shiva are described as the syllable ‘m’ (verse 6) > > > --- One can better understand the components of Om by looking at the Tamil and Telugu symbols for it though all scripts focus on mainly the anusvāra and omit the makāra altogether, while yet pronouncing it as a makāra and omitting to pronounce the makāra in combination with the anusvāra.
Alright, let me just add few more words. The **Kaankal Malini Tantra** describes the *Varna-Samuha*. According to it varna from अ to अः are of *SatvaGuna*. From क to थ are *RajoGuna* and remaining of *TamoGuna*. It says: > > आदावसौ जायते च शब्दब्रह्म सनातन: । > वसुजिह्वा कालरात्र्या रूद्रडाकिन्यलंकृता । > विषबीजं श्रृतिमुखं  घ्रुवं हालाहल प्रिये ॥ॐ॥१८॥ > > > > > *Om* is made of three *Varnas*, ***Vasujihvā*** Aa-Kara (**अ**), ***kaalaraatri*** U-Kara (**उ**) and ***RudraRupe*** *Anuswara*. This word (ॐ) is *BrahamaRoopee*, and is *VishvaRoop* for this Apprent world. That is, it destroys the *Maya* and is the Mouth of "what is heard" (श्रृतिमुखं). > > >
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
The Omkāra is made up of 3 letters: (1) akāra - अ; (2) ukāra - उ; (3) makāra - म and also an anusvāra (ardhamātrā). It is often a misconception that it has only the first three letters but the Upanishads are clear that it has even an anusvāra. So you will pronounce it as Om and let the ma resonate after for a bit in the mouth/ nose area. The Nādabindūpaniṣad verse 1 beautifully describes the components of Omkāra in the form of a swan: > > अकारो दक्षिणः पक्ष उकारस्तूत्तरः स्मृतः । > मकारं पुच्छमित्याहुरर्धमात्रा तु मस्तकम्॥१॥ > > > The **syllable A** is considered to be its (the bird Om's) right wing;**the syllable U**, its left; **the syllable M**, its tail; and **the ardhamātrā (half-metre)** is said to be its head. > > > A better description of the Omkāra can be found in the Praṇavopaniṣad: > > It has 3 full matra (a, u, m) and one half matra (anusvāra) and that is its auspicious Shiva form. (Verse 3b) > > > The Rigveda, Earth, Gārhapatya Agni and Lord Brahma are described as the syllable ‘a’ by knowers or Brahman (verse 4) > > > The Yajurveda, Antariksha, Dakshinagni and Lord Vishnu are known as the syllable ‘u’ (verse 5) > > > The Samaveda, Dyuloka, Ahvaniya Agni and Lord Shiva are described as the syllable ‘m’ (verse 6) > > > --- One can better understand the components of Om by looking at the Tamil and Telugu symbols for it though all scripts focus on mainly the anusvāra and omit the makāra altogether, while yet pronouncing it as a makāra and omitting to pronounce the makāra in combination with the anusvāra.
OM is the Self, the Atman. Om is the means of liberation and freedom from the effects of ignorance. OM is indivisible, consists of three letters: A, U, and M. Every letter has different significance and represents the conscious states. The three states are waking, dreaming, and dreamless sleep, respectively, as well as the physical, astral, and causal levels of existence. When AUM is uttered, all the various parts of the vocal organ needed for speaking are used. AUM is a word that includes all sounds. [The significance of three letters; A, U, and M, in AUM](https://yogicank.com/category/scriptural-knowledge/) The letter ‘A’:- The letter A denotes to waking state or Vaisvanara (quarters of Atman). Vaiswanara, the first state of Self as the universal person in the physical being, corresponds to the first letter–A. Through the Japa and meditation of Om, they master the material world and control learn to control the senses themselves. The desires of masters are fulfilled because they are connected with the essence of creation and get the realization power. The letter ‘U’:- Taijasa, the Self as the universal person in the mental state, resembles the letter. Taijasa and the letter U both are views in the dream state. In this state, Taijasa grows in wisdom and intellect and is highly honored. Two qualities that a person possessed in this quarter are: – A master of this state develops the knowledge of humanity and delivers the inner momentum to assist questing souls in accessing knowledge. A master adheres to the quality to becomes one with all human beings in a sense, and the master is so attuned and comfortable with other humans that the other is virtually his own Self. This quality appears in the great saints and yogis. Whether a poor or a king approaches them, he feels that they are the dear and his own. Om is the way to move the thoughts from the subconscious state to the conscious. Meditation on OM will empower the yogi to know all about himself and understands others as well. No one can fool him. Like, Sivananda Ji. He was always very kind and humorous, went right to the truth of things about people’s characteristics. 3.The letter ‘M’:- M is the state of deep sleep where neither desires any object nor sees any dream. And the third quarter is Prajna, whose sphere is dreamless sleep, the state of total bliss and happiness with satisfaction. References:- <https://gita-society.com/wp-content/uploads/PDF/108upanishads.pdf> <http://yogananda.com.au/upa/Mandukya_Upanishad.html> <https://www.swami-krishnananda.org/mand/Mandukya_Upanishad.pdf>
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
Mandukya Upanishad says that OM is a Combination of (A + U + M) > > That same Self, from the point of view of the syllable, is Om, and > viewed from the stand point of the letters, the quarters are the > letters, and the letters are the quarters. The letters are A, U and > M.(Mandukya Up 8) > > > **Vaisvanara seated in the waking state is the first letter A**, owing to its all-pervasiveness or being the first. He who knows thus verily > accomplishes all longings and becomes the first. **Taijasa seated in > the dream is U**, the second letter of Om, owing to the similarity of > excellence or intermediate position. He who knows thus verily advances > the bounds of his knowledge and becomes equal to all and none who is > not a knower of Brahman is born in his family. **Prajna seated in the > state of deep sleep is M**, the third letter of Om, because of his > being the measure or the entity wherein all become absorbed. He who > knows thus measures all this and absorbs all.(Mandukya Up 9-11) > > >
The components of Om is explained very well in Shiva Puran. "The syllable “A” came first from northern face; the syllable “U” from the western; the syllable “M” from the southern and the Bindu (dot) from the eastern face. The Nāda (mystical sound) came from the middle face. Thus the complete set cropped up in five-fold form. Then all of them united in the syllable of “Om”. -from Shiv Puran, Vidyeswara Samhita, Chapter 10, verse 18,19. "4. The syllable Om means an excellent boat to cross the ocean of worldly existence. [Pra=of the Prakṛti i.e. the world evolved out of it. Navam—Nāvāṃ Varam—an excellent boat] 5. Or Praṇava may mean: “there is no world for you” or it may mean “That which leads to salvation”. 6-8. Or it may mean “that which leads to new knowledge.” After annihilating all actions it gives the persons who repeat the mantra or worship, a fresh knowledge of the pure soul. This Praṇava is two-fold (1) the subtle (2) the gross. 9. The subtle one is of a single syllable where the constituent five syllables are not differentiated clearly. The gross one is of five syllables where all the constituent syllables are manifest. 10. The subtle one is for the liberated living soul (jīvanmukta). The need for the contemplation of the meaning through the mantra is only upto the destruction of the physical body. 11. When the body is destroyed he completely merges in Śiva undoubtedly. The mere repeater of the mantra attains the yogic communion with Śiva certainly. 12. A person who repeats the mantra thirty-six crores of times certainly attains the yogic communion. The subtle Praṇava is again two-fold—the short, and the long. 13-15. The long one is present in the heart of the Yogins alone—separately in the form of “A” syllable, “U” syllable, “M” syllable, Bindu and Nāda. It is endowed with all the digits of the time sound. Śiva, Śakti and their union are indicated by “M” syllable ramified into three and this is called the short subtle Praṇava. The short Praṇava shall be recited and repeated by those who desire their all sins annihilated." -from Shiv Puran, Vidyeswara Samhita, chapter 17. Namah Shivaay
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
Alright, let me just add few more words. The **Kaankal Malini Tantra** describes the *Varna-Samuha*. According to it varna from अ to अः are of *SatvaGuna*. From क to थ are *RajoGuna* and remaining of *TamoGuna*. It says: > > आदावसौ जायते च शब्दब्रह्म सनातन: । > वसुजिह्वा कालरात्र्या रूद्रडाकिन्यलंकृता । > विषबीजं श्रृतिमुखं  घ्रुवं हालाहल प्रिये ॥ॐ॥१८॥ > > > > > *Om* is made of three *Varnas*, ***Vasujihvā*** Aa-Kara (**अ**), ***kaalaraatri*** U-Kara (**उ**) and ***RudraRupe*** *Anuswara*. This word (ॐ) is *BrahamaRoopee*, and is *VishvaRoop* for this Apprent world. That is, it destroys the *Maya* and is the Mouth of "what is heard" (श्रृतिमुखं). > > >
The components of Om is explained very well in Shiva Puran. "The syllable “A” came first from northern face; the syllable “U” from the western; the syllable “M” from the southern and the Bindu (dot) from the eastern face. The Nāda (mystical sound) came from the middle face. Thus the complete set cropped up in five-fold form. Then all of them united in the syllable of “Om”. -from Shiv Puran, Vidyeswara Samhita, Chapter 10, verse 18,19. "4. The syllable Om means an excellent boat to cross the ocean of worldly existence. [Pra=of the Prakṛti i.e. the world evolved out of it. Navam—Nāvāṃ Varam—an excellent boat] 5. Or Praṇava may mean: “there is no world for you” or it may mean “That which leads to salvation”. 6-8. Or it may mean “that which leads to new knowledge.” After annihilating all actions it gives the persons who repeat the mantra or worship, a fresh knowledge of the pure soul. This Praṇava is two-fold (1) the subtle (2) the gross. 9. The subtle one is of a single syllable where the constituent five syllables are not differentiated clearly. The gross one is of five syllables where all the constituent syllables are manifest. 10. The subtle one is for the liberated living soul (jīvanmukta). The need for the contemplation of the meaning through the mantra is only upto the destruction of the physical body. 11. When the body is destroyed he completely merges in Śiva undoubtedly. The mere repeater of the mantra attains the yogic communion with Śiva certainly. 12. A person who repeats the mantra thirty-six crores of times certainly attains the yogic communion. The subtle Praṇava is again two-fold—the short, and the long. 13-15. The long one is present in the heart of the Yogins alone—separately in the form of “A” syllable, “U” syllable, “M” syllable, Bindu and Nāda. It is endowed with all the digits of the time sound. Śiva, Śakti and their union are indicated by “M” syllable ramified into three and this is called the short subtle Praṇava. The short Praṇava shall be recited and repeated by those who desire their all sins annihilated." -from Shiv Puran, Vidyeswara Samhita, chapter 17. Namah Shivaay
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
The components of Om is explained very well in Shiva Puran. "The syllable “A” came first from northern face; the syllable “U” from the western; the syllable “M” from the southern and the Bindu (dot) from the eastern face. The Nāda (mystical sound) came from the middle face. Thus the complete set cropped up in five-fold form. Then all of them united in the syllable of “Om”. -from Shiv Puran, Vidyeswara Samhita, Chapter 10, verse 18,19. "4. The syllable Om means an excellent boat to cross the ocean of worldly existence. [Pra=of the Prakṛti i.e. the world evolved out of it. Navam—Nāvāṃ Varam—an excellent boat] 5. Or Praṇava may mean: “there is no world for you” or it may mean “That which leads to salvation”. 6-8. Or it may mean “that which leads to new knowledge.” After annihilating all actions it gives the persons who repeat the mantra or worship, a fresh knowledge of the pure soul. This Praṇava is two-fold (1) the subtle (2) the gross. 9. The subtle one is of a single syllable where the constituent five syllables are not differentiated clearly. The gross one is of five syllables where all the constituent syllables are manifest. 10. The subtle one is for the liberated living soul (jīvanmukta). The need for the contemplation of the meaning through the mantra is only upto the destruction of the physical body. 11. When the body is destroyed he completely merges in Śiva undoubtedly. The mere repeater of the mantra attains the yogic communion with Śiva certainly. 12. A person who repeats the mantra thirty-six crores of times certainly attains the yogic communion. The subtle Praṇava is again two-fold—the short, and the long. 13-15. The long one is present in the heart of the Yogins alone—separately in the form of “A” syllable, “U” syllable, “M” syllable, Bindu and Nāda. It is endowed with all the digits of the time sound. Śiva, Śakti and their union are indicated by “M” syllable ramified into three and this is called the short subtle Praṇava. The short Praṇava shall be recited and repeated by those who desire their all sins annihilated." -from Shiv Puran, Vidyeswara Samhita, chapter 17. Namah Shivaay
OM is the Self, the Atman. Om is the means of liberation and freedom from the effects of ignorance. OM is indivisible, consists of three letters: A, U, and M. Every letter has different significance and represents the conscious states. The three states are waking, dreaming, and dreamless sleep, respectively, as well as the physical, astral, and causal levels of existence. When AUM is uttered, all the various parts of the vocal organ needed for speaking are used. AUM is a word that includes all sounds. [The significance of three letters; A, U, and M, in AUM](https://yogicank.com/category/scriptural-knowledge/) The letter ‘A’:- The letter A denotes to waking state or Vaisvanara (quarters of Atman). Vaiswanara, the first state of Self as the universal person in the physical being, corresponds to the first letter–A. Through the Japa and meditation of Om, they master the material world and control learn to control the senses themselves. The desires of masters are fulfilled because they are connected with the essence of creation and get the realization power. The letter ‘U’:- Taijasa, the Self as the universal person in the mental state, resembles the letter. Taijasa and the letter U both are views in the dream state. In this state, Taijasa grows in wisdom and intellect and is highly honored. Two qualities that a person possessed in this quarter are: – A master of this state develops the knowledge of humanity and delivers the inner momentum to assist questing souls in accessing knowledge. A master adheres to the quality to becomes one with all human beings in a sense, and the master is so attuned and comfortable with other humans that the other is virtually his own Self. This quality appears in the great saints and yogis. Whether a poor or a king approaches them, he feels that they are the dear and his own. Om is the way to move the thoughts from the subconscious state to the conscious. Meditation on OM will empower the yogi to know all about himself and understands others as well. No one can fool him. Like, Sivananda Ji. He was always very kind and humorous, went right to the truth of things about people’s characteristics. 3.The letter ‘M’:- M is the state of deep sleep where neither desires any object nor sees any dream. And the third quarter is Prajna, whose sphere is dreamless sleep, the state of total bliss and happiness with satisfaction. References:- <https://gita-society.com/wp-content/uploads/PDF/108upanishads.pdf> <http://yogananda.com.au/upa/Mandukya_Upanishad.html> <https://www.swami-krishnananda.org/mand/Mandukya_Upanishad.pdf>
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
Mandukya Upanishad says that OM is a Combination of (A + U + M) > > That same Self, from the point of view of the syllable, is Om, and > viewed from the stand point of the letters, the quarters are the > letters, and the letters are the quarters. The letters are A, U and > M.(Mandukya Up 8) > > > **Vaisvanara seated in the waking state is the first letter A**, owing to its all-pervasiveness or being the first. He who knows thus verily > accomplishes all longings and becomes the first. **Taijasa seated in > the dream is U**, the second letter of Om, owing to the similarity of > excellence or intermediate position. He who knows thus verily advances > the bounds of his knowledge and becomes equal to all and none who is > not a knower of Brahman is born in his family. **Prajna seated in the > state of deep sleep is M**, the third letter of Om, because of his > being the measure or the entity wherein all become absorbed. He who > knows thus measures all this and absorbs all.(Mandukya Up 9-11) > > >
Alright, let me just add few more words. The **Kaankal Malini Tantra** describes the *Varna-Samuha*. According to it varna from अ to अः are of *SatvaGuna*. From क to थ are *RajoGuna* and remaining of *TamoGuna*. It says: > > आदावसौ जायते च शब्दब्रह्म सनातन: । > वसुजिह्वा कालरात्र्या रूद्रडाकिन्यलंकृता । > विषबीजं श्रृतिमुखं  घ्रुवं हालाहल प्रिये ॥ॐ॥१८॥ > > > > > *Om* is made of three *Varnas*, ***Vasujihvā*** Aa-Kara (**अ**), ***kaalaraatri*** U-Kara (**उ**) and ***RudraRupe*** *Anuswara*. This word (ॐ) is *BrahamaRoopee*, and is *VishvaRoop* for this Apprent world. That is, it destroys the *Maya* and is the Mouth of "what is heard" (श्रृतिमुखं). > > >
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
Mandukya Upanishad says that OM is a Combination of (A + U + M) > > That same Self, from the point of view of the syllable, is Om, and > viewed from the stand point of the letters, the quarters are the > letters, and the letters are the quarters. The letters are A, U and > M.(Mandukya Up 8) > > > **Vaisvanara seated in the waking state is the first letter A**, owing to its all-pervasiveness or being the first. He who knows thus verily > accomplishes all longings and becomes the first. **Taijasa seated in > the dream is U**, the second letter of Om, owing to the similarity of > excellence or intermediate position. He who knows thus verily advances > the bounds of his knowledge and becomes equal to all and none who is > not a knower of Brahman is born in his family. **Prajna seated in the > state of deep sleep is M**, the third letter of Om, because of his > being the measure or the entity wherein all become absorbed. He who > knows thus measures all this and absorbs all.(Mandukya Up 9-11) > > >
OM is the Self, the Atman. Om is the means of liberation and freedom from the effects of ignorance. OM is indivisible, consists of three letters: A, U, and M. Every letter has different significance and represents the conscious states. The three states are waking, dreaming, and dreamless sleep, respectively, as well as the physical, astral, and causal levels of existence. When AUM is uttered, all the various parts of the vocal organ needed for speaking are used. AUM is a word that includes all sounds. [The significance of three letters; A, U, and M, in AUM](https://yogicank.com/category/scriptural-knowledge/) The letter ‘A’:- The letter A denotes to waking state or Vaisvanara (quarters of Atman). Vaiswanara, the first state of Self as the universal person in the physical being, corresponds to the first letter–A. Through the Japa and meditation of Om, they master the material world and control learn to control the senses themselves. The desires of masters are fulfilled because they are connected with the essence of creation and get the realization power. The letter ‘U’:- Taijasa, the Self as the universal person in the mental state, resembles the letter. Taijasa and the letter U both are views in the dream state. In this state, Taijasa grows in wisdom and intellect and is highly honored. Two qualities that a person possessed in this quarter are: – A master of this state develops the knowledge of humanity and delivers the inner momentum to assist questing souls in accessing knowledge. A master adheres to the quality to becomes one with all human beings in a sense, and the master is so attuned and comfortable with other humans that the other is virtually his own Self. This quality appears in the great saints and yogis. Whether a poor or a king approaches them, he feels that they are the dear and his own. Om is the way to move the thoughts from the subconscious state to the conscious. Meditation on OM will empower the yogi to know all about himself and understands others as well. No one can fool him. Like, Sivananda Ji. He was always very kind and humorous, went right to the truth of things about people’s characteristics. 3.The letter ‘M’:- M is the state of deep sleep where neither desires any object nor sees any dream. And the third quarter is Prajna, whose sphere is dreamless sleep, the state of total bliss and happiness with satisfaction. References:- <https://gita-society.com/wp-content/uploads/PDF/108upanishads.pdf> <http://yogananda.com.au/upa/Mandukya_Upanishad.html> <https://www.swami-krishnananda.org/mand/Mandukya_Upanishad.pdf>
46,019
Every word in Sanskrit can be further divided into letters that cannot be divided further. In this context, what are the letters that are further indivisible, used to form om ॐ in Sanskrit?
2021/04/26
[ "https://hinduism.stackexchange.com/questions/46019", "https://hinduism.stackexchange.com", "https://hinduism.stackexchange.com/users/661/" ]
Alright, let me just add few more words. The **Kaankal Malini Tantra** describes the *Varna-Samuha*. According to it varna from अ to अः are of *SatvaGuna*. From क to थ are *RajoGuna* and remaining of *TamoGuna*. It says: > > आदावसौ जायते च शब्दब्रह्म सनातन: । > वसुजिह्वा कालरात्र्या रूद्रडाकिन्यलंकृता । > विषबीजं श्रृतिमुखं  घ्रुवं हालाहल प्रिये ॥ॐ॥१८॥ > > > > > *Om* is made of three *Varnas*, ***Vasujihvā*** Aa-Kara (**अ**), ***kaalaraatri*** U-Kara (**उ**) and ***RudraRupe*** *Anuswara*. This word (ॐ) is *BrahamaRoopee*, and is *VishvaRoop* for this Apprent world. That is, it destroys the *Maya* and is the Mouth of "what is heard" (श्रृतिमुखं). > > >
OM is the Self, the Atman. Om is the means of liberation and freedom from the effects of ignorance. OM is indivisible, consists of three letters: A, U, and M. Every letter has different significance and represents the conscious states. The three states are waking, dreaming, and dreamless sleep, respectively, as well as the physical, astral, and causal levels of existence. When AUM is uttered, all the various parts of the vocal organ needed for speaking are used. AUM is a word that includes all sounds. [The significance of three letters; A, U, and M, in AUM](https://yogicank.com/category/scriptural-knowledge/) The letter ‘A’:- The letter A denotes to waking state or Vaisvanara (quarters of Atman). Vaiswanara, the first state of Self as the universal person in the physical being, corresponds to the first letter–A. Through the Japa and meditation of Om, they master the material world and control learn to control the senses themselves. The desires of masters are fulfilled because they are connected with the essence of creation and get the realization power. The letter ‘U’:- Taijasa, the Self as the universal person in the mental state, resembles the letter. Taijasa and the letter U both are views in the dream state. In this state, Taijasa grows in wisdom and intellect and is highly honored. Two qualities that a person possessed in this quarter are: – A master of this state develops the knowledge of humanity and delivers the inner momentum to assist questing souls in accessing knowledge. A master adheres to the quality to becomes one with all human beings in a sense, and the master is so attuned and comfortable with other humans that the other is virtually his own Self. This quality appears in the great saints and yogis. Whether a poor or a king approaches them, he feels that they are the dear and his own. Om is the way to move the thoughts from the subconscious state to the conscious. Meditation on OM will empower the yogi to know all about himself and understands others as well. No one can fool him. Like, Sivananda Ji. He was always very kind and humorous, went right to the truth of things about people’s characteristics. 3.The letter ‘M’:- M is the state of deep sleep where neither desires any object nor sees any dream. And the third quarter is Prajna, whose sphere is dreamless sleep, the state of total bliss and happiness with satisfaction. References:- <https://gita-society.com/wp-content/uploads/PDF/108upanishads.pdf> <http://yogananda.com.au/upa/Mandukya_Upanishad.html> <https://www.swami-krishnananda.org/mand/Mandukya_Upanishad.pdf>
115,798
How does Bobba Fett die? If you know the movie can you include it please?
2016/01/22
[ "https://scifi.stackexchange.com/questions/115798", "https://scifi.stackexchange.com", "https://scifi.stackexchange.com/users/59729/" ]
In the most embarrassing way ever: ---------------------------------- He's standing on a skiff when a blind Han Solo accidentally whacks his jet pack with a stick. The jet pack ignites, launching Boba Fett into the side of Jabba's sail barge. Then he bounces off and rolls into the Sarlacc Pit, where he "finds a new definition of pain and suffering as he is slowly digested over a thousand years." Reference: *Star Wars - Episode VI: Return of the Jedi* This demise has been parodied more than once by *Robot Chicken Star Wars*:
As of about five years after the events of Return of the Jedi, Boba Fett is not yet dead. The new series *The Book of Boba Fett* will continue Boba Fett’a story from *The Mandalorian, Season 2* where Boba Fett remains very much alive.
130,023
One example I've come across for this question is if someone asks "don't you want ice cream?" If I say yes, people typically interpret it as "I want ice cream", but grammatically it would mean that I didn't. If I say no, technically that's saying that I do want ice cream, but people interpret it as that I don't want ice cream. What do native English speakers do: be grammatically correct or be more easily understood?
2017/05/20
[ "https://ell.stackexchange.com/questions/130023", "https://ell.stackexchange.com", "https://ell.stackexchange.com/users/50332/" ]
Despite what some people may think, most speakers would rather be understood than be grammatically correct, since if one is not understood then \*what's the point?". Thankfully being grammatically correct has a *high correlation* to being understood. That is not to say even though one is being understood one should become lazy and not try to become better and improve. This particular *pattern* has been beaten into native speaker's brains enough that they will understand what is being said and what is being meant. After all, all a young child needs is to miss out on one ice cream and they will learn very quickly! The response is based on > > Q: Would you not like some ice cream? > >      *do you want some ice-cream?* > > > A: Yes, I **would** like some ice cream. > > > and not as you are thinking > > Q: You would not like some ice cream? > > A: Yes *(I agree with you that)* I would not like some ice cream. > > >
"Would you like some ice cream?" is entirely straightforward. "Would you not like some ice cream?" or "Wouldn't you like some ice cream?" or "Don't you want any ice cream?" seem to be appropriate if, for example, other people have been helping themselves to ice cream, but the person addressed has not, possibly out of shyness, and the speaker is encouraging them to take some. I think that there is an implied question "Is there some reason why you would not want ice cream?, because if there is no reason you should feel feel to go ahead." Because the question is very abbreviated, it would be good to make the answer explicit. "Thank you, yes, actually I would like some." OR "Thank you, no, actually I don't like it very much"
399,282
We're currently developing a Spring application that uses jdbcTemplates for the repository. We have a lot of functions that only require specific combinations of columns in our database. It would be wasteful to always fetch the entire objects. But separating the columns into their own table doesn't make sense semantically, due to other reasons. The sheer amount of these queries means that to keep everything progressing efficiently, it would be nice to only query for the columns that I actually need. But solutions I find always end up creating a lot of specific objects just for that single purpose, which feels like it could get very high-maintenance keeping track of all those different objects. It also means hand-writing a lot of queries, and exposing the result objects through the service layer. Using an object-oriented SQL framework doesn't really solve the problem. Writing a query that gets executed by the repository means we're just moving the issue a layer upwards. My question is: Is there an established way or pattern to call on the repository, say what you need to be returned, read out those details (while still keeping type saftey!) without having to create countless new model classes or delivering partially filled models that could be misused because someone didn't pay attention?
2019/10/03
[ "https://softwareengineering.stackexchange.com/questions/399282", "https://softwareengineering.stackexchange.com", "https://softwareengineering.stackexchange.com/users/328802/" ]
> > It would be wasteful to always fetch the entire objects. > > > First I would question this. If your objects are well-designed and not too bloated, the performance and memory overhead of fetching them completely instead of getting them partially is often negligible for most real-world cases. The performance of SQL queries over a network are way more dependend on the number of roundtrips they cause than on the number of columns involved (often it does not even make a huge difference if a query returns 1, 10 or 30 columns, and interestingly, this is often true for the number of rows as well). Investing too much thought into getting only the columns required for certain cases is often just a form of premature optimization. However, if you really know for sure - (and that means: after profiling!) - in your application that getting model objects partially, or querying tables partially will actually bring you a required performance benefit, then you need to design your repository interface in a way it allows to specify the columns to be queried (and construct the SQL query from that spec). Your model objects should have an extra boolean metadata field for each column which indicates if the column was loaded by the last query or not, and the repositories have to maintain this field accordingly. The "getter" method for each column then can throw an exception if another part of the program will try to access an unloaded column later. If your data objects map to several parent-child tables and your goal is just to use partial loading for avoiding SQL joins, it is also possible to implement this concept of partially loaded objects in coarser granularity, where extra metadata fields only indicates which child tables are actually loaded and which not. I don't know if there is an ORM or framework for your environment which supports this out-of-the-box (I guess jdbcTemplates does not), but as you asked for a non-ORM solution I guess you have to implement this concept by yourself either. The alternative to filling your pre-existing model-objects partially is to have individual, dynamic objects generated automatically for each query. This works best if there is programming language support for this: * as mentioned by @Euphoric, in C# LINQ can be utilized to generate objects of anonymous types for each query, which allows to create a type-safe solution * also in C#, one could utilize the type `dynamic` for this (see, for example, how [the Micro ORM Dapper](https://github.com/StackExchange/Dapper#execute-a-query-and-map-it-to-a-list-of-dynamic-objects) supports this). This is not type-safe anymore, however. * in almost any major language, query results could be (lists of) instances of dictionaries, where the keys are the column names and the values are the column values of each records (either as strings, or as objects encapsulating the basic scalar datatypes). This can be implemented easily in a generic fashion. Of course, this is even less type safe, but it is a solution which is quite common in many scripting languages.
In Spring Boot, you may have a look at the the Specification that is very powerful: * <https://www.baeldung.com/spring-data-criteria-queries> * <https://spring.io/blog/2011/04/26/advanced-spring-data-jpa-specifications-and-querydsl/> * <https://www.logicbig.com/tutorials/spring-framework/spring-data/specifications.html> > > My question is: Is there an established way or pattern to call on the > repository, say what you need to be returned, read out those details > (while still keeping type saftey!) without having to create countless > new model classes or delivering partially filled models that could be > misused because someone didn't pay attention? > > > To that specification, you may look at the Spring Rest API Search. Its not possible to get away without writing at least entity objects, but passing it through the layers, is possible with it <https://www.baeldung.com/rest-api-search-language-spring-data-specifications>
86,483
In my app, each player performs a task called a Skill Set, levels 1 - 8. A team leader can view all the players on the team to see each task status, which can be: 1. Incomplete 2. Complete and has not yet earned the badge (which must be explicitly granted by the team leader). 3. Complete and has earned the badge. I'm trying to design the UI for the team leader to indicate each of these three states, with a suitable indicator for state 2 so the team leader can click it to grant the badge. So far, I've got this, but it's terrible: [![enter image description here](https://i.stack.imgur.com/AOhkq.png)](https://i.stack.imgur.com/AOhkq.png) 1. Incomplete: -Blank- 2. Plus icon 3. Checkmark icon (an image of a badge would probably be better) What would be a better way to indicate each state, and especially state 2, where there's an action for the team leader to take? Update to show my implementation of accepted answer: ==================================================== Taking the suggestions below, I opted to show nothing for state 1, a gray checkmark for state 2, and a blue checkmark for state 3: [![enter image description here](https://i.stack.imgur.com/VgJWR.png)](https://i.stack.imgur.com/VgJWR.png) Each state has a custom tooltip (not shown) that explains what each state means and what you can do next.
2015/11/02
[ "https://ux.stackexchange.com/questions/86483", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/21151/" ]
What about using a progressbar indicator, where it at first is grey? When the progress is approved for badge, it changes over to another color: green. Badges then appear on the user profile. This saves you the hassle of implementing glyphicons and the users wont mistake the glyphicons for actions that they might think are not working.
We're not in the business of designing icons here. But I think it would be economical and clear to have separate icons for Complete and Badged, and show both icons for #3. That way, "Got the Badge" status is obvious not just because of the icon, but because there are two icons. It's easy at a glance to see the differences between no icon, one icon, and two icons. [![](https://i.stack.imgur.com/4RwMN.png)](https://i.stack.imgur.com/4RwMN.png)
86,483
In my app, each player performs a task called a Skill Set, levels 1 - 8. A team leader can view all the players on the team to see each task status, which can be: 1. Incomplete 2. Complete and has not yet earned the badge (which must be explicitly granted by the team leader). 3. Complete and has earned the badge. I'm trying to design the UI for the team leader to indicate each of these three states, with a suitable indicator for state 2 so the team leader can click it to grant the badge. So far, I've got this, but it's terrible: [![enter image description here](https://i.stack.imgur.com/AOhkq.png)](https://i.stack.imgur.com/AOhkq.png) 1. Incomplete: -Blank- 2. Plus icon 3. Checkmark icon (an image of a badge would probably be better) What would be a better way to indicate each state, and especially state 2, where there's an action for the team leader to take? Update to show my implementation of accepted answer: ==================================================== Taking the suggestions below, I opted to show nothing for state 1, a gray checkmark for state 2, and a blue checkmark for state 3: [![enter image description here](https://i.stack.imgur.com/VgJWR.png)](https://i.stack.imgur.com/VgJWR.png) Each state has a custom tooltip (not shown) that explains what each state means and what you can do next.
2015/11/02
[ "https://ux.stackexchange.com/questions/86483", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/21151/" ]
You could even go the route of: 1: Grayed out/faded checkmark 2: Green checkmark at full opacity 3: When the team leader clicks the checkmark, you could add a small badge/symbol to the checkmark. Rough idea attached. [![enter image description here](https://i.stack.imgur.com/JLmV8.png)](https://i.stack.imgur.com/JLmV8.png) Or where there is no faded checkmark at all, which would probably help clean up a lot of visual distractions, even if it was faded, and then a blue checkmark that when awarded the badge, changes to green with the decoration. Like so. [![enter image description here](https://i.stack.imgur.com/Oxj7Y.png)](https://i.stack.imgur.com/Oxj7Y.png)
We're not in the business of designing icons here. But I think it would be economical and clear to have separate icons for Complete and Badged, and show both icons for #3. That way, "Got the Badge" status is obvious not just because of the icon, but because there are two icons. It's easy at a glance to see the differences between no icon, one icon, and two icons. [![](https://i.stack.imgur.com/4RwMN.png)](https://i.stack.imgur.com/4RwMN.png)
86,483
In my app, each player performs a task called a Skill Set, levels 1 - 8. A team leader can view all the players on the team to see each task status, which can be: 1. Incomplete 2. Complete and has not yet earned the badge (which must be explicitly granted by the team leader). 3. Complete and has earned the badge. I'm trying to design the UI for the team leader to indicate each of these three states, with a suitable indicator for state 2 so the team leader can click it to grant the badge. So far, I've got this, but it's terrible: [![enter image description here](https://i.stack.imgur.com/AOhkq.png)](https://i.stack.imgur.com/AOhkq.png) 1. Incomplete: -Blank- 2. Plus icon 3. Checkmark icon (an image of a badge would probably be better) What would be a better way to indicate each state, and especially state 2, where there's an action for the team leader to take? Update to show my implementation of accepted answer: ==================================================== Taking the suggestions below, I opted to show nothing for state 1, a gray checkmark for state 2, and a blue checkmark for state 3: [![enter image description here](https://i.stack.imgur.com/VgJWR.png)](https://i.stack.imgur.com/VgJWR.png) Each state has a custom tooltip (not shown) that explains what each state means and what you can do next.
2015/11/02
[ "https://ux.stackexchange.com/questions/86483", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/21151/" ]
You could even go the route of: 1: Grayed out/faded checkmark 2: Green checkmark at full opacity 3: When the team leader clicks the checkmark, you could add a small badge/symbol to the checkmark. Rough idea attached. [![enter image description here](https://i.stack.imgur.com/JLmV8.png)](https://i.stack.imgur.com/JLmV8.png) Or where there is no faded checkmark at all, which would probably help clean up a lot of visual distractions, even if it was faded, and then a blue checkmark that when awarded the badge, changes to green with the decoration. Like so. [![enter image description here](https://i.stack.imgur.com/Oxj7Y.png)](https://i.stack.imgur.com/Oxj7Y.png)
What about using a progressbar indicator, where it at first is grey? When the progress is approved for badge, it changes over to another color: green. Badges then appear on the user profile. This saves you the hassle of implementing glyphicons and the users wont mistake the glyphicons for actions that they might think are not working.
86,483
In my app, each player performs a task called a Skill Set, levels 1 - 8. A team leader can view all the players on the team to see each task status, which can be: 1. Incomplete 2. Complete and has not yet earned the badge (which must be explicitly granted by the team leader). 3. Complete and has earned the badge. I'm trying to design the UI for the team leader to indicate each of these three states, with a suitable indicator for state 2 so the team leader can click it to grant the badge. So far, I've got this, but it's terrible: [![enter image description here](https://i.stack.imgur.com/AOhkq.png)](https://i.stack.imgur.com/AOhkq.png) 1. Incomplete: -Blank- 2. Plus icon 3. Checkmark icon (an image of a badge would probably be better) What would be a better way to indicate each state, and especially state 2, where there's an action for the team leader to take? Update to show my implementation of accepted answer: ==================================================== Taking the suggestions below, I opted to show nothing for state 1, a gray checkmark for state 2, and a blue checkmark for state 3: [![enter image description here](https://i.stack.imgur.com/VgJWR.png)](https://i.stack.imgur.com/VgJWR.png) Each state has a custom tooltip (not shown) that explains what each state means and what you can do next.
2015/11/02
[ "https://ux.stackexchange.com/questions/86483", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/21151/" ]
What about using a progressbar indicator, where it at first is grey? When the progress is approved for badge, it changes over to another color: green. Badges then appear on the user profile. This saves you the hassle of implementing glyphicons and the users wont mistake the glyphicons for actions that they might think are not working.
I would put a priority highlight on the "Completed, but not badged" state, since this is the one the administrator has to put HIS focus on - it's the most important information for him. So assuming the table can be as complex as possible, instead of only using an icon, I would also color code the table (colored background, colored space in front, "give me some attention label", ... ). I would have the badge fancy, but not the most prominent one.
86,483
In my app, each player performs a task called a Skill Set, levels 1 - 8. A team leader can view all the players on the team to see each task status, which can be: 1. Incomplete 2. Complete and has not yet earned the badge (which must be explicitly granted by the team leader). 3. Complete and has earned the badge. I'm trying to design the UI for the team leader to indicate each of these three states, with a suitable indicator for state 2 so the team leader can click it to grant the badge. So far, I've got this, but it's terrible: [![enter image description here](https://i.stack.imgur.com/AOhkq.png)](https://i.stack.imgur.com/AOhkq.png) 1. Incomplete: -Blank- 2. Plus icon 3. Checkmark icon (an image of a badge would probably be better) What would be a better way to indicate each state, and especially state 2, where there's an action for the team leader to take? Update to show my implementation of accepted answer: ==================================================== Taking the suggestions below, I opted to show nothing for state 1, a gray checkmark for state 2, and a blue checkmark for state 3: [![enter image description here](https://i.stack.imgur.com/VgJWR.png)](https://i.stack.imgur.com/VgJWR.png) Each state has a custom tooltip (not shown) that explains what each state means and what you can do next.
2015/11/02
[ "https://ux.stackexchange.com/questions/86483", "https://ux.stackexchange.com", "https://ux.stackexchange.com/users/21151/" ]
You could even go the route of: 1: Grayed out/faded checkmark 2: Green checkmark at full opacity 3: When the team leader clicks the checkmark, you could add a small badge/symbol to the checkmark. Rough idea attached. [![enter image description here](https://i.stack.imgur.com/JLmV8.png)](https://i.stack.imgur.com/JLmV8.png) Or where there is no faded checkmark at all, which would probably help clean up a lot of visual distractions, even if it was faded, and then a blue checkmark that when awarded the badge, changes to green with the decoration. Like so. [![enter image description here](https://i.stack.imgur.com/Oxj7Y.png)](https://i.stack.imgur.com/Oxj7Y.png)
I would put a priority highlight on the "Completed, but not badged" state, since this is the one the administrator has to put HIS focus on - it's the most important information for him. So assuming the table can be as complex as possible, instead of only using an icon, I would also color code the table (colored background, colored space in front, "give me some attention label", ... ). I would have the badge fancy, but not the most prominent one.
156,830
Consider a scenario where a managed package is deployed and is used in a specific region **(Western region)**.Now a new customer in another region **(Eastern Region)** needs some core level changes in that module which wont be suited for western region.To handle this the planning is to have a separate Repository for eastern region make necessary changes and make the package from the Repository and for introduction of new improvements both repository (Eastern and western) needs to be synchronized periodically. Is there any other better ways to handle this?
2017/01/20
[ "https://salesforce.stackexchange.com/questions/156830", "https://salesforce.stackexchange.com", "https://salesforce.stackexchange.com/users/37294/" ]
The exact tools that you're using will dictate the precise process, but the general idea is that you should be using three distinct code bases, not two. One is at the top of the hierarchy, which we'll call Core, which contains the central logic for the other two code bases, Eastern and Western. Any changes to Core should be synchronized to Eastern and Western, while changes to just Eastern or Western would not be synchronized back to Core. Core does not actually represent a necessarily "functional" version of your code base, but simply a template for the other two code bases to get updates from. The Eastern and Western code bases should refer to two separate managed packages as a matter of simplicity. There's going to be downsides any way you look at it, but having three code bases is going to introduce a minimum number of headaches for developers, and having just one managed package for Eastern and one for Western is going to minimize the number of headaches for clients, except for the precious few that may decide they installed the wrong version for whatever reason. It would be theoretically possible to build a set of three managed packages, where a client would first install Core followed by either Eastern or Western, but it's rather difficult for developers to work with, and requires extra steps from clients to install.
Before embarking on the complexity of separate branches (including the pain of merging changes) and separate managed packages (two security reviews), I suggest you review what is common and what is different for the two regions. (And perhaps consider how many other regions there may be in the future.) In software in general, many products come as a single "package" but can be configured to handle different regions and and alternate functionality. In a Salesforce app there are a wide variety of configuration mechanisms that can be used post-install and things like custom settings can be used within the package to swap functionality. If the differences are limited, you might be able to decide to deliver a single managed package that is the result of everyone working on a single code base (the simplest arrangement) or the result of two "region" branches being merged into a single "head" branch.
18,872,175
Iam using upgraded version of ADT only but Adt is creating problem while creating new project,not able to create new Activity also ![enter image description here](https://i.stack.imgur.com/Vjq1g.png)
2013/09/18
[ "https://Stackoverflow.com/questions/18872175", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2361186/" ]
You only need to copy the .frm files to new C:\xampp\mysql\data stop mysql and than start the mysql and it will start working hopefully.
well you have the files, but no mapping. I would create a new database (fresh install), create a new entry via the user interface, see how it appears in the database, and map your files along the same pattern.
2,346
One of [my questions](https://lifehacks.stackexchange.com/questions/2277/how-can-i-charge-a-single-rechargeable-battery) garnered a ["there are no hacks"](https://lifehacks.stackexchange.com/a/2281/47) answer and posted links to existing products. As explained [here](https://lifehacks.meta.stackexchange.com/questions/1170/is-no-an-answer), "No" is a valid answer. However, since they answered, other users have posted valid, working hacks making that answer outright wrong. What should I do? * Nothing? * Comment and hope the OP changes? * Flag for deletion? * Downvote (I've already done this)
2015/01/08
[ "https://lifehacks.meta.stackexchange.com/questions/2346", "https://lifehacks.meta.stackexchange.com", "https://lifehacks.meta.stackexchange.com/users/47/" ]
Wrong answers are supposed to be downvoted, not deleted. Leaving a comment explaining why the answer is wrong is helpful as well. Some users will delete their answers if they realize they're wrong, but it's not required that they do.
***I say comment and downvote if you so choose, but choose downvoting carefully. Answers that are wrong should be downvoted and commented on, because I have found no flag that says you can delete, because it is wrong.*** --- But in my opinion the Answer is both wrong and right. The answer could be interpreted that no answer could be found by that user and if no safe or healthy alternatives can be found then the answer even though stating "No" could be correct. Whose to say the other answers are safe and therefore good answers. I plan on leaving a comment on the person's post who answered to see their insight into the post, but I for one think that all downvoting and flagging should be paused until it is ruled out that this answer is not the best answer. In the future if you don't understand a answer you should comment about improving it, but if it is to far gone then you should flag it. But asking on Meta is appropriate, as well. **Here are some questions you should ask before downvoting:** * *Why is this post wrong?* * *Is this post worse than the other post?* * *Is this post safer(or less) than the other post?* ***Because just because users are posting "answers" doesn't mean that there are answers to a problem. The answer states:*** > > you should buy a better charger, that can charge any number of > batteries at the same time; anything else probably isn't worth the > effort, probably isn't safe, and could damage your batteries. > > > Unless the other posts can guarantee that they're methods don't damage your battery in anyway the answer could be correct.
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question ,this is actually a fallacy that ,I myself experienced after reaching long periods of bliss during meditation .What you are experiencing is called rapture,you started off well in meditation without expectation then when the blissful feeling came, instead of meditating on it, you became enchanted by it and thus wanted to have it back but you cant have it because you started desiring it,falling back in the loop of desire> attachment> suffering. What I had realized on the experiential level,is that there is no where to go in meditation ,I am already there ,all what I need to experience ,I am already experiencing.I realized that each experience whatever it is can be an object of meditation , a door way to end suffering.....Now If I cannot reach a certain state then the reality is ,,**that I cannot reach it** :).. knowing that right know and meditating on this reality by itself solves the problem.The quality of not reaching you cannot accept, you have an attitude towards it.When you accept not reaching the state you will transcend this thought.Then the state will come out of no where,its a state of connection with existence. See the issue meditation is trying to solve is not to keep you in a spiritual high,but to make you less possessed by things as well as **not** making you disinterested in life.Thus if you totally accept life as it is ,with its bad states as well as its good then you have understood the way. I recommend Vipassana meditation.Don't try in it to reach any state ,whatever you experience is your reality.No need to go anywhere or force any action.
What does one expect by meditation? Householder, only when [Drawbacks](http://zugangzureinsicht.org/html/ptf/dhamma/adinava/index_en.html) (adinava) are seen, one turns to [Renunciation](http://zugangzureinsicht.org/html/ptf/dhamma/nekkhamma/index_en.html) (nekkhamma). Meanwhile simply [right effort](http://zugangzureinsicht.org/html/ptf/dhamma/sacca/sacca4/samma-vayamo/index_en.html). > > "One tries to abandon wrong view & to enter into right view: This is one's right effort... > > > "One tries to abandon wrong resolve & to enter into right resolve: This is one's right effort... > > > "One tries to abandon wrong speech & to enter into right speech: This is one's right effort... > > > "One tries to abandon wrong action & to enter into right action: This is one's right effort... > > > "One tries to abandon wrong livelihood & to enter into right livelihood: This is one's right effort." > > > One seeing that there is no refuge in a home, one is able to go forth, outwardly also to develop what right effort is target about, as soon as seeing the limits. *(Note that this is not given for trade, exchange, stacks, entertainment and akusala deeds, but as a share of merits and to continue such for release)*
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question, one that I struggled with for years as well. The fact that you recognize this issue means that you are already well on your way, sadhu. What eventually worked for me is this: Simply be present with what's actually happening, and be mindful of any thought that arises, any feeling, any subtle pushing, any subtle leaning in, any expectation, etc. Once mindfulness touches these things, they lose their power and dissipate with your wise attention. See them, and upon seeing know they are not worth clinging to, they are impermanent, unsatisfying, and not you. They will fade on their own. Watching these objects rise and fall, you'll realize deeply that clinging to past or future experience is suffering. It's just another object to let go of. In your next sitting, see if you can note the arising expectations. See with the lense of the Three Characteristics, and then letting go happens naturally. Accept today's meditation as it is, there are no failed meditations. Surrender with Equanimity to all objects. Another trick is overcome your attachment to piti. Once you are feeling good in meditation, reset, unplugging the rapture. Reinforce that getting lost in "good experiences" is just like being absorbed in a wandering mind. Return to your primary meditation object. Do not stop within. Sharpen your mindfulness. Once reasonably still, increase your mindfulness power and see reality at a finer grain. With wise attention even expectations can be let go of. Sadhu & Good Luck. -with Metta
What does one expect by meditation? Householder, only when [Drawbacks](http://zugangzureinsicht.org/html/ptf/dhamma/adinava/index_en.html) (adinava) are seen, one turns to [Renunciation](http://zugangzureinsicht.org/html/ptf/dhamma/nekkhamma/index_en.html) (nekkhamma). Meanwhile simply [right effort](http://zugangzureinsicht.org/html/ptf/dhamma/sacca/sacca4/samma-vayamo/index_en.html). > > "One tries to abandon wrong view & to enter into right view: This is one's right effort... > > > "One tries to abandon wrong resolve & to enter into right resolve: This is one's right effort... > > > "One tries to abandon wrong speech & to enter into right speech: This is one's right effort... > > > "One tries to abandon wrong action & to enter into right action: This is one's right effort... > > > "One tries to abandon wrong livelihood & to enter into right livelihood: This is one's right effort." > > > One seeing that there is no refuge in a home, one is able to go forth, outwardly also to develop what right effort is target about, as soon as seeing the limits. *(Note that this is not given for trade, exchange, stacks, entertainment and akusala deeds, but as a share of merits and to continue such for release)*
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question ,this is actually a fallacy that ,I myself experienced after reaching long periods of bliss during meditation .What you are experiencing is called rapture,you started off well in meditation without expectation then when the blissful feeling came, instead of meditating on it, you became enchanted by it and thus wanted to have it back but you cant have it because you started desiring it,falling back in the loop of desire> attachment> suffering. What I had realized on the experiential level,is that there is no where to go in meditation ,I am already there ,all what I need to experience ,I am already experiencing.I realized that each experience whatever it is can be an object of meditation , a door way to end suffering.....Now If I cannot reach a certain state then the reality is ,,**that I cannot reach it** :).. knowing that right know and meditating on this reality by itself solves the problem.The quality of not reaching you cannot accept, you have an attitude towards it.When you accept not reaching the state you will transcend this thought.Then the state will come out of no where,its a state of connection with existence. See the issue meditation is trying to solve is not to keep you in a spiritual high,but to make you less possessed by things as well as **not** making you disinterested in life.Thus if you totally accept life as it is ,with its bad states as well as its good then you have understood the way. I recommend Vipassana meditation.Don't try in it to reach any state ,whatever you experience is your reality.No need to go anywhere or force any action.
To cultivate the will to do something (anything, no matter how trivial), you must understand why that thing you want to do is important or urgent to do. In other words, you must understand how you view the world (i.e. you must understand "your" ideas, expectations, and beliefs about the world, its parts, the relation between its parts and your role in such framework) in order to comprehend what your values are. Your values are born from your world-view, and indicate the things/facts/entities/events/ideas that you consider worthwhile. Once you undestand deeply this theory of how emotions work, then you can start to see how "our" will operates: we do things when we are convinced that effort is worth being invested in the things done. Now, the next step is to "convince" your emotions and values about the importance of letting go. To do so, you have to integrate new information about the Dhamma, and why letting go is such and important part of the path. This information can be reached by your own constant reflection and thoughts; by studying the suttas; or by listening or reading from other students/disciples of the Buddhadhamma. To being able to let go, first you have to learn, at least theoretically, that feelings, perceptions, and thoughts are not "yours", neither "you". They are, instead, just habitual mental patterns, born from ignorance (i.e., from ignoring the Dhamma). Once you stop identifying with feelings, perception and thoughts, you will be able to start seeing them just by what they are: inertial habits of thought. Then, letting go becomes the natural progression, almost a by-product of all previous reflection and learning. This "by-product" is the result of various factors interacting with each other. How to cultivate such factors? The Noble Eightfold Path help us to train each one of them. The key idea to keep in mind is that the training is gradual and progressive. The release of the mind takes its time, and goes according to the effort put into the practice of the whole Eightfold Path. As your emotions get reasons and evidence of the truth behind the Buddhadhamma, then your deeds will gradually go towards where this new emotional evidence/inormation leads you: liberation. In sum, to exert effort is to have the will to take some course of action. But to have that will, you must have conviction of the relevance of such course of action in which you'll put your effort. That conviction grows from progressive understanding of the Dhamma. Because of all the above, it is said that Right View is the forerunnner of the practice. See [in this link](https://www.accesstoinsight.org/ptf/dhamma/sacca/sacca4/samma-ditthi/index.html) for more details. Have a wonderful day. Kind regards!
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question, one that I struggled with for years as well. The fact that you recognize this issue means that you are already well on your way, sadhu. What eventually worked for me is this: Simply be present with what's actually happening, and be mindful of any thought that arises, any feeling, any subtle pushing, any subtle leaning in, any expectation, etc. Once mindfulness touches these things, they lose their power and dissipate with your wise attention. See them, and upon seeing know they are not worth clinging to, they are impermanent, unsatisfying, and not you. They will fade on their own. Watching these objects rise and fall, you'll realize deeply that clinging to past or future experience is suffering. It's just another object to let go of. In your next sitting, see if you can note the arising expectations. See with the lense of the Three Characteristics, and then letting go happens naturally. Accept today's meditation as it is, there are no failed meditations. Surrender with Equanimity to all objects. Another trick is overcome your attachment to piti. Once you are feeling good in meditation, reset, unplugging the rapture. Reinforce that getting lost in "good experiences" is just like being absorbed in a wandering mind. Return to your primary meditation object. Do not stop within. Sharpen your mindfulness. Once reasonably still, increase your mindfulness power and see reality at a finer grain. With wise attention even expectations can be let go of. Sadhu & Good Luck. -with Metta
To cultivate the will to do something (anything, no matter how trivial), you must understand why that thing you want to do is important or urgent to do. In other words, you must understand how you view the world (i.e. you must understand "your" ideas, expectations, and beliefs about the world, its parts, the relation between its parts and your role in such framework) in order to comprehend what your values are. Your values are born from your world-view, and indicate the things/facts/entities/events/ideas that you consider worthwhile. Once you undestand deeply this theory of how emotions work, then you can start to see how "our" will operates: we do things when we are convinced that effort is worth being invested in the things done. Now, the next step is to "convince" your emotions and values about the importance of letting go. To do so, you have to integrate new information about the Dhamma, and why letting go is such and important part of the path. This information can be reached by your own constant reflection and thoughts; by studying the suttas; or by listening or reading from other students/disciples of the Buddhadhamma. To being able to let go, first you have to learn, at least theoretically, that feelings, perceptions, and thoughts are not "yours", neither "you". They are, instead, just habitual mental patterns, born from ignorance (i.e., from ignoring the Dhamma). Once you stop identifying with feelings, perception and thoughts, you will be able to start seeing them just by what they are: inertial habits of thought. Then, letting go becomes the natural progression, almost a by-product of all previous reflection and learning. This "by-product" is the result of various factors interacting with each other. How to cultivate such factors? The Noble Eightfold Path help us to train each one of them. The key idea to keep in mind is that the training is gradual and progressive. The release of the mind takes its time, and goes according to the effort put into the practice of the whole Eightfold Path. As your emotions get reasons and evidence of the truth behind the Buddhadhamma, then your deeds will gradually go towards where this new emotional evidence/inormation leads you: liberation. In sum, to exert effort is to have the will to take some course of action. But to have that will, you must have conviction of the relevance of such course of action in which you'll put your effort. That conviction grows from progressive understanding of the Dhamma. Because of all the above, it is said that Right View is the forerunnner of the practice. See [in this link](https://www.accesstoinsight.org/ptf/dhamma/sacca/sacca4/samma-ditthi/index.html) for more details. Have a wonderful day. Kind regards!
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question ,this is actually a fallacy that ,I myself experienced after reaching long periods of bliss during meditation .What you are experiencing is called rapture,you started off well in meditation without expectation then when the blissful feeling came, instead of meditating on it, you became enchanted by it and thus wanted to have it back but you cant have it because you started desiring it,falling back in the loop of desire> attachment> suffering. What I had realized on the experiential level,is that there is no where to go in meditation ,I am already there ,all what I need to experience ,I am already experiencing.I realized that each experience whatever it is can be an object of meditation , a door way to end suffering.....Now If I cannot reach a certain state then the reality is ,,**that I cannot reach it** :).. knowing that right know and meditating on this reality by itself solves the problem.The quality of not reaching you cannot accept, you have an attitude towards it.When you accept not reaching the state you will transcend this thought.Then the state will come out of no where,its a state of connection with existence. See the issue meditation is trying to solve is not to keep you in a spiritual high,but to make you less possessed by things as well as **not** making you disinterested in life.Thus if you totally accept life as it is ,with its bad states as well as its good then you have understood the way. I recommend Vipassana meditation.Don't try in it to reach any state ,whatever you experience is your reality.No need to go anywhere or force any action.
you are lucky that the buddha had the same problem. His solution is nekhammasukha <https://suttacentral.net/an2.64-76/en/sujato> and this is not normal for puthujjanas. In fact it is this lack of nekhammasukha which prevents people who hate nekkhammasukha to actually progress on the path. His solution is this > > [1] “Then the thought occurred to me: ‘If, having seen the drawback of > sensual pleasures, I were to pursue that theme; and if, having > understood the reward of renunciation, I were to familiarize myself > with it, there’s the possibility that my heart would leap up at > renunciation, grow confident, steadfast, & firm, seeing it as peace.’ > > > <https://www.dhammatalks.org/suttas/AN/AN9_41.html> this stuff about seeing the drawbacks of something works well for non-puthujjanas, because what they lack is mostly energy and they have at worst a tiny bit of wisdom, perhaps even puthujjanas who have faith in the claims of the buddha, but for others, they have to ponder over those > > "I myself, before my Awakening, when I was still an unawakened > bodhisatta, saw as it actually was with right discernment that > sensuality is of much stress, much despair, & greater drawbacks, but > as long as I had not attained a rapture & pleasure apart from > sensuality, apart from unskillful mental qualities, or something more > peaceful than that, I did not claim that I could not be tempted by > sensuality. But when I saw as it actually was with right discernment > that sensuality is of much stress, much despair, & greater drawbacks, > and I had attained a rapture & pleasure apart from sensuality, apart > from unskillful mental qualities, or something more peaceful than > that, that was when I claimed that I could not be tempted by > sensuality. "And what is the drawback of sensuality? There is the case > where, on account of the occupation by which a clansman makes a living > — whether checking or accounting or calculating or plowing or trading > or cattle tending or archery or as a king's man, or whatever the > occupation may be — he faces cold, he faces heat, being harassed by > mosquitoes & flies, wind & sun & creeping things, dying from hunger & > thirst. > > > <https://www.accesstoinsight.org/tipitaka/mn/mn.014.than.html> lots of contemplation here too <https://www.accesstoinsight.org/tipitaka/an/an10/an10.060.than.html>
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question, one that I struggled with for years as well. The fact that you recognize this issue means that you are already well on your way, sadhu. What eventually worked for me is this: Simply be present with what's actually happening, and be mindful of any thought that arises, any feeling, any subtle pushing, any subtle leaning in, any expectation, etc. Once mindfulness touches these things, they lose their power and dissipate with your wise attention. See them, and upon seeing know they are not worth clinging to, they are impermanent, unsatisfying, and not you. They will fade on their own. Watching these objects rise and fall, you'll realize deeply that clinging to past or future experience is suffering. It's just another object to let go of. In your next sitting, see if you can note the arising expectations. See with the lense of the Three Characteristics, and then letting go happens naturally. Accept today's meditation as it is, there are no failed meditations. Surrender with Equanimity to all objects. Another trick is overcome your attachment to piti. Once you are feeling good in meditation, reset, unplugging the rapture. Reinforce that getting lost in "good experiences" is just like being absorbed in a wandering mind. Return to your primary meditation object. Do not stop within. Sharpen your mindfulness. Once reasonably still, increase your mindfulness power and see reality at a finer grain. With wise attention even expectations can be let go of. Sadhu & Good Luck. -with Metta
you are lucky that the buddha had the same problem. His solution is nekhammasukha <https://suttacentral.net/an2.64-76/en/sujato> and this is not normal for puthujjanas. In fact it is this lack of nekhammasukha which prevents people who hate nekkhammasukha to actually progress on the path. His solution is this > > [1] “Then the thought occurred to me: ‘If, having seen the drawback of > sensual pleasures, I were to pursue that theme; and if, having > understood the reward of renunciation, I were to familiarize myself > with it, there’s the possibility that my heart would leap up at > renunciation, grow confident, steadfast, & firm, seeing it as peace.’ > > > <https://www.dhammatalks.org/suttas/AN/AN9_41.html> this stuff about seeing the drawbacks of something works well for non-puthujjanas, because what they lack is mostly energy and they have at worst a tiny bit of wisdom, perhaps even puthujjanas who have faith in the claims of the buddha, but for others, they have to ponder over those > > "I myself, before my Awakening, when I was still an unawakened > bodhisatta, saw as it actually was with right discernment that > sensuality is of much stress, much despair, & greater drawbacks, but > as long as I had not attained a rapture & pleasure apart from > sensuality, apart from unskillful mental qualities, or something more > peaceful than that, I did not claim that I could not be tempted by > sensuality. But when I saw as it actually was with right discernment > that sensuality is of much stress, much despair, & greater drawbacks, > and I had attained a rapture & pleasure apart from sensuality, apart > from unskillful mental qualities, or something more peaceful than > that, that was when I claimed that I could not be tempted by > sensuality. "And what is the drawback of sensuality? There is the case > where, on account of the occupation by which a clansman makes a living > — whether checking or accounting or calculating or plowing or trading > or cattle tending or archery or as a king's man, or whatever the > occupation may be — he faces cold, he faces heat, being harassed by > mosquitoes & flies, wind & sun & creeping things, dying from hunger & > thirst. > > > <https://www.accesstoinsight.org/tipitaka/mn/mn.014.than.html> lots of contemplation here too <https://www.accesstoinsight.org/tipitaka/an/an10/an10.060.than.html>
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question, one that I struggled with for years as well. The fact that you recognize this issue means that you are already well on your way, sadhu. What eventually worked for me is this: Simply be present with what's actually happening, and be mindful of any thought that arises, any feeling, any subtle pushing, any subtle leaning in, any expectation, etc. Once mindfulness touches these things, they lose their power and dissipate with your wise attention. See them, and upon seeing know they are not worth clinging to, they are impermanent, unsatisfying, and not you. They will fade on their own. Watching these objects rise and fall, you'll realize deeply that clinging to past or future experience is suffering. It's just another object to let go of. In your next sitting, see if you can note the arising expectations. See with the lense of the Three Characteristics, and then letting go happens naturally. Accept today's meditation as it is, there are no failed meditations. Surrender with Equanimity to all objects. Another trick is overcome your attachment to piti. Once you are feeling good in meditation, reset, unplugging the rapture. Reinforce that getting lost in "good experiences" is just like being absorbed in a wandering mind. Return to your primary meditation object. Do not stop within. Sharpen your mindfulness. Once reasonably still, increase your mindfulness power and see reality at a finer grain. With wise attention even expectations can be let go of. Sadhu & Good Luck. -with Metta
Great question ,this is actually a fallacy that ,I myself experienced after reaching long periods of bliss during meditation .What you are experiencing is called rapture,you started off well in meditation without expectation then when the blissful feeling came, instead of meditating on it, you became enchanted by it and thus wanted to have it back but you cant have it because you started desiring it,falling back in the loop of desire> attachment> suffering. What I had realized on the experiential level,is that there is no where to go in meditation ,I am already there ,all what I need to experience ,I am already experiencing.I realized that each experience whatever it is can be an object of meditation , a door way to end suffering.....Now If I cannot reach a certain state then the reality is ,,**that I cannot reach it** :).. knowing that right know and meditating on this reality by itself solves the problem.The quality of not reaching you cannot accept, you have an attitude towards it.When you accept not reaching the state you will transcend this thought.Then the state will come out of no where,its a state of connection with existence. See the issue meditation is trying to solve is not to keep you in a spiritual high,but to make you less possessed by things as well as **not** making you disinterested in life.Thus if you totally accept life as it is ,with its bad states as well as its good then you have understood the way. I recommend Vipassana meditation.Don't try in it to reach any state ,whatever you experience is your reality.No need to go anywhere or force any action.
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question ,this is actually a fallacy that ,I myself experienced after reaching long periods of bliss during meditation .What you are experiencing is called rapture,you started off well in meditation without expectation then when the blissful feeling came, instead of meditating on it, you became enchanted by it and thus wanted to have it back but you cant have it because you started desiring it,falling back in the loop of desire> attachment> suffering. What I had realized on the experiential level,is that there is no where to go in meditation ,I am already there ,all what I need to experience ,I am already experiencing.I realized that each experience whatever it is can be an object of meditation , a door way to end suffering.....Now If I cannot reach a certain state then the reality is ,,**that I cannot reach it** :).. knowing that right know and meditating on this reality by itself solves the problem.The quality of not reaching you cannot accept, you have an attitude towards it.When you accept not reaching the state you will transcend this thought.Then the state will come out of no where,its a state of connection with existence. See the issue meditation is trying to solve is not to keep you in a spiritual high,but to make you less possessed by things as well as **not** making you disinterested in life.Thus if you totally accept life as it is ,with its bad states as well as its good then you have understood the way. I recommend Vipassana meditation.Don't try in it to reach any state ,whatever you experience is your reality.No need to go anywhere or force any action.
**Countless sittings are wasted on this.** Ouch! Although it's nice to have a clean windshield, the best time to clean a windshield is when it's dirty. Practice is kind of like that. We look for the things that cause suffering and renounce them. Here's [MN8](https://suttacentral.net/mn8/en/sujato): > > It’s possible that a certain mendicant, quite secluded from sensual pleasures, secluded from unskillful qualities, might enter and remain in the first absorption, which has the rapture and bliss born of seclusion, while placing the mind and keeping it connected. > They might think > they’re practicing self-effacement. > But in the training of the noble one these are not called ‘self-effacement’; > > > For example, if you are restlessly and impatiently striving for a "good meditation", that itself is something to look into. And what you might find is a delight in good meditation.
34,160
I find that the biggest block in my practice is the will to reach a good state. There's constantly an expectation from the experience to be good. I found that only by letting this go you can truly reach a good state, but its very hard to let this go. Countless sittings are wasted on this. How can I learn to let go of this need?
2019/07/20
[ "https://buddhism.stackexchange.com/questions/34160", "https://buddhism.stackexchange.com", "https://buddhism.stackexchange.com/users/16668/" ]
Great question, one that I struggled with for years as well. The fact that you recognize this issue means that you are already well on your way, sadhu. What eventually worked for me is this: Simply be present with what's actually happening, and be mindful of any thought that arises, any feeling, any subtle pushing, any subtle leaning in, any expectation, etc. Once mindfulness touches these things, they lose their power and dissipate with your wise attention. See them, and upon seeing know they are not worth clinging to, they are impermanent, unsatisfying, and not you. They will fade on their own. Watching these objects rise and fall, you'll realize deeply that clinging to past or future experience is suffering. It's just another object to let go of. In your next sitting, see if you can note the arising expectations. See with the lense of the Three Characteristics, and then letting go happens naturally. Accept today's meditation as it is, there are no failed meditations. Surrender with Equanimity to all objects. Another trick is overcome your attachment to piti. Once you are feeling good in meditation, reset, unplugging the rapture. Reinforce that getting lost in "good experiences" is just like being absorbed in a wandering mind. Return to your primary meditation object. Do not stop within. Sharpen your mindfulness. Once reasonably still, increase your mindfulness power and see reality at a finer grain. With wise attention even expectations can be let go of. Sadhu & Good Luck. -with Metta
**Countless sittings are wasted on this.** Ouch! Although it's nice to have a clean windshield, the best time to clean a windshield is when it's dirty. Practice is kind of like that. We look for the things that cause suffering and renounce them. Here's [MN8](https://suttacentral.net/mn8/en/sujato): > > It’s possible that a certain mendicant, quite secluded from sensual pleasures, secluded from unskillful qualities, might enter and remain in the first absorption, which has the rapture and bliss born of seclusion, while placing the mind and keeping it connected. > They might think > they’re practicing self-effacement. > But in the training of the noble one these are not called ‘self-effacement’; > > > For example, if you are restlessly and impatiently striving for a "good meditation", that itself is something to look into. And what you might find is a delight in good meditation.
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
For the first part of your question you might want to checkout the [mono project](http://mono-project.com/Main_Page) which is an implementation of .net in c#. As to the second part, I don't know why you'd want to implement the Linux Kernal in .net. It seems like a bit of a backwards way of approaching the thing. If you're interested in implementing an operating system in c# check out [Singularity](http://research.microsoft.com/en-us/projects/singularity/) which is a research operating system developed in c#
You could try to modify the kernel, that he uses the mono-framework and runs only managed code in userspace.
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
you can do this using combination of Visual Studio .NET + Grasshopper. Plase check this linke for more information. <http://dev.mainsoft.com/Default.aspx?tabid=45>
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
For the first part of your question you might want to checkout the [mono project](http://mono-project.com/Main_Page) which is an implementation of .net in c#. As to the second part, I don't know why you'd want to implement the Linux Kernal in .net. It seems like a bit of a backwards way of approaching the thing. If you're interested in implementing an operating system in c# check out [Singularity](http://research.microsoft.com/en-us/projects/singularity/) which is a research operating system developed in c#
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
What makes the Linux kernel run is the c runtime libraries, so add in the mono libraries and other dependencies and I guess it make be possible to get it to work(at least with C#).
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The functionality of the .NET framework is too rich to make sense to build it all on top of a bare Linux kernel without substantial userspace helpers starting with libc. Not impossible, but way too ambitious, IMHO, for a single student's PhD thesis (and much more so if you're aiming at a lower degree than a doctorate). Look at [mono](http://mono-project.com/Main_Page) for a Windows-independent implementation of .NET and all it depends on -- and think of how you could reduce (not eliminate;-) userspace dependencies on your own, within your thesis' span, in a fork of Mono of your own (assuming any thesis advisor would sign up to support you in that, of course).
For the first part of your question you might want to checkout the [mono project](http://mono-project.com/Main_Page) which is an implementation of .net in c#. As to the second part, I don't know why you'd want to implement the Linux Kernal in .net. It seems like a bit of a backwards way of approaching the thing. If you're interested in implementing an operating system in c# check out [Singularity](http://research.microsoft.com/en-us/projects/singularity/) which is a research operating system developed in c#
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
You could try to modify the kernel, that he uses the mono-framework and runs only managed code in userspace.
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
For the first part of your question you might want to checkout the [mono project](http://mono-project.com/Main_Page) which is an implementation of .net in c#. As to the second part, I don't know why you'd want to implement the Linux Kernal in .net. It seems like a bit of a backwards way of approaching the thing. If you're interested in implementing an operating system in c# check out [Singularity](http://research.microsoft.com/en-us/projects/singularity/) which is a research operating system developed in c#
you can do this using combination of Visual Studio .NET + Grasshopper. Plase check this linke for more information. <http://dev.mainsoft.com/Default.aspx?tabid=45>
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The functionality of the .NET framework is too rich to make sense to build it all on top of a bare Linux kernel without substantial userspace helpers starting with libc. Not impossible, but way too ambitious, IMHO, for a single student's PhD thesis (and much more so if you're aiming at a lower degree than a doctorate). Look at [mono](http://mono-project.com/Main_Page) for a Windows-independent implementation of .NET and all it depends on -- and think of how you could reduce (not eliminate;-) userspace dependencies on your own, within your thesis' span, in a fork of Mono of your own (assuming any thesis advisor would sign up to support you in that, of course).
you can do this using combination of Visual Studio .NET + Grasshopper. Plase check this linke for more information. <http://dev.mainsoft.com/Default.aspx?tabid=45>
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The functionality of the .NET framework is too rich to make sense to build it all on top of a bare Linux kernel without substantial userspace helpers starting with libc. Not impossible, but way too ambitious, IMHO, for a single student's PhD thesis (and much more so if you're aiming at a lower degree than a doctorate). Look at [mono](http://mono-project.com/Main_Page) for a Windows-independent implementation of .NET and all it depends on -- and think of how you could reduce (not eliminate;-) userspace dependencies on your own, within your thesis' span, in a fork of Mono of your own (assuming any thesis advisor would sign up to support you in that, of course).
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
1,605,171
I am a computer science engineering student and I've been programming on the .NET Framework for 2-3 years but I haven't used Linux. I thought, for my final year project, a Linux distro would be good. I was thinking of a few ways to implement it, when this crazy idea occurred to me: > > Can we implement the .NET Framework first on the Linux Kernel and build the rest using it? > > > This could be the weirdest question but please be give me a way if I am right in *asking* the question and correct me if am wrong.
2009/10/22
[ "https://Stackoverflow.com/questions/1605171", "https://Stackoverflow.com", "https://Stackoverflow.com/users/53467/" ]
The CLR (aka .NET framework) has been implemented at least once on Linux, in Mono. True, you could make a Linux distribution which ships Mono, or uses .NET for some of its startup scripts / daemons. That would be fine. Someone has probably already done this. I don't see exactly what advantage trying to run managed code in the kernel would confer, probably none. Running managed code in the kernel would be very difficult because in many parts of the kernel memory allocation needs to be done carefully - you'd probably not have enough control. Moreover, the kernel stacks are probably too small by default etc. There are some contexts in the kernel where heap memory allocation must not be done at all.
The .NET framework contains a lot of utility classes like strings or collections. As transitioning from user space to kernel space comes at a cost, performance would actually get worse, unless you manage to run your whole application in kernel space. Wouldn't wanna do a syscall every time I add something to a list, or check the length of a string.