« first day (2115 days earlier)      last day (3023 days later) » 

18:38
Turns out, a water bottle flip with liquid nitrogen is significantly harder than a regular water bottle flip. :P
Question: If I have the coordinates of two 2D points, how to determine the angle between the two points?
"angle between two points" what
180 degrees
@TuxCopter Do you mean like a bearing?
@TuxCopter in order to define an angle, you'd need 3 points.
18:45
Wait I will make a bad graphics to explain what I want
> I will made
With a bearing the third point is implied from the reference direction (for example, using angle clockwise from North)
@TuxCopter You probably want something like atan2(y2-y1, x2-x1).
Without specifying such a direction it's not answerable
@El'endiaStarman Yep, it's that
thanks
does anyone here know octave?
18:49
< Bad R programmer, but AFAIK Octave is not so different so maybe I can help
Yes octave is quite a bit different=)
Ah, then ¯\_(ツ)_/¯
@El'endiaStarman does this include the occasional ;_____; after someone says something bad about goats
I just wanted to advertise my new octave cops entry, because only a few octavers were playing=)
@Downgoat Yes.
@Downgoat It does.
18:52
:(
(>_> pls no kick)
seriously the "nothing but faces" rule is so loopholy :P
I kinda feel like goats have become the new avocado, and gaot is avocad.
@EᴀsᴛᴇʀʟʏIʀᴋ ok, what is your steam id?
@Downgoat EᴀsᴛᴇʀʟʏIʀᴋ
@flawr Well, I don't know any Octave..., I was lucky in my crack <_<
18:54
steam id
@Dennis okay this is partially mt fault, but i do not intentionally type bad
@ConorO'Brien haha, not if you get kicked=)
@TuxCopter from here :steamid.io
So y u do dis is your keyboard's fault? :P
obviously
18:54
@TuxCopter blamehooves, connection info is in chatroom
@Downgoat Yep ik I found it after
@Downgoat STEAM_0:0:169383280
Can I be admin too :D
@Dennis :|
@TuxCopter gimme steam ID and will add
STEAM_0:0:138693524
18:55
remember i take away privs at first sign of abuse
o_O O____o O_O o_O — TùxCräftîñg 6 mins ago
^ this comment is an exception =)
Basically your code :P
hehe=)
19:27
If my iq is figure, my mental age is 18.2
Mental age =to Chronological age *iq/100
On mobile
spelling bad
@noɥʇʎPʎzɐɹC that formula doesn't really make any sense
cannot see text field with se mobile ui:(
:334904 look it up search iq
@noɥʇʎPʎzɐɹC This formula assumes that the "ideal" human has an IQ=100 throughout its whole life?
@flawr yep
Standard, don't ask me
I SUMMON CHAT ACTIVITY.
There's little justification for that formula since it fails to take into account the fact that mental development isn't a constant rate. According to it, a 10-year-old with 115 IQ is equivalent to a 11.5-year-old with 100 IQ, but there's no basis for that claim at all.
19:36
@PhiNotPi I think that a huge weakness.
10-year-old with 100 IQ == 100-year-old with 10 IQ?
Caret.
Can't find Caret on mobile keyboard
IPad needs extendable physical keyboard
What If Google ads tracking cookies are lose evercookie or panopticlick?
Which brings me to what I consider one of the biggest problems with the entire "IQ" system: there's no justification at all for using a normal distribution. Who says that the difference between 85 and 100 is the same as the difference between 100 and 115?
The guy who invented IQ system
Was not thinking straight. Great idea, bad implementation.
19:44
Btw, according to the guy who invented IQ thing, my mental age is 23
My mental age is 1337.
4
22.9 :p
19:46
My mental age s 18.5
Cool
CMC: your mental age (see formula above)
Over 9000!!!
We get 104 days of summer vacation in thr USA. @betseg how many in turkry?
Probably less.
Dunno. Didn't calculate :p
But there was a religional holiday last year (based on lunar calendar, changes every year according to solar calendar), so last year school started too late and ended too late
19:54
USA vs. Turkey, one major thing
Vs. Chicken
Jk
So censorship?
(lol...?)
Censorship is ______ in Turkey
Erdogan bot says "nonexistent"
It isn't a fill in the blanks
It's censored :p
Unicode block char.
Not on my keyboard ;_; btw we're making too much noise I think
20:10
Am golfing on mobile
Io @Dennis why tio no support python
@noɥʇʎPʎzɐɹC lol my first 5 or so PPCG posts were from mobile
@noɥʇʎPʎzɐɹC Are you talking about v1 or v2? v2, does, but it's currently in alpha. v1 can't since Python doesn't get along with mbox.
V2 displays no output
What browser?
Check debug? Maybe you made a typo?
20:16
@Dennis ipad chrome incognitio
@Downgoat thanks for adding me (I assume you did, read the transcript. ) I'll be on later
0
Q: Make three polyglots that make each other and golf two of them

CrazyPythonProduce a program A such that running it in language A produces Program B, and running program A in language B produces program C. Program B, when run in language B produces Program A, and running program B in language A produces program C. Program C, when run in language A or language B, print...

@noɥʇʎPʎzɐɹC Chrome should work just fine. Does tio.run/#5xSSu work when you click the gear?
Yes. Noerror ouput
20:18
What did you try to run?
Odr("a ")
Typod
No error
No repro. It shows an error in Debug (which you have to expand) for me.
Ok, prob user error
Can yoy pad with whitepace in cops and robbers
Answer, please?
0
A: Code ladder, Cops

CrazyPythonPython, 28 bytes, 10 numbers _____ (__________)_(_____*4)_

@Dennis i get "something bad happened" :(
20:34
Safari?
@Downgoat a terorist zttack in paris?
@Dennis yea
You're not the first. I don't have access to Safari, so I can't tell what's going on.
Ok, il try to get you an error message later
@noɥʇʎPʎzɐɹC answered.
20:41
Gnight
I'll add more detailed error reports asap. Something bad isn't terribly descriptive. >_>
0
Q: The logical quine

Martin RosenauThe challenge Simply write a program that outputs it own source code. Nothing more than a regular quine. The problem We don't have a computer so we have to run the program on a programmable logic device (such as an FPGA, a CPLD, a gate array ...). The rules Any device available on the mark...

0
A: Sandbox for Proposed Challenges

TheBitByteUser was banned for this post code-golf Community moderators of websites, sometimes need to deal with spam. Let's help them, by automating their workflow slightly. Your task is such that, if your code is given no input, it should produce the output string Unban, eh? y. Ban increased by x days ...

@NewSandboxedPosts I can't help but feel like there's an ulterior motive here
@Everyone: Is this a good idea?
21:14
@Downgoat My highscore is now Neptunium (Np, 93) 129,274.
:D
Are there any edge cases I should add to the test cases here?
@trichoplax First a general question: As far as I know you can only ever combine two symbols in such a word, e.g. NNE but not NSE
@flawr Traditionally, yes. The challenge here is to deal with up to 4 distinct symbols in a single word
The "Conversion" section explains it. I've excluded the only ambiguity I could think of, but I'd like to know if there are any others before I post
oh ok, now I understand what you wanted to say with the second paragraph
Using only two symbols allows for intuitively understanding the meaning. Allowing 4 symbols makes it horrible to read, but allows shorter ways of describing a bearing
Is there a way of wording it that would get that across better?
21:29
Write exactly this=)
You say a string cannot end in e.g. NS
but I think it also should not begin with NS
right?
@flawr The bearing is constructed right to left, so the beginning should be fine
Oh it is also reversed to the traditional notatio=)
@mbomb007 O_______O
Woah
Ah you made some examples down there
SNE means start with E (90), then take the bisection between that and N (0) to give 45, then take the bisection of that with S (180) to give 112.5
@flawr Oh - my intention was to extend the traditional notation so that things like NNW would be consistent with the traditional style too. If it's backwards I need to rewrite the challenge...
21:33
Wait let me check first.
I must admit I just assumed from "North by North West" that it meant take North West and then go half way towards North
Ah no you're right!!
But reading it left to right would then take the mid point of N and N which I can't see working...
Oh that's a relief!
Sorry I just had a big mess in my head with the english / my native way of referring to the cardinal directions XD
But the ENSW in the Input paragraph is really bothering me!
> In traditional compass notation, a string is made up of only 2 of these characters (like NNW or ESE). Here you must also accept strings that contain all 4 (like WNNNSE). Using only 2 symbols allows humans to intuitively understand the meaning. Allowing 4 symbols makes it horrible to read, but allows shorter ways of describing a bearing to a given accuracy.
Would that work better for the 2nd paragraph?
21:37
@trichoplax Yes I think so.
Gosh these english short names confuse me=)
@NewSandboxedPosts I'm not really sure what to make of this...
@trichoplax What about NNSNN?
@flawr I did wonder about what order to list the letters. When listing them as compass points I want to list them clockwise from North as N, E, S, W but when listing them as characters I want to list them in alphabetical order as ENSW. Would it be best to just pick one or the other?
@DrMcMoylex The downvote button seems to be working
Haha it is just a detail, but It caught my eye as you're so used to seeing NESW
@flawr Ah! This is why I need the sandbox. You're right, the final two characters must be distinct, otherwise one is redundant. I'll add that
@flawr I'll go with NESW then - that's how I was taught them and it's short enough that alphabetical order doesn't really add anything
21:43
@trichoplax But in that case it doesnt matter if you allow NNSNN as input, right?
@flawr My implementation would still work - it would be equivalent to just omitting the final character - but I don't want to restrict what approaches people use so I'll just make them undefined. That way if your code works it's fine, but it doesn't need to
I already smell a nice recursive haskell solution in the air :)
(but probably not the shortest)
That challenge reminds me of Banach-Tarski
The compass points challenge? I don't see the connection...
@NewSandboxedPosts That desperate plea at the end amuses me.
21:52
The construction of the compass points is similar to how one would construct a subset of the sphere
oh, yes, it's much like the free group containing two embedded copies of itself
with the two generators and their inverses corresponding to the four directions
Interesting. I don't know enough about it to follow the connection though... Hopefully this means the compass points construction is consistent and won't lead to a paradox though?
no, there's no paradox
@trichoplax Are infinite strings allowed too? You could assign a limit to them=) (I think)
@xnor So you mean the free group over e.g. {N,E}?
I didn't want to include infinite strings for this challenge, but I did think a little about limits of periodic strings. Some of them seem to be easy to find
21:58
@flawr yes
@xnor And how does that contain two copies of tiself?
@trichoplax Wouldn't even have to be periodic, I think. I thought of it that way, consider N,E,S,W as variables with N=0; E=90; S=180; W=270. Then A string s1 s2 s3 s4 s5 ... can be evaluated recursively by eval(s1 s2 s3 ...) = mean(s1 , eval(s2,s3,...)), right?
Or in other words eval(s1 s2 s3 s4) = sum( sk / 2^k , k =1,2,3,...)
@flawr I'd best just link you to the construction and picture under Step 1 of the wikipedia article
> The title of the Alfred Hitchcock 1959 movie, North by Northwest, is actually not a direction point on the 32-wind compass, but the film contains a reference to Northwest Airlines
Great. I based my whole challenge on a misunderstanding...
@flawr intuitively, if you consider all reduced strings that start with a in the free group, what can follow is any string that does not start with a^(-1), so 3/4 of the free group. with some more fudging, you get a proper subset that looks like the whole free group
@flawr The first step is correct (s1 is the rightmost character?), but I'm doubtful about the sum.
22:05
@xnor Ah now I see what you mean, thank you!
@trichoplax No it does not work I just noticed, that way you cannot get any angles above 270°.
@trichoplax Works (perhaps) only for infinite strings, the idea is: NNE=22.5°= N/2 + (N/2+E/2)/2
This mean function should always take the "closer" mean.
That does look reasonable. Taking the closer mean is easy in a program, but I'm not sure how to express it as a formula
So s1 is the leftmost character, and I was reading it backwards?
s1 is the left most character
Got it. It makes sense now.
I wonder if there's a separate challenge in infinite strings...
My observation that the right most character matters less and less the longer the string gets is correct, right?
this looks like a foldr, right?
the first direction is averaged with the result of the rest
22:17
Even a foldr1 :)
oh, yes
I need to do more haskell... I think I'm still stuck at the functors for more than a year now.
if this was regular averaging and not circular averaging, the result would be 1/2 the first value plus 1/4 the second one, and so one except the last value has the same coefficient as the 2nd-to-last one
But how would you implement this "circle average"?
@Dennis I made a proposed TIO v2 design. If you like it, i can finish it (add other textareas and buttons etc.) and send you HTML/CSS, otherwise I can drop it. It is responsive:
^ with mobile device res
wat
wat
22:24
I just spent the longest time putting together a website
@wat ¬_¬ HTTPS cert is bad btw
wat
wat
It has no HTTPS cert!
It's unencrypted
link you have is https then
@flawr Yes, I believe it becomes irrelevant for at least some infinite strings. I have a suspicion it's sometimes relevant but I can't come up with an example
wat
wat
22:26
no, it's http
.____. @safari ;_; y u do dis to website
wat
wat
._.
:O you're gonna get kciked now
Personally, I'd kick for the "y u do dis" before I'd kick for a face
12
wat
wat
._.-._.-._.
22:28
;_; y u d— crap
wat
wat
ok let me generate a https cert for it
letsencrypt ftw
brb creating "y u do dis" room to express sadness in
wat
wat
22:41
@Downgoat the ssl cert should be better now
ok yea works now
cool
wat
wat
it's actually ssl now!
22:54
@Downgoat Hard to tell from screenshots that are missing most of the elements. The navigation on the left is going to be a problem on mobile; the code textarea is way too small. Having the language selection the the left also means that I can't implement polyglots the way I wanted to. I assume the -x on the top is a command-line argument. That will be a problem for programs that take their primary input via CLAs, which can get quite large.
0
Q: Draw diagonal lines of text

DoorknobGiven an input of a list of words, output the words with their letters arranged diagonally: p r o p g u r z a a z m n l m d e i c s n o g d g e o l f (The above should be the output for the input programming puzzles and code golf.) To be precise, each w...

@Dennis yea, on smaller devices i was thinking of adding an @media which moves to the top (like another header) with a dropdown for language selection and bigger buttons
wat
wat
i made some more changes @Downgoat
check it out
I think you should put IP address in sidebar
oh wait nvm
wat
wat
should i bring up the server?
does anyone want to join?
22:59
@Dennis do you like this design though? I can address your comments but I don't want to spend too much unnecessary time tbh
@wat if you can make your server in offline mode, yes i can join
wat
wat
@Downgoat you don't own minecraft?
@Downgoat Finally, while I'm happy to add several color schemes to choose from, the default one will be dark grey.
@wat :| no
wat
wat
is there a cracked ftb launcher?
also, computer specs?
@Downgoat It's hard to judge something objectively when you've spent a significant amount of time and effort on something radically different. Let me think about it.
23:23
@El'endiaStarman The big story on my local news channel last night was a shooting at a local mall. It's either a small world, or a very violent world with multiple mall shootings in one afternoon 0_0
1
Q: Polygonal Numbers!

OliverIntroduction In mathematics, a polygonal number is a number represented as dots or pebbles arranged in the shape of a regular polygon. The dots are thought of as alphas (units). These are one type of 2-dimensional figurate numbers. The number 10, for example, can be arranged as a triangl...

you know I never thought it possible to mass produce challenges before this guy ^ :P
My thoughts exactly...
hey! I actually put that one in the sandbox this time
it's a miracle XD
23:40
Producing lots of challenges isn't a bad thing - most of us just find it difficult to come up with new ideas...
I never said it was
@Oliver We're not saying your challenges aren't good ;) I've seen a lot of your challenges in the sandbox
2
I find it difficult to figure out if ideas I have are dups
@ConorO'Brien I assumed you meant it as a good thing, but Oliver seemed to be objecting as if it were a bad thing so just clarifying :)
(Yeah so I have only one posted challenge... have about 6 waiting)
23:41
@trichoplax ah, I see
lol
@ConorO'Brien Calvin's Hombas is gonna have his feelings hurt :P
@ETHproductions Not really
0
Q: Tell me my WPM!

OliverGiven a string of text typed, and the number of seconds it took to type, find the WPM. For the purposes of this challenge, assume that a word is five characters. You may round the output to the nearest integer. For example, if the text was hello, my name is oliver! and I typed that in 6 second...

^ another one!
23:48
@Oliver Okay, I'm curious for the challenge itself... exactly how long did it take you to post that challenge, starting with when you first entered a character?

« first day (2115 days earlier)      last day (3023 days later) »