« first day (2864 days earlier)      last day (1983 days later) » 

12:23 AM
Is everyone going for hats? It seems even more quiet than usual here.
 
@Zacharý How do you "go for a hat"?
 
12:35 AM
Why is this an error in Perl 6?
 
12:48 AM
Is it not hat season yet?
 
@H.PWiz $_ is immutable because (1..10) is immutable
It succeedsif you assign it to a variable: tio.run/##K0gtyjH7/…
 
But changing to += works. Why?
 
Because Perl 6 is weird, I gues. I'm not too amazing at it.
 
Does anyone know if there is a golfy way to assign to $_ and use *s in a for loop in Perl 6? On code-golf.io, I use $_⚛=
@Pavel That isn't the behaviour I want. I want this: tio.run/##K0gtyjH7/18l/tGs2bYq8dpaaflFCoaPGpYZGljrFSdW/v8PAA
 
has anyone used the linux subsystem on windows?
 
1:08 AM
@LeakyNun Yes
 
how does the file system work?
 
It uses your normal C:\ partition and just makes a WSL root folder somewhere, which contains a /mnt/c, a link to the C:\ root.
So it's just NTFS, doesn't create any new file partitions
 
oh wow interesting
 
IIRC WSL does bypass Win32 file io calls. NTFS is actually case sensitive, but the Windows kernel syscalls all ignore case.
 
that's a lot of words but ok
and I spent 1 hour just to djvu2pdf a file
it's finally over
 
1:15 AM
nice
 
 
1 hour later…
2:30 AM
@H.PWiz I think the problem is that a for loop doesn't use *s, it uses $_. e.g. Try it online!. So the immutable value is actually the loop value
 
Yeah, what is confusing is that it can use a function. I don't know when *s make things a function and when they do something else
 
Hmm. Perhaps using $_ takes priority over whatever lambdas?
 
2:48 AM
@primo You couldn't let me have 1st in Sudoku... ;). Speaking of which, does your solution actually succeed every time? cos mine sure doesn't
 
@JoKing yes it does... barring the occasional timeout
theoretically it's a correct solution though
 
@primo Interesting. Occasionally mine finds a problem it can't solve, but it doesn't time out. What sort of algorithm are you using?
 
on the subject to Perl6, is there a way to eval a string without MONKEY_SEE_NO_EVAL?
brute force
i'm not asking how, just asking if it's possible ;)
 
.EVAL usually works
I don't know why
 
lots of things in perl6, i don't know why it works
did you see i added a tip to the perl6 cheat sheet?
find a gap, fill it will all candidates that aren't invalid given the current board state, add each of those to a queue
continue until the queue is empty
 
3:04 AM
@primo, does your solution to e use fractional arithmetic? because mine is super compressed and I don't think I could get much more with integer arithmetic.
 
hmm, mine loops through every value, makes a set of all the values it can't be (i.e. columns, rows, box) and if the set is length 1, fill it in. Repeat 50 times
 
@H.PWiz which language?
 
That junction tip is really cool!
 
@primo perl 6
 
it's why i'm one byte ahead on a lot of challenges ;)
 
3:06 AM
Let me see if I can implement it too!
 
@H.PWiz FatRats
 
Disappointing... I don't like golfing FatRats :(
 
it's identical to the J solution, more or less
 
I can believe that. Just got to figure out how to get the right number of digits, without having to fiddle with the string too much. At the risk of giving my python solution away, I use the same method as that
 
3:22 AM
i don't know how many hours i've wasted trying to match your python solutions :p
i actually derived a new formula for pi-3
which got me from 68 to 67 >_<
haskell i just gave up
 
@primo Does that mean something original, or a modification of an existing formula?
I dropped 1 or 2 bytes fairly recently by realising that I could use modified assignment, like I did in Javascript
The Haskell solutions on anagol for e and pi are loads shorter than mine, and I find the e one super frustrating because mine is definitely too complicated
 
modified euler transform on the leibniz series
 
(that's what I do)
 
interesting
maybe your mod is better than mine
 
 
2 hours later…
5:45 AM
@primo reassign EVAL to a different variable (if I recalled correctly).
 
6:01 AM
@user202729 works
my &e=&EVAL;e("'foo'.say")
@JoKing's suggestion is shorter, though
"'foo'.say".EVAL
 
6:35 AM
Jan 31 '16 at 22:00, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
I'm making a language called "oration" where your program can suffocate if it doesn't breathe often enough.
@ConorO'Brien what the fuck was the deal with thjs anyways. why did you think of it,
i spend most of my time (8-12 hours a day) trying to think not about suffocating
and you go spend a year making a language about it
 
@primo You could also do use Test; if they ever patch it out
 
[Jelly] Help why does this segfault
It's supposed to implement a recurrence relation
 
6:51 AM
@user202729 must be a stack overflow
 
Of course...
but why doesn't it do the same as the python code
 
but in the C call stack so probably in a native call somewhere
something math
 
No, Python stackoverflow may also segfault.
Even though there is recursionlimit.
 
@user202729 yes, in a native call
 
@quartata Not necessarily.
(that's when recursionlimit is intentionally set,
but sometimes the stack frame is large and only a few iterations is necessary)
 
6:54 AM
oh, i didn't realize the interpreter modified recursionlimit (ew)
then yeah RecursionError is only raised when exceeded, regular page fault likely to come first...
 
7:05 AM
@quartata would you happen to know how I can get errno if I'm linking w/ libc? I can't treat it as global variable because some implementations have it as macro
 
you dont know which libc youre targeting?
gotta parse the header
 
If it's a macro then it would not exist for the linker...
 
right thats the point
its replaced with some other symbol
 
@quartata >_< this is lot lot of work
 
although
its supposed to be declared extern i thought
 
7:09 AM
How do you need to "get" it? Its value?
As a workaround, you can compile a file with #include<...> int errno_ = errno; and use errno_...
 
the trouble is that each thread has its own errno i think
so the macro is actually doing a function call
i have no idea if that call is standardized by pthread
i suspect __errno_location() will always work on linux
but im sure BSD squirrels it away somewhere else
BSD is __error()
reading through the Win32 thread info spec is an exercise for the reader
@Downgoat
 
huh looks like rust just has specific behavior for each os
 
yeah thats what im saying
 
7:25 AM
how would I make it so something like GenericTuple<String>(name: "key", value: "Hello, World!") (generic construction) isn't ambiguous with A < B > C (two binary ops) where (name: "key", value: "Hello, World!") is a tuple?
curious how other langs resolve this which have (...) tuple syntax
 
i dont know of a language with both actually
the obvious solution is not to use angle brackets
hmm
i guess itd be ambiguous in Rust? let me see
ahh but its on the left side of assignment
 
swift does this
 
well it looks like for rust since the generic can be inferred from an rvalue its not a problem
"tuple" stays on the right, generic stays on the left
no idea about swift
 
7:43 AM
Ok, I figured out the problem. (Jelly)
ß has arity -1 while parsing.
So ¥ thinks ß’} is a LCC and tries to pop another link.
I remember having problems with the arity -1 once...
Mar 29 at 3:10, by user202729
Why does https://tio.run/##y0rNyan8//9RwwwrY5VHjTsPTzi08P///yZGliaWZuZGlmYA work but https://tio.run/##ASIA3f9qZWxsef//4oCYOjPCteKBucOQwqH///80Mjk0OTY3Mjk2 doesn't?
A better workaround would be parsing each link once for each arity or only parse a link when it's called.
 
 
7 hours later…
2:26 PM
CMC: Given a positive integer n, output the nth Fibonacci number. Your score is the fewest unique characters used
 
 
1 hour later…
3:35 PM
I was just reading something that tripped me up: Is this correct english? It has previously successfully been applied.
 
@cairdcoinheringaahing I got 4 characters: is.gd/xNS2mg
oh wait I think I can get 3
@cairdcoinheringaahing 3 characters: is.gd/Pfq56o
@flawr sounds ok to me, although I think "previously" would suggest "had" rather than "has"
 
@flawr theres technically nothing wrong with it but youre right it reads awfully. i would write "it has previously been applied successfully"
 
yeah I would also move "successfully" to the end
 
@aditsu @quartata thanks for the input, it just felt so wrong
 
if it reads bad its wrong. grammar is just a vain attempt to formalize the seething hivemind of a language
12
zalgo
 
4:41 PM
tfw this application has ms silverlight as a dependency
and the last supported os version was win7 (not minimum, most recent) and os x 10.8 (out of 10.13)
 
5:12 PM
Or "successfully applied" as well
 
5:23 PM
I would go further and write it as "It was previously applied successfully." which is in a more active voice.
 
5:36 PM
thats better
 
@cairdcoinheringaahing brain/mini-flak, 102 bytes: Try it online!
Score, 6
I'm absolutely positive it could be shorter, but I'm really bad at mini-flak
 
its good that we have two messages dunking on linguists on the starboard now
this is good
 
O_O.
Why must you be this way?
 
linguists be gone
 
(the last one only really bashes proponents of a universal grammar, and I agree in bashing those people.)
 
5:50 PM
the wise man bowed his head solemnly and spoke: "theres actually zero difference between modeling a language with probabilistic grammars and scooping out every single speakers brain like a pumpkin and hooking it up to the Matrix"
 
@quartata This message just looks blank to me.
 
twitter blocked
i was too lazy to find the original source image
 
Other option: upload to SE's Imgur.
 
6:23 PM
i assume everyone here has already seen this gofundme.com/jon-skeet-reading-the-c-6-spec-by-the-fire
7
 
I had not!
 
well there you go
the goal has already been met but its still a good cause
and of course we might get more of the spec read the higher that Number goes folks,
 
6:41 PM
O_O. This is probably some form of ASMR to some people.
 
7:31 PM
-1
Q: Diagonal of a cube

sergiolGiven the measurement of the edge of a cube, output the 3D diagonal measurement of it. Valid input and output formats are all the usual ones. There will be no winner answer as it by language code golf.

 
8:17 PM
@quartata I'm glad someone has been putting lingiusts in they're place. I of had it out for them ever since that bourgaeious crypto-fascist, Noam Chompsky refused to support my amatuer Hot dog salespersons union.
 
@PostLeftGarfHunter wow. this is what happens when you smoke too much corporatism
chompsky probably doesnt even know how to smoke weed. he probably chomps it like its cabbage or something
 
"anarcho-syndicallist", yeah right. Maybe if he was wasting less time with "univeral-grammer" and spending more time smoking weed H'ed be able to support the true working class of part-time lunch meat vendors.
Instead he just calls me "jibbering" and "uncomprehensible". Guess what, in the real world people don't follow your linguist rules.
 
@PostLeftGarfHunter Who are you?
oh
:)
 
@PostLeftGarfHunter @quartata That interaction was a wild ride from Start to finish
 
@DJMcMayhem Sorry lost my cool there a bit.
 
8:35 PM
A bit late to the party, but I just finished House of Leaves. Highly recommended.
 
@CornConjurer where did your old name go?
 
@flawr I will be able to change it back on the 15th
 
To @MilletMage?
 
I don't know to what yet
 
Just back to @WheatWizard ?
 
8:49 PM
too much gluten
@GlutenfreeGenie
 
Ultimately confused
@quartata The old man the boat
 
9:10 PM
Heuristic: unknown name + high rep => WW
Might not work well in certain cases, but it definitely covers all of WW's username changes.
 
Heuristic: german accent + higher emissions than specified => VW
 
9:29 PM
My life right now: trying to bowl my english essay while my friend was told by the teacher to golf his
 
can we help you?:)
what is it about?
 
10:03 PM
@flawr This is too golfed. Try: I am curious as to what the topic of your English essay is supposed to be.
 
Stuff like that.
 
10:21 PM
@El'endiaStarman I am, in fact, exceptionally interested in aquiring the knowledge of the nature of the matter that my dearest friend and beloved companion who I happened to stumble upon repeatedly in an pleasant place of conversation of a community that is dedicated to shorten and compress computer instructions to a minimum as well as various other delightful academic pursuits of untangling mysterious questions is required to express his so detailed thoughts about.
 
Don't go full wordiness-meme though.
That'll be too obvious.
Simple stuff like using "that" when it is not required. For example, "I am happy you met her" => "I am happy that you met her"
 
@flawr Very nice. Oh, oops, I mean... Your loquacious assemblage of vocabulary is indubitably magnificent!
...I doubt I've ever written a sentence with five or more words that are each 10+ letters before that one.
Especially not one with only eight words.
 
I thought you were learning german? :D
 
I haven't written that much German! :P
 
@El'endiaStarman I misread "that are each ..." as modifying "sentence", not "words" ._.
 
10:34 PM
Hahaha yeah, almost none of my sentences are 9- letters. :P
 
That'd be a case for TNBDE:)
 
Ugh, ambiguity even when describing ambiguity. .I meant, I thought each word in the sentence was 10+ letters.
@flawr Eh?
 
@DJMcMayhem that one was on me. i forgot where i keep the butterfly wing i use as a muzzle. its the only thing containing my Radical Rabiese
 
@Zacharý Oh, yeah, I don't think I've ever done that. It's very hard to do so without articles, prepositions, etc.
 
I was typing up a longer version of flawr's message but I hit the limit before I was nearly done
I'll have to post it in several parts
 
10:37 PM
make it multiline
multiline messages have no character limit
 
shift enter
 
Shift + Enter
puts in a linebreak.
It *also*
breaks formatting. :(
 
@quartata Multi-line conversation sectionings possessn't restrictions concerning characters (my attempt at creating a version of this sentence using only 10+-character-words ... goodness that is a hard task to accomplish)
 
possessn't
 
10:45 PM
I had to ... I couldn't find any other way to negate meaning.
 
@Zacharý And I don't think I would count multi-line as 10 letters anyway...
 
i count contractions as a typo
 
Notice how I said "Characters"
 
10:47 PM
@Zacharý err... don't possess?
 
@Quintec 10+ characters per word...
 
@Zacharý Sneaky. I'm still not sure that it counts.
 
dispossess? :P
antiundispossess?
2
 
@El'endiaStarman Counts for what?
 
@Zacharý Spaces are characters... :P
 
10:50 PM
@Quintec "words" being delimited by spaces.
 
Here's many spaces!
 
,_,
This was just an informal joke.
 
So's mine '-'
 
@Quintec lack?
 
10+ characters as per Zachary
 
10:53 PM
If I could somehow make the subject singular ...
 
I've seen many things happen today -> Perchance, I may have been observed in the act of observing countless interesting events occurring during the time period of sunset to sunrise during the date which corresponds to today.
 
The ice cracked under my feet. A moment of terror, a moment of weightlessness and then the shock of the cold water rushed up around me. I paralyzed me. I couldn't tell up from down, left from right. The water hugged my body. Constricting. I kicked furiously hoping that this way is up, trying to free myself from its grasp. The air is even colder than the water, but I welcomed it's embrace. Even as I dragged myself out onto the banks the water still held on. My waterlogged coat kept the water's icy finger's grip on me. But I had won. I was free. Even now I can still remember the feel
7
 
I suppose I just won't tell you so you compose something like that again tomorrow
 
11:08 PM
@mınxomaτ This is surprisingly hard!
 
@El'endiaStarman Some of these make no sense whatsoever out of context
 
@PostLeftGarfHunter a stray apostrophe crept into your second its
 
I also have the wrong tense on an "is".
 
11:24 PM
See, this is why I don't believe in writing explanations to my code golf answers.
If you say what it is, it's just a dull fact that makes one's eyes glaze over. While the bare code incites the imagination of observers to passionate intensity.
I believe that in many cases, the code alone provides more enjoyment to readers, as well as attracting more votes.
 
@Quintec I've also seen multiple instances where the image isn't in the article anymore.
 

« first day (2864 days earlier)      last day (1983 days later) »