#pyqt | Logs for 2020-06-13
Back
[02:28:45] -!- yustin has joined #pyqt
[03:17:01] -!- honigkuchen has quit [Ping timeout: 264 seconds]
[04:13:21] -!- honigkuchen has joined #pyqt
[04:14:23] -!- honigkuchen has quit [Remote host closed the connection]
[05:04:43] -!- BPL has joined #pyqt
[05:13:13] -!- SpinTronix has joined #pyqt
[05:25:22] -!- sazawal has joined #pyqt
[05:26:02] -!- sazawal has quit [Read error: Connection reset by peer]
[08:00:58] -!- sazawal has joined #pyqt
[08:15:16] <ali1234> QObject.setProperty('property', numpy.int64) doesn't work :(
[08:15:21] <ali1234> it just does nothing
[08:15:32] <ali1234> not even a warning
[08:15:44] <ali1234> that was extremely confusing
[08:21:04] -!- sazawal has quit [Remote host closed the connection]
[08:37:09] <altendky> ali1234: an_instance.setProperty I assume?
[08:37:18] <ali1234> yeah
[08:38:09] <altendky> ali1234: yeah, qt doesn't use exceptions. Not the nicest thing ever to mix
[08:39:15] <altendky> I do wonder what a really pythony qt wrapper would be like to work with. Like would it be worth differing the API that much
[08:41:54] <altendky> Though just switching boolean returns to exceptions wouldn't be super problematic I don't think.
[08:42:15] <ali1234> oh, i'm supposed to check the return value of setProperty?
[08:44:31] <ali1234> i mean, i'm more annoyed that it didn't just work
[08:44:43] <ali1234> i can use a int64 anywhere else in python and it gets converted automatically
[08:47:18] <altendky> You can make the same call with 'x' and it works?
[08:47:34] <altendky> Though I wouldn't expect assignment to convert things mostly
[08:47:59] <ali1234> what do you mean x?
[08:48:20] <ali1234> if x is an int, it works, if x is a numpy.int64 it doesn't work
[08:48:37] <altendky> The string 'x'
[08:48:51] <altendky> Or an int, sure
[08:49:14] <ali1234> well, if x is a string, that's an error
[08:49:18] <ali1234> it is an int property
[08:49:22] <altendky> Mm...
[08:49:40] <altendky> Now I get the conversion expectation
[08:49:45] <ali1234> so "works" to me would mean it raises an exception... and it probably doesn't do that
[08:50:25] <ali1234> it will probably spit a QML warning when it tries to use it to index the array
[08:50:56] <altendky> Maybe pyqt6 could raise exceptions instead of Boolean failure returns
[08:52:07] <ali1234> thing is, i didn't even realise that x was numpy.int64 until i checked the type of the item i was setting
[08:52:10] <altendky> though what i really want is cffiqt
[08:52:39] <altendky> at least the fix is easy, even if it seems it shouldn't be needed and if it is it should have failed loudly :|
[08:52:40] <ali1234> because it comes from the depths of the parser system, which ultimately takes data from an array
[08:53:11] <ali1234> i fixed it inside the parser so that it always converts the data it pulls out
[08:54:09] <ali1234> so now i have this :) https://imgur.com
[09:04:52] <Avaris> teletext still exists?
[09:05:13] <ali1234> yes, on video tapes :)
[09:12:19] <Avaris> video tapes still exist? :)
[09:13:00] <ali1234> yes, you can buy them on ebay buy the hundred with random tv shows recorded on them. people collect them to digitize
[09:13:48] <ali1234> it is getting to the point where some many people are doing it that the prices are starting to inflate, for what is essentially trash that people were trying to get rid of just a few years ago
[09:19:07] <Avaris> huh, interesting. so, you can extract teletext from a recording of tv programme?
[09:19:12] <ali1234> yes
[09:19:41] <ali1234> not perfectly, but very close
[09:21:53] <Avaris> neat
[09:25:40] <ali1234> https://zxnet.co.uk is a good overview
[09:30:41] <Avaris> looks like a ML problem
[09:30:48] <ali1234> that's the next step
[09:31:16] <ali1234> in order to train i need a large collection of correctly tagged and decoded VBI packets
[09:31:33] <ali1234> but currently have no way to create that due to lack of GUI tools
[09:38:27] * Avaris nods
[10:41:07] -!- honigkuchen has joined #pyqt
[11:30:33] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[11:35:10] -!- Belxjander has joined #pyqt
[11:58:45] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[12:01:08] -!- Belxjander has joined #pyqt
[12:46:09] -!- jmarsac has joined #pyqt
[13:51:37] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[13:54:56] -!- Belxjander has joined #pyqt
[14:00:12] -!- frispete_ has quit [Ping timeout: 265 seconds]
[14:02:01] -!- frispete_ has joined #pyqt
[14:02:21] -!- sazawal has joined #pyqt
[14:49:46] -!- sazawal has quit [Quit: Leaving]
[14:50:33] -!- sazawal has joined #pyqt
[15:16:49] -!- altendky has quit [Quit: Connection closed for inactivity]
[15:17:31] -!- jmarsac has quit [Ping timeout: 272 seconds]
[16:56:26] -!- jmarsac has joined #pyqt
[17:08:55] -!- sazawal has quit [Quit: Leaving]
[17:22:17] -!- jmarsac has quit [Ping timeout: 272 seconds]
[17:36:16] -!- jmarsac has joined #pyqt
[17:37:35] -!- altendky has joined #pyqt
[18:26:39] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[18:30:16] -!- jmarsac has quit [Read error: Connection reset by peer]
[18:43:33] -!- BPL has quit [Quit: Leaving]
[18:59:12] -!- yustin has quit [Ping timeout: 256 seconds]
[19:05:27] -!- Belxjander has joined #pyqt
[19:39:58] -!- SpinTronix has quit [Quit: Konversation terminated!]
[21:02:01] -!- Belxjander has quit [Ping timeout: 264 seconds]
[21:08:08] -!- Belxjander has joined #pyqt
[21:18:57] -!- Belxjander has quit [Ping timeout: 260 seconds]
[22:28:52] -!- alexhugo has joined #pyqt
[22:31:32] -!- honigkuchen has quit [Ping timeout: 258 seconds]
[23:50:56] [Tritium] is now known as PapaEmeritus