Re: [Pharo-users] Modeling HABTM

2019-06-12 Thread sergio ruiz
Oh! i am trying to do everything in pharo/seaside.. i am not using a database at all.. i am working on getting this set up in gemstones, but i am still really confused in that area.. > On Jun 12, 2019, at 10:35 PM, Jeff Gray wrote: > > diagram, you may not need a class to model play. As it

Re: [Pharo-users] Modeling HABTM

2019-06-12 Thread Jeff Gray
This may not be a very object thing to say but if you have a relational database with tables for episode, track and play like in Christopher's diagram, you may not need a class to model play. As it is just a repository for a set of links I might just have a method on an Episode class that calls

Re: [Pharo-users] How to render video frames?

2019-06-12 Thread Aliaksei Syrel
Hi Rafael, Assuming you have your OpenCV camera frame object named image in BGR format (default for OpenCV) Here is how you can render it at high fps in Bloc (override *BlElement>>#* drawOnSpartaCanvas: aCanvas in a subclass) surface := aSpartaCanvas bitmap fromBGR: image imageData extent:

[Pharo-users] How to render video frames?

2019-06-12 Thread Rafael Luque
Hello, I'm experimenting with an integration between OpenCV and Pharo based on uFFI. My native C library opens a video camera and captures frames for detecting certain points (aka blobs) of interest for my use case. The data for these frames are available to Pharo as uchar* inside a C struct. My

Re: [Pharo-users] TestCases and forked processes in TestResource don't play well

2019-06-12 Thread Denis Kudriashov
I think proper fix for this logic would be to disable test environment during startup of resources ср, 12 июн. 2019 г. в 21:11, Denis Kudriashov : > Hi Eric. > > You can override #runCaseManaged on your test case: > > MyTestCase>>runCaseManaged >self runCase > > It will disable all clever

Re: [Pharo-users] TestCases and forked processes in TestResource don't play well

2019-06-12 Thread Denis Kudriashov
Hi Eric. You can override #runCaseManaged on your test case: MyTestCase>>runCaseManaged self runCase It will disable all clever logic. ср, 12 июн. 2019 г. в 20:55, Erik Stel : > Hi, > > I'm developing a web application using (amongst others) WebSockets. To > prevent test methods from

[Pharo-users] TestCases and forked processes in TestResource don't play well

2019-06-12 Thread Erik Stel
Hi, I'm developing a web application using (amongst others) WebSockets. To prevent test methods from becoming too big and slow I created a TestCase with a TestResource containing my web application instance. After the first test method is run, the WebSocket is closed unexpectedly and

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-12 Thread Stephan Eggermont
Konrad Hinsen wrote: > On 11/06/2019 18:07, Stephan Eggermont wrote: >> Konrad Hinsen >> wrote: >> : >>> . To make this >>> effective, you have to think a bit about good data management >>> strategies. Few people will want to mirror all the history of Pharo. >> Why? Fits on an SD card in a

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-12 Thread Konrad Hinsen
On 11/06/2019 18:07, Stephan Eggermont wrote: Konrad Hinsen wrote: : . To make this effective, you have to think a bit about good data management strategies. Few people will want to mirror all the history of Pharo. Why? Fits on an SD card in a raspberry pi All of http://files.pharo.org/ ?