« first day (2002 days earlier)      last day (2832 days later) » 

7:00 PM
@Quill oh >_>
@uoɥʇʎPʎzɐɹC can't tell if trolling or not
 
@Dennis I think you can out-golf my solution. Currently it uses an in-place factorial with O(1) extra memory.
Maybe if you use O(n) extra memory you can out-golf my solution.
 
Three. Moderators. In. Chat.
And then there's me talking about how I love spam
I mean come on, who doesn't like canned spam? @Downgoat
 
I don't
 
@LeakyNun Nice! Verified it up to input 5. I gets kinda slow after that.
 
I am a vegetarian
 
7:05 PM
@uoɥʇʎPʎzɐɹC Considering Dennis is a PPCG mod, and El'Endia and I have 37000 messages combined total in TNB.... I think we qualify as regulars
 
@uoɥʇʎPʎzɐɹC i can draw this as a graph
 
does @Downgoat?
 
@Dennis How did you wait for 10! :o
 
If a vegetarian eats vegetables, then what does a humanitarian eat?
 
It wasn't even that slow. I was surprised myself.
 
7:06 PM
@uoɥʇʎPʎzɐɹC humantables
 
> I gets kinda slow after that.
 
$ time sesos catalan <<< 5
42

real    1m8.736s
user    1m8.756s
sys     0m0.008s
 
1
A: Catalan Numbers

Leaky NunSesos, 94 bytes Hexdump: 0000000: 16f8be b7fbf2 a56de7 af0d1e 3cf8be 760eba 8f9d83 .......m....<..v..... 0000015: b1c1bb 766ed0 75efdc a0dd3b b673db b5c183 07dfd7 ...vn.u....;.s....... 000002a: ce41f7 b17330 3678d7 ce0dba ee9d1b b47bc7 765cd0 .A..s06x........{.v\. 000003f: 07dfd7 ce41f7 b9e3...

 
@Downgoat but what about the canned kind?
 
only 1 upvote for so many hours
 
7:09 PM
@Optimizer *high fives!*
 
@Dennis thanks
 
So you gets kinda slow, @Dennis?
3
 
@LeakyNun you could be the only one with tumbleweed!
here, I'll downvote
 
@Lynn \o
 
oh, it's a question
 
7:09 PM
Or does it?
 
@uoɥʇʎPʎzɐɹC thanks for your downvote :)
 
@Optimizer Wow, I feel like I see you talk in here frequently, but I haven’t seen you golf lately
 
true
and my last attempt was an utter copy of an existing answer.. which was posted couple of days before mine..
(though independent)
 
Hello @ArtOfCode!
 
@LeakyNun I'm spamming your inbox
 
7:13 PM
evening
 
@uoɥʇʎPʎzɐɹC thanks for spamming my inbox!
 
@ArtOfCode What happened to your SE clone? I totally forgot it even existed.
 
@PhiNotPi it's down right now because other projects are taking priority
 
okay
 
like an app that someone is actually paying me to develop
and an ML spam classifier based off Smokey
 
7:21 PM
Wait, people get paid to develop apps?!
 
On occasion :)
 
@ArtOfCode please title it based on some Bayesian Filter pun
 
So, you input a piece of spam and it outputs a classification such as Nigerian prince, nutritional supplement, or male enhancement?
 
@Quill find me a good one and sure
@feersum nah, you input a post and it tells you if it's spam or not
 
-1
Q: Is an email is Spam or Ham?

tecywiz121Challenge Given an email in plain text format, including headers, decide if the email is either spam or ham, and output SPAM or HAM respectively. The emails will be given below. Your code must be able to correctly identify all of the samples, but should be general enough to work on any email. ...

 
7:24 PM
@Dennis I'm rewriting my code
 
As it turns out, spam emails tend to have 3 repeating newlines more often than other emails
 
:31242864 @ArtOfCode why has this been removed?
 
def p(n):
    if n <= 1:
        return 1
    return p(n - 1) + int(math.tan(n) * 10)
idk how to tranform in a loop :/
 
@Downgoat 'cuz it might have been a joke, but it doesn't look good out of context
 
@LegionMammal978 @DrGreenEggsandIronMan this is relevant to you
 
7:28 PM
@TùxCräftîñg watcha doing with my source code
 
doing what?
 
I mean the bot
 
@Downgoat Spam, Ham or Iron-man
sounds like a good image recognition challenge lol
 
@TùxCräftîñg anything...?
 
7:29 PM
lost your repo
 
@TùxCräftîñg here:
def p(n):
 s = 1
 for i in range(2,n+1):
  s += int(math.tan(i)*10)
 return s
 
since everyone make integer sequences and post it as a challenge i try to make a sequence
brb
 
quote from my bot:
> It's NEVER multidimensional chess.
 
@TùxCräftîñg Be sure to check to see if it's on OEIS.
 
7:34 PM
^
 
> #TACTICAL NUKE INCOMING
 
ducks and covers
 
@PhiNotPi my bot's response:
 
> ducks and covers
INFO: [ducks and covers] 43 0.977776
Covers? You mean assault?
 
7:38 PM
@uoɥʇʎPʎzɐɹC You have a chatterbot?
 
@zʏᴀʙiɴ101 ye
it's offline because I ran out of disk space
@zʏᴀʙiɴ101 chat log:
it's 22 lines of code and valid english
@zʏᴀʙiɴ101 like it?
 
@NathanMerrill 1) Start with some vertices and add each of them to their own set. 2) Randomly decide whether to add walls between any two connected vertices. (If said vertices are in the same set, always add a wall. If either vertex would be completely walled off if you add a wall, don't.) 3) Add all connected vertices to the sets of the vertices they're connected to. If a vertex is connected to two members of the same set, union the sets (and don't add a wall). Repeat from step 2.
 
question: What should be the operator for checking if an object is an instance of a class?
I was thinking A is B
 
3
A: Catalan Numbers

Leaky NunSesos, 94 86 bytes 8 bytes by changing the factorial-er from version 1 to version 2. Hexdump: 0000000: 16f8de bd4bfb 3940bb 776cf0 7ded9c b9011a 74dd3b ....K.9@.wl.}.....t.; 0000015: 065fe7 8ec1d8 e05f3f b7f303 bc6be7 065df7 8e191b ._....._?....k..].... 000002a: e0c1f7 b573d0 7dec1c cc0dfa f...

8 bytes off \o/
cc @Dennis
 
@Downgoat I was thinking of doing isa or is_a in Pytek, since is feels more like a (very strict) equality check.
 
7:51 PM
hm, what should be the function to get a class then?
 
Like, to get the object's class?
Python has foo.__class__() for that.
 
yeah
@El'endiaStarman what is with python an __whatever__
 
@Downgoat operator? not function?
@Downgoat that's just the style.
 
@EᴀsᴛᴇʀʟʏIʀᴋ it should be an operator
i don't want to take any of the user's functions
 
specifically the style for hidden functions that aren't normally called by the coder.
 
7:54 PM
@Downgoat __whatever__ is generally a special variable/function, and there are two underscores so you can still use _whatever_ for your own special variables/functions.
 
A ∈ B?
unicode op
 
ninjuic'ed triple
 
maybe I could have like what is "string"
 
7:54 PM
but then what would unary is do?
 
truthy/falsy check
 
@Downgoat what is love
 
ohhhh
idea!
 
@El'endiaStarman what is goat
 
is returns a function like: is x == (a) -> x == a
 
7:55 PM
@Downgoat mine or yours
@Downgoat ?
oic
 
@EᴀsᴛᴇʀʟʏIʀᴋ like is 1 -> true?
 
cheddar> what is "the meaning of life, the universe, and everything?"
42
 
@Downgoat ?
I was thinking more like is 1
but that works also
@zʏᴀʙiɴ101 no, just a joke.
 
@El'endiaStarman < Unprintable object of type "class" with literal value "love" >
 
Name suggestions for a Lego WeDo-based programming language of multi-threading glory?
 
7:57 PM
@Downgoat No love for cheddar, huh?
 
@EᴀsᴛᴇʀʟʏIʀᴋ what would that output?
 
@PhiNotPi OuiDo
 
@El'endiaStarman :/
@PhiNotPi WeAllDo
Hello @TùxCräftîñg!
 
7:58 PM
@El'endiaStarman "OuiDew"
 
@Downgoat true
 
WeDon't
 
basically is x is the same as x == true.
 
WeDogoat
 
WeDogOat?
 
7:59 PM
@EᴀsᴛᴇʀʟʏIʀᴋ but then what would what do?
 
@PhiNotPi DownWeDogoat
 
@PhiNotPi YouDo
 
@PhiNotPi WiiDew? Just gotta make sure Nintendo never notices.
 
^^^ best language name 10/10
 
7:59 PM
@El'endiaStarman Nintendo notices
"Augh."
 
@EᴀsᴛᴇʀʟʏIʀᴋ I think I'll make it a function so you can do: [1,2,3].every(is 1)
that looks nice
 
3
A: Catalan Numbers

Leaky NunSesos, 94 86 bytes 8 bytes by changing the factorial-er from version 1 to version 2. Hexdump: 0000000: 16f8de bd4bfb 3940bb 776cf0 7ded9c b9011a 74dd3b ....K.9@.wl.}.....t.; 0000015: 065fe7 8ec1d8 e05f3f b7f303 bc6be7 065df7 8e191b ._....._?....k..].... 000002a: e0c1f7 b573d0 7dec1c cc0dfa f...

No love for hours of work :/
 
@El'endiaStarman Just gotta make sure Lego never notices, since it's based off their proprietary language.
 
Thanks @secretupvoter
 
8:01 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ question: what is curry function in fn lib?
 
@FryAmTheEggman @LeakyNun @MartinEnder @mbomb007 and other Sesos users: You can now use -c to count the executed commands and -d to print debugging information instead of regular output.
Examples:
 
@Downgoat Hahaha!
 
@Dennis thanks!!!!!
 
HOLY SHIT They made those pokemashups alive
DEWBASAUR <3
one last:
 
creepy ._.
 
someone know a verilog tutorial?
 
@Optimizer Uhhhh...º_º
 
Okay then...
 
well, i posted the creepiest ones here.. but some are really nice
 
8:18 PM
@Optimizer both bulbslash and maroizard look like they could be real
 
keep scrolling
 
@Downgoat there isn't one yet
 
oh ok
 
SWAG DRAGON
 
8:19 PM
Not-so-baby
 
@CᴏɴᴏʀO'Bʀɪᴇɴ again, not to badger you, but are you at computer?
 
@TùxCräftîñg ermahgerdno
 
Okay, that's enough with the images.
 
@Downgoat yes I am.
 
lel adam sandler
 
8:21 PM
kinda busy right now tho
 
have you fixed that bug yet ? >_>
 
@TùxCräftîñg thanks @El'endiaStarman
 
i am trying to create a brainfuck cpu in verilog
 
8:30 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ can you npm install -g cheddar-lang :3 :3 :3 :3
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Publish the flag generator language? And try it out on the "I honor $LANG" flag? :3
D:
@TùxCräftîñg Did you try the tutorial I found? :3
 
Interesting development regarding my WeDo language: it turns out that the "loops" are far more complicated than they appear on the surface.
 
8:45 PM
indeed.
 
@PhiNotPi but easier that Gaot++
 
X=3; for(X){X=4;}
 
that doesn't really have loops.
more like oops
@Zizouz212 hello.
 
greetings.
 
guess how many times the contents of that FOR loop is executed
 
8:46 PM
ĥι @Zizouz212
 
:/ Arch is not for me.
 
Anyways, the answer is 5.
 
@PhiNotPi wat
 
Changing the value of the variable that's being looped on, resets the counter.
The code X=3; for(X){X=5; X=3;} only loops 3 times.
since the value is altered but then changed back to the original value, so it doesn't trigger a reset
I don't know what the lego developers were thinking when they added that feature.
 
@DrGreenEggsandIronMan Arch Linux? :/
 
@PhiNotPi i still dont understand this looping construct
.__.
 
It's really great, makes for a good esoteric language.
 
@\w+ is the best
 
9:00 PM
Depends what you mean by symbols.
 
@PhiNotPi es6 Symbol equivalent
 
@PhiNotPi ruby/js symbols
 
Nagged by today's featured poll: "What gaming role you enjoy the most?" Yeah, that'll be an infinite wait.
 
@EᴀsᴛᴇʀʟʏIʀᴋ what is the utility of Stack.weave?
 
it's gone
@TùxCräftîñg leftover from when I wrong the code a while agin
 
9:06 PM
k
anyway merged
 
yes
haven't worked on it in a while
 
@TùxCräftîñg A "normal" loop should look something like for(i = 0; i < X; i++){...} but this type of loop looks like:
 
9:19 PM
i = 0;
hist = X;
while(i < hist){
  ...
  i++;
  if(hist != X){
    i = 0;
    hist = X;
  }
}
 
@EᴀsᴛᴇʀʟʏIʀᴋ wtf is that?
 
@PhiNotPi dabrainfuck
 
and a human
@TùxCräftîñg hey no cussing
> da-belgium
ftfy
 
@TùxCräftîñg It keeps a historical record of the value it's testing against and resets the counter when it is altered.
 
Do we not have a “golf image format” yet?
3
Q: Reverse Bayer Filter of an image

agtoeverAlmost all digital camera sensors are organized in a grid of photosensors. Each photo sensor is sensitive for one of the primary colors: red, green and blue. The way those photo sensors are organized is called the Bayer filter, after its inventor, Bryce Bayer of Eastman Kodak. After an image is t...

> You may not return an array representation of the resulting image.
Netpbm is close. But honestly, I want something even simpler.
For one, the format shouldn’t allow for things like comments or skipping over whitespace — that way, an “image reader” can be dead simple and still process 100% of images.
Other than that, just skip the P3 header, I guess; all you need is "\n".join([width, height, *rgb_values]). Defaulting to 8-bit RGB is okay too, I think.
 

« first day (2002 days earlier)      last day (2832 days later) »