Sankaku Complex Forums » Anime

  1. Avatar Image

    HKE

    So far i have been see people around here that is either interested in programming or is studying Computer Sciences so why not make a thread to help each other with any problem with a program , want help for homework for the college or is plaining to make a program or to be more exact a game like the Dying With Thyself project here .

    So any projects that you have either create a program , hack a program or make a videogame can be posted here

    Posted 4 years ago # Quote
  2. HKE said:
    So far i have been see people around here that is either interested in programming or is studying Computer Sciences so why not make a thread to help each other with any problem with a program , want help for homework for the college or is plaining to make a program or to be more exact a game

    Would you really trust sankaku-kun to help you?

    Posted 4 years ago # Quote
  3. Avatar Image

    HKE

    kudichan said:
    Would you really trust sankaku-kun to help you?

    Not everybody here just spend their times trolling around you know?

    Posted 4 years ago # Quote
  4. HKE said:

    Not everybody here just spend their times trolling around you know?

    Attachments

    1. hinaichigolies.jpg 4 years old
    Posted 4 years ago # Quote
  5. I work as a programmer, but it's mostly maintaining (really, really shitty) legacy code. I want to wait until I've worked there for at least a year before looking elsewhere, though.

    Development is so much more fun! I also worked at RIM a few years ago (when they were doing well) and had a lot of fun there.

    We can also open this thread up to programming questions, if that's okay with you, HKE?

    Posted 4 years ago # Quote
  6. Avatar Image

    HKE

    brningpyre said:
    I work as a programmer, but it's mostly maintaining (really, really shitty) legacy code. I want to wait until I've worked there for at least a year before looking elsewhere, though.

    Development is so much more fun! I also worked at RIM a few years ago (when they were doing well) and had a lot of fun there.

    Ugh... i now that especially when we are talking about maintaining and "updating" computers with Windows NT .

    We can also open this thread up to programming questions, if that's okay with you, HKE?

    Yeah buddy , this thread will be for software programming related things

    Posted 4 years ago # Quote
  7. Hm, okay.

    In Java, how would parse a String, that should be 8 chars long, and contain only zeroes and ones, as a byte ? All 256 values possible?
    You want to throw an exception if the String does not comply with these constraints, and you'd rather not include a library just for that.

    My attempts so far :

    ####
    static byte parseByte(String s) {
    if(Pattern.matches("[01]{8}", s)) {
    int parsed = Integer.parseInt(s, 2);
    return (byte)parsed;
    } else {
    throw new IllegalArgumentException("Not a binary byte: " + s);
    }
    }

    ####

    Or, slighly more efficient:

    ########
    static byte parseByte(String s) {
    if(s.length() != 8) {
    throw new IllegalArgumentException("Not a binary byte: " + s);
    }
    byte parsed = 0;
    for(int i = 0; i < 8; i++) {
    char digit = s.charAt(i);
    parsed *= 2;
    if(digit == '1') {
    parsed++;
    } else if(digit != '0') {
    throw new IllegalArgumentException("Not a binary byte: " + s);
    }
    }
    return parsed;
    }

    #####

    Posted 4 years ago # Quote
  8. Is this supposed to be a question or what? you already answer it by yourself. There is no reason trying to make you code looked cooler and nerdy just to impress your teacher.

    It is fine if you have 50 LOC and need help to trimmed it down to 20 or something. But anything beyond this simple String to Byte checking in attempt to get like...what? 2 or 3 LOC, is seriously begging for attention.

    Posted 4 years ago # Quote
  9. Avatar Image

    -

    About ren'py, while it can use python, a lot of code is made with its own scripting language, so unless someone used it before it's unlikely that you can help

    ...though in the lucky case that someone DID use it here's a problem I have http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=12795

    Posted 4 years ago # Quote
  10. Avatar Image

    HKE

    maeriden said:
    About ren'py, while it can use python, a lot of code is made with its own scripting language, so unless someone used it before it's unlikely that you can help

    ...though in the lucky case that someone DID use it here's a problem I have http://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=12795

    Uhm.... i will check the api , i was interest sometime ago about Ren'py because i started learning python thanks to Blender but i suck at 2d thats why i didnt care to learn about Ren'py

    Posted 4 years ago # Quote
  11. baronight said:
    Is this supposed to be a question or what? you already answer it by yourself. There is no reason trying to make you code looked cooler and nerdy just to impress your teacher.

    It is fine if you have 50 LOC and need help to trimmed it down to 20 or something. But anything beyond this simple String to Byte checking in attempt to get like...what? 2 or 3 LOC, is seriously begging for attention.

    Didn't mean to offend your period, missy. I was actually wondering whether I had missed something obvious to do it more simply. Guess not.

    Posted 4 years ago # Quote
  12. I am going to start learning to program again. I am even taking a class at school next semester. Hopefully this experience is better than the one in high school

    Posted 4 years ago # Quote
  13. The next thing that I have to do is write Mosbus ASCII protocol for an STM32L processor incorporating freeRTOS. I guess I get to start that when I go back to work next week.

    Posted 4 years ago # Quote
  14. Okay I started to write a VN but it suck right now because I suck at programming. Right now I have a few lines of dialogue.

    Posted 4 years ago # Quote
  15. Avatar Image

    HKE

    donyea said:
    Okay I started to write a VN but it suck right now because I suck at programming. Right now I have a few lines of dialogue.

    Did your draw some pics? or somebody did it? , are you using ren'py or another?

    Posted 4 years ago # Quote
  16. donyea said:
    Okay I started to write a VN but it suck right now because I suck at programming. Right now I have a few lines of dialogue.

    If you're good at anything else than programming, for a VN, you will usually have no problem at all to find programmers to wrap it up.

    Posted 4 years ago # Quote
  17. Avatar Image

    -

    kyati said:
    The next thing that I have to do is write Mosbus ASCII protocol for an STM32L processor incorporating freeRTOS. I guess I get to start that when I go back to work next week.

    That avatar with this post...!

    Posted 4 years ago # Quote
  18. ^and you thought that was her replying to this post

    Posted 4 years ago # Quote
  19. HKE said:

    Did your draw some pics? or somebody did it? , are you using ren'py or another?

    using ren'py and I can only draw crudely drawn airplanes and abstract stuff.

    Posted 4 years ago # Quote
  20. Avatar Image

    HKE

    ok i would like to know how from here have experience programing with Lua , specially in game engines , because i goint to need someone to help me do an AI in lua for the games we are developing

    Posted 4 years ago # Quote

Reply »

You must log in to post.