« first day (1895 days earlier)      last day (2949 days later) » 

6:00 PM
@Downgoat you deserted the codepad...
 
On a different note, I'm going to add an infix operator to Pytek that works like JavaScript's instanceof or Python's isinstance(). I think it should be named isa, @quartata thinks is-a might be better. What do you all think?
 
back
@El'endiaStarman Are there other ops like word-word?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope. (Well, not yet...)
 
@El'endiaStarman Why not just 'is'? 'a is b'
Then you don't need to add 'isan' :p
 
While it might be more comprehensive, it's also (a) harder to type and (b) non-uniform
 
6:03 PM
I think D uses just 'is'?
 
@RenderSettings That can be interpreted more narrowly. "Are these two objects the same?"
 
(Which is how Python does it.)
 
@RenderSettings no, because a is b is different. That is like a==b, this is a ⊂ b.
 
What's wrong with intsanceof or instance?
 
Why not just use the symbol? ^^^
 
I think golfiness
and ^^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I want to stick to ASCII so it's easy to type.
 
^^ that would be rather cool, like how Julia does it
@El'endiaStarman Well, you could add an alias for it :3
 
@EᴀsᴛᴇʀʟʏIʀᴋ Nah, 'a is b' is type check, not equality
 
6:04 PM
I'm (re-)starting development of Phigs.
 
@El'endiaStarman I'm just coming from a pure readability standpoint
 
@PhiNotPi Like, the fruit?
 
hasa and isa look a little weird at first
@CᴏɴᴏʀO'Bʀɪᴇɴ Phi's Golfo Supreme
 
Phi's Golfo Supreme, aka the world's greatest golfing language
 
Oooh, nevermind. You're talking about including super/subclasses
 
6:05 PM
@quartata oh, cool!
 
(Alex named it)
 
@RenderSettings In python, a is b is whether there are same memory address.
 
@PhiNotPi cannot wait.
 
@El'endiaStarman How about like
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I could, but I'm interested in renaming things if there's a better name that's not based on prior convention. For instance, I'll have \repeat and \loop for for and while loops, respectively.
 
6:05 PM
@Zgarb I would rather prefer isa if only because it's traditional
 
@Zgarb That could work. Hmm.
 
I just think is-a might be easier to read
 
@quartata Yeah, I got that immediately, and it's a good point to keep in mind.
 
@El'endiaStarman \repeat for FOR loops?
 
@EᴀsᴛᴇʀʟʏIʀᴋ you have me disable code execution on the pad!
 
6:06 PM
NOOOOO
PLS FIX
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Correct. :P
 
@El'endiaStarman ew.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You can use \for too
 
6:06 PM
@zyabin101 why disable that?
 
qualms assuaged
 
@quartata I think so too, but we have no precedent, hence me asking. None of the multi-word function names are hyphenated.
 
True, true.
I'm fine with isa personally.
 
@EᴀsᴛᴇʀʟʏIʀᴋ I just left for some time, and you derailed the thread of the pad.
 
I just joined like 3 minutes ago......
@Downgoat ...
 
6:09 PM
@El'endiaStarman Or some multi-symbol ASCII operator, like ~= or =:=
 
^^ I like that idea
 
@Zgarb ~= already has a meaning and I'm avoiding 3-char symbol operators.
Maybe :: could work?
 
That's method selection in lua iirc
 
I like it.
⊂:
 
6:10 PM
Seems pretty good!
 
@El'endiaStarman That's Haskell for "has type"
 
Does anyone here know C?
Actually, nevermind.
 
@Zgarb Oh cool. That's basically what isa/is-a was meant to be.
 
We should create a special alphabet for punctuation, like Urbit has.
 
@quartata That's a good idea. Just step back, and run.
 
6:11 PM
No I figured it out
 
So, we can name ? -erm-, and : -colon-. So, the ternary operator would be called the erm-colon.
 
@El'endiaStarman In Haskell you can say a :: Int, but do you want that or a :: b (as in, they have the same type)?
 
But discuss the Pytek alphabet in Pytek's own room.
 
set which = 3; -erm- which -colon- "are you talking about?"
 
x >= 10 ? 1 : 0 would be read as x greater than 10, erm, one, colon, zero.
But ^^^
 
6:15 PM
@Zgarb I think at least one will have to be a type, but I could certainly enable the second way, checking to see if two objects have the same type.
 
What would be a better name for "isAdverbAble"? (i.e. an adverb can be placed on it)
uh oh. I just realized the name for my programming language is a ship name between two of my friends >_>
@QPaysTaxes It's still Dyia :P
D:
WHAT HAPPENED TO CHATGOAT D:
 
Chatgoat seems to die often. o.O?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ "malleable" if you're feeling witty, "modifiable" if you're not.
 
6:21 PM
malleable ftw :D thanks
 
@QPaysTaxes @Downgoat
 
Are smallcaps contagious?
 
:28838531 Combination of two persons name to show you support them dating. It's a really weird thing.
 
chat kya hua ?
 
6:21 PM
ʏᴇᴀʜ
@CᴏɴᴏʀO'Bʀɪᴇɴ ᴏʜ ᴛʜᴀᴛ.
Dɪᴅɴ'ᴛ ɴᴏᴡ ᴛʜᴀᴛ ᴡᴏʀ.ᴅ
 
𝔦𝔰 𝔟𝔩𝔞𝔠𝔨𝔩𝔢𝔱𝔱𝔢𝔯 𝔠𝔬𝔫𝔱𝔞𝔤𝔦𝔬𝔲𝔰 𝔱𝔬𝔬?
 
@El'endiaStarman it was all Marky's fault...
 
@flawr Yes, but I'm immune.
 
@flawr Yes, I'm installing that keyboard once I get home :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You've got a keyboard for those symbols???
 
6:24 PM
@flawr No, but I'm going to make one when I get home :D
 
Same thing with blackboard bold
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ᴡʜᴇɴ ʏᴏᴜ ᴄᴀɴ, ᴄᴀɴ ʏᴏᴜ ɢɪᴠᴇ ᴍᴇ ᴀ ʟɪsᴛ ᴏғ ʟᴇᴛᴛᴇʀs ɪɴ ᴛʜᴏsᴇ ғᴏɴᴛs ᴛᴏᴏ?
I ᴄᴀɴ ᴅᴏ ᴛʜᴇ sᴀᴍᴇ ᴛʜɪɴɢ I ᴅɪᴅ ᴡɪᴛʜ sᴍᴀʟʟ ᴄᴀᴘs, ᴀɴᴅ ᴍᴀᴋᴇ ᴀ ɢɪᴛʜᴜʙ.
 
@Zgarb Try your funky equation again in this. Do the errors make sense?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You're going to make a keyboard?
 
6:26 PM
@EᴀsᴛᴇʀʟʏIʀᴋ oo cool
 
@flawr ᴋᴇʏʙᴏᴀʀᴅ ʟᴀʏᴏᴜᴛ.
 
@flawr Sorry, keyboard layout
 
ɴɪɴᴊᴀ'ᴇᴅ
 
ʙᴀɪ
@QPaysTaxes I'ᴍ ᴍᴀᴅ.
 
6:27 PM
Still I have no idea how you'd go about doing that.
 
ɴᴏᴛ ʜᴀʀᴅ ʀᴇᴀʟʟʏ.
@flawr Sᴏғᴛᴡᴀʀᴇ ᴄᴀʟʟᴇᴅ Uᴋᴇʟᴇʟᴇ ʜᴇʟᴘs.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ SyntaxError: (=:) cannot be described :O
 
Is this what @CᴏɴᴏʀO'Bʀɪᴇɴ uses too?
 
That sounds ominous.
 
@flawr sᴍᴀʟʟ ᴄᴀᴘs?
Yᴇᴀʜ.
 
6:28 PM
@Zgarb Too many smileys.
 
Iɴ ʜɪs ɴᴀᴍᴇ ᴀɴᴅ sᴛᴜғғ.
Wʜᴇɴ ʏᴏᴜ ʜᴀᴠᴇ ᴀ ᴘᴇʀғᴇᴄᴛ ʀᴏɢᴜᴇʟɪᴋᴇ ᴇxᴀᴍᴘʟᴇ ɪɴ ᴘʏᴛʜᴏɴ, ᴀɴᴅ ᴄᴏᴅᴇʀᴘᴀᴅ ғʀᴇᴇᴢᴇs ɪᴛ. :(
 
@Zgarb I didn't know what to put for that XD
 
@Fatalize Any Brachylog refactor news?
 
6:30 PM
@flawr I don't use the same software tho
 
What do you use instead?
 
I wish I knew what the hell I am doing when programming in C.
 
@flawr You know some C, right?
 
@flawr ᴡʜᴀᴛ ᴏs ᴅᴏ ʏᴏᴜ ʜᴀᴠᴇ?
 
6:34 PM
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  char* input = NULL;
  getline(&input, 0, stdin);
  int num = atoi(input);
  printf("%d", num);
  return 0;
}
what did I do wrong
 
@flawr I'm on windows
 
the segfault occurs at atoi
doesn't it take a char *
 
ᴡʜᴀᴛ ᴅᴏᴇs ᴀᴛᴏɪ ᴅᴏ?
 
is it like atob?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Why are you using small caps?
 
6:35 PM
ɴᴏ ɢᴏᴏɢʟᴇ sᴀʏs ʟɪᴋᴇ ᴘᴀʀsᴇIɴᴛ
 
And it parses a string into an int
 
@quartata ғᴜɴɴᴇss
 
@EᴀsᴛᴇʀʟʏIʀᴋ Look in the pad.
 
ᴀɴᴅ ɴɪɴᴊᴀ'ᴇᴅ
 
@EᴀsᴛᴇʀʟʏIʀᴋ Use it in moderation.
 
6:35 PM
^
 
Oᴋᴀɪ.
Normal now.
 
But seriously what did I do wrong
 
The power is great, but can be mightily abused. Use it carefully.
 
@zyabin101 that code is mine.
 
@quartata Try changing the programming language
 
6:36 PM
Use Jolf.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ There's nothing wrong with C if you know what you're doing
I just don't know what I'm doing
 
@EᴀsᴛᴇʀʟʏIʀᴋ IKR? But I created the pad. So that code is mine, too.
 
Ergo there's something wrong with it...
:P
 
@zyabin101 I typed it.
 
@EᴀsᴛᴇʀʟʏIʀᴋ <3 you learn fast
 
Why do I ask these questions here
 
@quartata Maybe it should be atoi(&input)?
 
Possibly.
 
@quartata \_(~_~)_/
 
I know getline takes a double pointer but I have no idea about atoi
Looks like atoi just takes const char *
 
6:38 PM
so wait *d is a pointer to d, and &d is a double pointer?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No.
& is a unary operator that returns the address to something
 
@quartata oh. I don't really know anything about C
 
&value would give you a pointer.
Doing it again would give you a double pointer.
 
&*d is a double pointer then?
 
(A pointer to a pointer.)
 
6:38 PM
@quartata some
 
@CᴏɴᴏʀO'Bʀɪᴇɴ &&d
 
@quartata Why not **d?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ * is used when defining a variable to store a pointer
 
@flawr what's wrong with my codez pls
 
6:39 PM
Does &&&&&&&&&&&&d work?
 
The * is used to indicate that your type is a list of some other type. People write stuff like char *s when they should probably write char* s.
 
@quartata what codez?
 
5 mins ago, by quartata
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  char* input = NULL;
  getline(&input, 0, stdin);
  int num = atoi(input);
  printf("%d", num);
  return 0;
}
& is different in C
 
(That's not totally correct, but I think the gist of it is right.)
 
What error do you get?
 
6:40 PM
segfault at the atoi
 
I think it's going wrong at the getline
 
Fun fact: my friend is a C++ person and has never seen javascript. I showed him a javascript program he asked "where's the rest of it?" "That's it." "Wow, that's cool! What's the point of it though?" "... idk"
 
Probably not reading right
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I fixed the spacing.
 
6:41 PM
@EᴀsᴛᴇʀʟʏIʀᴋ ... you killed it D:
 
What?
I fixed his arms being weird....
 
How did I kill him?
Chrome.
 
I think I killed Chathuahua
 
@quartata input is the null pointer.
You're trying to reference it.
 
6:41 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ take screenshot pls.
 
@muddyfish yes you did
 
@flawr Right, but if you pass a null pointer to getline it'll allocate memory for the input string
 
wait, no it was @QPaysTaxes
 
Or so I'm told
 
6:42 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ D:
 
I use IE, so you're probably correct
 
It's supposed to be how you read an arbitrary length string correctly
 
I told it to learn learn https://www.youtube.com/watch?v=dQw4w9WgXcQ
 
@quartata I can't believe that.
 
6:43 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ ^
 
ಠ_ಠ
 
@EᴀsᴛᴇʀʟʏIʀᴋ Try setting the font to monospace....
 
@CᴏɴᴏʀO'Bʀɪᴇɴ try this
 
6:44 PM
in Chatgoat's Barn, 6 mins ago, by QPaysTaxes
/start
 
Nevermind, I figured it out.
The second parameter is a pointer to a size_t
 
@quartata getline's second argument has to be a pointer to an integer, not an integer.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ is it fixed?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Same thing as my code :P
It works
 
ninja'd
 
6:45 PM
@Dennis ninja''d so hard
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah.
 
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  char* input = 0;
  size_t size = 0;
  getline(&input, &size, stdin);
  int num = atoi(input);
  printf("%d", num);
  return 0;
}
this works
 
I added a clause for checking if running IE.
@CᴏɴᴏʀO'Bʀɪᴇɴ WAIT YOU RUNNING IE!!!!!
FIX PLS NOW
 
GO GET CHROME OR FIREFOX
 
6:45 PM
I cannot use it for its one purpose
 
IF SCHOOL COMPUTER BOOT FROM USB STICK
BUT JUST FIX PLS
 
I can't do that either
 
@quartata Why are you using getline + atoi anyway? scanf is so much easier.
 
I have a "no download" clause in my contract
 
@Dennis SO tells me scanf is bad
If there's an error in the input it explodes apparently
 
6:46 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Uh. Boot from USB.
 
yesterday, by El'endia Starman
Just like Internet Explorer's greatest use is installing Chrome or Firefox.
@QPaysTaxes They said they will next year
 
@CoolestVeto What I said.
 
@CoolestVeto Like, put the browser in a stick and use it from that?
 
Yeah.
It works.
 
@quartata O...K? (Never take advice from a golfer.)
 
6:47 PM
Does that store any info on the CPU?
 
^^^
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You can do this with Linux OSes as well.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ no.
 
@El'endiaStarman ew why would I touch that? :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope. RAM is used, but nothing is stored on the hard drive.
 
6:47 PM
@EᴀsᴛᴇʀʟʏIʀᴋ I might have to try that
@El'endiaStarman Thanks! #loopholes
 
@Dennis s/Never/only/ s/advice/golfing advice/
 
@quartata I see no way why it should work.
 
@flawr But it does
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is this a private school?
 
You have to free the string afterwards though
 
6:49 PM
@quartata You said you're getting an error?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Yup.
 
Whatever.
 
No I fixed it.
Yay, I did something in C for the first time in almost 10 years:
#include <stdio.h>
#include <stdlib.h>

int main(void) {
  char* input = 0;
  size_t size = 0;
  getline(&input, &size, stdin);
  int num = atoi(input);
  int factorial = 1;
  for(int i = 1; i < num; i++) {
    factorial *= i;
  }
  printf("%d\n", (factorial + 1) % num == 0);
  free(input);
  return 0;
}
 
Oh, I can see how it'll go now: "Hey! Why did you download a browser!?!?!!11" "Oh, I ran it from a USB stick, so no harm whatsoever." "... how'd you learn this?" "Oh, an impossible triangle and a cat from the internet told me it was okay."
@quartata is that a prime checker?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes but it fails for n = 1
 
6:50 PM
@QPaysTaxes \o/ IM NOT CRAZY
I just wanted to C if I could read C
@quartata add an if clause?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah
@QPaysTaxes No it's not.
 
-1
A: How does someone become a man in the middle?

Azhar SialVisit this site to Learn how ro earn in upto 500$ on daily basis.. I am working on this site from 3 months. Its realy a Gold for those people who wanna work at home No Spam https://www.facebook.com/peekayhokaya/app/190322544333196/

No spam? OK, I got confused there for a moment...
 
@QPaysTaxes No, it's a prime checker using Wilson's thm
 
@CᴏɴᴏʀO'Bʀɪᴇɴ hth did you get jsfiddle running on IE??? My win7 vm with IE running (as a test, I do have chrome on it) crashes....
 
@EᴀsᴛᴇʀʟʏIʀᴋ IE8 I think
or IE10
 
6:51 PM
@Dennis Phew. I was worried for a second.
Thank goodness he added that "No Spam" comment, I might have flagged it otherwise
 
I got double confused. I marked it as spam, but then I didn't realize you were sarcastic ^^"
 
Got a whole bunch of network accounts too.
 
IT DIED IT FFFIIIIIIIIRRIIIIREEEÉ
^
#failmods
 
@QPaysTaxes Well yeah, because it needs six spam flags.
 
6:54 PM
^^
 
And a spam flag is an auto downvote.
 
waoh much messages at once
@quartata really?
 
@EᴀsᴛᴇʀʟʏIʀᴋ Yes.
 
@quartata what if I couldn't downvote?
 
6:54 PM
user image
4
 
Try it yourself on something that's spam next time
 
@CᴏɴᴏʀO'Bʀɪᴇɴ still does.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Still is.
 
@quartata And that wasn't?
@Optimizer @Downgoat @CᴏɴᴏʀO'Bʀɪᴇɴ
 
6:54 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Oh, that was spam lol
We were just joking
 
@quartata I did
Now listening to "Come together" by the Beatles.
 
@quartata I was joking too.... >>>>>.<<<<<
> jQuery
10/10 much jQuery
 
@Optimizer Wait, forgot to purge the program. Wheeeeee[taaaaaaaaaaaaaaaap]eeeeee.
 
@FaxMachine Somebody is making fax machine like sounds!!!!! (cc. @AlexA.)
 
@Optimizer downstars
 
I was super confused for a second why the prime checker didn't work for n > 13.
The factorial is overflowing
 
Number width?
Called it.
 
#justcthings
 
@EᴀsᴛᴇʀʟʏIʀᴋ wtf, it actually went from 4 to 3 MOD ABUSEE!!!11!!
 
@quartata I wonder if there's some prime where it would work again.
 
6:59 PM
*to 2
 
@Optimizer That was me mis-starring.
 

« first day (1895 days earlier)      last day (2949 days later) »