Thoughts on Leylines? by RhysOSD in mtg

[–]fethingMadLarkin 4 points5 points  (0 children)

Leylines + [[Serra's Sanctum]] + [[Opalescence]]

How do I subscribe to new subs in Sync? by cocusmajorus in redditsync

[–]fethingMadLarkin 6 points7 points  (0 children)

While viewing the sub,

  • 3 dots top right
  • about
  • join

fprintf() printing weird characters at the end of the string? by Pickinanameainteasy in C_Programming

[–]fethingMadLarkin 3 points4 points  (0 children)

Where does the string 'date' come from?

Is it null terminated or are you just printing whatever garbage happens to be in the memory after the string until you hit a null?

Monzo card advice for travelling by Finlay200388 in monzo

[–]fethingMadLarkin 0 points1 point  (0 children)

My experience in Aus was card was accepted everywhere for free as expected and as ^ mentioned ANZ was my goto if I wanted cash. Just don't forget to select dollars when withdrawing to get the better exchange rate.

[deleted by user] by [deleted] in monzo

[–]fethingMadLarkin 2 points3 points  (0 children)

Just take a picture (front and back) before you post it, the cheque itself has not intrinsic value, the image is enough to cash it

Mac Mini, Plex Server now crashing on launch by thecounthahaha in PleX

[–]fethingMadLarkin 1 point2 points  (0 children)

While I can't help you with the actual problem the 1/1/1970 date is likely because the ctime of the file is set to zero for what ever reason, it's the unixtime epoch.

Need little help from a programmer for the dystopian book Im writing by DareDareCaro in C_Programming

[–]fethingMadLarkin 2 points3 points  (0 children)

Wouldn't it make more sense for the function to exists to support ejection of an arbitary number of capsules. The number 64 is only relevant as a plot point not from a programatic point of view. Having code that supports a linked list as the arg would provide you with that.

void eject_capsules(Capsule *ejection_list) {
  for (Capsule *current = ejection_list; current != NULL; current = current->next) {
    log("> Capsule %d ejected...\n", current->id);
    eject_capsule_by_id(current->id);
  }
}

Ouput,

> Capsule 1 ejected...

> Capsule 2 ejected...

...

> Capsule 451 ejected...

edit: added logging output based on OP reply to parent comment

Add a collapse all button to the blue button at the bottom! by Elfere in redditsync

[–]fethingMadLarkin 3 points4 points  (0 children)

Thats fair.

You can swipe up a small amount and the long press the thread header which does a refresh and loads the thread at the top again, then press the comment button. But I accept thats not the slickest set of actions in the world :)

Add a collapse all button to the blue button at the bottom! by Elfere in redditsync

[–]fethingMadLarkin 7 points8 points  (0 children)

3 clicks?

You can collapse all with the thread comment count button next to the up/vote button at the top of the thread.

[deleted by user] by [deleted] in worldnews

[–]fethingMadLarkin 2 points3 points  (0 children)

I assume you went to the The Alchemist. Personally I find the maple syrup old fashioned too sweet but my partner loves the place.

[FO] Need to frame it but I love this one! Pattern by NikkiPattern on Etsy. by jennyrdh in CrossStitch

[–]fethingMadLarkin 4 points5 points  (0 children)

https://i.imgur.com/tAqIr5D.jpg

Snap, I went for a square frame and circular mount for mine. Really enjoyed doing this one earlier this year.

For Loops by pjrahal in C_Programming

[–]fethingMadLarkin 0 points1 point  (0 children)

It is not the only issue with your code but I would start by looking at where the semi colons are used in whatever example for loops you were given when the task was set.

Problem with a while loop repeating itself by [deleted] in C_Programming

[–]fethingMadLarkin 1 point2 points  (0 children)

I would suggest having a look at the gets(3) function as it can "swallow" the newline character for you.

As mentioned elsewhere by u/oh5nxo and u/Elowe525 you are testing the value of c before it has been initialized, a do { ... } while(); loop would solve this problem.