Hoping for a little help with registering and hosting questions.

i was hoping i could get some information from some of you
that have personal experience with registering your site and
picking a hosting provider.
im wondering what the difference is between say....Dot5
hosting at 5.00 a month and .. network solutions at 29.99 a month?
my local provider here in sacramento wants 30 a month as
well......299.oo a yr.
should I go with a local provider? or go with ... say GoDaddy
or some other company?
also, registering. Im about to register my site name.
however, some companies include it in the "packages" they offer.
should I register it myself or let the hosting company I choose do
it?
sorry for the newb questions....but I cant find any good info
on this and I was hoping maybe some of you that have already done
this to chime in.
thanks in advance.

If you want almost all of the below features for about $9.00
a month go to
Gate.com and pick your package. I use them for several web
sites and have
never been dissatisfied with their services or features.
They will register your domain and I've done it both ways,
but have never
had problems with them but it does make a lot of sense to
register it
yourself and keep full ownership....
"Sonjay" <[email protected]> wrote in message
news:C19368C5.A15FD%[email protected]...
> There's probably not a dime's worth of difference
between the Dot5 hosting
> and the NetSol hosting, but I wouldn't recommend either
of those companies
> for hosting.
>
> $30/month seems high unless you have very specific needs
-- there's plenty
> of good hosting around for $8 or $10 a month. The thing
you need to do is
> decide what your requirements are: php? asp? MySQL?
Access? dot.net?
> E-mail?
> Telnet or SSH access? Do you need/want a control panel
that makes it easy
> for you set up your own e-mail accounts, password
protect directories, and
> that sort of thing, or will basic FTP access be all you
need? Do you want
> a
> statistics package included with your hosting? Do you
need to run more
> than
> one domain under the same account? If all of the above
makes you shake
> your
> head and say "I don't need any of that," then you can
probably manage just
> fine with any of the $5-$10 month basic packages, with a
reputable host.
>
> Whatever you do, register your domain separately from
your hosting, and
> only
> use an ICANN-accredited registrar, none of those
resellers that tend to
> disappear and/or register people's domains in their own
name. I have
> nothing
> good to say about NetSol as a registrar, going back to
the years when they
> were the only game in town, and I will never use them
again, but any other
> ICANN-accredited registrar should do you just fine.
>
> --
> Sonjay
>
> On 11/29/06 3:51 PM, "Progressive_Learning" wrote:
>
>>
>>
>> i was hoping i could get some information from some
of you that have
>> personal
>> experience with registering your site and picking a
hosting provider.
>>
>> im wondering what the difference is between
say....Dot5 hosting at 5.00 a
>> month and .. network solutions at 29.99 a month?
>>
>> my local provider here in sacramento wants 30 a
month as well......299.oo
>> a
>> yr.
>>
>> should I go with a local provider? or go with ...
say GoDaddy or some
>> other
>> company?
>>
>> also, registering. Im about to register my site
name. however, some
>> companies include it in the "packages" they offer.
should I register it
>> myself
>> or let the hosting company I choose do it?
>>
>> sorry for the newb questions....but I cant find any
good info on this and
>> I
>> was hoping maybe some of you that have already done
this to chime in.
>>
>> thanks in advance.
>>
>
>

Similar Messages

  • Desperate for a little help with VMware Fusion tools

    I tried the Fusion discussions group on this question but got nothing, so please don't tell me to try there; I already have.
    I am using VMare Fusion 2.0.6 on my MacBook running 10.6.4; Windows OS is XP Home edition, SP3
    I find more and more applications that previously did not work well in OSX are now running nicely on my MacBook (i.e., various applications from Garmin) and that I rarely boot up in Windows.
    However, not long ago I did boot up in Windows and saw the alert, “VMware tools is out of date. Choose the virtual Machine > Install VMwre Toold Menu.” I did so and it failed, miserably. I lost tools completely, everything was a bloody mess.
    I looked for help/a solution on the VMware site, found it, but it was beyond my capability. I simply could not figure out how to do what it was directing me to do.
    I moved my Virtual Machine folder from a backup of my MacBook back to the MacBook; I am back to a point where all is well but I am also, naturally, getting the “VMware tools is out of date. Choose the virtual Machine . Install VMwre Toold Menu.”
    When I choose "Virtual Machine . Install VMwre Toold Menu", I get this alert: You cannot install the VMware Tools package until the guest operating system is running. If your guest operating system is not running, choose cancel and install the VMware Tools Package later.
    Isn't the "guest operating system" OSX on my MacBook? Well of course it's running; how the heck could you be running Fusion if OSX isn't running? There must be something here I just don't understand.
    Does some kind soul have the time and patience to explain to me what I am obviously missing here so I can get on with it and update VMware Tools?
    Many, many thanks if someone can

    OK, here's the rest of the story.
    I followed the above instructions, sort of...
    Removed Tools as directed.
    A restart was required to finish the removal.
    Restarted, went to Virtual Machine > Install VMware Tools package and got the, for me, dreaded - Warning, you cannot install the VMware Tools package unless the guest operating system is running, etc., so I clicked on Cancel.
    I also got the Found New Hardware Wizard, which I cancelled out of.
    I went to Virtual Machine > CD/DVD > Choose a disk image and navigated to "/Library/Application Support/VMware Fusion/isoimages/windows.iso" as I was directed, clicked on Open, and nothing happened.
    In Windows, I then went to the CD/DVD drive, to run the setup.exe manually.
    Among the choices there I found both VMware Tools and VMware Tools 64 and forgot I was told to run setup.exe. I asked again and was told to run VMware Tools. I did so and that fixed it.
    Later, I was told that I should have chosen setup.exe NOT the VMware Tools.msi, but that since setup.exe calls the VMware Tools.msi it's probably a moot issue as long as I received a message that VMware Tools were successfully installed.
    So, I guess the correct thing would have been to run setup.exe, but running VMware Tools also did the trick.
    Hope this helps someone else out if they stumble across it.

  • I need a little help with xmonad and stuff

    Hi all. I recently changed from fluxbox to xmonad, and I find it fantastic. I have some minor? problems.
    In fluxbox I was using xterm as a terminal emulator, but I couldnt use irssi with it, the Alt + w/e keys weren't working. They worked however in aterm and urxvt but those two support only 16 colors, and I wish to use 256 colors, mainly because of my vim color scheme. Is there a solution to be able to run both irssi and vim from the same terminal, or should I run different terminals for them?
    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    edit:
    I found the solution to using the Alt key in xterm. I had to add theese two lines in my .Xdefaults
    XTerm*eightBitInput: false
    XTerm*metaSendsEscape: true
    Last edited by tch (2007-12-28 11:00:33)

    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    At the moment, the best source for configs are those posted in the screenshots thread (for both Xdefaults and xmonad.hs), the xmonad config archive (and the available docs from the root page on that site), and our own thread.  Unfortunately you'll have to sort of scrounge for good docs on the xmonad.hs at the moment, since most of the information was written for the 0.4 version of xmonad.  The configuration has since been made MUCH simpler.
    Hope that helps some.

  • Little help with keyframes and Armorbot

    armor bot ranks software gives you an actionscript that sends
    the score you want directly online, I have successfully finished it
    but in the game if i enter a number like 200 and a name like "yair"
    it works out just fine but when i put a variable like tt that is
    connected to a number it doesnt work. Here is the Code do you think
    you can help. Im guessing tt is time because i made this game with
    a partner
    The First keyframe has the code from my game in it then the
    next keyframe has the armorbot code:
    stop ();
    sintro.stop();
    t = Math.round(_global.totaltime * 10) / 10 + " units";
    tt.text = t;
    ct.text = _global.totalclickcount;
    _global.puNUM = 1;
    par = 1;
    clickcount = 0;
    N = 30;
    hs = 3;
    ci._visible = 0;
    flr = floor._y;
    kuid = false;
    xv = 0;
    yv = 20;
    g = 1.010000E+000;
    xd = 0;
    go = true;
    boost = 1;
    _global.score = 0;
    ballx = ball._x;
    bally = ball._y;
    d = 9.700000E-001;
    bbu = 5;
    bu = 20;
    bhu = 23;
    hb2l = 10;
    hb2r = 10;
    vb2t = 3;
    vb2b = 10;
    var B = new flash.filters.BlurFilter(0, 0, 2);
    var bupA = new Array();
    Heres the code on the button to the next keyframe:
    on (press) {
    nextFrame();
    And Here is the ArmorbotCode take note of the t's:
    //Send Highscore AS2.0 // Armor Bot Rankz
    import ab3.rankz.*;
    function __rankz_send__(par1,par2,par3,par4){
    par227 = new LoadVars();
    par228 = new LoadVars();
    par227.flashkey = par2;
    par227.SU0249 = par1;
    par227.bmFtZTE = Armor_Bot_30_En_AS1.Encode(par3);
    par227.c2NvcmUx =
    Armor_Bot_30_En_AS1.Encode(par4+"j%e%a%n%s");
    par227.flashkey = par227.flashkey.split("=").join("");
    par227.SU0249 = par227.SU0249.split("=").join("");
    par228.onLoad = function(success){
    if(success){
    trace(par228.msg);
    }else{
    trace(par228.loaded);
    par227.sendAndLoad("
    http://rankz.armorbot.com/submit/",par228,"POST");
    bXlnYW1lX25hbWVfdmFyaWFibGU = "Yair";//replace
    my_name1_variable with your name variable (1)
    bXlnYW1lX3Njb3JlX3ZhcmlhYmxl =
    tt;//replace my_score1_variable with your score1 variable
    __rankz_send__("MzEyOGolZSVhJW4lcw==", "SnBrUk9ibEo=",
    bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
    //Send Highscore AS2.0 END

    didittoday wrote:
    No errors are thrown, but...
    words is a String array containing 58,112 words,
    my computer hits 100% usage, bogs down and I have to press crtl+alt+del to bring up my task manager (which in itself takes like 10 mins) and my javaw.exe shows CPU 100. I guessing it is the startsWith() call, not sure.
    If I am correct in my thinking then I will just tear each word apart and check the contents myself.You basically are checking the contents yourself. It's not clear what you're thinking. I can pretty much guarantee that if you rewrite startsWith(), then you will not improve the performance of your program at all and will probably just make it worse.
    But this is where my question comes in, am I correct in my thinking or am I using the vector wrong? The answers are probably no, you're not correct in your thinking, and yes, you're using the vector wrong. But you haven't exactly said what you're thinking.
    The vector isn't particularly relevant, at least in terms of the search. The real problem is that you have an ordered (reportedly) array of string and for some reason you're searching through it sequentially. You should use a binary search to find the matching strings. See java.util.Arrays.binarySearch.
    Now, this is probably wrong:
         // get data from vector into a string array
         int size = searchResults.capacity();
         String[] returnArray = new String[size];
         searchResults.toArray(returnArray);Vector.capacity returns how much the vector can hold, not how much it's actually holding. So you're passing toArray an array much larger than it actually needs, most likely. I have no idea what the behavior of toArray is in those circumstances but it's probably not good. You probably meant to do something more like:
    return searchResults.toArray(new String[searchResults.size()]);Another problem is that you're using a Vector, and not a LinkedList.

  • Hi there... I need a little help with buttons and their actions using flex builder 4.5

    I run a repo company and have zero experience in the developing applications and I could use some help from anybody that is willing to give it.... Here is a basic idea of what I need...  let's say there are 3 states... state 1 has a question that says "car you read this?" and a "yes" and a "no" button... when you select either answer, you go to slide 2.  Slide 2 with have a question like "Is the sky brown?" and a "yes" and a "no" button and when either button is selected, you are taken to Slide 3.  Slide 3 needs to be some sort of a text form that is created by the user selecting the buttons and the screen would say something like "yes, i can read this.  no, the sky is not brown", or "no, I can't read this.   yes, the sky is brown" .  I know how to get the buttons to take the user to the correct new slide, but I do not know how to get the buttons to insert specific text somewhere else when any button is selected.... Can anybody help me?  Youtube is only getting me so far, and my kids are driving me nuts while I'm trying to figure this monster out...  I've gotten several slides created and some screens have several buttons, I just need to see what I need to put in the code to get it to do this type of function 

    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    At the moment, the best source for configs are those posted in the screenshots thread (for both Xdefaults and xmonad.hs), the xmonad config archive (and the available docs from the root page on that site), and our own thread.  Unfortunately you'll have to sort of scrounge for good docs on the xmonad.hs at the moment, since most of the information was written for the 0.4 version of xmonad.  The configuration has since been made MUCH simpler.
    Hope that helps some.

  • [solved] Need a little help with sed and regular expressions

    Hello!
    I am shure this is something easy for most of you
    I want to make a script, which converts filenames of my ripped MP3s (replaces '_' with spaces, removes leading track numbers...)
    But I have some problems:
    j=$(echo $j | sed 's/_\+/ /g')
    j=$(echo $j | sed 's/^[0-9]{0,3}//g')
    j=$(echo $j | sed 's/[^ ]-[^ ]/ - /g')
    j=$(echo $j | sed 's/_\+/ /g') << this is working fine (converts all "_" to spaces)
    j=$(echo $j | sed 's/^[0-9]{0,3}//g') << is NOT working, why??
    For Example in "01-somebody_feat_someone-somemusic.mp3" the leading "01" number is NOT being removed..
    j=$(echo $j | sed 's/[^ ]-[^ ]/ - /g') << how can I insert spaces before and after the "-"?
    So that "someone-somemusic" becomes "someone - somemusic" (but only where "-" is surrounded by letters)
    Last edited by cyberius (2011-07-27 18:50:54)

    For sed, you must escape { and } to use them as you want (just slap a \ before them).
    For the last expression, capture the letter before/after the dash -- use \( and \) -- and then substitute it for something like "\1 -" and then "- \1". You'll want to split this into two pieces, one for the front and one for the back so you can get "somemusic -someband" the way you want without a bunch of cases.
    Edit: Or, you could just do a replace for "-" to be " - " and then have another expression to reduce spaces. I see you've used \+ before, so I'm guessing you can figure that out
    Also, sed has the -e switch so you can do multiple different expressions with one invocation.
    Also (also), have you looked into something like Picard with automatic track renaming? You can even customize how they are renamed.
    Edit (2): Also^3, check out prename. There are different versions, ones which use PCRE and ones that use other standards, but it is for renaming files based on regular expressions, which is what you're doing. In any case, you might want to put you script into the User made scripts thread when you feel more comfortable and get some more critiquing, if you're interested.
    Last edited by jac (2011-07-26 23:13:27)

  • Flash noob needs help with simple and easy question on animation

    sorry if this is completely obvious, but Im having trouble and cant start my project until I figure it out. Basically whats happening is I create two keyframes (1 on frame 1 and the other on frame 10) on my mouth layer. In the first frame its normal and on the 10th frame its a different shape. But when I go out of that layer and into the previous layer overview (if that makes any sense), the change isnt there. Frame 1, all the way to frame 10, looks like frame 10 did on the mouth layer. Shouldnt the change be saved on the previous layer overview and shouldn't I be able to see the mouth change shapes? I havent ever had this problem so am i missing something? If this doesn't make any sense, I can provide some screen caps to visualize to you guys what I'm going off about.
    Thanks.

    You could be doing any number of things wrong. If the artwork on frame 1 is different from the artwork on frame 10, and each of these frames is a keyframe in the same layer, did you set a tween on the keyframe in frame 1? If the art is drawn directly to the stage in each keyframe, you should be using a shape tween. If the art in each keyframe is a symbol, then you should be using a classic tween in the first keyframe. In either case you can view the animation by dragging the playback head across the timeline, or, use the play button at the bottom of the timeline window.
    When you talk about the "previous layer overview", are you talking about moving from the editing window for a movieclip to the main timeline? If this is the case, then, if you edit a movieclip that is on the main timeline, you should see result of that edit when you play the main timeline. Or is it something else that you are doing?
    When you first start up Flash, there is a menu that lets you select what type of file you want to create. There is also a third column labeled "Learn". You may want to spend some time going through those tutorials.

  • Little help with complex XML data as data provider for chart and adg

    Hi all,
    I've been trying to think through a problem and Im hoping for
    a little help. Here's the scenario:
    I have complex nested XML data that is wrapped by subsequent
    groupings for efficiency, but I need to determine if each inner
    item belongs in the data collection for view in a data grid and
    charts.
    I've posted an example at the bottom.
    So the goal here is to first be able to select a single
    inspector and then chart out their reports. I can get the data to
    filter from the XMLListCollection using a filter on the first layer
    (ie the name of the inspector) but then can't get a filter to go
    deeper into the structure in order to determine if the individual
    item should be contained inside the collection. In other words, I
    want to filter by inspector, then time and then tag name in order
    to be able to use this data as the basis for individual series
    inside my advanced data grid and column chart.
    I've made it work with creating a new collection and then
    looping through each time there is a change to the original
    collection and updating the new collection, but that just feels so
    bloated and inefficient. The user is going to have some buttons to
    allow them to change their view. I'm wondering if there is a
    cleaner way to approach this? I even tried chaining filter
    functions together, but that didn't work cause the collection is
    reset whenever the .refresh() is called.
    If anyone has experience in efficiently dealing with complex
    XML for charting purposes and tabular display purposes, I would
    greatly appreciate your assistance. I know I can get this to work
    with a bunch of overhead, but I'm seeking something elegant.
    Thank you.

    Hi,
    Please use the code similar to below:
    SELECT * FROM DO_NOT_LOAD INTO TABLE IT_DO_NOT_LOAD.
    SORT IT_DO_NOT_LOAD by WBS_Key.
        IF SOURCE_PACKAGE IS NOT INITIAL.
          IT_SOURCE_PACKAGE[] = SOURCE_PACKAGE[].
    LOOP AT IT_SOURCE_PACKAGE INTO WA_SOURCE_PACKAGE.
            V_SYTABIX = SY-TABIX.
            READ TABLE IT_DO_NOT_LOAD into WA_DO_NOT_LOAD
            WITH KEY WBS_Key = WA_SOURCE_PACKAGE-WBS_Key
            BINARY SEARCH.
            IF SY-SUBRC = 0.
              IF ( WA_DO_NOT_LOAD-WBS_EXT = 'A' or WA_DO_NOT_LOAD-WBS_EXT = 'B' )     
              DELETE IT_SOURCE_PACKAGE INDEX V_SYTABIX.
            ENDIF.
    ENDIF.
          ENDLOOP.
          SOURCE_PACKAGE[] = IT_SOURCE_PACKAGE[].
        ENDIF.
    -Vikram

  • Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Just got my Mac air and i would like to make a file to store some web addresses for my new business with rodan and fields and I can't do it. Made the file but i cant copy and paste the web addresses in the file to save them. Please help and thank you.

    Yes - well you have to make the file in a word processing Application.
    You could use TextEdit (it's free) Pages (words only), or Numbers (data base) (they are part of iWorks - and may or may not be free (included) on your machine.  You could use MS Office (it is not free) You could use any Open source word processor that plays well with Office (NeoOffice, StarOffice) they are free.
    That's how you create content and copy/paste URLS. Then you save the file to the desktop. If you are going to make more than one file... you make a folder on the desktop and save, or drag the file(s) into it.
    You attach it to your e-mail client which will compress it and e-mail it. An excellent reference is to use Help, from the menu bar, also from inside any application. From your library or book store the OS X for Dummies has a lot of useful information (you don't read it cover to cover but look up chapters about what you'd like to do)
    You can also make appointments at your local Apple store for individualized help (if a store is nearby)

  • I have had my I have had my iPhone 5c for a little over a month and people can never hear me during calls, like I'm in a tunnel or muffled! I googled this issue and several others have had this problem as well. What can I do to get help?

    I have had my I have had my iPhone 5c for a little over a month and people can never hear me during calls, like I'm in a tunnel or muffled! I googled this issue and several others have had this problem as well. What can I do to get help?

    Take it in to an Apple store or authorized service center for evaluation and possible replacement.

  • Need a little Help with my new xfi titanium

    +Need a little Help with my new xfi titanium< A few questions here.
    st question? Im using opt out port on the xfi ti. card and using digital li've on a windows 7 64 bit system,? I would like to know why when i use 5. or 7. and i check to make sure each speakear is working the rear speakers wont sound off but the sr and sl will in replace of the rear speakers. I did a test tone on my sony amp and the speaker are wired correctly becasue the rear speakers and the surrond? left and right sound off when they suppose too. Also when i try to click on? the sl and sr in the sound blaster control panel they dont work but if i click on the rear speakers in the control panel the sl and sr sound off. Do anyone know how i can fix this? So i would like to know why my sl and sr act like rears when they are not?
    2nd question? How do i control the volume from my keyboard or from windows period when using opt out i was able to do so with my on board? sound max audio using spidf? Now i can only control the audio using the sony receiver.
    Thank you for any help..

    /Re: Need a little Help with my new xfi titanium? ?
    ZDragon wrote:
    I'm unsure about the first question. Do you even have a 7. system and receiver? If you just have 5., you should be able to remap the audio in the THX console.
    I do have a sony 7. reciever str de-995 its an older one but its only for my cpu. At first i didnt even have THX installed because it didnt come with the driver package for some reason until i downloaded the daniel_k support drivers and installed it. But it doesnt help in anyway.
    I have checked every where regarding the first question and alot of people are having problems getting sound out of there rear channels and the sound being re-mapped to the surround right and the surround left as if there rear left and rear right.
    I read somewhere that the daniel_k support drivers would fix this but it didnt for me and many others.
    For the second question i assumed it would be becasue of the spidf pass through and that my onboard sound card was inferior to the xfi titaniums. But i wasnt sure and i was hopeing that someone would have a solution for that problem because i miss controlling the volume with my keyboard.

  • Need a little help with syncing my iPod.

    I got a new macbook pro for cristmas and a few cds. After i tried to sync my ipod to itunes i put a symbol next to each song that i got from other cds saying that they were downloading but they werent. Also the cds i downloaded to my ipod for the first time didnt appear at all. Need help.

    /Re: Need a little Help with my new xfi titanium? ?
    ZDragon wrote:
    I'm unsure about the first question. Do you even have a 7. system and receiver? If you just have 5., you should be able to remap the audio in the THX console.
    I do have a sony 7. reciever str de-995 its an older one but its only for my cpu. At first i didnt even have THX installed because it didnt come with the driver package for some reason until i downloaded the daniel_k support drivers and installed it. But it doesnt help in anyway.
    I have checked every where regarding the first question and alot of people are having problems getting sound out of there rear channels and the sound being re-mapped to the surround right and the surround left as if there rear left and rear right.
    I read somewhere that the daniel_k support drivers would fix this but it didnt for me and many others.
    For the second question i assumed it would be becasue of the spidf pass through and that my onboard sound card was inferior to the xfi titaniums. But i wasnt sure and i was hopeing that someone would have a solution for that problem because i miss controlling the volume with my keyboard.

  • Help with encapsulation and a specific case of design

    Hello all. I have been playing with Java (my first real language and first OOP language) for a couple months now. Right now I am trying to write my first real application, but I want to design it right and I am smashing my head against the wall with my data structure, specifically with encapsulation.
    I go into detail about my app below, but it gets long so for those who don't want to read that far, let me just put these two questions up front:
    1) How do principles of encapsulation change when members are complex objects rather than primitives? If the member objects themselves have only primitive members and show good encapsulation, does it make sense to pass a reference to them? Or does good encapsulation demand that I deep-clone all the way to the bottom of my data structure and pass only cloned objects through my top level accessors? Does the analysis change when the structure gets three or four levels deep? Don't DOM structures built of walkable nodes violate basic principles of encapsulation?
    2) "Encapsulation" is sometimes used to mean no public members, othertimes to mean no public members AND no setter methods. The reasons for the first are obvious, but why go to the extreme of the latter? More importantly HOW do you go to the extreme of the latter? Would an "updatePrices" method that updates encapsulated member prices based on calculations, taking a single argument of say the time of year be considered a "setter" method that violates the stricter vision of encapsulation?
    Even help with just those two questions would be great. For the masochistic, on to my app... The present code is at
    http://www.immortalcoil.org/drake/Code.zip
    The most basic form of the application is statistics driven flash card software for Japanese Kanji (Chinese characters). For those who do not know, these are ideographic characters that represent concepts rather than sounds. There are a few thousand. In abstract terms, my data structure needs to represent the following.
    -  There are a bunch of kanji.
       Each kanji is defined by:
       -  a single character (the kanji itself); and
       -  multiple readings which fall into two categories of "on" and "kun".
          Each reading is defined by:
          -  A string of hiragana or katakana (Japanese phoenetic characters); and
          -  Statistics that I keep to represent knowledge of that reading/kanji pair.Ideally the structure should be extensible. Later I might want to add statistics associated with the character itself rather than individual readings, for example. Right now I am thinking of building a data structure like so:
    -  A Vector that holds:
       -  custom KanjiEntry objects that each hold
          -  a kanji in a primitive char value; and
          -  two (on, kun) arrays or Vectors of custom Reading objects that hold
             -  the reading in a String; and
             -  statistics of some sort, probably in primitive valuesFirst of all, is this approach sensible in the rough outlines?
    Now, I need to be able to do the obvious things... save to and load from file, generate tables and views, and edit values. The quesiton of editting values raises the questions I identified above as (1) and (2). Say I want to pull up a reading, quiz the user on it, and update its statistics based on whether the user got it right or wrong. I could do all this through the KanjiEntry object with a setter method that takes a zillion arguments like:
    theKanjiEntry.setStatistic(
    "on",   // which set of readings
    2,      // which element in that array or Vector
    "score", // which statistic
    98);      // the valueOr I could pass a clone of the Reading object out, work with that, then tell the KanjiEntry to replace the original with my modified clone.
    My instincts balk at the first approach, and a little at the second. Doesn't it make more sense to work with a reference to the Reading object? Or is that bad encapsulation?
    A second point. When running flash cards, I do not care about the subtlties of the structure, like whether a reading is an on or a kun (although this is important when browsing a table representing the entire structure). All I really care about is kanij/reading pairings. And I should be able to quickly poll the Reading objects to see which ones need quizzing the most, based on their statistics. I was thinking of making a nice neat Hashtable with the keys being the kanji characters in Strings (not the KanjiEntry objects) and the values being the Reading objects. The result would be two indeces to the Reading objects... the basic structure and my ad hoc hashtable for runninq quizzes. Then I would just make sure that they stay in sync in terms of the higher level structure (like if a whole new KanjiEntry got added). Is this bad form, or even downright dangerous?
    Apart from good form, the other consideration bouncing around in my head is that if I get all crazy with deep cloning and filling the bottom level guys with instance methods then this puppy is going to get bloated or lag when there are several thousand kanji in memory at once.
    Any help would be appreciated.
    Drake

    Usually by better design. Move methods that use the
    getters inside the class that actually has the data....
    As a basic rule of thumb:
    The one who has the data is the one using it. If
    another class needs that data, wonder what for and
    consider moving that operation away from that class.
    Or move from pull to push: instead of A getting
    something from B, have B give it to A as a method
    call argument.Thanks for the response. I think I see what you are saying.. in my case it is something like this.
    Solution 1 (disfavored):
    public class kanjiDrill{ // a chunk of Swing GUI or something
         public void runDrill(Vector kanjiEntries){
              KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
              char theKanji = currentKanjiEntry.getKanji();
              String theReading = currentKanjiEntry.getReading();
              // build and show a flashcard based on theKanji and theReading
              // use a setter to change currentKanji's data based on whether the user answers correctly;
    }Solution 2 (favored):
    public class kanjiDrill{ // a chunk of Swing GUI or something
         public void runDrill(Vector kanjiEntries){
              KanjiEntry currentKanjiEntry = kanjiEntries.elementAt(0); // except really I will pick one randomly
              currentKanji.buildAndShowFlashcard(); // method includes updating stats
    }I can definitely see the advantages to this, but two potential reasons to think hard about it occur to me right away. First, if this process is carried out to a sufficient extreme the objects that hold my data end up sucking in all the functionality of my program and my objects stop resembling natural concepts.
    In your shopping example, say you want to generate price tags for the items. The price tags can be generated with ONLY the raw price, because we do not want the VAT on them. They are simple GIF graphics that have the price printed on a an irregular polygon. Should all that graphics generating code really go into the item objects, or should we just get the price out of the object with a simple getter method and then make the tags?
    My second concern is that the more instance methods I put into my bottom level data objects the bigger they get, and I intend to have thousands of these things in memory. Is there a balance to strike at some point?
    It's not really a setter. Outsiders are not setting
    the items price - it's rather updating its own price
    given an argument. This is exactly how it should be,
    see my above point. A breach of encapsulation would
    be: another object gets the item price, re-calculates
    it using a date it knows, and sets the price again.
    You can see yourself that pushing the date into the
    item's method is much beter than breaching
    encapsulation and getting and setting the price.So the point is not "don't allow access to the members" (which after all you are still doing, albeit less directly) so much as "make sure that any functionality implicated in working with the members is handled within the object," right? Take your shopping example. Say we live in a country where there is no VAT and the app will never be used internationally. Then we would resort to a simple setter/getter scheme, right? Or is the answer that if the object really is pure data are almost so, then it should be turned into a standard java.util collection instead of a custom class?
    Thanks for the help.
    Drake

  • Help with count and sum query

    Hi I am using oracle 10g. Trying to aggregate duplicate count records. I have so far:
    SELECT 'ST' LEDGER,
    CASE
    WHEN c.Category = 'E' THEN 'Headcount Exempt'
    ELSE 'Headcount Non-Exempt'
    END
    ACCOUNTS,
    CASE WHEN a.COMPANY = 'ZEE' THEN 'OH' ELSE 'NA' END MARKET,
    'MARCH_12' AS PERIOD,
    COUNT (a.empl_id) head_count
    FROM essbase.employee_pubinfo a
    LEFT OUTER JOIN MMS_DIST_COPY b
    ON a.cost_ctr = TRIM (b.bu)
    INNER JOIN MMS_GL_PAY_GROUPS c
    ON a.pay_group = c.group_code
    WHERE a.employee_status IN ('A', 'L', 'P', 'S')
    AND FISCAL_YEAR = '2012'
    AND FISCAL_MONTH = 'MARCH'
    GROUP BY a.company,
    b.district,
    a.cost_ctr,
    c.category,
    a.fiscal_month,
    a.fiscal_year;
    which gives me same rows with different head_counts. I am trying to combine the same rows as a total (one record). Do I use a subquery?

    Hi,
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    user610131 wrote:
    ... which gives me same rows with different head_counts.If they have different head_counts, then the rows are not the same.
    I am trying to combine the same rows as a total (one record). Do I use a subquery?Maybe. It's more likely that you need a different GROUP BY clause, since the GROUP BY clause determines how many rows of output there will be. I'll be able to say more after you post the sample data, results, and explanation.
    You may want both a sub-query and a different GROUP BY clause. For example:
    WITH    got_group_by_columns     AS
         SELECT  a.empl_id
         ,     CASE
                        WHEN  c.category = 'E'
                  THEN  'Headcount Exempt'
                        ELSE  'Headcount Non-Exempt'
                END          AS accounts
         ,       CASE
                        WHEN a.company = 'ZEE'
                        THEN 'OH'
                        ELSE 'NA'
                END          AS market
         FROM              essbase.employee_pubinfo a
         LEFT OUTER JOIN  mms_dist_copy             b  ON   a.cost_ctr     = TRIM (b.bu)
         INNER JOIN       mms_gl_pay_groups        c  ON   a.pay_group      = c.group_code
         WHERE     a.employee_status     IN ('A', 'L', 'P', 'S')
         AND        fiscal_year           = '2012'
         AND        fiscal_month          = 'MARCH'
    SELECT    'ST'               AS ledger
    ,       accounts
    ,       market
    ,       'MARCH_12'          AS period
    ,       COUNT (empl_id)       AS head_count
    FROM       got_group_by_columns
    GROUP BY  accounts
    ,            market
    ;But that's just a wild guess.
    You said you wanted "Help with count and sum". I see the COUNT, but what do you want with SUM? No doubt this will be clearer after you post the sample data and results.
    Edited by: Frank Kulash on Apr 4, 2012 5:31 PM

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

Maybe you are looking for

  • Assigning a value to a variable from a .txt file

    Hello, I'm having a slight problem doing this. I have a text file called text.txt, and within it is the text "one two" (minus the speechmarks). I'm simply trying to assign the second one of these words, (i.e. "two"), to a string variable of mine call

  • Is even simple automation possible

    in our workplace we now need to: 1 find a file 2 double click it 3 select automations under Metadata 4 click "Send proxy to FTP" 5 click save changes 2 automation clicks is all that is needed. Is there ANY way to automate this rather than doing it al

  • Application Items - is there a way to find all pages containing an item?

    Hello, I'm taking over support on an APEX application which uses application items. There's no documentation on design so I'm having to go through the app manually to understand it. Is there a way to see which pages a given app item has been used on?

  • JDK 1.3 Soft Links in CLASSPATH

    Hi, I found that the JDK1.3 javac compiler doesn't follow soft-links in unix filesystem. Whereas in JDK1.1.6 I was able to specify classpath through soft links also. Can anyone give more insight into this? Can this behavior be tailored - either via J

  • How to run a project in java

    hi all i am new to jdevelper and adf. really i need help i created a project and now i want to run it but i do not know how to run it my jdeveloper 11g R1 and i also compile the project and its showing me successful compilation 0-error and 0 warngs..