Evergreen ILS Website

IRC log for #evergreen, 2025-03-19

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
03:53 Bmagic joined #evergreen
06:51 collum joined #evergreen
08:24 JBoyer Looks like something has upset git.evergreen-ils.org again
08:24 redavis joined #evergreen
08:32 Dyrcona joined #evergreen
08:42 mmorgan joined #evergreen
08:47 mantis joined #evergreen
09:16 dguarrac joined #evergreen
10:00 mmorgan1 joined #evergreen
10:05 dguarrac joined #evergreen
10:07 Bmagic lew++
10:44 Dyrcona *confused unga bunga*
10:44 Christineb joined #evergreen
10:44 Dyrcona Window functions... just when I think I get them, I find out that I don't.
10:51 Dyrcona Hmm. Maybe I don't need a window function. What I need is a filter clause on my aggregate functions.
10:52 Bmagic ALT+Space n
10:54 Dyrcona Well, no syntax errors so far....
10:55 Dyrcona No complaint about "event_def must appear in the group by or an aggregate function."
10:58 Dyrcona ...AND...the output looks sane compared to my previous attempts.
11:00 sandbergja joined #evergreen
11:31 Dyrcona Hmm. I can probably simplify the query by putting the filter in the CTE rather than the main clause.
11:42 Dyrcona The two queries give different results, and I would think that they would be the same.
11:43 Dyrcona Ah, waitaminute.... The goup by probably needs to change in the new one.
11:54 jihpringle joined #evergreen
12:02 jihpringle joined #evergreen
12:04 Dyrcona They still produce different results in one of the averaged columns and I think I get it.
12:08 * Dyrcona decides to verify before spewing conjecture into the channel. :)
12:14 Dyrcona My thought is that one of the two CTEs returns NULL instead of zero so that accounts for the difference.
12:19 csharp_ @decide null or zero
12:19 pinesol csharp_: go with null
12:19 Dyrcona Well, it's not that, exactly, but close enough. The original CTE with a group by on event_def doesn't return a row if  the event_def is missing that day, thus inflating the count. The second CTE with the filter on event_def returns a zero.
12:19 csharp_ @decide undef or null
12:19 pinesol csharp_: go with null
12:21 Dyrcona Well, not inflating the count, but inflating the average because there are fewer rows. It's enough to make a difference in some entries.
12:21 csharp_ creating an index concurrently on asset.copy during the day? YES, I said it. Crazy? maybe. Slow as heck? definitely
12:21 Dyrcona csharp_++
12:21 Dyrcona @decide nullptr or NULL
12:21 pinesol Dyrcona: go with nullptr
12:22 Dyrcona pinesol: Do you program C++ by any chance?
12:22 pinesol Dyrcona: Mr. Spock: Something fascinating just happened.
12:22 csharp_ @decide yes or no or null or defined or undefined or not null
12:22 pinesol csharp_: go with null
12:22 csharp_ @decide yes or no or null or defined or undefined or not null or 0 or 1
12:22 pinesol csharp_: go with 1
12:23 Dyrcona So, I'm going to use the query that filters on the event def in the CTE. I think i'ts more accurate.
12:23 csharp_ pinesol: very positive of you, and truthful
12:23 pinesol csharp_: I'm sorry, Dave. I'm afraid I can't do that.
12:23 Dyrcona E0E...
12:23 Dyrcona It's zero, but it's true!
12:24 Dyrcona @help paste
12:24 pinesol Dyrcona: Error: There is no command "paste".
12:24 Dyrcona ?paste
12:25 csharp_ @eat paste
12:25 pinesol csharp_: Have you confirmed your ISBN SPIDs with your service provider?
12:25 Dyrcona Nope... wrong bot.
12:25 Dyrcona ??paste
12:25 csharp_ @band add Ghost of Zoia
12:25 pinesol csharp_: Band 'Ghost of Zoia' added to list
12:25 Dyrcona I suspect our community paste is not up any more. I brought it back sometime in the past couple of years, but haven't checked in a while.
12:25 berick @band add The Grapheme Clusters
12:25 pinesol berick: Band 'The Grapheme Clusters' added to list
12:26 csharp_ Dyrcona: I believe the project we were using for that was long dead
12:26 Dyrcona Heh. The ?? version works over in #postgresql and someone used it there just about the same time that I tried it over here.
12:27 csharp_ !help
12:27 csharp_ that used to have a separate set of triggers based on #ubuntu's channel bot
12:30 Dyrcona For anyone curious about the queries I've been discussing: https://dpaste.org/ncaLO
12:31 csharp_ @dunno add I am the coolest bot.
12:31 pinesol csharp_: The operation succeeded.  Dunno #93 added.
14:16 csharp_ @band add Udo, Make me a Sandwich
14:16 pinesol csharp_: Band 'Udo, Make me a Sandwich' added to list
14:51 JBoyer Ludo no sandwich!
14:55 pinesol News from commits: LP#1949243: stamp version update <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=81a6cc​2680e30f3a11e0ac390a1881c2d2ba0e5b>
14:55 pinesol News from commits: LP#1949243: (follow-up) fix off-by-one error <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=6685d0​da29a654a877f8e268fedb47fd299ece8d>
14:55 pinesol News from commits: LP#1949243: Allow enumerating EDI LIN lines sequentially <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b0214d​d02e24f899b03b0ca45ab7e2c73e900492>
14:55 pinesol News from commits: LP#1949243: add missing field to FTX line in EDIWriter <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=2e6156​47b82f9573226207fb66898426da6eb71c>
15:05 jihpringle joined #evergreen
15:31 mantis left #evergreen
16:25 pinesol News from commits: LP2084929 Undo/redo for MARC fixed and LDR fields <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=0435f2​f52a62aacac7476aaebb705938148a8035>
16:41 jihpringle joined #evergreen
16:55 pinesol News from commits: LP2088096 Populate user email in report output options <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=6a3a51​bb937badfb0fd8a3ac9d01a4f3bd11d23f>
17:00 terranm joined #evergreen
17:04 terranm Claiming 1463
17:13 mmorgan1 left #evergreen
17:25 pinesol News from commits: LP2074112 Stamp upgrade script <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ff6062​f0f891788b8183579ab02040cfb5f8b301>
17:25 pinesol News from commits: LP2074112 Item Alerts, Notes, Tags, and Templates Rework <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=b3d8be​1301a6ca113087eef4899d2bec991b1f05>
17:25 pinesol News from commits: LP2074112 IANT CSS alert links, button focus, validation <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=a8ae0b​8a15ffc2f22b48d75b2f4c1ad0af498890>
17:25 pinesol News from commits: LP2074112 IANT toasts should appear above dialogs <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=dcb791​d12d2fe58d2b8450944699883d5a8c925d>
17:25 pinesol News from commits: LP2074112 IANT file export generated file cleanup <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=ee21f8​030ae2042db7543ffb3e1c526a775fd29e>
17:25 pinesol News from commits: LP2074112 IANT grid toolbar style; menu scrollbar <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=3ece77​8cdf5e325fb0b9bde3789d3661f5f9f4b4>
17:25 pinesol News from commits: LP2074112 IANT dialog focus trap, restore on close <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=51d8f4​2543838ae583ee1e21daa44d7a41cdf4ff>
17:25 pinesol News from commits: LP2074112 IANT org-select form validation <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=d9ae26​b82e8573474cc2e2f167e09c8cb45e06b1>
17:25 pinesol News from commits: LP2074112 IANT combobox, org-select keyboard support <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=bc62c8​65946fe7e84d36cd98ca35d674deb06c8a>
17:25 pinesol News from commits: LP2074112 IANT Broadcast service unique IDs <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=61db07​fc1d5f08396a442e6be9e4f5a08bc41ef3>
17:25 pinesol News from commits: LP2074112 IANT admin page return button in new tabs <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=500ca5​f441c04b91e791eeccc6e16d3a1836ab54>
17:25 pinesol News from commits: LP2074112 IANT Database upgrade and seed data <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=a9ff9b​e260c2f428ced83088345007dc0b000ad9>
17:25 pinesol News from commits: LP2074112 IANT IDL changes <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=85989f​f210441c0dff47ccf572586e681e0f44ce>
17:25 pinesol News from commits: LP2074112 IANT Perl changes <https://git.evergreen-ils.org/?p=E​vergreen.git;a=commitdiff;h=8cd780​cb7c0ec55705ddc7e099e77143de9c4d52>
17:45 jihpringle joined #evergreen

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat