| Time |
Nick |
Message |
| 07:35 |
|
collum joined #evergreen |
| 08:48 |
|
Dyrcona joined #evergreen |
| 09:24 |
|
mmorgan joined #evergreen |
| 10:17 |
Dyrcona |
open-ils.trigger.event.fire doesn't seem to do what I think it should. |
| 10:18 |
Dyrcona |
Oh, right... These events are grouped.... so I need to fire grouped events. |
| 10:18 |
Dyrcona |
open-ils.trigger.event_group.fire |
| 10:19 |
Dyrcona |
maybe, I'll let run-pending deal with it? |
| 10:26 |
Bmagic |
time will tell :) |
| 10:27 |
Dyrcona |
It "works" on my test system. |
| 10:28 |
Dyrcona |
FYI, this is a modification to a program to find missed courtesy/autorenew events and recreate them. We're still getting a few for circulations with weird due dates, like 2:00 am.... |
| 10:29 |
Dyrcona |
What it's going to do now is to create the autorenew event and let the next --run-pending for that granularity pick it up. |
| 10:30 |
Dyrcona |
Since we have a batch kicking off right about now, I'll wait until about 45 minutes to try it on production. |
| 10:31 |
Dyrcona |
Looks like it's only 1 or 2 per day. |
| 10:32 |
Dyrcona |
On my test system where this has been running for a week, I don't have any since the new schedule started. |
| 10:32 |
Dyrcona |
Production has 2 that should have been picked up yesterday when this started, but it could be because of the weird due dates in the circulation. |
| 10:34 |
Dyrcona |
I wonder how run pending is going to cope with the constant flood of events being created on my other test vm? |
| 10:40 |
Dyrcona |
Looks like it's only working on those that were pending when I started it, which is what I expected. |
| 10:58 |
|
sandbergja joined #evergreen |
| 11:09 |
|
Christineb joined #evergreen |
| 11:17 |
Dyrcona |
huh. So I ran the script in production and it found 9 missed circulations. My Pg query only turned up 2. I better check the differences. |
| 11:20 |
Dyrcona |
Oh. OK. My SQL omitted the event_def column, so it was not precise enough. |
| 11:24 |
|
jihpringle joined #evergreen |
| 11:26 |
csharp_ |
gonna sound dumb because I'm sure people already know this, but I accidentally just now discovered how to do command completion suggestions in vim |
| 11:27 |
csharp_ |
start typing (in insert mode obvs) then ctrl-n/ctrl-p to toggle through suggested completions |
| 11:27 |
csharp_ |
TIL moments |
| 11:27 |
csharp_ |
you just get used to doing things your way, you know? |
| 11:28 |
|
dguarrac joined #evergreen |
| 11:28 |
csharp_ |
my hands just happened to hit the command keys and I was like what was that?! |
| 11:29 |
csharp_ |
ok, carry on |
| 11:29 |
berick |
csharp_: i'm so accustomed to just rapidly Esc-ing out when they pop up I'v also never used/learned them |
| 11:30 |
csharp_ |
18 or so years in, should probably just rtfm on vim someday :-) |
| 11:32 |
Dyrcona |
Just wait until csharp_ discovers vimscript. |
| 11:33 |
Dyrcona |
I've been using GNU Emacs for (checks calendar) 32 years, and I still have to RTFM (info) now and then. |
| 11:38 |
csharp_ |
unfortunately vim autocomplete didn't help me think out the rest of the SQL script I'm tryna write |
| 11:39 |
csharp_ |
as distractions go, though 95/100 |
| 11:39 |
Dyrcona |
:) |
| 11:40 |
Dyrcona |
I like being able to connect to PostgreSQL in Emacs and try out my queries as I write them. |
| 11:41 |
csharp_ |
smayo does that within VSCode, which I've also never gotten comfortable with |
| 11:42 |
Dyrcona |
yeah, a few other IDEs can do that, too. You might even be able to get vim to do it with a plugin or something. |
| 11:43 |
csharp_ |
I usually just invoke vim within psql with \e |
| 11:43 |
Dyrcona |
In Emacs, it's "just" a wrapper around psql. |
| 11:43 |
Dyrcona |
Yeah, that works, too. :) |
| 11:43 |
csharp_ |
pretty sure jeff taught me that a long time ago |
| 11:43 |
Dyrcona |
Mine would kick off emacs, but I'm usually already in it, so I go the other way. |
| 11:44 |
csharp_ |
yeah I always 'update-alternatives --config editor' whenever I do a new Ubuntu server install |
| 11:44 |
csharp_ |
cuz nobody wants to develop in nano |
| 11:44 |
Dyrcona |
I plop it in my .bash_profile. |
| 11:44 |
csharp_ |
probably better :-) |
| 11:45 |
Dyrcona |
And my .local....wherever. |
| 11:45 |
Dyrcona |
There's a place for systemd to pick up environment variables. |
| 11:45 |
* Dyrcona |
looks. |
| 11:47 |
Dyrcona |
~/.config/environment.d/*.conf |
| 11:48 |
Dyrcona |
I just have one ~/.config/environment.d/00-env.conf |
| 11:49 |
Dyrcona |
Those settings should also apply to your window environment. .bash_profile generally only applies to the shell and programs started in a shell. |
| 11:56 |
Dyrcona |
Look at that! It's lunchtime! |
| 12:00 |
* Dyrcona |
has something to look into after lunch and may have to backport another patch. |
| 12:13 |
|
sandbergja joined #evergreen |
| 12:53 |
* Dyrcona |
has to keep rewriting the same queries because I can't find them if I saved them before. I do have a place to keep most of my frequently used queries, but it's full of stuff that I don't use any more. :) |
| 12:54 |
Dyrcona |
And I have not apparently saved one to list a user's permissions. |
| 13:24 |
|
jihpringle joined #evergreen |
| 13:28 |
|
mmorgan1 joined #evergreen |
| 13:32 |
* Dyrcona |
forgot to open the ssh tunnel before connecting to training db in emacs. :) |
| 13:57 |
|
jvwoolf joined #evergreen |
| 13:57 |
Dyrcona |
heh. "git sherry-pick ...." |
| 13:57 |
Bmagic |
lol |
| 13:57 |
Dyrcona |
I'll have the Taylor, please. |
| 14:00 |
Dyrcona |
If I patch a js file in the AngularJS staff client, do I need to do the whole build dance, or can I just copy the file over? |
| 14:01 |
* Dyrcona |
gives it a shot. |
| 14:01 |
Bmagic |
I think build (because otherwise, why do we build?) |
| 14:01 |
Dyrcona |
bmagic: it might depend on if you do build-prod or just build. |
| 14:02 |
Dyrcona |
I'm trying it on a test system. We'll see what happens. |
| 14:03 |
Dyrcona |
For my situation just copying the file worked. |
| 14:03 |
Dyrcona |
After a Clear Cache and Hard Reload. |
| 14:06 |
Dyrcona |
Bmagic: I added the branch for Lp 2018534 to a 3.7.4 branch because that affects us in production. |
| 14:06 |
pinesol |
Launchpad bug 2018534 in Evergreen 3.9 "Incorrect total circs for current/previous year in Item Status" [Medium,Fix released] https://launchpad.net/bugs/2018534 |
| 14:15 |
csharp_ |
@band add Clear Cache and the Hard Reload |
| 14:15 |
pinesol |
csharp_: Band 'Clear Cache and the Hard Reload' added to list |
| 14:19 |
Dyrcona |
"Communication. Disinformation. It's so entertaining." |
| 14:33 |
Dyrcona |
if we keep patching, we'll eventually end up on the current Evergreen release. :) |
| 15:53 |
|
jvwoolf joined #evergreen |
| 16:42 |
|
ACSpike[Work] joined #evergreen |
| 16:47 |
|
jihpringle joined #evergreen |
| 16:58 |
Bmagic |
Does Evergreen have a feature that will make the preference "Email checkout receipts by default?" automatically checked when registering new patrons? |
| 17:10 |
mmorgan |
@later tell Dyrcona I haven't tried this, but maybe if you set the user_setting_type.reg_default to TRUE for the circ.send_email_chekout_receipts type, that would do the trick? |
| 17:10 |
pinesol |
mmorgan: The operation succeeded. |
| 17:10 |
|
mmorgan left #evergreen |
| 17:31 |
|
sandbergja joined #evergreen |
| 18:16 |
pinesol |
News from commits: LP2107116 Restore toast dismiss function <https://git.evergreen-ils.org/?p=Evergreen.git;a=commitdiff;h=6f076e7192aae7496ed9394ac95c529ad8b71602> |