A needle pulling thread.

I wanted to know how I should go about creating a program that allows the user to control the number of threads the program uses. This would be a network app that I would like the program to give the user a option of set the number of connections the program can make. I know how to explicitly set the number in the code but not sure how to write a class that would help with this problem.
Thanks

It sounds to me like you are describing a "thread pool", where some class controls a pool of N threads (N configurable by the user) and doles them out to code that needs to use threads. You should be to search out examples of that somewhere. If you were hoping to control the number of threads created by arbitrary code using "new Thread()..." I think you are out of luck.

Similar Messages

  • All-in-one cleaning cloth & carrying pouch for the iPhone

    As I was looking for an all-in-one solution to protect my iPhone in my pocket that could also double as a cleaning cloth, I came up with a low-cost solution. I purchased a cleaning cloth pouch used for sunglasses from Sunglass Hut.
    While being able to fit my iPhone inside, I wasn't quite satisfied with the length, so I folded the bag over and stitched across. Now it feels as if the bag was made for the iPhone. Here's how...
    *Items need:*
    Cloth bag from Sunglass Hut for $6.99 (comes in different colors...I chose black)
    Straight pins
    Needle & black thread
    Directions:
    1. Turn the bag inside out
    2. Fold the bottom of the bag 3/4" and pin down
    3. Stitch across about 1/2" away from the folded end.
    4. Turn the bag inside out again...voila!
    enjoy!

    In addition, I like how I can wipe fingerprints off the screen while still in the pouch...pristine iPhone everytime

  • Script to perform post server build configurations and validate settings

    Hello!
    I would like to create a script that can set numerous Windows server settings and validate that they are indeed set correctly, based on a predefined list of settings.
    For example: A third party company deploys servers from templates.  I am tasked with going through the build and verifying certain configurations and settings are set, based on my company's build request. Depending on where the server resides (physically)
    it will get specific settings.
    Is there a way to script making the correct changes and also display a validation report that all the settings/attributes that were changed, meet the expected value?
    Settings like dns settings, netbios, pagefile size/location, Terminal Server host settings(session limits etc), local admin accounts, windows features, bginfo, drive letters, drive sizes, installed ram, number of cpu cores, date/timezone, and the list goes
    on.  I currently run a few batch files to make the changes, but I'm still required to check that the settings are correct.  It would be nice to have all the batch files rolled into a script that makes changes and then runs a validation test against
    those changes. Or at the least, make changes and display all of the current values/settings so I can validate they are the correct ones.
    I have little scripting/powershell experience.  I could use some assistance to get me going in the right direction.

    Here's some intro information that should give you a place to start pulling threads:
    http://blogs.technet.com/b/heyscriptingguy/archive/2014/03/09/weekend-scripter-intro-to-powershell-4-0-desired-state-configuration.aspx
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • I need to transfer playlists from my old iphone into itunes so that I can then add them to my new iphone 6.  However, none of the playlists on my iphone appear when I connect to my macbook.  I have read other threads but have not found answer.  help!

    I am a group exercise instructor and rely heavily on my playlists.  My old phone is an iphone 4s and I just bought an Iphone 6.  I also have a macbook where I keep my itunes account, but I create all my playlists on my phone.  I need to transfer those playlists from my old iphone into itunes in my computer so that I can then add them to my new iphone 6.  However, none of the playlists on my iphone appear when I connect to my macbook.  I have read other threads where the suggestion was to attach the old phone to itunes, find the phone in itunes and click the little arrow to the left to show the playlists.  Then right click on the playlist and export it, saving it to the desktop, to then import it into itunes.  However, in my case, the playlists do not show up when the phone is connected to itunes.  I have clicked on the little arrow and all I get is "music", "purchased", etc., but none of my playlists.   I'm sure some years back I probably deleted something in my itunes library and now none of my playlists show.  Please help me.  I would hate to have to recreate all of my playlists.  Thank you!

    I know it sounds weird, and that is the reason I posted my question.  Because my case is not like all the ones I've found online and it's confusing.  I added a screen capture of my itunes with my old iphone (the one that houses my playlists) connected to it.
    My playlists "ARE"  in my iphone 4s.  They are still there even though they do not show up when I plug in to itunes in my computer. 
    When connecting my phone to itunes on my macbook, the playlists do not appear anywhere in itunes.  I have found my connected iphone icon, I have clicked on the arrow next to it and it does pull up the standard lists that come with the iphone/itunes:  Music, Movies, TV shows, books.  That's it! below that is "Genius" and below "Geniuns" is "PLAYLISTS"  but the only playlist of mine that shows there is one that I created several years back titled "90's music" and that one I created it on my computer, not my phone.  Under "90's music" there are also other standard playlists that itunes automatically adds.
    Does anyone else have this issue or know how to get around this.  I am starting to think that I am going to have to recreate these lists on my computer

  • Wait/notify, await/signal, faster blockingqueue that scales with N threads

    Hi,
    I have been benchmarking a blockingqueue. It holds 100 items before writers block. It uses not-empty/not-full semaphores. Typical stuff.
    I have noticed that with 1 writer and 1 reader threads, using synchronized()+wait/notify is faster than reentrantlock+await/signal.
    I tried to find the point (in number of W/R threads) where reentrant lock is better.
    For the remainder os the discussion, I must say that I never use 'fair' rentrantlocks: I tested them and they are always slower than synchronized.
    So, I always use 'unfair' locks.
    The thing is, the tests results are messed up. I mean I would expect a monotonous progression in reentrant lock performance as the number of W/R threads is increasing. But the reality (on a dual core dual opteron) shows strange progressions. Without diving into numbers...
    I would like to hear about the experiences of other people relatively to:
    -queue implementations and readers semaphore, writers semaphores most efficient patterns.
    -scalability observations and implementation choices related to the number of threads to be concurrent.
    Of course I have been experimenting with notify()/signal() instead of notifyAll()/signalAll() in order to avoid waking up too many writers/readers that do not stand a chance to perform their enqueue/dequeue without going back to wait()/await() again (in my case, fairness isn't an issue for readers, and for the moment, I accept unfair enqueue from writers). Also, a reader can notify/signal not only a waiting writer but another waiting reader if the queue isn't empty after its own dequeue. I'm about to do the dual notify/signal for writers: not only notify/signal a waiting reader but also another waiting writer if the queue isn't full after its own enqueue.
    Of course, this good-intentions implementation ends up notifying/signaling a lot. I'm searching for a new way of thinking, in case I have been blinded by too much obsession on my current implementation...! :-)
    Thanks.
    PS: for those of you that wonders why I don't use j.u.c array blocking queue, that's because I need:
    a) many queues enqueue to be able to notify/signal a single thread (1 thread waiting to read many queues). This implies an externally plugged-in readers (not-empty) semaphore.
    b) enqueueMany(array), dequeueMany(int max) ->array

    In Java 5 ReentrantLock provides much better performance under contention than built-in sync. Conversely built-in uncontended sync is always much faster. In Java 6 contended built-in sync has pulled back some ground on ReentrantLock. So with only two threads it is not surprising that built-in sync is faster.
    So the switch over point depends on the level of contention. This is a function of the number of threads (and CPU's) and what they do while holding the lock and between holding the lock.
    For evaluating read/write synchronization you need to have a read operation that is relatively long to dominate the cost the heavier read-lock. You also need sufficient parallelism to allow enough concurrent readers to make overall reader "throughput" significant.
    Benchmarks are seldom that useful/insightful unless realistic access patterns and workloads are used.

  • Hiding fields in phtmlb:formLayout (new thread)

    Original Thread:
    hiding fields in a bsp...
    What Kevin is talking about, is some special development we did for HR eRecruitement. Well, let us turn it around. They helped us, and we returned the favour. And yes, this is actually some of the more interesting bits and pieces of BSP. (Fresh meat to discuss:).
    Effectively, the <phtmlb:formLayout> has two functionalities. The first is a very easy way to layout a form. The second is a way via customization to dynamically have customers overwrite the visibility/required property of each field. So the SAP puts the maximum number of fields into the formlayout, and the customer can then via customization remove some, flag some as required, etc.
    (If anybody should feel like writing a long weblog on this, I will provide technical detail, plus examples offline.)
    The interesting database tables are these PHTMLB_FLI* ones. Part of the agreement was that the application itself provides for a UI to update the table. Also, the application itself controls which fields are changable.
    If you really want to play, look at SBSPEXT_PHTMLB, the formLayout example. In the top part, there are also a serious of dropdown listboxes. What these do, is that they update the customization tables first, before the formlayout is rendered. So what you are seeing is actually the formlayout as it has been programmed, plus then the effects of a (customer) customization on it.
    Also the example shows the effect of using an XML bee to dynamically add entries into the fieldLayout (if the application added these hooks).
    brian

    Hallo Thomas,
    No, unfortunately we never build something to also customize the labels. They HR colleagues did not ask for this :).
    I first started to write you here a loong text with answers. But then I got lazy, and searched my archive mailbox. Here below is the <b>draft</b> input that I wrote initially for the documentation. It describes everything pretty good. (But it is draft document, never proofread again, so read it lightly!)
    bye, brian
    <u><b>Why?</b></u>
    Typically when an application is developed at SAP, the developer must make provision for all possible fields of information that must be displayed and/or queried from the user. However, in specific business cases, or depending on specific country laws, all fields might not be required. Also in some cases, fields in one scenario can be flagged required, versus in another they are only optional.
    The typical starting point will be a complete formlayout done during the development. On top of this a customization layer is placed. The automatic reading and applying of the customization layer is automatically done by the phtmlb fL.
    <b><u>What?</u></b>
    For each field, a default behaviour is assumed. This is the behaviour that is defined by the developer during development time. For example, it could be specified that email address must be required. During the runtime it is now possible to overwrite the default behaviour with a customization entry for the field.
    The following options are supported:
    <b>As Defined:</b> The formLayoutItem in displayed as it has been defined during development.
    <b>Invisible:</b> The formLayoutItem is not placed on the formLayout. It is immediately removed. All following items below it, will be moved up to fill its position.
    <b>Hidden:</b> In this case, the formLayoutItem is placed on the formLayout, but not displayed. The item reserves its slot, and an empty slot will be displayed. However, after all items have been placed on the formLayout, a row "compression" is done, whereby all rows that contain only hidden elements are removed. Hidden is important for cases where columns next to one another must align. A typical example would be name & surname horizontally aligned. If now one item is invisible before this row, the two items will not be aligned anymore. With hidden, this alignment will be kept, and we still have the benefit of empty rows been removed.
    <b>Required:</b> Sets the required flag for the item. Label of item will be rendered an indication that it is required (usually little red asterix after the label).
    <b>Optional:</b> Can be used to customize a required field to be not required.
    <b>Read Only:</b> Field value is only displayed.
    <u><b>What is index?</b></u>
    Customization is stored for a formLayout under the key that is build from the BSP application namespace, BSP application name, plus the page/view on which the formLayout is placed. It is assumed that there will only be one formLayout per view. A typical example would be:
         SAP/SBSPEXT_PHTMLB/FORMLAYOUTSAMPLE.HTM
    In addition, a customization key must be specified. Typical examples would be to say this is the default customization for USA, or for the specific branchen Losuegn. The customization key must be supplied with the <phtmlb:fL> tag, and only then will the customization data be read from the database.
    <b><u>Tables</u></b>
    For customization there are three interesting tables.
    The first table PHTMLB_FLI is completed by the developer, and defines a list of all the formLayout items that can be customized. Only for those flItems which customization is possible, will entries be made in this table. The table contains three components:
    <b>NS_APPL_PAGE</b> This is the unique key that identies the formLayout, consisting of namespace, application and page/view.
    <b>FLI_ID</b> Id string of the specific formLayoutItem.
    <b>COMPONENT</b> This is software component to which development applies, for example SAP_BASIS for all BSP development work done by us.
    The second table PHTMLB_FLI_TEXT is just a language dependant text table that describes each item in the formLayout.
    The tables PHTMLB_FLI and PHTMLB_FLI_TEXT are not using during the runtime. They are only of interest for design time. Note that NO tools are provided to make any entries in these tables. This is considered to be in the application domain, and will usually be part of the customization process of the application.
    The third table PHTMLB_FLI_CUST is the only table that is read during the runtime. It is assumed that a customization tool has made the relevant entries for this table.
    <b>NS_APPL_PAGE</b> see above
    <b>VARIANT_KEY</b> This is the specific customization layer that is currently active. This string is equavalent to <pthmlb:fL  customizationKey>. It is used to pull a specific customization.
    <b>FLI_ID</b> see above
    <b>MODIFIER</b> This is the new value to apply. For the possible values, see DDIC domain PHTMLB_FLI_MODIFIER.
    For an example of customization, see BSP application SBSPEXT_PHTMLB, pages formLayout.htm. In this example, the customization can quickly be set via dropdown listboxes. On each request the PHTMLB_FLI_CUST is quickly updated and then the formLayout will find the set of new customization data to use.

  • Keymapping (follow up from another thread)

    To follow up on another thread, I checked out the keymappings and found most of what I was looking for.
    Only a couple of things I miss:
    1. SHIFT + TAB doesn't pull the text back with it if the text is not selected. I am convised most editors do this and I keep find myself trying to do it in JDev and it doesn't work, and then I go in a huff.
    2. Ctrl+K, Ctrl+L to perform a word match forwards or backwards, based purely on text in the document, ie. not syntax/context sensitive. This was one of my most used/most time saved features in Netbeans.

    Hi,
    don't understand what 1) is supposed to do. Can you explain this further? Winword and TextPad behave differently. I tried NetBeans and shift+tab is doing nothing.
    For 2) Is it the same as
    pressing ctrl+f to enter a search string and then continuing with F3 for forward matches and shift+F3 for backward matches? If you select a string before pressing ctrl+f then this string is added to the search list.
    If yes, then you can change the key mapping in Tools-->Preferences --> Accelerators to the keyboard combination you are most familiar with (look for "find").
    Frank

  • Multiple threads?

    I'm new to Java and programming in general so this may be obvious to you veterans but it's like pulling teeth to me. Any help you could give me would be greatly appreciated.
    Here's my situation.
    I have an application in which I create a handfull of arrays by tokenizing a text file. I would like to hit a button and have each of the array's values be shown in a JLabel at some time interval (determined by one of the arrays). Im have the basics already done. I can hit the button and update the labels to one of the array's values.
    My question is:
    How should I structure the problem so that when I hit the button, valueA[10] and valueB[10] etc. always show in sync (as opposed to valueA[10] showing when valueB[11] is showing)? Can I place the update method for each value in the same for loop? Should I place each one in it's own thread?
    I have not written any of the "timed" code yet, I'm just anticipating a problem and want to start out heading in the right direction.
    Thanks in advance for your help
    -Hoyt

    You shouldn't need threads to do this, just use the java.swing.Timer(). If the assignment is actually more than you've indicated and you need threads you should read the Threads section of the Java Tutorial

  • Rather than persists in the future thread...

    The point I was making would be for Archs documents to pick up where man pages leave off, but whatever.
    If you think I stated Arch must fix man pages, not so. I was intending to show that docs as a whole, leave whole subjects unhandled, Arch could provide the answers in its own docs and come out as a hero.
    Or maybe not.
    And remember, users who cannot configure ppp cannot get on the internet to get the ppp configuration docs. Or any other docs, for that matter. One failed configuration needing web documents might leave the newbie stranded.
    Or maybe not.
    I personally think that a lot of configuration has to be made before Linux (Arch or others) will communicate over the internet to a remote website, so as to allow documentation to be visible..... but hey, maybe I missed something? Like the document to get a modem setup? So I could get web based documents? Chicken and egg?
    Maybe not, eh?
    As for the concept of needing to be an experienced admin - these folks usually do not need any docs. That compares to bad docs to a newbie - essentially no docs. Missing docs and no internet access are also useless. Thus, the newbie without documents needs the only thing which gets anyone else through the issue - the newbie needs experience, because the docs are weak or missing or erroneous. Try as you might, that is an issue I went through. Take, for example, when I needed network assistance. Archs forums were not the first place I went asking for help, believe me; I asked and am still asking. 2 years now, and I'm just getting told Samba. Need I say this is baloney? That issue is not Archs fault, but Arch could have a smashing success on its hands if it were to document a few critical areas as well as 0.2 was documented.
    Installing and partitioning... What can I say... apeiro is not mentioning anything I've PM'd him about: secondary hard disks getting reformatted. My pm brought me the answer that most Archers never repartition, so the script was.... well, I guess you could say it was a shot in the dark. Fine, but the PM stated the alternative was something like 'I usually use the commandline stuff and simply reformat the existing partitions'.
    Why the **** would an inexperienced newbie set up partitions outside of using the installer?? The Arch docs tells the newbie to use the installer to partition their hard disks! What, exactly, is the newbies idea of an installers purpose? Are you a newbie when you decide what a newbie has for skills? The installer obliterated gigabytes of data, I trusted that it was going to perform safely, and yet nobody ever used it to learn of the glitch? Ooookkaaaaayyyy.
    Folks, the docs said to use the installer. Never mentioned possibly partitioning from the command line. Take your pick, the newbie was not at fault for following the docs.
    I'll run along, because I cannot possibly be speaking truth. Neither am I telling you where I had problems. This is cannot be feedback, it must be dunbars rantings. Does Arch have a future when feedback is considered trolling or flaming the developers? Lighten up, folks, I had once been trying to offer help and sought to get help.
    I know this is a labor of love for you all; in many ways, Linux is a labor of mine as well. Sadly, you are not hearing some issue that could help make Arch the distro that some folks want it to be.

    dunbar wrote:Step by step: I mentioned a few weak areas that newbies would not know how to address.
    I mentioned that newbie would not necessarily have the skills to get the correct docs from a myriad of websites.
    Which appear (and frequently are) obsolete.
    Well, then we include the docs and then non-newbies would complain that we are cluttering the filesytem and you would complain because those documents are obsolete. sound familiar? i have seen this argument before and there is not winning it. people bitch about the manpages, docs, etc ALL THE TIME. you must know that. so the best we can do is add your concerns to our own documents and add necessary documents to the files.
    When their internet connection was what had failed, the internet doc is not available.
    And when they had no Xwindows in which to read HTML documents,
    and nothing tells the newbie about CLI browsers.
    i would expect that no absolute green newbies would try arch so those newbies that do show up i would assume have some linux experience (one can be a newbie and have some experience) so i would assume that they would know about lynx or links browsers or at least know how to use cat and less.
    another point about this is that if a newbie does not even know how to use cat, less, or a cli editor to view files then they would be very very f**ked with arch linux and having self contained documents would be pretty pointless. so again i would ask is it not wise to print out/write down any relevent install/configuration instructions? you do know how to write since you already say you don't have a printer?
    okay so if we include install configuration data in the installer will you know how to access it? is it fair to tell the user that it is in such and such directory and you can access it through say vc1-4? should we scrap our online docs altogether and just have them self contained?
    The network thing was changed along the way - IPX/SPX was part of the issue, my 5 port switch is another part. I am not berating you, sarah31, nor am I asking anyone to re-write man pages, etc. as several posts seemed to attribute to me. The man pages are the weak spot, Arch docs need to go from there. Never wanted to say more than that.
    and all i wanted to know is what apps do we extend our documentation to? all of them? are you saying that all our apps need extended docs? can you point me to one distro that has extended documents of all their applications? besides ppp what would YOU extend? it is fair to ask this of arch developers/users but they really need to know just what manpages are defunct and have no bearing on arch.
    i would not expect a request like this would get fulfilled too quickly there are lots of applications' man pages and docs to go through then the developers would have to determine what is needed and what is not.
    as for manpages......i used to find them unreliable but to be honest most manpages i have viewed lately have been very clear and concise about how to operate/configure apps. i am not saying this to contradict you but i say it honestly. when i have been unable to find someone to ask on this forum or irc manpages normally do the trick for me. (and don't say it is because i am some expert with linux because i a definitely not)
    I'm trying to point out that A] with a presumed goal of gaining Linux users,
    B] Arch, being small, uncluttered and likely attractive to newbies (small draws newbies because it is so small (dialup accessible but only one big download at a time) and older systems where XP won't fit on their disks, etc) and also
    C] since Arch had very tight documents covering what needed to be done (but might need more topics covered), I felt that was likely going to lead to newbies arriving here in some situations that
    D] Arch clearly tries to assume will not need the attentions of forum members (which have the skills) and
    E] the newbie does not have the skills.
    That would lead to the assumption that Arch was not interested in the users needs.
    with respect to this.....well what can i say but you are a complete ***hole. for one thing small does not always attract newbies in fact i know ALOT ALOT ALOT of people that will not even try arch or similar distros because they are small. most people want the choice to kludge up their system if they like but arch is not in this realm yet because we do not offer alot of packages.
    i agree we need more stuff covered in our documents and you would not find a single user or developer that would disagree with you. So i guess this point you make throws out your idea of extending the manpages because that is not a concise project (for example manpages for transcode are good but to get into all the basics a newbie would need to know would require one to be alot more verbose similarily with networking documents)?
    to say that we here do not pay attention to users is ABSOLUTELY THE WRONG ANSWER. there are only two pages of unanswered post and considering there are always post that are merely statements that do not need to be answered that is very good. in fact if you even bothered to check there are only 79 unanswered posts out of 4512. that's 1.75% of the posts on the forum are unanswered. besides that there are always questions that no one has an answer to. obscure problems do exist i know i have hit many in my ventures in any OS.
    besides this forums are a free service. no one is under obligation to use it user AND developers alike. no one is paid here so don't diss anyone and don't feel that anyone is obligated to answer you.
    i can also say that you are a complete arrogant ass for saying arch does not care about its users. we don't care about you that is for certain. but i can guarantee that everything i did every package i made, upgraded, donated, fixed, etc was for the user. people wanted openoffice i spent a week building it then it got broken with the upgrade to gcc 3.3 i spent another week trying to fix it without luck then judd spent 3 days compiling and patching 1.1. so do you EVER say we don't fucking care you little ingrate.
    The perceived 'lack of clarity' on my part is because I am still a newbie. I might have a few things working under Slackware, but I'm not certain, today, where I even made the changes. I'm not asking for hints on how to keep a notebook, I have one, it is 40 miles away, I cannot discuss Linux by reading my notes or grepping my config files, they are 40 miles away. I cannot log into my Linux PC, I only have dial up, the only telephone line in my house is for voice communications. DSL is too far away, Cable is too expensive.... have I never said any of this before? No, not in this thread, but I've always been a hardliner on those points sarah31. I do not match up with what is assumed of me. But here I am, posting, despite my ineptitude.
    "Waaagh i'm a newbie. waggh i don't have highspeed pity me pity meee!"
    there are lots of users on dialup here including developers so we don't give a flying f**k.
    I believe the deepest undercurrent I see here is diverging viewpoints of what Arch is and diverging goals for Arch. My views are different from a few who assume the Archer has the skills, hApy seems to have a third viewpoint, and yet a third viewpoint exists.
    yeah and you are saying we have to conform to your view. typical. funny we seem to be getting more and more users all the time both newbie and non newbie and this despite having a completely uncaring development team and a horrendous set of docs. one of the funny things is that many of the newbies recently are all dialup like you and they still take time to make irc interesting or contribute packages.
    If my posts reflect an atmosphere of bewildering viewpoiints, I'm not surprised - I've tried to reply to differing posts which take differing opinions; I suppose it is frustrating to anyone to reply to 3 posts at once. I'm replying in order to offer my view of when I was a frustrated newbie (this morning, I think ;-) ). Remember, I was told by a certain forum member that, most certainly, dunbar was a slackware user and the assumption was that he must be nearly expert - yet, I declared, no, I'm not an expert and I freely admit a lack of skills. I was not the one who estimated dunbars skills, Sarah31.
    oh you are soooo subtle in your insults. come on you tell me after hundreds of installs and two years of using linux you don't know anything? find me five green newbies that know how to grep or know to look online for information. personally i and many others here and elsewhere have little time for someone who cries about being a newbie when they obviously aren't.
    what is it some sort of ploy to make people feel sorry for you or shorten your look online for info that you likely could find in two minutes? spare me. up to one year you are a n00b after that you are not.
    I'm definitely not interested in dissing anyone, not you, nor Gyroplast, nor Apeiro, nor hApy .....
    hmmm you care to stand by that or should i pull out several quotes to the contrary?
    I have pointed out that early on, Arch was interested in being Judds perfect distro... did anyone ask him if he ever said that? As I said, I can offer to cut and paste, if you wish.
    so your point is? is this a bad thing? is it not possible for many of us to believe it is the perfect distro for us as well? why not diss yoper for claiming to be THE distro.
    Yet, I'm clearly getting 2 viewpoints in response to me repeating that fact. Thus, in order to push the reader away from their position, so as to get them to walk in my shoes, I post from different directions aiming toward one central condition. Is the issue me, and me alone? Or did the issue exist, and I'm guilty of responding to all viewpoints and thus I'm guilty of pointing it out?
    i have been in your shoes and i often get put back in your shoes when i start to use or investigate applications or areas of linux i have never explored before. so whats your point? if it was to fix up the documentation? that was a goal for some time now in fact a few users have made it an ongoing thing.
    you are not the only one that is a newbie here nor are you the only one here. there are many things that developers must balance when they do their duties. there will never be a distro that will satisfy all a user's needs but i can tell you that the arch team does try to please as many people as possible. so yeah i think you are the issue to some extent. you could have come in here and politely explained what it is that you felt needed improvement but instead you came in and whine and cried that you were so abused and that we had to change to please you. it was all about you anyone can easily extract that from the way you keep flipping between i'm a newbie, i'm not a newbie but i speak for newbies. if you cannot find the offesive comments you have made along the way or see how some people came to the conclusions they did then it is your fault.
    Anyway, you mentioned the ethernet thread.... thydian is evidently new here. Lets explain that issue out loud (since you already raised the matter). I offered to write a document regarding Ethernet setup, I was not shown what to do (frozdsolid posted that they were "pretty sure that's necessary"). I do not assume that every member here reads every posted message; thus, I believe I had read the opinion of someone who was as newbie to Arch as I myself was a newbie (frozdsolids title still shows only 4 posts even today). Nobody here 'handed me an answer' as some might conclude from your post.
    well YOU may not have gotten answer but people DID try to answer your question and, in fact, the answer is there. but you could not extract it or did not know how to ask the question properly to get the result you desired.
    but of course we are the bad guys here because we took the time to try and give you an answer. man you are such a wanker....
    I posted everywhere else on the internet about my situation using IPX/SPX, I heard that it was a dead protocol. I finally found information about IPX/SPX, it was not herein, so the forum was of no use in that instance - that is a fact, sarah31. Now that I have concluded that IPX/SPX was not the best choice and changed the rest of the household over to TCP/IP...... the IPX/SPX issue is no longer the focus, so I dropped the subject; until I was  6 months later, I came back here, saw BluPhoenixs post and was a bit confused. That lead to him suggesting DOSemu, I stated no, that was not preferred, etc. etc. I ultimately thanked BluPhoenix, stated why I was going to drop the issue, and I left the thread cold.
    so why insist on blaming us for something that we tried to answer but was obviously beyond our knowledge? you did it at the end of that thread and you constantly do it here. how many other people did you verbally assault along the way?
    The whole thing got misdirected, away from what I was asking for, as if the topic was no longer my decision alone.
    what a pile of BS. it was YOUR thread so get in there and assert yourself. threads get out of hand sometimes but the original poster can easily get control again if they have a pair.
    i know for a fact that the people he chose to insult would and have tried to help him but he blows them off. i know too that the head developer is VERY open to user contributions yet dunbar chose not to contribute.
    The reasons should be evident by now - when I offered to contribute, I had the time; 6 months of time transpired, I was not able to write because I had no answers with which to generate such a document. I had to revoke the offer. I am taken by surprise that anyone would say I was given the necessary information!
    BS again you just stated that you got your answer (outside of our forum) so you could have easily posted back with what you had found out and then provided documentation later. and you mean to tell me that you have not had time in the last six months to wing something together. shit you have practically written a novel here.
    it is obvious to me that you just want to guard that knowledge and us it to flame and troll here. once you had the answers you were sure to come back and flame that thread and continue flaming on a regular basis. what an ass.
    I've known you to be patient, sarah31 (and you are yet teaching me as I write), but when you say I'm taking great pains to insult someone - while I'm waiting months for forum responses and I'm reading internet documents that are obsolete and these are docs which talk about a different distro, refer to a different kernel, puts files in a different location????
    yeah so you waited for an answer and didn't get one...it happens. you stated that barely anyone knew the answer. fianlly you got one and then came back and rudely blamed us for poor documentation and a barrel of other things. nice guy.
    all i saw was orelein answer you in a nice and proper fashion and you called him eliteist. you also were rather rude about judd in your first post in the future thread. so yes i see all throughout attempts to belittle and brate and not one instance of sober commentary from you.
    and here you are again balming us for online docs that are not ours.
    That is not appropriate, ever, to assume that the newbie will not find older docs and will know enought to discard the incorrect ones.
    this is not limited to newbies.....it can definitely be difficult finding what you need online.
    And since most internet docs are coasting along since, for example, 1999 (re: the IPX/SPX how-to)
    well if you are checking out and obscure problem that is actually now obsolete then sure the fucking doc will be old but you make is sound like ALL docs are old. so i have to assume that you are very much an idiot because i have found most documentation for most current issues to have current docs. most applications will upgrade their docs as they upgrade or do you even notice that? are you to self absorbed to go around and find out if your wild accusations actually have any merit?
    once again, and I'll ask this, and directly of you, sarah31, why would any newbie assume that 4 year old document applied to their situation??
    well knowing how many newbies are i would expect them to ask if docs are relevant. or they could possibly look into some of the information. if it was not producing answers...wow i think they would ask for help again. shit do you even pay attention to how newbies act on justlinux?
    :oops: I'd ask that people remove useless web documents, but I fear that I'd get only 4 responses. That is reality, not sarcasm.
    hmmm remove docs, add docs which is it? fyi arch removes most docs except in rare circumstances. if those docs are html they are html. if a n00b doesn't know how to view them i expect they would ask( that is if they are outside x).
    dunbar...stick with slack because arch will never please you. slack is a very nice distro that should have the balance arch does not afford you. that is the great thing about a linux .... if you don't like one flavour then try another. just don't go back to the ice cream dealer and berate him for selling you your choice...get the point (if you don't then fine i expected that)

  • Using threads in a process of two or more tasks concurrently?

    Dear,
    I need to develop through a Java application in a process that allows the same process using Threads on two or more tasks can be executed concurrently. The goal is to optimize the runtime of a program.
    Then, through a program, display the behavior of a producer and two consumers at runtime!
    Below is the code and problem description.
    Could anyone help me on this issue?
    Sincerely,
    Sérgio Pitta
    The producer-consumer problem
    Known as the problem of limited buffer. The two processes share a common buffer of fixed size. One, the producer puts information into the buffer and the other the consumer to pull off.
    The problem arises when the producer wants to put a new item in the buffer, but it is already full. The solution is to put the producer to sleep and wake it up only when the consumer to remove one or more items. Likewise, if the consumer wants to remove an item from the buffer and realize that it is empty, he will sleep until the producer put something in the buffer and awake.
    To keep track of the number of items in the buffer, we need a variable, "count". If the maximum number of items that may contain the buffer is N, the producer code first checks whether the value of the variable "count" is N. If the producer sleep, otherwise, the producer adds an item and increment the variable "count".
    The consumer code is similar: first checks if the value of the variable "count" is 0. If so, go to sleep if not zero, removes an item and decreases the counter by one. Each case also tests whether the other should be agreed and, if so, awakens. The code for both producer and consumer, is shown in the code below:
    #define N 100                     / * number of posts in the buffer * /
    int count = 0,                     / * number of items in buffer * /
    void producer(void)
    int item;
    while (TRUE) {                    / * number of items in buffer * /
    produce_item item = ()           / * generates the next item * /
    if (count == N) sleep ()           / * if the buffer is full, go to sleep * /
    insert_item (item)                / * put an item in the buffer * /
    count = count + 1                / * increment the count of items in buffer * /
    if (count == 1) wakeup (consumer);      / * buffer empty? * /
    void consumer(void)
    int item;
    while (TRUE) {                    / * repeat forever * /
    if (count == 0) sleep ()           / * if the buffer is full, go to sleep * /
    remove_item item = ()           / * generates the next item * /
    count = count - 1                / * decrement a counter of items in buffer * /
    if (count == N - 1) wakeup (producer)      / * buffer empty? * /
    consume_item (item)      / * print the item * /
    To express system calls such as sleep and wakeup in C, they are shown how to call library routines. They are not part of standard C library, but presumably would be available on any system that actually have those system calls. Procedures "insert_item and remove_item" which are not shown, they register themselves on the insertion and removal of the item buffer.
    Now back to the race condition. It can occur because the variable "count" unfettered access. Could the following scenario occurs: the buffer is empty and the consumer just read the variable "count" to check if its value is 0. In that instant, the scheduler decides to stop running temporarily and the consumer starting to run the producer. The producer inserts an item in the buffer, increment the variable "count" and realizes that its value is now 1. Inferring the value of "count" was 0 and that the consumer should go to bed, the producer calls "wakeup" to wake up the consumer.
    Unfortunately, the consumer is not logically asleep, so the signal is lost to agree. The next time the consumer to run, test the value of "count" previously read by him, shall verify that the value is 0, and sleep. Sooner or later the producer fills the whole buffer and also sleep. Both sleep forever.
    The essence of the problem is that you lose sending a signal to wake up a process that (still) not sleeping. If he were not lost, everything would work. A quick solution is to modify the rules, adding context to a "bit of waiting for the signal to wake up (wakeup waiting bit)." When a signal is sent to wake up a process that is still awake, this bit is turned on. Then, when the process trying to sleep, if the bit waiting for the signal to wake up is on, it will shut down, but the process will remain awake. The bit waiting for the signal to wake up is actually a piggy bank that holds signs of waking.
    Even the bit waiting for the signal to wake the nation have saved in this simple example, it is easy to think of cases with three or more cases in which a bit of waiting for the signal to wake up is insufficient. We could do another improvisation and add a second bit of waiting for the signal to wake up or maybe eight or 32 of them, but in principle, the problem still exists.

    user12284350 wrote:
    Hi!
    Thanks for the feedback!
    I need a program to provide through an interface with the user behavior of a producer and two consumers at runtime, using Threads!So hire somebody to write one.
    Or, if what you really mean is that you need to write such a program, as part of your course work, then write one.
    You can't just dump your requirements here and expect someone to do your work for you though. If this is your assignment, then you need to do it. If you get stuck, ask a specific question about the part that's giving you trouble. "How do I write a producer/consumer program?" is not a valid question.

  • Is the Illustrator SDK thread-safe?

    After searching this forum and the Illustrator SDK documentation, I can't find any references to a discussion about threading issues using the Illustrator C++ SDK. There is only a reference in some header files as to whether menu text is threaded, without any explanation.
    I take this to mean that probably the Illustrator SDK is not "thread-safe" (i.e., it is not safe to make API calls from arbitrary threads; you should only call the API from the thread that calls into your plug-in). Does anyone know this to be the case, or not?
    If it is the case, the normal way I'd write a plug-in to respond to requests from other applications for drawing services would be through a mutex-protected queue. In other words, when Illustrator calls the plug-in at application startup time, the plug-in could set up a mutually exclusive lock (a mutex), start a thread that could respond to requests from other applications, and request periodic idle processing time from the application. When such a request arrived from another application at an arbitrary time, the thread could respond by locking the queue, adding a request to the queue for drawing services in some format that the plug-in would define, and unlocking the queue. The next time the application called the plugin with an idle event, the queue could be locked, pulled from, and unlocked. Whatever request had been pulled could then be serviced with Illustrator API calls. Does anyone know whether that is a workable strategy for Illustrator?
    I assume it probably is, because that seems to be the way the ScriptingSupport.aip plug-in works. I did a simple test with three instances of a Visual Basic generated EXE file. All three were able to make overlapping requests to Illustrator, and each request was worked upon in turn, with intermediate results from each request arriving in turn. This was a simple test to add some "Hello, World" text and export some jpegs,
    repeatedly.
    Any advice would be greatly appreciated!
    Glenn Picher
    Dirigo Multimedia, Inc.
    [email protected]

    Zac Lam wrote:
    The Memory Suite does pull from a specific memory pool that is set based on the user-specified Memory settings in the Preferences.  If you use standard OS calls, then you could end up allocating memory beyond the user-specified settings, whereas using the Memory Suite will help you stick to the Memory settings in the Preferences.
    When you get back NULL when allocating memory, are you hitting the upper boundaries of your memory usage?  Are you getting any error code returned from the function calls themselves?
    I am not hitting the upper memory bounds - I have several customers that have 10's of Gb free.
    There is no error return code from the ->NewPtr() call.
         PrMemoryPtr (*NewPtr)(csSDK_uint32 byteCount);
    A NULL pointer is how you detect a problem.
    Note that changing the size of the ->ReserveMemory() doesn't seem to make any difference as to whether you'll get a memory ptr or NULL back.
    btw my NewPtr size is either
         W x H x sizeof(PrPixelFormat_YUVA4444_32f)
         W x H x sizeof(PrPixelFormat_YUVA4444_8u)
    and happens concurrently on #cpu's threads (eg 16 to 32 instances at once is pretty common).
    The more processing power that the nVidia card has seems to make it fall over faster.
    eg I don't see it at all on a GTS 250 but do on a GTX 480, Quadro 4000 & 5000 and GTX 660
    I think there is a threading issue and an issue with the Memory Suite's pool and how it interacts with the CUDA memory pool. - note that CUDA sets RESERVED (aka locked) memory which can easily cause a fragmenting problem if you're not using the OS memory handler.

  • Is the Memory Suite thread safe?

    Hi all,
    Is the memory suite thread safe (at least when used from the Exporter context)?
    I ask because I have many threads getting and freeing memory and I've found that I get back null sometimes. This, I suspect, is the problem that's all the talk in the user forum with CS6 crashing with CUDA enabled. I'm starting to suspect that there is a memory management problem when there is also a lot of memory allocation and freeing going on by the CUDA driver. It seems that the faster the nVidia card the more likely it is to crash. That would suggest the CUDA driver (ie the code that manages the scheduling of the CUDA kernels) is in some way coupled to the memory use by Adobe or by Windows alloc|free too.
    I replaced the memory functions with _aligned_malloc|free and it seems far more reliable. Maybe it's because the OS malloc|free are thread safe or maybe it's because it's pulling from a different pool of memory (vs the Memory Suite's pool or the CUDA pool)
    comments?
    Edward

    Zac Lam wrote:
    The Memory Suite does pull from a specific memory pool that is set based on the user-specified Memory settings in the Preferences.  If you use standard OS calls, then you could end up allocating memory beyond the user-specified settings, whereas using the Memory Suite will help you stick to the Memory settings in the Preferences.
    When you get back NULL when allocating memory, are you hitting the upper boundaries of your memory usage?  Are you getting any error code returned from the function calls themselves?
    I am not hitting the upper memory bounds - I have several customers that have 10's of Gb free.
    There is no error return code from the ->NewPtr() call.
         PrMemoryPtr (*NewPtr)(csSDK_uint32 byteCount);
    A NULL pointer is how you detect a problem.
    Note that changing the size of the ->ReserveMemory() doesn't seem to make any difference as to whether you'll get a memory ptr or NULL back.
    btw my NewPtr size is either
         W x H x sizeof(PrPixelFormat_YUVA4444_32f)
         W x H x sizeof(PrPixelFormat_YUVA4444_8u)
    and happens concurrently on #cpu's threads (eg 16 to 32 instances at once is pretty common).
    The more processing power that the nVidia card has seems to make it fall over faster.
    eg I don't see it at all on a GTS 250 but do on a GTX 480, Quadro 4000 & 5000 and GTX 660
    I think there is a threading issue and an issue with the Memory Suite's pool and how it interacts with the CUDA memory pool. - note that CUDA sets RESERVED (aka locked) memory which can easily cause a fragmenting problem if you're not using the OS memory handler.

  • Need help understanding communicating with a thread

    I am trying to write a library of a MUD engine that runs in its separate thread, but I am new to Java and not sure I have the concepts right. The heart of it is a class called Game, that implements the Runnable Interface and has 2 key methods - void DoCommand(String command) and String GetUpdates(String lastUpdate).
    * The Run() method runs an infinite loop that processes queued commands when they are due, and pauses (wait() or sleep()) in between. The results are queued in an update list.
    * The DoCommand() method queues commands to be processed in Run().
    * The GetUpdates() method pulls updates from the update list one at a time.
    Will there be a problem if DoCommand() or GetUpdates() are called while Run() is paused or running?
    How do I get DoCommand() to wake Run() when a new command is received?
    BTW: I am new to Java so please make the answers simple enough for me to understand.
    My theoretical code skeleton is below, but I am not confident in it given these questions I have.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package me.org.prototype;
    import java.util.ArrayList;
    /** Definition of the game engine. The engine runs in its own threat, updating
    * and maintaining its state, objects, etc. IO is handled through a separate
    * interface (GUI or something else) that communicates with this object. NOTE:
    * this interface is the game interface and not a Java interface.
    * <P> Usage create a Game instance and a place it in a thread. Once started you
    * can pass in input via the DoCommand(...) method, and get updates from its
    * GetUpdates(...) method. To exit interrupt the thread or call
    * DoCommand("quit");
    * @author atbudd
    public class Game implements Runnable {
        /** Next time (computer time) that a game action is to be run. Use 0 to
         * indicate no action pending.
        int nextRunTime = 0;
        /** Boolean indicating running state of game. */
        boolean gameRunning = true;
        /** List of game updates. */
        ArrayList<String> updateList = new ArrayList<String>();
        /** Perform's game's main loop. */
        public void run() {
            // Main loop code.
            while (gameRunning) {
                // Process game objects and pending actions.
                try {
                    // Pause until next action due.
                    if (nextRunTime > 0) {
                        wait(nextRunTime - System.nanoTime());
                    } // Otherwise wait until action specified. NOTE: action specified elsewhere.
                    else {
                        wait();
                } catch (InterruptedException exception) {
                    // If quit command received...
                    if (exception.getMessage().equalsIgnoreCase("quit")) {
                        gameRunning = false;
                    /* Otherwise new command received. wait(...)interrupted and loop
                     * resumed so that nextRunTime can be updated to when new
                     * command due.
        /** Peforms specified command.
         * @param command Command to be processed.
        public void DoCommand(String command) throws InterruptedException {
            // Process command.
            if (command.equalsIgnoreCase("quit")) {
                // Interrupt game with exit interrupt.
                throw new InterruptedException(command);
            else if ((nextRunTime == 0) /* || command due before nextRunTime */) {
                // Add command to a processing queue.
                // Interrupt game to schedule / process command.
                throw new InterruptedException("new command");
        /** Returns updates since update specified.
         * @param lastUpdate Last update received from game. Use "" if not updates
         * received yet.
        public String GetUpdates(String lastUpdate) {
            // Update string
            String updateString = null;
            /* (TODO) Get updates from update list that come after last update and
             * place in update string.
            // Return update string.
            return updateString;
    }

    Furrage wrote:
    OK cotton.m. I will try that and see what happens.
    What about my question about which thread DoCommand() will run in (my second post in this message thread)? Any answers? I think that's key to me understanding what is needed to get my code to work the way I want, but I don't know how to test which thread it is running in.Possibly by interrupt.
    Or possibly by adding the command to a command queue which in turn would notify a thread waiting on the queue for the next command.

  • THE ULTIMATE PALM PRE POOR SIGNAL ISSUE THREAD

    The previous thread I posted can be deleted.  This thread has everything people need to read.  Here is the conversation I just had with Palm about the rampant signal problems everyone is having with their Palm Pre phones (side note, they say they'll be calling me back in a few days.  I'll assume they mean BUSINESS days and i'll post here again tuesday or wednesday if I don't hear from anyone.) :
    1:56 AM Connecting...
    1:56 AM Connected. A support representative will be with you shortly.
    1:57 AM Support session established with Sabino.
    1:57 AM Sabino: Hello David. Thank you for contacting Palm. My name is Sabino.
    1:57 AM David Doria: hi
    1:58 AM Sabino: I understand that you are facing issues with weak signals.
    1:58 AM Sabino: Am I correct?
    1:58 AM David Doria: yes.  weak, and also erractic.  sometimes i will get full bars, and then it will jump to one bar, or none...then be roaming, then Ev, then 1x...all in the SAME spot
    1:58 AM Sabino: I’m sorry for any trouble this may have caused.
    1:58 AM Sabino: May I know since how long you are facing this issue?
    1:59 AM David Doria: as long as i've been using a palm pre, but it is getting worse with time.  i've been using a palm pre since october of last year
    2:00 AM Sabino:  Let me know the webOS version on the device and your carrier name.
    2:01 AM David Doria: whatever the latest OS is.  1.4.whatever.  and i'm with sprint
    2:01 AM Sabino: This seems to be the issue with the network, all the network related issues were taken care by your carrier. I suggest you to contact Sprint. They will be able to fix the issue.
    2:01 AM David Doria: um, you said that before i even told you what carrier i'm using
    2:01 AM Sabino: I just pulled the details using your phone number.
    2:02 AM David Doria: you know that isn't true.  you know it's not sprint
    2:02 AM David Doria: i just told you all my other phones with sprint worked fine here and i've only been having problems since i got a palm pre
    2:02 AM Sabino: Okay, contact your carrier, they will be able to fix the issue.
    2:02 AM David Doria: i've lived here for 4 years and i've had sprint all 4 years
    2:02 AM David Doria: no they won't.  i've been contacting them for weeks.  they came out and checked the tower TWICE now.  there's nothing they can do.  it's a hardware issue for palm
    2:04 AM David Doria: there are threads all over the internet with hundreds of people complaining about having signal issues ONLY since they bought a palm pre.  now you're telling me it's a sprint issue and you haven't even looked at my phone yet.
    2:05 AM Sabino:  What I would like to do, is place your case into a special team that develops technical solutions. They will do further research on it. They would be in touch with you once they have further updates. I cannot commit to a specific callback period, but please know that we are working on your case. May I do that for you?
    2:06 AM David Doria: no, because i saw someone in one thread say that palm told them the exact same thing...in 2009
    2:06 AM David Doria: so you're basically saying you're forwarding the problem to a generic department to a generic person that i can't know the name of, with no contact info, and that there is no guarantee when they will contact me IF they even will contact me...but i should definitely believe they are working on the problem
    2:06 AM Sabino: What exactly you want me to do now?
    2:06 AM David Doria: that's ridiculous
    2:07 AM David Doria: i want you to tell me why palm is not fixing this problem with the palm pre and is instead telling me it is sprint's problem and then pretending to forward the issue to another department which has already had years to fix the issue
    2:08 AM Sabino: As I stated, all the network related issues are taken by carrier.
    2:09 AM David Doria: it's a hardware issue
    2:10 AM Sabino:  I am going to tell you about our 2 repair options:
    2:10 AM Sabino:
    1.  Repair return: After I create your service repair order, you receive an email with the details on how and where to ship your device for repair. The email also contains info on the follow-up process. After the repair center receives your device, you’ll receive a working device in another 5-7 business days.
    2. :”With the advance exchange option, we ship you a replacement device first, and then you return your defective device to us using a prepaid label. There is a $29.95 fee for this special service but you get a replacement device within 3-5 days.
    2:10 AM David Doria: you can't even KNOW it's a network issue without looking at the phone, and all evidence points to hardware since other phones on the same carrier work fine
    2:10 AM Sabino: Please go through the above 2 options.
    2:10 AM David Doria: this is my SEVENTH palm pre phone, sabino
    2:11 AM David Doria: as many others in forums will tell you, they have also replaced their phones MULTIPLE times hoping to fix this issue.  nothing works.  there is SOMETHING physically wrong with the reception capability of the palm pre
    2:12 AM David Doria: dude, stop copying and pasting what palm tells you to say and listen to me.  these phones do NOT work.  there is something majorly wrong with them and palm is cheating people out of hundreds of dollars a piece to save themselves the cost of a fix.
    2:13 AM Sabino: Please hold on while I transfer the chat to our Supervisor.
    2:13 AM David Doria: thank you
    2:13 AM Sabino: You’re welcome.
    2:14 AM Transferring session to another technician...
    2:14 AM Support session established with Saben.
    2:14 AM Saben: Hello David, this is supervisor Saben.
    2:15 AM Saben: Please stay on hold while I go through the chat.
    2:15 AM David Doria: hello, saben...i urge you to read the conversation i just had with sabino so i do not have to explain the situation again.
    2:15 AM David Doria: ok, thank you
    2:15 AM Saben: Thank you for staying on hold.
    2:16 AM David Doria: sure
    2:16 AM Saben: I understand that you are facing network issues with the phone.
    2:16 AM Saben: Am I correct?
    2:16 AM David Doria: no
    2:16 AM David Doria: i am facing signal issues.  my network is functioning just fine
    2:16 AM Saben: Okay.
    2:16 AM Saben: Did you try any troubleshooting steps?
    2:17 AM David Doria: yes.  i reset my phone...tried NEW phones...updated...updated PRL...etc...tried 2G only, restarting the phone after removing the battery, tried going outside...tried going a few blocks down.
    2:17 AM David Doria: i can't even count how many things i have tried.  something is wrong with the palm pre
    2:18 AM Saben: Did you try with the webOS doctor?
    2:18 AM David Doria: i've tried every software solution i can find
    2:19 AM Saben: I am sorry, I just want to know did you run the webOS doctor tool?
    2:19 AM David Doria: i've been talking to sprint about this for WEEKS now.  in case you didn't read the conversation, they've already come out to check the local tower twice now
    2:20 AM Saben: Okay. It seems that you did not use the webOS doctor tool on the device to check the issue.
    2:20 AM David Doria: yes.  the local sprint repair center used the tool when my phone froze during an update
    2:20 AM David Doria: yes i did
    2:20 AM Saben: Okay. Thank you for the information.
    2:20 AM David Doria: you're welcome
    2:20 AM Saben: Then it seems need a repair.
    2:20 AM David Doria: but this is my 7th palm pre phone.
    2:20 AM David Doria: they have all done this
    2:22 AM Saben: Okay. To best assist you I will escalate the issue to specialist team. They will call back you and find a resolution.
    2:22 AM David Doria: are you guaranteeing me that they will call?
    2:22 AM David Doria: because the last guy said someone MAY contact me but probably not
    2:23 AM Saben: Yes. They will contact you. I will escalate the issue to specialist team.
    2:23 AM David Doria: when will they contact me by?
    2:23 AM Saben: I need few information from you to do a specific escalation.
    2:23 AM David Doria: ok
    2:24 AM Saben: Give me a minute while I post the questions.
    2:25 AM David Doria: ok
    2:25 AM Saben: Please provide the following details so that I can set up the call back from our Specialist team:
     First and last name :
     Primary phone number :
     Secondary phone number (if any) :
     Primary email address :
     Device serial number :
     Purchase date :
     Country where you purchased your device  :
     Preferred time to call :
    2:26 AM David Doria: David Doria
    909*******
    no secondary number
    ******@*******.***.edu
    2:27 AM David Doria: which number is the serial number on the box?
    2:27 AM Saben: Open the launcher on the phone.
    2:27 AM Saben: Select the Device Info.
    2:27 AM Saben: You will find the serial number of the phone there.
    2:28 AM David Doria: as far as purchase date, this particular phone was sent to me less than a month ago.  original purchase date of ORIGINAL palm pre was october of '09.
    United States
    2PM-midnight best time to call
    2:28 AM David Doria: serial number: ************
    2:29 AM Saben: Okay,I also need yourfull name, phone number and email address.
    2:30 AM David Doria: I gave you that if you can scroll up a bit
    2:31 AM Saben: I am sorry, are you refering to the one you have mentioned before entering to chat?
    2:31 AM David Doria: no.
    2:31 AM Saben: I am sorry, I see that.
    2:31 AM Saben: Thank you for the information.
    2:32 AM David Doria: ok, thank you
    2:32 AM Saben: I will escalate the issue. You will receive a call from the specialist team within 48 to 72 hours.
    2:32 AM Saben: Is there anything else I can help you with?
    2:33 AM David Doria: i am looking forward to it. meanwhile, i am posting this conversation in the palm website forum because i want people to be updated about this problem since so many are having signal issues
    2:33 AM David Doria: no, there's nothing else you can help me with
    2:33 AM Saben: Here’s the reference number for our chat: Chat session ID number ********. Keep this number as a record of this chat, and if you need to call our Voice Support team or contact us again for this same issue, please refer to this number.
    2:33 AM Saben: Thank you for contacting Palm and feel free to contact us for further assistance. We rely on your suggestions and feedback to help us provide the best support, so please take a few minutes to complete the customer survey that you'll receive via email. You may now close the chat window. Have a great day!
    2:33 AM Saben: Bye!
    2:33 AM David Doria: bye
    Post relates to: Pre p100eww (Sprint)

    So they finally called me back, but I didn't get the call because.....I had no signal.  HAHA
    I got their voicemail and called back.  First, they tried telling me YET AGAIN that it was Sprint's problem.  They said that if I call Sprint, they will give me a device to boost signal in my home.  I said, "That's fine, but what do I do when I'm in the rest of the country?"  Then they told me it was a software problem and that I need to run WebOSdoctor to reinstall the operating system.  I told them that this is my 7th Palm Pre.  I told them that Sprint already used the Doctor...like I told the online tech people.  But this guy on the phone wasn't having it.  He told me that he didn't think Sprint was able to do that (so I can, but Sprint can't =/?) and that I should do it just to be sure.  He said if that doesn't work that they will try out a NEW Palm profile and see if that fixes it.  If neither of those works, he basically admitted there are no other options.
    I asked him if there is some sort of way they can physically upgrade the antenna system with a better material or placement and he said that Palm has no department able to do that. 
    I told him about the various threads online like this one, where dozens of people complain about the same  issue.  He told me to just do the WebOSdoctor and call him back.   I asked him if this has fixed signal problems for people previously and he said that he doesn't get to know the end result of his suggestions to customers.   How unprofessional is that?  How is the guy supposed to get better at his job if he's not allowed to find out if the fixes he suggest to people actually work?  That seems nuts to me, but i digress.
    I haven't tried the Doctor yet.  I'm going to, but I'm just being lazy because I know it won't work, and it's going to be really annoying to update my phone and backup photos first and all that good stuff.
    I will post back after I run the doctor and try the new Palm profile.  Until then, I'd REALLY suggest you all do what I did and call Palm, insisting they fix the problem, even if it means a recall.  They aren't gonna do it just for me, no matter how many times I complain.  That's a fact.
    If anyone DOES call Palm, it would probably be a good idea to bring up this thread and also to post here about what they tell you!

  • How would I be able to pull up all of the text messages tat were in my phone over the course of 2 years and back them up to my computer since my phone has a broken screen and can no longer read the mesages.

    How would I be able to pull up all of the text messages tat were in my phone over the course of 2 years and back them up to my computer since my phone has a broken screen and can no longer read the mesages.

    If the messages are stored on the device and you can power the device up you can use the application posted at https://community.verizonwireless.com/thread/770529  , the application has a screen capture option and you can use the screen as a guide to install MyBackup from Market or a number of backup apps from Market and then you can run the applications and backup data to your SD Card to restore to the replacement device.

Maybe you are looking for