« first day (2640 days earlier)      last day (2204 days later) » 

12:03 PM
@feersum ... You read a manual? Real programmers use info!
 
All right guys I can be web programer now
What should I make
 
A browser
 
@trichoplax you're supposed to use node for that :P
 
pretty sure that's what Vivaldi does
 
12:08 PM
Alright
Now we play a fun game
I call it, manually parse HTTP requests
 
@feersum Please make me an internet so that I can play MyCraft.
 
12:28 PM
Alright! Now I can HTTP!
 
@ATaco HTTP is a verb‽
 
Just please don't actually try to use it as a webserver I guess
Well, I have a client which only speaks HTTP
And a server which only speaks TCP
Technically they're compatible, but uh.
 
@ATaco That's fine... ish.
@ATaco "which only speaks TCP" That doesn't really make sense though.
 
"That doesn't have Native support for HTTP"
 
@ATaco What application-layer protocol does it speak?
Or does it just pass through all the input it gets?
Apr 18 at 23:07, by Pavel
@Adám Goats can't type.
As soon as Downgoat gets back...
 
12:31 PM
It just passes it's input, it would seem.
 
@ATaco Ok...
 
I could just download a Library for it, It's C# after all.
 
I recommend just using a different server.
 
As I said, I could download a library for it.
But I just wrote a programming language in it, I'm not changing because it doesn't natively support HTTP.
 
@ATaco does it not...
 
12:33 PM
It does not.
 
@ATaco I'm assuming HTTP server?
 
Crap it does.
 
@ATaco You wrote a programming language in a web server‽
 
@ATaco exactly.
 
I made the mistake of not specifying .NET in my google searches.
 
12:33 PM
most languages do
 
Tell that to Lua
@wizzwizz4 You don't own me!
 
although if they're not intended for server programming their HTTP libraries may not be very complex
 
Eh, I've already got as much of an HTTP library as I need.
As in, it takes a GET request and sends some bytes back.
 
@ATaco What web server supports that?
 
As I've been talking about, it's C#, it's the fact that it doesn't (except now we know it does) have HTTP support natively.
Even if, PHP is a webserver and you could write a langauge in it.
So¯\_(ツ)_/¯
 
12:42 PM
@wizzwizz4 node.js
a lot of people write languages with node
 
Ohyeah that too.
See: Funky
 
@ASCII-only Good point.
 
and VSL
 
So, basically every programming language with web-server support.
... That seems tautological.
 
well it's mostly because it's the only sane non-browser distirbution of JS
 
12:43 PM
Are there any that are primarily web servers but happen to be Turing complete?
 
Some would argue sane.
Does PHP count?
 
> sane [...] JS
@ATaco Not as sane.
 
Sane was never up for debate.
 
@wizzwizz4 Apparently the newer ones were more ok
@wizzwizz4 oi JS is sane
unless you're trying to use a string as a number or some crap like that
which no sane person would ever do
 
Funky isn't sane.
 
12:44 PM
@ASCII-only toString can mutate.
 
@wizzwizz4 hmm?
 
@ASCII-only They wouldn't deliberately.
@ASCII-only Running alert(x) can change the state of x.
 
@wizzwizz4 According to this the rewrite rules in Appache are turing complete. beza1e1.tuxen.de/articles/accidentally_turing_complete.html
 
@wizzwizz4 on primitives?
 
@ASCII-only No...
 
12:52 PM
Really, BYOND shouldn't talk to anyone but itself...
 
@ATaco The game site?
 
Well, games written in it, yes.
 
@wizzwizz4 exactly... you can make ToString mutate with any programming language... ...
 
@ASCII-only Primitives v.s. primitive objects.
 
@wizzwizz4 wait primitive objects mutate themselves?
 
12:58 PM
@ASCII-only They can if you butcher Number.prototype.
Saner languages don't let you do stuff like that.
 
@wizzwizz4 exactly... you can do that in any interpreted/VM language...
 
Python.
Java.
 
@wizzwizz4 yep
@wizzwizz4 yep
 
C#.
 
@wizzwizz4 yes...
Reflection is a thing...
 
12:59 PM
@ASCII-only How?
int.__dict__["__str__"] doesn't work.
 
@wizzwizz4 of course? that isn't even really reflection at all
 
@ASCII-only So how do you make x=y=5;print(x) set x and y to 6 in Python?
 
@wizzwizz4 you can't
 
@ASCII-only But you can in JavaScript.
 
@wizzwizz4 but only because integers between -5 and 256 inclusive are cached...
well, you probably could set all 5s to 6 though
 
1:03 PM
@ASCII-only I've tried that; it crashes IDLE.
 
@wizzwizz4 protip: IDLE is terrible, don't use it
@wizzwizz4 also, I'm curious: how did you try to do that? :P
 
@ASCII-only IDLE puts up a valiant effort.
@ASCII-only I used a string as a buffer.
 
@wizzwizz4 wut
 
It survives 2 commands on average before failing to communicate with the shell UI.
 
@wizzwizz4 what do you mean
 
1:05 PM
@ASCII-only I'll see if I can recreate the program.
 
...
Is there any way to edit a bounty message?
 
@totallyhuman Ask a mod to refund it and bounty again.
 
Dang.
 
@wizzwizz4 how have you done that? I can't seem to make a=5; console.log(a+"") log something not 5 (unless you mean to make a.toString() not 5 in which case it's easy but I wouldn't call that a bad thing)
 
@dzaima Make toString mutate.
 
1:15 PM
I should not be allowed to do anything even remotely important on mobile.
 
@totallyhuman "to do anything"?
 
Argh.
Still on mobile. :P
 
@wizzwizz4 I wouldn't say that toString being modifiable is bad as sometimes there could be legitimate reasons to add functions to the Number prototype and IMO it doesn't make sense to arbitrarily block toString from being modifiable
 
> I should be allowed to not do anything.
@dzaima Then make a subclass.
 
@mods Can I get the bounty here cancelled?
 
1:18 PM
@dzaima People who modify toString (for such purposes) are bad. The language is not.
 
@totallyhuman ...
 
@wizzwizz4 but you can't make a literals automatically convert to subclass...
 
You didn't see anything. :P
 
@ASCII-only ... That's no excuse!
 
@wizzwizz4 :|
> u/20260
 
1:22 PM
@wizzwizz4 I agree that it's bad code design but the alternative is ugly code too :p
 
@totallyhuman Done. It's pure coincidence that I saw your chat message though. Flags are more effective.
 
@wizzwizz4 why do you think polyfills even exist
@ASCII-only you English very well
 
0
A: Sandbox for Proposed Challenges

trichoplaxKnightmare in 1024 bytes of JavaScript king-of-the-hill javascript grid board-game Board The board is a 16x16 grid of squares. It does not wrap, so the outer edges are an impassable boundary. Pieces Each piece is like a Chess knight, and will be referred to as a knight. It moves to a squar...

 
1:38 PM
@NewSandboxedPosts 0/10 board is not 32x32 @feersum
 
@ASCII-only To update the language in-place.
I'm not saying that these things aren't necessary. I'm saying that they shouldn't be there.
And their presence makes JavaScript a bad language.
 
@ASCII-only Open to change... What's the thinking here?
 
@trichoplax 16x16 is only 256 cells :P
 
@trichoplax Bigger board is better.
 
@wizzwizz4 then write a language that runs exactly the same for 10 years straight
 
1:39 PM
Also, your image is only 8x8.
@ASCII-only Ok, but nobody's going to use it.
 
@wizzwizz4 That's just to explain chess knight moves. If it's confusing I may have to add a full board image too, once I've settled on which numbers to use
 
@wizzwizz4 yeah y'see, there's the problem. If people use it then they'll want new features. plus JS was first written in 10 days so it had to be improved a lot
 
@trichoplax It's not very confusing, but perhaps you could add a fade effect to the edge.
@ASCII-only That would explain null is an object and that sort of thing.
Why can't we all agree to do a Python 2 -> 3 transition?
 
@wizzwizz4 hmm?
because Python 3 is bad for golfing. obviously.
 
@ASCII-only I want a board big enough to prevent brute forcing, but small enough to force stepping on the same square multiple times. A huge board would require a huge number of turns to avoid the knights simply skipping from zero cost square to zero cost square
 
1:42 PM
@wizzwizz4 you're asking the wrong people here :P
 
@ASCII-only I gathered.
Python 3 is not that hard for golfing, if you set up the environment initially.
 
Actually, the number of pieces helps force stepping on non-zero cost squares. Maybe I can afford a bigger board after all
 
@ASCII-only No WASM? Lame.
 
@feersum Did you reply to the wrong post?
 
@wizzwizz4 No.
 
1:44 PM
No it's a comment on my KotH only using JS
 
@trichoplax hmm. I guess you mean something more like: small enough so multiple pieces on the same square isn't a rare occurrence?
 
I'm wondering if @ASCII-only pinged the wrong person though.
 
@ASCII-only No, I don't need multiple pieces on the same square at the same time, just running out of zero cost squares to hop to
 
@feersum >_> yes sorry
 
@NewSandboxedPosts 1024 bytes of JavaScript is always a nightmare.
 
1:45 PM
@trichoplax Make the board 256 by 256 and have 65536 players.
 
@trichoplax yeah in that case a 32x32 board will on average cost 16 by the end of a game
@wizzwizz4 good luck getting 65536 entries
 
@wizzwizz4 Sounds good. You can run the tournaments :P
 
@trichoplax Ok. I'll see whether I can get some timesharing at the Met Office.
 
@ASCII-only What makes you happy to stop at 32x32?
 
@trichoplax calculate 32x32 :P
 
1:47 PM
1024. 1KiB?
 
Offtopic: We really should cleanup sandbox sometime
 
@ASCII-only How?
 
@wizzwizz4 guess the move limit. and the code size limit :P
 
@ASCII-only We should get some decomposing bacteria.
 
Oh I see. 1024 bytes, 1024 squares
I'm not even settled on it being 1024 bytes yet though...
 
1:47 PM
@ASCII-only *A grin spreads across wizzwizz4's face.* That's brilliant!
 
Writing and polishing challenges are not exactly the most interesting things to do.
 
@ASCII-only What do you mean by clean up?
 
@trichoplax yeah that's a good point. but i'd say 4kb at the very max
@Dennis remove all the unfeasible questions
 
But I've put a lot of time into writing my unfeasible questions
 
i mean things like this
 
1:49 PM
@ASCII-only As long as nobody edits them in the process, fine. It's much easier to pretend that everything after page 5 doesn't exist though.
 
@ASCII-only Ctrl + A → Ctrl + X → Code Review →Ctrl + V.
 
i don't think they can really be turned into an interesting challenges
@wizzwizz4 :O this is a very smart idea
 
If we do it directly on the database level, they won't notice!
 
We can't clean up the sandbox! How will SE load test their server?
10
 
@feersum Argument between Marky and Chatgoat sans rate limiting?
 
2:01 PM
As long as nobody makes a leaderboard snippet for the sandbox, we'll be fine.
These are terribly inefficient. We should come up with a better way.
 
@Dennis SEDE?
 
Can you query SEDE with JavaScript from another page?
 
@Dennis CORS would prevent that, wouldn't it?
And there'd be the time lag.
You could hijack search results... but you couldn't because CORS.
Yes you could; you could display an <iframe>. Would you be able to eject CSS into the <iframe>?
 
Of course not.
 
We could ask for a custom... oh, wait.
 
2:12 PM
And most of SE blatantly refuses to even display in an iframe.
 
@Dennis Ah, yes, I remember having that problem when using SE as a demo site.
Had to use boring ol' example.com instead.
CMG: Guess the language!
Post an extract from documentation, and the rest of us will have to work out which language it applies to.
No exact text searching allowed.
Example:
> Friendship is not transitive (a friend of your friend is not your friend)
> Friendship is not inherited (your friend's children are not your friends)
 
C++
 
C++?
 
That was an easy one.
@feersum You win! Your turn.
 
> This page is an overview of the documentation included with your Rust install.
 
2:17 PM
@Dennis Rust.
Is that a trick?
 
@wizzwizz4 Hm...
 
I've got something in mind, trying to find it...
 
"included with your Rust install"...?
 
@wizzwizz4 Correct! How did you figure it out so quickly?
 
@Dennis Erm...
 
2:19 PM
@wizzwizz4 So it's not.
 
> meaning brains (culinary) in Spanish
good luck with that
 
Ahem.
 
@EriktheOutgolfer Is it practical?
 
> Use of the O command is subject to two restrictions. First, if
an O command is stored in a Q-register as part of a command
string which is to be executed by an M command, the tag
referenced by the O command must reside in the same Q-register.
 
@user202729 it, uh, depends on what type of programmer you are
 
2:22 PM
It really doesn't.
> A comma-separated list of literals forms a list literal.
 
hrrrmph, that's very, very hard...
 
@Dennis Jelly?
 
Yep.
 
oh how did you notice it's like impossible
 
I almost answered Python but remember it's tuple...
 
2:25 PM
@feersum WebAssembly?
I doubt it, but...
 
Nope.
 
> A tilde (~) as the last character in the line still indicates a continuation line, but not a continuation of the comment.
Hopefully not too many duplicates. No problem, Google get it correct.
 
@feersum I'll add another clue:
> EY Same as the Y command, but its action is always
permitted regardless of the value of the Yank
Protection bit in the ED flag. Remember that Yank
DESTROYS the current buffer; there's no way to get it
back!
 
2:42 PM
Vim?
 
I was trying to find a snippet of BYOND's docs that looks unrecognizable, but it's all pretty tame.
 
@LeakyNun Getting warmer...
 
@feersum Emacs.
 
V..?
 
@wizzwizz4 Even warmer!
 
2:44 PM
@feersum GNU Emacs!
 
Not.
 
> For each character c of the line (including the trailing linefeed), the code point of c is XORed with the accumulator divided by 2, and the Unicode character that corresponds to the resulting code point is appended to the source code. Then, the difference between the code point of c and the integer 32 is added to the accumulator, and the next character of the line (if any) is processed.
 
Ahem.
 
Shh Dennis
(Although you are by all rights allowed to answer it)
 
@ATaco Jelly!
 
2:47 PM
I knew the last Dennis one but not this. This one sounds like an esolang someone spent 5 minutes making.
 
That is not Jelly.
 
Oh, actually the last dennis one mentioned was Jelly, I meant Sesos.
 
You know this one too. You just forgot about it.
 
@feersum TECO! (Who uses TECO?)
 
Does it happen to have been posted as an aswer to one of my questions?
@ATaco Correct.
 
2:49 PM
It does.
 
@ATaco Umm, historical re-enactors?
 
Fair enough.
 
I did win a challenge with it once.
 
TECO is great though because it's almost TACO
 
Presburger arithmetic is the first-order theory of the natural numbers with addition, named in honor of Mojżesz Presburger, who introduced it in 1929. The signature of Presburger arithmetic contains only the addition operation and equality, omitting the multiplication operation entirely. The axioms include a schema of induction. Presburger arithmetic is much weaker than Peano arithmetic, which includes both addition and multiplication operations. Unlike Peano arithmetic, Presburger arithmetic is a decidable theory. This means it is possible to algorithmically determine, for any sentence in the...
I should make this a challenge
but nobody would solve it
maybe orlp would
 
2:57 PM
Anyway, I'm gonna go sleep, Dennis knows the answer to this one. G'night y'all.
 
Malbolge? (probably not because Unicode)
 
> Glivický and Kala recently produced a model of Presburger arithmetic where the Fermat Last Theorem fails, and there are infinitely many counterexamples.
 
@LeakyNun But multiplication can't be defined, so is exponentiation...
 
@user202729 well but it can be defined for specific numbers
you just can't produce a total function that is multiplication
 
You have to define it for all numbers to state FLT though.
 
3:00 PM
you don't have to state FLT
(if you could, then it wouldn't be able to fail in any model, since the theory is decidable and it is true in one model)
 
So what then do you mean?
 
@LeakyNun Then what does it mean by "fail"?
 
I don't know, I haven't read the paper
 
Is the joke to introduce numbers that doesn't have a chain of predecssors extending to 0?
 
Re NMP: Does anyone have an efficient solution? I have an idea but only works if the graph of lights are bipartite.
 
3:05 PM
@feersum joke?
well that's a standard way to construct nonstandard models of PA, but this isn't PA and I really haven't read the paper
 
If that's allowed in PA then I guess it would be allowed here too.
It seems like that would be super-trivial, actually.
We can easily solve x^3 + y^3 = z^3 if we're allowed to use algebaric numbers.
 
@feersum lemme check whether this can be done
 
@feersum "algebaric"?
 
you know how it is done in PA right @feersum
 
No.
 
3:08 PM
@user202729 yes, some nonstandard models of PA without induction is constructed using algebraic numbers
 
I was able to notice the loophole in the axioms :)
 
@feersum so in PA, ordering can be encoded, i.e. x<=y iff ∃k[x+k=y] and x<y iff x+1<=y
so, the nonstandard model of PA is constructed by augmenting the language signature to include another constant c
and adding, for every natural number n, the axiom n<c
(where n is encoded as SSS....SSS0)
every finite subset of the axioms is satisfiable (by the "standard" model of PA), so by compactness the entirety of the axioms is satisfiable
so there is a model with a constant c such that c is bigger than any "finite" number
 
Presburger is a subset of PA, right? So you could recycle any model of PA.
 
aha
you're right
5 mins ago, by feersum
We can easily solve x^3 + y^3 = z^3 if we're allowed to use algebaric numbers.
 
@feersum Make sure you break the timesy bit of the program.
 
3:13 PM
but this is done in Robinson arithmetic, i.e. PA without induction, for which Presburger arithmetic is not a subset of
so you can't recycle that
 
Getting back to the original claim, I still don't see how the FLT claim can be meaningfully interpreted.
Using algebraic numbers is too easy, so surely that wouldn't be worth publishing?
 
I'm still on P.2
@feersum now I might be wrong (I'm just on the top of P.3)
it seems that they augmented the language to 0 1 + · e ≤
where e is an exponential function not satisfying induction
and then they claimed to have constructed a model where every identity about the natural number holds, and that the function e satisfies elementary identities about exponentiation
and that it has a submodel satisfying presburger arithmetic
and that in both models, FLT fails
 
The general strategy is still refuting a statement about natural numbers like "For all x,y blah blah blah..." with "ha ha, you forgot to say all natural x,y!"
?
 
what is so interesting about it
we know it's true for the naturals, so what is so surprising about that strategy
 
@LeakyNun Is this a question, or a statement that you didn't finish sending?
 
3:27 PM
I was commenting on your comment
 
Well everyone knows that the properties of natural numbers will not necessarily hold for other numbers.
 
so I'm not seeing the point in your comment
 
So what I don't get is why this kind of stuff is considered interesting or significant.
 
heh...
nobody said it is
not many mathematicians care about model theory
but those that do (like me) find it interesting
 
It's just like a type error, wehre the variables were supposed to be S^n(0) but the theories "forgot" to say that.
And someone has an "exploit" by using objects of the wrong type.
seems silly overall.
 
3:33 PM
I like to think of it as an entirely separate branch of mathematics
I don't know how to explain myself
like you don't go to a topologist and say "but we live in only 3 dimensions"
 
I don't say that it does not deserve to be studied, but what annoys me is the mysterious-sounding way that it is presented.
 
well clickbaits exist everywhere, you know
 
lol
Ohio Mom DESTROYS theory of natural numbers that was believed by math professors for over 80 years!
 
lol
 
0
A: Sandbox for Proposed Challenges

NathanielGolf the linux kernel kolmogorov-complexity compression This file [to do: make the file and provide a link] contains all the code in the Linux kernel, concatenated together into a single file. Your task is to output all the code in this file. The code in the file has been stripped of all comme...

 
3:48 PM
@NewSandboxedPosts I thought you were a really bad challenge at first glance.
Good thing it's a challenge.
 
NVIDIA made an imaginary celebrity generator: youtube.com/watch?v=G06dEcZ-QTg&feature=youtu.be
5
 
@mınxomaτ that's the first time I've actually seen a GAN in use after learning about them
 

« first day (2640 days earlier)      last day (2204 days later) »