Its more that the first element in a linked list points to null and every element after that points towards the previous element. The last element in the list has null pointed to it. null <-- head <---> element <---> element <---> tail ---> null In a node struct, the head would have a previous element of null and a next element of another node. The tail would have a previous element of a node and a next element of null.
I thought it was the other way around. The linked list only has the element head and each Node has the it's data value and a pointer to it's next node that it's connected to (unless it's null)
oh yeah you're right, what I said and "drew" was a doubly linked list. Same premise I just added an extra pointer in the opposite direction. But yeah, you're right in what you said. My mistake.
haha no worries. I haven't done too much with doubly linked lists, but it sounds a little more complicated
Its actually not aside from an extra pointer in the other direction. It actually makes removing the head or tail easier by just pointing the new head/tail's leading or trailing pointer to null.
Hahaha, yeah, I did disappear. I stopped logging on here for a while. Most of my days were filled up with work so I just never logged on. But now that Im finishing up my final year of school I have a bit more time to check here every now and then :p
I had some arguments that I was passing into a c program using argv and my arguments involved a '|' which I should have known wouldn't work with being passed.
Yeah, it seems like a cool place to be. I am really excited to be able to get some professional coding experience on my resume.
Now i'm starting to get stress about writing code in a professional setting, since this is my first job it's not like hobbyist or school work anymore. Anybody get like that? I don't think it helps that my manager is a Harvard Med Professor who codes as well.
Totally, starting my first job was SO stressful.. personally I thought the hardest part was figuring out where to draw the line between "stuff I need to figure out on my own" and "stuff I need to ask for help with" - but when you find a balance that feels good to you, it helps a lot! Usually bosses and coworkers that have a tech background understand that training takes time, and they'll expect you to have questions/not know everything/need help with some things.
I got promoted this week to an associate dev position with a 10% raise :O I am so shocked and pumped about it. Apparently I've been doing something right. Curious, anyone use an adjustable standing desk for their work? I have one at work and I'm in love with it. I found this one online for only $250: $249 SmartDesk: The World's Best Standing Desk, Period. Seems almost too good a deal? Anyone hear of these? Really considering one at my next apartment.. I'll finally have enough desk space for dual monitors :p
Very true from my experience. I was definitely pretty stressed and feeling like I didn't know WTF I was doing, but my manager has been super understanding throughout and has been reassuring me that he's impressed that I know to ask questions and want people to review my work before throwing it out to the public, while still being as independent as I can. After 9 months, I feel way more comfortable at my job. I've found as long as you put in the time to try to figure things out, and you can't, there's no shame in asking for help. It is tough, though, I still get my fair share of anxiety over it.
It's an interesting mix of anxiety and excitement. I start the 24, so I have some time to brush up on things I want. My PI has noted its a teaching position, and as entry level as it can get, but it is still a little intimidating, especially when myself and the PI are the only ones who know how to code, everyone else we work with are physicians or PhDs.
Another monitor will probably be my first "I have a job now" upgrade to my at-home rig. Either that or a PS4.
Yeah haha I can't wait for that set up, it's crazy how unproductive i feel without them now. I got a new monitor as soon as I got my job and would have gotten dual but my current desk has shelving around that wouldn't fit two >_>. Hope the screen color/brightness won't be toooo noticeable between the two when I get my second, since the other has been used for nearly a year.
At my job I'll have three systems running OSX, windows and linux. Cannot wait to swivel between them all. 2 days of orientation is in the way though...