« first day (2170 days earlier)      last day (2682 days later) » 

12:31 AM
Tfw a PPCG chat room is linked as an example of good behavior: meta.stackexchange.com/q/289398/287795
14
 
@AlexA. hahahaha
That's never gonna happen again. :P
5
 
@Downgoat Are you around?
@AlexA. I noticed
 
hey alex is back
 
@Downgoat srcds_run didn't respawn the server after a quit
It does that sometimes
So we need you
 
12:57 AM
-15° C outside...
 
Ouch. It's just about -5 here, comparatively warm.
See, this is why being outdoors is overrated.
 
32 (0 Celsius) here in Houston and people are acting like it's the end of the world :P
 
1
Q: Calculate the inverse totient function

AlkaliEuler's totient function is defined as the cardinality of the set of positive integers less than or equal to n that are relatively prime to n. Given the positive integer m, calculate the lowest possible number n such that φ(n) = m. For reference, the series of this function is OEIS A032447. Th...

 
Compared to what I imagine the average temperature in Houston is during the rest of the year, it probably would feel like the end times.
 
Yeah, but having grown up in Chicago this is only slightly chilly
 
1:08 AM
IMO it's really cold outside and it's 60°
I have lived in CA all my life.
 
@mınxomaτ haha 26C here and not on Southern Hemisphere ;)
 
@Doorknob Hah, yeah...
 
orange potion
so tempting to quaff
scrolls...
 
Good people of ppcg, I come to you with a humble request, if you liked stop replacing my tabs with spaces please show some support on this network wide proposal as an indication that I'm not in this for the rep (meta rep) I am starting a bounty.
 
for that matter: anybody with spare meta.se rep wanna bounty this?
53
Q: Message for upvotes is misleading

Eᴀsᴛᴇʀʟʏ IʀᴋI realized the other day on SciFi & Fantasy SE that the upvote message is misleading. I had joined and asked a question, this one if you were wondering, and tried to upvote an answer. It gave me a message saying that my upvotes would not be shown until I had 15 rep. Okay, I understand ...

 
1:24 AM
ummmmm
I got killed by a wand
 
@EᴀsᴛᴇʀʟʏIʀᴋ I was planning on stockpiling meta rep to bounty that feature request, it has actualyl started to bother me
 
@EᴀsᴛᴇʀʟʏIʀᴋ the one i self promoted with tabs and spaces. I planned to recycle all upvotes back into bounties (probably a bad plan), but its worth the risk.
 
sorry, but if I do get a response, with this current bounty, I'll have some extra rep, I can use to bounty that question.
 
1:31 AM
0
Q: Is it OK to forbid golf dedicated languages?

sergiolWhen asking a question, is it OK to forbid answers using languages intentionally made for golfing? And what about esoteric languages?

wrong meta?
 
1:43 AM
@RohanJhunjhunwala good luck but considering SE does browse site metas they have probably already chosen to ignore it
 
@Qwerp-Derp hi!
 
@Downgoat restart the server
srcds_run didn't do it automatically
 
1:59 AM
Can't do rn at airport
 
Anonymous
2:12 AM
@Doorknob 18F here in North Texas. Get on our level.
 
@Mego Got any snow there? That's one thing I miss about Chicago.
 
@EᴀsᴛᴇʀʟʏIʀᴋ already has response from SE?
 
not from SE
just from other users agreeing
 
Tfw you discover def kinetic_energy(m: 'kg', v: 'm/s') -> 'J': return m * v**2 / 2 is valid Python.
 
@AlexA. haha there is even "#VOTEGAOT2016" on the page linked
@EᴀsᴛᴇʀʟʏIʀᴋ Shog9 responded??
Never mind clicked wrong button
 
2:18 AM
yeah
he clarified the current situation, not about fixing the description
 
I sympathize with the intent, but I'm not sure that explicitly calling it a vote makes this less misleading, particularly since there's currently no easily-obtainable record of these "votes" the way there is for real votes (consider that a user with 20 rep would be able to find all of the posts he'd upvoted in his profile, but would see anything "downvoted" suspiciously absent in spite of the claims that they are remembered). I suspect it'll be hard to avoid problems in a terse message without actually changing what anon feedback does... — Shog9 ♦ Dec 26 '15 at 20:52
Oh
 
@Dennis why wouldn't it be? I see nothing unusual.
 
Anonymous
@Doorknob A little bit
 
@Dennis it's a new feature, supposed to be better at clarifying iirc
 
2:39 AM
@Dennis what does it do?
 
Anonymous
@ConorO'Brien Exactly what you'd expect. It computes E_k = 1/2*m*v*v
 
those bits are optional description args
 
Anonymous
The : 'kg' and -> 'J' are just function annotations
 
It specifies 'kg' and 'm/s' as the default values for m and v, doesn't it?
 
2:41 AM
No, it does not.
 
@Mego oh, cool
 
Anonymous
They don't actually do anything normally, but libraries can use them for neat stuff
 
Anonymous
That's a large part of how Cython works
 
Oh right, that would be def kinetic_energy(m='kg'...
 
>>> def kinetic_energy(m: 'kg', v: 'm/s') -> 'J':
...     return m * v**2 / 2
...
>>> kinetic_energy.__annotations__
{'v': 'm/s', 'return': 'J', 'm': 'kg'}
 
Anonymous
2:43 AM
Well actually Cython does its type annotations slightly differently, but it's the same concept
 
Cython can use those annotations when in pure Python mode but in actual Cython you use cdef or cpdef
 
What is this Cython you keep talking about.
 
@Pavel lower level derivative of python
 
Actually cython is a superset of Python
 
So, should I switch to it right now, or could it break things?
 
2:45 AM
It just adds some interactions with the resulting C on top
 
But it is still lower level no?
 
@Pavel Don't it isn't usually worth it
@Downgoat I mean not especially
 
Anonymous
@Downgoat Not quite. Cython code, when run on regular Python, acts just like regular Python code. When it's run on Cython, it has several differences (static typing, for one), can be compiled to C, and often is faster than pure Python.
 
Does it always compile to one C file or can there be multiple?
 
What does TFW stand for
 
2:59 AM
@Qwerp-Derp That feel when
 
@Downgoat Not sure, why do you ask
I mean the output is then usually compiled into just one executable so it doesn't particularly matter
 
I need more combinators for my challenge
 
What challenge?
 
Anonymous
@Downgoat I believe each Cython file/module/whatever is compiled into a single C translation unit.
 
Anonymous
I haven't used Cython in a while, so I'm not 100% sure
 
3:05 AM
2
A: Sandbox for Proposed Challenges

Qwerp-DerpCombinatory Conundrum metagolf Introduction: Combinatory Logic Combinatory logic (CL) is based off of things called combinators, which are basically functions. There are two basic "built-in" combinators, S and K, which will be explained later. Left-associativity CL is left-associative, which ...

Check the hackmd link
 
 
@Pavel \o/
Also @Pavel can you help making combinators pls
Google Prettify is really really bad
Why does SE even use it?
 
3:32 AM
Is that the syntax highlighting thing?
 
Yeah
It's just really really bad
Something like highlight.js would be better, despite its larger size
 
trying that bounties quine challenge
13
Q: Quine that takes as input the name of a language and outputs the same thing implemented in the input language

marcogFrom Quine central: Write a quine that takes as input the name of a language and outputs the same thing implemented in the input language. The source article has something you can work from, but as the author says this is much harder. Obviously you only need to support a limited set of language...

I'll be surprised if I get two TBH
 
@DestructibleWatermelon I'm confused by the challenge
 
in fact it almost looks like a dupe, but it might be something I saw on wikipedia
 
3:56 AM
Chat is ded
 
IT'S ALIVE
 
And that's your attempt to perform digital CPR?
 
It appears to have succeeded.
But only temporarily.
 
How trash is Google Prettify, on a scale of 1 to 10, with 10 being really trash?
IMHO it's pretty bad
 
Hey @EᴀsᴛᴇʀʟʏIʀᴋ, imgur.com/gallery/V53I3.
10
 
4:00 AM
docs.google.com/forms/d/e/… In case someone still hasn't seen it, 2017 time capsule form.
 
I was wondering for a second if there was a meta meta.SE
 
that seems useless
 
4:19 AM
@El'endiaStarman hahaha
 
What's the shortest way to floor an integer in Java?
 
On an entirely different topic, I just learned that friction welding of wood is a thing. Mind blown.
 
@Qwerp-Derp It's an integer.
It's already floored.
 
@El'endiaStarman .... I just realized you just rickrolled me
ಠ_ಠ
 
4:34 AM
¯\_(ツ)_/¯ I think it's a good song.
 
@EᴀsᴛᴇʀʟʏIʀᴋ 36 hats and you wear one of the easiest to get
 
Hey, I've been tinkering all day with the ASCII alphanumeric restricted source challenge and I got down to this codegolf.stackexchange.com/a/105854/42091 does anyone have any pointers for golfing it further? I can't think of anything except possibly modifying the source code that's JJEncoded, which would put me back to square one.
 
@Doorknob pastebin.com/raw/L9DSy427 interesting results as well
 
5:03 AM
CMC: Given string, make and output a pastebin link that contains that string. (Would make into real challenge but TOS gray area)
 
Yay its snowing
First time since 2013
@HelkaHomba has to be pastebin?
 
@Dennis that's quite some golfing you've done there!
 
Thanks. :)
 
@betseg Or some similar pastey site
 
Bash, 29 bytes: curl -F 'f:1=<-' ix.io<<<"$1"
29 28: s/ '/'/
 
5:14 AM
uh.. what
 
@PatrickRoberts Answering my mini challenge I think
 
@mbomb007 recursive solutions in Python have been doing well for a while
 
I got the first part but what does s/ '/'/ mean?
 
@mbomb the implicit looping of recursion is strong, plus not having to write both input and print
 
Does anyone know how to convert lambda calculus to combinatory logic?
I need halp
 
5:24 AM
Heh, I've re-purposed an old field monitor into a small external terminal display (/YouTube screen).
 
Anonymous
@HelkaHomba jQuery, 123 bytes: (k,c)=>$.post("http://pastebin.com/api/api_post.php",{api_dev_key:k,api_option:‌​"paste",api_paste_code:c}).done(console.log) (parameters are API key and content)
 
@Dennis Do you know about lambda calculus and combinatory logic?
 
Anonymous
Actually, make that 117: (k,c)=>$.post("http://pastebin.com/api/api_post.php",{api_dev_key:k,api_option:‌​"paste",api_paste_code:c},console.log)
 
5:43 AM
@Qwerp-Derp I know that they exist, but that's pretty much all I know.
 
6:07 AM
I got my ES6 restricted source answer to 520 bytes down from 812!
 
0
Q: longest common subsequence bitstring implementation

SridharanFollowing is a spoj problem which asks us to find the longest common subsequence of a string. Problem Link: LCS0 I first tried O(mn) time and O(max(n,m)) space complexity which yielded me TLE. I googled for the answer, I found that there is a O((m*n)/w) (time complexity) algorithm involving bi...

 
@NewMainPosts not a valid challenge, nuke it.
 
Dammit I need to wait for Zgarb again...
 
7:02 AM
This is the fewest people I have ever seen in the nineteenth byte.
 
7:25 AM
PSA: It's been more than 2 weeks since Python 3.6 was released, and TIO still uses 3.5 :p
 
@Dennis ^
@betseg Anything intresting changed?
 
You can declare variables without assignment \o/
AND give them a static type
The formatted string literals are cooll. It'll be nice to not cast to an String every time.
0
A: Sandbox for Proposed Challenges

PavelOutput a random OEIS sequence code-gofsequenceinternet Your challenge: Connect to the Online Encyclopedia of Integer Sequences OEIS.org, access any random valid sequence, output it's ID, and ouput all of the members of the sequence provided by the OEIS entry. The only website you're allowed to ...

What do you guys think of ^
 
0
A: Sandbox for Proposed Challenges

PavelOutput a random OEIS sequence code-gofsequenceinternet Your challenge: Connect to the Online Encyclopedia of Integer Sequences OEIS.org, access any random valid sequence, output it's ID, and ouput all of the members of the sequence provided by the OEIS entry. The only website you're allowed to ...

 
7:43 AM
hi folks, how's it going?
 
Absolutely fine, how are you?
 
I've been better..
just had a wisdom tooth removed :/
 
Europeans aren't
USWest people aren't
 
Yes I understand how to convert lambda calculus to CL now!
Finally
 
USEast people would be asleep but PPCG users are psycopaths who stay up 'till 3
 
7:45 AM
@Qwerp-Derp check out ski.aditsu.net
 
@aditsu Whoa kule
Can I include a link to it for my sandboxed challenge?
 
sure, I'm just not sure how well it suits your needs
 
@Pavel eu waking up, na preparing to sleep
 
it's afternoon in Asia
 
@aditsu S x y z outputs (x(z)(y(z)))
 
7:47 AM
UTC is almost 8
 
It's meant to be (xz(yz))
 
Most of europe is 9-10
EST is 3 AM, I was wrong on that.
 
@Qwerp-Derp xz should be the same thing as x(z), just shorter way of writing
 
@aditsu No, (x)z is the same thing as xz
x(z) is different
 
What do you guys think of my challenge?
 
7:48 AM
I don't know what (x)z is supposed to mean :p
 
@aditsu CL is left-associative, so (a b) c reduces down to a b c
Not the other way around
@aditsu Also S S S S -> (x0->(x1->x0(x1)((x2->x1(x2)(x0(x1)(x2))))))
Don't know if it's meant to be like that or not
 
@Qwerp-Derp I think that's correct, and I don't see the problem
 
x z != x (z) is what I'm saying
x z = (x) z
 
@Qwerp-Derp well, I disagree with that
 
@aditsu But that's the definition of combinatory logic... :(
 
7:55 AM
it doesn't say anything about (x)z there
basically I see all those variables as functions that take functions and return functions, right? so x(z) is applying the function x with the argument z
 
But it does say E1 E2 E3... is short for ((...(E1 E2) E3...)...)
 
no, it's (E1 E2) and the rest
 
@aditsu Oh that's what you mean
Ah
So in your output x(z) = xz
I thought x(z) was saying that z was in another group
 
I could probably improve the code to remove unnecessary parens
 
@aditsu Sorry, my misunderstanding
 
7:58 AM
np, I'm glad we can find some common ground :)
you can see what my "interpreter" does for x y z, (x y) z and x (y z)
 
>_<

Java has a built-in for cube roots without any imports, but not for checking primality.
 
cube roots? what?
 
0
A: Can this number be written in (3^x) - 1 format?

PavelJava (OpenJDK), 39 bytes n->(n=Math.cbrt(n+1))==(int)n?(int)n:-1 Try it online! What is this, we can have a built in for cube roots but not checking for primality?

 
@aditsu Can you make a permalink feature?
 
@Pavel huh.. I was gonna say Math is an import, but it's in java.lang so I guess you can say it's not
 
8:03 AM
I mean, you can import static java.lang.Math.*
But why would you?
 
Java doesn't even have a type for complex numbers lol
 
@Qwerp-Derp I probably can, but it's not on my todo list
 
ijustrealizedthechallengesaid3^xnotx^3oopsignoremeguys
 
S (S (K S) (K S)) (S (S (K S) (S (K K) (K K))) K)
Changes x y z to y z x
 
indeed :)
 
8:14 AM
0
A: Can this number be written in (3^x) - 1 format?

PavelJava (OpenJDK), 50 bytes n->(n=Math.log1p(n)/Math.log(3))==(int)n?(int)n:-1 Try it online!

Fixed
 
@aditsu Can you include the B and C commands in as well? If you can I have this:
B (C C) I
Which should do the same thing as the thing above
 
oh, I didn't really know B and C, let me take a look
that should be fairly easy
 
hmmmm, what is a decent language that usually has one line
eso probably, but not as eso as brainflak
 
Mathematica
 
hmmm, how hard to learn mathematica and write quine...
hmmmm, actually let me get back to python with that one
I have new idea for approach
 
8:29 AM
Mathematica has a function that returns the string representation of it's parent function.
So not that hard.
 
Uhhh what about unlambda or underload?
 
that is too cheaty
hmmm, I'm working on a new approach with python though
 
@Pavel but it would be cheating
 
ToString[#0][] & []
Anyway, my Java solution beat @KritixiLithos' Processing solution, so I can go to bed happy today.
 
@DestructibleWatermelon I'm partial to CJam
 
8:32 AM
I'm actually working on python solution again
 
@Pavel I don't use lambdas in my Processing answer
 
Why not though
 
> We don't yet support any of the Java 7 and Java 8 language features.
 
@KritixiLithos That's the only downside to Processing
 
So my point stands.
 
8:36 AM
@aditsu Is it done yet?
 
I just outgolfed processing, and processing can't do anything about it.
Feels good
 
@Qwerp-Derp just copied over the code and set up the project, give me some time :p
 
argh this is hard
 
hmm, gwt seems to get stuck on compiling
 
8:54 AM
OMG DID I JUST MAKE IT ALMOST
ok, lets see if I can finish it off
oh wait I forgot the conditional
wait yeah this is still gonna be hard
oh yeah, still gonna be annoying
mostly from string delimiters too
dammit more string delimiter madness
 
Hi Downgoat
 
9:10 AM
yay, working on localhost
 
@aditsu Yey
 
@Qwerp-Derp ok, do a hard reload and try again
 
@aditsu Parse error: 'B' (code 66) not handled
 
that means it's still cached..
 
Yey it works
B (C C) I x y z gives y z x
 
When one of your test cases doesn't work, so you comment it out.
 
argh delimiters strike again
 
Is it possible to line up all of the late-night shows and plot them from left-leaning to right-leaning?
 
9:46 AM
are there right-leaning late-night shows?
 
10:14 AM
@NathanMerrill I'm not sure either.
@El'endiaStarman Woah!
I do however suspect that moisture changes might destroy it easily.
I'll stick to glue in the meantime :D
 
10:42 AM
C(BB(BC(B(CI)I)))Ixyz = zxy
 
Anonymous
@flawr banned
 
2016 = 3³+4³+5³+6³+7³+8³+9³
2016 = 666+666+666+6+6+6
2016 = 2^10 + 2^9 + 2^8 + 2^7 + 2^6 + 2^5
2016 = 1 + 2 + 3 + ... + 62 + 63
2017 sucks
 
But it is prime
 
even worse
 
oh wow, 2016 has some really cool properties
 
11:03 AM
Guests are going to come soon and I'm sitting in a room all by myself in front of the computer :/
 
0
A: Sandbox for Proposed Challenges

Keyu GanParking lot manager Task You are a supervisior of a parking lot and you are asked to calculate how many cars are in the lot at the same time, at most. Sadly, you only have disordered in/out data from the gate. Standard rules apply. And this is a code-golf so shortest code wins. Input descript...

 
hello
 
11:41 AM
@Qwerp-Derp How did you find it? Bruteforce?
 
-1
Q: String pattern matching

Hema Rangaswamygiven a alphanumeric string ,the numeric value will repeat the alphabets so many times e.g. a1p2l1e1 means apple. and when the other user inputs the apple ,it should do pattern matching and return boolean value.how to code in oops?

 
@NewMainPosts It's unclear, it don't have a winning criterion, and it's visibly a programming question
20/20
 
@Fatalize Nope, through these rules (which requires an understanding of lambda calculus): en.wikipedia.org/wiki/…
 
12:04 PM
@Fatalize?
 
@Mego glue is banned???
 
Anonymous
@flawr No, fun is banned
 
@Mego oh ok, I'm going back to work then...
 
Anonymous
12:21 PM
@mınxomaτ Apparently neither does that person
 
I just added a new reply. It shall be the last, I can't really see the logic here.
 
@mınxomaτ Oh great, I found some cameras of my uni.
 
Neat
 
@Dennis I love the way TIO nexus looks on mobile - great work there
 
Let's find out if these things have default passwords...
 
Anonymous
12:27 PM
CMC: given an IP for one of the IP cameras minxomat found, output the GPS coordinates as precisely as possible (GeoIP info and analyzing the camera feed helps)
 
Anonymous
But GeoIP is not terribly accurate
 
@Mego by "analyzing the camera feed", are you referring to metadata?
 
@Mego Also, sort of relevant for the latter part: xkcd.com/1425
 
Anonymous
@PatrickRoberts I mean looking at the video feed and determining the coordinates based on what is seen
 
12:30 PM
aha, yeah, that's basically impossible
 
Oh great, a local hospital is also in there.
 
@Mego Seeing that even a few TNB users failed to identify that dexter kill room thing from yesterday, I'm not terribly optimistic.
 
Anonymous
I should make a website that displays a random camera feed each refresh
 
Anonymous
@mınxomaτ I'm doing it via command line now - I want a website with a button that loads a random feed each time it's clicked
 
12:33 PM
CMC.
 
Anonymous
I'll whip a GH page up real fast
 
It should have like a control room layout with multiple cams at once and switch regularly. Basically what the above linked VLC thing does, but more elegant.
 
Rename PPCG to Hacking.SE
 
@KritixiLithos Did someone say hacking???
 
@KritixiLithos Uhm, we're just browsing the internet, aren't we?
 
12:36 PM
Rename PPCG to Crypto.SE
Because our code requires deciphering for it to be readable
 
@KritixiLithos TheRussians.SE
 
So how do you protect the cameras from being accessed?
 
@mınxomaτ LOOOL TIL my neighbour has a webcam
 
@KritixiLithos Setting a password would be a good start.
 
Could you explain the scanning of the cameras in a bit more detail and easy words (I still don't understand how exactly you got the urls and how you can control the cameras)?
 
12:40 PM
I have a database of HTTP headers and the first few bytes of IPv4. That can be searched for known magic numbers and manufacturer names.
If admin:@127.0.0.1 then doesn't give a 403, it's insecure.
 
How do you get the database?
 
Scanning. That's part of my job.
 
Interesting...
 
Anonymous
mego.github.io/c4viewer (make sure to allow unsafe scripts, since all of these cameras load on http, and there's no way to disable https on GH pages)
 
Whichi company has the logo OR?
I can see one of their offices I think
 
12:51 PM
Why IP cameras don't have a password by default srs
 
This feels kinda creepy... is this legal?
 
I'm pretty sure viewing is legal
 
Viewing yes, controlling no (really it depends on laws in the country, but generally no)
 
Anonymous
It's 100% legal
 
Anonymous
Maybe a touch unethical, but legal
 
1:00 PM
I've never seen a camera lense like this before: 65.34.233.108:8081/cgi-bin/… it's oddly disorienting
 
I'm seeing cows, quack!
 
*moo?
 
****, Something accidentally downloaded something while viewing the cameras
Oct 26 '15 at 18:03, by Kritixi Lithos
user image
 
Anonymous
 
75.226.193.84:63/cgi/COUNTER:NONE look what the guy does (it's funny)
 
Anonymous
1:10 PM
@KritixiLithos 0/10 too obvious
 
@KritixiLithos who flagged this? xD
 
Anonymous
Not I
 
Someone flagged it? Why
 
Anonymous
Unfortunately, rickrolls aren't flagworthy
 
@KritixiLithos they don't know how chat flags work? they're extremely offended by Rick Astley? idk :p
 
1:15 PM
How does a flag get resolved?
 
There's nothing offensive about Rick Astley, but in general deliberately disrupting a conversation may get you kicked, and repeated disruption may get you suspended from the chat network.
 
@KritixiLithos ಠ_ಠ
 
I'll leave rickrolling to the experts then :P
 
@Zacharee1 They didn't know the rules, unlike Rick.
 
@KritixiLithos chat flags get broadcast to everyone in chat with at least 10k total earned network rep (so assoc bonus doesn't count). We can choose if we think it's valid, invalid or if we're unsure.
 
1:30 PM
I need more combinators for my challenge... I'm not even close to 100
I've got 41 so far
Can you guys give me some combinators?
 
Ah, ok I understand it now.
 
Yes 50 combinators!
Do you guys think this is good enough for publishing?
2
A: Sandbox for Proposed Challenges

Qwerp-DerpCombinatory Conundrum metagolf Introduction: Combinatory Logic Combinatory logic (CL) is based off of things called combinators, which are basically functions. There are two basic "built-in" combinators, S and K, which will be explained later. Left-associativity CL is left-associative, which ...

Guys?
 
1:45 PM
riseup.net/en/canary I guess the bird is dead.
 
@Qwerp-Derp Took me a while to read... I've added some comments now.
I don't know enough to ask about how non-normal statements are to be handled.
 
I'm a little confused right now... I genuinely can't tell whether this account and this one are connected
 
Hidden communities
 
Can you hide all of your communities on only one site?
 

« first day (2170 days earlier)      last day (2682 days later) »