« first day (2180 days earlier)      last day (2664 days later) » 

12:00 AM
I like valve a lot but I feel like their best days are (sadly) behind them.
 
I got a perfect score on USACO gold! I totally did not expect that at all.
 
@Dennis woohoo! \o/
 
You might be thinking of my Overwatch rant
 
12:06 AM
@Dennis lel @flawr finally happened
 
People aren't voting for KNOT or NOT? For shame.
 
@quartata knot yet, anyways
6
 
>_>
 
And no votes on primo's HW?!!
I thought that was a windmill slam first pick for sure
 
Easy, it's only been 15 minutes.
 
12:15 AM
I know, but still...
 
I know it's only been 15 minutes, but I'm really happy most of my nominations are doing very well so far. :D
 
12:38 AM
no one nominated any of my answers ;(
@MartinEnder btw if you didn't see the tas block section, they first execute a total control hack in zelda, then stream video through controller inputs
 
:( no award for me this year
 
@Doorknob Congrats!
 
that's okay though, I didn't really write very many answers
 
I'm making a Gif export library for Lua.
I've discovered that trying to write \n to a file through lua conveniently inserts a \r before it.
Which means I can't store GIFs of size 10x10
Oh, I can put a b in the mode string for it to consider it binary.
 
@DJMcMayhem I feel like what's happened more is that they've shifted from making games to maintaining them and, primarily, working on Steam.
I don't think they've produced an original game that isn't in a pre-existing series for a while.
 
12:53 AM
@ATaco welcome to binary vs text mode :)
 
Actually, have they produced a game recently at all?
 
All this because I can't natively export GIFs in LÖVE2D
 
@Dennis out of curiousity, do you remember what the different locks do?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Content dispute prevents editing, Offtopic comments prevents adding more comments, Historical significance prevents everything, and Wiki Answer prevents adding new answers (though preexisting answers can be edited).
 
@El'endiaStarman "We used to make games, now we make money." - Valve
 
12:58 AM
Gosh Darnit, Gif actually uses some compression. Now I need to re-write that compression...
 
@El'endiaStarman ah, okay
thanks
 
@ATaco I wrote a gif-rendering function for VarLife, so I have a bit of experience there.
 
@ATaco I think you mean 'implement'
 
@Dennis d` for constant [1, 0] in Jelly is really pretty~
 
My Hero
 
1:00 AM
Uncompressed gifs are massive, though.
 
Hmm, Goood point.
I wonder if someone's written a library for it...
 
@Lynn I'm quite fond of that one myself. :)
 
@Lynn I'm confused
what do you mean
 
2
A: Primes with prime bit-counts

DennisJelly, 14 13 bytes RBċþd`ÆPPTfÆR Try it online! How it works RBċþd`ÆPPTfÆR Main link. Argument: n R Range; yield [1, ..., n]. B Binary; convert each integer to base 2. d` Divmod self; yield [n : n, n % n], i.e., [1, 0]. ċþ Count table; coun...

 
ah
maybe one day I'll wrap my mind around tacit programming
 
1:08 AM
@ATaco This is in Python but it might help you.
 
I'm just re-writing it from the specs.
Yes, not implementing it.
 
I just implemented addition for Sushi. Let me tell you, this is the last time I'm writing an interpreter in Java.
    private static void add() {
        Stacks s=Sushi.stacks;
        Object a=s.pop();
        Object b=s.pop();
        if(a instanceof BigDecimal) {
            if(b instanceof BigDecimal) {
                s.push(((BigDecimal) a).add((BigDecimal) b));
            }
            else if(b instanceof String) {
                s.push(a.toString()+b);
            }
        }
        else if(a instanceof String) {
            if(b instanceof String) {
                s.push((String)a+b);
            }
 
1:23 AM
It should have been Sushi.stacks.push(sushi.stacks.pop()+sushi.stacks.pop());
But NOOOOOOOOO
 
I mean it isn't something that's well suited to any statically-typed language.
But it would be so much nicer if you just subclassed all these types and made your own .add in each.
Then it's just simple polymorphism: sushi.stacks.pop().add(sushi.stacks.pop())
 
Then I have to write a class that can be a String or a BigDecimal. I can't inherit methods from either, which means I have to copy over a ton of methods that are otherwise builtin.
 
Why would you have to write a class like that?
public class SushiString extends String implements SushiType, public class SushiInteger extends BigInteger implements SushiType
Stack<SushiType>
 
String and BigDecimal are both final.
You can't extend them.
 
Then just make them members.
public class SushiString extends SushiType { String x ... }
 
1:31 AM
Ultimatly, thad offloads the add function from the main body of the interpreter to its own class, but with some extra complication built in.
 
yeah, but it's cleaner
 
It's better, but it's still awful. Never again.
 
But it means that each type has its own add function and you don't ever have to do any instanceof or casting.
I can't think of anything better in a statically typed language.
As icing on the cake Java 8 has optional methods for interfaces so that way you wouldn't have to override methods for types that don't support an operation
 
2:00 AM
0
A: Sandbox for Proposed Challenges

Matthew Roh[please suggest a name] code-golf Mark got an idea of making a path finding algorithm for auto driving vehicles. Unfortunately, Mark doesn't yet know about programming, so he decided to get help from the code golfers. How should it work? First, we input how many 'nodes' there are. we call ...

 
@NewSandboxedPosts Wasn't this person's account previously deleted?
 
@quartata Yeah, they said in their challenge yesterday that their account was deleted because they were underage.
 
@quartata for violating the age restriction, but now he's 13.
 
OK.
 
13 hours ago, by New Main Posts
0
Q: Matthew's return to PPCG

Matthew RohOnce upon a time, There was a lord of legendary questions, named Matthew (yep, thats me, and some of you may know me). Unfortunately, he was previously kicked out from PPCG because the lord of StackExchange, used "age restriction" on him. Now, he(I) is back, and about to give you a code golf qu...

Oh, he deleted that question 30 minutes ago. It got down to -15. :P
 
2:04 AM
why? i haven't read it
ok that's a bad challenge yeah
 
What does it say?
 
TL;DR: output every number squared from 1 to N
 
without using multiplication or power
 
That seems... reasonable.
What's bad about it?
 
2:07 AM
Do x without y?
 
X without Y-
That.
 
Ok, "Do X without Y" isn't all that great, but -15?
 
We're pretty sick of X without Y it seems.
There's not a whole lot of challenge to that question.
 
Also the backstory didn't help
 
We need a shorter way to say that.
DXWY
 
2:08 AM
DixyWHY
Speak of the Devil?
 
@Pavel Typically, if it gets downvoted that much, there's something else that people also really don't like.
In this case, for example:
> Once upon a time, There was a lord of legendary questions, named Matthew (yep, thats me, and some of you may know me).
That reeks of ego.
 
for i=1, 10 do
	local a = 0
	for c=1, i do
		a = a + i
	end
	print(a)
end
Basic solution.
(Assuming N = 10)
 
@El'endiaStarman To be fair, the challenge wouldn't have any better without that part. I have no idea what we were supposed to do.
 
@Dennis Yeah, the challenge itself isn't good. I'm saying that it got as low as -15 because of other factors in addition to that issue.
 
That makes sense.
 
2:11 AM
Challenges that are simply bad usually just go down to like -4 to -6 at worst.
 
With a record-breaking, undeleted -22.
 
@ais523 yes. Any ES5 JavaScript implementation
 
That'd kind of hurt though, -15 is a hell of a negative response.
 
Can anyone link the -22?
 
-22
Q: Reverse a 1-dimensional array

Erik the OutgolferNote: This challenge is not the same. Challenge Believe it or not, we haven't got ONE challenge for reversing one-dimensional arrays (although we've got one for n-dimensional ones)! This should operate only on the 1st dimension, not on all dimensions of an array. Rules Standard loopholes are...

 
2:15 AM
Ouch.
It's not even that particularly bad of a challenge.
 
Not sure if -22 -23 bad, but it's pretty bad.
And -22 again. Someone cannot make up their mind. :P
 
I down voted, then realized everyone else having done so is a terrible reason to down vote.
 
Although an incredibly simple one.
 
It's really tempting to vote down though.
Add two numbers has a positive score
 
Use you're better judgement when it comes to downvoting, remember, it costs you a rep!
 
2:20 AM
It's really simple: Would you downvote the challenge if it had a score of 0? If yes, downvote. If no, don't.
 
Apparently there was a really shitty IO requirement before the author fixed it.
 
It's still got some bad IO.
Disallowing Hard-coding is just plain rude.
 
Hard coding is never an allowed Io method
 
In some languages, it's the only method.
 
Well, not never, but it's disallowed by default.
 
2:24 AM
Oh right, ///
 
There's an exception for languages that cannot take input. That said, I'm not sure why editors would be programming languages.
 
VIM
Someone decided to make VIM TC for reasons.
 
Every editor with regular expressions fits our definition of programming language. It feels odd though.
 
Also ///
 
Well, people make vim submissions all the time
Though V is more popular now.
 
2:29 AM
Vim doesn't need hardcoding
 
Although the source code for VIM can less be considered the contents of the page more the buttons pressed, so it's not hardcoding.
But /// does require hardcoding.
 
Would it be that hard to just take implicit input?
 
That defeats the purpose of ///.
 
Really?
 
If you have a read of it, you'll see that /// is a language which starts and finishes at self modifications.
 
2:32 AM
Isn't input just hardcoded at the start of the program anyway?
 
Pretty sure we're talking about hardcoding.
 
Hello
I need halp with linking Processing files
 
@ATaco vim can take input. Also, no one made it TC except for the developers of vim.
 
That IS that someone.
And I am aware, I corrected myself in regards to calling VIM hardcoded only.
 
2:38 AM
Yeah, but you said it like TC was just arbitrarily tacked on
 
Regardless of if it was intentional or not, it's not normally the primary selling factor of a text editor.
 
No love for emacs lisp?
 
I have successfully exported a gif.
My knowledge of GIFs have both enlightened and saddened me greatly.
 
@ATaco Huzzah! I remember being so elated when I succeeded at like 6am...
 
2:53 AM
0
A: Sandbox for Proposed Challenges

Super ChafouinDisplay OEIS sequences The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It contains nearly 280000 sequences of mathematical interest. Examples of sequences: positive integers (A000027) prime numbers (A000040) Fibonacci numbers (A000045) Your...

 
@ATaco Hey, me too! There was actually a small error that I emailed the author about. I'm not sure if it's been fixed.
 
Oh god, What was the error?
I've still not implemented the LZW, so I kind of just used their prefilled Data.
 
IIRC it had something to do with how the bit chunk size increases during LZW encoding.
 
Oh Lawdy
 
Yeah. That was a frustrating couple of hours.
 
2:58 AM
user image
3
looks like a great map, just unplayable
 
@NathanMerrill ...is that @Number1?
 
lol
I didn't see that
 
Is this Factorio?
 
yeah
no way, it just happened again
I just spawned in the middle of another lake
 
3:21 AM
all of you guys should try infinifactory
 
And spacechem
 
spacechem is fun
but honestly
infinifactory is way better
3 dimensions just allows so much more creativity
 
Are any of the above f2p?
 
@Pavel Unfortunately not. Spacechem is not terribly expensive but Infinifactory has quite a price tag. Both are certainly worth it imo
Space chem is $10 and Infinifactory is $25
 
3:38 AM
Factorio?
Seems I'm going to have to hold out, unfortunately.
 
@Pavel I don't know about factorio
 
Linux question: How come nautilus forks and you can still use your terminal, but neither sudo nautilus nor sudo nautilus && disown forks?
 
Non-answer, but you should probably use gksudo nautilus anyway.
Using sudo with graphical applications can leave your system in an unbootable state.
Also, sudo nautilus && disown can't possibly fork if sudo nautilus doesn't; disown gets executed when (and if) sudo nautilus finishes successfully.
 
3:56 AM
@Dennis Oh yeah, I forgot about gksudo! Thanks, that solved it
 
4:17 AM
@DJMcMayhem try chmod -R 777 /usr/bin to give applicable permissions to commands
 
@Downgoat Um, this isn't how you screwed it up last time, is it?
 
@El'endiaStarman No that was chown -R $(whoami) /usr/bin
 
Ah, I see.
 
@Downgoat I'll pass
 
@NathanMerrill best luck ever
 
4:51 AM
@DJMcMayhem ok. Instead how about try scp -r ~/.ssh ftp://guest@vihan.org
 
I'm fairly certain scp will refuse to.make FTP transfers.
 
 
1 hour later…
Anonymous
6:18 AM
Voting for the best-of nominees was hard... I had to restrain myself from voting for all of the nominees on several categories. We really have a great selection this year.
 
7:07 AM
I got the image data of the gif itself working, today is a good day
If anyone wants an undocumented Lua lib for writing gigs, hit me up
 
@orlp yeah I did see the TASBot segment
 
0
Q: pythonic way to create subarray of elements from an array satisfying a given property in numpy?

KevinI have an array of values like dats = np.array([[r1,x1,y1],[r2,x2,y2],...,[rn,xn,yn] and I want to make a subarray of dats which has elements [r,x,y] such that the points [x,y] lies within a radius R around another point [xp,yp]. A solution is import numpy as np def dats_within_radius(R,x,...

 
7:37 AM
0
A: Sandbox for Proposed Challenges

CryptoFind B1nar0 Solutions B1nar0 puzzle is a paper and pencil game with 0 and 1. The goal is to fill the grid accoring to 3 rules : No more than 2 consecutive 0s or 1s Each row/column has half 0s and half 1s No identical row/columns Example : [ A is 0 according to rule 1 B is 1 according to r...

 
8:01 AM
Hello?
@KritixiLithos Are you on?
 
8:21 AM
Dammit
 
8:39 AM
Argh the current Processing highlighter is pretty bad I have to make a new one
Hello?
 
Hi.
 
9:29 AM
0
A: Sandbox for Proposed Challenges

busukxuanIs it a shorthand? Everyone knows what a shorthand is, but for the sake of simplicity, as far as this challenge is concerned, a shorthand is a string, of which the order of characters is the same as that of a longer string. For example ace, act, cne, aoe, tn are all shorthands of acetone aec,...

0
A: Sandbox for Proposed Challenges

Hristiyan DodovDot matrix number visualization Your task is to make a program that takes a number as input and outputs it as a wall of characters with spaces. The digits should be written like this: 1 222 333 4 55555 666 77777 888 999 000 11 2 2 3 3 44 5 6 6 7 8 8 9 ...

 
9:40 AM
hello!
 
@EᴀsᴛᴇʀʟʏIʀᴋ I'm too late now, none of my suggestions are going to succeed :/
 
 
3 hours later…
12:17 PM
Is anyone on?
What this is crazy no one's been on this chat for three hours
 
@Qwerp-Derp I'm on
just didn't post
 
Oh
Kule
@TrojanByAccident Do you know Processing?
Cause I need some help with Processing stuff
 
We don't make random posts just because we're present :)
6
 
@Qwerp-Derp Is it a language?
 
@TrojanByAccident Yup
I'm guessing the answer is no then
@trichoplax True that
 
12:19 PM
I can learn it quickly, then
 
I don't know Processing either. Which one are you using?
 
@trichoplax What do you mean?
If you mean "what version" then 3.2.3
 
I mean are you using the Java version, or one of the alternatives like .js or .py
 
@trichoplax The java version
And I'm using Sublime for it because the original Processing IDE is pretty bad
 
I know nothing about it, but I do have the Wikipedia page open
 
12:22 PM
Interesting
Sublime seems to be more useful than Atom
is it Hackable?
 
@TrojanByAccident Sublime is pretty hackable
But not as hackable as Atom
 
@Qwerp-Derp reminder
 
I use Atom for JS stuff, I'm using Sublime for Processing for some reason though, probably because the Processing support in Sublime is better IMO
 
@Qwerp-Derp Can I define my own language syntax in it?
 
12:24 PM
@Doorknob What message is that to? I can't scroll that far up :(
@TrojanByAccident I think so, but you need to know XML for syntax highlighting
In Atom it's much easier
 
7 mins ago, by Qwerp-Derp
Is anyone on?
@Qwerp-Derp K, I can learn that then
 
@Doorknob Oh yeah that one, I can't help it though, I'm used to posting that sort of message
I don't think it's necessarily noise though, I want to speak to someone and it's my way of expressing that
What else can I do, I'm impatient (I probably need to change that)
 
@Qwerp-Derp You can click the reply arrow to jump to it. It's really collectively addressed to your past 4 or 5 or so messages before that one, which were mostly all similar.
 
I can't access processing.org for some reason :/
Is it just me, or is it not working for you guys as well?
 
@Doorknob OK, I'll try to change that, but it's going to take a while
 
12:26 PM
@TrojanByAccident It's working here
 
@TrojanByAccident Ditto to trichoplax
 
@Qwerp-Derp If you tend to be impatient, it might help to think this way: simply asking your question is quicker than checking if anyone is present first, and will still lead to you finding out.
 
@trichoplax True, but I feel like it's easier for me to ask questions when someone who knows about the problem is here as well
Cause they can see the question more easily
 
The thing is that most of the time someone who knows about the problem isn't here
 
12:31 PM
Yeah, that's true
 
So by asking "Is anyone here" and not your question directly you actually make it harder for them to see the question
 
Ah
Processing question: I have a file structure like this:
 
You could just start with "Does anyone know Processing?" That way you get an immediate response if someone is around who does, and if not you might get a ping later when someone sees it.
 
Better yet, just start with the actual question.
3
 
sketch
  - sketch.pde
other
  - test.pde
 
Anonymous
12:33 PM
And it's been explained many many many many many times - chat is asynchronous. Just because nobody is around when you have a question doesn't mean nobody will ever answer it.
 
How do I do the import statement on sketch.pde so that I can get stuff from test.pde?
OK there's my question
It helps that Processing is really similar to Java
At least the Java version that is
 
Anonymous
Don't ask to ask - just ask.
 
Anonymous
One of the SO rooms has/had a bot that would tell new people that when they entered the room.
 
Mmhmm
And all of a sudden everyone's on! Neato burrito.
TBH I forgot about the question when I typed "Is anyone on", I just wanted someone to chat to
 
@Mego seems rather counterproductive to me... while it potentially prevents one message, it is itself a message that takes up the same amount of space
 
12:37 PM
SO has a processing tag
 
Anonymous
@Doorknob I believe it had a timeout, so it would wait like 15 minutes before reminding people to just ask. I wasn't around when the bot was active - I just saw the unpleasantness on Mother Meta when it got banned.
 
@Mego I personally know that JavaScript has Caprica Six, who replies to users that have never posted in the room before, and links them to guidelines and such
 
What's Infinifactory about?
 
Anonymous
@TrojanByAccident That may be what I'm remembering
 
Infinifactory is a puzzle video game developed and published by Zachtronics Industries, released on June 30, 2015. The game was later released on PlayStation 4 in December 2015. In the game, the player takes the role of a human abducted by aliens and forced to construct assembly lines to create certain objects for apparently-nefarious purposes. The game combines elements of Zachtronics' previous SpaceChem and Infiniminer, with the assembly lines being built from blocks in a three-dimensional space. == Gameplay == Infinifactory is a puzzle game, structured as several sets of puzzles based on various...
 
12:43 PM
@trichoplax That is in no way useful I want a first-hand opinion
 
@Qwerp-Derp You asked the wrong question then - try asking for a review...
 
Actually it's pretty useful
 
(I haven't played it or I'd have included my opinion)
 
1:30 PM
Anyone here know a good bf tutorial?
 
What do you mean? Learning BF is trivial, it's mainly coming up with algorithms that fit the memory model. I don't know if tutorials are the right way to learn that, if such a thing even exists.
 
1:44 PM
am I the only one that dislikes golfing languages in the context of cops & robbers?
happens way too often that some answer slips by because no one can be bothered to learn the language
 
Thanks to a Physics.SE question, I just found out about the Cubli.
 
Oh that is cool
 
Anonymous
@El'endiaStarman Voodoo
 
Anonymous
@orlp That's not limited to golfing languages, though. An answer in any esolang (and even some exolangs) could potentially slip through the cracks.
 
2:00 PM
@El'endiaStarman I saw that about an hour ago
 
2:10 PM
@Mego I haven't heard "exolang" before. Does that mean a language which is "out", "unhidden" as opposed to esoteric languages which are less known?
 
@Qwerp-Derp You don't need to have an import statement to get stuff from test.pde (if it one is a class and the other is the actual sketch, but both are .pdes). At least I think that's what you mean
 
@orlp I prefer an answer in an obscure esolang than an answer that requires bruteforce to find a number
 
I agree with ^. Bruteforce takes the fun out of CnR challenges
 
Anonymous
@trichoplax It's a portmanteau of exoteric (the opposite of esoteric) and language, like esolang is a portmanteau of esoteric and language.
 
Anonymous
I don't know that it's widely used - I just came up with it now because I didn't feel like typing mainstream language
 
2:18 PM
Ah I see - exoteric is new to me today as well...
I like it. I think we should adopt it as a new word.
 
Yay!
 
hi
i'm ready for my nap
 
what time zone are you in I just woke up here
 
Hello
 
2:29 PM
SE chat needs a small world-clock thing. Like -8/UTC/+8
 
i just woke up, too
 
then I think you'll be ok
 
@mınxomaτ UGT works fine
 
> Your ass will be laminated. (geoman is exception to this rule - his ass will be fried instead).
ok then
 
that's honestly the best part
 
2:36 PM
> The idea behind establishing this convention was to eliminate noise generated almost every time someone comes in and greets using some form of day-time based greeting, and then channel members on the other side of the globe start pointing out that it's different time of the day for them.
sounds like a good idea
 
0
A: Sandbox for Proposed Challenges

BlacksilverEmulate an RPN calculator. Your calculator must do: Simple math +-*/ Simple trig sin cos tan Less simple math sqrt ^ You may use your local math library at no cost; e.g., #include <math.h> or import math as m does not count towards your byte count. So, When I run your program with nothing o...

 
@El'endiaStarman brb convincing lead software dev to code itin cubix
 
@Mego I don't think that "exoteric" is something known by most of the population, so really, he is (and I am) one of today's lucky 100,000,000 or something. :P
@EᴀsᴛᴇʀʟʏIʀᴋ Where's that quote from?
 
2:52 PM
18 mins ago, by TrojanByAccident
@mınxomaτ UGT works fine
UGT is an IRC convention of just assuming it's morning and night for everybody when somebody says hello/goodbye
 
Anonymous
@El'endiaStarman :P
 
Anonymous
It's a bit funny that exoteric is a more esoteric word than esoteric
7
 
Hey can anyone point me to a meta post that specifies the criteria for a new language? I've been working on one this week
 
43
Q: What are programming languages?

Ingo BürkOften, answers to questions asking for "programs" or talking about "programming languages" utilize things like sed, awk, … in order to get around having to write an actual shell script. Therefore, a question comes to my mind: What qualifies as a programming language? Sure, ultimately the OP ca...

 
Awesome, thanks
 

« first day (2180 days earlier)      last day (2664 days later) »