Це відео не доступне.
Перепрошуємо.

My worst coding blunders | Life as a PhD student #14

Поділитися
Вставка
  • Опубліковано 20 тра 2017
  • So I'm not the best coder in the world. In fact I've made some pretty big mistakes...
    This minisode I also talk about running, winning UA-cam NextUp, and my coding progress. YAY FUN
    Watch Dan and I play Kerbal Space Program: • Simon and Dan play Ker...
    My running headphones: bit.ly/runningbluetoothheadphones
    You can support the channel by donating at / simonoxfphys
    --------- II ---------
    Previous vlog:
    Next vlog:
    Vlog playlist: • Life as a PhD student
    Music by: David Cutter Music - www.davidcuttermusic.co.uk
    Filmed on my Canon G7X: bit.ly/simonvloggingcamera
    Editing done in Premiere.
    Huge thanks to my supporters on Patreon: Samuel Rose, Kane Thynne, Eve Dillon, Rowan Gow, Rikke Norgaard Christiansen, Daniel Martin, Matthias Loos, James Bridges, Hanna Scott, James Craig, Angela Cook, Sanaa Al Derei, Mark Anthony Magro, Maddie Sisk, Liam Farrar, Theresa Wang, Hunter Jones, Nathan Smith, Kieran Kelly, Wendover Productions, Kendra Johnson, Caitlin Louise, and Real Engineering.
    --------- II ---------
    I am Simon, a fourth year PhD candidate at the University of Exeter. I upload videos on bits of science which are relevant to what I do, and sometimes just because they're really cool.
    Vlogs from Oxford students - / oxvlog
    My twitter - / simonoxfphys
    My facebook - / youtubesimon
    My insta - / simonoxfphys
    My goodreads - / simonoxfphys
    Thanks to Vlogbrothers for their sponsorship of this video. Money from the Foundation to Decrease Worldsuck contributed to equipment used in this video.

КОМЕНТАРІ • 186

  • @SimonClark
    @SimonClark  7 років тому +33

    For those who are interested, these are the headphones I use: bit.ly/runningbluetoothheadphones

  • @irun_mon
    @irun_mon 7 років тому +416

    That shirt is the most effective and safest form of birth control a person can use

  • @rednax3788
    @rednax3788 7 років тому +264

    If you ever decide to propose to Liv, please wear that shirt when you do.

  • @blazep5881
    @blazep5881 7 років тому +165

    Omg that shirt! 😂
    Please wear that while defending your thesis at the PhD viva

  • @willemhuiskamp
    @willemhuiskamp 7 років тому +47

    Regarding crashing the network, it's happened dozens of times in my department too (I work in climate science at UNSW in Aus.) and is very easy to do. It occurs when people don't properly manage their jobs, specifically setting memory limits. If your job then takes up all the memory on the server it will lock up, become unresponsive and require re-setting (this only takes about 10 minutes) followed by an angry email from the Sys. admin. Luckily I don't think ours is set up in such a way that you can bring down the network by crashing one of the servers - no idea how you would manage that.

    • @joseduarte9823
      @joseduarte9823 7 років тому +7

      The memory probably leaked and as a security measure the system resets as a whole.

  • @safiyyah113
    @safiyyah113 7 років тому +5

    Your vlogs are terrific... And they're getting better!

  • @manishbhatta7728
    @manishbhatta7728 7 років тому +2

    Congrats On your Win Simon. You inspire me a lot.

  • @Relaxchan
    @Relaxchan 7 років тому +1

    Great vlog. Loved the ending!
    Now I need more Simon working/coding very fast montages.

  • @saralkoirala1355
    @saralkoirala1355 7 років тому +8

    Just when i needed it... Great Content :)

  • @soniadembowska2560
    @soniadembowska2560 7 років тому +1

    Hey Simon, great video, thanks for the motivation !!! (still have exams) and good luck to anyone else having them as well

  • @merlinHPtwilight
    @merlinHPtwilight 7 років тому +5

    New subscriber here, I don't understand anything about programming or physics but you somehow kept me entertained - good job

  • @RossOCarroll3301
    @RossOCarroll3301 7 років тому

    Your vlogs are improving so much now imo! Long time viewer here. Keep it up!

  • @nooodoru
    @nooodoru 7 років тому

    Well done on the 10k! Proud of you

  • @GeorginaMayDale
    @GeorginaMayDale 7 років тому +16

    Another great vlog from my favourite vlogger!

  • @mitchellmckee9287
    @mitchellmckee9287 7 років тому

    One of the best produced vlogs yet. Very cutting edge

  • @stefanbuys1927
    @stefanbuys1927 7 років тому

    Love your videos! Please keep on making them

  • @ornestebuitkute9720
    @ornestebuitkute9720 7 років тому

    I really liked the Vlog!! Its interesting to know more about the coding as ive had only a year of fortran practice

  • @syedmammar1
    @syedmammar1 7 років тому +1

    great content as always!

  • @Yashmnash
    @Yashmnash 7 років тому +13

    "You get paid to do a PhD?"
    "Not much!"
    XD

  • @sianchitchat
    @sianchitchat 7 років тому +1

    Literally just found your channel today! But honestly I find it so cool that I basically understand all of the coding methods you're talking about despite me being a first year BA student that only started code last September, haha. I'm doing 'Computer Visualisation and Animation' at the National Centre for Computer Animation in Bournemouth (I'm hoping to get into film!) Contrary to what most people assume, we do a fair bit of scripting for modelling, rigging and image production over the course. I just adore Physics, especially having grown up with a Mum working in it and a sister studying it (she just finished her MSc in Birmingham!), so I like to figure out ways of putting my physics interest into my course projects. Just this term I handed in a C program that generates a star map of the Zodiac constellations. I used the HYG database, inputting RA, dec and apparent mag of the stars to plot them with different levels of brightness on a window, then input the constellations to draw them over the top. It is far simpler than it might sound!! Just a bit of maths. But it's my first ever piece of C script (I handed in my first ever Python last month too, which procedurally modelled cityscapes). But anyway.. this is a looong post. I have definitely subscribed! :)

  • @benm1389
    @benm1389 7 років тому +7

    Hi Simon, really enjoyed your video series so far! (Alas, I have chain watched them all now) I was thinking of copying a little and doing one of these series for a psychology student (PhD starting October) but I really don't think I can match the charisma, and fatally... I have no Dan.

  • @mmkfk
    @mmkfk 7 років тому +1

    Do more Kerbal please. Your interactions are amazing.

  • @Laura-et2lk
    @Laura-et2lk 7 років тому

    Congrats on the nextup thing!

  • @thescopio4113
    @thescopio4113 7 років тому +17

    I can't get over that shirt.

  • @nnhhl6447
    @nnhhl6447 7 років тому

    i love the editing

  • @spookyrabbit19
    @spookyrabbit19 7 років тому

    Waking up to a video notification is the best way to start the day :)

  • @RobRobJuice
    @RobRobJuice 7 років тому +6

    The app Simon's using for running is called Strava.

  • @thibh
    @thibh 7 років тому

    Hey Simon. Thank you very much for your content, it is very pleasant to follow someone so passionate and humble about what they are doing. Really enjoy watching your content!
    I am a Ph.D. student myself in hydrological science. I would be interested to know in a few words what approach you used to couple Python and Fortran scripts if you get a chance?
    Thank you. Enjoy the rest of your week at the UA-cam Space and best of luck as you approach the home stretch of your Ph.D.!

  • @fajrikoto3132
    @fajrikoto3132 6 років тому

    I just realize that we are in the same year (2009). But you ve already completed PhD degree, while I am going to start my PhD this year. Congrats! I really like watching your vlog.

  • @satyam0303
    @satyam0303 7 років тому +26

    Hey Simon, your content is amazing and I love your videos. I just had a question. If you were to base your PhD in a field of Physics, other than Climate Physics, specifically Stratosphere-Troposphere Coupling, where would you base your research on, and why?

    • @SimonClark
      @SimonClark  7 років тому +32

      Hmmmm interesting! The thing that originally got me interested in a physics degree was plasma/fusion stuff so maybe something in that - or I quite liked some of the solid state physics and metamaterials stuff in my undergrad, so I could probably research that quite happily too!

  • @bradleybell8417
    @bradleybell8417 7 років тому

    Looking thinner dude, that running is doing work!

  • @hannahricebubble
    @hannahricebubble 7 років тому +11

    Maybe someone has already suggested this but you should use version control! So if you accidentally ruin your code you can revert it back to what you last "checked in"

    • @nabeelnasir
      @nabeelnasir 7 років тому +1

      Wanted to suggest the same to him! Was searching for "git" and "version control" in the comments section and found yours. :D I've been using Git once I started working and it's been a huge blessing for me. No more worries about file deletions, accidental changes and stuff. It lets you experiment freely with your code. You should definitely try it if you haven't, Simon.

    • @GirishManeShine
      @GirishManeShine 7 років тому

      I think he uses dropbox for version control.

  • @inessamaria2428
    @inessamaria2428 7 років тому

    Loved the video.

  • @nikitaxo8846
    @nikitaxo8846 7 років тому +2

    >tfw you have gcse maths tomorrow morning but Simon uploads

  • @njrom
    @njrom 7 років тому

    After rewriting the same code six times this week for my cosmology research each time correctly, but thinking it was wrong due to me misreading the axis of a graph, thanks for reminding me I am not the only one that makes really dumb coding errors!!!

  • @PixelGamer36
    @PixelGamer36 7 років тому

    Okay, that is the best shirt I've ever seen! xD

  • @Floptropican-Tim
    @Floptropican-Tim 6 років тому

    without watching the film, hearing "ohh, yessss, i needed that"....

  • @MatthewMarshall96
    @MatthewMarshall96 7 років тому

    On the topic of the server crash, I've seen the suggestion it was resource allocation problems which could make sense if there's something wrong in how the servers are set up. Another possibility is that with the 100% load was for the CPU, it could have been a thermal problem; I'd be surprised if the AC wasn't sufficient but it could have been an automatic emergency shutdown due to hitting a thermal limit. Just another possibility - our uni computers blue screen because of thermal issues in the less well-maintained labs all the time.

  • @MrAngiecakess
    @MrAngiecakess 7 років тому

    Definitely play more KSP with Dan!!

  • @erik_carter_art
    @erik_carter_art 5 років тому +1

    1:45 I'm dying laughing at your shirt! xD

  • @lewisnorth1188
    @lewisnorth1188 5 років тому +2

    Haha you were wearing that t-shirt on the Yogscast stream yesterday 😂

  • @Gory474
    @Gory474 7 років тому

    Victims of classic HP laptops spread across Exeter campuses.
    Good job on the PhD life vlogs btw!

  • @SuperClicheUsername
    @SuperClicheUsername 7 років тому

    Hey Simon, what do you ask for when you get your hair cut? Looks good!

  • @olivia_simone
    @olivia_simone 7 років тому

    your campus is so pretty!

  • @Haylarious7
    @Haylarious7 7 років тому

    I'm a fan of the shirt! Where did you buy it from?

  • @zaiso23
    @zaiso23 7 років тому

    That watch is really neat! Where did you get it? :)

  • @JuelZ925
    @JuelZ925 7 років тому

    What kind of music are you listening when youre working on a pc or laptop?

  • @zaidhorse
    @zaidhorse 7 років тому +2

    Regarding the "Oxford network Shutdown", in these situations it is most likely due to the fact that the cluster wasn't configured properly with the proper resource allocation and threshold configs. So it isn't really your fault.

  • @Likemusicat4
    @Likemusicat4 7 років тому

    that t shirt is a thing of beauty

  • @alirezarazeghi5623
    @alirezarazeghi5623 7 років тому

    Hello Simon,
    Could you plz tell your headphone model?

  • @kayliese8453
    @kayliese8453 7 років тому

    What computer game was that towards the end where you put the rocket in space?

  • @PolkovnicEagle8128
    @PolkovnicEagle8128 7 років тому

    LOVE the shirt.
    YEAH BOI

  • @fujisanprints
    @fujisanprints 7 років тому

    Do you cycle? I used to go running but the added speed of cycling made it exercise more enjoyable for me

  • @Walshy36
    @Walshy36 7 років тому

    @Simon Clark what is your major in exeter ?

  • @yeast4529
    @yeast4529 6 років тому

    What’s the name of the transition music?

  • @Kenbomp
    @Kenbomp 3 роки тому

    Fortran is almost fast or faster than c in sci work. Nice to hear it

  • @arbsb6952
    @arbsb6952 7 років тому

    Heh. Interesting video. I am an engineering student but I don't really like coding at all, so I'm starting to think I may be in the wrong line. Cool shirt.

  • @liamp9646
    @liamp9646 7 років тому

    where did you buy that shirt

  • @scott5322
    @scott5322 7 років тому

    Nice watch, what brand is that?

  • @aimanapril24
    @aimanapril24 7 років тому

    Simon what is the brand of your bluetooth earphones ?

  • @mihirgandecha
    @mihirgandecha 7 років тому

    What app do you use for running?

  • @thomaslecky5301
    @thomaslecky5301 6 років тому

    What type of headphones does he have?

  • @christoskomsios2860
    @christoskomsios2860 4 роки тому

    Hey Simon I'm an undergrad in America want to pursue a second major in physics in my school. My first major being a political science with a minor in Economics. What are good study tips when preparing for physics exams and mathematics thanks.

  • @ShaoVideoProduction
    @ShaoVideoProduction 7 років тому +1

    How the "hell" did you crash the entire network?!

  • @joeexotic6015
    @joeexotic6015 7 років тому

    Simon, before before you made up your mind and determined to study physics in the future and apply for physics major in university, did you hesitate? in other words did you ask yourself whether physics is really something you wanna pursue for the rest of your life?

  • @cameronparkinson8580
    @cameronparkinson8580 7 років тому

    MORE OF THE KERBAL.

  • @aayushgargofficial
    @aayushgargofficial 3 роки тому

    totally normal after running - "yes i needed that. oh yes"

  • @ramzi4883
    @ramzi4883 7 років тому

    What laptop do you have Simon?

  • @thomaslee6534
    @thomaslee6534 7 років тому

    The script might have used too much ram or cpu and caused something like a memory allocation error which could freeze and crash the whole server. There could also be conflicts as there might be many other applications on the same server as well. Just my guess ..

  • @TotalAnarchy27
    @TotalAnarchy27 7 років тому +1

    Pixel gurllllll!!!!

  • @oskars.5477
    @oskars.5477 7 років тому

    Hey Simon can you make more Livestream-Podcasts , I love em

    • @SimonClark
      @SimonClark  7 років тому +2

      Hopefully I'll be doing another livestream soon!

  • @jkarus
    @jkarus 7 років тому +1

    Great video! The t-shirt is terrible though.

  • @martinebonita2658
    @martinebonita2658 7 років тому

    when you have to rewatch, because you spent the whole time focusing on Ainsley

  • @zackarytherrien
    @zackarytherrien 6 років тому

    Maybe they did some load balancing (i.e. they try to spread the work equally amongst the servers).

  • @braa194332
    @braa194332 5 років тому

    I loaded all my radar data without sorting it by time and proceeded to do all my calc on it :/ But redoing it second time around is a lot faster than the first.

  • @honamalapi3593
    @honamalapi3593 7 років тому +1

    Which computer do you use?
    And
    Your videos are much similar to those of casey neistat

    • @SimonClark
      @SimonClark  7 років тому +1

      A HP-EliteBook-850-G1!

  • @SercanPy
    @SercanPy 7 років тому

    1) I'm surprised you're using the BBC weather app instead of the Met office one
    2) That t-shirt is a massive warning sign to all women, but it's beautiful
    3) My friend crashed the servers by having an infinite loop in his code. Apparently, it's quite common in my department.

  • @joshualee9637
    @joshualee9637 7 років тому

    I feel proud to be early!

  • @GoalDen
    @GoalDen 7 років тому

    how did you learn to code. like I'm learning basics but like I don't know 💩 what to program and where to program. I want to program aagh

    • @samflahive2535
      @samflahive2535 7 років тому

      Khubaib Intwala programming for its own sake is a grim path. Want to build something (website, mobile or desktop app, useful scripts, ras pi, andrino etc) then just google what you need to learn, ie the best language(s) for the job. Watch some tutorials on that language to get the basics, the google specific problems as you run into them while creating what you set out to.

  • @finnersmcspeed5646
    @finnersmcspeed5646 3 роки тому

    God it's weird watching this as first year in 2021

  • @pewpewpew5640
    @pewpewpew5640 7 років тому +4

    that t shirt is covefefe af!

  • @winstongraham944
    @winstongraham944 7 років тому +2

    I swear if someone dislikes another video of his, I will throw arms!

  • @axko007
    @axko007 7 років тому

    Waiiiit, did you changed the title? :D

  • @andyceps
    @andyceps 7 років тому

    what is that thing with the john cena cover on your shelf? It´s the old "Dr. of Thuganomics"-Cena so it must be awesome

    • @SimonClark
      @SimonClark  7 років тому +2

      Haha yeah that's John Cena - it was a christmas present from a friend one year and I just love having it around as a joke in the background! Surprised you could see him tbh

  • @ericgong7238
    @ericgong7238 7 років тому

    I see that Hearts of Iron 4 on the backround!!!! ( well a video but still counts)

  • @NamelessOcean
    @NamelessOcean 7 років тому

    Hey Simon, great video as always. I was wondering if you knew any good books on rocket science and engineering?

    • @SimonClark
      @SimonClark  7 років тому +1

      I'm afraid not no, sorry!

    • @NamelessOcean
      @NamelessOcean 7 років тому

      Hmm thank you anyways, miss your book club videos!

  • @ricodasco3937
    @ricodasco3937 7 років тому

    Good day Sir @simonoxfphys!
    Being you are the time-lord, I've been meaning to ask you this question: "Is watching other people get productive, a productive thing to do?"

  • @dianabanana08
    @dianabanana08 7 років тому +1

    simon? i have a question and i may seem materialistic by this but how much (on average or estimate perhaps) would i earn if i pursue a degree related to science? ==im asking because science has been my passion since i was a kid but i come from a middle class family in a thirld world country and i am an only child so im afraid of not being able to support my parents in the future :( also, currently, i am an accountancy student and although the analyzation problems and activities make me use my brain a bit, i feel like its not enough and i want to fully use my brain. it sounds weird and my post is getting long but my brain has to keep on turning and cracking and all that thinking stuff, otherwise i feel like a stone on a sidewalk :(

    • @stokesy887
      @stokesy887 7 років тому

      dianne golez During the degree, you will be given money to buy food, clothes, pay bills etc but you will have to get your own job to pay for the degree itself. Jobs in the entire scientific field vary hugely in terms of wages. From 30k a year to perhaps a couple 100k (in dollars or pounds) but it really depends. The most paid people are usually the ones with PhDs. But yeah, to pay for the degree, you will need another job or get your parents to help you out, but while doing the degree you get given money for your basic necessities.

    • @raykent3211
      @raykent3211 6 років тому +1

      diana banana hi, I'm very late here and I hope I'm not bothering you. Pay for academic research is decent but not great. Pay in some areas of applied science can be very high. And interesting work. Example: a person with a good knowledge of computer network security is in great demand.

  • @lamalamalex
    @lamalamalex 6 років тому

    Niche problems can have you feeling so helpless sometimes! >

  • @rdkylp
    @rdkylp 7 років тому

    now, we are learning matlab. What is the advantages of fortran language?

    • @nakodares5982
      @nakodares5982 7 років тому +2

      Arda Kayaalp it's very fast. Can be parallelised very well. Can be optimised very nicely. Similar to C++ but more used in science

  • @KevinHosford
    @KevinHosford 7 років тому

    Just about to submit my PhD proposal which is also a niche, would love if you talked about starting Coding based projects and research?

    • @SimonClark
      @SimonClark  7 років тому +1

      You're not the first person to suggest this, hmm....

  • @MrAngiecakess
    @MrAngiecakess 7 років тому

    Also, is there a way to use your amazon link from the US amazon site??

    • @SimonClark
      @SimonClark  7 років тому

      I don't think so... you'll probably have to search for the item name on the US store I'm afraid!

    • @MrAngiecakess
      @MrAngiecakess 7 років тому

      Aw, oh well! I was hoping to help you out by using it! (assuming it's one of those links that gives you a small percentage or something)

  • @joshb398
    @joshb398 7 років тому

    Hahahaha I love the ending

  • @zaynabshaik5340
    @zaynabshaik5340 5 років тому

    Crashing the entire HPC at my Uni is surprisingly easy too :\

  • @Dreamsai_
    @Dreamsai_ 7 років тому

    The ending haha.

  • @iftekharjoy7118
    @iftekharjoy7118 7 років тому

    cool background music.

  • @boasa
    @boasa 7 років тому +1

    It's groundhog day!

  • @beanknowsit717
    @beanknowsit717 7 років тому

    Anyone know what type of Bluetooth earphones Simons using ?

  • @danielbell99
    @danielbell99 7 років тому +3

    What running app did you use?

    • @danielbell99
      @danielbell99 7 років тому

      You might have broke the network because it was the straw on the camel's back maybe. I've hilariously done it before with my secondary school's terrible website.

    • @danielbell99
      @danielbell99 7 років тому

      You might have broke the network because it was the straw on the camel's back maybe. I've hilariously done it before with my secondary school's terrible website.

    • @sogeking3976
      @sogeking3976 7 років тому

      Strava

  • @InactivePhoenix
    @InactivePhoenix 7 років тому

    Does your 30GB of weekly data generation include your filming?

    • @SimonClark
      @SimonClark  7 років тому

      +InactivePhoenix that's JUST my filming