« first day (2338 days earlier)      last day (2505 days later) » 

5:10 AM
@HelkaHomba Not really
 
Anonymous
@Downgoat HR people love cliches
 
Wait really .___.
 
Anonymous
Yep
 
5:24 AM
just realised I don't know how I would reverse the order of the items on the stack in sad-flak
 
Note to self: Never put spaces in folder names.
 
@HelkaHomba indeed
 
Because Linux and Windows hate each other
 
the imgur code thing for that doors image you posted looks like an xbox username
 
is there a way to sleep in python and not break keyboard-interrupt
@HelkaHomba Element 101 is Mendelevium, not Mendeleevium, so there would be no Watium :( :P Also "Mendelevium" only shows up once, and it's a link to a post.
 
5:36 AM
@DestructibleLemon indeed, steamcommunity.com/id/XJONX
 
I borked up my "World!" program and now it has a russian accent
> Vorld!
 
lol xD
 
ecks dee
 
5:52 AM
I have an interesting idea (which I already started). Starting from BF, make a language that will compile into BF, and then a language that compiles into that, and keep building up step by step until you can code complex stuff in BF, and then just autogenerate BF answers to everything :D
 
ok my master work is complete
32
({}≤()≥)
(≤()≥)
99
({}≤()≥)
((<>[≤()≥]))
7
({}≤()≥)
((<>))≤()≥
5
({}≤()≥)
(≤()≥)
109
({}≤()≥)
(<>)(≤()≥)
85
({}≤()≥)
(≤()≥)
30
({}≤()≥)
(≤()≥)
42
({}≤()≥)
({≤()≥})(({()}))({()})(())
70
({}≤()≥)
≤≥
 
er ok then
sad flak?
 
199 bytes of program +3 bytes of argument
 
5:54 AM
What do the numbers do?
 
numbers get replaced by that number of newlines
 
@DestructibleLemon deserves kittens
 
so a line with a 1 on it is the same as a blank line
 
oh ok
@HelkaHomba I don't even want to try to count how many times you've linked to a kitten livestream :P
 
and a line with a 4 is the same as 4 blank lines
note that you can't put comments on a number line
due to the way it is programmed
brb posting to main
 
5:58 AM
@HyperNeutrino actually that was only the second time
 
Hm? Then the first time I was linked to one must have been someone else.
 
6:16 AM
I'm writing up an explanation for the hello world challenge answer I'm about to post
 
Does anyone know about Thompson's Construction Algorithm? I want to make a regex parser out of it but I don't know how
 
ok this explanation may take a while
 
6:33 AM
Trying to implement RC4 and getting completely incongruous results, can anyone help?
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <cstdlib>
#include <cinttypes>
#include <algorithm>

using namespace std;

int main(int argc, char* argv[]) {
        if (argc != 3) {
                cerr << "Usage: " << argv[0] << " <key> <text>" << endl;
                exit(1);
        }

        char key[256];
        strcpy(key, argv[1]);
        int keylength = strlen(key);
        cerr << keylength << endl;

        char text[1024];
        strcpy(text, argv[2]);
Code
I might have to go to CR
 
0
Q: Biggest Piece of the (Unevenly Distributed) Pie

OnLinedPaperI'm going to a dessert party, and I'd really like to get the biggest piece of the pie. These particular hosts have a habit of dividing the pie depending on where you're sitting: Each person gets (a/n) percent of the remaining pie, where a is their position at the table, and n is the total number ...

 
6:48 AM
lol, of all things to get dupe-voted as, I dupe-voted this challenge as a duplicate of a square-root challenge :P
 
What was that ??
 
Someone was trying to make a list of all users and accidentally hit enter.
@DestructibleLemon You're right about the rounded square root thing; see my comment.
 
@HyperNeutrino You use C/Python ?
 
Yes.
(Python)
 
@HyperNeutrino What python stuff should I learn to do stuff like this: jsfiddle.net/SalixAlba/c97ga3xw ?
 
6:50 AM
@HyperNeutrino it's actually not square root, it has some other stuff
 
3
A: Who gets the biggest piece?

J. TibbsI answered this question as a code challenge; I managed it as a one-liner in MATLAB using 34 characters: The output is, of course, 10. To generalize this to n people, the same number of characters is required, provided you define n beforehand: Of course, if I had read the other answers be...

> Sn,kSn,k is increasing in kk precisely when k2+k<nk2+k<n which means that when n=100n=100, if k≤9k≤9 it increases and when k≥10k≥10 it decreases. So the tenth guest gets the most.
 
> Of course, if I had read the other answers before trying it myself, I would have come to the (nearly enough) twice as efficient solution to the general case with only 16 characters:

i=round(sqrt(n))
 
My question ?
 
the answers disagree?
 
6:52 AM
@AlexKChen Hold on, lemme go check.
@DestructibleLemon I disagree with the answers' disagreements?
I checked for all values of [2..100] and my findings were consistent throughout.
 
@HyperNeutrino um
 
@AlexKChen Sorry, I don't know how to do anything related to graphics.
 
does the thing have an upper limit of 100
 
Should I ask it on SO or Physics SE ?
 
6:53 AM
But does it become inconsistent at large values of n?
 
@HyperNeutrino try 10000
I'm not sure
 
@AlexKChen Probably SO for finding frameworks to do things
 
I think you were very lazy when you only check 2 to 100
 
brb reimplementing
 
@HyperNeutrino What does "finding framwork" means ? (Sorry, I am new to programming)
 
6:54 AM
(yeah I forgot to do not any(map(f, range(2, 10000000000000000)))
Framework as in tools/libraries for making things
like maths, graphics, etc.
 
@HyperNeutrino you don't need to do that much
 
I know :P
Actually, I have a whiteboard in my room, let me go see if I can prove it or something.
brb going to drawing board
 
There was a question about this on another SE recently
I think puzzling
where they did provide a proof iirc
 
0/10 seems too complicated for me bc I'm not good at math lol
8 mins ago, by Destructible Lemon
3
A: Who gets the biggest piece?

J. TibbsI answered this question as a code challenge; I managed it as a one-liner in MATLAB using 34 characters: The output is, of course, 10. To generalize this to n people, the same number of characters is required, provided you define n beforehand: Of course, if I had read the other answers be...

 
11
A: Who gets the biggest piece?

boboquackWell, the guests get the following parts: Now observe that for the $n^{th}$ guest, this is equal to: And it changes by a ratio of: (from the $n^{th}$ to the $(n+1)^{th}$ person) But for the portion of the slice to increase, we want this to be above $1$: So we have: And since: th...

ah yes
 
7:00 AM
@carusocomputing I'm sure there are still quite a few polytechnic courses which teach primarily LAMP or WAMP, simply because curricula are always about 10 years behind the real world
 
@HyperNeutrino wtf I made a program and it doesn't even match for 10
whats the deal with that
 
@DestructibleLemon Can I see your program?
 
I'm not saying I didn't make a mistake
I also tried it with round instead of int(...+.5)
 
I need two upvotes on my previou SO questions to be able to post >2 links:
-3
Q: Questions about compiling C on Windows and using getchar()

Alex K ChenI am an absolute newbie to programming (only know very basic Python), and I'm reading C from Kernighan and Ritchie. My two questions are: How do you start coding in C in Windows 8.1? I mean, basically, in Python, you just install it from the website, and start coding in IDLE, but I don't see a...

 
Please do not post things into chat asking for upvotes. Showing off quality posts is acceptable in reasonable amounts, but please do not ask for upvotes.
 
7:06 AM
OK Sure.
 
@HyperNeutrino YOUR PROOF THAT IT WAS A DUPE WAS A PROOF OTHERWISE
 
You messed up your program.
pizza / j should be pizza * j / i
 
o
that makes sense
 
Also you're not resetting pizza
 
7:09 AM
I make many mistakes
 
rip
I only know because I just wrote a similar program like 2 minutes ago :P
 
I have asked the question in SO. Is it a bad thing to link to that ?
 
Not a bad thing necessarily, but asking for upvotes is not advised.
6 mins ago, by Alex K Chen
I need two upvotes on my previou SO questions to be able to post >2 links:
 
I will post a link when more people are here.
(of the simulation question)
 
7:12 AM
@AlexKChen ಠ_ಠ
 
Oh okay.
Actually only 3 because one of them is trash
 
...But I can't resist promoting my room:

 Recreational math games

For playing various recreational but mathematical games, e.g S...
:P
 
(Hope its not very bad thing to do)
 
That's fine. :) :P
 
7:15 AM
For this question, does the amount for the biggest slice converge to something other than 0 if the number of people involved gets higher?
 
@Qwerp-Derp Asked in the wrong room previously :P
 
@AlexKChen Yup, I saw it was a Math.SE room but I realised it was a game room :P
 
By "converge", you mean approaches 0, or any value?
 
@HyperNeutrino Any value other than 0
 
It doesn't, just solve the quadratic. @Qwerp-Derp
 
7:18 AM
The amount the kth person gets with n people is a-ta.co/mathjax/!XGZyYWN7a24hfXsobi1rKSFuXntrKzJ9fQ==.svg
And the guest who gets the most is Guest sqrt(n)
So that becomes:
>.<
Well, actually, I don't need a precise value.
The top grows asymptotically to n!
actually to n!root(n)
which is n!(n**.5)
and the bottom grows asymptotically to n!(n**z) and this z thing is greater than 0.5
 
What does <....> means ?
 
so the overall value grows asymptotically to 1 / n ** (z - 0.5) and since z > 0.5 that approaches 1 / ∞ = 0 (ok that last part is horrible but it approaches 0)
@AlexKChen ?
 
Yeah I can't understand.
 
Now I'm just waiting for an actual maths person to come and tell me why I learned math all wrong.
what is <...>? in what language?
 
I can't say that without linking to my stuff, but as you know: It's at the bottom of one of the answers to my latest question in SO.
 
7:25 AM
It's fine to link to it if it's relevant, which in this case it is probably relevant (because there is no topic discussion at the moment), I'm just discouraging you from asking for upvotes.
Your question lacks detail and research, which is probably why it's getting downvoted.
(I almost said "lacks objective winning criteria" >.<)
 
@AlexKChen Your question could be better formatted as well. Instead of the (a) (b) thing you could just use regular Markdown dotpoints. This sounds a bit pedantic, but a little bit of style can really help your question get recognised and not be regarded as "low-quality" (which your question isn't, but some people may find it like that).
 
Okay, so it may look dumb, but then I am deleting the question and then asking it again.
What else should I do in the qeustion details ?
(Now to baloney-fy the question a bit)
 
@AlexKChen Wait wait wait, don't do that
 
OK. But why ?
 
So, first of all, what have you tried already? Have you done any of your own research?
 
7:32 AM
Yeah, I found tkinter and <graphics.h> for c.
Also, Vpython too, but that is not very good for my criterion.
 
You should specify that in your question.
 
@AlexKChen
1) Deleting the question and then asking it again will just create more downvotes
2) If you delete too many of your own questions you might be blocked
3) The question you asked already has an answer, which again, if you delete it you may be blocked from asking more questions
 
wait I just realised a golf
in my hello world
woot
 
The downvote button's hover text says "This question does not show any research effort..."
 
wait nvm no golf
 
7:37 AM
rip
 
it was... fool's golf
2
 
@HyperNeutrino ?
 
rip = rest in peace because @​DestructibleLemon didn't actually get a golf
 
@HyperNeutrino rip = rip in piece
 
right
 
7:39 AM
@DestructibleLemon Rest in peas, you idiots :P
 
;_; that was uncalled for
 
Rest in peas, @DestructibleLemon
 
;_; you are mean
 
@DestructibleLemon Bow to me, you lemon, otherwise I will crush destruct you like this:
:P
 
Please don't post too many images in chat. Also that is disturbing D: :P
CMC: Guess which challenge has the most answers on PPCG
 
7:44 AM
Oh sure. RIP Destructible Lemon ;( May your destructed soal rest in peas.
 
Be careful, the Power of the Lemon will destroy you.
 
@AlexKChen you see that that is not destroying the lemon, just destructing it a bit and spreading it out a bit
@HyperNeutrino is it... the hello world?
 
yes :P
 
@Mods: Sorry I accidentaly flagged a post instead of starring it
 
7:49 AM
if (anybody posts "rip" in TNB):
	goto chat.stackexchange.com/transcript/message/38339399#38339399
	make a giphy pun with his username and post it
 
@AlexKChen English, 2 bytes: no
:P
sigh Hello World got protected again by Community
 
Why is a thing???
 
9 mins ago, by HyperNeutrino
Please don't post too many images in chat. Also that is disturbing D: :P
 
mhm?
and why is a thing
I mean, is very similar to that IMO
maybe not quite a synonym, but I'm going to start a vote for it.
 
8:02 AM
What are some good SE sites in which chat I can ask my question abut simulatoin?
(Not SO, because I have only 1 rep there)
 
You can chat in any chatroom that's publically open.
You have >=20 rep on at least one SE site so you can chat in any chatroom.
This is a PPCG chat room
notice how you don't even have a PPCG account
 
Nope, SO chat and Meta Chat are seperated from other SE sites.
 
Oh. Shoot.
 
Even the chat mods at other sites are normal users in SO chat and Meta SE chat.
 
Right, because SO had to be different
and meta
ugh why are SO and MSE so weird
 
8:04 AM
0
A: "Hello, World!"

Destructible LemonSad-Flak, 199+3 bytes = 202 bytes 3 bytes for the -A arg. This lang uses a "codepage", where ≤≥ are one byte each (that is, I have a thing that replaces ` and ~ with those chars and runs it) 32 ({}≤()≥) (≤()≥) 99 ({}≤()≥) ((<>[≤()≥])) 7 ({}≤()≥) ((<>))≤()≥ 5 ({}≤()≥) (≤()≥) 109 ({}≤()≥) (<>)(≤(...

now you guys can sort of understand how sadflak works
 
So, returing to my original questoin, which SE chat room are good to ask my qeustion >
 
+1 for a very detailed explanation
maybe Software Engineering I doubt it though
 
Last message 14d ago in graphics
 
@HyperNeutrino I +1ed for the same reason
 
Ah Kritixi you know C right ?
 
8:17 AM
@HyperNeutrino thanks
@KritixiLithos thanks
why are there 5 removed messages?
 
nvm, I posted them but they're spam
like heavily offtopic
 
Lies ! .
 
more like a train of thought/stream of conciousness which is unwanted here :P
 
Missoelled word .
misspelled*
 
Should I delete this ^ ? Looks offensive ?
 
8:26 AM
why does this amuse you so much
 
please do
just to be safe
 
Sure, done.
 
and yes I agree with the lemon
 
I don't see how bra is particularly offensive
 
Paul Dirak's bra
In quantum mechanics, bra–ket notation is a standard notation for describing quantum states. The notation uses angle brackets (" ⟨ {\displaystyle \langle } ", and " ⟩ {\displaystyle \rangle } ") and vertical bars (" ∣ {\displaystyle \mid } "). It can also be used to denote abstract vectors and linear functionals in mathematics. In such terms, the scalar product, or action of a linear functional on a vector in a complex vector space, is denoted by ⟨ ...
 
8:40 AM
@DestructibleLemon It's the f-word that's more offensive IMO.
 
but brainfuck is ok...
brainfuck = ok, brain fuck = not ok?
 
yes, but the spaced version looks kinda NSFW. I find nothing wrong with it but mods may disagree.
@DestructibleLemon brain fuck is ok too...
 
Jun 27 '16 at 21:12, by Dennis
After only 20 hours, I finally managed to beat Martin's br***fuck program.
 
wat
now I just have to make a sadflak quine
save me from myself or something
I will probably do it later or something.
 
8:52 AM
Offer an infinite bounty.
:P
 
no
I don't have infinite rep
 
... sigh ಠ_ಠ :P
 
ಠ_ಠ yourself
 
oh yeah LPT do alias push="git push -u origin master"
 
@AlexKChen not much
I'm a noob
 
9:03 AM
@HyperNeutrino or just type git push...
 
too lazy
 
after the first time
@HyperNeutrino lazy git can't type "git"
2
 
hey, there's a space too
 
CMC: Given an integer N, output its highest proper divisor (the highest divisor that is not N)
Will only receive N ≥ 2.
Tests: 2 -> 1, 3 -> 1, 4 -> 2, 10 -> 5, 1000 -> 500, 36 -> 18, 21 -> 7
 
@Mr.Xcoder Jelly, 3 bytes: ÆḌṪ
 
9:12 AM
That was fast
 
It also handles negative numbers, that's even better.
 
Dyalog APL, {⍵-1+0⍳⍨⍵|⍨⌽⍳⍵}
 
@Mr.Xcoder that would be Dennis's amazing god powers :P
 
@HyperNeutrino Golf one byte by replacing x%k==0 with x%k<1
 
9:17 AM
+1
(like +1 to you nice job)
 
Actually, -1
:P
 
-1
Q: Who owes who money?

Koishore RoyThe Dank Memes Casino is one of the best casinos of the world. They have a rule that if you win or lose money, you will be paid at the beginning of the next month. But, catastrophe struck and there was an earthquake, which demolished the casino. Now, all the poker players have gathered and real...

 
@HyperNeutrino At least @xnor succeeded to make a nice challenge after my disaster ;)
 
:') yeah, also, were you trying to draw a hexagon?
 
9:19 AM
@HyperNeutrino Unfortunately, the slashes are steep in ASCII :), Yeah I kind of was trying to draw a hexagon
 
@Mr.Xcoder 05AB1E, 3 bytes: Ò¦P
@Mr.Xcoder Ah, okay. Yeah, it's a shame that the formatting didn't work :(
no shallow slash :(
Two approaches: 1. push proper divisors and take last one. 2. take prime factors, remove smallest one, and product
 
@HyperNeutrino I posted it too early, I could have used o and oo to draw the hexagon or rotate the shape as xnor did
 
things sad-flak does better than brainflak: multiplication
very big numbers
is it truthy?
 
Also one of my ideas (though I came up with it after xnor posted) was to input truthy/falsy and output either of the resonance structures :P
 
@DestructibleLemon Can it get worse than Brain-flak multiplication?
 
9:21 AM
brainflak multiplication is not that bad
 
0
A: Sandbox for Proposed Challenges

Mr. XcoderProper Divisor mash-up A proper divisor is a divisor of a number n, which is not n itself. For example, the proper divisors of 12 are 1, 2, 3, 4 and 6. You will be given an integer x, x ≥ 2, x ≤ 1000. Your task is to sum all the highest proper divisors of the integers from 2 to x (inclusive). ...

 
Any feedback ^ ?
 
@Mr.Xcoder try Turtlèd multiplication
 
@DestructibleLemon I didn't even know Turtléd exists...
 
9:22 AM
interesting challenge
 
@HyperNeutrino anyway better than the steep hexagon :))
 
yes :)))) :P
lol you are literally one downvote away from not being able to see deleted posts... cursor hovers over the Geobits button...
>:-D
 
@HyperNeutrino Let it hover, if you want
 
I'll get it back if I lose it anyway, it's 2 rep
 
9:24 AM
true lol
 
@HyperNeutrino I am not sure about this spec: "Your program must work for all the values of x between 2 and 1000, and must run in reasonable time for all the values (less than 15 seconds on a standard computer)". Is it okay?
 
we usually dont say that
nor do i see any need of saying that
 
@LeakyNun I'll remove it then
 
and I don't think you need to sandbox such an easy challenge
 
@LeakyNun Nor do I
 
9:27 AM
I think 15 is outrageously high for 1000, it should be like 1 second lol
 
@HyperNeutrino Removed that spec
 
ok :))
lol I already see how I'd do this in Jelly, so LeakyNun's probably going to post a Jelly answer except 50% the length of mine about 50 seconds after you post the question
2
@LeakyNun when are you usually not online? I want to know so I might have a chance to post a Jelly answer for once :)))) :P
 
@HyperNeutrino That's sensitive information not be shared :))
Anyway, @LeakyNun is always with us
 
Darn, no location specified.
Maybe he's a bot that lives in the internet designed to answer challenges way too quickly? :P
Besides, location means nothing because not everyone sleeps at the same time not everyone sleeps in general
 
@HyperNeutrino I think @LeakyNun has the list of all possible challenges and the corresponding Jelly solutions (golfed), and has programmed his computer to post an answer exactly 50 seconds after a certain challenge is posted, while he's asleep.
@LeakyNun Just kidding :P
 
9:33 AM
Or he never sleeps. :P
@Mr.Xcoder that sounds more like dennis
 
9:47 AM
Seems like an interesting task, enumerate all jelly combinations and figure out what challenge they would solve.
 
@HyperNeutrino SE is quite strange. From a question with (-3) score, I have actually earned 15 rep, because it was (+7/-10). It's actually the very first time I hit 2k on PPCG
 
@Mr.Xcoder As they always say (actually I have no source), love is stronger than hate ;) :P
 
Do you guys think I can post this today, if it is well received? I have only sandboxed it to make sure there is no spec missing and that it's interesting enough:
2
A: Sandbox for Proposed Challenges

Mr. XcoderProper Divisor mash-up A proper divisor is a divisor of a number n, which is not n itself. For example, the proper divisors of 12 are 1, 2, 3, 4 and 6. You will be given an integer x, x ≥ 2, x ≤ 1000. Your task is to sum all the highest proper divisors of the integers from 2 to x (inclusive). ...

It is really easy, and not many things can improve by leaving it in the sandbox too long
 
I don't think anything could be improved, and I think it's good to go, personally.
I mean, for something like this, I might've just skipped the sandbox :P
 
9:51 AM
@HyperNeutrino Well then.
 
ಠ_ಠ I spend a loooooot of time trying to find a bug in my program only to find out I need a=b instead of b=a ಠ_ಠ
 
ಠ_ಠ lol rip
 
@KritixiLithos seems like my crappy mistake in swift: i+=2 instead of i+=1... I have noticed that after 10 minutes!
 
CMC: Find the growth pattern of this (exponential, linear, logarithmic, etc)
lol I've wasted around 1 hour total trying to find bugs where the only bug was me forgetting to return the value from a function >_>
 
@HyperNeutrino same here, but printing in python ಠ_ಠ
 
9:54 AM
rip
What should BF4 feature?
 
@HyperNeutrino you need a 2D tape, ie a sheet
for one of the extensions
 
@KritixiLithos that won't "compile" down to BF1 though
 
oh, I understand now
 
but I can make a BF1+ and build everything off of that
> The purpose of this project is to try to build up many layers of abstraction, all compiling down to Brainfuck, with the ultimate intention that Brainfuck will be able to be used for more complex things.
yeah
 
well you already have pbrain, it's basically BF but with functions
you can take pbrain's functions
 
9:57 AM
oh you mean like #define almost, so defining codeblocks in the headers and using them later on? or something like that?
 
Ah, okay. Thanks, will do that for BF4.
 
Bye guys :P - Will be back in a few hours, and I'll post my challenge then.
 
you need variables as well
 
cya :P
@KritixiLithos how would that work?
 

« first day (2338 days earlier)      last day (2505 days later) »