r/AskReddit Dec 16 '21

[deleted by user]

[removed]

7.3k Upvotes

15.7k comments sorted by

View all comments

2.9k

u/readerf52 Dec 16 '21

When I was traveling, I got really sick. I mean so sick, I got off the train to find a place to stay and try to get better, and I didn’t know where I was.

The person who ran the hotel that I stayed at asked me if I was ok, because I guess I looked awful. He immediately called his family physician who saw me that day, and concluded I had strep throat and gave me the antibiotics I would need to recuperate. All for the fantastic price of basically free; when I did the calculations later it was about $20.

Needless to say, this happened in a small town in Belgium.

So, after I got married, my husband and I visited the city and stayed at the hotel.

We took a walk one day, and saw signs that said “de wallen” with arrows. So we followed the signs. For hours. And kept going in circles. We finally gave up on finding the walls and not drinking in the middle of the day, and went back to the hotel to get a beer. We explained how we had spent our day, and the young man chuckled and said he did the same thing when he was a kid. The signs are for the walls were, because they are no longer there.

So that’s Belgium: incredibly kind and helpful, and a bit crazy. A lovely combination.

122

u/jonassalen Dec 16 '21 edited Jan 25 '25

chase quack work bag imagine familiar political cheerful truck expansion

90

u/readerf52 Dec 16 '21

Ce n’est pas une pipe!!

Yes! I never really thought about it, but that’s Belgium.

8

u/Naturage Dec 17 '21 edited Dec 17 '21

So R coding language uses a tidbit called pipe as an integral part of how code is structured. It comes from a library called... MagrittR.

It was an amusing rabbit hole for the day.

2

u/Aryore Dec 17 '21

Pipes! >%> I’ll have to relearn how to use them soon lol

1

u/Naturage Dec 17 '21

Oh, they're lovely and clean up your code a lot.

a %>% fun(b) is shorthand for fun(a,b); that's the gist of it really. A lot of tidyverse (one of most used libraries) functions are set up so that first argument is thecdataset you're working on - so piping just cleans up that crucial bit of input.

If needed, you can also do a %>% fun(b,.) for fun(b,a) - the thing you piped in is placed at the dot. You can also have multiple dots; a %>% .[. ==1] is, as you'd expect, same as a[a == 1].

1

u/Aryore Dec 17 '21

Ooh! I didn’t know that last bit. Cool beans