« first day (2279 days earlier)      last day (2861 days later) » 

07:00
We don't use apt at all on fedora.
@Dennis I may have asked this before, but why is the order of opposite to the usual order?
@mınxomaτ it's you
@LeakyNun The symbols with dots under them refer to inverse
iirc
@Phoenix that isn't what I mean
e.g. in python we do a[3]
but in Jelly we do 3ịa, ignoring the 1-indexing
Anonymous
@ATaco Yep, package management on Ubuntu/Debian is crap. On Fedora, it's palatable. Yummy, even.
Not so yummy since 25
Now it's DNF.
07:02
Why they felt the need to change the name, I don't know.
I'm not even going to bother trying to make a pun for that.
It's a different package manager.
Would "Improvements to mainstream programming languages (e.g. finding bugs)" fit this meta post?
It does basically the same thing
dnf and yum are basically identical for a user.
But apt uses different commands.
apt get = yum/dnf install
 ~  sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found
07:04
@Fatalize hi. I have no idea how one would use Brachylog to attempt this question, especially when the syntax is all different (subscript, I, etc.)
Shite
@LeakyNun Seemed useful. Sometimes it is, sometimes it isn't.
@Dennis e.g. a[3][1] is a mess
@ATaco I run Fedora on a different computer, I know how it works
And it's apt-get install, not apt get
Though apt install works
Meh, I've only ever used Fedora.
07:04
@LeakyNun Let me think about it
Anonymous
@ATaco Did Not Finish? Do Not Fix?
@Phoenix Those are two completely separate programs that just happen to perform similar tasks.
@Dennis for the second indexing, I have to either use ⁸ịЀ or ị@€⁸
which costs me 4 bytes
Whate makes dnf better than yum, anyway?
0
Q: Chat account suspended?

MendeleevMy chat account has just been suspended for 30 days. I have not had any lasting suspensions over 30 minutes in the past month. There was completely no warning about it. I do not think I posted anything too controversial, off-topic, or NSFW. I had not sent a message for a while. Can someon...

07:21
I added a small scorebar to the TeamSpirit underneath the chat.
So it's a thing.
How do I view all messages that a particular user said?
Anonymous
@LeakyNun TNBDE is your best bet
@Mego thanks
@Mego can you write a template for me?
@Phoenix Most parts are written in C and considerably faster than their yum counterparts, which is entirely written in Python.
This new "C" thing sounds really cool. Where can I try it?
Anonymous
07:32
@feersum Online!
@Mego Could you help me. The links from the list of useful queries are dead.
@LeakyNun I don't understand how your termination condition works
Anonymous
@LeakyNun Unfortunately I don't have time right now
Anonymous
It's pretty basic SQL though
@Mego I know nothing about SQL
@Fatalize what do you mean by "my termination condition"?
07:39
What are you doing with SQL?
@feersum I'm trying to find all messages by a particular user
using TNBDE
Let's just say I don't understand your algorithm
@Fatalize Are you referring to my answer?
You can do that easily enough in the search bar.
07:39
@feersum you have to put something to search
I don't see how you check that a list of more integers would result in a number too big
@Fatalize This is the result of each iteration
I checked the results that are too big by intersection
Wait so
By the way, the two Pyth answers in here are too big... but I don't want to be the third one
Should I post or should I not post?
you take [7, 77], then get all ints for 7*7, 7*77, 77*77, then repeat on the new list, etc.?
07:42
@Fatalize that's roughly the idea
My approach to that problem would be this:

1. Take the `log7` of `l`, and floor it - that's the maximum amount of numbers required (`m`).
2. Make a list of all the `7` numbers up to `n` (`7, 77, 777` for `n = 3`).
3. Get all permutations of the list from 2, repeated `m` times.
@Qwerp-Derp that was my initial approach, until I found the fixed-point method.
That was actually my idea too
@feersum thanks
07:50
@LeakyNun What's the fixed-point method?
@Qwerp-Derp refer to my answer or Dennis' answer.
08:05
-1
Q: You've Crossed the Wrong API

Jimwel AnobongYou’ve been using Google Maps Directions API but all of the sudden you’ve realized you’re in the wrong site. You found out that you are using Stack Exchange’s StackAPI. Now you should make a function called StackAPI. This function must output a list of Stack Exchange sites that starts with the u...

and it's slow as hell too
@Fatalize what have I just seen
@Fatalize it's blasphemy
This is typically the type of thing where Brachylog syntax is garbage
Maybe you would want to attempt my challenge instead.
It's array manipulation
when you have multiple inputs and they are used on different levels
because carrying inputs between predicates is extremely annoying
08:13
What's your algorithm? @Fatalize
it's still > 50 bytes
@LeakyNun Generate 7…7 with as many 7s as the length of l, then find all unique ints such that: take a subset of 7…7, deconcatenate it into C, each member of C must be of length less or equal to n, C itself must have at least 2 elements, and the product of elements of C is that output int
then select all those ints that are actually smaller than l
All of Cl>1∧C:[T]z{hl≤~t?}ᵐ∧C is because of those "each member of C must be of length less or equal to n, C itself must have at least 2 elements"
craploads of variable naming too because I need to pass l and n further down predicate calls
I intended to implement a better way to pass variables from one predicate to another but I still haven't gotten around to it
maybe you should do my challenge instead.
Brachylog is bad at doing submatrices
08:21
never mind then
09:17
I have a question about TIO
How do I call an unnamed lambda from the footer in Ruby?
Why doesn't `{~}% in golfscript do the same as 10base?
10:00
@LeakyNun negative numbers could hurt you there
@Sherlock9 unclear. Is ->{}[] what you want?
10:14
0
Q: Is your opponent cheating?

AntoineYou're playing an important chess tournament and you managed to make it to the final round. Your opponent is Cheater McCheat, a player known for its obvious use of trickery. Unfortunately for you, all the judges are ill after going to lunch (Did Cheater McCheat poisoned their meal ?). Thus, yo...

Okx
Okx
@NewMainPosts My opponent is always cheating
@Okx When he's winning
@JanDvorak the top of the stack is "132"
@JanDvorak Nope
Code: #main function

->n{p n}

Footer: # call function
_[1]
@Phoenix Unless you are converting from a score/converting via AudioScore
@DJMcMayhem Haven't seen it before though, does 6-8 weeks count as a whiel?
10:45
@Downgoat Yeah, pretty much
Wow, I've gotten several Announcer badges for links I don't even remember posting :/
I have greatly improved the TeamSpirit userscript to be less annoying to look at.
According to my Arbitrary Scoring system, Blue is winning.
Almost entirely because "Thomas Ward" is on team blue.
What color am I? (also, what does "winning" mean?)
Red and having more arbitrary points.
But what are the points given for? Are they just completely arbitrarily assigned to specific users?
Messages that are in the current section, and stars.
10:57
oh, OK. I see why Thomas Ward would have a lot then
Yeah. But us Red's chatting is slowly but surely turning the tides!
Interesting, GreaseMonkey said it can't parse the userscript
There is no good reason for this, and at a strange sociological level it may be considered a bad idea.
Also, it's designed for Tampermonkey.
TamperMonkey thinks it's fine though
Is it supposed to color the messages? I see a little bar underneath the chat box, but nothing else
It's supposed to colour the usernames (Now)
Before, it coloured the messages, but it was ugly and hard to read.
11:01
Yep, we're both red now
Golden.
I wonder why nobody answered this question
(well, next to nobody)
Anonymous
@ATaco Wait... So you have a userscript that colors usernames red and blue?
Yeah.
And arbitrarily gives points to the teams, based on how often they chat and how many stars they get.
Anonymous
So you don't see any potential problems with blue usernames?
11:03
I had no idea what blue usernames meant before anyway, Only itallics.
Anonymous
The userscript makes it impossible to tell which one
It's Feersum.
We know who it is though
EZPZ
11:04
Wait, where is the coloring based?
Anonymous
A blue/red square to the left of the username would be much better
Gosh, but then I need to insert, instead of just change the css for an element...
To the right is better I think.
I'll probably do a bit of work to make it a square.
But consider: It's much better looking now.
Anonymous
@EriktheOutgolfer That would mess with the username shortening
11:10
@Mego I think that moving the username left a bit (I don't think it would ever get off the border) and then adding a red or blue filled star between the name and the avatar would be better than a square on the left of the username. And no, it would be done in a way that doesn't mess up with shortening.
That's a lot of effort for a script with little to no practical purpose.
But, it's on github, if you personally feel like editing it. I'm going to bed however.
Yeah I suppose if only for one challenge, but what if it was extended to support an arbitrary number of KOTHs?
11:39
Wait, github.com stopped working.
Phew finally... let's see what we've got here.
@Mego This is actually way better than before.
Anonymous
@EriktheOutgolfer That was the hope :)
Anonymous
It would be nice if we didn't need a Chatiquette and people could just get along and not be obnoxious, but unfortunately we don't live in that kind of unicorns-and-rainbows world
I'm not that big a fan of the no-stream-of-consciousness rule
11:49
I am that big a fan of the no-stream-of-consciousness rule, since off-topic streams of consciousness may disrupt on-topic conversations.
Okx
Okx
Is there supposed to be a > at the start of the Programming Puzzles & Code Golf on the homepage?
Huh? I don't think so. Any snapshot?
Okx
Okx
if you've got the userscript on, turn it off, and look about the top left on the homepage
It just appeared. I didn't have it and it turned up when I refreshed
Anonymous
@JanDvorak If I remember correctly from our last discussion, your objection was that streams of consciousness could be amusing or turn into discussions. That rule was written to combat situations where users continually dump their thoughts and actions into chat, oblivious to the fact that nobody else is interested.
11:51
Lol who put that there?!?
Anonymous
I saw it for a split second before the userscript kicked in
Anonymous
Quickly, to Mother Meta!
Okx
Okx
Are SE trying to make a design for us and they screwed up? :P
Uhh.... yeah I came here because I also noticed the >
@Mego Okx should post that.
Since he "gets the honor" to :)
Okx
Okx
11:53
uh, well, i gtg soon, so i'll post it in a couple hours
@Mego understood. Should the distinction be reflected in the rule wording?
In that case... someone else can post it.
It appears in Vegetarianism as well, so it's not a PPCG-only issue.
Anonymous
0
Q: Why is there a greater-than symbol in PPCG's name?

Mego I'm relatively certain that's not supposed to be there.

Pretty sure it's step one of the design. The rest should be here around the start of November.
11:55
1 byte at a time :)
Anonymous
It's all sites without custom designs
Anonymous
@Geobits Beat you to it :P
@Geobits November of what year?
@EriktheOutgolfer Why bother with the details?
Anonymous
@EriktheOutgolfer One of them.
11:58
3
Q: We've written a new Chatiquette, and we want your feedback!

MegoAs previously noted, the current Chatiquette for The Nineteenth Byte is ineffective. Hence, the room owners have been working on a revised Chatiquette to address the concerns of the community. Our goal in making these revisions was not to add stricter rules. Rather, our goal was to have better b...

@NewMetaPosts That was quick!
NMP needs a therapist
@Geobits Let's think about it for a second...
I'd rather not.
Anonymous
1
A: Why is there a greater-than symbol on sites without a custom design?

OdedWhoops. An extra > slipped into the markup. Fix pushed and being deployed.

12:01
I guess we'd get rid of it in 6-8 weeks from now.
Anonymous
RIP the giant > symbol, 2017-2017
10
Tragic
Anonymous
Just when we thought we might be getting our design...
I don't think designs are coming like this, I think they come suddenly without any previous side-effect.
The > actually feels not-entirely-irrelevant to programming.
A great april-fools troll would be to make a meta announcement for design feedback.
12:06
I'm really disappointed they didn't do that.
Anonymous
@Geobits Wouldn't want them stealing your thunder :P
Anonymous
Actually Geobits I'm surprised you didn't make a fake meta announcement for design feedback
I have enough thunder to share :D
It wouldn't be the same coming from me.
Anonymous
But a lot of people would read through it without even noticing that you posted it and not a CM
True...
Well there's always next year :P
Anonymous
12:08
If When we don't have a design next year, you can do that :P
Anonymous
We can surreptitiously remove these messages to keep the surprise
This question is really easier than it seems. I wonder why there are only 4 answers (and I contributed to half of them).
CMC: prepend "> " to given string
Jelly, 4 bytes: ⁾> ;
Anonymous
12:22
@LeakyNun Actually, 5 bytes: "> "+
Brachylog, 7 bytes: :"> "↔c
@Fatalize that's long
@LeakyNun The specs are so long that I have a hard time believing your solution is correct
@Fatalize that happens. that said, do you think you can golf it down?
Perl, 7 bytes: s//> /
12:24
@LeakyNun GolfScript, 5 bytes: "> "\ (trailing newline).
Well it's already only 5 bytes I doubt it…
@EriktheOutgolfer without trailing newline, 7 bytes: :n;"> "
Oh, nevermind, Perl, 6 bytes: s;;>
(for those wondering, "without trailing newline" is the name of my new language /s)
Oh, so you made a new GolfScript version. Great!
12:26
I put together my new desk
finally I have some room
@Fatalize The question is so easy that I have a hard time believing there are so few answers.
@Fatalize The is really annoying (although I'm the one who requested it)
The problem is that the output of ≠ is the input
@orlp nice
Brachylog-biased CMC: given string s, find maximal subsequence (not necessarily contiguous) which is a palindrome. E.g. "abcbda" gives "abcba"
3 bytes: well…
12:31
@Fatalize It's called "Brachylog-biased" for a reason
@LeakyNun How do you find Brachylog's code page btw? More readable or less readable than when it used ASCII?
@LeakyNun lambda s:"> "+s
@Fatalize well, I need to cope with the changed predicate names, but I think the new names are better.
@orlp 1) This isn't the current CMC anymore 2) You haven't specified language and bytecount.
So you have to reply to the CMC's message.
12:34
@EriktheOutgolfer come on
Well good then, because I built that code-page specifically so that it is more readable
(and slightly shorter on occasion)
@EriktheOutgolfer Brain-Flak, 34 + 3 (-c) = 37 bytes: ((((((()()()()){}){}){})){}[()()])
@Fatalize but the change from , to really got me
especially when the comma is still documented in the same paragraph
(is that a typo?)
Does GitHub work for you?
@LeakyNun What? Where?
@LeakyNun ->x{x.length.downto(0){|l|x.chars.combination(l).find{|c|c==c.reverse}&.tap{|c|‌​return c.join}}}
12:37
@EriktheOutgolfer what do you mean?
@LeakyNun I don't see where there's something about the comma though?
@LeakyNun When I try to load GitHub it appears as a blank page. Some extension or cookie is causing it.
@Fatalize read closer
@EriktheOutgolfer it works for me
… I will never write "the comma" or any symbol name ever again
Yeah, I didn't install any extension recently.
12:39
@Fatalize lol
@EriktheOutgolfer 1) no one cares 2) no one cares
@EriktheOutgolfer try using the safe mode
sorry but CMC is just a bit of informal fun no need to strictly enforce formats and what not
Yeah I did I'm searching what extension might be causing it...
@DJMcMayhem when you come back: we might want to add some Brain-Flak numbers on your github page?
@JanDvorak eh, what language is this?
12:40
Ruby
@EriktheOutgolfer I'm sorry if this sounds mean, but are you usually this pedantic?
s/length/size/; saves two bytes
The APL Problem Solving Competition 2017 is up. Will I see you in Elsinore?
@Qwerp-Derp Pedantic? Sorry if I seem like that.
@Adám Just curious, how long have you been coding in APL?
12:44
@EriktheOutgolfer Apparently it was some tz cookie doing it.
@JanDvorak does Ruby have balancing groups?
@Qwerp-Derp I started with APL as a small child, so I think in APL like a natural language.
Do you mean that less readable alternative to Ruby's recursive groups?
I don't know
@Qwerp-Derp Professionally, only for a couple of years.
12:46
APL seems like a weird language to me (my first programming language was Python)
I think it's mainly due to the symbols
@JanDvorak I see
@APL The one thing I'm curious about APL is what how fast it is.
@Qwerp-Derp Attended my first APL conference just before turning 2, as a UI tester, but got drunk on laced OJ...
@Qwerp-Derp Depends. Sometimes faster than hand-coded C. This is of course impossible, as Dyalog APL is implemented in C.
@Qwerp-Derp The thing is, APL allows mere humans to write optimal algorithms that it would be practically impossible to write in C.
12:49
Silly Ruby question: What's a golfy to say: if condition then (run code) else (run other code) such that Ruby won't run both branches?
@orlp does something like "> ".__add__ work?
foo?bar:baz
@LeakyNun try it! (yes)
@orlp is it shorter or longer?
>>> ("> ".__add__)("test")
'> test'

>>> len('"> ".__add__')
12

>>> len('lambda s:"> "+s')
15
12:51
@JanDvorak Ah, I think my error lies elsewhere then. Thanks
@orlp so did I just outgolf you?
yes
@Sherlock9 it's in here
@orlp but that's impossible
@Sherlock9 you might need extra spaces, otherwise it might think that you mean foo? bar :baz
@JanDvorak what's the difference?
12:52
@Qwerp-Derp We are always working on speeding things up, though. Often we can recognise APL patterns that lets us do things in a more efficient manner. The interpreter has build-in run-time compilation and hash-table abilities. Co-dfns allows compiling a subset of APL to C.
@JanDvorak No, it's in the (run other code) part, I think
@Qwerp-Derp Does mathematics also seem weird to you due to its symbols?
@LeakyNun foo? bar :baz calls the method bar with the argument :baz' then passes the result to the method foo?.
APL is a programming language
@Sherlock9 why don't you just give us your entire code?
@JanDvorak that's....
12:53
@Adam Eh, it's just APL. It just feels really separated from other programming languages.
@orlp Uh, yes it is. So?
if you add spaces you get a ternary
CMC: predecessor in lambda calculus (0 maps to 0)
@Adám it's a name joke
12:54
@Sherlock9 what is it supposed to give?
@orlp Aaaaah I see what you did there
.code.tio:1:in `block in <main>': undefined local variable or method `r' for main:Object (NameError)
Did you mean?  r
	from .code.tio:3:in `<main>'
:baz is a symbol literal. foo? should return a bool given its name.
Divisor tree
@Sherlock9 see the debug
12:54
The debug doesn't make sense
That's why I'm asking
@EriktheOutgolfer very funny
Yeah, but after that I saw (0 maps to 0).
@Qwerp-Derp Then you are thinking about it from the wrong side: Other languages were build on top of lower level languages (beginning with machine code). APL was designed top-down, beginning with math. It is basically a generalised, un-ambigous, extended math which happens to be machine-executable.
@EriktheOutgolfer for one, lambda calculus does not have a minus sign.
Didn't know you could have default arguments in lambda expressions...
12:55
What 0 maps to is irrelevant.
@Adám Hmmm, that's a good way to think about it
@JanDvorak Yeah, found out recently
What you can't have are capital letters as argument names, because you can't use constants for arguments
@Sherlock9 FTFY
you referenced a function before it is defined
@orlp very funny
@LeakyNun I mean you can't really 'golf' basic things in the lambda calculus
12:58
@LeakyNun But is that golfy?
and you can't really golf non-basic things in the lambda calculus because I'd rather write an operating system in brainfuck
@Sherlock9 no, but that fixes the problem
@orlp I agree.
@orlp Actually, when Iverson's notation was first made machine executable, they needed a name for it. Until they could come up with a proper name, they gave it a placeholder name after the initials in Iverson's book A Programming Language.
Sigh. Okay, that'll work for now
I split into two functions for convenience anyway. I can rejoin them later
12:59
@JanDvorak what do you think?
@Adám hence the joke :)
@LeakyNun want to divide?
@Sherlock9 you can do r=1
@orlp I've read the wiki before.

« first day (2279 days earlier)      last day (2861 days later) »