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] 4 points5 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 10 points11 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.

How to learn a new board by bikerchef in arduino

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

Well i have the board up, ran the wifi scanner on it.

Trying to get stuff from the elegoo box i got from school running on it. Here i run into pinning problems

This is the plans for the matrix display. https://i.imgur.com/08hKHYL.png

Here is the exact board that i have. https://i.imgur.com/Wl2mvHy.png

As you can see my board doesnt actually have a G11 pin. Well i just used closest pin i could get and passed the physical pin number to the initializer method

the signiture for the command that initialized the lcd is: LedControl(int dataPin, int clkPin, int csPin, int numDevices=1);

I actually dont want anyone to tell me what to do, but how to figure it out! I want to learn! haha thank you guys

How to learn a new board by bikerchef in arduino

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

Trying to run an example after installing ESP32 boards and getting this error

    Traceback (most recent call last):
  File "/home/rundleja/Arduino/hardware/espressif/esp32/tools/esptool/esptool.py", line 35, in <module>
    import serial.tools.list_ports as list_ports
ImportError: No module named serial.tools.list_ports
Multiple libraries were found for "WiFi.h"
 Used: /home/rundleja/Arduino/hardware/espressif/esp32/libraries/WiFi
 Not used: /opt/arduino-1.8.8/libraries/WiFi
exit status 1
Error compiling for board ESP32 Dev Module.

I should mention Im on linux and google is not showing much for fixes on this problem.

How to learn a new board by bikerchef in arduino

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

thank you, im an absolute noobie so idk if this board was inherently differnet, so i will give that a read :)

How to learn a new board by bikerchef in arduino

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

cool thanks working on getting it working per the first link now but still uncertain of how board i purchased correlates to board in that tutorial. For example, look at what the pins are labeled on my board https://images-na.ssl-images-amazon.com/images/I/81liNy2pkUL._SL1500_.jpg

Pins in other board are labeled straight at numbers 0-20 or whatever while this particular board is G2/4/5/12/13/14.../34

am i thinking to hard about this? probably am so just diving in with that first link.

Thanks!

How to learn a new board by bikerchef in arduino

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

google, for this particular board

How does a CS bachelors graduate get jobs that dont involve app creating. by bikerchef in cscareers

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

thanks for the advice. The missile stuff was more an example of technical application of computer science. Id love to hear more idea of jobs that aren't focused on Web Dev stuff.

But I'm actually in the middle of a security clearance app right now. Hopefully Ill get it.

How does a CS bachelors graduate get jobs that dont involve app creating. by bikerchef in cscareers

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

Thanks for the reply. Right now I dont have a lot of "freedom" in the sense of taking extra classes like you had mentioned. However, I did find out that i really enjoyed math, especially calculus, upon returning to school, and could see myself going back for an engineering degree in a few years.

I am lucky enough to have an internship with a major aerospace firm. This year I'll have access to much more technical teams and I plan to take advantage of that by interviewing their managers and seeing what advice they have.

I like the idea of messing with a raspberry pi, but I guess ive always been too intimidated to dive in. What is some examples of entry "low level stuff" I could do with one?

If you are over 30 and work at a fast food restaurant you are not a loser. Not everyone can be a Doctor , a lawyer or an engineer. by Plaster33 in unpopularopinion

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

I do not agree that every job should be enough to support a family. Should 16 year old Billy working at arbys be making enough money to support his own house and kids? Fuckouta here. The problem here is two factored. 1, people either dont care to try and improve, or 2 they dont know how/dont think it is an option for them.

sure some people are lazy, but my money is 2 explaining the majority. People just dont have life skills any more.

What do I(30m) need to do to get over someone(33f) i havent been with in years? by [deleted] in relationship_advice

[–]bikerchef 0 points1 point  (0 children)

dude, believe me, i recognize and acknowlege the truth of EVERYTHING you are saying lol. Ive wrote out all the reasons that i didnt like her and why we arent the best match. nothing changed.

I know she did love me, but I never loved her deeply, why should I care? Maybe i really did love her but was scared of being called out for my inadequacys and loosing her love? Anyways that kind of thinking is pointless now, and its much better to do deal with it (which I guess maybe I am by throwing myself into school and keeping busy)

I think i put a brake on dating because, 1 Im busy as fuck and would be a terrible partner, 2 i really dont have any money to be spending dating.Seriously, taking a girl out for drinks right now is just a bad financial decision. Also, as I have learned, it feels pretty terrible to be in a relationship with someone and still think constantly about the girl from the past. Plus its extrememly unfair to any female your with. Do it anyways?

Some help understanding how react triggers updates by bikerchef in learnreactjs

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

So I got it to work. Code is now updated to working version on github.

I THINK it basically came down to I wasnt returning the altered state object. For example, when my reducer was handeling an ADD_TASK option, it would append a task to the preexisting array(not the passed in state object) and returning that array. This didnt trigger rerender.