« first day (1841 days earlier)      last day (2987 days later) » 

10:02 PM
Hey @Doorknob, say I have a NeoVim session that I've :split with one pane being a :term.
Now, how do I copy all the stuff in one pane and submit it in the terminal emulator?
 
You should drop that and try jQuery.
 
I wonder if the j stands for joseph or something.
 
jQuery is really great and does all things. Right @CᴏɴᴏʀO'Bʀɪᴇɴ? :P
 
@AlexA. ggyG <move to terminal> p?
 
Hm, probably josé. joséQuery is José Cuervo of JavaScript libraries.
@Doorknob What is gg? Is this not a case for visual mode?
 
10:04 PM
... what?
 
What what
 
in the...
 
@AlexA. um... why would you use visual mode? O_o
 
finding it so difficult not to complete the reference
@Doorknob I thought that's what you had to do to copy things.
 
/me hopes you are trolling
 
10:07 PM
/me is not trolling, is just dumb
 
you really should, uh, learn vim -_-
 
>_>
That feeling when you accidentally put code that makes a GET request in an infinite loop and exhaust your API quota in about 4 seconds.
 
Or, you know. Not learn vim.
 
@AlexA. [wince]
API quota for the day?
 
Yeah
 
10:11 PM
UTC day rolls over in < 2 hours
 
Yes
That will be a glorious time indeed
 
A glorious time to exhaust your API quota in 4 seconds again. :P
 
@El'endiaStarman ಠ_ಠ
 
I'll, uh, add a break in the loop somewhere... >_>
 
Just one little GOTO, what's the harm?
 
10:13 PM
GOTO is what killed the dinosaurs.
 
And GOTOs can summon velociraptors from the past.
 
240 GOTO GIANTMETEOR
 
Can you have named gotos like that in Fortran?
 
I dunno. I've never used Fortran.
 
I thought it was numeric labels only
Aw
Fortran is fun
 
10:15 PM
Blitz 2D/3D has named gotos.
And gosubs.
 
I've used BASIC, and it is only numeric, but that wouldn't have been as funny at all.
 
SAS has named gotos
 
Later BASICs sometimes have named goto also.
Sometimes you have to sacrifice accuracy for humor.
 
s/Sometimes y/Y/
 
s/.* y/Y/
golfier :P
 
10:20 PM
Sometimes things are accurate and funny though, like .
 
10:32 PM
Does Python 3's print() automatically insert a newline at the end?
 
Okay great, thanks
 
^^
 
print(<blah>, end='') will not.
 
Oh right, the end parameter
Reason #23452345 why Python 3 > 2
 
10:33 PM
Reason #1 being that 3 > 2?
 
Obviously
 
There's also the sep parameter, which is ' ' by default and separates arguments given to print. Like, print("a","b", sep=" to ") will give a to b.
 
Ooh, that's nifty, didn't know about that one
 
print('ale', 'ro', sep='x is w', end='ng')
5
 
10:36 PM
ew python
 
ew Conor
2
 
Keyword-Only Arguments are really great and do all things.
 
that syntax is just wrong imo
 
what's wrong with that syntax?
it's literally the only way that makes sense
 
@Doorknob hrmf="ಠ";print(hrmf,hrmf,sep="_")
 
10:37 PM
> hrmf
 
@El'endiaStarman :(
 
My plan for Pytek at the moment is \func_name[named_args](args). So the above would be \print[sep='x os w',end='ng']('ale','ro').
 
So, it transpiles to python?
 
It won't.
 
@AlexA. ಠ = 'ಠ'; _ = '_'; print(ಠ, ಠ, sep = _)
 
10:39 PM
@Dennis Even better.
Except personally I prefer double quotes for strings.
 
10.3 questions per day
 
Door.knob questions per knob
 
@AlexA. In Python, I prefer single quotes. Mainly because that's how the REPL usually displays strings.
 
10.3 doors per knob
 
Imagine 10 knobs per door
 
10:40 PM
I'm imagining it.
It's beautiful.
 
OK, that's just creepy.
 
10:55 PM
I'm interested to see how people will approach my new challenge
 
@orlp Just to be clear: input is the concatenation of the first n words of any single row in your table, with n in [1,2,3], and output should be n?
 
@Zgarb correct
 
You might want to put the table before the examples.
It confused me at first.
 
Absolutely not.
 
Why not?
 
11:00 PM
Because the examples illustrate the text that came just before it
 
@AlexA. wat
 
exactly what shouts are allowed is described below that
 
0
Q: How many words of power did I shout?

orlpGiven a lowercase ASCII Thu'um phrase without punctuation or spaces, return how many words of power it contains. Example: fusrodah -> 3 dur -> 1 kaandrem -> 2 odah -> 2 vengaarnos -> 3 The input will always be a lowercase ASCII string formed by taking one of the shouts below,...

 
When I get to the examples, I have no idea what a Thu'um phrase or a word of power is.
So the examples mean nothing to me.
 
@Zgarb I've added a little description
 
11:02 PM
@ETHproductions Did you make your bot not respond to itself yet?
 
Ok, now it's clearer. Have a +1.
 
Isn't the thu'um challenge essentially just checking the string length?
 
@VoteToClose I did.
 
@Geobits No, some 4-letter inputs have 1 word and others have 2.
 
I'm an idiot.
 
11:09 PM
@Geobits Nope
 
Ah, I didn't see od ah viing. I looked specifically for that kind of thing, too :/
 
@ETHproductions Did you make it reply yet?
 
@VoteToClose Define "reply". Do you mean respond when it's pinged, or respond something sensible once in a while?
 
There's also a five-letter single word, too, now that I look closer.
 
And it needs to delay slightly longer - Marky doesn't read quickly.
@ETHproductions Reply to the message it's responding to.
 
11:11 PM
@ETHproductions Yea, I just meant the first word.
 
I think it's checking the length, with a handful of exceptions that one should golf down.
 
@VoteToClose Oh, I see. I'll do that right now.
 
Or come up with something clever.
 
Yea, that sounds about right.
 
0
A: Sandbox for Proposed Challenges

AdnanCreate the Droste effect popularity-contest graphical-output image-processing Introduction The Droste effect, also known as mise en abyme, is the effect of a picture appearing within itself. The appearance is recursive: the smaller version contains an even smaller version of the picture, and s...

 
11:21 PM
@ETHproductions Any ideas on how to convert a 1000 digit number to binary and back?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Un momento, I'll whip up un codo
 
0
Q: Insert the ascii nul character in the middle of filename on a fat volume

user2284570The purpose : Unlike many filesystems, the use of the ascii nul character is legal in filenames if it’s not the first character of the name. So the purpose is to test implementations of the fat filesystem. Rules : The code need to be the shortest as possible (so avoid raw disk byte manipulati...

 
Is there something off‑topic that time ?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Wait, it'll be way harder than I thought :(
 
11:26 PM
@ETHproductions yeah :P
 
The basic idea would be to repeatedly divide it by 2 and add the remainder to the beginning of the binary string.
 
But now we need code to divide an arbitrarily-sized number by two...
 
I'm looking in to some arbitrary-precision decimal arithmetic thing for js :P
 
Antonin Scalia has died. Interesting news for the supreme court.
 
11:27 PM
I... don't know who that is.
 
@Calvin'sHobbies Who's going to take his place?
 
But I'm very sorry to hear he died. :(
 
@user2284570 At present there are questions that need to be answered to make your challenge more clear. Until then it won't be clear whether it is on topic or not.
 
@Calvin'sHobbies Oh damn.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ This just happened. We won't know that for a while
 
11:28 PM
Oh.
 
I didn't agree with the man's politics at all, but that sucks.
 
@ETHproductions No what you really need code to insert the nul terminating character in the middle of a string.
 
I'm sad that he died.
 
I'm assuming there will be a replacement appointed before the next inauguration, but I won't be surprised at all to see Republicans trying to delay it until then.
 
11:29 PM
@user2284570 There is more than one conversation going on at once - I think ETHproductions was replying to CᴏɴᴏʀO'Bʀɪᴇɴ
 
^ That is correct.
 
morning
 
@trichoplax : is it about things that aren’t common knowledge ?
 
Wut. I don't remember ever hearing about a Supreme Court judge dying while in the position. (I mean, until just now.)
 
@user2284570 What do the last two rows mean: "The real challenge: Leverage os level api restrictions !"
 
11:33 PM
Huh, was a lot more common in the past.
 
Also, why are dos-based systems forbidden?
 
Sometimes... I watch a YouTube video and I want to like it but I know I can't because that would mean I repost it which I really, really don't want to do.
 
@AlexA. He was a US Supreme Court Justice for about 30 years. He's known for having a generally conservative attitude.
 
@Zgarb because it would be too easy (direct access to hardware because programs running at privileged ring levels)
 
11:34 PM
@Calvin'sHobbies Yeah, just skimmed his Wikipedia. I also don't agree with pretty much any of the things he stood for, but still, the loss of a life is a tragedy.
2
 
@user2284570 It's about restrictions that are not explained and uncertainty on what is required and what is excluded.
 
> When the incumbent president is of a different party than the president who appointed the justice, then the justice’s death-in-office odds are about tripled, compared with when the appointing president and the incumbent president are members of the same party.
Curious..
 
Hello
 
@Calvin'sHobbies Yeah, I thought so too.
 
Tin foil hat applied.
 
11:38 PM
My guess is that it's stress-related.
 
@quartata hi
 
On an entirely unrelated note: Get PPCG graduation stats whenever you want
3
 
I'm trying to resurrect pl by fixing all the stupid bugs in the interpreter but I'm running into the most infuriating reference bug
 
Is that your middle initial?
 
Somewhere along the way arrays are getting turned into scalars and I have no idea why
 
11:39 PM
@Geobits Is what whose middle initial?
 
github name
 
@user2284570 So in other systems, to write a null byte to a file name you need special privileges?
 
@Geobits My GitHub name is not my middle initial, but it contains my middle initial.
 
Right, that's what I meant. I'm trying to collect enough information to open a bank account, so that helps.
 
ಠ_ಠ
 
11:41 PM
@Geobits haha
 
@AlexA. wow, golfers can write nice code. TIL!
 
My girlfriend when she got home: "Did you hear about Antonin Scalia?" Me: "Yeah." Her: "GOOD RIDDANCE!"
@Quill <3
 
That was a compliment, no?
 
@Quill Most of us do write pretty code, honestly.
 
@AlexA. You're angry at your code being considered nice??
 
11:41 PM
@quartata I don't!
 
The trick that code golf teaches us is when to turn that instinct off
 
Can anyone get go.cnn.com/?stream=cnn to work? It always tells me an error has occured
 
@quartata it was a joke, and depends what you consider nice
 
Ok, so maybe I do, or at least at work.
 
@Geobits You're an exception. After all, you were born to golf
 
11:42 PM
@trichoplax More that he assumed that code golfers couldn't not golf
 
@Quill How would CR react if I submitted a 1688-line Python program? :P
 
@quartata s/golf/downvote/
 
We've had programs longer than that before
 
@AlexA. I don't think that's implied, only that golfers' long code still isn't nice :P
 
ah-ha, okay
 
11:43 PM
Yo @alex, you should add support for other sites and release it to stackapps :)
 
@trichoplax OIC
 
@Calvin'sHobbies I'm getting a perma-loading animation.
 
@Quill Hm, not a bad idea.
I could add all of the A51 stats
But nobody cares about those
 
@Geobits Got it working in ff
 
Ew
Ewwwwwww
 
11:45 PM
@AlexA. -1 not enough jQuery
 
Oh yeah, I've played that game.
Good one.
 
Really? :D
 
lel
 
11:48 PM
@Zgarb : worst even as root on an Unix system you can’t rely on system calls for performing that. (but after all you’re free to chose so if you find a solution that don’t run on windows unix or dos then that’s find)
By the way, I edited the post :
0
Q: Insert the ascii nul character in the middle of filename on a fat volume

user2284570The purpose : Unlike many filesystems, the use of the nul byte on fat volumes is legal in filenames if it’s not the first character of the name. So the purpose is to test implementations of the fat filesystem. Rules : The code need to be the shortest as possible (so avoid raw disk byte manipu...

On Windows®, the ᴡɪɴᴀᴘɪ strip the ᴀꜱᴄɪɪ ɴᴜʟ character as a matter of security, so you’ll have to use the undocumented ɴᴛ one.
@trichoplax : Are there still things which looks like unexplained ? (if yes which ones)
 
@user2284570 It isn't clear to me that the following advice will apply to all languages: "(so avoid raw disk byte manipulations)"
 

« first day (1841 days earlier)      last day (2987 days later) »