« first day (2194 days earlier)      last day (2945 days later) » 
00:00 - 18:0018:00 - 00:00

00:00
@Riker So far, we've only used pins for official site business.
> Fission: Serverless Functions as a Service for Kubernetes
I'm officially too old for current "hip" development stuff. I have no idea what that even means.
Not with &&
What is pythons version of &&?
@ChristopherPeart "and"
00:08
really?
@Dennis true
Actually, almost none of that is valid Python
no braces
use colons to start blocks
I hope you don't mind me asking, but why did you choose Python?
00:09
also python doesn't have any entrypoint like java or c
yeah don't use python if you don't know python
you take args with sys.argv
just write in another lang you know
-1
Q: How to master Laravel programming?

dhinzaI am a university student and interested in laravel programming. please give me motivation to code it well

he has more problems than asking on the wrong site
he's using PHP
00:17
I understand how a name like Programming Puzzles & Code Golf could be confusing. But Movies & TV?
ikr
@Dennis "oh i see an ask quesiton button. whoops i clicked on an hnq but didn't really understna what happened. the ask question button is still here..."
maybe?
Actually, something similar has happened to me once. I navigated away from PPCG and got to another SE site with a strikingly similar design (shocking, I know). I came rather close to tell someone about objective winning criteria before I noticed where I were.
lel
which site?
I don't remember. Was a long time ago.
00:22
ah ok
So I went and did the codeacademy tutorial on python and then I started my lang. A lot of the stuff you mentioned was not covered. Where should I look to actually learn that stuff
?
uh
continue the tutorial
it should be all in there
maybe not sys.argv, but that might be in there
youtube.com/watch?v=5m1nRIRfe00 Taking a break before returning to python
 
1 hour later…
01:35
Any issues with meta.codegolf.stackexchange.com/a/11380/60042? I think I'll post it later today.
02:05
0
A: Sandbox for Proposed Challenges

SoniEx2Smaller stack in stack in Lua I have a stack on the Lua call stack. It looks like this: local function callstack() local function f(v) local op, nv = coroutine.yield() while true do if op == "push" then op, nv = coroutine.yield(f(nv)) elseif op == "pop" then ...

 
2 hours later…
04:07
I'm trying epicmafia but the ui makes no sense
Stick with ToS, it's fun
Epic mafia looks like it would be fun if the ui wasn't so confusing
RProgN is Consistantly OK.
For the Unicorn Challenge, it scores 25. Which is a comfy second place.
Sure it halfed Third Place, but First place destroys it.
04:28
Threead just sort of stopped being a thing?
Threead is still a thing.
It's just that I haven't changed anything in a while.
Question: how do you write to a file from bash?
04:48
I may be an idiot, but can't you just pipe it to a file?
04:58
@ATaco I'm a Linux noob, how do you do that?
Not a darn clue, sorry.
Hint the pipe character is |
So, foobar | file.txt?
Uh, not quite
If foobar is a program, you want foobar > file.txt
If you are piping one program into another you do foobar1 | foobar 2
No, foobar is text.
05:00
(I think, I'm not a bash expert)
Oh. That's easy. Just echo foobar > file.txt
Or even better (vi|vim|emacs|nano|gedit) file.txt
Does the echo method overwrite the file or append to the end?
Test it.
Get creative, what do you have to lose?
Overwrite. That's because of the > not because of echo
>> is append
@ATaco |, >, >> are all new to me. I can't really test with tools I don't know I have.
See, I just installed Ubuntu today
Everything has been going great, except it took a whole 10 minutes for one of my projects to have a dependency in /home/Pavel/Downloads/
The version of Java that sudo apt-get install openjdk-9-jdk-headless gave me didn't seem to work with IntelliJ, so I grabbed it from the website and promptly extracted it to Downloads since I still don't know where it should go.
I don't have Linux installed anywhere.
Turns out "Hello, World! works in RProgN, I assumed it needed Matching Quotes, even though I wrote it.
05:19
Not requiring matching quotes is golfier
I never intentionally added it.
It just kind of, works.
Oh, neat
Anonymous
A quick *NIX primer: a | b pipes STDOUT of a into STDIN of b. a > b writes from STDOUT of a into a file named b, overwriting the file if it already exists. a >> b is the same, except it appends to b instead of overwriting.
Anonymous
a < b reads the contents of b into STDIN of a
So, reverse pipe.
Anonymous
05:29
Not quite
eh?
Anonymous
Pipes are for processes. Stream redirection (<, >, and >>) are for files.
Ah, so a < ./script.py will pipe in the contents of the script, not it's output?
Anonymous
Correct
Thanks!
Anonymous
05:31
./script.py | whatever would pipe its output to whatever
Ok, I remember from earlier <<< is like < but for string literals instead of files.
Anonymous
There's also a few other tricks you can do with stream redirection, like redirecting standard streams. 2>/dev/null at the end of a program invocation will redirect STDERR (stream 2) to /dev/null.
Anonymous
<<< is heredoc syntax, which I don't fully understand so I'm not going to try to explain it
Ok
Anonymous
You can also redirect STDERR to STDOUT with 2>&1 - the & is needed to reference a stream number, because otherwise it would output STDERR to a file named 1.
05:34
&0 is STDIN, I'm guessing?
Though that's probably not as useful.
Anonymous
Yep
Anonymous
0 is STDIN, 1 is STDOUT, 2 is STDERR, and others will be designated by the OS
Wait, there's more? *googles vigorously*
Anonymous
Those are the three standard streams
Anonymous
Processes can have more streams by using os.pipe or similar
05:50
0
Q: Convert a logical expression to conjunctive normal form

ngenisisGoal: Write a complete program or function which takes a formula in propositional logic (henceforth referred to as a logical expression or expression) and outputs that formula in conjunctive normal form. There are two constants, ⊤ and ⊥ representing true and false, a unary operator ¬ representin...

Anonymous
@NewMainPosts I'm kinda surprised we haven't had this yet
@Pavel I've actually piped stuff to STDIN once or twice. Useful if you want to completely silence all but a tiny part of a loop.
I'm sure most things cry if you try to pipe into them from STDIN
"Hello other program, You can have this information. Other program, why is my information now having more information?"
I'm not sure I understand what you're talking about.
I may be talking rubbish.
06:07
I can't decide between the MIT and the Apache license for TIO. Both have parts that I like and parts that I don't.
Anonymous
@Dennis What are your concerns for each?
I like that the Apache license protects your trademark, but I things the requirement to meticulously state all changes to the code is too cumbersome.
For every commit or just for every release?
this custom game kind of sucks
town is a minority...
in ToS
It happens
Who are you?
06:12
> The Apache License is also a permissive license. However, it has stringent terms when it comes to modifications. It requires you to explicitly list out all the modifications that you’ve done in the original software, i.e., you’re required to preserve modification notices.
Well, GitHub does that for you anyway, right?
Since it preserves version history?
Anonymous
Yeah, simply using a VCS should be enough to satisfy the Apache requirement
Oh! That's not as bad as I thought then.
@Pavel proven vet
some townies didn't even vote inno
and abstained
Anonymous
@Dennis The Apache license does not protect your trademark. What it does is allow you to give patent rights to users.
Anonymous
06:14
Trademark rights are mostly an orthogonal issue from software licensing
> This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
Anonymous
I'm not familiar with trademark law in your country, but in the US, such a statement isn't necessary. In US trademark law, you already have a common-law trademark by virtue of creating and using the TIO brand and logo, and can enforce it.
Anonymous
The MPL 2.0 might be more to your liking: choosealicense.com/licenses/mpl-2.0
custom game makers mind:
Uh, so many licenses.
06:22
> neutral roles are best better have 50% of players be them
@Mego Doesn't MPL have the same, infectious property as GPL?
Anonymous
@Pavel Yeah, but because it's a weaker license, it's a better choice.
        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2017 John Smith

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.
I like how they needed a version 2
wow so meta
wait did you copy paste that
Yes
06:34
if you did you violated the license
@DestructibleWatermelon Wait, I did?
oh wait no I read it wrong lol
I can do what the fuck I want.
I parsed it wrong
I like how the license applies only to the license itself
whoops
accidental enter button
        ADD STUFF FOR LOLS PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2017 John Smith
 Copyright (C) 2017 Destructible Watermelon

 Everyone is permitted to copy and distribute verbatim or modified
 copies of this license document, and changing it is allowed as long
 as the name is changed.

            ADD STUFF FOR LOLS PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. You just DO WHAT THE FUCK YOU WANT TO.
  1. You add one more thing to this list
 
2 hours later…
08:27
For what it's worth, I've uploaded a fully configured and portable GCC package for Windows, which is what I use on pretty much all my systems: github.com/turbo/ThreadCC
Anonymous
@mınxomaτ Neat!
Anonymous
I'm a bit confused - what license does ThreadCC use? I see the licenses for the pieces, but not the whole project.
ThreadCC is multi-licensed, just like MinGW.
The GNU tools are GPL, the runtime is public domain, TBB is Apache etc.
Anonymous
Mmkay
08:36
The gist is: As long as you don't include the source code of any GNU tool, everything is MIT compatible.
If you don't use TBB or pthreads, everything is public domain.
In short: Use like any other compiler collection.
wat
wat
This plug looks annoyed
wat
wat
@DestructibleWatermelon -_-
@wat –_–
ok thats enough faces now
wat
wat
how do you get those long dashes?
wat
wat
wait. I know that. nevermind. ._.
the alt button
if you have a mac
wat
wat
–_–
ic
you copy-pasted didn't you?
wat
wat
no
The dash is a punctuation mark that is similar to a hyphen or minus sign, but differs from both of these symbols primarily in length and function. The most common versions of the dash are the en dash (–) and the em dash (—), whose names historically were loosely associated with the length of a lower-case n and upper-case M, respectively, in commonly used typefaces. Usage varies both within English and in other languages, but the usual convention in printed English text is as follows: An em dash (or an en dash) denotes a break in a sentence or to set off parenthetical statements. Glitter, felt...
08:48
but how did I get the high dashes
wat
wat
well, kinda
I copy pasted from that page
mac dowsn't have those
doesn't
so, to reiterate
3 mins ago, by Destructible Watermelon
but how did I get the high dashes
wat
wat
so cute
08:55
Went with MIT by the way. It's the only license I really understand.
wat
wat
y kik
i can't post cat gifs now?
No.
wat
wat
D:
I remember a post about cats in tanks getting about 12 stars
> if (num != num)
Sometimes I'm amazed at my ability to produce such nonsense.
GIFs are a distraction. And 12 MiB GIFs gnaw at limited data plans.
09:01
Even if it was an image, cute pictures are noise
wat
wat
@Dennis 12 MB?
Wat.
Sorry.
I don't disagree, but this was noisy on three different levels.
wat
wat
Can I just post the link to the mp4 video?
It's ~700KB
And it doesn't onebox, solving 2/3 problems
There is still the problem that this adds nothing of value to chat
48
Q: Add support for .gifv format in chat onebox

AbhishrekRecently Imgur announced to drop the legacy GIF format with the new GIFV format. Why GIFV? It's lightweight Being a video format, it also allows more flexibility like not autoplaying or autoloading by default which .gif just disrespects. Oh, and you can pause it too. It supports streaming and ...

wat
wat
09:05
@Fatalize Adds cuteness
Yep, nothing of value.
wat
wat
D:
09:23
0
Q: Automate your first grade counting exercise

Albert RenshawCodeGolf Challenge PWSSHHHH! You wake up in a cryogenics lab in the year 3000. Upon being escorted to the assignment office to receive your career chip, presumably that of a delivery boy, a probe detects that you are from the year 2000. Because of this you are assumed stupid compared to today's ...

10:03
BTW: BeastNode currently sells their $40/month (4 cores, 4GB, 85GB SSD) VPS for $6/m.
10:31
I just got my first new OEIS sequence approved!
Oh nice I'm... somewhat surprised that's not already a sequence
I was too
 
2 hours later…
12:26
0
Q: Given a target number and a set of integers, find an equation that comes the closest to the target number

Do0msDayGoal: You have a set of 6 postive integers, and a target number. The goal is that with the set of 6 integers (you can use each integer only one time), you come up with an equation that gets closest to the target number. You have to display this equation as in like the examples below. NOTE: Som...

0
Q: C++ Using STL library

saraWrite a program that generates 50 random numbers of type integer ranges from 1 to 1000 and load all the numbers into a vector. The program will call function displayData() and then display the largest, the smallest, the sum, the median, and the average values stored in the vector. Display all val...

13:03
0
Q: Just need a little help writing a program that can perform address calculation for an array with variable dimensions

reedwoodI'm currently trying to make a program that can do address calculation for arrays with variable dimensions Here's what I got so far: import java.util.Scanner; public class NewClass { public static void main(String[]args){ Scanner s=new Scanner(System.in); Syste...

0
A: Sandbox for Proposed Challenges

mromanLanguage contest Moving this here from normal question So, I'm kind of an esolang loony so let me propose the following contest. First of all, the assumption is that every algorithm that solves the same problem is equally fast. Also, let's think in "special case" terms. Sorting is the problem o...

14:03
Trying to find a meta post that says you shouldn't update your question to include the answer. Can't seem to find it. Closest thing I found was something about chameleoon questions, but that's different.
Main meta, not PPCG
@Rainbolt There are sites other than PPCG?
You're in one right now :)
Shh. Don't let facts get in the way of my poor attempt at humor.
I smiled at your joke, but I accidentally placed it at the end of my joke so it looked like I was being pleased with myself
Meanwhile IRL I am stone faced as always. Only Geobits really cracks me up IRL.
Also, good grief, what's with all the homework questions.
14:09
0
A: Sandbox for Proposed Challenges

SafirahYou are perfect and unique! In this code-golf challenge you have to create a program in any language of your choice that generates a perfect number, but everytime the program runs it should show a number never showned before [needs more detail]. Rules: This is code-golf, so the shortest answe...

14:21
I'm working on the "Sort a List of Integers" challenge and I'm trying to beat a Java lambda selection sort with your average Java 7 bubble sort. Anyone see any ways to golf this more? I'm getting to the end of the rope. codegolf.stackexchange.com/questions/77836/sort-an-integer-list/…
@Poke In Java, can you do d=c=0?
Nope, nevermind. It doesn't look like you can.
only if you wrap the c=0 in parens
which doesn't golf it any more than just doing it like that
sadly
the .length and all the array indexing is killing me
14:57
0
A: Sandbox for Proposed Challenges

Lord of darkHow long will I sleep You need to go to bed, but what you need more is to know how long you will sleep until your alarm rings. Your task Write a program or function that takes a time (hours and minutes) as input, and outputs the number of hours and minutes until the next occurence of this time...

> There has never been a case of a cat successfully catching and eating either a plane or Superman.[citation needed]
9
this is why that tag exists
@Riker link?
explain xkcd for today
comic:
slightly nsfw or at least no-onebox-quality nsfw
but is he a cat? and did he hunt the plane down??
I can assure you I have not successfully eaten a plane.
15:12
Me neither
15:22
There are surely better things to do with planes than eating them.
@Riker isnt this yesterday's comic?
well yeah
I was busy and didn't check xkcd yesterday
@Riker but what about superman??
he's too squishy to eat
doens't taste good either
I gave up
My mum once said "Plane is coming!" and made me eat some Brussels sprouts. I thought I ate plane.
2
15:51
0
Q: Write the quantity

BarrankaI have a real problem: I hate to write numbers! I'm frequently asked to fill forms like this: $2,152 - Two thousand one hundred fifty one dollars It would be nice if I had a way to merely input the number and get the quantity written. The challenge:* Given a positive integer n >= 0, write a ...

16:08
@AdmBorkBork I'm not convinced that its a duplicate. The challenge is the same, but it has a much higher cutoff point
(the other challenge is far too low for my liking at 9K)
It is lonely in here
@NathanMerrill I just posted a comment.
Back to work on learning python
Once I finish learning on to my own language
 
1 hour later…
17:20
@AdmBorkBork I keep thinking you're some dude named Adam now
like when I see your username
I get that a lot :-/
and I was confused because I didn't know we had a gold code-golf badge Adam
@AdmBorkBork BorkAdamBork
0
Q: Write os with full support of winapi

monobogdanGoal: Write kernel on pure assembler\c. It must implement ALL WINAPI including not documented. And it's must still support 16 bit applications(support for bios and dos interrupts). It must fully works in graphical video mode with resolution at lease 640x480x255. Winner: Most small implementati...

Program windows for me using assembly...
So, WINE
basically
17:27
yeah
does WINE have graphics support?
"wine, 0 bytes"
@LliwTelracs yes
Don't forget to use undocumented information
> Bash, 4 bytes: wine
lel
17:28
I also don't think the poster understands what "kernel" means.
51 secs ago, by Riker
"wine, 0 bytes"
@AdmBorkBork yeah, kernel != running software like that
Guys, I need help. I'm trying to convince my friend to switch to Linux and I need help coming up with arguments.
@Pavel uhhh don't
Or as he calls it, Penguin OS
use mac
@Pavel @TuxCopter do you approve of this name
17:29
Yes
@Riker uhhh no
that part was a joke
but in all reality, if he doens't want and wants to stay with his current OS (windows I assume) there's not really any benefit to switching
But how can I feel smugly superior that way?
by using a mac
But that's worse
so? you can feel superior
17:33
Ehhhhh
@Pavel do they have an Android phone?
They have an iPhone 7
;-;
Aww
2
Q: Generate Pyramid Scheme code

PavelPyramid Scheme is a language being developed by @ConorO'Brien. In Pyramid Scheme, the code that you write looks like this: ^ ^ / \ /3\ / \ --- / + \ ^-------^ /9\ /3\ /123\ --- ----- Now, that code has two obvious qualities: It's difficult to ...

17:40
I love the letter "O" because our mouths look like that letter when we pronounce it.
Also convenient for emoticons 'o'.
"Google" has 2 os in it
wat
wat
@Pavel .o.
that face is surprised that it is upside down
someone asked me to log in to a compute stick they have
I said I need to reset the password on the local account (with chntpw)
they were worried about the microsoft account, I reconsidered and said that I would just enable the admin account
(wipe every thing, install BSD)
wat
wat
they were still worried baout the Microsoft account being reset
I then proposed to just boot off a usb stick
17:46
Ooh, just earned 'Create tag synonyms'
wat
wat
"But I'm still worried about the Microsoft account. Let's play it safe, I'll take it home tonight and ask Matt to unlock it."
fffffffffffffffffffffffffffffffffffffffffffffffffffffff
(But this SE is so well moderated it's kind of useless)
00:00 - 18:0018:00 - 00:00

« first day (2194 days earlier)      last day (2945 days later) »