Search:

Type: Posts; User: gzhispanic

Search: Search took 0.01 seconds.

  1. Okay, so I'll just wait to hear from a mod. I...

    Okay, so I'll just wait to hear from a mod. I didn't want to put it in the C forum, so I figured it was fair game for "general discussion".
  2. Yes, obviously.

    Yes, obviously.
  3. Account activations are completely broken

    My labmate here has tried to sign up (myblock is his account name), but he can't do ANYTHING until he gets the account activation in his email. He can't even PM a MOD to have this email sent. He's...
  4. Actually, I found this reference while searching...

    Actually, I found this reference while searching for stuff on lazy allocation and calloc/malloc in Linux. I saw it, saw he made an incorrect statement *while simultaneously being pedantic* and had to...
  5. I actually stumbled upon this when looking up...

    I actually stumbled upon this when looking up something about when pages are actually assigned to frames in Linux. I didn't actually go back because I remembered this discussion.

    "Note that too,...
  6. What design paper have you read for the compute...

    What design paper have you read for the compute node kernel?
  7. Salem is wrong - not all modern OSs use virtual memory

    http://cboard.cprogramming.com/linux-programming/119252-lazy-allocation-*alloc.html

    Compute Node Kernel, a linux kernel derivative that's used extensively on IBM Blue Gene supercomputers, and even...
  8. Replies
    3
    Views
    548

    Export.. interesting. Is there a way to make...

    Export.. interesting. Is there a way to make different targets from within the same make instance?
  9. Replies
    3
    Views
    548

    Variables in Makefile

    I'm sure this isn't the best way to do it, and tools like autoconf and cmake would be better, but I really just want something quick and dirty.

    Basically, I have code in a distributed system...
  10. Replies
    2
    Views
    1,657

    Okay, but your last solution requires defining a...

    Okay, but your last solution requires defining a new struct. I'm just not sure why that's needed, as lists and queues are often "recursive" types. I guess I thought there would be a way to do it...
  11. Replies
    2
    Views
    1,657

    trying to understand sys/queue macros

    Hi,

    I am trying to understand how the macros work in sys/queue.h, but from looking at the online tutorials, I still seem to be missing something.

    I am modifying some code that exists already,...
  12. That works. Thanks.

    That works. Thanks.
  13. Check if certain files exist, if so, open them

    Hi,
    I want to check if there are files present in a directory that match a certain regex, i.e., "reader_contact_info_%d", and if there are, I'd like to get the names of these files, perhaps the...
  14. Replies
    15
    Views
    1,575

    Thanks everyone for the help! It seems like there...

    Thanks everyone for the help! It seems like there are quite a few strong solutions to try out. Awesome! I will be working on this tonight and tomorrow, so I'll post here what has happened.

    This...
  15. Replies
    15
    Views
    1,575

    Okay, I have to try this. This looks really good,...

    Okay, I have to try this. This looks really good, actually, and running the code, I think it works as expected! I am just curious, what are askips and bskips doing here?

    Thanks so much!!
  16. Replies
    15
    Views
    1,575

    Thanks for the reply. It will take me a bit to...

    Thanks for the reply. It will take me a bit to wrap my head around this!

    The library and API themselves are written in C, but the codes that use it can be C/C++, Fortran, Matlab, Java.. I think...
  17. Replies
    15
    Views
    1,575

    So, I have a question, and it's probably a stupid...

    So, I have a question, and it's probably a stupid one. If an array is passed to you as just a pointer (i.e., int *array) as in this case, would X[1] then be the value 20 from my example?

    So...
  18. Replies
    15
    Views
    1,575

    Hmm, actually, I think I understand how this...

    Hmm, actually, I think I understand how this works. I think you might be on to something. Let me try to wrap my head around this a bit more. I think this is on the write track!!
  19. Replies
    15
    Views
    1,575

    You are right, 50,60,70,80. I am not sure...

    You are right, 50,60,70,80.

    I am not sure though how I would code the X[x] idea to work for any number of dimensions.
  20. Replies
    15
    Views
    1,575

    Edit: Duplicate post.

    Edit: Duplicate post.
  21. Replies
    15
    Views
    1,575

    Thanks for the quick reply! I agree, recursion is...

    Thanks for the quick reply! I agree, recursion is definitely the way to go here.

    As to your first question: When the arrays get passed into the library, they're just standard C arrays. My...
  22. Replies
    15
    Views
    1,575

    Thanks for the reply. However, I don't fully...

    Thanks for the reply. However, I don't fully understand what you mean. The real code isn't restricted to just 2D arrays; I just wrote it as such because it's an easier example to put in text.
  23. Replies
    15
    Views
    1,575

    Select Slices of a Multidimensional Array?

    Hi all. I'm a biologist by training but now work as a "computational biologist" on an open-source science project (written in C) for a national lab, so I apologize in advance if this question has an...
Results 1 to 23 of 23