« first day (2222 days earlier)      last day (2636 days later) » 

2:00 AM
no, there's reason
the reason being it's offensive
 
ಠ_ಠ
I try to avoid political discussion in chat in general, so I was cautiously and slowly writing to a response while other conversions continued
 
For example: try seaching Stacked, RProgN, some other things I guess.
 
@Riker o_O
wow I say pyth a lot
 
@ATaco n->{java.util.Arrays.sort(n);return n[n.length/2];}
 
CMC: Given an int N >= 0, output quar followed by N ta's. e.g. 0->quar, 1->quarta, 2->quartata, 3->quartatata
 
2:02 AM
Can there be arbitrary whitespace between Quar and his tatas?
 
@HelkaHomba +"quar"*"ta
 
@Pavel My point was more that given the endless Trump mocking that happens in here and on the internet in general, if someone was offended by that, they wouldn't feel comfortable sharing that
 
print('quar'+'ta'*int(input()))
 
Sorry btw @quartata...
 
2:03 AM
RProgN, 13 bytes "ta"*"quar"\.
 
Incoming full java program, gimmeasec
@HelkaHomba Can we assume N<256?
 
interface g{static void main(String[]a){String o="quar";for(int i:new int[new Byte(a[0])])o+="ta";System.out.print(o);}}
 
:35726140 Where do the "ta"s come from? (nevermind?)
 
I always forget print is golfier than println
 
2:09 AM
Question: Should GitGoat/GoatHub use a dark theme? Or should it use standard iOS theme (light theme)?
 
@Downgoat Light theme, since it's more standard, and add dark theme in as a setting down the line.
 
@HelkaHomba Turtlèd, 18: "quar"?::{ 'al'tl}
 
@Pavel It's gonna have to be one or the other :P themes aren't so simple in iOS
 
@ATaco Regardless of everything else, you can remove whitespace still.
 
2:11 AM
Meeeh.
 
@ATaco use java 8 interfaces
 
Also, why Integer.valueOf and not new Byte?
 
&"rauq"#;,,<"ta"-1@k!: Befunge 98 (haven't tested yet, on phone)
 
Would new Byte work for 10?
 
wait it turns out I had already made the check of teams before
Yay past me
 
2:12 AM
10 is less than 256, so yes.
 
I did not know that.
 
> 2017
> Pavel: 10 is less than 256
> ATaco: I did not know that
9
 
Either way, Integer is the longest class with a usable valueOf method`
 
Oops
&"rauq"#;,,<"ta"-1@k!:; missed a ;
 
2:18 AM
Thanks
 
If I make a programming language after 💿 it'll be called hecksome
So for the cells, I'm thinking I'll format it like this:
 
@DestructibleWatermelon Wut is that character
 
<number of allies><0 if flag not in square, 1 if flag on ground, 2 if allies have flag, 4 if enemies have flag><number of enemies>
@Pavel optical disk
 
So the language is called... optical disk.
 
well, maybe it'll just be called disc
><> isn't pronounced "greater than less than greather than"
 
2:23 AM
Submit here either way.
 
there
TBH I might mess up and not make it
 
CMC: implement bogo sort
 
additional CMC: do it in a decidedly nontrivial language; one that doesn't have builtin pseudo random number generators, or any normal way to swap values
 
wat
@Pavel ruby: ->a{until a.each_cons(2).all?{|a, b|(a<=>b)<=0}?} {a.shuffle!}}
 
@Pavel prolly a dupe of a site question
 
wat
2:34 AM
Where is the time capsule spreadsheet?
 
n->{Random r=new Random();int i=n.length();while(n.stream().sorted().collect(java.util.Collectors.toList()).equals(n))java.util.Collections.swap(n,r.nextInt(i),r.nextInt(i));}
 
wat
thx'
 
@pavel thoughts on my suggested formatting of maze cells?
 
Ok, not anything to complain about.
Guys? n.stream().sorted().collect(java.util.Collectors.toList()).equals(n)
 
might go ahead an implement that
 
2:36 AM
How to check if an ArrayList is sorted in Java.
 
I dislike bogosort algorithms that sort the list to check at each stage if the list is sorted
 
So do I, but there isn't a shorter way to do it.
And it requires a for loop, not a statement, so it ends up being just obscenely long.
I suppose I could use Guava
 
wat
Tomato Language where commands are formed as consonant/vowel pairs
Is my idea good?
 
Yep
Better idea than WSF
 
wat
basically there would be 40 unique operations and 12 unique actions
and then those would be combined
also, a polyglot between Waldo and some of the other ones sounds impossible
 
2:40 AM
@Pavel list has a built-in sort
n.sort()
 
I can't really modify the original array, can I?
 
wait I meant to write three there not 4
 
so, simply pass it into an array list
 
And it would be n.sort(Integer::compare), but that's not the point.
 
I'm pretty sure Integer implements comparable
new ArrayList<>(n).sort().equals(n)
 
2:42 AM
How does the ArrayList, on which you are calling sort, knows what elements are inside of it?
 
oh! actually, list.clone() works
 
For all the compiler knows, it has Objects inside.
 
@Pavel I believe it tests to see if the objects implement comparable
its pretty standard practice to test for the Comparable interface
 
So, if I call a sort without parameters on an Object arraylist, it's a runtime error and not a compiler error?
 
I just looked at the interface
yeah, it requires a parameter
which is lame, because other classes test objects to see if they implement comparable
 
2:45 AM
And throws runtime errors otherwise?
 
That seems kind of un-java-like.
 
like, TreeSet, for example
 
Well, yeah, it's a Tree
 
right. If you pass in un-comparable objects, or no comparator, it throws an error
you could make the same argument for a sort functions
 
2:47 AM
@Pavel Implemented that way of botlooking
 
I thought Tree was implemented as Tree<T implements Comparable> as opposed to ArrayList<T>, so it would be a compiler error to define a Tree that takes Objects.
 
0
Q: Minesweeper Wars

HyperNeutrinoWe've had problems to generate minesweeper games. We've had problems to solve these minesweeper games. Now... It's time to battle other people on a minesweeper game! Your program must be run in Java. Essentially, each player can do an action every turn. You may move one space left, right, up,...

 
that wouldn't work if you want to pass in objects that aren't natively comparable
but you want to pass in your own custom comparator
 
wat
why not just ruby
 
2:54 AM
@NathanMerrill Right. But then it has a custom comparator it knows about, which is why you don't need to pass one into sort.
 
right, but that doesn't work with <T implements Comparable>
because you wouldn't have a T that implements it
hence, the run-time error
anyways, n.clone().sort(Integer::compare).equals(n)
 
user165474
Wait, we actually have a [minesweeper] tag?
 
user165474
Hm. Interesting.
 
@NathanMerrill Oic, creating the TreeSet can runtime error, but Sort will work fine. Yes?
 
3:08 AM
@HyperNeutrino yup! And apparently I'm the highest voted minesweeper challenge asker of all time, haha
 
Any feedback on this prototype activity view's design?
 
user165474
@DJMcMayhem Nice. How many minesweeper questions are there?
 
user165474
oh, 11. Hm.
 
user165474
I wonder what the most used tag is. I bet code-golf
 
@Downgoat What does the star signify?
 
3:13 AM
@Pavel Star in this case signifies that a certain repo was starred. (text is all placeholders for now). Example would be "Downgoat starred cheese/cheddar"
 
Looks nice
If you can tap on it to expand, you can put a kind of gray arrow to the right of each card indicating that.
 
that's an interesting idea
Though since it's an activity view, my idea was clicking on it will take you to the applicable repo
 
Like imgur.com/WXk35UF but less shitty
And smaller
 
ah, a chevron
 
Not quite, a chevron is a proper polygon.
It has width and stuff
I wasn't sure the best way to describe it
 
3:19 AM
Idk, Xcode calls it a chevron
it's basically a line though
 
I guess it's a chevron with 0 or small width
 
Yeah
But without knowing what Xcode calls it, "0-width Chevron" isn't very descriptive or helpful.
 
CMC: Given two numbers, a and b, read a as binary b times. EG. if b = 3, and a = 10, 10 in binary is 1010, which in from base 10 to binary is 1111110010, one more time is 1000010001110100011000101111010 to make 3.
 
user165474
@ATaco What does CMC stand for?
 
Chat Mini Challenge.
 
user165474
3:24 AM
Oh okay. Thanks!
 
also hasn't that been done before? on site even?
 
Boston Dynamics came out with a new robot, and it's kinda cool: imgur.com/gallery/jV8L20Q
 
Probably.
 
user165474
a = input()
for i in [0] * input():
    a = int('{0:b}'.format(a))
print a
 
user165474
(Whitespaces can be cut down a bit if wanted)
 
3:27 AM
@Pavel wow, the jumping part was impressive
 
user165474
@ATaco 65 bytes with unnecessary whitespace removed
 
Too bad Flobnar doesn't have a means of getting integer input
 
@MistahFiggins you can get char codes like BF prolly
 
I know, but reconstructing numbers is no fun :(
 
I mean, 64 as @
 
3:29 AM
Character code is valid I/O
 
Oh, that would be better, yeah
Ok then
Cool
@ATaco can we assume that b > 0?
And take input in either order?
 
Yes and Yes.
 
The binary representation of negative numbers gets a bit iffy
 
2s Compliment or bust.
 
> <, not <=
But yeah
 
wat
3:33 AM
CMC: Flobnar and BF polyglot to output 2**64
 
That doesn't seem too hard.
Just leave the BF code out of reach of the Flobnar code.
 
wat
s/bf/wsf
 
How do tabs interact with Flobnar?
 
wat
no idea
 
They don't, or badly, don't know
> As you've probably noticed, I've referred to the character set as ASCII in this entire document. I actually mean "printable ASCII" -- control characters and whitespace (aside from space and linefeed) are not defined, and (except for specific cases addressed in this document) an implementation is not expected to load them into the playfield. If at some point Flobnar is ever extended into the realm of Unicode, source files will be expected to be encoded in UTF-8.
 
3:37 AM
So WSF might not work
 
well, actually
it just says it doesn't have to load them in
 
well, actually
I just said WSF *might* not work
 
wat
well, actually
might work
because actually ignores tabs (I think)
 
But seriously though...
 
wat
u jelly
 
3:40 AM
@MistahFiggins Pun intended?
 
Nah i pyth
 
wat
@ATaco I'm a bit pyth'd off
 
50 internet points to anyone who makes a pun with "Half-broken car in heavy traffic"
 
Maybe something to do with Hasbro
Nvm, maybe something to do with Hasbro
 
wat
@Pavel heavy traffic, so you mean the traffic is not underloaded?
 
3:43 AM
...
I don't get it
 
What does underload have to do with HBCHT
 
Is anyone here familiar with GML?
 
@wat That was punderwhelming
 
@DJMcMayhem What's that?
@MistahFiggins THANKyou
 
3:44 AM
Game Maker Language
 
wat
@MistahFiggins ok, that was so bad it was almost a punishment
 
I thought it was punny
 
I opened Game Maker once
Did not enjoy
 
wat
I think I need to punch you
 
Whether or not you meant to make a pun, you can always say "pun intended" (which is in itself a pun on unintended)
 
3:46 AM
 
wat
@MistahFiggins you're being a punk?
 
punintended
 
punintentional
 
someone who makes these is a punderkind
 
Y'all need to spot before the mods put us in virtual punitentiary
 
wat
3:48 AM
They'll punt us out
 
They just don't punderstand us
 
wat
I think I'm using too much punctuation.......................
 
DjMcMayhem is here, and no one's been suspended, which means he approves, so this is fine, QED.
 
wat
grep -E "^pun.+" /usr/share/dict/words
 
@wat Pls post results, TIO doesn't have the words file
 
wat
3:51 AM
:35727550 punch
punchbag
punchbags
punched
puncheon
puncheon's
puncheons
puncher
puncher's
punchers
punches
punchier
punchiest
punching
punchline
punchlines
punch's
punchy
punctilio
punctilio's
punctilious
punctiliously
punctiliousness
punctiliousness's
punctual
punctuality
punctuality's
punctually
punctuate
punctuated
punctuates
punctuating
punctuation
punctuation's
puncture
punctured
puncture's
punctures
puncturing
pundit
punditry
punditry's
pundit's
pundits
pungency
pungency's
pungent
pungently
 
can't really use puny and the like though
 
Most of the rest are fine
 
might want to do grep -E "^.*pun.*" /usr/share/dict/words
 
That might be too long to paste into SE chat.
 
@wat What is the general idea behind it?
 
wat
3:54 AM
acupuncture
acupuncture's
acupuncturist
acupuncturist's
acupuncturists
compunction
compunction's
compunctions
contrapuntal
contrapuntally
cowpuncher
cowpuncher's
cowpunchers
cyberpunk
cyberpunk's
cyberpunks
expunge
expunged
expunges
expunging
finespun
homespun
homespun's
impunity
impunity's
keypunch
keypunched
keypuncher
keypuncher's
keypunchers
keypunches
keypunching
keypunch's
nonpunishable
pun
punch
punchbag
punchbags
punched
puncheon
puncheon's
puncheons
puncher
puncher's
punchers
punches
punchier
@MistahFiggins Alternating consonants and vowels form commands. It will be a stack based language
 
Stack based like Bepunge?
 
wat
I don't know
 
Now I really need to know what a Cow Puncher is.
 
wat
also, kek
 
Oh, It's a synonym for Cowboy.
 
3:56 AM
Is <space> supported?
 
wat
ignored except in string literals.
 
How do string literals work?
sfoobars?
 
wat
No, they would be "foobar"
 
@HelkaHomba Blocked for me, what are options?
 
4:01 AM
>Self driving cars
Space travel to moon, mars
More & more immersive virtual reality
Ubiquitous drones (for delivery, even transport)
Internet of things / smart devices
Commonplace 3d printers (like a household appliance)
Crazy applications of carbon nanotubes
Other
 
Put me down for Self-driving cars, I'm banking on not needing to get a driver's license
 
wat
I actually want to get a drivers license
 
I have to decide between realistically on the cusp and awesomeness
 
I'm banking on never needing to own another car if self-driving fleets becomes cheap and easy
@MistahFiggins What do you mean?
 
4:05 AM
Mars (I'm guessing >=5 years) or drones (~1 year)? One is cooler, but one is more "on the cusp"
And, it's hard not to just check them all
 
yeah
Not sure if 3D printers as an appliance would ever really catch on, but would be nice
 
@DJMcMayhem Where I am, we measure it in meters. There isn't any though...
 
@Dennis Isn't South America supposed to be warm and sunny?
 
wat
@HelkaHomba 3D printers are actually pretty cool.
Very useful and fun.
 
@Pavel some of us are already almost there -.- imma be pissed if learning how to drive stick isn't needed
@Pavel yeah, in addition the fact it's the middle of summer there :P
 
4:11 AM
@Pavel Very warm and very sunny, at least where I live.
Ironically, Tierra del Fuego (lit. fire land) is another story.
 
let me guess
is it on fire?
 
Tierra del Fuego = "land of fire" I guess
 
Hell, Michigan, isn't literally hell...
So I would guess that it's not literally on fire
 
@Riker Not at those temperatures. It snows in the summer.
 
@Dennis hehe
 
4:14 AM
@Dennis lol
 
Hey, it can be pretty warm here too. It's been like 15 C this week :P
 
It's 30 C today.
I would like this to stop.
 
It is 0 C and very windy right now, with snow on the forecast tomorrow
 
@Dennis Oh, when you said "There isn't any", I thought you mean "right now"
 
It's 1:15 AM, I'm sitting below a ceiling fan in the hurricane setting, and I'm still sweating.
@Pavel I was just pointing that feet are something you put in your shoes here.
 
4:19 AM
Ugh. I don't think I could handle that. What's the ambient temperature?
 
RProgN2 is much harder to read than its father language, I'm so proud.
205
`N=
{`x@s`y@0y’2xšR{x\%0e{y‘[1y’}?};y‘¬}`P=
{`G@s`y@0y’1{y‘`Y=YG{Y0}{Y1+y’1}?}:}`f=
{`n@nN>nP&}f
Find the next prime larger than 205
 
@Dennis As a metrically-minded person I have to agree with that sentiment.
@ATaco Is there not a golfier way?
 
Probably.
But I wanted to also use the fact that I can write a prime function and a "Find the first number that satisfies" function.
 
@DJMcMayhem ~30°C (I think) with 90% humidity (again, guessing). I should go back inside to my A/C.
And I should buy a thermometer.
 
30 C doesn't sound that bad, but that's because the humidity here is usually like 30%
 
4:24 AM
30C is hot for me, but I'm down in Victoria AU.
 
The record temperature here is 33 degrees. It was annoying, but not unbearably so.
 
Well, it's 1:30 AM, so there's still room for improvement.
 
wat
Does anyone else want to help me design Tomato?
 
@Dennis Oh god, how high does it get at noon?
 
@wat What is Tomato?
 
4:28 AM
$205
1+`y=1{0`z=2yšR{y\%0e{1`z=}?};z¬{y0}{y1+`y=1}?}:
Moderately golfed version
 
@Pavel We'll see. There's a decent chance of thunderstorms today, so it might not get too high. I hope they fixed the roof in my office though. My desk had a little lake last Friday.
 
@Dennis Aren't they worried about electronics being damaged?
 
@Pavel At least I am. Took one look at my workspace and went straight back home... Our building is getting a third floor, so everything's kind of a mess right now.
 
Ah, makes sense why the roof would be leaking.
 
4:32 AM
Roof? Which roof? :P
 
I wonder how much longer a smartphone (or tablet or laptop) could last if manufacturers stopped focusing on thinness and made the device .5cm thicker all with battery
5
 
Like, days
 
By my rough calculation, something like a Samsung Galaxy S7 could go from 12.705Wh to 38.4Wh (= ~9974mAh at 3.85v instead of 3300)
 
wat
Just make it, like, iPhone 4S thickness
 
Is there a consensus on how Turing machines are scored for ?
 
4:44 AM
@WheatWizard AFAIK no.
If you ask on meta, also ask about formal grammars.
 
I think I'll just do TM I feel that formal grammars will have a significantly different scoring method
 
Alright then
 
5:00 AM
@HelkaHomba who says to stop at batteries? Someone tell Jonny Ive to return my USB 3 port :P
 
I've heard the iPhone 9 won't even have a screen
 
@HelkaHomba What?
I mean, at least it might fit in your pocket...
 
iPhone 10: We have reinvented the iPhone our of existence. Box only contains headphones
 
@MistahFiggins Just a joke about how apple likes to remove features, like a headphone jack
 
Silly me
 
5:05 AM
Unless it will actually be iBrainBeam...
 
@HelkaHomba you jest but never forget that once apple legitimately released an iPod without a screen
 
"This time, the USB port goes in your head!"
I will probably not even consider purchasing anything that apple plans to connect directly to my brain. It is Apple, after all
 
@Downgoat convince them to make an iGoat
3
 
I'm tempted to write an interpreter for flobnar...
So that It makes it easier for Dennis and just because I guess
I like how the operations always work vertically, it makes it harder
 
5:23 AM
@WheatWizard find a TM interpreter, then measure the program you have to give to that interpreter
@MistahFiggins include integer io!
 
@MistahFiggins Do it, if you write in in Java I could even help out.
 
That's what I would do
Maybe string mode/character quoting
 
wat
@Downgoat I have a few iPod Shuffles
 
5:44 AM
hello everyone
For the infinite non-periodic output question, is a bash solution that counts integers be valid?
Because after 2^64 increments it wraps around to 0 and goes up again thus making it repetitive.
Or is it allowed based on the limitation of that data type? I see a lot of counting answers there.
 
Anonymous
6:30 AM
@seshoumara That sounds like a question to ask the challenge author
 
wat
Basic Tomato cheating quine is Voy
 
7:17 AM
Amazon is almost too enthusiastic about their "Morning Express". I just took delivery of an order from yesterday ... this morning at 5:45 am.
 
wat
Who here has designed an esolang?
Please help me!
 
@wat That's actually a really awesome idea
 
wat
Thanks
 
I have no ideas for it, but it sounds cool
Is it supposed to be golfy?
 
wat
Kinda
All operators are one character, there must be at least one modifier but there can be multiple
There is also o modifier which is a no op
 
7:23 AM
What's the difference between a function and a command? As I understand the text a singel consonant can be a function while 2 consonants followed by a vowel is a command.
 
If it wasn't supposed to be golfy, I'd say that digits and string literals must be alternating also
 
Ah yes no-ops. The esolang designer's excuse for not implementing a proper parser :D
 
wat
@Emigna ?
 
(For example, 12 is a valid number literal, but 11 isn't. To print "Hello" you have to use the string literal "Helol" and swap the last two)
 
wat
Every consonant is a function. A command is a consonant and one or more vowels.
You cannot chain consonants.
@DJMcMayhem I don't really like that idea.
 
7:25 AM
@wat " a pair of a consonant and a vowel"
 
wat
ugh, english is hard.
 
Clearer now :)
 
wat
Was originally going to be one modifier per function.
You can always add in your operator ideas. I can accept suggestions.
 
@wat That's fine. That's why I was wondering if it should be golfy or not. If it was supposed to be a tarpit, or painful to use that would be interesting, otherwise a pain.
I might take that idea (or a slightly different idea) for myself though
 
wat
Not supposed to be a tarpit.
 
7:36 AM
@Dennis It's behaving very weirdly. Sometimes it doesn't change the x-clipboard text, other times it changes it to my normal clipboard content
 

« first day (2222 days earlier)      last day (2636 days later) »