« first day (2068 days earlier)      last day (2778 days later) » 

7:01 PM
@ConorO'Brien moral of the story: Element is dumb.
 
@El'endiaStarman =/
In the help section it also says that you could rightclick, but nothing ever happens.
 
I was right about the [enter] button not working.
12
A: We have updated jQuery to 1.12.4 - please report related bugs here

Shadow Wizard This is now status-completed Enter key no longer submit a comment when pressed, as it used to do before. Observed both when adding a comment and when editing a comment. It does work on per-site metas, i.e. bug applies to all main sites. (including MSE) Browser: Chrome latest stable (53)...

Needs more jQuery
 
clever way to make a long string in java
go
 
@zyabin101 My user agent is whatever I want it to be.
 
IMHO user agents should have been deprecated long ago.
 
7:09 PM
@Dennis i agree
but http 1.1 thinks otherwise
 
long long string
 
@Poke Obtain a large input stream then use one of the techniques here: stackoverflow.com/questions/309424/…
@Poke mon
 
Rod
@Poke String a = "a";for (int i = 0; i <10; i++){a+=a;}
or the loop of your preference
 
a zero
 d 1
 zero 1
 i _

# switches two variables
# swap <x> <y> <t>
a swap
 zero 3
 _s1 1 2 3
 #fail

a _s1
 i 3
 _s2 1 2 3
 #fail

a _s2
 d 1
 _s1 1 2 3
 _s3 1 2 3

a _s3
 i 1
 _s4 1 2 3
 #fail

a _s4
 d 2
 _s3 1 2 3
 _s5 1 2 3

a _s5
 i 1
 _s6 1 2 3
 #fail
a _s6
 d 3
 _s5 1 2 3
 i _
@ETHproductions I think this switches two variables in addict, except for maybe the #fail statements. idk what to put there
 
@Poke new Long(0)+""
 
7:13 PM
@PhiNotPi aw, okay
 
@ConorO'Brien An always-succeeding statement, like i _, or if success doesn't matter, d
 
@ETHproductions I see. what is _? And what is "better practice"?
 
@ConorO'Brien It's just a variable. I use it as a placeholder, not assigning any value to it. "better practice" would be i _. And here's an always-succeeding function that's way better than i _:
 

 Casual Chat Chess

A free-for-all chess game. Rules: (1) Post an updated board w...
 
 a success
  i _
  d _
  success
 
7:17 PM
@mbomb007 mon, just need it to be arbitrary
 
Then the zero function would be
 
@Rod I didn't want to use a loop but i think i'll end up going with this anyways
@Geobits ._.
 
a zero
 d 1
 zero 1
 success
 
private String generateLongString(final int length) {
        final String a = "aaaaaaaaaa";
        final StringBuilder generated = new StringBuilder();
        for (int i = 0;i < length / 10;i++) {
            generated.append(a);
        }
        for (int i = 0;i < length % 10;i++) {
            generated.append("a");
        }

        return generated.toString();
    }
lulz
i guess i should ++i instead :\
 
ah my "ping" message was sent? i was trying my connection and didnt thought it was sent, if i noticed it i would've deleted the message
 
7:21 PM
@ConorO'Brien Phigs is gonna be epic when it's done (AKA if I ever make it).
 
    private String generateLongString(final int length) {
    	char[] chars = new char[length];
    	Arrays.fill(chars, 'a');
    	return new String(chars);
    }
If you wanted a realish answer ;)
 
oo that's better
i knew there was a thing
@Geobits++
 
I'm sure there are methods specifically for that if you happen to be using something like StringUtils or Guava already, but I wouldn't import them just for this.
 
yeah it's just a unit test
it might be fun to abuse StringUtils.leftPad, though
 
Like return leftPad("",length); ? That's just plain mean to readers :P
 
7:32 PM
@ETHproductions How about simply adding an i 1 into a A and then working with helper functions of the form 3*2^n?
 
haha yeah
>.<
 
Hey Mods, is this true? I thought the consensus was that the policing of chat was only really for mods who were online and active on chat atm:
@BetaDecay Chat is as much moderated by moderators as the rest of the network. — Alex A. ♦ 5 hours ago
 
@PhiNotPi I don't have one, but are bots welcome?
 
Does anyone else ever got bored while at work (as in there isn't much to work on)
 
7:41 PM
@confusedandamused Yes. That's basically the only thing propping up the entire SE network.
 
lol I just don't want to be the only one aha
I've finished all I was asked to work on, and the other guy has to review it and do some stuff with it then I need more to work on
 
@confusedandamused I get bored during free periods in school all the time, but there isn't an internet connection in the common room :(
 
@confusedandamused Guess why I joined PPCG
 
So I have to leave PPCG until I get home
 
@BetaDecay Sucks
 
7:43 PM
@BetaDecay Isn't all moderation really only for those who are online and active at the time? I'm not a mod, but I was under the impression that there's not a concrete obligation to work X hours per week or anything.
 
@flawr That's why I'm here but I more or less just lurk because I'm not sure how to approach the questions
 
@Geobits Oh, there isn't? Huh, I always thought that you had a certain obligation...
 
@trichoplax As in a bot to play chess? I'm not sure if that's a good idea to allow (mainly out of concern of making it less fun for other people).
 
@flawr :'( Why do people have to personify all these inanimate objects in space?!
 
I don't have a problem with people using opening books and similar resources, though.
 
7:45 PM
@PhiNotPi Hmm. Maybe a room-bot who only moves if it's been X hours/days since the last move or something?
 
@El'endiaStarman Cause we like to personify everything.
 
@Geobits That could be a good idea.
 
@El'endiaStarman Because space probes are really cute
 
@El'endiaStarman Marky is hurt by your implications here :(
 
@Geobits Marky's not in space though.
 
7:46 PM
@PhiNotPi I know it's not enforceable but it would be good to make it clear what's expected
 
@El'endiaStarman He takes up enough space on my drive though.
 
^^ star if you cry every time
 
@El'endiaStarman Everything is in space, even you are.
 
How heartless are you that you don't feel sorry for Spirit in that comic? xD
 
7:47 PM
i meant no star 4 u
 
@BetaDecay I never said I didn't, and I ain't givin' you no stars!
 
yay! my connection is down, wanted to check the isp's website, it's down too
 
@BetaDecay You know you can edit rather than delete and repost the correction?
 
@trichoplax sometimes mobile chat borks
 
@trichoplax Nope, I can't, it's a glitch with the mobile site... It's really annoying
 
7:49 PM
@BetaDecay Are you using android?
 
Yup
 
That's odd. I edit on mobile often and don't have that issue.
Are you using the new or old mobile site?
 
New
 
Weird
 
You can still use options->request desktop site
 
7:52 PM
@flawr on a 5-inch screen? no thanks : D
 
Yeah, the desktop site on mobile is pretty terrible.
And not worth switching for a single edit unless it was a really bad one ;)
 
@flawr Gah, I don't wanna do that. I think I might just install that chat app
 
@BetaDecay there is a chat app?
 
Has anyone raised the problem with the new mobile chat?
 
the editing thing?
 
7:53 PM
Yes
 
Not yet
 
(This is the first I've heard about it)
 
betseg, you do it
 
@betseg that's what zoom was invented for
 
I haven't, but it's because it works fine for me. What exactly is the glitch anyway?
 
7:54 PM
@trichoplax yes
@flawr zoom in one part, dont see the rest
 
Have you ever tried zooming on the desktop chat on mobile? It's bewildering
 
i request desktop site to upload images tho
@Geobits you edit, it wont edit and post the new text
 
@Geobits Sometimes, when you edit a message, it posts the edited message as a new message
 
@betseg or don't see anything cause there are only crappy mobile versions of the sites
 
Oh. Yeah, I haven't seen that happen. It's not a connection issue?
 
7:56 PM
@trichoplax yep, I frequently use the "request desctop site" feature, cause I'm sick of the crappy restricted mobile sites
 
I don't think so. I have a pretty sound connection
 
I've seen it happen on my desktop very occasionally, so I don't know if it's actually a mobile issue.
 
I'll search meta.se
 
@MartinEnder I found another type of example my Retina program didn't work on. retina.tryitonline.net/…
I'm ready to give up.
 
7:57 PM
6
Q: Editing a previous message posts a new one instead

user213963When editing a message in the new mobile chat, a new message is posted instead of replacing the edited one. Steps I followed to reproduce: I posted a message in (new mobile) chat. Then I selected the message and clicked the pencil icon in the menu bar. The previous message was displayed, a...

 
10/10 highly recommend
 
What are some good hash functions to use for a Bloom filter? (They don't have to cryptographically secure) I ask because I'm looking at my proposed Bloom filter question and need to figure out which hash functions people should be allowed to use. Each hash function simply needs to hash a single printable ASCII character to a single number 0-31.
 
@Rainbolt What VCS do you use?
 
@confusedandamused TFVC. We're experimenting with moving to Git
I personally don't care. Some people in the office like to fuss about it more than others, but I think I would be happy using either.
 
8:12 PM
@Rainbolt I'm most familiar with Git ~command line not the GUI~ - is there an easy way to create branches using TFS?
 
Yea. I right click on a branch and click branch.
And TFS is not TFVC
TFS is a work management system
TFVC is a version control system
 
Oh I assumed they were the same - is it different to push to the new branch then ie: checkout ?
I'm watching the nunit stuff now too :D
 
I'm actually not that familiar with the differences between the two. I can check out files, make changes, and check in my changes. Some files can be checked out by multiple developers (C# files in particular). Files that don't merge well, like a jpg image, can only be checked out by one user at a time.
After I check in changes, I can merge them to another branch
Merging takes some self-control, but with the newer versions I usually get a huge warning that says "You're about to perform a merge in a direction that nobody has ever merged before! Are you sure you wanna do that?!"
 
haha filext allows regex in their php search
 
Ah we're only a two man team right now but it's still frustrating trying to push commits even at times since on my own time I use git, push to a featureNameBranch and then merge with master once I'm satisfied with it
 
8:20 PM
My ISP's website is still down, so is my ADSL
 
@PhiNotPi I support phigs. And figs, too.
@ETHproductions btw I'm going to port addict to node js. Or, at least, try to.
 
Nice!
The Internet Archive is now available from Russia.
 
8:35 PM
Congratulations! Welcome to the internet
 
@Rainbolt So I'm going through some old code - what sort of thngs do you normally look for to write tests on?
 
@mbomb007 just saw your edit, that's not a valid test case
(it's ambiguous)
 
@Qwerp-Derp Are there more docs on logicode than github's readme? I was looking at your quine bounty offering, but couldn't figure out how to output ASCII at all until I searched some of your answers here.
 
I'm not totally happy with how it looks, but I think this is good enough. My wordiness distribution since January 1, 2016, on a monthly basis.
 
@Rainbolt I've read previously on SO that it's generally hard to go back and write tests for old code rather than writing it fresh
 
8:44 PM
tfw you have to tell a fellow employee that your internal app doesn't do what they're asking
 
@El'endiaStarman Mine is.... odd looking
Not that I think it's wrong. It's just an odd representation.
 
Odd how? Seems to me like you simply didn't chat very much during July.
 
Just that it looks like someone stomped on it and folded part of it up.
 
You also didn't chat very much during January. Winter/summer vacations/breaks maybe?
 
i just change the uid to mine, yeah?
 
8:49 PM
July in particular was an interesting month, yes. Dunno about January.
 
why am i not getting the datasss
 
@Poke Yep, that's all.
 
maybe i have the wrong id
 
Has to be your SE chat user id.
 
there we go
 
8:49 PM
Make sure you rerun the SQL too if you change the id, not just the js
 
noice. i have no idea how to interpret what i'm looking at
 
Y axis (initially on the left, numbered like 1 2 3...) is month number, X axis is wordiness, and Z axis is count, how many messages there were of each number of words.
 
@Poke A graphical representation of some data, displayed on a computer monitor by means of electron movement converting energy into photons.
Dangit, edit-ninja'd
 
roger that. well i guess it's about right
 
@MartinEnder Oh right, nvm.
 
8:59 PM
There are quite a few homemade languages around here. What criteria must a homemade language satisfy in order be used in a challenge, apart from not being newer than it, and having an interpreter/compiler available?
 
It shouldn't violate any of the standard loopholes.
 
@Hohmannfan It also has to be able to A) add two numbers, and B) calculate prime numbers.
 
@Maltysen No, that's not required.
 
@Dennis oh
 
@Hohmannfan You can use it in a challenge, it just can't win.
It's also frowned upon to create a built-in specifically for a particular challenge.
 
9:01 PM
CMC: this
5
Q: Sum two integers, unless they are the same, in which case return double their sum

GuestI was doing a simple problem on codingbat and testing out my python. The problem was: Given two int values, return their sum. Unless the two values are the same, then return double their sum. sum_double(1, 2) → 3 sum_double(3, 2) → 5 sum_double(2, 2) → 8 My solution was: def sum_double(a...

 
Looking at TIO's logs to find out which browser I should support for v2. I can't believe what I'm seeing.
 
So if I get an interpreter online, and create a few sample programs like a primality checker in it, I am pretty much good to go for new challenges.
 
@DJMcMayhem param($a,$b)$a+($b,(3*$b))[$a-eq$b]
 
@Dennis what do you see?
 
@DJMcMayhem ?qFQysQs
 
9:03 PM
@Dennis Lots of IE?
 
Two requests with user agent "Mozilla/4.0 (compatible; SiteKiosk 4.0; MSIE 5.0; Windows 98; SiteCoach 1.0)", two with "Mozilla/1.22 (compatible; MSIE 5.01; PalmOS 3.0) EudoraWeb 2", one with "Mozilla/4.0 (Windows; MSIE 6.0; Windows NT 6.0)" and way too many with MSIE 7 or 8.
 
@Hohmannfan Yeah, pretty much.
 
@Dennis gonna guess work/school
 
And that's today.
 
"Too Java-y"? In Java I'd write: return a==b?a*4:a+b;... — Olivier Grégoire 11 hours ago
 
9:06 PM
@Maltysen pyth?
 
yah
probably suboptimal
but stratightforward
 
CMC: same thing in brain-flak
 
J, 5 bytes: +*1+=
 
Also, this is what I came up with: lambda a,b:(a+b)*((a==b)+1)
 
lambda a,b:a+b<<(a==b)
 
9:09 PM
Oh wow. What does << do?
 
Or the Jelly way: +æ«=
 
@DJMcMayhem bitshift
times 2 if (a==b)==1
 
Oh, genius!
I got it down to lambda a,b:[a+b,a*4][a==b]
 
So tempted to answer that CR question with # Python, 22 bytes....
 
Huh. I always thought bitshift had precedence over addition in python. I guess that's why I don't python.
 
9:12 PM
Is it different in Java? According to this, addition has higher priority.
 
It's like that everywhere I think
 
Not in Julia.
 
@Dennis No, it's the same. I thought it was in python, that's all.
I don't really know why I thought it was, now that I think about it :/
 
What? Bit operations have lower precedence?
 
Probably some golfed code I read wrong at some point.
 
9:15 PM
I have joined chat from my phone. Truly, we live in the future.
 
@TimmyD hiya!
 
@betseg Very low. In C/Java, &, ^, and | have even lower precedence than == et al.
That's not true in Python though.
 
Oh yeah, bit shift. ... param($a,$b)($a+$b)-shl($a-eq$b)
 
does 0x00 mark the end of an input stream?
 
A stream is rarely ended with a null byte.
 
9:18 PM
@Dennis Oooooh, maybe that's why I thought so. I knew it had a different precedence than something, so I might have attributed it higher.
 
@Dennis so let's say I'm given input as a user for a stream. how do I signify the end of the stream?
 
@ConorO'Brien The end of the stream is the end of the stream, no marker needed. Which language are we talking about and what kind of input (interactive, piped, etc.)?
 
@Dennis interactive. I'd usually do ^D or ^Z but that doesn't seem to be working. (Node JS)
 
No experience at all with Node JS. Sorry.
 
that's okay
@Downgoat could possibly help
 
9:23 PM
My main complaint with precedence is that in Java, !var instanceof Tree doesn't work since ! has too high of a precedence (it complains that it can't negate the object, which doesn't make sense).
 
same in js
 
Those IE 5/6 users won't be happy with the switch to v2. It can't even connect to the website.
 
@Dennis make it a redirect to chrome portable download: portableapps.com/apps/internet/google_chrome_portable
 
@confusedandamused I mainly write tests for new code, but sometimes I will write new tests for old code when a bug is found, to make sure the bug doesn't come back.
 
@Rainbolt Thanks for the input sorry for bugging you :)
 
9:29 PM
anyone here running Vim?
 
OK, if the results of IE NetRenderer are correct, the current TIO is already unusable in IE8 and down.
 
@confusedandamused If I am here, I am already distracted from work, so it's no problem at all
Which makes me miss the old room quote, but I see that the room owners are unanimously‌​ (this surprised me) against bringing it back
 
@orlp Only from.
 
@orlp o/
As we speak
 
@orlp yup
 
9:34 PM
can you guys test something?
>
>
 
Sure
 
enter that in a new buffer (no syntax highlighting or syntax set)
just two > separated by a newline
put your cursor on the first line
then press capital J
 
That's gives me > > with the cursor on the space
 
=/
it gives me >
 
(Although I could have told you that from memory)
 
9:36 PM
as if it's markdown
 
@DJMcMayhem same
 
I must have some setting
or some plugin
 
what does J do?
 
that changes the behavior, but I don't know what
it joins lines
super useful
 
What do :nmap J and :se ft? give?
 
9:37 PM
no mapping found and filetype=
which makes it weird for me
 
That's bizzare
 
@DJMcMayhem what if you do the same thing
but with set filetype=markdown first?
 
No difference (other than highlighting)
Which version are you on?
 
it's not the vim version
it does what you expect if I use vim -u NONE
so it's some setting/plugin I have
alright, let's try without any plugins first
same thing, so it's not a plugin
found it set formatoptions+=j
j	Where it makes sense, remove a comment leader when joining lines.  For
	example, joining:
		int i;   // the index ~
		         // in the list ~
	Becomes:
		int i;   // the index in the list ~
I want that feature
the problem is, why does vim think that > is a comment in a buffer without syntax set up
 
Ah, makes sense. That works for me too.
Sounds like a good question for
 
9:50 PM
ah
set comments
:h format-comments
"s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-")
so by default it thinks > is a comment
I assume because of email?
alright
I think the solution is just that I gta set up some better set comments for 'no filetype' and one for brainfuck, where this went wrong
 
Scary usage of permissions
O_O You have 777 on your WEBSERVER?!?! — Android Dev 7 hours ago
3
 
@DJMcMayhem how did you do that?
 
@noɥʇʎPʎzɐɹC SE sites onebox
@mbomb007 oh god... why? ??
 
@DJMcMayhem Technically it's not a onebox, and I know this because of the work I did to parse the TNB transcript. Namely, there's no class="onebox ob-..." attribute.
 
Practically, I do consider it a onebox.
 
@El'endiaStarman knows <s>everything</s> all the technical details
 
@BetaDecay It's not possible to add a diamond character ♦ in your username.
 
@mbomb007 I did it once and told no one - now it's fixed :(
 
wat
 
10:06 PM
WHY IS THE BLACK DIAMONDS SUIT EMOJI RED?!!?
 
the transcript said that usernames can only contain alphabetical chars and whitespace
 
Why are you yelling?
 
AHHHHHHH I CAN'T HEAR YOU
 
@noɥʇʎPʎzɐɹC You could probably use ⧫ instead.
"Black lozenge"
 
10:07 PM
0x29eb
 
but I use numerals in the name ≈_≠
 
@mbomb007 Not possible.
> Oops! There was a problem updating your profile: Display Name can only contain letters, digits, spaces, apostrophes or hyphens and must start with a letter or digit
 
wtaf i can't open TNB
 
Shame. Two diamonds are better than one.
 
10:10 PM
@Dennis Only ASCII letters? :{
 
> Deceptive site ahead: Attacks on tommedley.com may trick you inot doing something dangerous or revealing personal info
help pls?
 
@zyabin101 Who said anything about ASCII? (We have small caps, don't we?)
 
:D
Which letters in Unicode do count?
Those that have the Lx cata?
 
Everything that's matched by \w, I suppose. Would depend on the regex flavor.
 
I seem to have found a miracle.
 
10:13 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Is this on Chrome? Does it only happen for TNB? If so, click Details, then allow, and give me your parents' credit card numbers.
 
okay
it says 123123123123
 
The Backblaze Storage Pod is wonderful.
 
Aah... the joys of college-kid-in-an-apartment cooking.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Doesn't look valid. Seriously though: Chrome? Only TNB?
 
10:16 PM
Hello
 
@Dennis yeah, I found the problem
was an extension I had
y u do dis xkcd-word replacement ;_;
uninstalled
 
@Geobits I'm busy making a documentation for Logicode, the link is here
 
I wish there was a comprehesive dotfile compiler. :3
 
10:18 PM
how would that work?
 
@zyabin101 ?
 
So, this compiler works as easy as mkdotfile vimrc.Dotfile.
Inside the Dotfile, a module and options are chosen:
 
Flushing a toilet with mercury. Because why not?
 
The module kinda says for what the dotfile is compiled, and the options in the module say what the dotfile would be.
CMC: flush a toilet with ... uh... erm...
 
Flushing a toilet with oil would probably be pretty ineffective. :P
I wonder if you could flush a toilet with hexafluoride gas. I would think so, but turbulence might prove to be an issue.
 
10:24 PM
for this experimental CMC, let's choose ... eh... uh...
Hmm, let's flush one with bromine. :P
 
@El'endiaStarman 14 minutes?
fuck off
1 minute would've been plenty
greedy assholes =/
 
@zyabin101 how would you compile a dotfile?
 
epic <s>biology</s> warfare
 
--- on either side
epic biology warfare
 
10:31 PM
(Also, if you wish to DIY a Backblaze Storage Pod, good luck with obtaining the corpus. For ver. 6, the STEP file is 27 MB, and the Solidworks one is 112.)
(Converting both to the normal STL format is a pain. For Solidworks, you have to obtain Solidworks, et for STEP, there's a long search to do.)
 
@orlp I personally think that kind of language is unwarranted.
 
which makes 2 unwarranties
 
@El'endiaStarman why? I am legitimately pissed off at youtubers wasting my time
turning 1-2 minute videos into 15 minute long filler crap
 
it's your choice to click the video and to continue to watch it.
 
no I didn't
I closed the video
the topic was interesting but I couldn't watch it because I'm not wasting 15 minutes on it
and that is frustrating
 
10:39 PM
it couldn't possibly be wasted time if it was truly interesting to you.
 
obviously not the full 15 minutes are interesting
 
I suppose so
 
(Oh, and the ver. 1 corpus model doesn't even disclose its format in its blog post.)
 
@ETHproductions in your code for decrement, you decrement the variable without actually ensuring its existence. Wouldn't that give NaN? L13
 
@El'endiaStarman for the record, the 'fuck off' is aimed at the video creator, not you
 
10:53 PM
@orlp Oh, I knew that. I'd have been more harsh in my reply otherwise.
 
angry fitting star
 
2
Q: Knowing the answer in Hangman

MarkusWillsonWrite a program, that, given a string, outputs the first instance of each letter. Imagine you were playing hangman and you immediately guessed the answer; all you have to do is name the letters, from left to right. For instance, for the input string THE THEORY OF SYMBIOGENESIS would be THEORYFS...

 

« first day (2068 days earlier)      last day (2778 days later) »