« first day (2591 days earlier)      last day (1903 days later) » 

2:28 AM
@ChrisK if you can stomach the pile of steaming garbage that is my voice this might be helpful: b3m2a1.github.io/…
 
 
7 hours later…
9:36 AM
@Szabolcs The function repository reminds me of when iPhone first came up, the way they opened it to developers was through some "web apps". Luckily in that case, jailbreakers sort of forced the issue
 
 
3 hours later…
12:53 PM
Is there an elegant way to override parts of a CellObject while keeping track of the cell? My current method is: Read the contents -> Modify contents & Add a tag -> Overwrite cell using NotebookWrite -> Find cell with tag -> restore previous tags
But that somehow seems overcomplicated...
 
@b3m2a1 Just want to say, as somebody who makes youtube videos for a living, your voice isn't a steaming pile of garbage
 
 
4 hours later…
5:08 PM
@LukasLang define 'keeping track of the cell'.
 
6:05 PM
@Kuba I want to be able to modify the cell again in the future, so having the CellObject of the new cell would be ideal (the problem is that the old one gets invalidated when overwriting the cell using NotebookWrite)
 
6:22 PM
cell = PreviousCell[];
SelectionMove[cell, All, CellContents];
NotebookWrite[EvaluationNotebook[], "asd123"];
NotebookRead@cell

> Cell[BoxData["asd123"], "Input"]
@LukasLang like this ^?
 
6:45 PM
@LukasLang this is what the box reference structure is designed for
 
 
1 hour later…
7:57 PM
@LukasLang see, e.g., this:
2
A: How to create a notebook element that can replace itself?

b3m2a1Here's a version of the previous answer that doesn't move the selection and only works at the Box level: MakeBoxes[replacementMarker[a_, tag_], StandardForm] ^:= TagBox[MakeBoxes[a], tag, BoxID -> tag] replaceMark[obj_, function_, tag_] := With[{ref = FE`BoxReference[ FE`Evaluat...

Also here:
11
A: What is the complete list of valid FrontEnd Packet types?

b3m2a1I thought I'd keep a running tally of what I know about these packets (excluding the obvious ones like CreatePalettePacket) just for reference. Text / Box interchange ReparseBoxStructurePacket This one parses a string (as far as I can tell just a string) into a box structure. We can use this...

I have a few notes on the box ref mechanism there
 
 
1 hour later…
9:11 PM
I forget who was asking the other day but it seems like the chat box now always shows up on the front page
 
@CarlLange It is new, isn't it? I could bet it wasn't there in the morning.
 
9:28 PM
@Kuba Yeah, definitely new. It looks a bit different and is now generated from Javascript rather than being rendered on the server
I suppose this is one of those things they didn't feel they could do with the old theme. I suppose there must have been a lot of infrastructural changes for the switch
 
10:17 PM
@Kuba @CarlLange maybe we're in some A/B testing though because I definitely don't get it (even with all my custom styling turned off)
Ah nevermind just had to do a hard cache reset
Oh hmmm and now it's gone again
Sad
 
10:55 PM
Front-end programming is definitely not for the faint of heart. 5 crashes in 15 minutes (and that's pretty average)
 
11:53 PM
Hmm, I suppose they for some reason still don't show it all the time :(
 

« first day (2591 days earlier)      last day (1903 days later) »