« first day (1998 days earlier)      last day (2837 days later) » 

0
Q: Visualize a Difference Pyramid

Dr Green Eggs and Iron ManA difference pyramid is a pyramid where each new diagonal is the absolute value of the differences between the elements of the last diagonal. For example, if we start with the array 2 5 4 9 3 4 Now, we arrange these in a diagonal column: 2 5 4 9 3 ...

 
@NoOneIsHere how did you make your SE chat bot? They don't have a proper API, and I have an idea for one.
 
@uoɥʇʎPʎzɐɹC not hard
 
@EᴀsᴛᴇʀʟʏIʀᴋ no API and there aren't libraries
 
12:09 AM
document.getElementById("message-box").value = "texthere"
document.getElementById("send-button").click()
try seomthing like that
 
@uoɥʇʎPʎzɐɹC there's like 8 libraries for every major language
 
@Quill I want some links for python - I googled this to death
 
^ There's a full description of the internal API too
It's not very complicated actually
 
@quartata Oh, I thought it was like the Google Hangout Api - super complex
 
12:13 AM
@uoɥʇʎPʎzɐɹC Make sure you don't test the bot in here.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Oh, it won't post first - it first has to learn by observing you guys
 
@EᴀsᴛᴇʀʟʏIʀᴋ nah, it's like three lines of code with COBE
 
@uoɥʇʎPʎzɐɹC i recommend getting a Chat dump instead rather than letting it roam in here
 
12:14 AM
it's a library for complex markov-chain style stuff
 
you're gonna get to much BS into your chatgoat chatbot if you train it in here
 
@quartata the actual chat stuff isn't hard, but the logins are painful as hell to code
 
@uoɥʇʎPʎzɐɹC it's easier to just use geobit's SE chat dump.
 
@Quill Not really
Once you've parsed the fkey it's easy
 
@EᴀsᴛᴇʀʟʏIʀᴋ or just train it on books/movie scripts
 
@quartata really? I've been trying to fix a node version that uses the same goddamn code as ChatExchange for months
 
1
Q: Visualize a Difference Pyramid

Dr Green Eggs and Iron ManA difference pyramid is a pyramid where each new diagonal is the absolute value of the differences between the elements of the last diagonal. For example, if we start with the array 2 5 4 9 3 4 Now, we arrange these in a diagonal column: 2 5 4 9 3 ...

0
Q: Binary Recurrence Sequences

MegoA binary recurrence sequence is a recursively-defined sequence of the following form: This is a generalization of the Fibonacci (x = 1, y = 2, a = [1, 1], alpha = 1, beta = 1) sequence and the Lucas (x = 1, y = 2, a = [2, 1], alpha = 1, beta = 1) sequence. The Challenge Given n, x, y, a, alp...

 
Runtime Error: `a` is a reserved keyword
wat ok
 
@Downgoat ????
gimme context
I is expert pythoneer
 
12:19 AM
cheddar> var a = 4
cheddar> a = 2
Runtime Error: `a` is a reserved keyword
 
@Downgoat pls star trek bot
 
No one uses Data for whatever reason
 
@Downgoat Oh it looked like Python for some reason
 
@EᴀsᴛᴇʀʟʏIʀᴋ chatgoat v2 is half space-space odyssey if that's close enough
@uoɥʇʎPʎzɐɹC ಠ_ಠ
;____;
 
12:20 AM
that is offensive -10000
 
@uoɥʇʎPʎzɐɹC he hates python
@Downgoat you have the same errors though
 
wat no how what why
 
@Downgoat why do you hate python?!??!
 
>>> raise RuntimeError("a is a reserved word")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: a is a reserved word
 
also I can't believe you wrote a language in JS
@EᴀsᴛᴇʀʟʏIʀᴋ ...
 
12:21 AM
A) anti-venom is very expensive B) python is shit
 
@Downgoat how? it has the largest libraries
 
@EᴀsᴛᴇʀʟʏIʀᴋ i fail to see how this is smilar exept for :
@uoɥʇʎPʎzɐɹC yeah, sure.
 
@Downgoat same style of writing
 
@Downgoat *not standard, third-party
 
cheddar> var a = 4
cheddar> a = 2
cheddar> a
4
goddammit
 
12:23 AM
72,000 modules
 
@uoɥʇʎPʎzɐɹC XD not at all.
npm leaves Pip in the dust
 
@Downgoat really?
> The community of Python developers has also contributed over 72,000 software modules (as of January 2016) to the Python Package Index (PyPI), the official repository of third-party libraries for Python.
 
159
A: Does Python have a package/module management system?

Colonel PanicRecent progress March 2014: Good news! Python 3.4 ships with Pip. Pip has long been Python's de-facto standard package manager. You can install a package like this: pip install httpie Wahey! This is the best feature of any Python release. It makes the community's wealth of libraries accessibl...

 
@Downgoat so? it's been around since like 2.6
 
@uoɥʇʎPʎzɐɹC npm has 313K modules and a much bigger standard library
and npm is much newer than python
 
12:24 AM
@Downgoat so? BF is also much newer than python!
 
python is older and it has less packages?? it being older should mean it has more!
 
@Downgoat yeah, and npm has modules as small as left-pad! what's their average size?
 
@uoɥʇʎPʎzɐɹC npm packages are as big as entire languages.
 
@uoɥʇʎPʎzɐɹC NO
USE THE LINK
you can link directly to the comic
 
no joke on JS
 
12:27 AM
i.e. xkcd.com/1
 
@Downgoat and js typing system is HORRIBLE:
 
@uoɥʇʎPʎzɐɹC ....
that is not JS
 
@Downgoat it's based on JS's behavior
 
no. it's just a joke....
 
no, not at all
 
12:28 AM
like who says true == 'true'!?!?
and no OOP either
and it's not widely used enough
 
@uoɥʇʎPʎzɐɹC are you kidding JS is waaaayyyy more OO that python
> true == 'true'
< false = $1
@uoɥʇʎPʎzɐɹC JS is the most popular language...
@uoɥʇʎPʎzɐɹC idk who does, please tell me.
 
@Downgoat that's because it has a monopoly on the web. take away web and see how it performs.
@Downgoat you can't even make classes - how is that more OO?
> > '3' * '4'
12
 
@uoɥʇʎPʎzɐɹC that's like saying PHP has a monopoly on CGI
@uoɥʇʎPʎzɐɹC are you kidding yes you can:
 
@Downgoat no, it's the only language you can run in your browser without extra add-ons
like skulpt for python doesn't support half the standard library
 
class adder {
    constructor(a, b) {
        this.l = a; this.r = b;
    }
}
@uoɥʇʎPʎzɐɹC no...
 
12:31 AM
same for C++, and C
 
coffeescript, typescript, etc.
 
@Downgoat all variants of JS.
what's your point?
 
@uoɥʇʎPʎzɐɹC I don't have the point I'm just saying JS is not the only language you can run in-browser
 
and classes were added in EMCAScript 6, which not all browsers even support yet
@Downgoat yeah, but if you factor out web, JS ends up maybe third or fifth
 
@uoɥʇʎPʎzɐɹC not all browsers support css shadows yet I don't see anyone saying "CSS doesn't have shadows"
@uoɥʇʎPʎzɐɹC JavaScript is a web language, it makes no sense to say "JS is only popualr because web"
 
12:33 AM
@Downgoat yeah, but other than variants of JS, what other language is used in the browser?
PHP maybe, but we can all agree PHP is stupid
 
@uoɥʇʎPʎzɐɹC classes were added in ES6, but a prototypical structure was added in ES3 or 4 that supports OOP
 
@Downgoat the darn Firefox doesn't even support ES6 yet!
 
@uoɥʇʎPʎzɐɹC and you can always compile with babel to ES5
@uoɥʇʎPʎzɐɹC are you trolling?
Firefox supports ES7!
 
@uoɥʇʎPʎzɐɹC ?
 
12:35 AM
@Downgoat I'm just saying Python is better than some PHP or C++
esp. when performance is not a problem
otherwise go go C++14
why no response?
 
I'm not under any terms obligated to respond to you. If I feel I'm wasting my time continuing this discussion I can stop talking anytime.
 
@Downgoat sorry, but you didn't read my EULA
XD
 
@uoɥʇʎPʎzɐɹC ._.
 
> created 5 minutes ago
 
12:46 AM
@Downgoat you going 3 trillion or the donut
 
i am going the "ignore it route"
 
@EᴀsᴛᴇʀʟʏIʀᴋ if he responds after I put it in my profile, then he's obliged to the EULA
 
no
> An End User License Agreement (EULA) is a legal contract between a software application author or publisher and the user of that application.
no software
no contract
 
^ & ^^ & ^^^^
 
@EᴀsᴛᴇʀʟʏIʀᴋ in some contexts, yes
 
12:54 AM
that is a joke
now stop
 
@uoɥʇʎPʎzɐɹC PHP is not ran in the browser.
 
@DrGreenEggsandIronMan <?php ?>
 
That's server side, but client side.
 
Yay! Convex is winning a challenge!!
 
12:57 AM
@DrGreenEggsandIronMan ?
I don't do PHP
 
@GamrCorps which one?
 
@GamrCorps link?
 
@uoɥʇʎPʎzɐɹC PHP is a server-side language. your browser doesn't run it, the server does
 
4
A: Print all alphanumeric characters plus underscore

GamrCorpsConvex, 9 bytes New method! Also, I realized that is it pretty much exactly the same as Luis' answer but in Convex, but I came up with this independently. '{,®\W"Oò Try it online! Explanation: '{, Array of chars from NUL to 'z ®\W" Regex to match non-word characters ...

 
@Downgoat oh
 
12:57 AM
@DrGreenEggsandIronMan I'm going through your portal 2 challenges and methodically beating your records. :P
 
0
Q: Do Stack Overflows in different languages need to go through the definition phase?

dorukayhanEven though their scope is very clearly defined from the first day, Stack Overflow in [insert non-English language spoken by a sufficent number of devs around the world here] proposals have to go through the definition phase, which they don't (and will never) need in order to be a thriving Q&A si...

 
Hey everyone, could you take a look at this meta question and my answer to it, and tell me what you think?
7
Q: Objective computational challenges without "code"

Nick TI recently posed a question about attempting to ruin Lepton's attempt to compress a JPEG. I've done other file-format-type questions before, to generate a WAV, defeat LZMA compression, etc, in part because I like to learn how file formats are put together at the byte level. The question is all a...

 
anyone have a good tutorial for TI-ASM? besides the one on wikibooks?
 
Anonymous
1:13 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Try beating your head against the calculator. That always works well for me.
 
Calculator? I'm ready to bang my head on one right now... Darn advanced functions...
 
@Mego the lights aren't in the correct configuration :(
 
Also, who's talking about EULAs?
 
@Zizouz212 me, as a joke
 
That ain't a joke.
 
1:16 AM
\o/ \o/ \o/ \o/ \o/ Strict typing in cheddar works!!!
 
@Zizouz212 no, EULA into a joke
 
Name as many programming paradigms as you know.
 
Still ain't a joke.
Speaking of which... Any mathlings around here?
 
nope
@Zizouz212 just because you put things in a joke doesn't mean the things are a joke
 
1:18 AM
@Zizouz212 they are goats idk about mathlings
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Object Oriented, Functional, Imperative, Declarative Logic, Stack based, tacit, whatever-the-hell-Pyth-is (Probably pseudofunctional), algebraic
 
@EᴀsᴛᴇʀʟʏIʀᴋ gasp! How dare you?! Do you wanna play rn?
 
Meh... I'm failing at solving trigonometric equations -_-
 
@PhiNotPi idk, it's nice but all a bit too choral-ey/mystic for what I want. I like the first and fifth one but I don't feel they'd fit in to videos about random redstone stuff. I guess I want something more bouncy and percussive, and a little odd/offbeat
 
@isaacg pyth is procedural I think. What's algebraic?
 
1:19 AM
i.e. Solve for x. sin^2x - 2sinx - 3 = 0 on the interval x E [0, 2pi]
 
@HelkaHomba okay...
 
But thanks :3 I admit I am really a philistine when it comes to music
 
@Zizouz212 it's just a quadratic
 
@CᴏɴᴏʀO'Bʀɪᴇɴ journals.elsevier.com/…
 
Yes, but I keep getting the wrong answer :/
 
1:20 AM
oh, thanks
 
@HelkaHomba By "5th" you mean the one at 1:49 right?
 
@Zizouz212 (sinx - 3)(sinx + 1) = 0, so sinx = 3, -1
 
@Zizouz212 Oh geez, I haven't done that kinda stuff in ages.
 
(sin x - 3)(sin x + 1) = 0; sin x =3, -1; sin x = -1; x = 3pi/2
 
Wait.
 
1:21 AM
@PhiNotPi yes
 
@isaacg they want solutions over an interval
 
Yeah, it's 3pi/2
 
I was right. I was looking at the answers to the wrong question -_-
 
@isaacg but also -pi/2
oh wait I'm dumb and can't read
 
@DrGreenEggsandIronMan That's a bad sin. Is it cos you've been too busy getting a tan?
9
 
1:22 AM
this is a good website, but it's wrong in some ways :( "Function-level programming does away with the variables; one combines functions with "functionals". Examples: FP, FL, J. " -- J has variables. sigh
 
@HelkaHomba ಠ_ಠ
 
@HelkaHomba Haha... Earlier in class today, I wrote 10 as tan and then literally ten and couldn't make sense of what ten meant :/
 
@DestructibleWatermelon Namaste
 
@Zizouz212 Now take the derivative of ln(x) ^ e
 
1:24 AM
Eww... Me no do calculus just yet.
 
> lm978@basement:~$
Finally got my username changed
 
@Zizouz212 How about:
Nov 8 '15 at 6:17, by Calvin's Hobbies
Mini-math challenge: At what height would you have to draw a horizontal line in a unit semicircle such that the top and bottom portions have the same area?
 
Also, doesn't e take an exponent?
 
Nov 8 '15 at 6:17, by Calvin's Hobbies
user image
 
@DrGreenEggsandIronMan can't. :(
 
1:25 AM
@Zizouz212 e is a number
 
but it was fun. :D
 
@HelkaHomba Oh god, I solved that like a year ago but I don't even know how I would start.
 
@El'endiaStarman is better than you btw. :P
 
Heh, I don't know this stuff :)
 
It's roughly a third.
 
1:26 AM
IT'S PI/2 WHAT DO YOU WANT FROM ME
3
 
Okay. I need to finish this stuff. My teacher's going to yell at me :/
 
Thanks :)
 
@HelkaHomba Oooh, I've not seen this one before. [pulls out whiteboard]
 
1:28 AM
I should get an achievement. I got an entire chatroom to start doing math.
2
 
TBF, this is a pretty nerdy room filled with pretty nerdy people.
 
Nerdy? I'm definitely not nerdy.
 
Does sqlite seriously not have a power function?
 
Boom chicka pow pow...
 
@Doorknob Why would it?
Also, what are you doing with sqlite?
 
1:30 AM
@DrGreenEggsandIronMan Relax. Lie down for a sec on the cot. Get a glass of water from the sinc.
 
@DrGreenEggsandIronMan Well, I assumed I would be able to use basic math operators...
@DrGreenEggsandIronMan Making a chat server
 
@HelkaHomba Ah, haven't a hard time with the csc?
 
@El'endiaStarman I should have a whiteboard, too! (minutes later) Uh... there are no markers within 5 miles of here. ._. what have you done
 
@HelkaHomba I don't have much experience with percussion.
 
I have a whiteboard and some markers 5 feet away from me right now. :D
 
1:31 AM
@Doorknob What's the point of doing math in sql? Presumably you would do that in whatever language your running the db from.
 
@DrGreenEggsandIronMan ORDER BY for the starboard. Never mind, I found a way to hook custom functions into this sqlite library...
 
That's way more complex than I ever got with sqlite.
 
I need to learn databases.
 
@DrGreenEggsandIronMan The most complex thing I have so far is a query with two joins. (Related: I finally understand joins! :P)
 
@PhiNotPi Just power out a rithm on a log. Or sing e-i-e-i-rho.
xD
 
1:34 AM
I still don't understand joins. I just think about everything as a table.
I'm also not great at sql.
 
0
Q: Which ghosts are missing?

Destructible WatermelonIn this challenge, given a list of ghosts from Pac-Man, you must output which ghosts are missing. You must do it in as few bytes as you can Input Input will consist of a string, which will be a list of ghosts, which are; Blinky Inky Pinky Clyde However, the list may also include Pac-Man (wi...

 
@El'endiaStarman I forget what it is. I'm not sure I ever got an exact answer on paper
 
About a year ago, I wrote a part tracker database with sqlite.
 
0
Q: Which ghosts are missing?

Destructible WatermelonIn this challenge, given a list of ghosts from Pac-Man, you must output which ghosts are missing. You must do it in as few bytes as you can Input Input will consist of a string, which will be a list of ghosts, which are; Blinky Inky Pinky Clyde However, the list may also include Pac-Man (wi...

 
@Doorknob What kind of chat server? Are you making your own frontend and backend?
 
1:37 AM
@Zizouz212 Yeah. It's probably going to end up being fairly similar to SE chat but I've got a few other features (and plans for features) as well.
 
That's pretty cool. I was thinking about doing that too recently, since every thing out there is either 1. They take too much information from you; 2. They're full of ads; 3. They don't work; 4. They're too complicated. Isn't iMessage trying to implement like text pictures or something?
 
@Doorknob why sqlite?
 
@Quill Are there better options?
 
@Quill why not?
 
@Zizouz212 depends on your usage
@Doorknob doesnt sqlite write to a physical db file? I thought it was bad for scaling stuff
 
1:39 AM
I think my biggest setback to making a chat server was the way I should store data.
 
@Zizouz212 I haven't yet found a decent chat service that supports replies, has markdown, and is open source. Other stuff too, but those are the three big things. (That's mostly why I'm making this one :P)
 
@Doorknob Hey! I was going to support markdown!
 
@Quill It does. That makes it simpler than having to run a separate server. Should I not be doing it this way?
 
@HelkaHomba Hmm. Tried to be clever and do it with integrals, but the closed form solution is pretty ugly.
 
"create_scalar_function [...] Will return Err if the function could not be attached to the connection." Well, thanks, documentation...
 
1:41 AM
Alright then, time to take a different approach...
 
@Doorknob I suppose it depends, if you wanted to run a full on chat server like this, then probably not. SQLite is pretty close to other stuff, so it shouldn't be too hard to change if it becomes a problem in the future
 
@Doorknob IRC does two of those, but markdown would be handy
 
@Blue The main problem with IRC is that it's not persistent
 
@Quill What kinds of databases are there? I mean, what are the main differences?
 
@Zizouz212 See Ess run, run Ess run! csc, Ess sees me! (idk)
 
1:42 AM
I've solved that by running tmux on my Pi and SSHing to it, but good luck convincing other people to do that :P
 
@HelkaHomba lol, I'll be waiting
 
@Zizouz212 there's really two major types: SQL (flavours: MySQL, Postgres, T-SQL, SQLite) and NoSQL (flavours: Mongo, BigTable, Redis)
 
cscourses are fun
there
 
@Quill Hmm, okay. Thanks, I'll look into other databases more (I almost went with postgres, but then I decided against it :P).
 
SQL, and... umm... NoSQL?
 
1:44 AM
Yeah, designed so you don't need a query language to interact with a database
I used SQLite in the past only for mobile development where the databases wouldn't have millions and millions of rows
 
I'm sold! I hate writing queries!
 
Most NoSQL platforms are most difficult than SQL databases
 
Meh.. I guess I'm going to have to learn things...
But as long as there is no sql, I'm cool
I'm like, anti-sql.
 
Redis is pure beautiful magic, I suggest everyone trying Redis at some point
but it's not made for type specificity
 
@quartata No VMs or anything, just an Ubuntu 14.04 live CD chrooted into a physical Ubuntu 16.04 system
@Quill I use it mainly to read my browsers' cookie databases
 
1:53 AM
@HelkaHomba: Simplest closed-form solution I could get to: theta - sin(2*theta) = pi/4, where theta is the angle between the line between the point where the horizontal line intersects the circle and the circle's origin and the y-axis. h is then sin(theta).
That gives theta ~= 1.30033, so h ~= 0.96. Hmm. That's way too high.
Wait, no, h is cos(theta), so h ~= 0.267, which sounds about right.
 
@DrGreenEggsandIronMan sorry
 

« first day (1998 days earlier)      last day (2837 days later) »