journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,118 days old today.
prev day next day printable version

Entries this day: dream-bought-dragon-playground-for-my-room magination-coming-soon meditation-now rubber-ducking-in-the-bath

dream bought dragon playground for my room

09:51 Saturday 05 November 2016 JST

My dragon arrived, and it was much larger than expcected! I helped the UPS driver deliver it. There were a few light things but then some pieces we had to carry together. First was a large mirror, though it was covered in fabric. The tires were like truck tires which I suggested a game to roll up the driveway together. She agreed after realizing I would help carry things, and wasn't just fooling around.

The dragon playground had a working toilet, but I hadn't planned to install plumbing because I didn't know about it. The driver thought it would be good if someone with kids had bought the dragon, but I told her we don't have kids; the dragon was for me.

permalink

magination coming soon

01:13 Saturday 05 November 2016 JST

Hooray!!

magination title

Hi, L1-Rob Nugen

Your order has hit the road and traveling to you.
permalink

meditation now

09:59 Saturday 05 November 2016 JST

This is my fourth time recently to join the "evening sit" (which happens in the mornings for me).

11:09 Saturday 05 November 2016 JST

It actually finished more quickly than I expected. It was an hour, but felt shorter than previous hours.

permalink

rubber ducking in the bath

00:42 Saturday 05 November 2016 JST

While taking a bath, I just talked to Fred for 45+ minutes on the phone, rubber ducking a problem with him.

Before I started working on this a couple days ago, I did the following:

  1. Save a list of indices each time the user tweaks a search on index
  2. Once a record is selected, use the indices to allow prev/next
  3. Rerun the search if they go back to the index

This worked fine at first, but item #1 above now takes too much time now that the DB has grown.

So my new idea was the following:

  1. Save the query as user tweaks the search on index
  2. Once a record is selected, run the query with LIMIT / OFFSET to

allow prev/next

  1. Rerun the query if they go back to the index

This makes #1 faster in that I don't have to save all the indices. It makes #2 slower in that I run the query each time, but oh well.

However, after talking to Fred, I realize #2 is flawed much more deeply. If a record is selected, then edited such that the query won't find it, then the prev/next will get borked.

So, here's the solution I've decided to do:

  1. Save the query as user tweaks the search on index
  2. Once a record is selected, use the query to create a list of

indices for the query and save them to disk

  1. Use the list of indices to allow prev/next
  2. Use the query only if they go back to the index

This way, #2 can be run while the initial record is loading, which will take a bit of time, but I intend to run it asynchronously so it won't really affect the load time, except for prev/next buttons.

Thanks, Fred!

permalink
prev day next day