« first day (2392 days earlier)      last day (2466 days later) » 

9:04 PM
@HyperNeutrino Readability linebreaks.
 
lol I realized too :P
 
@DJMcMayhem when I first saw your message about readability linebreaks I thought you added them to make the bytecount 420
 
Haha nope
(I wouldn't do something like that even though I'm from Colorado) :P
I always add linebreaks at 80 characters for long brain-flak submissions
 
SOGL, 27 bytes (my CMC)
 
Although, if I add them at 70, every line will be equal...
 
9:08 PM
or 60
 
@totallyhuman well crap
@totallyhuman example pls? What do you mean by interactive
 
i dunno
live preview, maybe?
and an esolang can always have a search thingy like pyth
 
9:25 PM
@totallyhuman like run it every time it changes?
 
...that might make it a tad bit slow now that i think about it
 
Idk, most programs shouldn't take that long to run
But yeah probably not a good idea
 
cc @LeakyNun
 
@Mr.Xcoder I don't know what you're implying
 
nothing important, sorry for that
 
9:38 PM
@Mr.Xcoder APL, 7 bytes: +,-,×,÷
 
@StepHen APL: |-
 
@Mr.Xcoder Yep's a nice language...
 
Contact, anyone?
 
Tags: body shaming, hate speech. — Euri Pinhollow Feb 25 at 11:32
uhh
welp i think i heard something go woosh
 
10:45 PM
@Adám I can't find a way to use 5⍴ on the m,k and k,k,k series ^ any ideas?
 
@totallyhuman ??
 
@AdmBorkBork I don't think you understand my question. What's the line between a Metagolfscript in the flags, and what you are proposing?
 
Does anyone know how to compute SHA-256 in C#?
 
Thanks
Somehow googling "sha256 in C#" didn't help, at all.
 
10:57 PM
 
ಠ_ಠ
Your google is better than mine
 
see, here's the thing: if cubically allowed for infinitely large integers to be passed in as the size, then there are an infinite number of cubically programs, many of them we've never seen before
@AdmBorkBork how do we differentiate that from MetaGolfScript?
I think we have to tie down "implementation" to actual code, not code + flags
 
One of the languages I'm writing for kicks looks like a horrible mashup of Lua and Javascript.
But it also has when statements, so what's not to love?
 
wait which language is this?
MaybeLater?
 
@ATaco The Lua and JS parts
 
11:06 PM
Technically derived from MaybeLater.
But designed to be less horrible.
 
ah ok
 
Is MaybeLater horrible?
 
Well, it's not great.
It's specifically designed to be esoteric, this isn't.
var x = {"hink", "honk", "henk"}
for kv in pairs(x){
	print(kv[0], kv[1]);
}
Spot the inspirations
 
What does that do?
 
Outputs:
0 hink
1 honk
2 henk
 
11:13 PM
Oic
Shouldn't kv be a 2-tuple, not an array?
 
I've not implemented tuples ;-;
I've also not implemented a return statement, which I probably should do.
 
@ASCII-only So apparantly that's an interface ;-;
3 things implement it and I don't know which one to use
System.Security.Cryptography.SHA256Cng
System.Security.Cryptography.SHA256CryptoServiceProvider
System.Security.Cryptography.SHA256Managed
 
Shouldn't pairs return overlapping 2-slices?
I'd expect what you showed to be enumerate
 
Taken from Lua, pairs returns a generator function, which in accepts.
Although in lua takes key, value in pairs(t), I've opted to instead return a 2 item list.
 
@Pavel I'd use #2
 
11:19 PM
Ok, new question: How to compute SHA-256 in C# .NET Core, which contains the interface but none of those implementations ;-;
 
@Pavel what :/
25
A: HashAlgorithms in CoreCLR

PinpointYou can use SHA256.Create() (from System.Security.Cryptography.Algorithms): using (var algorithm = SHA256.Create()) { // Create the at_hash using the access token returned by CreateAccessTokenAsync. var hash = algorithm.ComputeHash(Encoding.ASCII.GetBytes(response.AccessToken)); // ...

 
Thanks
I am a bit confused though. SHA256 is in System.Security.Cryptography, and apparantly SHA256.Create() is in System.Security.Cryptography.Algorithms
 
@Pavel +1 lol
 
Ok fortunatly everything actually is in ...Cryptography
 
11:36 PM
@2EZ4RTZ This is why you get Chrono, so you don't have to download anything in one go
 
omfg I hate .NET Core rn
 
@Pavel +1
 
I wish I could just use Mono.
 
@Pavel 1. Can't you 2. what's so bad about CoreCLR
 
1: No, this is for work. 2: Normally it's quite good, but right now I'm having this issue where HttpWebRequest doesn' have a GetResponse method.
I guess I'm using GetResponseAsync now. I guess every single method in my program is async Task now.
Well, not every single one.
 
11:48 PM
@Pavel :| Can't you just await
to make it fake not async
 
But oh boy C# 7.1 came just in time allowing me to have static async Task<int> Main now.
@ASCII-only No await in non-async methods.
 
AsyncContext.Run(MyAsyncMethod); doesn't work?
 
Does that return a value?
 
@Pavel Yes
 
Neat. Unfortunatly AsyncContext does not exist for .NET Core.
 
11:56 PM
@Pavel .GetAwaiter().GetResult() maybe?
 
\o/
That works
Thank you so much!
 

« first day (2392 days earlier)      last day (2466 days later) »