Re: [Jprogramming] GitHub Copilot anyone used this with J?

2023-05-10 Thread Thomas McGuire
Github Copilot understanding matrix multiply. Getting back to Raul’s question on whether it understands +/ . * as matrix multiply. Github copilot seems to be very context sensitive. At least in the sense that when it starts down a path it remembers the context of the file. So I started with a

Re: [Jprogramming] GitHub Copilot anyone used this with J?

2023-05-08 Thread Thomas McGuire
It seems to prefer 3 : 0 explcit definition over {{}}. When I force it to {{}} it doesn’t seem to use x and y parameters. That is likely because the code base favors the original explicit definition. As to the matrix multiplication: It doesn’t seem to have any concept of J matrix

Re: [Jprogramming] GitHub Copilot anyone used this with J?

2023-05-08 Thread Thomas McGuire
for AI to become proficient in it? > On May 5, 2023, at 12:07 AM, Thomas McGuire wrote: > > GitHub Copilot works under Visual Studio Code > > GitHub user tikkanz published an extension for VS Code to edit and run J. > Fairly easy to install. > > VSCode then needs to have the

[Jprogramming] GitHub Copilot anyone used this with J?

2023-05-04 Thread Thomas McGuire
GitHub Copilot works under Visual Studio Code GitHub user tikkanz published an extension for VS Code to edit and run J. Fairly easy to install. VSCode then needs to have the Copilot extensions installed. It will ask you to login into your account and then you are all set. I typed in the

Re: [Jprogramming] kadane algorithm vs brute force timing and memory

2023-04-07 Thread Thomas McGuire
ht to left in (n-1) applications of u. > The result of each suffix is fed into the next-larger suffix. > > (u/\ y), OTOH, runs in O(n^2) time unless u is known to be associative. > > Henry Rich > > On 4/7/2023 3:09 AM, Thomas McGuire wrote: >> In my haste to produce a

Re: [Jprogramming] kadane algorithm vs brute force timing and memory

2023-04-07 Thread Thomas McGuire
s to be the operation that causes the large amount of memory to be used. Elijah tried to explain it and hsi explanation is valid for some of the implementations such as the use of ‘\’ and Fold. But I don’t understand in the setting of a global variable. Tom McGuire > > Henry Rich > >

Re: [Jprogramming] kadane algorithm vs brute force timing and memory

2023-04-06 Thread Thomas McGuire
┴─┴─┘ >>> <@$@$"0 i.5 >>> ┌─┬─┬─┬─┬─┐ >>> │0│0│0│0│0│ >>> └─┴─┴─┴─┴─┘ >>> >>> 1 kadane\ y applies kadane to length-1 subsequences of y--that is, in >> this >>> case, vectors, which have length 1. Whereas kadane"0 appli

Re: [Jprogramming] kadane algorithm vs brute force timing and memory

2023-04-03 Thread Thomas McGuire
is, in this >> case, vectors, which have length 1. Whereas kadane"0 applies to cells of y, >> which have rank 0. More space is required to store a length-1 vector than a >> scalar, since in the former case the length also needs to be stored. >> >> On Mon, 3 Apr 20

[Jprogramming] kadane algorithm vs brute force timing and memory

2023-04-03 Thread Thomas McGuire
I’m wondering if someone with more J internals knowledge can tell me why my Kadane algorithm implementation is taking up more memory than my naive brute force method that generates all subsequences then sums them. The time is about what I would expect except for the FOLD operation. The time

Re: [Jprogramming] Report of J wiki meeting of March 23, 2023

2023-03-29 Thread Thomas McGuire
On the topic of Categorization is there a Media Wiki way of generating a complete list of categories used on the new J wiki site (especially the essays)? When I categorized some of the essays I did it in “lazy” fashion concentrating just on the current essay. In hind site keeping a list of

Re: [Jprogramming] Image Background Removal

2023-02-07 Thread Thomas McGuire
Thanks that was the file I was looking for. I had watched Tracy Harms talk but didn’t see the links to the file, of course when I watched the talk I didn’t know at the time I would need the images. Tom > On Feb 4, 2023, at 10:34 PM, Don Kittle wrote: > > I found pdf slides on InfoQ from a

Re: [Jprogramming] Image Background Removal

2023-02-04 Thread Thomas McGuire
On Fri, Feb 3, 2023 at 7:58 PM Thomas McGuire wrote: >> >> Oleg Kobenchenko has a short example of removing a shadow from an imaging >> using a moving average. >> >> The code can be found here: >> >> https://code.jsoftware.com/wiki/User:O

[Jprogramming] Image Background Removal

2023-02-03 Thread Thomas McGuire
Oleg Kobenchenko has a short example of removing a shadow from an imaging using a moving average. The code can be found here: https://code.jsoftware.com/wiki/User:Oleg_Kobchenko/Background_Removal I am giving a talk

Re: [Jprogramming] Report of the J wiki Group meeting of October 6, 2022

2022-10-13 Thread Thomas McGuire
here have been a lot of people who have already crossed the barrier. Raul > wondered whether there could be a J version of Jupyter with Jupyter as the > IDE. Bob mentioned that Thomas McGuire had been doing work creating Jupyter > instances that linked to the J engine > https://code.js

Re: [Jprogramming] NYCJUG: Thinking in an Array Language

2022-07-20 Thread Thomas McGuire
;:+:1000 1000?@$0 >>>mat0=. <.0.5+10*<:+:1000 1000?@$0 >>>(10) 6!:2 'mat0 matmul3 mat1' >>> 0.737084 >>>(10) 6!:2 'mat0 +/ . * mat1' >>> 0.0499271 >>>(mat0 matmul3 mat1) -: mat0 +/ . * mat1 >>> 1 >>> >>> &

Re: [Jprogramming] NYCJUG: Thinking in an Array Language

2022-07-19 Thread Thomas McGuire
My late night laziness and I got bitten by the 13 : definition doesn’t always work correctly with both x and y variables. Which I just assumed was working correctly. Now when I fix the definition of matmul3 so it works correctly (as Elijah pointed out) the variable representation does not

Re: [Jprogramming] NYCJUG: Thinking in an Array Language

2022-07-19 Thread Thomas McGuire
I had a chance to digest the K-way of lists of a list method Raul presented in J. After I understood it somewhat and its use of the leaf operator. I was curious as how fast these things ran, as implied by Raghu and Raul it was fairly slow compared to the J matrix implementation proposed by

[Jprogramming] NYCJUG: Thinking in an Array Language

2022-07-12 Thread Thomas McGuire
Devon had shared a kx example of performing matrix multiplication backing out the loops from a wikipedia pseudocode. Providing an elegant solution in K. You can see it in the NYCJUG notes here: https://code.jsoftware.com/wiki/NYCJUG/2022-07-12

Re: [Jprogramming] Tiling a matrix to produce a larger matrix

2022-07-02 Thread Thomas McGuire
To close the loop as to why I asked this question I have attached the graphics program. It is simple. It uses the windows driver in J and the isigraph and gl2 to create a window using the toucan.bmp bitmap that comes with J as the background. It starts displaying a single panel and when you

Re: [Jprogramming] Tiling a matrix to produce a larger matrix

2022-07-02 Thread Thomas McGuire
NB. Bill Lam fixed my overapplication of the stitch operator NB. that fixes the transpose issue I was having with my original NB. Solution NB. my way: ,./;"1(3 2$"1(3 2$http://www.jsoftware.com/forums.htm

[Jprogramming] Tiling a matrix to produce a larger matrix

2022-07-01 Thread Thomas McGuire
I was playing with the Window driver and trying to paint the toucan.bmp to the window I created. Expanding on that I wanted to pain a panel of toucan.bmp bitmaps to the background. Now I was able to glom together the bitmaps into a 2 x 2 panel of bitmaps, but it seems I should be able to just

Re: [Jprogramming] graphics/pplatimg readimg crashes JQt in Mac Monterey

2022-01-20 Thread Thomas McGuire
Thanks Bill for the quick fix I pulled it down with pacman and it works as intended. Now does anyone have a full size jpeg of Oleg’s remove shadow input.jpg? The Jsoftware site that has his example has a smaller version that has the original, the filtered shadow, and the final result all in 1

Re: [Jprogramming] graphics/pplatimg readimg crashes JQt in Mac Monterey

2022-01-18 Thread Thomas McGuire
After further investigation I am not getting a valid image. My confusion was due to the fact that I was also experimenting with ‘graphics/jpeg’ that does seem to work. The mac monterey pplatimg readimg does not work at all giving back _1’s though it provides the correct width and height for

[Jprogramming] graphics/pplatimg readimg crashes JQt in Mac Monterey

2022-01-18 Thread Thomas McGuire
reading a jpeg image with readimg The first time in a fresh JQt session no problems. I am able to read a jpeg file an display it in viewmat On rereading the same file or a different file JQt crashes. The crash is occuring on a MacBook Pro with Monterey installed. I haven’t had a chance to

Re: [Jprogramming] JQt terminal development environment

2021-10-31 Thread Thomas McGuire
JQt IDE Ctrl-D (comand-D on Mac) will bring up the saved previous commands and you can select from there OR just move the cursor to a previous line in the IDE and press return. This will load the line at the current input line. You can edit it and then hit return again or just hit return to

[Jprogramming] NYCJUG: Counting pairs in a 3 card poker hand

2021-10-13 Thread Thomas McGuire
Devon presented more of his Poker simulations now using Jd (the J database) at the most recent NYCJUG meeting (https://code.jsoftware.com/wiki/NYCJUG/2021-10-12 ) He came up with an interesting problem of calculating the expected number of

Re: [Jprogramming] Benchmarks

2021-05-24 Thread Thomas McGuire
ion, so it has less support for variant expressions.) > > FYI, > > -- > Raul > > On Wed, May 19, 2021 at 4:17 AM Thomas McGuire <mailto:tmcguir...@gmail.com>> wrote: >> >> Thanks Raul, >> I added your ‘tail' implementation to the code and it works without

Re: [Jprogramming] Benchmarks

2021-05-19 Thread Thomas McGuire
stake here. > > Thanks, > > -- > Raul > > On Tue, May 18, 2021 at 7:02 PM Thomas McGuire <mailto:tmcguir...@gmail.com>> wrote: >> >> I was going over Devon McCormick's notes from the latest NYCJUG meeting. >> There was a discussion about Benchmarks

[Jprogramming] Benchmarks

2021-05-18 Thread Thomas McGuire
I was going over Devon McCormick's notes from the latest NYCJUG meeting. There was a discussion about Benchmarks with an example of the Kernighan/Van Wyk benchmarks in LISP/Scheme. Devon had made the comment that for most things people use J for that correctness overshadowed performance. The

Re: [Jprogramming] Downloading using https protocol

2021-01-05 Thread Thomas McGuire
I believe this has to do with a crumb that yahoo embeds in the session and unless your reply has the crumb yahoo rejects the query. It means you need a 2 step call access. One to set the session information and extract the crumb and one to actually get the data you are interested in. I had

Re: [Jprogramming] SDL2 integration under Jqt

2020-12-03 Thread Thomas McGuire
me problem with the argument to >> SDL_CreateWindow. The added >> characters seem to be arbitrary, as might be expected if the length is >> wrong. >> >> But the Toucan appeared! I'm old enough to remember the Guinness (I >> think) ad's slogan, along the >> line

Re: [Jprogramming] SDL2 integration under Jqt

2020-12-02 Thread Thomas McGuire
NB. sdlbmpevtex.ijs - example of setting up a bitmap displayed in window NB. under SDL with QUIT event processing load '~/j902-user/temp/sdl2.ijs' NB. SDL_Init http://www.jsoftware.com/forums.htm

Re: [Jprogramming] SDL2 integration under Jqt

2020-12-02 Thread Thomas McGuire
NB. SDL utilities for OpenGL require 'dll' void=: 0$'' null=: <0 SDLDLL =: '/usr/local/lib/libSDL2.dylib' NB. SDL Constants SDL_INIT_TIMER=: 16b0001 SDL_INIT_AUDIO=: 16b0010 SDL_INIT_VIDEO=: 16b0020 NB. SDL_INIT_VIDEO implies SDL_INIT_EVENTS */

Re: [Jprogramming] SDL2 integration under Jqt

2020-12-01 Thread Thomas McGuire
n of the dll consistent SDL_LoadBMP =: 3 : 0 Rwops =. {. SDL_RWFromFile y,<'rb' SDL_LoadBMP_RW Rwops;1 ) > On Dec 1, 2020, at 10:49 AM, bill lam wrote: > > Can you attach a complete script for demo? Thanks > > On Tue, Dec 1, 2020, 6:42 PM Thomas McGuire wrote: > >> H

Re: [Jprogramming] SDL2 integration under Jqt

2020-12-01 Thread Thomas McGuire
> ugo =: 3 : 0 > sdlprep SCREEN_X_MAX;SCREEN_Y_MAX > urun'' > uend^:y '' > ) > > On Tue, 1 Dec 2020 at 07:25, Thomas McGuire wrote: > >> I was glad to see some renewed interest in SDL2 and thank you to Raul >> Miller for the suggestion of setting timer to run an eve

[Jprogramming] SDL2 integration under Jqt

2020-11-30 Thread Thomas McGuire
I was glad to see some renewed interest in SDL2 and thank you to Raul Miller for the suggestion of setting timer to run an event loop. I haven’t had the chance to try Bill Lam’s suggestion of creating a tight event loop under Jconsole yet. I have attached my code for a simple example that:

Re: [Jprogramming] Unexpected domain error

2020-11-28 Thread Thomas McGuire
Have you come up with a way to handle SDL events? I was able to read events but if I set up a polling loop I ran into problems with J not getting time for handling Its own user events. I made some attempts to use wd ‘msgs’ from the window driver but was unsuccessful. Tom McGuire > On Nov 27,

Re: [Jprogramming] Condense a multidimensional array

2020-05-29 Thread Thomas McGuire
t; > On 5/29/2020 11:13 AM, Hauke Rehr wrote: >> (;@;/ -: ,/) i. 12 2 4 >> 1 >> >> Am 29.05.20 um 17:04 schrieb Thomas McGuire: >>> I have a 3 dimensional array I want to squish it so the rows of the tables >>> just stack on top of each other. >>&

[Jprogramming] Condense a multidimensional array

2020-05-29 Thread Thomas McGuire
I have a 3 dimensional array I want to squish it so the rows of the tables just stack on top of each other. i. 12 2 4 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58

Re: [Jprogramming] Deleting?

2020-05-19 Thread Thomas McGuire
I wanted to respond to your preface, while I’m a little younger than you I no longer make my living writing code. I adopted J as my personal use programming language. I don’t always have the time I want to put aside for my pet projects and I always seemed to be forgetting how to do things I

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-05-03 Thread Thomas McGuire
I have implemented the APL style of N2P that expands note numbers to relative octave text. This is a fairly direct transcription from the book. I also updated my J version (n2p) as I understood better how relative octave changes were being calculated. I won’t reproduce it here as I have placed

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread Thomas McGuire
I fixed up the n2p routine, although not in the same output format as the book (“Cybernetic Music”) it seems to track the relative octave increases and decreases from the examples. I apologize for the not very J-ish style for the support routine ‘ROCT’ (new routine not part of the original

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-23 Thread Thomas McGuire
Harvey, You mentioned errata for Cybernetic Music by Jaxitron. One of the last routines I coded (before I was distracted by something else) was the DVLP2 melody routine. I had placed one mistake in the code for DVLP2. But there seems to be a discrepancy in the hand code on page 119 and the

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-22 Thread Thomas McGuire
t currently have an APL installed on my machine > but it would be a good idea for working with this. > > Regards, > > Devon > > On Wed, Apr 22, 2020 at 5:48 PM Thomas McGuire <mailto:tmcguir...@gmail.com>> wrote: > >> Devon, >> >> I belie

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-04-22 Thread Thomas McGuire
seeing how well they work. Tom McGuire > On Apr 22, 2020, at 2:22 PM, Devon McCormick wrote: > > On Mon, Mar 30, 2020 at 3:18 PM Thomas McGuire <mailto:tmcguir...@gmail.com>> wrote: > >> For those of you interested in using J as an adjunct to lilypond or other >

Re: [Jprogramming] Blockchain, bit packing hex, and J SHA Algorithms

2020-04-12 Thread Thomas McGuire
Very quick timespacex '3&(128!:6) _3&(128!:6) bfh header_hex' 9e_6 6912 But doesn’t make feel like as much of a J insider as when I use the power conjunction :-) Thanks for your help. Sometimes the simple ways evade me when I am working with J. Tom McGuire > On Apr 12, 2020, at 9:42 PM,

Re: [Jprogramming] Blockchain, bit packing hex, and J SHA Algorithms

2020-04-12 Thread Thomas McGuire
6 > On Apr 12, 2020, at 4:40 AM, bill lam wrote: > > try > _3&(128!:6)^:2 bfh header_hex > > On Sun, Apr 12, 2020, 3:50 PM Thomas McGuire <mailto:tmcguir...@gmail.com>> wrote: > >> In a round about way (it started with reading slashdot) I was researching &g

[Jprogramming] Blockchain, bit packing hex, and J SHA Algorithms

2020-04-12 Thread Thomas McGuire
In a round about way (it started with reading slashdot) I was researching Bitcoin hashing. I came across a python explanation of taking a bitcoin header and SHA256 hashing it twice to see if it produces the desired number of leading (or terminating depending on the endian of your machine) '0’s.

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-03-30 Thread Thomas McGuire
ag and inserting '\layout {}’ and ‘\midi {}’ causes lilypond to generate both a pdf of the score and a midi file that GargeBand or other such program can play for you. When I generated MusicXML the musescore program could play the tune right from the score. Tom McGuire > On Mar 29, 2020, at 2:39

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-03-30 Thread Thomas McGuire
I have the jaxitron book and have slowly been adapting the APL code to J. Here’s what I have so far. It’s such an old book and you would need to read the book to use the code the way it was intended. NB. routines for cybernetic music. This is a direct translation NB. from APL. It should be

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-03-29 Thread Thomas McGuire
> > could one as easily have a lilypond file created instead? > since converting from MusicXML usually doesn’t work that well > > else I’d rather re-implement the music generation in scheme > (guile) in order to use it in lilypond directly > > Am 29.03.20 um 05:14 schrieb

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-03-28 Thread Thomas McGuire
Here is a transcription of code from an article on music syntax in APL2 and some simple MIDI The article reference is in the code. If you have an ACM membership you should be able to download The PDF of the article Tom McGuire NB. MusicalSyntax.ijs - J implementation of functions from APL90

Re: [Jprogramming] Generating "music" in J (or otherwise)

2020-03-28 Thread Thomas McGuire
I have a couple of files one is rough and hastily thrown together. But it pulls together a few ideas from various people and tries to implement a VOSS algorithm to randomly generate music in a fractal pattern. It will also generate MusicXML so you can load it it into a musical score

Re: [Jprogramming] String sort, possible bug

2020-03-13 Thread Thomas McGuire
The first 2 of the list have no rank. $ each words $ each words ┌┬┬─┬─┬─┬─┐ │││3│3│4│4│ └┴┴─┴─┴─┴─┘ words =: (1$'a');(1$'z');'zza';'abc';'zabc';’abbb' $ each words ┌─┬─┬─┬─┬─┬─┐ │1│1│3│3│4│4│ └─┴─┴─┴─┴─┴─┘ sort words ┌─┬┬───┬─┬┬───┐ │a│abbb│abc│z│zabc│zza│ └─┴┴───┴─┴┴───┘

Re: [Jprogramming] OpenGL

2020-02-29 Thread Thomas McGuire
At some point you are supposed to use a 3D drawing program like Blender or Maya, have it generate a ‘.obj’ file that contains all the vertex and coloring information. People publish some open source ‘.obj’s of familiar characters. That was ultimately my goal: Could I get J to read in a ‘.obj’

Re: [Jprogramming] OpenGL

2020-02-29 Thread Thomas McGuire
Attached is a running copy that uses Brian’s tetrahedron with the original cube and now they are both side by side. Spinning around. I expand vbo to handle this with one buffer name that is a list of glGenBuffers locations. I print out what I receive back from the buffer call. This shows what

Re: [Jprogramming] OpenGL

2020-02-28 Thread Thomas McGuire
I added your tetrahedron object data into my test file for shader.ijs. The goal was to get a tetrahedron and a cube up there rotating. What I got was 2 badly formed tetrahedron rotating. I had thought from my reading that the shader should keep these entities distinct. I don’t know why I

Re: [Jprogramming] OpenGL

2020-02-28 Thread Thomas McGuire
n to the kernel shader code variables vertex, color, map and openGL takes care of the rest. Tom McGuire > On Feb 28, 2020, at 2:42 AM, bill lam wrote: > > Kernel means the program running inside GPU, which is > the c source stored inside nouns vsrc and fsrc. > > Fri, 28 Feb 2

Re: [Jprogramming] OpenGL

2020-02-27 Thread Thomas McGuire
Not sure I know what you mean but I’m using 807 on a MacBook Pro with just the full Jqt install. > On Feb 27, 2020, at 9:28 PM, bill lam wrote: > > Did kernels need any modification? > > Thu, 27 Feb 2020, Thomas McGuire написал(а): >> It took me a while to underst

Re: [Jprogramming] OpenGL

2020-02-27 Thread Thomas McGuire
It took me a while to understand this a little bit. But the shader can render any number of objects you just need to set up the data and tell the shader to paint the object. To create 2 cubes I had to modify the a_g_initialize function and the a_g_paint function. I have placed comments in the

Re: [Jprogramming] OpenGL

2020-02-17 Thread Thomas McGuire
On my MacBook Pro the F10 key is the run all lines key in JQt. So what happens to me is that a new window appears that exactly overlays the original window. If I click on the title bar and move the window with the cube, I find the original window is still there underneath. To fix this I

Re: [Jprogramming] J calling C++ SDL

2020-02-02 Thread Thomas McGuire
I happened to be playing around with SDL2 and J and came across your thread. While you probably got through your issues and don’t care any more, still, I thought I would complete the thread with an answer so future queries into the archive can provide some more detail to interested parties.

Re: [Jprogramming] Yahoo stock quotes

2019-11-29 Thread Thomas McGuire
yr mn dy >> ) >> >> and I removed the two curtails in (using a fixed width font) >> >> qstr =. '?period1=',(}:epochtime d1),'=',(}:epochtime >> d2),'=1d=history=',crumb >> .....^^...^^ >> >> todayno is in the

Re: [Jprogramming] Yahoo stock quotes

2019-11-24 Thread Thomas McGuire
OK so here is my final code cleaned up and now working due to the double quote issue (see second to last line of code): NB. Navigating yahoo.com to programmatically get historical stock prices NB. require 'web/gethttp' require 'regex' NB. use the linux date command to create a linux time stamp

Re: [Jprogramming] Yahoo stock quotes

2019-11-24 Thread Thomas McGuire
answer: > https://stackoverflow.com/questions/55753504/reading-csv-file-from-a-a-secured-link-with-j > > On Mon, Nov 25, 2019 at 3:36 PM Henry Rich wrote: > >> Do you have an example of a script where you can see correct data going >> in and a bad result coming out? >> >&

[Jprogramming] Yahoo stock quotes

2019-11-24 Thread Thomas McGuire
The following J script, patterned after Brad Lucas’ Bash script (http://blog.bradlucas.com/posts/2017-06-02-new-yahoo-finance-quote-download-url/ ), doesn’t seem to work. I won’t go into the history of the yahoo

[Heaptrack] [Bug 394557] New: CMake error when boost filesystem is missing

2018-05-22 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=394557 Bug ID: 394557 Summary: CMake error when boost filesystem is missing Product: Heaptrack Version: unspecified Platform: Compiled Sources OS: Linux Status: UNCONFIRMED

[Heaptrack] [Bug 380985] Incorrect library used when app relies on rpath

2017-06-28 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=380985 Thomas McGuire <mcgu...@kde.org> changed: What|Removed |Added Resolution|--- |INVALID

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-28 Thread Thomas McGuire
probably ask your distribution vendor to look into this as well. Right, that's worth a try. Thanks, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts smime.p7s D

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-28 Thread Thomas McGuire
Hi, On 27.06.2017 16:25, Michael Jeanson wrote: > I forgot to ask for your kernel .config file. Attached is the content of /proc/config.gz. Regards, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH KG, a KDAB Group company Tel: +49

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-26 Thread Thomas McGuire
as https://github.com/torvalds/linux/blob/v4.9/include/trace/events/block.h. That's all relevant information about the kernel I could figure out so far. Any other information that would help? Regards, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland)

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-23 Thread Thomas McGuire
size = 8; align = 8; signed = 0; encoding = none; base = 16; } _cmd[ __cmd_length ]; }; }; Also, does anyone know which block_rq_ events are actually needed to display the IO load in TraceCompass? Regards, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland)

[Jprogramming] OpenWhisk Docker J image under Alpine.

2017-06-20 Thread Thomas McGuire
Joe Bogner Posted a Docker image for running J on a tiny core docker image on JChat forum. http://www.jsoftware.com/pipermail/chat/2016-November/007158.html I happened across the post doing a search on the Forums. It gave me a

Re: [lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-14 Thread Thomas McGuire
ta file to http://www.kdab.com/~thomas/stuff/metadata. To double-check that it isn't file system corruption, I ran "yes > test.data" - that file is OK, so it's probably a different problem. Any idea what can cause the corrupted trace? Regards, Thomas -- Thomas McGuire | thomas.mcgu..

[lttng-dev] Allocation failures with babeltrace and TraceCompass - corrupt trace?

2017-06-14 Thread Thomas McGuire
and how I can record traces without corruption in the future? Thanks, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts Program received signal SIGTRAP, Trace/breakpoint tr

Re: [lttng-dev] Wrong timestamps in trace

2017-06-13 Thread Thomas McGuire
ct and TraceCompass shows me a nice schedule :) Thanks again for your help and every developer here for providing lttng, it's a great tool. Regards, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH & Co KG, a KDAB Group company Tel: +

[lttng-dev] Wrong timestamps in trace

2017-06-12 Thread Thomas McGuire
s 2.9.4 and lttng-modules 2.9.2. Kernel is 4.9.28-20170428-1, babeltrace on the host is 1.2.4. What do I need to do to get correct timestamps? Thanks, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH KG, a KDAB Group company Tel: +49-30-5213254

[Heaptrack] [Bug 380985] New: Incorrect library used when app relies on rpath

2017-06-08 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=380985 Bug ID: 380985 Summary: Incorrect library used when app relies on rpath Product: Heaptrack Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED

[Heaptrack] [Bug 379660] New: Collapse template arguments in flamegraph

2017-05-09 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=379660 Bug ID: 379660 Summary: Collapse template arguments in flamegraph Product: Heaptrack Version: unspecified Platform: Compiled Sources OS: Linux Status: UNCONFIRMED

[Jprogramming] Google Codejam 2017

2017-04-05 Thread Thomas McGuire
Google codejam qualifying round starts this Friday April 7, 2017. The number of J programmers participating has been dwindling. I figured I would post a reminder and a link: https://code.google.com/codejam/ I learn a lot by seeing other people’s J code after

[Jprogramming] JFire/Arrayfire problem with dll on mac

2017-01-29 Thread Thomas McGuire
Ok it turns out that on my Mac running Sierra I had some install issues with arrayfire. The cd error was due to libafcpu.dylib not finding libforge.0.dylib and then after putting in a link to fix that, then the libglfw3.dylib library also needed a link: I also needed to install XQuartz so that

[Jprogramming] JFire/Arrayfire problem with dll on mac

2017-01-29 Thread Thomas McGuire
I have down loaded arrayfire to my Mac book and the install placed the libraries in: /usr/local/lib. I downloaded JFire scripts from Pascal’s git site to the directory: home/downloads/jfire-master I created a arrayfire.settings file in the jfire-master directory and its contents are as

Re: [Jprogramming] Project Euler 1

2016-05-04 Thread Thomas McGuire
I used modulo outer product |/ found which ones equal zero and then anded the rows of the matrix together to find the numbers that have both 3 and 5 as divisors I. (*./ (0 = 3 5 |/i.1000)) 0 15 30 45 60 75 90 105 120 135 150 165 180 195 210 . . . to generalize into a tacit I cheat and use

Re: [Jprogramming] Magic squares

2015-12-22 Thread Thomas McGuire
I haven't tried this in a while but here is one method from an APL book transcribed into J NB. Magic Squares the APL/J way NB. From APL An Interactive Approach by Gilman and Rose NB. NB. Problem 19 page 177 NB. NB. A magic square of order n made up of the integers from NB. 1 through n. NB. NB.

Re: [Jprogramming] JHP on j64_803 Linode server with Ubuntu

2015-11-14 Thread Thomas McGuire
. Tom McGuire On Nov 14, 2015, at 11:43 PM, bill lam <bbill@gmail.com> wrote: > The jhp addon was developed on j602 and not maintained anymore. > USERFOLDERS had become UserFolders and its format had also changed. > > Пт, 13 ноя 2015, Thomas McGuire написал(а): >>

[Jprogramming] JHP on j64_803 Linode server with Ubuntu

2015-11-13 Thread Thomas McGuire
I've been playing around with the various web configurations of J Software on an Apache2 server. The FSCGI was relatively straight forward and works rather nicely. But I realized that for most of the small programs I create to play with it would probably be easier to use Oleg's JHP. The

Re: [Jprogramming] forward substitution and Back substitution for LU decamp and the like

2015-09-01 Thread Thomas McGuire
> 3.5e_5 7168 > > timespacex 'U1 baksub L1 forsub b1' > 6.2e_5 9344 > timespacex 'U1 baksub L1 forsub b1' > 3e_5 9344 > > Or, using your original definitions for forsub and baksub: > > timespacex 'U1 baksub L1 forsub b1' > 5.3e_5 11392 > timespacex

[Jprogramming] forward substitution and Back substitution for LU decamp and the like

2015-08-31 Thread Thomas McGuire
I have been playing around with creating forward substitution and backward substitution J scripts to solve lower and upper triangular matrices of the type you would get by performing LU decomposition on a single square matrix. I could certainly just use matrix divide but this starts to slow

Re: [meta-freescale] [PATCH 0/4] 3.14.28-1.0.1_patch release patches

2015-06-02 Thread Thomas McGuire
driver version, but I can't find the release notes on freescale.com myself, it's quite a big site. Regards, Thomas -- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH Co KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts smime.p7s

Re: [meta-freescale] [PATCH 0/4] 3.14.28-1.0.1_patch release patches

2015-06-02 Thread Thomas McGuire
-- Thomas McGuire | thomas.mcgu...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbHCo KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts smime.p7s Description: S/MIME Cryptographic Signature -- ___ meta-freescale mailing list

[akregator] [Bug 163573] Akregator crashed while clicking an article title

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=163573 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added CC|mcgu...@kde.org | -- You are receiving

[kmail] [Bug 103677] format of vcf attachments not readable by thunderbird and www.gmx.at

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=103677 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added CC|mcgu...@kde.org | -- You are receiving

[kmail] [Bug 209566] enterprise header: only first two attachments in the header are clickable

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=209566 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added CC|mcgu...@kde.org | -- You are receiving

[kmail] [Bug 106580] MDN response should be sent to reply-to address

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=106580 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added CC|mcgu...@kde.org | -- You are receiving

[Akonadi] [Bug 276073] akonadi-facebook does not support reading non-ascii notes

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=276073 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |mklape...@kde.org -- You

[kmail] [Bug 174926] Broken MIME structure with encapsulated multipart/alternative messages and load attachments on demand

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=174926 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |kdepim-bugs@kde.org -- You

[Akonadi] [Bug 203530] create an Akonadi ressource for facebook inbox

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=203530 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |mklape...@kde.org -- You

[Akonadi] [Bug 274110] duplicate contacts after application restart

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=274110 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |mklape...@kde.org -- You

[kmail] [Bug 175988] Yahoo Authentication-Results header break mail

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=175988 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |kdepim-bugs@kde.org -- You

[Akonadi] [Bug 325657] another crash

2014-11-16 Thread Thomas McGuire
https://bugs.kde.org/show_bug.cgi?id=325657 Thomas McGuire mcgu...@kde.org changed: What|Removed |Added Assignee|mcgu...@kde.org |kdepim-bugs@kde.org -- You

  1   2   3   4   5   6   7   8   9   10   >