« first day (1766 days earlier)      last day (3077 days later) » 

9:00 PM
nah, you need the Universal Fix-my-Java solution - add throws Exception to all your method definitions
 
0
Q: Bernoulli Numbers

MegoThe Bernoulli numbers (specifically, the second Bernoulli numbers) are defined by the following recursive definition: Where denotes a combination. Given a nonnegative integer m as input, output the decimal representation OR a reduced fraction for the mth second Bernoulli number. If you outpu...

1
Q: Guess the hidden communities

ZgarbBackground This challenge is about the stochastic block model. Basically, you are given an undirected graph, where the nodes represent people, and the edges represent social connections between them. The people are divided into two "communities", and two people are more likely to have a connecti...

 
@VisualMelon Doesn't always work.
 
@ev3commander Thread.sleep may throw an InterruptedException. Why that is considered a checked exception is beyond me.
 
@VoteToClose oh, please do elaborate, this is literally how I stay sane when I use Java, what are it's limitations?
 
@VisualMelon Assume an interface from which you must implement some code. You do not have access to the runner class, but the runner class has access to you. It's main method does not throw Exceptions, class system breaks. Game over.
 
9:03 PM
Err..
Does anyone know what to do when the only room owner accidentally de-owners themselves?
 
...
 
@VoteToClose ah, yes, I vaguely recall knowing someone who had to cope with that once... I don't know if they are still with the living, but I'm not sure on the details
 
-.-
It's bad practice. xD
 
@quartata Talk to a mod
 
@quartata get someone else to pin messages?
 
9:04 PM
@quartata Get a mod to reinstate them.
 
@El'endiaStarman ...like you?
 
Why are main post id's in order but not meta's?
 
@VoteToClose #thisiscodegolf
 
Anonymous
9:05 PM
@quartata Don't do that?
 
aye, that it is, but I refuse to use any of the Java IDEs for Coursework, so such things take me time to deal with - I do, however, put in all the imports manually! import java.* is for really lazy and stubborn people
 
[chuckle]
 
@Calvin'sHobbies profile created when you first visit thing?
 
You really have to watch where you're clicking
 
@VisualMelon I do this all the time. :D
 
9:05 PM
@Optimizer I mean questions
 
@quartata we are all watching the star next to your message before clicking
 
I also put them all on one line.
 
@Calvin'sHobbies they dont?
 
9:06 PM
I take great pride in sorting my imports by package, to make it look like I care, and hopefully get marks I would otherwise lose for not commenting my code
 
@VisualMelon I let my IDE do that for me
 
Last 3 meta qids: 7600, 7614, 7623
 
they are in order, just skipping beats.
 
@Optimizer see above - I am pretty picky with IDEs
notepad and some thing called gedit which the university machines have are what I code all my Java in
 
Anyone use Intellij?
 
9:07 PM
@Calvin'sHobbies ids shared with answers
lol
 
Ah, darn
 
import java.util.*;class a{public static void main (String[]a){while(1){long a=System.currentTimeMillis();while(System.currentTimeMillis()-1<a};System.out.pr‌​intln(new Date());}}
does that work
 
it doesnt make any sense. DB wise, they will go into different tables..
 
@JAtkin Yes me
 
Anonymous
9:09 PM
Sounds like a question for @ChrisJester-Young
 
@JAtkin me2
 
@Optimizer I was gonna try linking to a post that doesn't yet exist and then gonna create it
I still can I guess
 
@VoteToClose Yes, for the most part. I'll look over Vitsy again in about 12 hours or so. I have other work that I have been procrastinating on until then.
 
import java.util.*;class a{public static void main (String[]a){while(1){long a=System.currentTimeMillis();while(System.currentTimeMillis()-1<a};System.out.pr‌​‌​intln(new Date());}} does that work
 
@Calvin'sHobbies Error 404?
@ev3commander Use for(;;)
 
9:10 PM
ok
 
@VoteToClose Right, but in a while it should be a real post. But wait! It's an question link...
 
@ev3commander Remove the space between main (String[]a)
 
CBS is interviewing one of the team leads at my company about Cyber Safety
 
oh my god my eyes are bad
 
Calvin is such a hipster. He wants to link to a post before it exists
 
9:12 PM
Will one of those onebox? That is the question
 
Have we done any SQL golfing here?
 
that sounds interesting
 
We have tips for golfing in T-SQL
 
oh! Rainbolt wants a tips tagged question!?
 
9:14 PM
@ev3commander Try (String[]a){for(long a=System.currentTimeMillis();;for(;System.currentTimeMillis()-1<a;)System.out.pr‌​intln(new Date()));}
 
import java.util.*;class a{public static void main (String[]a){for(;;){long b=System.currentTimeMillis();while(System.currentTimeMillis()-1<b);System.out.pr‌​int(new Date());}}}
 
@Calvin'sHobbies what are you trying to do?
 
nice thanks
 
dont abuse it or posting question links will be banned too!
 
i was being sad
 
9:15 PM
I'm not quite sure that works.
 
@Optimizer One of those will be a valid link for the next q/a. I want to see if they onebox
 
What're you trying to do?
 
@Calvin'sHobbies onebox after u post the question and then come back here and reload page?
 
Oh yeah and print not println
unless the rules say no
 
@Calvin'sHobbies it would be same as oneboxing an image somewhere and then changing the content of the image later on keeping the url same.
both of them dont work.
 
9:17 PM
0
A: Bernoulli Numbers

Alex A.Julia, 53 bytes B(m)=m<1?1:1-sum(k->binomial(m,k)*B(k)/(m-k+1),0:m-1) This creates a recursive function B that accepts an integer and returns a float. Ungolfed: function B(m::Integer) m == 0 && return 1 return 1 - sum(k -> binomial(m, k) * B(k) / (m-k+1), 0:m-1) end

 
@ev3commander Yeah - also interface a{static void main(...
 
Apparently doesn't retroactively onebox
 
I remember learning stuff with Kronecker symbols in it but had no idea how it was called for a long time and I had no luck with googling like "a per b in parens" so thanks for that @Sherlock9 !
 
That's true of message permalinks too. See below.
9 secs ago, by El'endia Starman
That's true of message permalinks too.
 
9:18 PM
7 secs ago, by VoteToClose
Otherwise this would cause a loop.
 
@VoteToClose hahahaha
 
@randomra No problem. I'll see what other number theory stuff I can try posting.
 
I kinda now want it to cause a loop!!
 
Me too. xD
 
1 min ago, by Optimizer
50 secs ago, by Optimizer
23 secs ago, by Optimizer
9 secs ago, by Optimizer
recursive abuse
wat
am I the only one seeing it? or everyone else too?
I am just hitting up and enter.
 
9:21 PM
No, that's proper behavior.
 
but I am not even editing it! just up and enter
 
But that does "edit" it.
 
@Optimizer But the vote count in oneboxed messages is what is was when the message is posted. Does that mean my message above knows that the answer linked didn't exist when I posted it?
yesterday, by Calvin's Hobbies
@NewMainPosts It's interesting that the vote count in chat linked messages doesn't update. That must mean they keep track of the exact time of each vote.
 
I mean, the link is same, so the content of onebox should point to the original thing only
 
import java.util.*;interface A{static void main(String[]a){for(long b=System.currentTimeMillis();;)for(;System.currentTimeMillis()-1<b;)System.out.print(new Date());}}
 
9:22 PM
@Calvin'sHobbies no, they just read html and save it in chat message
 
^ probably that
 
@Optimizer But the chat message history is just the link
 
Oneboxes are evaluated at the time of hitting enter.
 
@Calvin'sHobbies some special column
2
A: Bernoulli Numbers

Alex A.Julia, 53 bytes B(m)=m<1?1:1-sum(k->binomial(m,k)*B(k)/(m-k+1),0:m-1) This creates a recursive function B that accepts an integer and returns a float. Ungolfed: function B(m::Integer) m == 0 && return 1 return 1 - sum(k -> binomial(m, k) * B(k) / (m-k+1), 0:m-1) end

 
9:23 PM
1
A: Bernoulli Numbers

Alex A.Julia, 53 bytes B(m)=m<1?1:1-sum(k->binomial(m,k)*B(k)/(m-k+1),0:m-1) This creates a recursive function B that accepts an integer and returns a float. Ungolfed: function B(m::Integer) m == 0 && return 1 return 1 - sum(k -> binomial(m, k) * B(k) / (m-k+1), 0:m-1) end

 
@VoteToClose I got lots of errors on the class one. W/o errors: import java.util.*;class a{public static void main(String[]a){for(;;){long b=System.currentTimeMillis();for(;System.currentTimeMillis()-1e3<b;);System.out.‌​print(new Date());}}}
 
oh!! it did!
 
:25797719 ooh
 
Yours did update
 
but after some time. blames caching
 
9:24 PM
@ev3commander Use Java 8.
 
i am
i think
 
Alex got 2 free upvotes :D
 
That's some fast golfing right there @AlexA.
 
The following message that I put out is compilable code:
import java.util.*;interface A{static void main(String[]a){for(long b=System.currentTimeMillis();;)for(;System.currentTimeMillis()-1<b;)System.out.print(new Date());}}
 
Anonymous
@quartata Alex is a mathy person, are you surprised?
 
9:25 PM
@VoteToClose What challenge is this?
 
Idk.
 
@Mego No, but it was still pretty nice.
 
I'm just rewrapping his Java for concision.
 
Reminds me that I never did a Catalan numbers challenge
 
isn't class shorter than interface
 
Anonymous
9:26 PM
@quartata He probably started writing it while the Q was sandboxed
 
Not if you remove the public statement. ;)
 
@Mego Oh, I see.
 
oh i saw
 
Respect status = lost
 
Anonymous
damnit you messed up the joke
 
9:26 PM
;_;
 
Can a mod revert an edit on a chat message? What would happen if you reverted to the first edit on @Optimizer message here: chat.stackexchange.com/messages/25797697/history
 
interface (9) < class (5) + public (6)
 
@Mego Oh I have seen would be the proper way anyways
 
@Calvin'sHobbies No.
 
Will the onebox go back to 0?
Oh
 
9:27 PM
@Doorknob Yeah they can...
 
@ev3commander Also - name your .java file A.java. c:
 
@quartata Nope
 
You can just delete the top revision, right?
 
saywhat
 
@VoteToClose it only shows once
 
9:27 PM
Doorknob once tried to fool peeps here that he closed a chat message XD
 
in intellij
 
Oh.
 
@Optimizer or was it marked dupe..
 
@quartata No. We can copy-paste the previous version and "rollback" that way, but that's not a true rollback.
 
I am back!
 
9:29 PM
@Doorknob How do q/a chat oneboxes know how many votes the q/a had when they were sent?
 
@Calvin'sHobbies HTML's cached serverside I suppose
 
2
A: Bernoulli Numbers

Alex A.Julia, 53 bytes B(m)=m<1?1:1-sum(k->binomial(m,k)*B(k)/(m-k+1),0:m-1) This creates a recursive function B that accepts an integer and returns a float. Ungolfed: function B(m::Integer) m == 0 && return 1 return 1 - sum(k -> binomial(m, k) * B(k) / (m-k+1), 0:m-1) end

 
Same with image thumbnails, I think
 
3
A: Bernoulli Numbers

Alex A.Julia, 53 bytes B(m)=m<1?1:1-sum(k->binomial(m,k)*B(k)/(m-k+1),0:m-1) This creates a recursive function B that accepts an integer and returns a float. Ungolfed: function B(m::Integer) m == 0 && return 1 return 1 - sum(k -> binomial(m, k) * B(k) / (m-k+1), 0:m-1) end

 
@Rainbolt who said so?
 
9:30 PM
arg
 
heh
 
@TanMath 121 is not a single digit square..
 
I like how there's a bunch of programmers in here reverse-engineering how the chat functionality works.
 
@Calvin'sHobbies why are you still not convinced what i said?
 
@Rainbolt i will go with yes
 
9:31 PM
Why are stealth pings forbidden?
 
@Mego !!!!! why did you post the challenge!!!
 
@JAtkin Because people were abusing them
 
@Optimizer llamas are untrustworthy :s
@JAtkin see just above
 
Never mind, I lied. Image oneboxes aren't cached. (if you hard refresh, that image will disappear because I deleted it)
 
@Doorknob s/people/sock
 
9:33 PM
@Doorknob Oh, ok I see
 
@Doorknob Witchcraft!
 
​ ಠ_ಠ
 
@VoteToClose problem 1. it's doing currenttimemillis-1, not -1e3. problem 2. its only setting b once
 
@Doorknob it makes sens because the size is unkown and uncontrolled by SE
 
9:34 PM
@VoteToClose 3. its > not <
 
(Is there a size limit? Can you force people in chat to download huge gifs?)
 
@Calvin'sHobbies Yes you can
 
That's what you people did to me once
 
See Doorknob's fractal adventures
 
which slowed Firefox to a crawl
 
9:35 PM
@Calvin'sHobbies no size limit. it will download
 
how does if/else statements work in pyth?
 
Anonymous
@TanMath Because it was ready...?
 
@ev3commander Then do for(long b=0;;b=System.currentTimeMillis())?
 
@Doorknob well you deserved it (re:fractal adventures) :P
 
@Mego now I cannot use Seriously!
 
9:36 PM
@Optimizer I didn't onebox them. :P
... after the first one
 
the first one was in MBs
 
(because I didn't realize what would happen)
 
seriously?
 
Anonymous
@TanMath ?
 
@Optimizer golfscript?
 
9:36 PM
I have a 100mb gif link. Please watch out from now on ;)
 
nope
 
@Mego because permutations and combinations are not yet implemented in Seriously
 
@ev3commander ¯\_(ツ)_/¯
 
Changing a language to fit a sandboxed challenge is a sketchy area too
 
Anonymous
@TanMath You can use Seriously, but you can't use the nCr and nPr functions when they get added. Regardless, they wouldn't be valid even if they were implemented prior to the main post, because the sandbox post predates them.
 
9:37 PM
32
A: Can I invent a language to solve a problem that's in the Sandbox?

VoteToCloseNo. This is similar to updating the language after the actual question has been posted. It's simply no different. To circumvent this loophole, maybe question askers should put the date at which it was posted in the sandbox and say that programming languages must not have features relevant to th...

 
Anonymous
^
 
31
A: Loopholes that are forbidden by default

DennisUsing prior knowledge to circumvent other loopholes In particular, gaining an unfair advantage by inventing new languages for future challenges that are being sandboxed, discussed in chat, are your own, etc. For example, creating a language that solves a task specified in a sandboxed post with ...

 
Anonymous
also ^
 
@Mego oh
 
I have more up votes hehehehe!
 
Anonymous
9:38 PM
@VoteToClose gimme
 
@Optimizer Like that 30-some megapixel cheeseburger picture from a couple years ago.
 
o-o
 
no pyth guys?
 
@VoteToClose Meta upvotes
 
9:39 PM
(Gimme a few seconds.)
 
If you create your own repository that shows updates to your language occurred a week before you actually made them, then you can circumvent the loophole until someone catches you.
 
@TimmyD that's like 15 mb
 
@Calvin'sHobbies Shhh... ;)
 
Anonymous
@El'endiaStarman I am but nothing is happening
 
@Optimizer Durr ... I missed a 0 reading your post the first time ... :-/
 
9:40 PM
muawahahahahaha
 
@Mego Try it now. :D
 
its like that "Comment A in the FB pic and see what happens"?
 
Do image links work in chat?
 
I keep trying but never get lucky :(
 
Anonymous
@El'endiaStarman Still nothing exciting
 
9:41 PM
@El'endiaStarman :D
 
@Mego Really? Try hard-refreshing the tab with the image.
 
I see red people
 
@Mego They actually all go into a Posts table. /cc @Optimizer
 
@Calvin'sHobbies You have to remove the args. https://i.stack.imgur.com/rqJxW.jpg
Instead of https://i.stack.imgur.com/rqJxW.jpg?s=128&g=1
 
Come on, even I knew that years before I started working at the company! :-P
 
Anonymous
9:42 PM
@ChrisJester-Young That's what I suspected. Thanks for clarifying
 
@Rainbolt He's talking about the ![]() syntax
 
@ChrisJester-Young oh right. even its shared on main. /cc @Calvin'sHobbies
 
@Mego Actually, if you play around with SEDE, it'd be immediately obvious. Of course, I knew this even before SEDE existed.
 
@Doorknob Oh. I thought he was talking about "Do image links work in chat?"
 
9:43 PM
I wonder if it's possible to replace an image with a redirect to another page...
 
@El'endiaStarman on server side? why not?
 
@Doorknob I think he just wanted a bigger llama
 
@Optimizer Yepyep. In fact, posts aren't just for questions and answers. There are currently about 10 post types.
 
Anonymous
@ChrisJester-Young I don't play around with it much :)
 
gigger llama?
 
Anonymous
9:44 PM
@El'endiaStarman lololol
 
@ChrisJester-Young can you send us the dump of PPCG posts table? :P
 
@Optimizer It's online at archive.org
 
@Optimizer Geiger llama?
 
llustim geiger?
 
9:45 PM
I just learned something odd.
Half of a chat box:
 
@ChrisJester-Young oh Doorknob was not joking!!
 
@VoteToClose hmm?
 
...
 
I don't think you say that.
 
@Optimizer He was 100% serious.
 
9:46 PM
It melded to the chat box above it.
 
so it means that its not close sourced?
 
9
Huh.
Woah.
Wait.
 
@Optimizer The code is not open-source, but the sanitised data is available for public use.
 
Can you stealth ping people inside of a half box?
 
@Optimizer Same kind of data as you can find on SEDE, actually.
 
9:46 PM
where the fuck is the star ? :D
@ChrisJester-Young ok
 
@VoteToClose Your edited message has no history link o.o
 
@Mego Nope, didn't even know it had been in the sandbox. (cc @quartata)
 
This is wonderful.
 
and soon it will be banned! sigh
 
9:47 PM
@Calvin'sHobbies It wasn't edited. It just got merged with the half chat box that was there
 
Wait, how about this one: (I need someone else to post first.)
 
hi
 
(Buffer)
 
9:48 PM
l
 
m
 
Half a chat box. xD
 
@Doorknob Hello
 
@Mego why doesn't your reference implementation work?
 
@Doorknob Not happy to see alex, huh?
 
9:48 PM
D:
 
@Calvin'sHobbies Yes it does. :P
 
I found the menu for the half chat message. You have to hold your mouse in just the right place.
 
@Calvin'sHobbies no idea what you're talking about
 
Wait, it gets better - you ready?
 
9:49 PM
@VoteToClose html u202?
 
@AlexA. He ll oo
 
H i
 
@Optimizer Nope.
 
why are you always editing it?
 
Anonymous
@TanMath Read and be enlightened
 
9:50 PM
Also - hover your mouse over the half-box.
2 mins ago, by VoteToClose
 
@Mego lel
 
Anonymous
This doesn't work. For the millionth time, test code before you post it. — Mego 27 secs ago
 
@VoteToClose nothing happened..
 
@TanMath Whats the error?
 
Exactly.
 
9:52 PM
@VoteToClose But nothing happened with the other ones...?
 
Anonymous
@MorganThrapp The reference implementation is only to make clearer the definition of a Bernoulli number, not to actually solve the problem. — Mego 48 mins ago
 
@El'endiaStarman You can find the history on that box.
 
@Calvin'sHobbies it is not a decimal
 
I wrote my answer to Bernoulli numbers while it was in the sandbox, but it got deleted and I had to rewrite from scratch after it was posted to Main. Does this make legitimate or not?
 
9:53 PM
@VoteToClose oh right. the edited icon was not appearing for others but the last one
 
@VoteToClose How interesting.
 
Anonymous
@Sherlock9 Yep, as long as you aren't using a language or language features that didn't exist prior to the sandboxed post.
 
It's just a gray line. xD
 
@Mego Thanks
 
I'm never telling you guys how I did that. xD It's mine.
 
9:53 PM
am I correct?
48 secs ago, by Optimizer
@VoteToClose oh right. the edited icon was not appearing for others but the last one
 
> Half-box messages are henceforth forbidden in this chat room. Their use may result in a suspension. - 1h ago by Dennis
 
GODDAMMIT.
 
I said so!
 
@Calvin'sHobbies Nice try
 
I'm predicting the future at least :P
 
9:54 PM
he is
 
Anonymous
> Fake mod quotes are henceforth forbidden in this chat room. Their use may result in a trout slap. - 10m ago by Doorknob
8
 
If you keep this up, pretty soon suspending things will be suspended.
 
I posted 3 answers today within the span of a couple hours. I'm at work. >_>
@Mego This I could see happening
 
How on earth with I test @Eumel's LabVIEW code on my Kronecker question?
 
Uhhhhh buy LabVIEW?
 
9:55 PM
@AlexA. I have completely forgotten to do any of my assignments today. Yay!
 
> All messages are henceforth forbidden in this chat room. Go run around outside. - 4m ago by Alex A.
16
 
lalalalalalala
 
@AlexA. Know what? I'm going to take Eumel's word for it and just upvote their answer
 
What even is LabVIEW?
 
> Markdown is henceforth forbidden in this chat room. Its use may result in Mountain Dew. - 1h ago by Dennis
 
9:56 PM
@Mego why would you put a reference implementation that doesn't work?!
 
Whoops...
 
Anonymous
@Sherlock9 That's kinda how I operate. If I can't test an answer and it's not blatantly incorrect, I assume it works.
 
Anonymous
5 mins ago, by Mego
@MorganThrapp The reference implementation is only to make clearer the definition of a Bernoulli number, not to actually solve the problem. — Mego 48 mins ago
 
Blurry pencils. xD
 
> Not wearing a scarf is henceforth forbidden in this chat room. Doing so may result in forced knitting lessons. - 5m ago by Martin Büttner
 
9:58 PM
@Mego good job!
 
@Doorknob Well, @Optimizer is safe.
 
Anonymous
I'm not going to give you free code that fully works, where you just have to golf it. Shame on you for trying to copy the reference implementation.
 
@Doorknob ur the first one
 
@AlexA. It's like logisim with more colors
 
Anonymous
You are awarded no points, and may Doorknob have mercy on your soul.
 
9:59 PM
@Calvin'sHobbies lol
 
> Knobs are henceforth forbidden on all doors. Hope you like sliding. - 6m ago by Dennis
 
@quartata i didnt get the joke
@AlexA. japanese ftw
 
@Optimizer There was no joke. It was just random nonsense.
 
@Sherlock9 You can get a 45-day trial of LabVIEW here: ni.com/download-labview
 

« first day (1766 days earlier)      last day (3077 days later) »