« first day (1905 days earlier)      last day (2933 days later) » 

12:00 PM
@MartinBüttner How much it took to compute?
 
a few seconds
there's only about 65k states
rendering takes longest I think
Here's the code:
Graph[With[{state = Partition[IntegerDigits[#, 2, 16], 4]},
    UndirectedEdge[#,
     FromDigits[
      Flatten@CellularAutomaton[{224, {2, {{2, 2, 2}, {2, 1, 2}, {2, 2, 2}}}, {1, 1}}, state, {{{1}}}], 2]]
    ] & /@ Range[0, 2^16 - 1], ImageSize -> 2000]
(where you'd use DirectedEdge if you actually wanted to work with the graph)
 
12:34 PM
user image
2
 
12:48 PM
@El'endiaStarman Variations of Life feature request: load grid by copying and pasting a grid into somewhere? (e.g. if I generate a grid with a program and want to copy it over)
Oh nvm, I guess that's what the permalink's for
 
1:26 PM
@Sp3000 You could try to convince him to shorten it though, it's usually far too long to fit in one chat message
 
@MarsUltor You're back!
Did you read the UGL room?
 
is there anybody who knows Haskell in the room?
 
@NathanMerrill Erm, nope. No one... No.
 
@zyabin101 Do you have a keyboard shortcut for that exact phrase?
 
@trichoplax Nope.
 
Not sure I can speak on behalf of the room, but I think it'd be more correct to say that the people best equipped at answering Haskell questions aren't currently in the room, although the rest of us can most certainly try
 
I'm still not sure how gradual typing should work with function overloading.
maybe I simply remove function overloading
for example, in many languages with gradual typing, you could type:
def func(a, b)
    return a + b
and it'll only accept types where a and b can be added
alternatively, you can do stuff like
def func(a, b: NonZero)
    return a/b
which ensures that b isn't ever zero
that said, if I have two functions that accept similar types, is that a problem?
def func(a: Int, b: IntGreaterThan3)
    #magic math
def func(a: Int, b: Int)
     #other math
I see 3 ways to resolve the overload:
1. Resolve it based on the type of the variable at compile time. Benefits: fast
2. Resolve it based on the type of the variable at run time. Benefits: flexible
3. Disallow it
 
They're similar but still different types, right? Or can they be used interchangeably?
As in, can something be both an Int and an IntGreaterThan3?
 
Yes. IntGreaterThan3 is actually more like Int<GreaterThan<3>>
I could even do something like Int<GreaterThan<3>, LessThan<7>>
all of the parameters in the type are restrictions on the type
 
@NathanMerrill Not a good idea IMO
I like C#-style contracts more
 
1:52 PM
@MarsUltor that's gradual typing.
 
Not entirely sure writing IntGreaterThan3 is a good idea
 
A really good example is for the division example
 
I think it's better to have assert(b > 3)
 
I feel like if it's Haskell you could just let it pattern match to the first one that works at runtime, but I don't know if that's what Haskell really does
 
def divide(a: Int, b: Int<NonZero>)
    return a/b
@MarsUltor assertions are at runtime. The benefit of gradual typing is that its at compiletime
@Sp3000 regardless of what Haskell does, what would you do?
or, expect?
 
1:58 PM
@NathanMerrill How do you assert b > 3 at compile time?
 
whoever calls it have to ensure that its greater than 3
so, for example, if its user input
if they do a if (a > 3)
then that will work
or, if they were passed a number that was greater than 0, and add the constant 3 to it, that'll work too
or, even better, if they a number that was greater than 0, and a number that was greater than 3
 
If it were my own language, I'd probably disallow it just for the sake of code clarity? Maybe
But if it helps:
46
Q: Overloaded method selection based on the parameter's real type

Sergey MikhanovI'm experimenting with this code: interface Callee { public void foo(Object o); public void foo(String s); public void foo(Integer i); } class CalleeImpl implements Callee public void foo(Object o) { logger.debug("foo(Object o)"); } public void foo(String s) { ...

There's Java, apparently
 
yeah, Java does option 1
@Sp3000 would you disallow overloading with incompatible assertions?
def (Int<GreaterThan<3>>)
    #Stuff
def(Int<LessThan<3>>)
    #Stuff
(in the above example, calling it with just an Int would be disallowed if static method dispatch is chosen)
 
Hmm that'd probably require a way to check whether they were incompatible, and I'm not sure I can think of an easy way of doing that
 
2:11 PM
e.g. if you had Int<PerfectNumber> and Int<OddNumber>
 
actually, there's an easy way to do this
static method dispatch
and if multiple parameters match a call, then you can't call it?
no, that doesn't make sense
if multiple methods match, you have to explicitly cast it
 
By the way, C can also do this with _Generic in C11:
 
I think that makes sense. It means that if I have an integer, and I add 3 to it, I'm not surprised when a different method is called
@quartata you can put values in a type?
aka, String<Length<5>>?
 
void foo(void* point) {
_Generic(long: something, double: something else, *point)
}
no I mean call something else based on real type
 
so does _Generic store nulls in every other value?
er, nulls don't exist
but it uses up the memory for all of the types, I'm assuming
 
2:20 PM
The somethings are code snippets. I think it does nothing for a missing type
Not much of a C expert though.
 
How can I search eye macarenas like >_>?
Chat's search does not support the raw >_>.
 
Yes the search is quite strange.
E.g. it would not find my previous message if I would look for "strang"
 
2:41 PM
I'm writing a paper, and I keep on using markup to do text emphasis
-.-
 
.
._.
=)
@NathanMerrill Is there no markdown -> latex converter?
 
not using latex
 
its not that kind of paper
 
2:44 PM
just using google docs
 
0
Q: About a 16x16 (or 32x32, 64x64, etc.) Franklin Square that can´t be more magic

descheleschilderI made with pen, paper and a calculator the most magic 16x16 (and from there a 32x32, 64x64 etc.) Franklin square. All the horizontals and verticals add up to 2056, all the half ones (of wich there are horizontally as well as vertically 5 ones) add up to 1028, all the fourth ones (of wich there a...

 
3:22 PM
@El'endiaStarman Hey El, I've got some blasphemy for you: eev.ee/blog/2016/01/04/…
Eh, that was poorly worded. Sorry, I just thought you might this article interesting, since you like Paul Graham, and this guy... well, I was wondering what your reaction to an opposing viewpoint might be
 
0
Q: Form tiles in a square ring

Creative MagicGiven the input tilesX and tilesY create a method that would make a square ring from the tiles. The function must order the tiles in a ring like this: tilesX and tilesY are always positive integer values, cannot be 0 tilesX and tilesY are not always equal, expect values like: 2x5, 6x3 etc. C...

 
 
1 hour later…
4:39 PM
o_o chat is particularly dead today
More alive than cooking SE's chat, I guess.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Chat always has low-activity on sundays
 
@Downgoat Really? That's interesting.
 
this only means @CᴏɴᴏʀO'Bʀɪᴇɴ has no life
 
@Fatalize oi! o_o
 
@Fatalize but I'm also in chat
 
4:40 PM
whoa
 
\(o_O)/
 
You can see people coming more on Friday, when they feel it's the end of the week and they let their work slide
 
But still: YWOT is back. Go wild.
2
 
@CᴏɴᴏʀO'Bʀɪᴇɴ i spent the whole day rewriting Barchylog's transpiler in Prolog, so you might say I don't have a life either :p
 
Also, it's very amazing how someone wrote a FIGlet of "Code Golf", exactly, symbol after symbol.
 
4:42 PM
@Fatalize o_o Prolog. I didn't even think you could write a programming lang in prolog.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It's actually fairly "intuitive" to parse things in prolog
 
I'm not even good at prolog but it was surprisingly not that difficult (granted, I'm not done but I feel like the hard parts are done)
 
@Fatalize ( ͡° ͜ʖ ͡°)
 
4:46 PM
Hi @El'endiaStarman! Welcome to the room of apparent no-lifes. Care to join us? :P
 
\o/ \o/ \o/ carrots work in cheddar!!!!!!!!!!!
 
@Downgoat That's not even close to a dubious sentence ಠ_ಠ
 
¯\_(ツ)_/¯
 
Cheddar is such a cheesy name
(don't tell me no one has done that one before?)
 
that pun has been made waaay to many times
 
4:48 PM
@Downgoat Show them to me.
 
damn
knew it
 
Mar 28 at 2:17, by mınxomaτ
The name is a bit cheesy.
Apr 11 at 22:20, by flawr
It also depends how cheesy the name of the language is.
Apr 8 at 1:15, by Quill
Well that's a cheesy joke
 
carrots work in Cheddar but what about Avocados?
 
avocad mak juic
 
wait what does that even mean
 
4:50 PM
put avodad an get juic
 
@Downgoat Fun fact: cheddar is a cheesy name
 
sigh
that makes 5 cheesy jokes
 
cheese
 
@Downgoat show us the carrots in cheddar
 
ok
it needs to finsh bildig ferst
 
4:55 PM
@_@
 
babel is slow but amazing...
ah shit, it still says undefined...
 
/o\
 
I'm proud of myself.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ was that copy pasted or laboriously typed?
 
the latter, for most of it.
cuss words. I did a capital O by accident
 
5:03 PM
Also, we made an ASCII avocad and juicd it and drank the avocad juic.
 
but now no moar avodad juic ;_;
 
@Downgoat We have already juicd this avocad. We need another avocad.
 
@zyabin101 ok
will maek anudr avocad
 
5:30 PM
@Downgoat cheddar is cheesy hue hue original joke pls upvote
9
 
The damson (/ˈdæmzən/) or damson plum (Prunus domestica subsp. insititia, or sometimes Prunus insititia), also archaically called the "damascene" is an edible drupaceous fruit, a subspecies of the plum tree. Varieties of insititia are found across Europe, but the name "damson" is derived from and most commonly applied to forms which are native to Ireland and Great Britain. Damsons are relatively small plum-like fruit with a distinctive, somewhat astringent taste, and are widely used for culinary purposes, particularly in fruit preserves or jam. In South and Southeast Asia, the term "damson plum...
 
@quartata oka
 
okra
 
okray
 
5:53 PM
@Maltysen yeah I probably should learn how to do that.
 
@Downgoat oh cray!
 
Anyone here familiar with HTML5 canvas?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ yes
 
Only a little bit.
 
@Downgoat How does radial gradient work? I need to have a circular linear gradient that changes with a player's movement. (It's just a circle with a white highlight.)
wait nvm I'm an idiot
2
 
6:21 PM
Lol Conor are you doing something like this: github.com/niwhsa9/Space-War ?
like galaga sorta
 
Oh, no :P I'm doing an RPG similar to Geo Land, if you know what that is.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ok
 
I'm even more of an idiot, it's not even radial >_<
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't know what that is.
 
6:28 PM
Wiki page?
 
doesn't have one, but this might work
 
Ohmygodlinkpleasewewannaplayrightnowlikeimmediatelycommonwhatareyouwaitingfor???‌​??
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No, Your game!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ looks cool
 
6:30 PM
@flawr XD there's not much too it at all. I've just got the player made.
@AshwinGupta I really suggest it, it's a great example of RPG games.
 
Well I'll give it a try
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Get to work then. You have 2 hours.
 
I don't really play too many RPG games
I do have fallout which is sorta rpg. Not really though
 
I do like games with RPGs.
 
@AshwinGupta Do you like fallout?
 
@flawr yeah its quite fun actually
@flawr yes, but...
wait first, do you have an xbox or just using pc?
 
Oh darn, that should have been a new message.
I use pc.
 
Oh ok nvm
Yes then you will probably like fallout
But I'd wait for it to be on sale
don't pay 60 pay like 30-40
 
@Sherlock9 I actually really appreciated the chance to read opposing and supporting views in that post and its comments.
 
6:34 PM
It's too bad you don't have an xbox though, I'd recommend this. (If you like epic shooting and insane open worlds:) store.xbox.com/en-US/Xbox-One/Games/Sunset-Overdrive/…
It's free right now also so yeah.
@flawr also, IDK if it's your thing, but rainbow six siege is reallly really fun. A great shooter. Sort of the oppisite of open world though. IMHO i'd say better then fallout because you can play w/ friends and stuff.
 
If I had firends.
 
:(
you have us
 
I just watched a video but I do not think that this is my type of game (the rainbow stuff)
 
wow.
you typoed that bad
 
6:39 PM
^ i like that word
 
@flawr okay, I figured maybe not cuz not open world.
typoed?
 
I doesn't have to be an open world, but this feels too real=)
 
Oh okay got ya.
I wish sunset overdrive had a PC port though cuz you would really like that I bet.
 
You know, I like games more like halo/crysis/half life e.t.c.
 
halo has no decent snipers >:|
 
6:42 PM
What you mean Conor? Halo's snipers are fine
 
IMO, they are terrible
 
Woo Halo!
 
flawr I'd assume u've tried star wars battlefront, that's sorta like that. Sci-Fi theme, shooting.
 
Woo SW: Battlefront!
 
Plus you know, you can be DARTH VADER!
 
6:43 PM
Nope, these are about all games I played so far=)
 
Oh okay
Well if you get a chance, you ought to give BF a spin.
 
Oh yeah I tried BF once, but it felt way to restricted. You could only exactly do what you were supposed to do.
 
true.
Oh yeah TF2 is fun and free
 
@flawr Yeah, brain**** is hard to program in :P
 
6:44 PM
=/ brainf*ck...
 
Chrome and chrome specforce were games I really liked!
Kinda old.
 
I tried that once, I gave up after I couldn't figure out how to do multiplication.
Ok I have an idea that I need some help implementing. I'm writing a 2D galaga type game. I want the background (which is currently solid black) to have light beams passing by in the background sorta like the way hyper-drive looks in star wars. How should I do this? I'm thinking an array of coordinates that I use as the front of each line. Then at each interval I update the x++
 
i feel like bf wouldnt feel restricted
 
but problem is I don't know how to get it started exactly. XD
 
seeing that its turing complete
@AshwinGupta you could use a loop to do multiplication
 
6:48 PM
@poi830 honestly I'm not a big BF fan mostly becasuse the gunplay isn't too nice.
@poi830 wait I don't get it, what do you mean?
 
@AshwinGupta wrong BF
 
what BF are you talking about...
Oh.
 
Battlefield vs Brainfuck
 
originally we were talking about the first
 
6:49 PM
Then Conor derailed it into the second. :P
 
@flawr Battlefront* vs Brainfuck
Lol
 
*Battlefield
 
@Sherlock9 Just read through all the comments there and here.
 
well not enitrely his fault actualy. I brought up RPGs
Because I asked him about his game
So it's actually sorta my fault
woops.
 
If we're talking about the Star Wars game, it's Battlefront. Battlefield is a different game/series.
 
6:51 PM
Yeah we are talking about SW:BF.
 
Nope we aren't.
At least I do not.
 
Wait what xD?
 
8 mins ago, by Ashwin Gupta
flawr I'd assume u've tried star wars battlefront, that's sorta like that. Sci-Fi theme, shooting.
7 mins ago, by flawr
Oh yeah I tried BF once, but it felt way to restricted. You could only exactly do what you were supposed to do.
 
Yeah and later we wer talking about BF -> Battlefield.
 
When it's usually BF ==> BrainF
 
6:53 PM
Brain Fart?
Boyfriend?
 
@flawr Battlefield wasn't mentioned until your comment trying to clarify what BF we were talking about.
 
Best friend?
@El'endiaStarman =P
 
@zyabin101 there's so many religious things in the WoT
 
oh i was talking about battlefield the melee stage /s
 
Oh my gosh, not another BF... :P
 
6:55 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ How could that possibly have happened?
 
@flawr That was not me, if you're insinuating.
 
Another favourite word=)
 
@CᴏɴᴏʀO'Bʀɪᴇɴ World of Things?
 
WoText
Follow the avocad juic
 
You can also go to (-1,-5)
 
7:00 PM
Anyway, regarding income inequality, @Sherlock9, I remember reading a blog post several years ago that dealt with the question of "Why would God allow inequality?", and their answer was basically "Because without inequality you can't have generosity.". Seriously, I'm really looking forward to having a good salary because then I can be more generous. If you squash any hope of getting rich, you likely also squash generosity.
 
@CatsAreFluffy "but an answer's OK, seeing as you have less than 50 reputation" No it's not. That's not an excuse for posting a non-answer as an answer.
 
Why would god even care about inequality if he is as omnipotent as some people claim he is
 
@Fatalize I'm normally interested in discussing such issues, but with that tone, it seems to me like you've pretty much already made up your mind, so I see no point in trying to have a discussion.
 
but i dont really want to get into a discussion over religion actually
 
7:09 PM
That the question involved God is not what I was looking to point out. It's the idea that you can't have generosity without inequality.
That I'm sure we can have a good and interesting discussion about.
Bill Gates is fantastically wealthy and he has a passion for eradicating poverty, so his contributions to reducing poverty and eliminating malaria are making a huge impact, especially in Africa.
 
i don't really disagree with that, but i think that removing inequality is still worth losing generosity
and i think that generosity in smaller forms would still occur
even if people aren't donating to charity
people wouldn't stop being generous to each other just because they weren't more rich than each other
 
But how much would the generosity mean?
 
If most charities weren't shady, people would probably donate more
 
@Fatalize thats not really relevant
 
@poi830 True, but think of how significant and meaningful it is when a middle-class person gives a homeless guy on the street a hundred bucks. That's like hitting the jackpot for that guy.
The super rich corporations and families are keeping all the money to themselves, which is really the problem.
 
7:15 PM
> SyntaxError: Invalid regular expression: /^.{1221}\->/: Stack overflow
wat.
 
To look at it another way, is it worth it to reduce or eliminate one good thing (generosity) in favor of reducing or eliminating one bad thing (inequality)?
 
yeah i think we just disagree on whether generosity is good enough to warrant having inequality
 
that error is very difficult to look up too because it shows results from stack overflow and not stack overflows themselves
3
 
If inequality were truly eliminated, there would be no need for generosity (at least in this manner). Obviously I don't see this ever happening.
 
7:17 PM
i think the homeless person in your example would be happier overall if he weren't homeless than if he got money, even if the money would make him immediately happier
 
^
 
^
 
^
 
^
 
^
 
7:18 PM
Analogies do break down.
 
...are you guys agreeing or just continuing the caret chain? :P
 
both=)
 
^
 
^
 
7:18 PM
^​​​
 
RIG@IFTD
note to self: never time travel 5 billion yrs into the future. imgur.com/gallery/IQrL8z5
 
@poi830, out of curiosity, have you ever read The Giver?
 
@zyabin101 you destroyed it!
 
@El'endiaStarman yeah
 
@El'endiaStarman I liked that book :D
 
7:20 PM
@flawr Nope.
I made it an owner area.
 
@poi830 What do you think of it? Like, what was the message?
 
For historical significance, and to prevent vandalism.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Me too.
 
@zyabin101 The caret chain!
 
7:21 PM
@flawr I didn't participate, anyway.
^
 
@zyabin101 I made an index in your text world
 
@flawr Give me a screenshot. I'm on mobile so I can't view it myself.
 
Better not pollute t19b with this^^
 
v_v
 
 
7:25 PM
Aw, I was almost done ._.
 
somebody put a bunch of bible quotes lol
 
yeah o-o who did that?
not el', because he hasn't been on (I don't think)
 
No, not me. I haven't checked out a World of Text for several days now.
 
there is an illusionati triangle now=)
 
Every time I see TED's introduction to one of their videos, it strikes me just how good the intro is. They put the central goal of TED into visual form.
It's really one of the best intros/visual metaphors I've ever seen.
 
should the thing evaluating a call stack be a class or a function?
 
7:59 PM
Flass
 
wat
floss?
 

« first day (1905 days earlier)      last day (2933 days later) »