« first day (1301 days earlier)      last day (3873 days later) » 

Xeo
Xeo
11:00
@BartekBanachewicz all ($ x) fns /cc @rightfold
@Xeo batman.
I always forget about all
also foldr1 (&&) has that sexy appeal to it
user1804599
@Xeo Hmm.
Xeo
Xeo
@BartekBanachewicz and
user1804599
Doesn't seem to work. Wait.
@Xeo That's a bool.
"I want to get a new function"
Xeo
Xeo
11:01
\x -> all ($ x) fns vOv
@R.MartinhoFernandes wrap it in \x -> vOv
Xeo
Xeo
(`all` fns) . flip ($) would be a point-free version, I guess?
user1804599
filter-function = ->
    [page-filter, (mss.query-filter query)]
    |> (fs, x) --> all (<| x), fs
user1804599
Works, thanks. :)
user1804599
@Xeo Lemme try lel.
11:03
@Xeo (`all` fns) . flip id
Xeo
Xeo
@R.MartinhoFernandes Boo id for function application
does that even work?
Xeo
Xeo
yes
($) = id
really
obfuscated
2/10
But flip id is so much cooler.
"But id has only one argument!"
user1804599
11:05
filter-function = ->
    [page-filter, (mss.query-filter query)]
    |> (fs) -> (`all` fs) << flip (<|)
user1804599
This works too. :P
Xeo
Xeo
@rightfold Yeah, use the other version
user1804599
Cryptography to the max.
Anyway, when you need a flip, it's time to go pointwise.
Xeo
Xeo
ye
user1804599
11:05
@Xeo Yup. :)
user1804599
Now I can easily add more filter functions.
Xeo
Xeo
(§) = flip ($)
(`all` fns) . (§)
teehee
$ pointfree "flip ($)"
flip id
$
Ha, I win.
Xeo
Xeo
wait, there's actually an existing operator for that in Lens
(`all` fns) . (&)
user1804599
@Xeo :0
11:07
@Xeo ohwow
Xeo
Xeo
& is |>/flip ($), defined somewhere in Lens
@Xeo inb4 "Lens is not real Haskell"
@Xeo Elm has <| and |>
user1804599
@Xeo (fs) -> (`all` fs) . (|>) :P
Xeo
Xeo
11:09
:)
> data-aviary-0.4.0: Combinator birds.
user1804599
Hey job security. vOv
(`all` fns) . thrush
@rightfold first you need a haskell job -.-
user1804599
Actually.
user1804599
11:10
@BartekBanachewicz This is LiveScript and I use it right here at my job.
Xeo
Xeo
LiveScript seems pretty neat
@R.M your box has SSH set up, right. Do you use key-only login?
Xeo
Xeo
except for the weird -> at the start thing
user1804599
LiveScript is weird.
11:11
@Xeo it does, altough with Haste maturing, sounds less interesting
@R.MartinhoFernandes are there any caveats when setting that up? I am planning on opening Overmind to the world.
What sort of caveats?
Hello Xeo
user1804599
@Xeo Fun fact: you can create lambdas with ->, -->, ~>, ~~>, <-, <--, <~ and <~~.
@R.MartinhoFernandes I take it as a "no".
Xeo
Xeo
@rightfold oh gawd
@Ahmad Hi...?
11:13
wow my answer was accepted
This is the setup I have: SSH server with no root logins, no interactive logins (i.e. only key-based), non-standard port, other minor/already-good-as-default settings.
user1804599
@Xeo ~ binds this because it's weirdly scoped in JavaScript, and double hyphens/tildes make curried instead of uncurried functions.
@Xeo
Xeo
Xeo
@rightfold So there's a method to the madness
What about the flipping?
@Xeo you've got a fan
11:14
@xeo Are you know multithreading in c++?
11
user1804599
x <- foo(1, 2)
alert x
# same as
foo 1, 2, (x) ->
    alert x
I make one key pair per machine I use to connect to it (so there's a bunch of public keys in ~/.ssh/authorized_keys)
Private keys are set readonly and never leave the client machine of my decision.
Xeo
Xeo
@Ahmad Nope
But, are you?
@Xeo Thanks.
11:15
Use sudo on the server for any administrative tasks, since there are no root logins through SSH.
Xeo
Xeo
@rightfold And in a readable language?
@Je
Xeo
Xeo
Don't go pinging everyone in here for help
@Jefffrey Are you know multithreading in c++?
user1804599
@Xeo basically, a callback is passed as last argument and you don't need to indent.
11:16
@BartekBanachewicz Are you know multithreading in c++?
@BartekBanachewicz I definitely am.
user1804599
ls> <[a b c d e]> * ' - '
'a - b - c - d - e'
ls> sep = ' - '
' - '
ls> <[a b c d e]> * sep
[]
make that a room topic TIA
All ports are configured to drop all packets except for the SSH port, basic services like ICMP, and a few temporary ones from time to time.
user1804599
Overloading on constants is one of the few things I absolutely hate about LS.
11:16
@R.MartinhoFernandes like web? :P
@R.martinho Are you know multithreading in c++?
Xeo
Xeo
@rightfold so -> makes a real lambda, while <- makes some kinda do-notation-looking thing?
1 min ago, by Xeo
Don't go pinging everyone in here for help
user1804599
@Xeo mwah it's just syntactic sugar to avoid the indentation.
You are playing with fire, kid.
@Ahmad Are you know mutlithreading in c++?
11:17
I have one extra authorized key pair that I never used but whose private key I printed as a QR code, laminated so it survives the elements and carry it in my wallet. That's the ultimate fallback in case something catastrophic happens and I lose all the boxes with keys.
@ScarletAmaranth you made a typo
@ScarletAmar Nope
user1804599
But it can make monadic code look more pleasing! gist.github.com/rightfold/d71d9dcd8a0676f32443
user1804599
But it's not specific to >>= but more general.
All private keys are encrypted.
11:18
@Xeo Ok
@R.MartinhoFernandes I have to print out my google recovery codes in encrypted form
I had that planned for weekend too
I could have printed it just as text, but a QR code is 1) more compact, 2) easier to input back into a computer.
I printed your mother as just text.
@R.MartinhoFernandes and has automatic redundant recovery information IIRC
@Xeo Are you working with graphic libray in c++?
11:20
Yes, more resistant to errors too, but I laminated it anyway.
@DeadMG Just text
Xeo
Xeo
Okay, that's enough
Ooops, I invalidated that flag.
Dammit.
11:21
Since you have physical access you can recover from catastrophe easier.
Right.
damn I have to pay for the damn domain
maybe I should move it to somewhere cheaper
2 more.
How come 5 flags are not enough?
@Jefffrey yeah wut
the above one has 5
Xeo
Xeo
It's 6
without counterflags, IIRC
The above one has 6
Xeo
Xeo
11:23
The messages don't look particularly spammy to other chat rooms, I imagine
They are decreasing.
Xeo
Xeo
which is why - fuck the flag system
k we got it
29 minutes.
No, they don't.
I came to save the day
11:25
the propagation to other rooms is a complete clusterfuck
@BartekBanachewicz Domains are cheap as dirt, unless you want one of those expensive TLDs like .io
@R.MartinhoFernandes the entry costs yeah, but I have to renew that
also they charged me ~30€, dunno if that's "cheap as dirt" for you
Xeo
Xeo
bad provider?
@Ahmad Hi. Please stop annoying people. It's indirectly annoying every 10k+ user chatting anywhere.
@Xeo Yeah, I invalidated the first one. But seeing the same person flagged twice for banal stuff makes you wonder...and check.
Also, he's banned now.
So bye. Was nice meeting you all. Have a merry Christmas.
11:35
eh fuck it
I'll move it next year
CBA to fight with that provider for a potential gain of like 10€
Xeo
Xeo
Here we go, doing generics the type-unsafe way~
aaaand done
next 13 months my domain stays mine
or not
because fucking payment provider sucking dick shit failed again
fucking faggets
Xeo
Xeo
hm, so I just turned out scroll lists into slingshots.
oops
11:51
I'm thinking about buying this :)
Not because of the annotations ;)
Herbert?
> Forget the annotations - they are at best worthless and at worst wrong, but $40 for a copy of the ANSI/ISO standard for C is a bargain. I use it regularly, but I don't bother with the right-hand pages.
I just want the standard. How hard can it be to ignore the annotations?
> McGraw-Hill should provide a large black Magic Marker (c) as a value-added supplement to this book. The buyer can then use it to obscure all of the text on the odd-numbered pages
> I consider the 9899:1990 ANSI standard of C to be the "gold standard" I want to adhere to if I'm in C - the few enhancements to the language that have come along since then aren't worth using,
LMAO C users are even more fucked up in the head than C++ users
fuck
fuck off visual studio
2
fucking fuck off.
@BartekBanachewicz What's your TLD?
Also, yes, 30 euros a year is cheap as dirt.
It's less than 10 cents a day.
11:59
@R.MartinhoFernandes .pl (if I understand TLD concept right)
@R.MartinhoFernandes yeah well it's a tad more considering my earnings, but still not too much
For me, it's less than two hours of work. For a whole year.
Xeo
Xeo
"two works of work"
now initializing vector<unique_ptr<T>> with {} invokes unique_ptr's copy constructor.
Xeo
Xeo
12:06
hahaha
Another nice way of seeing it is: I accidentally lose more than 30 euros a year.
> $0.01 + $3.99 shipping!
Xeo
Xeo
lawl
.is is 62$ a year.
I'm running two, it's not fun
It's a novelty TLD
I think I paid about 60$ for 3 years on mine few days ago
12:13
I pay something like 5 euros for flamingdangerzone.com
50 not 60
Non-novelty domains are dirt cheap
I think I paid about that much for a couple years of codepuppy
but my website design skills are ... lacklustre at best
I have a 4 letter .com
its a strange combo but i made something of it
@sehe Honestly, it winds me up that you and others like you keep heaping on public support for H2CO3 after what he did whenever he's called out on his behaviour. It just encourages him to keep acting that way and to keep believing that SO is the problem, not him.
I hope you don't treat your kids in the same "everyone wins, everyone's a success" lieful manner
Hi.
12:17
@DeadMG Mine are horrible as well. The theme on flamingdangerzone.com is just tuned from a preset one.
If you add the disclaimer that your answer only applies for hosted implementations without extensions, your answer will be correct. This way it is simply wrong. — Deduplicator 6 mins ago
I've been wanting to do some changes for a while, but I don't know how.
@Jefffrey Just add "If you're in a freestanding environment, RTFM".
personally, I kinda like the D language website
Because that's all you can do about a freestanding implementation.
anything interesting going on?
Xeo
Xeo
12:19
@R.MartinhoFernandes I like it!
@Jefffrey :lol:
Alternatively tell them to shut up
Xeo
Xeo
@Jefffrey Eh. Basically every answer on SO ignores freestanding implementations
because fuck them, too localised
@Xeo "the majority of questions tagged C++ are mis-tagged" eh
I also want to make some more things automated. Run Jekyll locally and push the output to GitHub instead of pushing the source and having them run Jekyll.
@Jefffrey What?
right, I guess that's a "no" then
nice chatting with you
12:21
@R.MartinhoFernandes He's saying that most of the questions tagged C++ include extensions and freestanding implementations.
So, if I exclude them, they are mis-tagged.
@Jefffrey Or fuck it. Mentioning freestanding implementations is just pedantic bullshit. The question assumes things like "command-line arguments" get passed into an entry point called main.
Don't you know you can write non-standard C++ and it might not even look like C++ how dare you not include that very relevant tidbit that everyone will need to keep in mind in your answer??? — Cat Plus Plus 25 secs ago
lol
Xeo
Xeo
I... uh... I... what?
MY COMPILER IS VERY GOOD AT OPTIMISING BRACKETS
ITS AS IF THEYRE NOT EVEN THERE
PLEASE MARK FIXED/CLOSED
@Xeo oh gawd
12:24
@Xeo that's at least two cpu cycles. one for each bracket.
GNU style is much much faster than any other formatting
Don't even mention GNU style ironically
@Jefffrey: For freestanding implementations it is wrong because they can omit that whole chapter, if so desired. Second sentence: "It is implementation-defined whether a program in a freestanding environment is required to define a main function.". It is wrong with extensions, because an extension is allowed to do anything which does not alter the behavior of a strictly-conforming program. Especially, they may assign any useful semantics they want to an illegal construct after issuing a diagnostic of it being illegal. The chapter implementation compliance explicitly lists that. — Deduplicator 1 min ago
Comment oneboxing very gud
Is this a legit OCD or just trying to one-up everyone on C++ knowledge
HURR I KNOW ABOUT FREESTANDING ENVIRONMENTS
In better (non-SO related) news, KSP is 40% off
Providing bollocks answer.
0
A: Can the main function be a template? (safe command line argument parsing)

R. Martinho FernandesIt depends. In my own super-secret and private freestanding implementation you can make the main function be a template if all the following conditions apply. The function is named mаin (note that the second letter is a Cyrillic letter, not a Latin letter). There are either 2, 17, or 23 non-pac...

12:30
lol
I approve of this person/product/service
Xeo
Xeo
I approve of this machine, would see post again.
10/10 would not C++ again
I endorse this service and/or product
12:32
close, too broad?
mebibyte is the dumbest word I've ever seen
Every word is dumb if you think about it too much
cat cat cat cat, yea pretty dumb
Cats own
You, literally
12:36
yea, that's why i have an obedient dog
I just have a dog.
It's actually a cat in deep cover
"heterological" is the best word.
.. which has not moved at all this morning. I'm going to make a sandwich now. That makes the dog get up and start doing stuff.
Also TIL Germans call "bodybag" to a "fanny pack" (en.wikipedia.org/wiki/Fanny_pack).
12:39
> butt pack
@R.MartinhoFernandes LOL - are they aware of the more common interpretation?
Xeo
Xeo
@R.MartinhoFernandes Rather, bellybag (Bauchtasche).
@Xeo I mean literally "bodybag", not a German translation.
Like "handy".
Xeo
Xeo
oh
@R.MartinhoFernandes In Flanders we call a mobile phone a "GSM".
12:45
+1 For the humor, you're so funny dude hahah. Does this implementation issue a sarcastic handclap when compilation fails ? If not I could give you one. I should also select the answer so everyone can see how funny you are. — Nikos Athanasiou 37 secs ago
Not sure if he's serious of sarcastically expressing that he's offended.
That's like calling a modem an Internet.
Xeo
Xeo
@R.MartinhoFernandes Well, he did actually accept it
Wa
GODFUCKINGDAMMIT
5
Xeo
Xeo
Have fun with another stuck answer :D
Ahaha owned
Xeo
Xeo
12:47

Robot's sarcasm betrays him.

2 mins ago, 1 minute total – 8 messages, 4 users, 2 stars

Bookmarked 11 secs ago by Xeo

Can't a guy just be funny without reward?
Xeo
Xeo
No
Whither is the world going?
12:48
around the sun
there points
Apr 22 at 12:32, by R. Martinho Fernandes
I'm a geocentrist.
noob
haven't you played KSP?
ahahaha @ accepted answer
everybody knows Kerbin orbits Kerbol.
12:49
remember to turn the rockets the correct way
You know, I'd like that on a T-shirt.
Xeo
Xeo
I'm still laughing because of that accepted answer.
I wonder how he expects the command line arguments to be mapped to types.
@StackedCrooked He doesn't. He was around yesterday and we cleared that up.
./concat 1 2
^ should print 12 or 3?
12:54
12
there's no way the system can know that 1 means "1" and not int(1)
@CatPlusPlus o.
But hey, it's type-safe!
12:56
@R.MartinhoFernandes Damn, didn't realize he dumped his question here.
downvoted
@DeadMG OK, me too.
@TonyTheLion Oh.
I was thinking of: "Geocentrism. It's science, bitches!"
@TonyTheLion Are there any 'official' KSP T's? With pics of kerbals on them?
@R.MartinhoFernandes spreadshirt.co.uk
lets you create your own

« first day (1301 days earlier)      last day (3873 days later) »