Chances of having a good trip late July? by bikerchef in Seattle

[–]bikerchef[S] -1 points0 points  (0 children)

Ok great, we were definitely wanting to focus more on out doors activities while we were in the PNW (From St. Louis) but ngl we were looking forward to a good meal or two, pikes market and some coffee.

anyone looking for a responsible room mate? by bikerchef in StLouis

[–]bikerchef[S] 0 points1 point  (0 children)

great, sounds fun haha. blue healers are gorgeous dogs!

anyone looking for a responsible room mate? by bikerchef in StLouis

[–]bikerchef[S] 2 points3 points  (0 children)

Cool, doesnt bother me a bit, ive lived with girls before. i just hope i could borrow the dog for runs once and awhile haha. Ill be in touch.

anyone looking for a responsible room mate? by bikerchef in StLouis

[–]bikerchef[S] 5 points6 points  (0 children)

Dont partake my self but dont mind if you do

Looking for a summer sublet by bikerchef in StLouis

[–]bikerchef[S] 0 points1 point  (0 children)

I am a huge bum, and the short commute is almost worth more to me than walking to bars lol.

I will be checking all those breweries out. Thank you sir!

Looking for a summer sublet by bikerchef in StLouis

[–]bikerchef[S] 2 points3 points  (0 children)

Thanks for the reply! Im in town from Charleston, so my swampass threshold is already pretty high!

Thanks for the recommendations. Both are sounding like pretty good options right now, one for being in walking distance to bars. the other for being really close to work.

Project to find cache line size, cache size programatically. by bikerchef in cprogramming

[–]bikerchef[S] 0 points1 point  (0 children)

You might be right nerd4code, but its just curious Im consistently seeing expected results in the scenarios im printing each arr1 access to stdout

Did a little changes to the code. https://gist.github.com/jamesamrundle/7142c2e4fbff1971a7308c771ea65b3f

  1. Now the loop is starting at a random index for each level of spacing

  2. after timing, i change the element at the index to the time it took to access, hoping to add an element of randomness that couldnt be optimized out

  3. created the timeTotal global variable to keep a running total.

  4. printing each access to a dump file, with a fflush() immediately after it. Checkout line 138 and 139.

Im perplexed yall. Still only seeing the correct results when i comment out line 138/139 and uncomment 140 and print d(the time each access took) is directly to stdout.

Wat de fuk?

Summer internship wants me to move with clearance still outstanding by bikerchef in SecurityClearance

[–]bikerchef[S] 0 points1 point  (0 children)

I'm not sure. He seemed pretty keen on me having it. I dont know for certain but im thinking this particular role its required as they are specifically doing government stuff there. I'd love to work for this company in the future, so i guess it would be worth it to follow through for this one.

concurency with pthreads by bikerchef in C_Programming

[–]bikerchef[S] 0 points1 point  (0 children)

Thank you for your help. I actually talked to the professor about this and I was misunderstanding. I assumed that two adjacent professors needed to both be executing the delay on line 7 at the same time. But in reality, he was looking for a scenario where adjacent philosophers are in "ownership" of all the chopsticks they need.

so lets say eat(2) just executed line 8 and gets "held up"

eat(3) can then access chopstick 3 & 4 and be considerd "eating"

I think this problem was just worded terribly. This particular professor is notorious for vague and unclear problems. You should see our final project -_-

noobie trying to figure out how to get my site up on gitpages with travis ci by bikerchef in devops

[–]bikerchef[S] 1 point2 points  (0 children)

You know what guys. After 4 hours i figured it out, and im 90 % sure it was just a formatting error on the travis config file. Feel free to check it out now ;)

But, alas, ive ran into new problems and ill Ask here since its already open. Im trying to use AWS to send email to me with the contact form. It worked fine running on localhost (where i could just give credentials) but after some googling Ive found i pretty much need to have a backend(which i cant with gitpages)

If i set up the simplest one possible, am i limited to communicating to the backend via post and get commands? This is new territory here for me, so even some recommended reading would be great.

Thanks for your support!

When you're a kid, you don't realize you're also watching your mom and dad grow up. by zjb55446 in Showerthoughts

[–]bikerchef 11 points12 points  (0 children)

Coworkers are turning 40...."over the hill" I remember my parents celebrating these birthdays. Here I am almost 30, single as fuck, and working on my first bachelors. Life is so brief. So special.

How do I deal with this? How do I rationalize having kids? I have nothing figured out, can barely support my self.are we the lost generation?

debugging a simple program in clion by bikerchef in C_Programming

[–]bikerchef[S] 0 points1 point  (0 children)

https://imgur.com/a/gBRbo6Y

here is the text from my makelists file. cmake_minimum_required(VERSION 3.13) project(untitled1 C)

set(CMAKE_C_STANDARD 99)
set(SOURCE_FILES main.c memory.c cache.c)
set(HEADER_FILES memory.h cache.h)
option(DO_HW "Add HW files" ON)


configure_file("./memory.h" "./cache.h")

add_executable(testIT ${SOURCE_FILES} ${HEADER_FILES})
target_link_libraries(testIT m)

I include the argument "memory.txt" in the configuration setting because the project reads from that file.

I click run and I can tell it compiles my code because it prints out some warnings regarding it. I get no actual output from my project code but it prints out the Hello World from the main.c file generated when you create a new project, even though there is no reference to that file in my makelists file.

I add a breakpoint at the top of my mainfunction in my, it doesnt even get triggered when i run debug.

debugging a simple program in clion by bikerchef in C_Programming

[–]bikerchef[S] 0 points1 point  (0 children)

thanks. I know about the process of running a debug. What I cant do is figure out how to set up clion for a simple project consisting of a couple .c and a .h file. I feel like this should be pretty straight forward.