« first day (1845 days earlier)      last day (3000 days later) » 

5:00 PM
@quartata Isn't that just .f?
 
err... I don't think so?
What does .f do? :P
 
Find first n matches.
 
Oh.
Well then.
 
hmmm, another advantage of using redis is that the master controller can be in any language
 
That's exactly what I was looking for.
:P
 
5:03 PM
@VoteToClose \\o// cannot wait to try it out.
 
Lol, waving arms?
 
Dam son, that's a lot of slashes.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ try out what?
 
Vitsy verbose mode. Look at the reply.
 
5:06 PM
I couldn't figure out where @ was pointing to
 
Well I tried something with .f
and somewhat annoyingly it is also 21 bytes
h_.f:`Z"^[46890]+$"0Q
That's mostly because of the regex.
Is there a built-in for "only consists of these characters"?
 
Why not use "doesn't contain any of the characters 12357"?
 
That's longer.
 
ah, it's shorter in JS
!/[12357]/.test(n) as opposed to /^[46890]+$/.test(n)
 
@quartata Why use any of that all all? This is just base conversion...
 
5:14 PM
Some of my friends and I have a GroupMe chat going. Somebody just changed our group name to the Navy Seals copypasta.
 
0
Q: Extend the line

J AtkinTask Given an image with a line on it, produce or display an image with the line extended the the line to the edge of image. The line is black and the background is white. The image size is 100x100 The image comes in any reasonable format (e.g. jpg, png, ppm, bmp). Line format I'm using a simp...

 
@Dennis You mean like convert from base 10 to bijective base 5?
 
This isn't bijective. 0 cannot occur as first digit.
Nevermind. The challenge just changed substantially.
 
? It did?
oh whoa
That's a completely different challenge.
Hm.
 
1
Q: Count Mills in Nine Men's Morris

DenkerAffeIntroduction Nine Mens's Morris (also called Mills) is a board game for two players which is played on the following board (image taken from the linked Wikipedia-page): Each player has 9 men, colored black and white. The concrete rules are not important for this challenge, but check out the Wi...

 
Anonymous
5:27 PM
@quartata Yeah as it stood, it was a dupe of the Kleene star challenge, as Peter pointed out
 
I'm not sure I agree. The leading zero makes it different enough IMHO. (Then again, I rarely think anything is a dupe of anything else.)
 
Anonymous
So I changed it to what I was considering doing as a follow-up challenge
 
Jelly really needs an equivalent to Pyth's .f.
 
I just noticed somewhat annoyingly that .P doesn't actually work for numbers greater than the length of the array
 
Is it even feasible to do the HTML entities in a non-esolang for less than triple what it would be for a builtin (since that's the penalty)? It seems not worth it to do it "right" :/
 
5:35 PM
Without compression? Doubt it.
The penalty is pretty low, actually.
 
0
Q: Coolest tweet sized javascript (d3) art

bjedrzejewskiThe competition is to create the coolest tweet sized d3 visualization as you can find here: https://t.d3fc.io/ Some examples: https://t.d3fc.io/playground/699900943366799360 - patterns https://t.d3fc.io/playground/699625114221076480 - James Bond https://t.d3fc.io/playground/69925087245540147...

 
Oh, wait. I just saw this:
 
If a built-in is say, 20 bytes...
 
> Any HTML entity that produces a character that isn't on that list, or that is invalid, should be left untouched (E.g.: &, &etilde;, &a;)
 
62
Q: fastest (low latency) method for Inter Process Communication between Java and C/C++

BastienI have a Java app, connecting through TCP socket to a "server" developed in C/C++. both app & server are running on the same machine, a Solaris box (but we're considering migrating to Linux eventually). type of data exchanged is simple messages (login, login ACK, then client asks for something, ...

 
5:37 PM
That probably kills most builtins, but seems really arbitrary.
 
looks like pipes is the fastest method
 
@Geobits Most parts of this challenge do.
 
I don't understand why he didn't just ban builtins....
 
@quartata He explained that much in the comments. Go complain where he can see it.
 
"what cool built-in stuff people can come up with"
Hm.
 
5:40 PM
Well, with or without builtins it's still just "replace this list of text with this list of text", which isn't very interesting anyway imo.
 
Anonymous
^
 
Missed it
 
ha, yeah
 
Come back when we hit 5555
 
5:42 PM
@Doorknob !
 
Huh? The front page says 4,981.
 
@Dennis Doesn't count locked questions
 
Almost at 50k answers, though. Maybe you can keep a bette eye on that one >_>
 
With locked questions, it's 5,009...
 
@Dennis My front page says 5003...
 
It says 5,003 for me.
 
Mine shows 5001
 
In any case, we recently passed 5k \o/
 
Random fact: Stack Overflow has approximately 2216 times as many questions as we do.
 
4981, 5001, 5003, 5005, 5009... :D
 
5:44 PM
> 98% Answered
 
@Rainbolt Actually, they have about the same number of real questions. The rest are just about string equality in Java.
7
 
Dennis ... ಠ_ಠ
 
@Rainbolt Do they have 10/day, though. 'cause we have that.
 
I think they have 10/minute
lol
Where are the site stats for SO?
Is that only for sites that came from A51 originally?
 
I don't know.
@Rainbolt I think so.
Looks like SO in Russian had 115 (!) questions per day.
 
Anonymous
5:45 PM
You can get site stats in SEDE
 
Only a 1.7 answer ratio lmao
 
In Russia, question ask you.
 
@Doorknob they have about the same percentage of string equality as we have kolmogorov complexity
 
@Dennis Statistically, this means we actually have 4999.8 questions, so we're still short of 5000 ;-)
 
Anonymous
5:46 PM
7174/day for SO
 
@TimmyD ಠ‾ಠ uʍop ǝpᴉsdn uʍoɹɟ ʇɐɥʇ uɹnʇ
 
@Mego I have no idea how the questions per day metric is calculated, but I don't think it's an average of the entire lifetime of the site. I think it's a sliding window. Otherwise we'd never be able to fluctuate so much.
 
@Dennis (╯°□°)╯︵ uʍoɹɟ
 
@Dennis I turned my head upside down per your instructions and broke my neck. I will now be suing you for everything you've ever owned, thought about owning, or couldn't possibly afford to own.
 
Anonymous
@Rainbolt and DATEDIFF(hour, CreationDate, GETDATE()) <= 14*24 It's a 2-week sliding window
 
5:47 PM
@quartata The latter part will be the most profitable.
 
Oh. My bad
 
Anonymous
2-week sliding window, updating hourly seems to be the most accurate for A51 (disregarding that SEDE takes forever to update)
 
@Mego 7174??
 
Anonymous
@quartata Yeah it seems insane but it's accurate
 
No wonder you don't ever see good answers there anymore.
 
5:49 PM
 
According to your query we have 9 questions a day
 
Anonymous
@quartata That's because SEDE is somewhere between 24 and 48 hours behind on posts at any given time
 
Ah.
@Dennis Relevant:
@Bobby: On your advice, I placed a disclaimer on my door that any female who enters may be molested. I was subsequently arrested and spent the next five years in jail. I am now going to sue you for everything you have owned, wanted to own, have seen, your family members have owned or thought about owning, and stuff you couldn't possibly want or afford. — Won't May 13 '11 at 13:24
 
I wonder why switch statements use colons instead of braces.
switch (val) {
    case ("foo") {
        break;
    }
    case (default) {
        break;
    }
}
Heck, I threw in some parentheses too
 
ew looks ugly with parens
 
5:54 PM
@VoteToClose Yeah, it's definitely a neat challenge, just waaaaay too big.
 
Anonymous
New insult: "You couldn't hit the broad side of a popcon"
6
 
@Rainbolt Not necessarily defined to break after the case finishes.
 
Braces don't break at the end either :/
 
@Geobits They appear to, though. Colons don't separate.
 
> Now, if you will excuse me, I have some more legal questions about my upcoming case I must submit to the community.
hahahahaha
 
5:58 PM
@VoteToClose So you're arguing that colons should be used for things like if and while? You're getting dangerously close to heretic/pythonista territory.
 
Anonymous
@Geobits ಠ‾ಠ
 
@Dennis Truly the golden era of Meta
 
translate: pitonisa
(from Portuguese) Pythia
translate es: pitonisa
(from Portuguese) Pythia
 
@Geobits No - if and while designate a beginning and ending to a group of statements that are only executed if something is true.
 
Awesome.
 
6:00 PM
> es
> portuguese
 
Clearly, BATCH file has the best ternary style statements
 
Go home Bing you're drunk
 
@Rainbolt Yeah, that'd make it easier. I ran into scoping issues last week because of that. >_>
 
have any of you used ZeroMQ?
 
CALL :a&&GOTO :c||GOTO :b
 
6:01 PM
it looks like exactly what I want
 
Anonymous
@TimmyD That's atrocious, offensive, and legally dubious
 
@quartata It was supposed to be a pythonista -> pitonisa -> oracle -> Java pun. Thanks for playing along, Bingeling.
 
@VoteToClose I suppose. The problem I guess is that you can brace basically anything, so it's not like the braces themselves really tell you anything about the control flow.
 
Anonymous
@Dennis Bingeling sounds like a miniature alcoholic
3
 
I suppose you could also technically brace case statements.
 
Anonymous
6:03 PM
alcoholista
 
Another idea: make break implicit and make fallthrough explicit.
 
case: {
  stuff();
}
 
@Rainbolt I'm not such a fan of that, tbh. I do think that parens and braces would look more natural when compared with the rest of the code, though.
 
switch (thing)
{
	case Thing.Foo:
		var connection = new FooConnection();
		doThing(connection);
		break;
	case Thing.Bar:
		var connection = new BarConnection();
		doThing(connection, ThingOption.Bar);
		break;
}
 
Why use brackets and braces when you have perfectly acceptable colons and whitespace? o_O
 
6:04 PM
This doesn't compile in C#
 
Another idea: remove switch statements
 
Anonymous
Best idea: don't have switch-case statements, and do everything with a dict!
 
ninjaed :)
 
ninja'd
 
Because the second "connection" declaration fails, since there's already a "connection" declared in the scope.
Which I feel is a bit silly, really
 
6:05 PM
Anything involving C# is silly.
 
@Roujo Well, that kinda makes sense, since I imagine they're two different parts of the compilation pipeline.
 
@quartata Heh. It's not all bad I'd say. I'd rather be doing F#, but eh =P
 
Anonymous
{Thing.Foo:lambda:doThing(FooConnection()),Thing.Bar:lambda:doThing(BarConnection(), ThingOption.Bar)}[thing]()
 
@Dennis Because colons are used for basically nothing else in the language having to do with control flow? It's an oddball holdover IMO. You can argue that they're labels and goto and all that, but most people don't use labels except in really rare circumstances.
 
@TimmyD It does kinda make sense, but I don't see why each case wouldn't be in their own scope by default.
 
6:07 PM
A separate scope for each case?
 
@Geobits No, I mean keep switch statement as they are and change everything else. Python way is best way.
 
@Dennis I figured that, but thought if I ignored it, it would go away :P
 
hahaha
 
It feels like a non-obvious "gotcha", although one that is easily memorized and worked around. Not that bad, but still.
 
Anonymous
So much Python hate
 
6:08 PM
It's recent. I never hated python until I started using it for something.
 
Anonymous
Thoughts on this challenge?
 
Anonymous
2
A: Sandbox for Proposed Challenges

MegoHoly Numbers In many fonts (specifically in the Consolas font), 5 out of the 10 decimal digits have "holes" in them. We will call these holy digits: 46890 The 5 unholy digits are thus: 12357 An integer may thus be classified as "holy" if it only contains holy digits, and "unholy" otherwise...

 
? What's wrong with Python
 
That's when I figured out why some people hate it.
 
Anonymous
(other than "omg y u change it when I almost had a solution")
 
6:08 PM
You guys know that goto is actually a keyword in Java. >.>
 
@TimmyD Yes. I can't do anything meaningful with "connection" in the second case anyway. =P
 
? I've always been happily surprised by python
 
@VoteToClose Yes, it's reserved so that the compiler can tell you that you're stupid for using it
Just like const
 
@quartata Yup. D:
 
6:09 PM
@VoteToClose Yes, but it's hardly ever used. That was my point.
 
@Geobits It isn't ever used.
It can't be...
 
Anonymous
I used to dislike Python's lack of switch-case statements, but then I learned to stop worrying and love the dict-lambda idiom
2
 
It throws an error.
 
Support was removed in... 4? 5?
Can't remember.
 
Anonymous
6:10 PM
Labels are still around though, and they're used for exactly one thing: breaking out of loops
 
@quartata Ha, yes. I was thinking break label; for some reason :/
 
^^ I actually use them frequently.
 
Anonymous
ninjo'd?
 
Anonymous
If the cleanest way to get out of a loop is with a labeled break, you probably need to rework your code :)
 
Every time I think break label; is the best way to go, I look at my code for another twenty minutes to find a better way to do whatever I'm doing.
 
6:11 PM
@Mego I just got the Dr. Strangelove reference. >.>
 
Damn ninja
 
Anonymous
ninjo'd again :D
 
You just got ninja ninja'd.
So... who's gonna put the "ninja'd" thing in the meme list?
 
Doesn't C# still have goto as well? I thought that was used for control flow in switch statements.
 
Anonymous
> goto ... control flow
 
Anonymous
6:12 PM
goto is like the opposite of control flow
 
>.>
 
Anonymous
It's pissing into the wind and hoping you don't get a splashback
 
You know what I meant :p
 
control jerky motion?
 
@TimmyD Huh, I didn't know that: msdn.microsoft.com/en-us/library/13940fs2.aspx
 
6:14 PM
@Roujo Oh gods, that example is horrendous. Who writes code like that?
 
why is it ninja'd?
what if I samuri'd?
 
Anonymous
@TimmyD Bill Gates
 
@TimmyD I'm never not going to be ninja'd today, am I? :o
 
kung fu'd
 
Anonymous
@NathanMerrill samurai'd?
 
6:15 PM
bearmonkey'd
 
wwf'd
 
@NathanMerrill You can see samurais coming. Ninjas, less so.
 
Ninjas are fast and sneaky.
 
Anonymous
Ninjo > ninja
 
That's it, I'm done.
 
6:15 PM
@Geobits Ninja'd on a ninja comment. Nice.
 
Anonymous
ninjaception
 
jijna'd
 
Anonymous
jenga'd
 
@Mego Any runtime restrictions? Setting h to 40 could take some time for naïve approaches.
 
@Geobits You just got Geobits'd ... it's a thing, now. :p
 
6:16 PM
-1 ambiguous. Geobits'd is already "downvoted".
 
Anonymous
@Dennis Nope. I'm not going to test for h that high. I'll just trust that it works based off of lower h testing.
 
@Geobits Overloaded operator.
 
Anonymous
Geobytes'd: when you're 8 times too slow on a comment and someone beats you to it
 
Ah shit. That's catchy.
 
so, if I intentionally ninja a comment, does that mean it was actually pirate'd?
 
Anonymous
6:18 PM
@NathanMerrill no go home
 
@Mego You say nth. Is 0 the 0th? (Ew.)
 
@Dennis Zeroth is usually how I see it, yeah.
 
Anonymous
@Dennis Yes; zero-indexed
 
yes 0th
 
Anonymous
We're all programmers here, no need to be afraid of the 0
 
6:19 PM
The zeroth law of thermodynamics states that if two thermodynamic systems are each in thermal equilibrium with a third, then they are in thermal equilibrium with each other. Two systems are said to be in the relation of thermal equilibrium if they are linked by a wall permeable only to heat, and do not change over time. As a convenience of language, systems are sometimes also said to be in a relation of thermal equilibrium if they are not linked so as to be able to transfer heat to each other, but would not do so if they were connected by a wall permeable only to heat. Thermal equilibrium between...
 
0th is stupid. Sorry, but it just is.
 
@Roujo "Zeroth" always sounds like some ancient Sumerian deity or something.
 
You can index your array however you want, but the leading item is still the first. 0th is very, very wrong IMHO.
2
 
Anonymous
Mmkay, I'll change it
 
To completely change topics ... anyone else like peanut butter and muenster sandwiches?
 
6:21 PM
@Dennis Right, that makes sense. All of the uses of zeroth I know of are cases of "shit, we forgot about this thing that comes before". =P
 
lets all commit to 0nd then
 
@TimmyD No.
@NathanMerrill Better than 0st :P
 
Anonymous
0rd
 
this entire conversation has already been ninja'ed: chat.stackexchange.com/transcript/message/27083995#27083995
including Geobits complaints
 
@NathanMerrill So Geobits ninja'd himself. Nice.
 
6:23 PM
Oh I know. If we avoided all topics previously discussed, this room would suck.
 
Anonymous
@Roujo So he both ninja'd and Geobytes'd himself
 
> The first rule of The Nineteenth Byte is ...
 
@TimmyD ... we all float down here?
 
Feb 10 at 19:59, by Mego
30 minutes later is like sumo'd
So what's several weeks later?
 
Your mom'd?
 
6:26 PM
I dunno, but Nathan did it too with his 0nd comment, so at least I'm not alone :D
 
Anonymous
@TimmyD Jupiter'd
 
Heya
 
greets
 
Anonymous
6:26 PM
spam
 
<generic-greeting>!
 
[oddly specific greeting]
 
Terve!
 
Anonymous
<statement about how saying hello and goodbye in a chatroom where everyone can see when people enter and leave is pointless>
 
6:28 PM
System.out.print(greetings.get(rand.nextInt(greetings.size()));
 
<retort that such entrances aren't visible from a historical perspective>
 
Anonymous
from random import*;print choice(greetings)
 
Some greetings are fine. How else would Marky learn?
 
<addendum that we try to simulate real life in the chat room by SHOUTING and whispering and [acting]>
 
お早う!
 
Anonymous
6:29 PM
@NathanMerrill <in which I point out that it doesn't matter from a historical perspective>
 
$greetings|random
 
早__早
$greetings.getRandEl()$
 
Anonymous
Chat mini challenge: given a list/array/iterable/enumerable/whatever called greetings (or such a thing on top of the stack, for stack-based langs, or at the current position on the tape, or whatever), print out a random element
 
<argues that the purpose of greetings is for room friendliness, which still works historically and presently>
 
6:32 PM
@Mego Byte count deduction for length of the variable name?
 
Anonymous
Seriously, 1 byte: J
 
Anonymous
@TimmyD Of course
 
Anonymous
@NathanMerrill <points out that actually greetings/goodbyes are to signal arrival/departure when it would otherwise not be obvious>
 
3 mins ago, by TimmyD
$greetings|random
PowerShell v2+, 6 or 7 bytes, depending upon if you count the |
 
Pylons, 3 bytes: l@r
 
Anonymous
6:33 PM
Or, to fulfill the "variable" part, "greetings"└J
 
<disagrees>
 
I never tried to make a new Pyth program for the new holy numbers
one second
 
greetings[greetings.length*Math.random()|0]
@quartata ??
 
int a=greeting.length;System.out.print(greetings[a*=Math.random()]);
 
It's something like _Rx in Jolf, so two bytes.
 
Anonymous
6:36 PM
@Geobits Warning: not random
 
Anonymous
Java uses a LCG, which has two main flaws:
 
@Mego How random do you want it to be? Math.random() is generally accepted on the site for randomness...
I know it has flaws, but it's still accepted on main :/
 
Anonymous
1. it cannot produce all the values in the range
2. it is not even close to evenly weighted
 
Anonymous
@Geobits It's acceptable, but it's not really random :P
 
Soo.... not an error then :P
 
Anonymous
6:37 PM
Where do you see an error?
 
In your edit history. I wouldn't have said anything about a silly warning :P
 
@Mego "Really" random in computer-speak really narrows options
 
Anonymous
@Geobits Doth thou impune mine honour?
 
Anonymous
@TimmyD MT is sufficiently random - all values are equally likely
 
In TrulyRandomGolfScript, this challenge is 0 bytes :P
 
6:39 PM
@Mego Nay, only that of thy mother. gloveslap
 
Anonymous
@Geobits :O We duel at dawn!
 
@Mego Is that UTC or ?
 
Anonymous
@TimmyD True randomness isn't hard. Just set up a radiation detector next to a sample of cesium-133 and count the radiation. Everyone has some lying around, right?
 
Anonymous
@TimmyD Doth thou impune mine honour, by suggesting I might live by anything but the great UTC?
 
6:43 PM
Hmm. There's been a light ammonia smell here all morning and I'm starting to get lightheaded. Maybe I should see what's going on...
 
Anonymous
@Geobits Probably a spill. Clean it up with bleach, and everything will be fine.
 
Hrmph. I thought i<seq><num> converted <num> to the base defined by <seq>, but it actually just converts all the elements of <seq> to base <num>
 
@Mego Get out of my head. >.>
 
Anonymous
(and then I won't have to duel you later)
 
@Mego >_>
 
6:44 PM
@Geobits uh oh
 
It's weird though. No cleaning or anything going on. Just smells like it.
 
IIRC, ammonia really isn't a nice thing to breathe =/
 
Anonymous
@Geobits Anybody fertilizing plants, or fermenting stuff, or running a diesel engine?
 
Is it an old building?
 
Maybe you have cats.
 
Anonymous
6:49 PM
Or maybe an ancient refrigerator?
 
Anonymous
It's ok, you can tell us about your moonshine operation
 
Anonymous
Cooking meth?
 
Anonymous
Woodworking?
 
The Internet seems to think your kidneys are failing. =P
 
@Roujo R.I.P. Geobits
 
6:51 PM
@Mego nope @Roujo nope @TimmyD nope @Mego nope nope nope nope @Roujo webmd probably suggests cancer, too @TimmyD thanks, your RIP is appreciated
Is that everything?
 
Anonymous
You owe us some moonshine I think
 
Golfing chat responses ... interesting.
 
1
Q: Sliding Capitals

TimmyDThe Background Imagine the English alphabet written out in a row in capital letters -- ABCDEFGHIJKLMNOPQRSTUVWXYZ. Suppose we have a special variable-width lens such that, when placed over the row, it shows a certain "window" of the alphabet, with letters outside the lens hidden from view. Addit...

 
@somebody I'll make a URL shortener akin to goo.gl or bit.ly instead. But your idea of dropping defaults is good.
 

« first day (1845 days earlier)      last day (3000 days later) »