« first day (2266 days earlier)      last day (2577 days later) » 

9:01 AM
hello
 
Is there a way to search through the comments posted on a challenge?
 
@seshoumara You could request the comments through the API.
 
@Mego I think you commented once something about the fact that this is code golf, we're not here to write portable code, or write according to best practices.
I'm trying to find that comment, does anyone remember it?
 
Anonymous
I could look through my comments
 
9:04 AM
thanks
 
@seshoumara +1 for technique, but could be golfed more.
It's a really efficient algorithm though.
O(1), if my calculations are correct.
 
@wizzwizz4 To what are you reffering?
 
1 min ago, by seshoumara
I'm trying to find that comment, does anyone remember it?
Delegation.
 
:)
my only hope is if someone remembers it, as I don't know how to search comments
 
@seshoumara You could go though every comment ID. That's not too hard, though it could bring slow down the SE servers if you request them all at once.
 
9:07 AM
how?
 
@seshoumara Hover over a link to a comment in your inbox.
Look at the URL.
 
I only know to search using the search bar, and at type there's only is:question or is:answer
 
@seshoumara You'll have to write a custom script; the search bar doesn't do comments. :-/
 
yeap, exactly my problem, and I don't know any JS or web programming stuff
 
We can use SEDE
 
9:10 AM
@ASCII-only Iirc that doesn't do comments... does it?!!
 
Anonymous
I haven't found that comment through searching back in my comment history through July
 
it's not that important either, if Mego doesn't find anything, then I leave it be
ok
 
Anonymous
It's entirely possible it was deleted at some point, either by me or by a mod
 
@wizzwizz4 It has a comment DB, brb searching
 
@Mego I only guessed it was you, not sure actually
 
Anonymous
9:12 AM
I remember making a similar comment at one point
 
Anonymous
I found a few similar comments (not made by me):
 
Anonymous
My C is rusty, but those calls to sizeof seem like they could be replaced by a magic number. Maybe it wouldn't be as portable, but hey--this is code golf. — DLosc May 6 '15 at 5:57
 
it wasn't technical stuff
 
visited 493 days, 95 consecutive
This is where I'll mess up again
 
Anonymous
9:17 AM
Yeah, I can't find the exact comment I remember. It must have gotten deleted.
 
just a fun comment
 
@seshoumara just use SEDE
 
I am now.
 
@BassdropCumberwubwubwub Vote. Every day.
The system requires an action, not just a visit, so remember to vote.
Asking / answering also counts, but it's easiest to vote and ask / answer..
 
@ASCII-only thanks for that link, I didn't knew of SEDE, I thought one needs to write an independent JS, jQuerry stuff program. I'll remember it for my future search needs.
I ran the script and apparently a lot of users said that comment in one form or another :)
 
9:26 AM
@seshoumara Cite all of teh thingz.
Actually, you might go over the post length limit if you cite all of them.
 
it's a common thing to say to those new to PPCG and to golfing in particular. I was just about to do that myself, and that's how I remembered of one such comment some time ago.
Here are a few examples:
"Here at codegolf the main objective is not to use best practices, or to write beautiful, maintainable, or platform-independent code."
 
@seshoumara You can one-box them by providing comment links.
 
Really? I thought beauty was among the goals...
 
@JanDvorak Beauty is subjective.
 
we have popcons
 
9:30 AM
Some consider Q to be an ugly HQ9++ quine, but others don't.
 
Grapher is online.
 
According to the latest definition, it's not even a quine
 
@JanDvorak Shush... :-P
 
@wizzwizz4 that script provides no links to the comments
 
@seshoumara Add AS [comment link].
If that doesn't work, try AS [post link].
 
9:42 AM
@wizzwizz4 Actually I barely ever vote, I lurk more.. I usually look at a few posts, then get back to work, then back to ppcg etc etc. Apparently that's enough for the system to register my activity
 
@BassdropCumberwubwubwub Oh. Perhaps it's just a homepage view that it doesn't count.
 
@wizzwizz4 and how do I get to the actual comment with the number 6625?
 
@wizzwizz4 It counts homepage views for me
 
@ASCII-only Huh. I read somewhere (mSE?) that homepage views didn't count.
-.(o.o).-
If it's a bug, it works in our favour! ;-)
 
well at least I think so
 
9:44 AM
I found that comment, but it was an answer comment
 
0
A: Sandbox for Proposed Challenges

flawrHeapify a list code-golfdata-structures Given a list of integers, heapify this list and return it. Details Your implementation can produce min- or max-heaps, whatever is more convenient. Definition A min-heap is a complete binary tree where the values stored in the children of a any node ...

 
user image
4
The sandbox has been viewed 100k times!!!
6
 
This day has come... At last.
 
Hmm... what's the worst that could happen when the sandbox gets closed?
 
9:57 AM
@ASCII-only the language for the script you provided me is SQL?
 
@JanDvorak A disease could break out an erase all the life on earth.
2 years, 7 months open, currently 1596 answers but none of them have been accepted. The guy who asked must really be a jerk.
 
s/when/because/
 
> Primarly opinion based
wat
 
@JanDvorak That challenges can't be sandboxed, so an increase of bugged challenges that could have been salvaged by posting in the Sandbox first.
i.e. damage on main
 
@seshoumara yeah (T-SQL)
 
9:59 AM
@EriktheOutgolfer I think you're exaggerating.
 
@JanDvorak Exaggeration lowered.
 
Did we already have a challenge about heaps?
 
lowering taken :-)
 
@seshoumara btw this works (btw the autolinking isn't part of t-sql :P)
 
@flawr That means that whoever has posted a catalog on main is also a jerk???
 
10:08 AM
I'm not sure what to say, because IIRC this includes me XD
 
@ConorO'Brien D: you forgot about this week's tetralingual tuesday
@flawr nope reads post i'm a bit familiar now :P
it seems like sorting -> turning into a tree would work?
 
I don't think so.
 
@EriktheOutgolfer When would it not work
 
Oh wait, I wasn't thinking out of the box.
So, something like this pseudocode would work: (x)->turn_into_tree(sort(x))
Except that if the language isn't called Mathematica it's highly unlikely there would be a turn_into_tree built-in.
 
so, sort backwards and call it a day?
 
10:17 AM
@JanDvorak or forwards
 
I have thought of something.
But it involves exponents. Anyways, here it is:
First, take a list x
Then sort x.
Then, group the elements of x in chunks of consecutive powers of 2 starting from 0, e.g. if sorted x is [1,2,6,7,9,11,50,5000] it would turn into [[1],[2,6],[7,9,11,50],[5000]].
 
wait a second, output is a list
 
I didn't finish.
 
then wouldn't be any sort command be a valid solution? e.g. sorted in python
 
You join by spaces then newlines, like this:
1
2 6
7 9 11 50
5000
 
10:23 AM
@flawr What format is the output in
 
Of course, a more valid solution would be to really turn into a tree, like this: [1,[2,[7,[5000],9],6,[11,50]]]
 
 
1 hour later…
11:53 AM
@ASCII-only ah right, that totally defeats this challenge, thanks=)
@ASCII-only should again be a list.
@EriktheOutgolfer many languages unfortunately do not support that kind of mixed lists
 
@flawr Yeah I wasn't sure because it seemed too easy haha
@flawr Many of those that don't support mixed lists support custom datatypes though
 
Which add a lot of unnecessary bytes=)
 
^ That's not your problem.
 
anyway, I'm trying to come up with a new heap-based challenge
@EriktheOutgolfer but what if I want to participate too? :D
 
That's not in the scope of this discussion rn. We are discussing about the question, as well as language support. We aren't discussing about the answerers.
And yeah, if Jelly's is a valid answer, the challenge is pretty much defeated.
 
12:28 PM
posted on April 13, 2017 by Okx

FzzBuzz - FizzBuzz without I code-golf restricted-source Your task is to print all numbers 1 through 1000 inclusive, separated by a non-alphanumeric character such as a newline or a space, but if the number is a multiple of 3 print Fzz instead, and if it is a multiple of 4 print Buzz instead, but if it is a multiple of both print FzzBuzz. The catch is that your code cannot contain the lette

 
huh, have the oneboxes for posts on Stack Exchange sites changed formatting?
 
Okx
i think so, yeah
 
Seems the same to me
 
err, I mean posts on the sites
 
@JanDvorak ais523 means that the sandbox formatting has changed.
 
12:36 PM
@ais523 No, that's just what happens if SE tries to onebox a deleted post
 
@EriktheOutgolfer I checked the flags, it's a "primarily opinion-based" flag
which I guess is technically an accurate description? I don't think we should really be using those flags on Meta though
@ASCII-only oh, in that case we should probably unstar the post
 
@ais523 That case has been already reviewed by me and flawr.
 
user165474
@ais523 Removed my star.
 
Nah, if we were to close the sandbox, the best choice is clearly too broad
 
well, it's broad, but is it too broad? I think it's exactly broad enough to fulfil its function
 
12:38 PM
There are far too many possible answers...
 
@ais523 Wait a sec, that post has never been deleted!
 
let me onebox something to see how it looks now
wait, did that not onebox at all?
 
user165474
Nope. >_>
 
let me try again
 
12:41 PM
that's not a deleted post though
 
user165474
It's not oneboxing anything >_>
 
user165474
But yeah, any final thoughts on this before I post? codegolf.meta.stackexchange.com/a/12048/42649
 
maybe oneboxing is just broken right now
 
\o/
SOCVR is taking over the chat
 
12:45 PM
Seems they have disabled oneboxes
 
And why are we accusing SOCVR?
 
I think they're the first ones that forbid oneboxes in their room
 
you know, I really wouldn't be opposed to a ban on oneboxes
they take up a lot of space, and so if they aren't relevant to the conversation you're interested in, they're really distracting
 
I'd vote for their ban, actually
 
(especially because maybe ~50% of the oneboxes in TNB are somewhat offtopic anyway)
 
user165474
12:49 PM
What's SOCVR
 
Some are distracting, sure. Amazon, usually Wikipedia, etc. Q/A oneboxes are nice, and usually relevant.
 
images are often offtopic, although I guess those aren't technically oneboxes
 
It's a bit odd that it doesn't seem to have been mentioned on Meta (yet) though, if they've actually just turned them off.
 
user165474
Okay. Thanks.
 
12:50 PM
Not turned off.
 
I imagine close vote review involves a very large number of links to posts and/or reviews, and oneboxing all of them would likely be overkill
 
Probably. In a normal chatroom it's better to onebox them imo, since there's no way to know what post it is without clicking through otherwise.
I don't generally memorize post numbers, at least.
 
on most (non-SE) chat systems I've been on, it's usual to give a description of a link if you want people to follow it
and SE chat markdown even lets you put a link behind a particular word
 
Yeah. Oneboxing is a nice shortcut imo. They could generally be a bit smaller though.
 
user165474
It's annoying when a deleted/closed challenge is oneboxed
 
12:54 PM
And wikipedia oneboxes are just way too big.
 
user165474
Wait, this chatroom has wikipedia oneboxes?
 
@HyperNeutrino Don't try.
 
I think all of them do by default.
(so the chat sandbox would be a good place to chek it out)
 
user165474
Okay. Thanks.
 
when a Wikipedia post is sufficiently relevant to the conversation (i.e. everyone participating would need to look at the article), oneboxing it would arguably make sense; that just doesn't happen very often
 
user165474
12:58 PM
@ais523 I agree. Is there a way to post a link without it getting oneboxed?
 
Sure, but i still don't think it needs to include the first 6/7 lines of text.
It won't get oneboxed as long as it's not a bare link.
 
@HyperNeutrino Type a description
Or include a bit of text next to it: example.com
 
user165474
Oh.
 
user165474
*facepalm*
 
@HyperNeutrino just put any non-link text on the line: en.wikipedia.org/wiki/Code_golf; or give a link description: Code golf on Wikipedia
 
user165474
12:59 PM
 
user165474
Yay.
 
@Geobits You can't just delete when you've been ninja'd! :-)
 
Apparently I can ;)
 
@Geobits That's a technicality.
 
I picked a link that actually would onebox, as a demonstration, so I'm not sure if it technically counts as being ninja'd
even though all the content was in wizzwizz4's post
 
1:00 PM
@ais523 You could argue that yours doesn't... But Geobits' was definitely one. :-D
 
Well mine was a boxable link too, so there :P
 
@Geobits You have no proof.
 
user165474
So ais523 was ghost-ninja'd by Geobits
 
@wizzwizz4 Well I can still see the history, so I could screenshot it, but it's definitely not worth that. Besides, you're a mod, and can see it for yourself. If you don't want to look, that's up to you ;)
 
@Geobits wizz often likes to disprove you.
 
1:09 PM
@EriktheOutgolfer I like to try.
But I know when I'm beaten.
 
user165474
Question: Can mods/chat mods see deleted messages and can they see revision histories for chat messages?
 
@HyperNeutrino Yes and yes.
 
user165474
Okay. Thanks.
 
user165474
oh wow I got a rep change on stack overflow for the first time in a few months >_>
 
Just had a person contact me asking me to message someone who owns a misbehaving service... They own the service...
 
user165474
1:13 PM
@Poke Are they aware of that?
 
I sure hope so... They drew red lines with mspaint under the requested url
 
@Poke Pretend that you didn't notice.
 
Maybe it's the hosting infrastructure... I hope it is anyway
 
Write a formal message to them with their name, etc. describing what the message should.
 
@wizzwizz4 Like just tag them on the issue and ignore that it's the same person?
haha
 
1:14 PM
@Poke Yes. See how long it takes them to notice. >:-)
 
user165474
hah
 
user165474
wow ^
 
That's pretty devious
 
user165474
Pretend you didn't notice.
 
@Poke Then you've got a paper trail if they complain.
Yes, you did message the person who owned the service.
Here's the relevant log. Evidence.
(Although paper trails are best done on paper.)
 
user165474
1:18 PM
@wizzwizz4 Really? I thought paper trails were done best on a chalkboard.
3
 
@HyperNeutrino Some people get an email instruction, do the thing, get sued, then find that the email doesn't hold up as evidence.
ianal, but better safe than sorry.
 
user165474
I suppose, yeah that's a good point
 
Even worse is people who get a verbal instruction.
 
user165474
Oh yeah... there's practically no way to prove that.
 
@HyperNeutrino And if you try, you can be sued for unauthorised recording.
(Of course, you shouldn't be recording anyway...)
 
1:30 PM
Wait, you guys don't have a recording of everything that happens at work? Weird.
 
Wait, we are not all Geobits? Weird...
 
@Geobits Iirc in some parts of the US it's illegal.
 
@EriktheOutgolfer Not all of us can be robots. Then we'd have no one to learn from
 
@Poke Unsupervised learning?
Anyway, most bot tasks are communicating with humans.
 
At least downvotearchy doesn't ensue...
 
1:34 PM
Humans don't even conform to standards!
 
@wizzwizz4 Robots learning from other robots is a recipe for disaster.
 
@Poke That's not what unsupervised learning means.
 
Then what does it mean?
 
@wizzwizz4 Oh I don't mean I'm doing the recording. The Company does it, both video and audio.
 
@Geobits That makes lots of sense.
It's quite sensible, really.
 
1:35 PM
Oh, then the star on my message should be retracted.
 
You know who reprogrammed the bots to like removing things.
 
@wizzwizz4 Especially when you work somewhere that makes/stores explosives and munitions ;)
 
user165474
Geobits -> Geobots? Maybe a typo? ‮
3
 
user165474
hehe i broke the starboard >_>
 
Blame it on Geobits.
 
1:40 PM
Not a typo. It used to be Geobot, singular.
But the bot broke into bits, and here we are.
 
user165474
Theory confirmed.
 
So you're saying that you're old
 
I'm not sure how that follows at all.
 
@HyperNeutrino do you have a rtl override character in your name just in case you hit the starboard >.<
 
Bot => becomes old => so breaks into bits => Bits
 
user165474
1:43 PM
@Poke I accidentally pasted an RLO at the end of my message because you know, everyone keeps those on their clipboard for no reason. But no that's not allowed, I tried but it's not allowed :( and if you observe, I have 3 messages on the starboard right now
 
@KritixiLithos No, Gears of War broke it, not age. Before GoW came out I never had an issue using the name. Then all of a sudden it was taken everywhere.
 
oh yeah... i'm a dumb
 
user165474
lol
 
user165474
yeah you can't have characters that aren't alphanumeric, spaces, or underscores
 
> everyone keeps those on their clipboard for no reason.
Any references?
 
1:47 PM
What sort of reference would convince you? Testimonials? Because I do ;)
 
user165474
@EriktheOutgolfer No... I don't think normal people do. (sorry @Geobits, you're not a normal person according to me :P))
 
i think that was hyperbole
 
@HyperNeutrino It isn't Geobits who had that character on their clipboard though, it was you.
 
@HyperNeutrino what about a Nermal person
 
user165474
@EriktheOutgolfer But he gave a testimonial (i think?)
 
1:49 PM
you know the other cat from Garfield
 
user165474
no...i don't :P
 
oh :[
 
0
Q: Which answer is correct?

JohnLBevanI saw this elegant logic puzzle on Mathematics: Which answer in this list is the correct answer to this question? All of the below. None of the below. All of the above. One of the above. None of the above. None of the above. One user submitted a nice answer in code, which inspired this puzz...

 
 
user165474
yeah i looked it up, but i have no idea :P
 
1:52 PM
@EriktheOutgolfer I keep my password on my clipboard, and that contains a right to left override.
 
@DownWat minecraft-skin-viewer.com/player/technotim75 It's based on Slamacow's old skin, but the inside of my sleeves are red.
 
user165474
@wizz Uh WAT??
 
@HyperNeutrino Nothing.
 
user165474
hehe :P
 
user165474
Why do you have RLOs in your password >_>
 
1:53 PM
Because that guy
All sysadmins know that guy
2
 
@HyperNeutrino So people can't look at the plaintext of my password, type it in, then log in.
There are too many Plain Text Offenders out there.
 
i<32‮!↓etov
 
Plus, it wrecks all of the emails they send me with my password in them.
@EriktheOutgolfer That's not my password.
You added a bit at the end that you shouldn't have.
" a right to left override." shouldn't be there.
 
No.
 
user165474
1:55 PM
I love to downvote?
 
I love to vote down!
2
 
user165474
@EriktheOutgolfer Same thing >_>
 
Except that yours means that the is to the left of vote, and there's a ? instead of !.
 
@EriktheOutgolfer I have located Geobits' sock
 
Really I should've used ▼, not ↓.
 
user165474
1:57 PM
@EriktheOutgolfer Close enough <_<
 
BTW on the starboard my message appears like I am a psycho who loves to downvote stuff.
 
@EriktheOutgolfer That's why you never post anything that can be taken out of context and used against you.
 
No it can't, site mods can see my voting patterns and disprove whoever uses that as evidence.
 
@EriktheOutgolfer Voting patterns are hard to get to.
 

« first day (2266 days earlier)      last day (2577 days later) »