« first day (1831 days earlier)      last day (3309 days later) » 

02:04
@NewMainPosts Why would someone vote to reopen this? It's a duplicate.
Just received money for something I programmed!!
Maybe him?
@ZachGates Nice.
I'm hype
yeah, I messed up
and there is some bug in my code that makes it impossible
02:08
Okay.
Anybody for the discord?
It kinda failed today.
You hate discord that much?
:P
I have realized the futility of creating a good code page for ESMin.
@ӍѲꝆΛҐӍΛПҒЦꝆ o_O
Have you seen the JS docs?
02:12
It is impossible. Too many things are important enough to be one char.
You know what? I'll just go ahead and make ESMax.
Are you set on encoding each characters as a sequence of bytes?
With 1024 or less characters, you could encode each as 10 bits, for example.
@Dennis No, I'm trying to fit all the important ones into 1 byte and everything else into 2.
Which is entirely possible.
@Dennis Wait... 10 bits = how many bytes?
1 min ago, by ӍѲꝆΛҐӍΛПҒЦꝆ
It is impossible. Too many things are important enough to be one char.
Ahem.
Except for that.
I'm too indecisive.
@ӍѲꝆΛҐӍΛПҒЦꝆ That would be 1.25 bytes per char.
02:14
I'm doing that then.
@ӍѲꝆΛҐӍΛПҒЦꝆ Obviously.
No more decisions.
How does one go about creating a code page for that?
1.25 bytes?
> The earth is flat flat flat like your face!!
Totally not relevant.
02:15
Cleverbot's jewel of wisdom,
@RikerW Of course, the first message I see when I walk in the door is an interesting one, just like always...
Jan 14 at 1:19, by RikerW
> Clev: The Earth is flat! Flat flat flat like your face! | Yes, that is correct. Clev: Always is correct. | Now remember, the earth is flat, okay? Clev: The earth is definitely round. Spherical. | No, it is flat. Clev: A flat circle, my friend. #cleverbot
@ӍѲꝆΛҐӍΛПҒЦꝆ It's no longer a code page per se. The easiest way would probably to give your interpreter an encoding switch, which selects between UTF-8 and the custom encoding.
@Zizouz212 Aaaaaand this one:
Jan 14 at 1:44, by RikerW
> Thou shalt not pass!!!!!!!! Clev: I will pass into mordor. | Okay, your death. :P. Clev: No my death already came. | Oh. Sorry to hear that. Clev: Yeah. She died three years ago from ALS. #cleverbot
@Dennis But what would 1.25 bytes look like?
02:16
IDK
Any reference implementation?
@ӍѲꝆΛҐӍΛПҒЦꝆ 10 bits?
I really don't understand bits very well.
@RikerW Turning into Shakespeare I see?
I've never really had to worry about encodings.
:P
02:17
@ӍѲꝆΛҐӍΛПҒЦꝆ Don't worry. Booleans aren't bits, they're really bytes.
@Zizouz212 These are parts of my conversation with cleverbot a while ago.
@ӍѲꝆΛҐӍΛПҒЦꝆ s=>s.split``.map(l=>l.charCodeAt()).toString(2).join``.match(/.{10}/g)
that should get you the bits
Oic thx!
That's it?
@Doᴡɴɢᴏᴀᴛ Holy crap. What the hell is that?
Magic
02:19
That looks scary
@Zizouz212 the beauty of JavaScript ES6
Oh my god! My eyes! Javascript is tearing me apart!
QUICK! SOMEBODY SAVE ME!
@ӍѲꝆΛҐӍΛПҒЦꝆ wait no, s=>s.split``.map(l=>l.charCodeAt().toString(2)).join``.match(/.{10}/g).map(‌​l=>parseInt(l,2)) that should work
@ӍѲꝆΛҐӍΛПҒЦꝆ You could split up your code into 4-character chunks, and convert each chunk from bijective base 1024 to bijective base 256.
@CᴏɴᴏʀO'Bʀɪᴇɴ what does interpolation syntax look like?
02:21
@Doᴡɴɢᴏᴀᴛ beauty horror golfiness
@Doᴡɴɢᴏᴀᴛ Figured that out myself.
@Dennis Sort of like what @Doᴡɴɢᴏᴀᴛ has?
@RikerW I've noticed your bounty on Law.
Oh yeah...
It was just for fun.
For fun?
02:23
So the pipe introduces interpolation?
@Dennis Wait, converting from base 1024 to 256? That's pretty darn hard in ES6 (if I'm not mistaken).
I probably am not going to make a account forever, but VTC's question could use a bounty, so I used my association bonus for it.
VTC?
Oh. -_-
All of you and your... rather interesting names
VoteToClose?
02:24
And zizouz212 is not interesting?
> ASSOC
And why the hell is there a sudden surge of questions for Canadian law?
@ӍѲꝆΛҐӍΛПҒЦꝆ For fixed sized chunks, it's pretty easy. I'm a little busy right now, but I'll be back later.
Canadian law isn't really interesting
02:24
@Doᴡɴɢᴏᴀᴛ lol BUT I DID!
@Zizouz212 Because people need to know what it's like in Canada so we can all move there if Trump is elected.
10
I was suprised I could.
@AlexA. What he said.
@AlexA. lol
In that case, I've got you all covered :)
Canadian?
02:25
So I can live with you then?
Sure :)
Just remember.
What?
02:26
Party at Zizouz212's house!
I have one point to disclaim:
RYCBAR?
Canadians. Live. In. Igloos.
:)
@CᴏɴᴏʀO'Bʀɪᴇɴ how do you type the broken bar?
I LOVE IGLOOS!
Wait, what are igloos?
02:26
Oh god.
oh nvm
Thanks clev.
An igloo, (Inuit language: iglu, Inuktitut syllabics ᐃᒡᓗ [iɣˈlu] (plural: igluit ᐃᒡᓗᐃᑦ [iɣluˈit])), also known as a snow house or snow hut, is a type of shelter built of snow, typically built when the snow can be easily compacted. Although igloos are stereotypically associated with all Inuit, they were traditionally associated with people of Canada's Central Arctic and Greenland's Thule area. Other Inuit people tended to use snow to insulate their houses, which were constructed from whalebone and hides. Snow is used because the air pockets trapped in it make it an insulator. On the outside,...
@Zizouz212 what's the internet speed in igloos?
> RikerW: What is a igloo?


Cleverbot: Because I want to feel love.


RikerW: What is a igloo?


Cleverbot: What college are you attending.


RikerW: What is a igloo?


Cleverbot: Igloo is a word.


RikerW: What is a igloo?
> a igloo
02:28
> a igloo
shitninja'd
ninja'd
ninja'd-ninja'd ;(
Ninjarino'd your ninjadom
ono you ninja'd my ninja'd ninja'd
ninja'd-ninja'd-ninja'd!
oh shoot ninja'd-ninja'd-ninja'd-ninja'd
ninja ninja ninja ninja
ninja'd
02:28
Oh my god.
2
help
5
ninja ninja ninja ninja
ninja ninja ninja ninja
Speaking of Canadian law...
woah, that is canadian law???
02:29
Canada is run by ninjas
I almost said "Canada is moderated by" .-.
Nah, they're moderated by doorknobs.
@Cyoce That's a pipe: |
I've got someone charged with second-degree murder.
How?
Who?
Why?
Answer all of those questions pls.
@Zizouz212 link lal
02:31
The person shot their girlfriend who was in the bathroom - there were three bullet holes found in the door.
oh wait
@Zizouz212 Wait what
I thought you meant on Open Source SE someone was asking for help because they had been arrested for murder
@Doorknob That is true, assuming Zizouz is Canada's supreme overlord
02:32
@quartata they're different characters.
Sheesh law is hard.
I'm playing defence at trial :)
¦|
My only worry is that we're not allowed to exhibit evidence artifacts - only the Crown is allowed
Have I scared everyone off?
I have... Haven't I :(
I'm behind a couch, if that counts
You know, hiding from Zizouz
ok I am extremely frustrated right now
I'm trying to figure out how to do stuff with the X window system from C
02:36
I'm locking all my doors and setting up a barricade
but "X" and "C" are both single characters
which makes this impossible to Google for
I stuck a key in Doorknob but all he did was say "ow"
lies
@Doorknob google x11 instead
Or the name of whatever library you're using to interface with X
02:37
that will get you results
@quartata oyeah
@AlexA. you dont need a library for that
@quartata OIC
x is the library
Actually I don't C
02:38
haha
@quartata You're the library
#sickburn
ur mums a library
OOOOOOODAM
0
A: Sandbox for Proposed Challenges

ETHproductionsHelp recalculate your rep! code-golf arithmetic A couple months ago, we had a discussion about increasing the reputation awarded for upvotes on questions. Here's the basics of our current reputation system for votes:1 A question upvote U is worth 5 reputation. An answer upvote u is worth 10 r...

0
A: Sandbox for Proposed Challenges

I Can Haz HatsKnights and Knaves I welcome all the feedback I can get, so please comment. This is code-golf. In this challenge, we will be writing programs/functions that solve "Knights and Knaves" puzzles. Background You find yourself on an island ... etc. ... every person on the island except for you i...

I come in and see drunk rick talk from @AlexA., @Doorknob and @quartata???
sigh I guess that is to be expected. :P
02:43
@RikerW What is "rick talk"? Also, -1 for not using the Oxford comma.
@Cyoce there's an insert character button on the jolf interpreter page
There's an unusual amount of PPCG folk on Law...
@Zizouz212 We infect other sites
02:45
@RikerW excuse me I am a teetotaler hic
Oh, I almost missed beer o'clock.
brb
@Zizouz212 I've seen him before ye
Does anyone know of a website where I can host one of my programs and run it on their servers so I don't have to run it on my own computer?
Nope, but let me know when you find one.
@GamrCorps A lot of web hosting services do that
02:46
@GamrCorps yes use cloud9
thats what we use for the bot
So I install the silver searcher (google it) and type ag help to get to the intro, right? No.
it also doubles as an ide
@GamrCorps What type of program? Just hosting a webpage with javascript and stuff?
I get like a trillion results from searching 'help' accidentally.
c9.io
02:47
Okay, thanks.
@PhiNotPi like a python program
@quartata thanks, Ill look at that
No mention of Heroku?
That's where Pyth lives
Ukoreh?
02:51
@GamrCorps There's also RHC Cloud, which @PhiNotPi uses for his KOTH server.
@AlexA. Ok thanks!
@Doorknob Oh my god. Oh my god!
@quartata codepen is better in my opinion.
Or Adobe Brackets.
@AlexA. Rick and morty talk.
02:55
"Can't stump the Trump"
lel
@ӍѲꝆΛҐӍΛПҒЦꝆ That's an editor
@ӍѲꝆΛҐӍΛПҒЦꝆ Sure but this doubles as a VM basically. It's very convenient
"Apply single-payer healthcare to the Berned area."
plus you can just use vim on it and forget the ide hehe
@PhiNotPi XD
@quartata XD
02:56
@AlexA. Hold up - isn't c9.io a code editor?
(Sry no contxt)
I don't know what c9.io is, but GamrCorps was looking for hosting
It is a online cloud development VM hosty thingy
Oh yeah. Why not github?
02:57
@ӍѲꝆΛҐӍΛПҒЦꝆ Can you run Python code from there?
all I know is press button get ubuntu vm do work with people
-3
Q: Donald Trump vs The INTERNET

10 RepliesHe can't build a wall, but that was all part of the plan. Donald Trump may have lost the Republican primary, but this time he seeks a bigger challenge: THE INTERNET. Your Task Create a program that that modifies a webpage by replacing all instances of "Clinton" with "loser", all instances of "D...

@AlexA. No idea. Never tried.
Do you even like Donald Trump? — RikerW 3 mins ago
1.) No one does.
2.) Anyone who does shouldn't.
3.) That's irrelevant
Dam Son
This is actually the Dam Son meme kid but older
He's a nuclear physicist.
I know what you're thinking: Dam, son.
Just wondering, why are there so many string twisting questions?
03:05
Ask @JAtkin.
user image
3
I think I'm doing this keyboard thing wrong...
Close enough
Wasavi – a browser extension that transforms TEXTAREA elements into a VI editor http://appsweets.net/wasavi/
@Doorknob ^
@Quill psh
03:12
you forgot the u
@Quill this would combine quite nicely with vimperator
OK, this takes some dedication: loser.com
3
0
A: Sandbox for Proposed Challenges

TasI've posted two well-received (by my standards: 10+ no downvotes) questions in the past; however, I've always missed a bit of information, so I welcome all feedback to this challenge! Introduction A palindrome is a word or string of words that is the same forwards as it is backwards, e.g. taco ...

Someone wanna explain what chat.stackexchange.com/transcript/message/27300371#27300371 means? I'm trying to implement 1.25 byte chars for ESMin.
03:18
57 mins ago, by Dennis
@ӍѲꝆΛҐӍΛПҒЦꝆ You could split up your code into 4-character chunks, and convert each chunk from bijective base 1024 to bijective base 256.
It means split up your code into 4-character chunks and convert each chunk from bijective base 1024 to bijective base 256
Obviously
Oh come on.
what the heck does bijective base 1024 to bijective base 256 even mean?
The first part is easy to understand, but the second part isn't.
is anyone looking for a challenge they can easily win still?
Bijective numeration is any numeral system in which every non-negative integer can be represented in exactly one way using a finite string of digits. The name derives from this bijection (one-to-one correspondence) between the set of non-negative integers and the set of finite strings using a finite set of symbols (the "digits"). Most ordinary numeral systems, such as the common decimal system, are not bijective because more than one string of digits can represent the same positive integer. In particular, adding leading zeroes does not change the value represented, so "1", "01" and "001" al...
03:20
o-o
1
A: Where to find an online testing environment for specific programming languages?

MegoDataBot Thanks to the work of myself (Mego), VoteToClose, quartata, and CᴏɴᴏʀO'Bʀɪᴇɴ (and building upon the work of ProgramFOX et. al.), a chat bot named Data has been built that can run code for several different languages. Stop by the PPCG Code Snippet Chat Bot room to see it in action. Langu...

\o/
i know a bot named data
(it was made by spock)
@AlexA. I still don't see the connection...
@VoteToClose Pet peeve: al. is an abbreviation but et is not, so it should not have a ..
anyways, not a single golfing language has entered my challenge yet: codegolf.stackexchange.com/questions/70635/…
@mınxomaτ itanimulli.org is much better
03:25
> Usually easy questions get more answers...
This is not obviously easy
help how do I X
I'm trying to write a C program that grabs the pixels on the screen and turns it into a PNG and I got that
@AlexA. what if i say "this challenge is easy" everywhere
The solution is not obvious
WHERE IS DENNIS WHEN I NEED HIM???
@Doorknob Not like this
03:27
clearly
@AlexA. It was fairly obvious to me. (Although Neil's solution seems to be far cleverer than mine, so the best solution is not obvious.)
@ӍѲꝆΛҐӍΛПҒЦꝆ Take a set of unicode characters labelled 0-1023. Then split your string into chunks of 4, treat them as digits in base 1024 with your digit set and convert it to base 256
does that help
Okay that does. Thanks.
I can't believe this could work, but thanks.
Btw, would s=>s.split``.map(l=>l.charCodeAt().toString(2)).join``.match(/.{10}/g).map(l=>par‌​seInt(l,2)) work? (ES6)
ok what did I do
rgb
03:32
yeah but... how
IDK but I just read a bit more carefully and it looks like you want it to be bijective right
try to overlay them, combine the colours
In order for it to be bijective the 0th digit in your digit set needs to be the empty string.
I cannot read JS so
> I cannot read
( ͡° ͜ʖ ͡°)
03:35
Otherwise something like say 01 and 1 would be the same in your base
@AlexA. improper lenny usage :P
(hence bijective)
@Doorknob I know, I just felt like a Lenny
(╯°Д°)╯︵ ( ͜。 ͡ʖ ͜。)
Lenny inversion
Anonymous
03:38
Gah
Anonymous
My computer has been doing this thing where sometimes it interprets right clicks as right+left clicks
Anonymous
And it's super annoying
i'm playing the witness and i'm taking so many notes that my room smells like sharpie
03:39
Take notes in something other than Sharpie then
they're mostly pen and pencil
but i use sharpies for colours
and i've been stuck on a colour-intensive puzzle for a long time
i was so excited because i found a pattern but then i tried to use that to find the solution and it failed. then i found a counterexample to the pattern.
this is a slight improvement
That's really bad.
Kind words of encouragement
03:42
one encouragement, coming right up:
ahem
wow! you've got so much room to improve!
Anonymous
@Doorknob what on earth
Wow, I just found out that ESMin uses 817 chars.
aha I figured it out \o/
@Doorknob Why do you use C for that in the first place.
why not?
03:45
Because this is trivial in other languages (and I'm sure in some libs you can use with C).
how to learn a new thing: find a library that does it trivially
@mınxomaτ I'm gonna be doing some stuff interfacing directly with X (taking screenshots of specific windows only, drawing overlays on top of the screen, etc.), so I need to be able to access those X features
doing it in any higher level language would just be hacky
@Doorknob what'd you do?
@Quill I wrote a C program that outputs the screen to a PNG file
I meant to fix it
03:47
oh
put some * 3s in places where they needed to be
03:58
"Fix" is a strong word :P
it works, though :P
now I'm implementing screenshot-of-a-window
(I'm writing my own screenshot program because import has annoying bugs and all the other ones I can find aren't lightweight enough for my tastes)
@Doorknob Use Xlib?

« first day (1831 days earlier)      last day (3309 days later) »