« first day (57 days earlier)      last day (3146 days later) » 

00:01
@LuisMendo Ok changes pushed.
 
9 hours later…
08:53
@Suever I'm on a 1920-wide screen now. It looks great, with very balanced widths
There's still the need to escape (duplicate) double-quote symbols in the help
Do you think the duplication could be made automatically, so that it be transparent to the user?
Not very important, of course
"Actual size" text in image view :-)
The text tells the correct size (10x10 pixels) for imshow: .1:.1:1&*''YG
However, .1:.1:1&*0YG should do the same and it doesn't seem to work
It says MATL run-time error: The following MATLAB error refers to statement number 5: YG horizontal dimensions mismatch (10x10 vs 1x4). It works offline on Matlab, but I can't test on Octave now. I'll take a look later in the day
 
2 hours later…
11:38
@LuisMendo Oh yea, that's because that change along with the other disp changes haven't been rolled into an "official" release yet and the site only uses the releases.
Yea so the thing about the double quotes is that 99% of the time you want double quotes (and not an escaped double quote) because they are used to perform an exact search.
I could try disabling smart search and see if that works well enough in which case double quotes wouldn't be treated like that anymore
You can play with it here: datatables.net/examples/api/regex.html
You'll see that without smart search it treats everything as if it were a literal search.
So for example if you wanted to search for something about "numeric" and "split" you can just enter "numeric split" with smart search but you'd have to enter "split string or numeric array" without
I could add a checkbox for "exact search" or something
 
2 hours later…
14:04
@Suever Oh, true, I didn't remember that. I should make a release soon
Yea I was toying with the idea of allowing users to specify a commit hash instead of a release version in the URL
that way there would be less pressure to "release" things if it's just one feature
Also I did have another question. How does PPCG feel about bug fixes being newer than a challenge?
It depends on how complicated that is. Making releases is not that much work
@Suever Not allowed, AFAIK. They are treated as new features
Ok that works then
@xnor Oh. Pity. I didn't see that challenge. I guess this is mostly a duplicate then — Luis Mendo 3 hours ago
^^ :-(
Maybe I should use a different metric, other than the h-index
But the h-index is the most common one
Yea there are a few different ones
I like yours because it is interesting and not just "compute this thing"
people actually care about the results
14:07
But it's mostly a duplicate, isn't it?
Maybe, I never know how things are going to be received in PPCG
I could always give it a try, and if it gets closed as duplicate, so be it
Oh also with the " thing, I can probably overload the search function and if there is only one " treat it as a literal (i.e. escape it)
@Suever That sounds like a very good idea!
Because if you want a literal search you'd need two " surrounding the search
I'll play around with that this evening
14:12
That should go to the help section of the online compiler, along with the explanation of the ? button, the fact that you can click on the image, and the other surprises. Unless you want them to remain as surprises, that is :-)
Yea I was thinking about having a help / tutorial section
along with some demos of usage of clc, pause, etc.
I think CJam had a demos list you could run
Oh I also added a button to "share" an image from the preview box so that if you want to post the image in your answer it will upload it to imgur and give you a link
Yes, it has. I have never used them though :-) I don't think demos are that useful. But maybe it's just me.
beacuse currently within the page itself, the images are just raw data stuck within an <img> tag
I think they are useful for getting started with a language, also just to show off functionality :)
Ah, yes, I also saw the link button
Yes, in the same vein as the "Showcase your language" question. But there you do explain how it works, which is the most interesting part
Yea
I'll have to think about the best way to do it
Also apparently people have tried to compile octave to javascript using emscripten
14:18
Well, comments in the code are probably enough
you lose all sorts of GUI stuff, but still intersting
@Suever So quartata's yesterday comment was more serious than I thought :-)
Oh yea there are well known ways to do it
I just think that it would also be painfully slow
Definitely not a priority, the server load is very low in my tests
and people writing answers are the heaviest users
Yes, it works very well as it is now
Once we get this fully functional I'm going to take a hard look at the list of disabled functions in the online version
to see if we want to enable any of them for this version of the online stuff
There are a few I've stumbled across that could be useful now that we can display images, etc.
14:28
Oh, there aren't many
According to the allowedOnline field of struct F (contained in funDef.mat), they are only 6:
Y! (system)
Z# (write to file)
X$ (execute Matlab function)
Z$ (read from file)
Xi (urlread)
Yi (imread)
Yea so I think Z# and Yi could be useful
and as we discussed yesterday not sure about urlread
and I can wrap them within my octaverc to make them "safe"
i.e. write to file would write to output where we could create a file if we really wanted
imread you just ensure that the image source is a URL
Then you could do something like this
@LuisMendo There's definitely ways to do it, but it wouldn't be terribly fun
Which technically you can already do it!
I think having it server side is better
Yea and I was tossing around the idea of containerizing all my workers then you don't really have to worry about security
well...as much
14:36
You could ask Dennis about what he did for sandboxing Julia on TIO
I think he did something with chroot
yea so I have a special non-privileged user for all the workers so that prevents any funny business
15:06
@quartata Yes, sorry, I thought your comment yesterday was mostly a joke :-)
@Suever Well, that can be useful for reading a text file, or a simple HTML page that can be parsed with regexp (ahem)
Oh true, but yea some way to get data in from a URL is handy
 
3 hours later…
18:22
@Suever Release created
* `YF` (exponents of prime factorization) now has a two-output version that produces the prime factors too
* `YG` corrected and improved. Thanks for noticing, @Suever!
* Characters 0--7 and 14--31 are now replaced by a space before being displayed in functions `D` and `XD`, and also in `ZD` for char input (not in `YD` used as `fprintf`)
 
2 hours later…
19:59
@LuisMendo online version is updated. Thanks
 
2 hours later…
21:40
@Suever Thanks to you!
Not working now? I guess you are doing something with the server
 
2 hours later…
23:50
@LuisMendo Oh not sure why that stopped....fixed now though
Also do you have it ever happen where the first time you try to run something nothing happens?

« first day (57 days earlier)      last day (3146 days later) »