« first day (2175 days earlier)      last day (2662 days later) » 

12:00 AM
If you do bundling a header is way easier than bundling a shared object
 
@orlp, you're right that's equivalent.
huh
except you need some details to distinguish when one integer stops and another ends
 
@GeorgeV.Williams not really
you can use variable base encoding in this case
or alternatively
arithmetic coding
with a uniform model of 0-2^32 for the first integer, then 0-i, which automatically reaches the shannon bound for it
 
@orlp I love how everything always seems to come full-circle to arithmetic coding for you :P
 
@quartata it's just so powerful!
having the model == having the encoding
 
@orlp maybe I'm being dense, but how do you know what the variable base is?
like the first one is all 32-bits, but after that?
 
12:03 AM
@GeorgeV.Williams well, you know that for the first 'digit' the base is 2^32
then you extract that digit (d = n%2**32, n //= 2**32)
now for the next digit the base is d (I used i earlier, sorry for switching variables)
eh small correction
the base is d+1
considering that we might have twice the same number in a row
 
@Downgoat can I delete your submissions to the time capsule?
 
Do you have that spreadsheet of the submissions still?
 
@orlp you're like xnor but purple
you even more have 4 letter names with 1 vowel, o.
 
His name is an Anagram for rolp. Rolp to my knowledge does not mean anything.
 
@ATaco no it's not
 
12:15 AM
Not intentionally.
 
@GeorgeV.Williams example implementation in Python
>>> encode([5, 10, 13, 24], 50)
102687
>>> decode(_, 4, 50)
[24, 13, 10, 5]
 
Needing to store 4, 50 kind of defeats the purpose.
 
no it doesn't
 
Unless you're storing many of these lists.
 
12:19 AM
@GeorgeV.Williams the problem with this implementation is that it's not uniform output size
 
@orlp, right I see.
 
>>> encode([50, 50, 50, 50], 50)
6765200
>>> encode([0, 0, 0, 1], 50)
1
 
my idea was actually slightly different but I don't think it's any better
 
on average I believe it's optimal
but its worst case isn't
 
@Dennis Which spelling is (more) correct: Leibnitz or Leibniz? (the mathematician) My high-school teacher spelled it with the t, but I keep seeing it without
 
12:21 AM
@LuisMendo the latter
it's pronounced as the former though
 
@LuisMendo I've never seen it as the former. (But then again, I'm from the USA.)
 
@orlp So is it strictly incorrect with the t?
 
@LuisMendo after some googling it's not
it's french spelling
 
@El'endiaStarman Thanks. The option without t is gaining momentum :-)
 
z in german is pronounced ts
 
12:22 AM
@orlp So that may explain the change in spelling
Let's wait for Dennis though. He speaks German natively
 
but considering Leibniz was german
I think you should write Leibniz
 
I think that's the safest. But I have fond memories of my professor and I'd like to spell it his way :-)
 
That's his signature. No T.
 
@Dennis Hm that has not t, does it?
 
12:24 AM
@LuisMendo Lewis Mendo
that's what Leibnitz is :)
 
@Dennis Clarified then from a reputable source. Thanks!
Nice signature...
 
my signature is the worst
inconsistent
ugly
oh well
 
@orlp That's a nice analogy, yes :-)
@orlp Mine is simple. My name hand-written, basically
 
Both spelling of the word Leibni(t)z exist in German. The mathematician and the cookie are spelt Leibniz, the city and the moon crater Leibnitz.
 
What year was Leibniz?
 
12:27 AM
@Dennis So are they two spellings for the same name, or two different names? (If the distinction makes sense)
 
@ATaco Leibniz is a person, not an event...
 
I am aware.
I need a time period.
 
I spawned in nethack and immediately I have magic marker
 
@ATaco google?
 
@LuisMendo I'd say it's the same name.
 
12:28 AM
As there is a time period in which many spellings of names, such as Shakespeare, are inconsistent even amongst themselves.
 
I thought we finished bagging on Windows for now.
 
@Downgoat can I kill your time capsule submissions?
 
D: oh no, why?
 
You said that you weren't planning on implementing either of them
 
12:38 AM
I was joking
 
When you said that or when you made the submission?
 
Do you have the spreadsheet of submissions still?
 
Threead is going to be needlessly complicated and I love it.
 
I'm just curious what Martin Ender is doing.
 
12:54 AM
To add 1 to buffer a one must do:
    l
i1d
 i+d
 
Can you explain that out?
 
i'm getting a blank winners by language column in the leaderboard of the RPS question -- could someone please verify?
 
link the question?
No. loading fine for me.
 
It's actually kind of simple, just know that each of those three lines, is a code running independingly, that can only write to its own memory tape.
the ` i1d` inserts 1 into it's memory tape, then removes it.
The ` i+d` Adds the 1 and whatever value was on the first tape, and deletes it immediately after.
But ` l` copies a value from the tape to the left of it, which is the value that was added just before it's deleted.
THis, thus, adds 1 to the tape.
The i and d are just there if you care about what's on tapes 2 and 3
 
i1
?
 
12:59 AM
i inserts a new cell into the memory tape at that position.
Which pushes other memory to either side.
d then deletes that cell. Allowing us to use the 1 and + only temporarily.
 
I don't actually see any | in your code.
 
Alternatively, the following would work.
(That's a lowercase L)
  l
1
 +
 
l and 1 look similar
 
Yes, they do.
I could change them to L and R
They simply grab the value on the tape to the Left or Right respectively.
 
Nah, just because it's not great in this chat isn't a reason to change it.
 
1:02 AM
Doesn't look good in Sublime Text either.
 
Well, do what you want.
 
The 3 is there to test.
Literally 1 pixel difference.
Nice.
 
0
Q: why use flask session to handle session management failed?

Jenny BI tried to use flask session http://flask.pocoo.org/docs/0.10/quickstart/#sessions to handle the session management. It turns out sometimes it got kicked out when accessing a protected page, and I have no idea why. any ideas what went wrong here? Thanks!! @app.route("/login", methods=['GET',...

 
AFK a tad.
 
So, if a value isn't prepended by i, then it just writes to the current cell?
 
1:09 AM
Question: if you know that a puzzle only has 1 solution, is using that knowledge to solve it cheating?
 
No, I wouldn't say so
 
@NathanMerrill Not necessarily. For instance, Su Do Ku puzzles in newspapers and books are guaranteed to have a unique solution, and that information can help you find it.
 
I have returned.
 
Right, but if there really is a single solution, then you should be able to solve it without that knowledge
 
If you can prove that only one solution exists than you, by extension, must be able to solve it without that knowledge.
 
1:15 AM
The knowledge that there is only one solution doesn't have to come from solving, like El'endia said
 
@ATaco maybe L and R read from the left and right tape, and l and r shift the instruction pointer?
 
Instruction pointer or Memory pointer?
Because the Instruction Pointer is shared among the codes, and can only be modified by basic Flow of Control.
 
1:28 AM
Mp, sorry.
 
It occurs to me this can pretty easily be transpiled from brainfuck.
I have made a dreadful mistake
 
Not if you add more intresting builtins so it's actually useable.
 
That's the intention.
It's not directly transpilable, so that's nice.
 
What happens if a thread tries to read from a cell at the same time another one writes to it?
 
@ATaco transpiled to, don't you mean?
 
1:36 AM
From.
Also, writes always happen after reads, to prevent that issue.
 
so, BF code can be transpiled to your language?
isn't that true of most languages?
 
Yes.
It can be transpiled more easily than most.
 
define more easily
 
In fact, it would probably just be the BF code verbatim, except output has to be on another tape to actually read it. Yes?
 
The code:
 
1:38 AM
also adding more features won't make that go away
 
1
  r r r
 + + +
Is the same as +++
I'm not entirely concerned.
 
why is this image on my computer
 
Doesn't that just repeatedly add 0?
 
the 1 sets up the first memory tape with a 1, so the + will add 1 and the value in the second tape, then the rcopies that value from the third back to the second.
 
1:40 AM
containerized_deployments.jpeg
its from google magenta thing
 
Regarding the reading and writing at the same time issue,
13
24
 +
Results in the tapes containing:
13
24
 3
The numbers are just *10+n functions.
I might actually use Hexadecimal, for golfing reasons.
 
why not septadecimal?
 
I don't hate myself?
 
hexadecimal seems an arbitrary stop if its just golfiness you want
why not base 255 or something like that
with number delimiters
 
1:56 AM
Question: what should default precision be for numbers?
 

« first day (2175 days earlier)      last day (2662 days later) »