--- Log opened Tue Nov 24 00:00:35 2020 |
00:13 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
00:21 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Connection reset by peer] |
00:22 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
00:22 | | mode/#code [+o Kindamoody[zZz]] by ChanServ |
00:31 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
00:31 | | mode/#code [+o Reiv] by ChanServ |
00:36 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Ping timeout: 121 seconds] |
00:49 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
00:52 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
00:52 | | mode/#code [+o Reiv] by ChanServ |
01:37 | | celticminstrel [celticminst@Nightstar-5pqf1t.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
01:39 | | celticminstrel [celticminst@Nightstar-5pqf1t.dsl.bell.ca] has joined #code |
01:39 | | mode/#code [+o celticminstrel] by ChanServ |
01:57 | | Degi [Degi@Nightstar-fd6iti.pool.telefonica.de] has quit [Ping timeout: 121 seconds] |
01:57 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
01:58 | | Degi [Degi@Nightstar-vvfe6b.pool.telefonica.de] has joined #code |
03:26 | | Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
03:29 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
04:32 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed] |
04:32 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
04:32 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
04:33 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
04:45 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
04:46 | | mode/#code [+o Reiv] by ChanServ |
05:16 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
05:17 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
05:17 | | mode/#code [+o Reiv] by ChanServ |
05:24 | | celticminstrel [celticminst@Nightstar-5pqf1t.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:41 | | Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code |
05:49 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
05:49 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
05:49 | | mode/#code [+o Reiv] by ChanServ |
06:20 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
06:22 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code |
06:22 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
07:03 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
07:03 | | mode/#code [+o Reiv] by ChanServ |
07:11 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
07:11 | | mode/#code [+o himi] by ChanServ |
07:14 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
07:46 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code |
07:46 | | mode/#code [+o Reiv] by ChanServ |
07:53 | | Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] |
08:50 | | Pink [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
11:04 | | Kindamoody[zZz] is now known as Kindamoody |
11:20 | <@sshine> | does anyone here use foreign key constraints in their relational schemas? |
11:20 | <@sshine> | so far, everywhere I've worked assumes that that's something you don't do. |
11:25 | <@sshine> | I am considering revising that stance. I think there's a line to be cut wrt. how many constraints derived from your business logic that get encoded into the database. |
11:25 | <@sshine> | I haven't had the personal experience to be wrong about using foreign key constraints. I'm sure people skip on them because they were a hassle at some point. |
11:25 | <@sshine> | I just wonder if they're a hassle worth having. :) |
11:25 | <@sshine> | like type systems. |
11:25 | <@TheWatcher> | I use them |
11:29 | <~Vorntastic> | I also use them |
11:30 | <@TheWatcher> | They are certainly useful, once you get used to them. |
11:30 | <@TheWatcher> | It took me a while, in no small part because I was arguably Doing Things Wrong. |
11:35 | <~Vorntastic> | If you're doing things right as far as queries go, you don't actually notice the fk constraints; but that just means that the fk constraints can help ensure you're getting the queries right |
11:36 | <~Vorntastic> | (also I know some major dbms didn't enforce them but I think they do now |
11:37 | <@sshine> | besides school, I mainly know foreign key constraints from cases where, if they had been there, the database would not have reached a screwed-up state. |
11:37 | <@sshine> | from doing job interviews recently, it occurs to me how different cultures people have. |
11:38 | <@sshine> | in one place the interview question is "so what's your preferred monadic effect system?" and in another place it is "yeah, types just seem like a giant hindrance to productivity." |
11:48 | <~Vorntastic> | Types and fks both work the same way here, preventing you from screwing up. I like types a lot but when I'm hacking at stuff, thinking about it can be problems -- but the languages I use with written types all have editor support for creating things that match types correctly |
11:54 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code |
12:36 | | Kindamoody is now known as Kindamoody|out |
12:41 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
12:41 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
12:45 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
14:02 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
14:10 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Operation timed out] |
14:51 | | celticminstrel [celticminst@Nightstar-5pqf1t.dsl.bell.ca] has joined #code |
14:51 | | mode/#code [+o celticminstrel] by ChanServ |
15:09 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:09 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
16:24 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code |
16:51 | | Pink [uid208117@Nightstar-h2b233.irccloud.com] has joined #code |
17:02 | | Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
17:06 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
17:17 | | Kindamoody|out is now known as Kindamoody |
18:06 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [[NS] Quit: There's a real world out here!] |
18:37 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [[NS] Quit: -a- Connection Timed Out] |
18:40 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
19:37 | | McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has quit [[NS] Quit: Kernel upgrade] |
19:39 | | McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has joined #code |
19:39 | | mode/#code [+ao McMartin McMartin] by ChanServ |
20:04 | | gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has quit [[NS] Quit: FFFFFFffffffffuuuuuuuuuuuuu] |
20:07 | <&Reiver> | FK constraints are useful and powerful, but as with much of DB design, they are a tool not a panacea |
20:07 | <&Reiver> | And not all situations can justify them. |
20:08 | <&Reiver> | But in the cases you're positive they're worthy, you might as well! |
20:24 | | gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has joined #code |
20:24 | | mode/#code [+o gnolam] by ChanServ |
20:25 | | gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has quit [[NS] Quit: Fuck this day] |
20:27 | | M-E [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
20:30 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
20:40 | | gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has joined #code |
20:40 | | mode/#code [+o gnolam] by ChanServ |
20:42 | <&jerith> | These days I'm satisfied with any db that doesn't store serialised data structures in text fields or grow at a rate of 30 GiB/day. |
20:42 | <&Reiver> | oh god |
20:42 | <&Reiver> | Yeah, you're not half wrong there |
20:42 | <&Reiver> | Then there's our current setup I work at |
20:43 | <&Reiver> | No foreign keys |
20:43 | <&Reiver> | Barely even primary keys |
20:43 | <&Reiver> | The thing is meant to be Cunningly Designed to allow Everything to connect to Everything |
20:43 | <&Reiver> | shoot me now |
20:43 | <&jerith> | Here's a C compiler, you can shoot your own damn foot.~ |
20:44 | <&jerith> | This week's ongoing disaster is a messaging system that we're using at a scale well beyond its designed limits. |
20:45 | <&jerith> | Last week's upgrade to it did... something. |
20:46 | <&jerith> | And now a couple of tables that store transient operational state are producing over a gig of churn garbage per hour on average. |
20:47 | <&Reiver> | oh lord |
20:47 | <&jerith> | Because of how the postgres MVCC model works, it fills up our db's disk with stale deleted rows. |
20:47 | <&Reiver> | oh my goodness |
20:47 | <&Reiver> | Can you not set it to be more aggressive in the purge? |
20:47 | <&jerith> | So now we're having to learn about monitoring and tuning the autovacuum system. |
20:48 | <&jerith> | Meanwhile, other work still needs to happen and other disasters haven't stopped and I have doctors to visit, etc. |
20:53 | <&jerith> | Anyway, I spent a chunk of this evening pasting pages of SQL I don't understand into psql so I could acquire incomprehensible numbers in order to see how they change when I run manual vacuums. |
21:08 | <&Reiver> | fun times >_< |
22:53 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code |
23:08 | | ErikMesoy [Bruker@Nightstar-hcpkod.bb.online.no] has quit [Connection closed] |
23:13 | | ErikMesoy [Bruker@Nightstar-hcpkod.bb.online.no] has joined #code |
23:13 | | mode/#code [+o ErikMesoy] by ChanServ |
23:22 | | M-E [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
23:58 | | Kindamoody is now known as Kindamoody[zZz] |
--- Log closed Wed Nov 25 00:00:36 2020 |