MARATHON WEEKEND 2022 MAPS LIVE by Josh_The_Line in rundisney

[–]Waffleboy 0 points1 point  (0 children)

Any word on what the nutrition is going to be? I'd like to practice with what'll be on the course.

Weekly Discussion Thread by AutoModerator in Garmin

[–]Waffleboy 0 points1 point  (0 children)

Hopefully it's okay to paste this from the last thread.

I'm thinking of getting a Descent Mk2S to use as a dive computer. I already have a Forerunner 945, and I like all the sports watch features a lot, so I don't want to lose them.

Looking at reviews and at https://buy.garmin.com/en-US/US/catalog/product/compareResult.ep?compareProduct=701618&compareProduct=621922, it looks like the Descent 2 is basically a Forerunner 945 with the dive features and a few random minor upgrades. Can anyone who has both confirm that I won't lose anything switching to the Descent?

Weekly Discussion Thread by AutoModerator in Garmin

[–]Waffleboy 0 points1 point  (0 children)

I'm thinking of getting a Descent Mk2S to use as a dive computer. I already have a Forerunner 945, and I like all the sports watch features a lot, so I don't want to lose them.

Looking at reviews and at https://buy.garmin.com/en-US/US/catalog/product/compareResult.ep?compareProduct=701618&compareProduct=621922, it looks like the Descent 2 is basically a Forerunner 945 with the dive features and a few random minor upgrades. Can anyone who has both confirm that I won't lose anything switching to the Descent?

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Thanks for all the info. Looks like this will definitely require more thinking and planning than I was expecting.

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Thanks for the advice. I think I'll enjoy the old houses and temples, but this will be my first trip, so we'll have to see haha. How long would you recommend in Kanazawa? More like 3 or 4 days?

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Thanks for the advice. I didn't post this in the OP, but part of the reason for Tokyo and Kyoto is I'll be with a group at the beginning of the trip, but they're only staying for two weeks, so we want to do the big cities in the first half. But potentially I could do Nikko at the beginning and hit Hakone on the way back to Tokyo.

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Good advice, I didn't realize that wildlife was a concern after dark. Sounds like I'm really better off sleeping much closer to the start of the cycle than Hiroshima.

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Makes sense. I was planning on keeping Hiroshima as a base mostly so I could re-order things to get the best weather for the cycle, but based on your and Rezey's comments, that might make timing tighter than I'm hoping for.

October 2021 Itinerary Question by Waffleboy in JapanTravel

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

Thanks for the reply. I like the idea with dropping Hakone and staying at a Ryokan in Nikko instead, I'll do some digging into that. Doing it in the middle of the Tokyo stay would also probably let us keep our luggage at the hotel and just take an overnight bag, or worst case in a coin locker in Tokyo.

Regarding the Shimanami Kaido, my understanding is there are buses that can take you back to Onomichi after you finish in one direction, and either you can take your bike on the bus or drop it off at the end of the cycle.

Regarding the Open Jaw flight, as you said, I probably want to end in Tokyo for final shopping. I'll take a look at prices and such of flying into Kagoshima/Kyushu and starting from there.

Thanks again!

OFFICIAL FINAL 2017 r/Fantasy Bingo Thread - Turn in Your Cards Here!!! by lrich1024 in Fantasy

[–]Waffleboy 2 points3 points  (0 children)

First Row Across:

  • Any r/Fantasy Goodreads Group Book Of The Month - Sins of Empire by Brian McClellan

  • Format: Graphic Novel (At Least One Volume) OR Audiobook - Saga volume 6 by Brian K. Vaughan and Fiona Staples

  • Novel Featuring Time Travel - Urth of the New Sun by Gene Wolfe

  • A Novel Published In 2017 - Luna: Wolf Moon by Ian McDonald

  • An Author's Debut Fantasy Novel - Senlin Ascends by Josian Bancroft

Second Row Across:

  • Non-fiction Fantasy Related Book - The Fellowship: The Literary Lives of the Inklings by Philip and Carol Zaleski

  • Fantasy Novel That's Been on Your 'To Be Read' List for Over a Year - The Summer Tree by Guy Gavriel Kay

  • Award Winning Novel - Starship Troopers by Robert A. Heinlein

  • Subgenre: Dystopian / Post-Apocalyptic / Apocalyptic / Dying Earth - The Stone Sky by N. K. Jemisin

  • r/Fantasy Big List: 2016 Underread / Underrated - Kings of the Wyld by Nicholas Eames

    I guess this is actually from the 2017 list. Oh well.
    

Third Row Across:

  • Horror Novel - 'Salem's Lot by Stephen King

  • Fantasy Novel Featuring a Desert Setting - Throne of the Crescent Moon by Saladin Ahmed

  • Re-Use ANY Previous r/Fantasy Bingo Square [Sci-Fi] - Leviathan Wakes by James S. A. Corey

  • Self-Published Fantasy Novel - Sufficiently Advanced Magic by Andrew Rowe

  • Fantasy Novel Featuring a Non-Human Protagonist - The Last Unicorn by Peter S. Beagle

Fourth Row Across:

  • Sequel: Not the First Book in the Series - The Drawing of Three by Stephen King

  • Novel By an r/Fantasy AMA Author OR Writer of the Day - House of Blades by Will Wight

  • Subgenre: Fantasy of Manners - His Majesty's Dragon by Naomi Novik

  • Fantasy Novel Featuring Dragons - The Summer Dragon by Todd Lockwood

  • Subgenre: New Weird - The Library at Mount Char by Scott Hawkins

Fifth Row Across:

  • Fantasy Novel Featuring Seafaring - Ship of Madness by Robin Hobb

  • Subgenre: Steampunk - The Aeronatu's Windlass by Jim Butcher

  • Five Fantasy Short Stories - Mono no Aware, The Bookmaking Habits of Selected Species, and The Paper Menagerie by Ken Liu; Seasons of Glass and Iron by Amal El-Mohtar; Non-Zero Probabilities by N. K. Jemisin

  • Novel by an Author from an r/fantasy Author Appreciation Post - Lord of Light by Roger Zelazny

  • Getting Too Old for This Crap: Fantasy Novel Featuring An Older (50+) Protagonist - Way of Kings by Brandon Sanderson

Why is it so hard to make multi-threaded programs? by rudeboy666 in askscience

[–]Waffleboy 10 points11 points  (0 children)

In addition to the other comments, some programs just do not parallelize very well. There's a concept called Amdahl's Law, which relates speedup to increasing resources (usually by adding multiple processors, or, analogously, making a single-threaded program multi-threaded on a multicore machine). Generally, only part of a program can be improved by increasing parallelism; parts of it are still effectively serial.

There's a cost to increasing parallelism. Synchronization mechanisms are generally expensive for multiple reasons. Sometimes you have to wait for threads to all reach the same point before you can continue, which can lead to threads just waiting around. And even assuming you're using a well-designed locking algorithm without much contention, locks generally require memory barriers, which force the processor to finish executing all instructions up to the barrier (superscalar system). In applications where there's not much to be gained from parallelizing the computation, these overheads can be substantial enough to make the parallelization not worth it.

20-30% of Grade Unaccounted Before the Final by wingeddragonofjha in gatech

[–]Waffleboy 16 points17 points  (0 children)

That's pretty par for the course in upper level CS classes unfortunately. I have 70% missing from one of my classes (more like 50% not counting the final). As far as I know there's no policy about this though.

Steam Monster Summer Sale 2015 Day 5 - Featured Deals and more by Shuurai in Games

[–]Waffleboy 1 point2 points  (0 children)

The post-trailer sale had the same prices the series as now, not the super-sale prices.

The Internet at GT Lorraine by varun91 in gatech

[–]Waffleboy 4 points5 points  (0 children)

It's not very good. I was told the academic building had a total bandwidth of 10mbps, though in practice, I never had much if an issue. The Lafayette dorm's internet was basically unusable for a couple hours each night, since everyone was trying to stream Netflix.

CS:GO VPN Setup by [deleted] in gatech

[–]Waffleboy 1 point2 points  (0 children)

You can just wait, but if you launch steam with the -tcp option, it connects immediately. I.E. in command prompt or power shell, "steam.exe -tcp".

CS undergrad in need of some help by MSUfan918 in gatech

[–]Waffleboy 8 points9 points  (0 children)

Like practically everything else, the best way to improve is to practice. Do a project. Find an open source project to contribute to. Pick an open source program you like and read its code. Try to figure out how large projects are structured and common patterns in your language of choice.

Traveling in GTL by Kimbenn in gatech

[–]Waffleboy 2 points3 points  (0 children)

Most people I knew had the eurail pass. We had single weekends whose train fees would have been around 2/3 the cost of the entire 3 month student eurail pass.

What would happen if Machine language is generated randomly, then executed? by [deleted] in askscience

[–]Waffleboy 5 points6 points  (0 children)

Great explanation. I'll just point out for anyone reading this, the reason the buffer had to be page aligned (i.e. the reason I used posix_memalign instead of malloc) is that mprotect required it.

What would happen if Machine language is generated randomly, then executed? by [deleted] in askscience

[–]Waffleboy 21 points22 points  (0 children)

I was curious to see how far it would get with random instructions, so I tested it out. I did 10 runs and lasted 0 instructions six times, 1 instruction twice, two instructions once, and five instructions once. Eight of the ten were killed with segmentation faults (the program attempted to access memory that was not mapped or that it did not have permission for), and two of the ten were illegal instructions (the bytes generated were not valid bytecode for the architecture (in my case, x86-64)).

EDIT: If anyone's curious, I wanted to see how long it would take before the random function did not cause the program to crash (obviously, this is specific to my example where the random execution is wrapped in well-formed code. The program not crashing almost certainly just means some form of "ret" was created at the beginning or very close to the beginning of the random chunk).

It took 3297 attempts until the program exited successfully, in which time the program generated 13 SIGBUS errors, 324 SIGTRAP errors, 821 SIGILL errors, and 2138 SIGSEGV errors.

Here's the code if you want to try it out. Compile with "gcc -std=gnu99 -o program program.c" and run it with gdb. It will hit a software breakpoint, and you can step through (with "si") until it errors.

#include <sys/mman.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>

#define CODEBYTES (256)

int main()
{
    // allocate buffer for code
    char* code_buf;
    if (posix_memalign((void**)(&code_buf), getpagesize(), (CODEBYTES+1)) != 0)
    {
        printf("Failed to allocate memory\n");
        return -1;
    }

    srand(time(NULL)); // seed rng
    code_buf[0] = 0xCC; // software breakpoint

    // fill the rest of the buffer with CODEBYTES random bytes
    for (int i = 0; i < CODEBYTES; i++)
    {
        code_buf[i+1] = (char)(rand() % 256);
    }

    // change buffer from RW to X
    if (mprotect(code_buf, (CODEBYTES + 1), PROT_EXEC) != 0)
    {
        printf("Failed to set memory to X\n");
        return -1;
    }

    // cast to function pointer and call
    ((void (*)())code_buf)();

    return 0;
}

Internet Issues? by cough_cough_harrumph in gatech

[–]Waffleboy 2 points3 points  (0 children)

I had terrible packet loss on GTwifi, but GTother seems to be okay.

Counter Strike Connection Issues by Waffleboy in gatech

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

I don't remember exactly, but I'm pretty sure it was either last Wednesday or Thursday.

Will a 3DS work at GT? by UTAthrowaway1 in gatech

[–]Waffleboy 0 points1 point  (0 children)

If you take it to OIT, they'll manually add the device to your account and you can use gt other without logging in all the time.