« first day (1903 days earlier)      last day (2934 days later) » 

12:00 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Now that's the sort of reaction I like to see. :D
 
@El'endiaStarman :D I'll be using Pytek, it sounds very nice.
List of languages known, in the future: JavaScript, J, Cheddar, and Pytek.
Interview be leik "wtf is that"
 
in Pytek, Mar 31 at 17:50, by El'endia Starman
I'm not worrying about initial confusion. My goal is "Oh, that makes sense." after explanation.
New and/or different concepts are always hard to understand at first.
 
Like calculus, and set theory
BTW I remember there were going to be set constructors. Is that still a thing?
 
yes
 
12:03 AM
Yep! :D
 
@CᴏɴᴏʀO'Bʀɪᴇɴ By the way, did you see this?
in Pytek, Apr 4 at 19:46, by quartata
type:board() {
  grid = \list(" " * 80) * 24;
}

func:generate() {
  board = board:board();

  side1 = {n | \and(n,2) == 0, 0 <= n < 16, n in \N};
  side2 = {n | \and(n,2) == 2, 0 <= n < 16, n in \N};

  side1 ~= \order -> \list -> \shuffle;
  side2 ~= \order -> \list -> \shuffle;

  \for(room, [6,11] ~ \random -> \range) {
    chunkNum = (room % 2 == 0 ? \pop(side1) : \pop(side2));
    chunkPoint = 20 * (chunkNum % 4) + 5 * (chunkNum / 4)i;
    randomPoint = \random(20) + \re(chunkPoint) + (\random(5) + \im(chunkPoint))i;
I think this is a really good syntax sample
 
What's type?
 
Kinda like a class.
 
Defines a type.
Yeah, it's like a class.
 
@El'endiaStarman That explains everything.
 
12:05 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ :D :P
 
@orlp Sure does.
 
Hey, anyone know JS?
How the hell do you add a constructor for objects? (Sorry I'm used to java so I don't know this..)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Basically, types are int, float, str, etc. You can define your own with type:foo[](){} syntax.
 
IDO)
function ClassObject(){
  this.prop = thing;
}
Like that?
 
okay I saw that
 
12:06 AM
new ClassObject()
 
but here is the thing
what if I want variables and stuff in it
fields
var Alien = {
    health:3,
    x:Math.round(Math.random() * 1000),
    y:Math.round(Math.random() * 1000),
    color: () => (Math.floor(Math.random()* 16777214)).toString(16),
    isAlive: false,
    getHealth: function() {
        return this.health;
    }
}
like I got that
how can I add a constructor for that?
 
@AshwinGupta JS is prototype based; it's very very different from Java's class based system
 
function Alien(){
  this.health = 3;
  this.x = ...;
  this.y = ...;
  this.color = ...;
  this.isAlive = false;
  this.getHealth = ...
}
 
@quartata clearly LOL. I'll get used to it after a while I'm sure
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Some inspiration comes from Blitz 2D/3D's "class" system, which you can see here: github.com/elendiastarman/arbychess/blob/master/…
 
12:07 AM
Or define the getHealth in prototype
 
I encourage you to find a tutorial on it
 
@CᴏɴᴏʀO'Bʀɪᴇɴ oh okay so basically everything goes inside the constructor basically?
even methods and things
 
@AshwinGupta Yeah. But you can and should define methods under the prototype
 
I don't understand it much myself.
 
Like, Alien.prototype.getHealth = function(){}
 
12:08 AM
um
right then
 
well bascially the thing is that the constructor is the object
 
hold up
lemme just wrap my head around this
 
but you should use prototypes so you can have "classes"
 
okay
so wait
is prototype like a predefined keyword?
 
12:10 AM
Instead of having a class you have a prototype of the object and instantiate objects by copying the prototype basically
 
or just the name for something?
Wait so you are saying that I should define functions for each instance of the object?
 
@AshwinGupta It's a special name that passes all properties of it to each instance of the parent object.
 
not for the prototype?
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah I'm guessing I'm going to have to find a good tutorial on this. It's very different from what I'm used to. Thanks for the help though.
yup
 
@AshwinGupta No problem :)
@QPaysTaxes Boi
 
guys quick
I need to know
is the riemann hypothesis true or not?
 
12:13 AM
we don't know that's why it's called a hypothesis
(incidentally, if someone were to correctly answer that question, they would receive $1,000,000)
 
well
hopefully prove that there aren't
 
@QPaysTaxes That would be a counter-example. The other option is to prove it.
 
@orlp are you taking a test or something xD?
 
that would be a mean test question
 
@AshwinGupta no was just trying to make a quick million
 
12:15 AM
oh xD
 
Prove or disprove the Riemann Hypothesis. (100 points)
 
@poi830 probably. I don't even know what that is...
 
@orlp Probably, and the vast majority of mathematicians do believe it is true, and there are even a whole bunch of proofs that would be true if the Riemann Hypothesis is true...but no one actually knows.
 
^
terence tao thinks we are close to solving RH
 
Oooh, exciting.
 
12:17 AM
@El'endiaStarman I know, was just trying to make a joke :)
btw I surpassed 50k on SO
woo
 
ok
I think I sorta get it
prototypes are like classes
right?
 
I honestly would rather know the continuum hypothesis's truth
 
@orlp Congrats!
 
@AshwinGupta Pretty much
 
12:18 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ undecidable in ZFC
 
and is their inheritance?
 
@poi830 Proven undecidable?
 
yes
In mathematics, the continuum hypothesis (abbreviated CH) is a hypothesis about the possible sizes of infinite sets. It states: There is no set whose cardinality is strictly between that of the integers and the real numbers. The continuum hypothesis was advanced by Georg Cantor in 1878, and establishing its truth or falsehood is the first of Hilbert's 23 problems presented in 1900. Τhe answer to this problem is independent of ZFC set theory (that is, Zermelo–Fraenkel set theory with the axiom of choice included), so that either the continuum hypothesis or its negation can be added as an axiom to...
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yes. You can include its truth or falsehood as an axiom.
 
@poi830 not undecidable
independent
 
12:19 AM
independent
 
Oh, I see.
I misread that part I guess
 
wait those are equivalent
 
I believe there is a subtle difference between the two
 
undecidable has 2 meanings
one of which = independent
but the only one that makes sense in that context is the one that means independent
 
hmm that didn't format well...
oh well xD.
 
12:21 AM
@poi830 hrm, as a CS guy I guess the computability theory 'undecidable' got me confused
 
yeah i mostly do math over CS so i didnt even think of that lol
...why 500?
 
@QPaysTaxes Are you doing 9-bit bytes? o.O
(I guess words would be a better choice than bytes, but eh.)
 
@El'endiaStarman he might have two prefixes
 
    let mut b = babble::babble::Babble::new();
@Doorknob come on Rust
 
e.g. as an example for Pyth
 
12:22 AM
lmao
 
.x and $x
 
@orlp True, that could do it.
 
where . and $ are prefixes of a two-letter command
 
eight digits?
base 8?
do commands include operators
 
@QPaysTaxes Take a look here for inspiration (scroll down). :P
 
12:26 AM
ok so + - * /
also why is your language
what is its purpose
nice
 
...is two words?
 
im scared
no, the code for it is "... uh, gimme a sec"
 
Hopefully it's shorter than my recent hw XD
 
read hw as homework and was very confused
 
ARRHZLEZLLZLLZLOZTBTZTBHWZLOZLRZLLZLDZTBIZEPUT
by the way, Babble should achieve Turing-completeness soon
 
12:30 AM
\o/
 
how can you be sure
 
@poi830 parallels to BF commands
 
ah ok
wait
 
Reduction to a TC language implies TC of the former language.
 
can you translate BF into babble then?
 
12:32 AM
It doesn't need to be bijective.
But yeah, supposedly.
 
probably
 
if it has parallels to BF commands can't you just translate from the BF version to the babble version
 
I wonder if anyone has a Brainfuck implementation with multithreading support.
multifuck
 
I sincerely hope so.
 
@poi830 not necessarily. I could do additional things that BF can't do
turing complete doesn't mean "can do anything in programming"
 
12:41 AM
@NathanMerrill Almost anything, though
 
In a turing machine, You can do anything with infinite time and memory.
Love.
Can or can't?
 
Infinitely go on.
 
Uncomputable problems like busy beaver
 
Since a TM is theoretical, it's unbounded.
 
Technically, Turing machines don't exist.
I'm not the right person to ask.
But I think they can calculate anything "Computable"
 
12:44 AM
@QPaysTaxes Anything that can't be done on a computer can't be on a programming langauge
 
Programming languages are a superset of Turing Machines.
 
oh wait I misunderstood your question
 
we are biased to what we can see
 
But with less time and memory.
 
for example, a turing machine can never solve the halting problem
 
cat
12:45 AM
hi! :D
 
The Church Turing Thesis says that turing machines are ewuivalent to any other computational model
 
And that they have religion
:P
 
cat
ewuivalent
 
@QPaysTaxes Only as we define it. Maybe there's a programming language out there that can solve it
 
@NathanMerrill -1 argument from silence
 
12:46 AM
sure, it'd be written on a totally different computer
regardless, a program that could solve the halting problem would also be turing complete
 
so to answer your question no
 
cat
2 hours ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
Rule 1: don't name your language after a consumable, whether it be Cheddar, Pretzels, Pythons, or Java.
 
A programming language can simulate a finite Turing machine, so the only thing a real turing machine can do that a programming language can't is calculate something that requires more memory then a programming language has.
 
you mean can't*?
 
cat
^ can't*?
 
12:47 AM
Can't?
 
they are in the same computational class
meaning they can compute the same things
 
but they will be faster at certain types of problems
 
cat
@QPaysTaxes we saw nuthin
@QPaysTaxes to or from?
kbai
k c:
O:
anyone else ever noticed the resemblance between the copyleft symbol and comedy central's logo?!
illuminati!!
 
^
 
@Dennis lambda n,m=2,M=1,l=[]:M<=n and r(n,m+1,m*M/gcd(m,M),l+[n%m])or l or[0]
 
 
It seems @Neil has gotten this approach first though, I didn't see his answer
 
Hai.
 
12:53 AM
WELCOME BACK! That wasn't a week
 
Can't stay long. :P
 
cat
Hai! @EasterlyIrk
 
On a iPad while mom picks up sister and drops off brother.
 
cat
eww, apple
 
12:55 AM
@cat I did see you "Bali
wtf ipad
 
cat
xD
 
i meant the bye bye byee message you sent
have to say bye bc iPad doesn't know txtspk apparently. :P
 
Trying to turn this function into a lambda in JS:
function translateCoord(x,y,w,h) {
var point = [x-0.5*w, y-0.5*h];
return point;
}
Is this the right way to do it:?
var point = (x,y,w,h) => [x-0.5*w, y-0.5*h]
 
@Downgoat js
 
cat
12:56 AM
yes! @AshwinGupta
 
great
lol
ty
 
or @CᴏɴᴏʀO'Bʀɪᴇɴ
wtf lag
 
@EasterlyIrk I am here
 
cat
@EasterlyIrk you meant Downgoat.js, right?
 
Sorry, I just can't tell because I have no console output
 
12:56 AM
@cat Downgoat.es6
@AshwinGupta o-O
 
only option is to display it with HTML or use an alert or something which messes everything up
 
cat
@AshwinGupta sudo apt-get install node
 
@CᴏɴᴏʀO'Bʀɪᴇɴ well I mean i'm using a text-editor not an IDE
 
ai htf do I type caret on iPad
 
@AshwinGupta oic
 
12:57 AM
@cat lol I got windows
 
@EasterlyIrk Shift + 6
 
@AshwinGupta paste into browser console
 
@CᴏɴᴏʀO'Bʀɪᴇɴ nope
 
cat
if you have Firefox, you probably have a js binary somewhere
 
12:58 AM
@EasterlyIrk Yes >:|
 
I could do that
LOL
 
@EasterlyIrk yeah?
 
I'm a total idiot. Why didn't I even think of that...
 
found it it was 3 menus deep...
 
cat
@AshwinGupta chocolatey.org
 
12:58 AM
oh okay
 
Til Apple hates careta
 
seems neat
I'll look into this
 
@Downgoat just js stuff
 
@cat ty
 
wtf ipad
 
12:59 AM
@EasterlyIrk uh
 
cat
it is neat! I need a command-line package manager no matter where I am :P
 

« first day (1903 days earlier)      last day (2934 days later) »