Getting Tablicious on Octave Forge

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Getting Tablicious on Octave Forge

apjanke-floss
Hi, Octave folks,

I think my Tablicious package is now stable enough (with the version
0.3.0 release) for it to be exposed to the general Octave user
community. I would like to get it on Octave Forge as an External
Package, so people can make use of it, and I can get some user feedback
and bug reports.

https://github.com/apjanke/octave-tablicious

If you're okay with this, could someone help me through the process of
submitting the package to Octave Forge?

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

jbect
Le 18/01/2020 à 20:18, Andrew Janke a écrit :

> Hi, Octave folks,
>
> I think my Tablicious package is now stable enough (with the version
> 0.3.0 release) for it to be exposed to the general Octave user
> community. I would like to get it on Octave Forge as an External
> Package, so people can make use of it, and I can get some user feedback
> and bug reports.
>
> https://github.com/apjanke/octave-tablicious
>
> If you're okay with this, could someone help me through the process of
> submitting the package to Octave Forge?

Hi Andrew,

Why not propose your code for inclusion in Octave directly ?

Table and related classes (categorical, etc.) have been available in
Matlab since R2013b...

Just my two cents (I think Carne suggested the same a while ago).

@++
Julien

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

siko1056
On 1/21/20 3:01 PM, Julien Bect wrote:

> Le 18/01/2020 à 20:18, Andrew Janke a écrit :
>> Hi, Octave folks,
>>
>> I think my Tablicious package is now stable enough (with the version
>> 0.3.0 release) for it to be exposed to the general Octave user
>> community. I would like to get it on Octave Forge as an External
>> Package, so people can make use of it, and I can get some user feedback
>> and bug reports.
>>
>> https://github.com/apjanke/octave-tablicious
>>
>> If you're okay with this, could someone help me through the process of
>> submitting the package to Octave Forge?
>
> Hi Andrew,
>
> Why not propose your code for inclusion in Octave directly ?
>
> Table and related classes (categorical, etc.) have been available in
> Matlab since R2013b...
>
> Just my two cents (I think Carne suggested the same a while ago).
>
> @++
> Julien
>

+1 for Julien's statement.  These are features I like to see in Octave.
 The only thing that prevented me from pushing further is your statement
from last May [1]:

> "I'd say it's still only about 50% complete"

But are those 50 % ready to be included?

Kai

[1]
https://lists.gnu.org/archive/html/octave-maintainers/2019-05/msg00021.html

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

apjanke-floss


On 1/21/20 4:52 AM, Kai Torben Ohlhus wrote:

> On 1/21/20 3:01 PM, Julien Bect wrote:
>> Le 18/01/2020 à 20:18, Andrew Janke a écrit :
>>> Hi, Octave folks,
>>>
>>> I think my Tablicious package is now stable enough (with the version
>>> 0.3.0 release) for it to be exposed to the general Octave user
>>> community. I would like to get it on Octave Forge as an External
>>> Package, so people can make use of it, and I can get some user feedback
>>> and bug reports.
>>>
>>> https://github.com/apjanke/octave-tablicious
>>>
>>> If you're okay with this, could someone help me through the process of
>>> submitting the package to Octave Forge?
>>
>> Hi Andrew,
>>
>> Why not propose your code for inclusion in Octave directly ?
>>
>> Table and related classes (categorical, etc.) have been available in
>> Matlab since R2013b...
>>
>> Just my two cents (I think Carne suggested the same a while ago).
>>
>> @++
>> Julien
>>
>
> +1 for Julien's statement.  These are features I like to see in Octave.
>  The only thing that prevented me from pushing further is your statement
> from last May [1]:
>
>> "I'd say it's still only about 50% complete"
>
> But are those 50 % ready to be included?
>
> Kai

I'd say it's up to 80% now, actually! And the missing parts are stuff
like table I/O and timetable. Which is why I think it's ready for
general users.

It's encouraging to hear this would be wanted in core Octave! But I'd
still rather keep it as a separate package for the time being.

1) I'd like to maintain direct commit control over it for now, and keep
it in Git (which I know much better than Mercurial). There's going to be
a lot more changes coming in as I get that last 20% down. I also have
ambitions to add a port of Python's xarray[1] to it, which will be
significantly more work. That's going to result in a flurry of commits.

2) I'm not yet confident in the quality of the code to put it in core
Octave. I really need to get some actual users besides myself testing
and banging on it before I'm going to feel good enough about it to
submit it to core Octave.

3) Adding table I/O (readtable, writetable, xlsread, etc) is probably
going to take a dependency on the IO package and its current ongoing
development, per https://savannah.gnu.org/task/?15419. My understanding
is that core Octave cannot take dependencies on any packages.

4) Maybe more important, I'd like to support it for Octave 4.4.1, both
for myself and other users. Since the Mac GUI in Octave 5.x and 6.x
isn't working on macOS, and I'm a GUI user, I'm stuck on 4.4.1 for the
time being, and I think other Mac users may be too. And maybe even
support Octave 4.0.x for Linux users still using their distro-provided
Octave.

Cheers,
Andrew

[1] http://xarray.pydata.org/en/stable/

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

bpabbott
Administrator

> On Jan 21, 2020, at 02:53, Andrew Janke <[hidden email]> wrote:
>
> Since the Mac GUI in Octave 5.x and 6.x
> isn't working on macOS, and I'm a GUI user, I'm stuck on 4.4.1 for the
> time being, and I think other Mac users may be too.

Hi Andrew,

My sources are current and I’m able to build and run the GUI, without patching.

If you’ll track down what isn’t working on your end I should be able to help.

Ben




Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

apjanke-floss


On 1/21/20 9:36 AM, Ben Abbott wrote:

>> On Jan 21, 2020, at 02:53, Andrew Janke <[hidden email]> wrote:
>>
>> Since the Mac GUI in Octave 5.x and 6.x
>> isn't working on macOS, and I'm a GUI user, I'm stuck on 4.4.1 for the
>> time being, and I think other Mac users may be too.
> Hi Andrew,
>
> My sources are current and I’m able to build and run the GUI, without patching.
>
> If you’ll track down what isn’t working on your end I should be able to help.
>
> Ben
Excellent. Will send you details and a repro directly.

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

apjanke-floss


On 1/21/20 9:43 AM, Andrew Janke wrote:

>
> On 1/21/20 9:36 AM, Ben Abbott wrote:
>>> On Jan 21, 2020, at 02:53, Andrew Janke <[hidden email]> wrote:
>>>
>>> Since the Mac GUI in Octave 5.x and 6.x
>>> isn't working on macOS, and I'm a GUI user, I'm stuck on 4.4.1 for the
>>> time being, and I think other Mac users may be too.
>> Hi Andrew,
>>
>> My sources are current and I’m able to build and run the GUI, without patching.
>>
>> If you’ll track down what isn’t working on your end I should be able to help.
>>
>> Ben
> Excellent. Will send you details and a repro directly.
>
> Cheers,
> Andrew
Oh, wait. I misunderstood; I thought you were talking about a different
build failure.

The build succeeds. The problem is that the GUI is really freezy.
https://savannah.gnu.org/bugs/index.php?56270

If you have ideas on what to do here, I'd love to hear them!

Cheers,
Andrew


Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
In reply to this post by apjanke-floss
On Saturday, January 18, 2020 7:18:00 PM WET Andrew Janke wrote:

> Hi, Octave folks,
>
> I think my Tablicious package is now stable enough (with the version
> 0.3.0 release) for it to be exposed to the general Octave user
> community. I would like to get it on Octave Forge as an External
> Package, so people can make use of it, and I can get some user feedback
> and bug reports.
>
> https://github.com/apjanke/octave-tablicious
>
> If you're okay with this, could someone help me through the process of
> submitting the package to Octave Forge?
>
> Cheers,
> Andrew

Hi Andrew,
        I decided to try your package. I am unable to install it using
octave 6, since I am running in-place it complains that I have an incomplete
octave installation since:

error: pkg: unable to find the mkoctfile command, Octave installation is
incomplete
error: called from
    __gripe_missing_component__ at line 60 column 3
    configure_make at line 50 column 7
    install at line 196 column 7
    pkg at line 505 column 9

If I install it using octave 5(.1.0) it works yet trying to load it from
octave 6 says:

>> pkg load tablicious
error: '__octave_link_register_doc__' undefined near line 35, column 35
error: called from
    /home/jamatos/.local/share/octave/tablicious-0.3.0/PKG_ADD at line 35
column 3
    load_packages_and_dependencies at line 56 column 5
    load_packages at line 53 column 3
    pkg at line 525 column 7

Is this to be expected?


FWIW I am running Fedora (Linux) 31.

Thank you for the nice work you have been doing. Best regards,
--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Andrew Janke-2


On 1/30/20 1:26 PM, José Abílio Matos wrote:

> On Saturday, January 18, 2020 7:18:00 PM WET Andrew Janke wrote:
>> Hi, Octave folks,
>>
>> I think my Tablicious package is now stable enough (with the version
>> 0.3.0 release) for it to be exposed to the general Octave user
>> community. I would like to get it on Octave Forge as an External
>> Package, so people can make use of it, and I can get some user feedback
>> and bug reports.
>>
>> https://github.com/apjanke/octave-tablicious
>>
>> If you're okay with this, could someone help me through the process of
>> submitting the package to Octave Forge?
>>
>> Cheers,
>> Andrew
>
> Hi Andrew,
> I decided to try your package. I am unable to install it using
> octave 6, since I am running in-place it complains that I have an incomplete
> octave installation since:
>
> error: pkg: unable to find the mkoctfile command, Octave installation is
> incomplete
> error: called from
>     __gripe_missing_component__ at line 60 column 3
>     configure_make at line 50 column 7
>     install at line 196 column 7
>     pkg at line 505 column 9
>
> If I install it using octave 5(.1.0) it works yet trying to load it from
> octave 6 says:
>
>>> pkg load tablicious
> error: '__octave_link_register_doc__' undefined near line 35, column 35
> error: called from
>     /home/jamatos/.local/share/octave/tablicious-0.3.0/PKG_ADD at line 35
> column 3
>     load_packages_and_dependencies at line 56 column 5
>     load_packages at line 53 column 3
>     pkg at line 525 column 7
>
> Is this to be expected?
>
>
> FWIW I am running Fedora (Linux) 31.

Hi José! Thanks for trying my package.

That first problem about mkoctfile, I have no idea what's going on.
Maybe your Octave installation actually is broken? Maybe something needs
to be added to your $PATH (the regular PATH environment variable, not
the Octave path)?

That second problem about __octave_link_register_doc__: That's already
fixed in the new 0.3.4 release of Tablicious
(https://github.com/apjanke/octave-tablicious/issues/67); I just forgot
to update the README to point the download link at the new package.
Please try installing 0.3.4; it should work under both Octave 5 and 6:

pkg install
https://github.com/apjanke/octave-tablicious/releases/download/v0.3.4/tablicious-0.3.4.tar.gz

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
On Thursday, January 30, 2020 6:31:36 PM WET Andrew Janke wrote:
> Hi José! Thanks for trying my package.
>
> That first problem about mkoctfile, I have no idea what's going on.
> Maybe your Octave installation actually is broken? Maybe something needs
> to be added to your $PATH (the regular PATH environment variable, not
> the Octave path)?

When I say that I am running in-place it means that I call octave from the
building directory as
$ ./run-octave --gui&

probably that is the problem...

> That second problem about __octave_link_register_doc__: That's already
> fixed in the new 0.3.4 release of Tablicious
> (https://github.com/apjanke/octave-tablicious/issues/67); I just forgot
> to update the README to point the download link at the new package.
> Please try installing 0.3.4; it should work under both Octave 5 and 6:
>
> pkg install
> https://github.com/apjanke/octave-tablicious/releases/download/v0.3.4/tablic
> ious-0.3.4.tar.gz
>
> Cheers,
> Andrew

Thank you, that got me going.

When installing I get several replicas of these errors:

__oct_time_binsearch__.cc: In instantiation of ‘octave_idx_type*
binsearch(const T*, octave_idx_type, const T*, octave_idx_type) [with T =
double; octave_idx_type = int]’:
__oct_time_binsearch__.cc:90:56:   required from here
__oct_time_binsearch__.cc:51:79: warning: format ‘%lld’ expects argument of
type ‘long long int’, but argument 2 has type ‘octave_idx_type’ {aka ‘int’} [-
Wformat=]
   51 |         error ("Total ordering violation: neither <, >, nor == was
true. i=%lld, mid=%lld",
      |                                                                            
~~~^
      |                                                                              
|
      |                                                                              
long long int
      |                                                                            
%d
   52 |           i, mid);
      |           ~                                                                    
      |           |
      |           octave_idx_type {aka int}

and later

warning: doc_cache_create: unusable help text found in file 'calendarDuration'
warning: doc_cache_create: unusable help text found in file 'categorical'
warning: doc_cache_create: unusable help text found in file 'datetime'
warning: doc_cache_create: unusable help text found in file 'duration'
warning: doc_cache_create: unusable help text found in file 'localdate'
warning: doc_cache_create: unusable help text found in file 'missing'
warning: doc_cache_create: unusable help text found in file 'string'
warning: doc_cache_create: unusable help text found in file 'table'

Best regards,
--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Dmitri A. Sergatskov


On Thu, Jan 30, 2020 at 1:45 PM José Abílio Matos <[hidden email]> wrote:

Thank you, that got me going.

When installing I get several replicas of these errors:

__oct_time_binsearch__.cc: In instantiation of ‘octave_idx_type*
binsearch(const T*, octave_idx_type, const T*, octave_idx_type) [with T =
double; octave_idx_type = int]’:
__oct_time_binsearch__.cc:90:56:   required from here
__oct_time_binsearch__.cc:51:79: warning: format ‘%lld’ expects argument of
type ‘long long int’, but argument 2 has type ‘octave_idx_type’ {aka ‘int’} [-
Wformat=]
   51 |         error ("Total ordering violation: neither <, >, nor == was
true. i=%lld, mid=%lld",
      |                                                                           
~~~^
      |                                                                               
|
      |                                                                               
long long int
      |                                                                           
%d
   52 |           i, mid);
      |           ~                                                                   
      |           |
      |           octave_idx_type {aka int}

and later

Are you trying to load pkg compiled for octave 5 into octave 6?
That will not work.


warning: doc_cache_create: unusable help text found in file 'calendarDuration'
warning: doc_cache_create: unusable help text found in file 'categorical'
warning: doc_cache_create: unusable help text found in file 'datetime'
warning: doc_cache_create: unusable help text found in file 'duration'
warning: doc_cache_create: unusable help text found in file 'localdate'
warning: doc_cache_create: unusable help text found in file 'missing'
warning: doc_cache_create: unusable help text found in file 'string'
warning: doc_cache_create: unusable help text found in file 'table'


Those are benign.
In any case it works fine on my computer (Fedora 31).

<<<<

octave:5> cd octave/tablicious-0.3.4/examples/
octave:6> ls
doc-cache  ex_01_suppliers_parts.m
octave:7> ex_01_suppliers_parts

Table s:
----------------------------------
| SNum | SName | Status | City   |
----------------------------------
| S1   | Smith | 20     | London |
| S2   | Jones | 10     | Paris  |
| S3   | Blake | 30     | Paris  |
| S4   | Clark | 20     | London |
| S5   | Adams | 30     | Athens |
----------------------------------
london_suppliers =
table: 2 rows x 4 variables
  VariableNames: SNum, SName, Status, City

Suppliers in London:
----------------------------------
| SNum | SName | Status | City   |
----------------------------------
| S1   | Smith | 20     | London |
| S4   | Clark | 20     | London |
----------------------------------
paris =
table: 1 rows x 4 variables
  VariableNames: SNum, SName, Status, City

Paris suppliers with status >= 20:
---------------------------------
| SNum | SName | Status | City  |
---------------------------------
| S3   | Blake | 30     | Paris |
---------------------------------
s2 =
table: 5 rows x 4 variables
  VariableNames: SNum, SName, Status, SupplierCity

Joined tables:
-----------------------------------------------------------------------------------------
| SNum | PNum | Qty | SName | Status | SupplierCity | PName | Color | Weight | PartCity |
-----------------------------------------------------------------------------------------
| S1   | P1   | 300 | Smith | 20     | London       | Nut   | Red   | 12     | London   |
| S2   | P1   | 300 | Jones | 10     | Paris        | Nut   | Red   | 12     | London   |
| S1   | P2   | 200 | Smith | 20     | London       | Bolt  | Green | 17     | Paris    |
| S2   | P2   | 400 | Jones | 10     | Paris        | Bolt  | Green | 17     | Paris    |
| S3   | P2   | 200 | Blake | 30     | Paris        | Bolt  | Green | 17     | Paris    |
| S4   | P2   | 200 | Clark | 20     | London       | Bolt  | Green | 17     | Paris    |
| S1   | P3   | 400 | Smith | 20     | London       | Screw | Blue  | 17     | Oslo     |
| S1   | P4   | 200 | Smith | 20     | London       | Screw | Red   | 14     | London   |
| S4   | P4   | 300 | Clark | 20     | London       | Screw | Red   | 14     | London   |
| S1   | P5   | 100 | Smith | 20     | London       | Cam   | Blue  | 12     | Paris    |
| S4   | P5   | 400 | Clark | 20     | London       | Cam   | Blue  | 12     | Paris    |
| S1   | P6   | 100 | Smith | 20     | London       | Cog   | Red   | 19     | London   |
-----------------------------------------------------------------------------------------

Delivery totals by city:
-------------------------------------
| PartCity | TotalQty | TotalWeight |
-------------------------------------
| London   | 1200     | 16100       |
| Oslo     | 400      | 6800        |
| Paris    | 1500     | 23000       |
-------------------------------------

Delivery totals by city with extra info:
----------------------------------------------------------------
| PartCity | Parts      | Colors      | TotalQty | TotalWeight |
----------------------------------------------------------------
| London   | P1, P4, P6 | Red         | 1200     | 16100       |
| Oslo     | P3         | Blue        | 400      | 6800        |
| Paris    | P2, P5     | Blue, Green | 1500     | 23000       |
----------------------------------------------------------------
octave:8>
>>>>

 
Best regards,
--
José Matos


Dmitri.
--
Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Mike Miller-4
In reply to this post by José Abílio Matos
On Thu, Jan 30, 2020 at 18:44:55 +0000, José Abílio Matos wrote:
> When I say that I am running in-place it means that I call octave from the
> building directory as
> $ ./run-octave --gui&
>
> probably that is the problem...

Yes, you can't install packages when you haven't installed Octave yet.

> When installing I get several replicas of these errors:
>
> __oct_time_binsearch__.cc: In instantiation of ‘octave_idx_type*
> binsearch(const T*, octave_idx_type, const T*, octave_idx_type) [with T =
> double; octave_idx_type = int]’:
> __oct_time_binsearch__.cc:90:56:   required from here
> __oct_time_binsearch__.cc:51:79: warning: format ‘%lld’ expects argument of
> type ‘long long int’, but argument 2 has type ‘octave_idx_type’ {aka ‘int’} [-
> Wformat=]
>    51 |         error ("Total ordering violation: neither <, >, nor == was
> true. i=%lld, mid=%lld",
Yeah, I get these warning messages (not errors) as well (with the
-Wformat option). I reported that along with a fix here

  https://github.com/apjanke/octave-tablicious/issues/69

These warnings will be silenced in a future release of the package.

Cheers,

--
mike

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
In reply to this post by Dmitri A. Sergatskov
On Thursday, January 30, 2020 7:01:55 PM WET Dmitri A. Sergatskov wrote:
> Are you trying to load pkg compiled for octave 5 into octave 6?
> That will not work.

This error happens when installing on octave 5.

--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Andrew Janke-2
In reply to this post by José Abílio Matos


On 1/30/20 1:44 PM, José Abílio Matos wrote:

> Thank you, that got me going.
>
> When installing I get several replicas of these errors:
>
> __oct_time_binsearch__.cc: In instantiation of ‘octave_idx_type*
> binsearch(const T*, octave_idx_type, const T*, octave_idx_type) [with T =
> double; octave_idx_type = int]’:
> __oct_time_binsearch__.cc:90:56:   required from here
> __oct_time_binsearch__.cc:51:79: warning: format ‘%lld’ expects argument of
> type ‘long long int’, but argument 2 has type ‘octave_idx_type’ {aka ‘int’} [-
> Wformat=]

Any chance you're running a 32-bit Octave build? That's what I think
octave_idx_type being int indicates. That's an issue; Tablicious is
assuming 64-bit Octave here; I'll need to fiddle with it a bit to be
32-bit compatible, probably using #if or #ifdef macros so it picks the
conversion specifiers appropriately.
> warning: doc_cache_create: unusable help text found in file 'calendarDuration'
> warning: doc_cache_create: unusable help text found in file 'categorical'
> warning: doc_cache_create: unusable help text found in file 'datetime'
> warning: doc_cache_create: unusable help text found in file 'duration'
> warning: doc_cache_create: unusable help text found in file 'localdate'
> warning: doc_cache_create: unusable help text found in file 'missing'
> warning: doc_cache_create: unusable help text found in file 'string'
> warning: doc_cache_create: unusable help text found in file 'table'

These are benign. This is just because Octave's help function doesn't
support helptext in methods in classdef files, I think. The helptext is
still extracted so you can view it in the doc browser if you're using
the GUI.

Cheers,
Andrew



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
On Thursday, January 30, 2020 8:13:21 PM WET Andrew Janke wrote:
> Any chance you're running a 32-bit Octave build? That's what I think
> octave_idx_type being int indicates. That's an issue; Tablicious is
> assuming 64-bit Octave here; I'll need to fiddle with it a bit to be
> 32-bit compatible, probably using #if or #ifdef macros so it picks the
> conversion specifiers appropriately.

Nope I am running 64 bits. I suppose that Mike's report (that you have already
answered) is the culprit. :-)

Thank you.

BTW the example works with both octave 5 and 6. :-)

--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Andrew Janke-2


On 1/30/20 3:21 PM, José Abílio Matos wrote:

> On Thursday, January 30, 2020 8:13:21 PM WET Andrew Janke wrote:
>> Any chance you're running a 32-bit Octave build? That's what I think
>> octave_idx_type being int indicates. That's an issue; Tablicious is
>> assuming 64-bit Octave here; I'll need to fiddle with it a bit to be
>> 32-bit compatible, probably using #if or #ifdef macros so it picks the
>> conversion specifiers appropriately.
>
> Nope I am running 64 bits. I suppose that Mike's report (that you have already
> answered) is the culprit. :-)
>
> Thank you.
>
> BTW the example works with both octave 5 and 6. :-)
>

Yep, that was it. And here's a version 0.3.5 that fixes it. Lemme know
if it gets rid of those warnings for you.

pkg install
https://github.com/apjanke/octave-tablicious/releases/download/v0.3.5/tablicious-0.3.5.tar.gz

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
On Thursday, January 30, 2020 8:46:54 PM WET Andrew Janke wrote:
> Yep, that was it. And here's a version 0.3.5 that fixes it. Lemme know
> if it gets rid of those warnings for you.

Yes, it does. Thank you. :-)
--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Andrew Janke-2


On 1/30/20 4:52 PM, José Abílio Matos wrote:
> On Thursday, January 30, 2020 8:46:54 PM WET Andrew Janke wrote:
>> Yep, that was it. And here's a version 0.3.5 that fixes it. Lemme know
>> if it gets rid of those warnings for you.
> Yes, it does. Thank you. :-)
Yay!

Thanks for trying my library. Let me know if you have any issues. And
feel free to report bugs directly to the project page
athttps://github.com/apjanke/octave-tablicious/issues.

Cheers,
Andrew

Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

José Abílio Matos
On Thursday, January 30, 2020 10:22:00 PM WET Andrew Janke wrote:
> Thanks for trying my library. Let me know if you have any issues. And
> feel free to report bugs directly to the project page
> athttps://github.com/apjanke/octave-tablicious/issues.
>
> Cheers,
> Andrew

FWIW in order to understand my motivation to work on octave is two-fold. I
work with other colleagues on using the Lanczos Tau methods to solve integro-
differential equations (and related). They started the project in Matlab and I
have expanded it making also compatible with Octave (the only one I use).

Table allows in this context a nice presentation of the results. Since I also
use python and pandas it would be nice to have a similar integration with
jupyter so that a table output it is nicely formatted in the output.


I am also part of a team that teaches Numerical Methods (and some programming)
to Master students in Economics. After brief introduction to language the next
module is "Data Analysis", we start by studying simple data (in csv) and
proceed to more complex subjects like a simple study of daily data from stock
exchange indices that has heterogeneous column types.

Table with the io part would simplify a lot the treatment of the data.
Currently we use textscan, to show how to deal with real world data files. The
main issue is that for students with a minimal background in computing that
approach may seem daunting at first (and the treatment of date-times presents
its challenges).

Best regards,
--
José Matos



Reply | Threaded
Open this post in threaded view
|

Re: Getting Tablicious on Octave Forge

Andrew Janke-2


On 1/31/20 5:54 AM, José Abílio Matos wrote:

> On Thursday, January 30, 2020 10:22:00 PM WET Andrew Janke wrote:
>> Thanks for trying my library. Let me know if you have any issues. And
>> feel free to report bugs directly to the project page
>> athttps://github.com/apjanke/octave-tablicious/issues.
>>
>> Cheers,
>> Andrew
>
> FWIW in order to understand my motivation to work on octave is two-fold. I
> work with other colleagues on using the Lanczos Tau methods to solve integro-
> differential equations (and related). They started the project in Matlab and I
> have expanded it making also compatible with Octave (the only one I use).
>
> Table allows in this context a nice presentation of the results. Since I also
> use python and pandas it would be nice to have a similar integration with
> jupyter so that a table output it is nicely formatted in the output.

I'm afraid I don't know anything about using Octave in notebooks.
Anybody know if this is something that is supported? If it is, I'll see
if I can throw in whatever you need to support integration of tables in
to it.

> I am also part of a team that teaches Numerical Methods (and some programming)
> to Master students in Economics. After brief introduction to language the next
> module is "Data Analysis", we start by studying simple data (in csv) and
> proceed to more complex subjects like a simple study of daily data from stock
> exchange indices that has heterogeneous column types.

I also come from a financial background. At my day job, I build
platforms for quants working in energy trading and weather analysis,
based on Matlab. We use tables _all_ over the place there.

> Table with the io part would simplify a lot the treatment of the data.
> Currently we use textscan, to show how to deal with real world data files. The
> main issue is that for students with a minimal background in computing that
> approach may seem daunting at first (and the treatment of date-times presents
> its challenges).

In that case I'll bump up the priority of getting table I/O working.
There was a recent update to the Octave io package that should make this
feasible.

Subscribe here if you'd like updates on table I/O progress:
https://github.com/apjanke/octave-tablicious/issues/49

Cheers,
Andrew

12