Requirements do not have a motivation for executable name

I guess the rationale is to have the name of the package? e.g., in python the name of the executable package you invoke in the command line. It's unclear how would this be in other languages. For example, what a bout a JAR?

I added a commit to address this. Does this make it clear?
I think a jar (including the extension) is a valid executableName for java-based applications. Unless the application ships some alias like a shellscript for invocation, then that could be used.
For Java libraries though, the executableName would be the name of the top-level package, as used after import. Which in case of java can be verbose like:
{
   "type": "SoftwareLibrary",
   "name": "Apache Lucene",
   "executableName": "org.apache.lucene"
}

For Python libraries, it'd also correspond to the package name, same for most such higher-level languages.

Hmm, I think I am still a little confused. In the definition you state It should typically not contain any platform/runtime-specific extensions , but then in the JAR example you add the JAR extension name. Also, for the library, that's the package name, not the name of anything executable, right?
What if you have a python package but the setup.py is the executable that installs everything? Or you have to run it through "python cli.py" or similar? Would the executable be cli.py?
I had understood this property to be the executable command name. What is it exactly that you wish to do with this information? Also, what if you have multiple executables? (e.g., in Widoco you can build different JARs for different target JREs). I am trying to understand better the scope of this property

At the moment executableName is a little overloaded in my opinion

Hmm, I think I am still a little confused. In the definition you state It should typically not contain any platform/runtime-specific extensions , but then in the JAR example you add the JAR extension name.

Yes, I had updated the documentation a bit but not yet the actual definition:

Note that the executable name should typically not contain any
platform/runtime-specific extensions which may differ across systems
(.exe,.so,.dll,.dylib). However, such extensions may be
included if they are static over all possible systems and needed to invoke the
software (.jar,.sh) and a necessary component in invoking the software
from a specific context.

The idea behind not including executable extensions or library extensions is because those are often too platform-specific. But in case of things like jars, it's pretty static to we can just include it.

What if you have a python package but the setup.py is the executable that installs everything?

Good point, executableName should generally not point to any installer but to the executable after installation.

Or you have to run it through
"python cli.py" or similar? Would the executable be cli.py?

The executable would indeed be just cli.py (with extension) if that's how you run it. However, ideally python packages with CLI interfaces define entrypoints/console-scripts in their setup.py/pyproject.toml (see for example: https://github.com/proycon/foliatools/blob/master/setup.py#L35), these translate into tiny wrapper script in some /usr/bin/ directory that do an import and call a main function. In that case you'll just have something like cli (no extension) for executableName . Whilst I'm writing this I do suddenly wonder if Python does this differently (with an extension?) on non-unix systems like Windows.
This example ties in with another of your questions:

What is it exactly that you wish to do with this information?

I want to be able to translate these 'entrypoints' and incorporate them as part of the software metadata. I think they convey some valuable information, which is also useful to present to users. For example, that same software project I mentioned is (automatically) converted to codemeta and presented as follows: https://tools.dev.clariah.nl/foliatools   (ideally the individual tools would have descriptions but I haven't automated that yet, setuptools doesn't provide it either).

I had understood this property to be the executable command name. What is it exactly that you wish to do with this information?

Yes, the precise interpretation would differ a bit according to what the run-time context is, the name of the executable command is one of the most common interpretations for most interface types.

Also, for the library, that's the package name, not the name of anything executable, right?

Depends a bit on the run-time context.

At the moment executableName is a little overloaded in my opinion

This is indeed a fair point. Initially I was hoping to keep things simple by just introducing one new property and trying to keep it generic. But if keeping it generic causes too much ambiguity or confusion it might be worth explicitly splitting it.
Let me try work out how we could split it and see if we like that better:

executableName - The filename of the executable for this application. If there's an extension (e.g. exe) that differs across targeted platforms, the extension should be omitted. This covers only the base filename after installation, not a full path.
schema:executableLibraryName - Library file name e.g., mscorlib.dll, system.web.dll. If there's an extension component that differs across targeted platforms (e.g. dll, so, dylib), it should be omitted. This covers only the base filename after installation, not a full path.

This is an existing schema.org property (used on APIReference classes) which would fit our needs and we could just reuse I think. The description part in italics is the existing schema.org definition  (a bit windows-centric unfortunately), the part after that is my addition. In the normal unix world, executableLibraryName is something that can be dlopen()ed.

importableName - the name of a package/module as it is importable in a specific run-time context (via statement like import, use or include). This is used for libraries in languages like Python, Java, R, Perl. Use only the top-level name.
packageName - the name of a package as it can be installed by an (unspecified) package manager
containerName - the name of the container as it can be run by a container platform, preferably with explicit reference to a container registry (e.g. docker.io/proycon/frog:0.25). The container platform is not strictly defined.

Would that be better? I'm actually leaning that way too now, although it does result in more properties, it's more precise but also more flexible as we're not constrained to just a single property. I'm a bit in doubt about the last two (for SoftwarePackage and SoftwareImage) and about how specific we want to be there. I feel we need an additional packagingSystem and containerPlatform properties to make that useful.
In line with your earlier comment, we could even add a:

installerName - The name of an executable file that installs/builds this application (e.g setup.py)

@proycon it looks like we are working on similar things (https://software.oeg.fi.upm.es/ is the software catalog I am testing for our organization, built with https://github.com/oeg-upm/soca, and using https://github.com/SoftwareUnderstanding/inspect4py and somef)
I would prefer to have things simple at the moment as well. PackageName, containerName, etc. could be captured with name, already present in schema.org.  And maybe we can make the executableName more narrow and less overloaded with something like:
executableName: (domain: SoftwareApplication) name of the command or executable required to run the target software application within a certain run-time context.

And then we would leave out the part about the extensions, but we could add examples. For instance with .sh  and .jar, but explaining that .dll would not be executableName.
And then containers would not have that property (we can also explain that with an example).
In short: I propose to have only executableName, but simplifying the definition. What do you think?

it looks like we are working on similar things (https://software.oeg.fi.upm.es/ is the software catalog I am testing for our organization, built with https://github.com/oeg-upm/soca, and using https://github.com/SoftwareUnderstanding/inspect4py and somef)

Very interesting! I hadn't seen that yet. It indeed has some overlap with what we are doing at https://github.com/CLARIAH/tool-discovery (deployed at https://tools.dev.clariah.nl/), powered by https://github.com/proycon/codemeta-server,  https://github.com/proycon/codemeta-harvester, and especially https://github.com/proycon/codemetapy .
I'm keeping track of some related initiatives and collaboration possibilities in CLARIAH/clariah-plus#128 . Your project might be worth adding as well.
Back on the main topic:

I would prefer to have things simple at the moment as well. PackageName, containerName, etc. could be captured with name, already present in schema.org.

I interpret the schema:name on SoftwareApplication or one of the subtypes we define as a presentational and human readable name whereas the proposed packageName and containerName would be more identifier. In that sense, perhaps schema:identifier might even be appropriate already. In the spirit of keeping things simple, perhaps we should indeed wait with those extra properties and decide on this simpler case first. I don't have an immediate use-case for things beyond executableName yet either.
So I agree it's for the best not to conflate our executableName with too much and stick to a narrow definition you proposed.

executableName: (domain: SoftwareApplication) name of the command or executable required to run the target software application within a certain run-time context.

I'd rather keep the definition even narrower, it should basically be a filename of an executable file. If we use the word 'command' then it suggests people might also specify parameters etc, but that's out of scope I think. The main goal of executableName is simply to identify the particular targetProduct unambiguously. It doesn't  provide any further particular instructions on how to properly invoke it. I used the word "certain run-time context" before as we were being more generic, but now we are being more specific we can also lose that and just say:
executableName: (domain: SoftwareApplication) filename of the executable for the software application

And then we would leave out the part about the extensions, but we could add examples. For instance with .sh and .jar, but explaining that .dll would not be executableName.

I'm okay with keeping that out of the definition itself and in a note or examples somewhere yeah. I realize the existing schema.org definitions tend to be fairly broad and brief usually. An important note though is that I think 'executableName` should be a base filename, not a full path, not sure if we should add that to the definition.
I'll do a new PR for this shortly, and then afterwards we can see if we want to incorporate more.

I reviewed the PR and merged it, I think it looks good now :)
Btw, I was looking at some of the parsers in codemetapy and I would like to extend them and add them as part of somef, because it's an alternative way of extracting metadata we plan to support. But the license is incompatible with the one I have in my package (yours is copyleft, mine isn't). Any reason why you have copyleft licenses instead of mit/apache2? I would prefer avoid reimplementing these parsers if possible

Closing issue, as this seems resolved

Btw, I was looking at some of the parsers in codemetapy and I would like to extend them and add them as part of somef, because it's an alternative way of extracting metadata we plan to support. But the license is incompatible with the one I have in my package (yours is copyleft, mine isn't). Any reason why you have copyleft licenses instead of mit/apache2? I would prefer avoid reimplementing these parsers if possible.

Yes, I indeed always use GPL or even AGPL to ensure everything always remains free software (for ideological reasons) and can't be appropriated by any closed-source product. But I don't mind granting you explicit permission hereby to include any parts of codemetapy that I coded and will be coding (that'll be most of it at this stage, check git blame to be sure) under MIT or Apache2 in somef and associated projects. I agree that collaboration and avoiding reimplementation is best.

Awesome, thanks!


Adding Structured Bidning Support

Describe the feature in as much detail as possible.
Given the fact that the Json Library now implements items() function, utilising Structured Bindings in this scenario would make the code much more simpler, easier to read and understand
Even though Structured Bindings were added in C++17, the components/engines which ensure it exists are present in C++11 and C++14 and adding support would not require any #ifdef

Include sample usage where appropriate.
A Sample usage of Structured Binding is

   // example for an object
   for (auto& [key,value] : j_object.items())
   {
      std::cout << "key: " << key << ", value: " << value << '\n';
   }

Implementation
The reason I am writing it as an issue rather than as a pull request is because it makes one questionable change.
Most of the implementation is referenced from TartanLlama's Blog

In the Class iteration_proxy_internal we would have to add the function get for Structured Bindings Support.
Thanks for @theodelrieu 's recommendations which helped shorten the code

// Required for Structured Bindings support
template<std::size_t N, typename = typename std::enable_if<N >= 2>::type>
void get()const
{
   static_assert(false, "Has Max 2 Elements:- Key or Value");
}
template<std::size_t N, typename = typename  std::enable_if<N == 0>::type>
auto get() const -> decltype(key())
{
   return key();
}
template<std::size_t N, typename = typename std::enable_if<N == 1>::type>
auto get() const  -> decltype(value())
{
   return value();
}

This is not a major change and would cause no incompatibility.
Adding support for Structured Bindings however involves minor editing of the std namespace which may or may not be favoured by a few projects.
namespace std {
   template<std::size_t N>
   struct tuple_element<N, nlohmann::detail::iteration_proxy<nlohmann::json::iterator>::iteration_proxy_internal> {
      using type = decltype(std::declval<nlohmann::detail::iteration_proxy<nlohmann::json::iterator>::iteration_proxy_internal>().get<N>());
   };

   template<>
   struct tuple_size<nlohmann::detail::iteration_proxy<nlohmann::json::iterator>::iteration_proxy_internal>
      : std::integral_constant<std::size_t, 2> {};
}

This is where we face an issue.
In both these methods, iteration_proxy_internal needs to be accessible.
However, as we know, iterator_proxy_internal is defined as a private method in the iterator_proxy class.
Hence in order to add support for Structured Bindings, we would have to either make it public, find a hack or use something similar to friend
This is also the reason I decided to submit it as an issue rather than make a pull request.
I apologise for any and all mistakes committed by me while writing this.
I am quite new to GitHub and this is one of my first feature requests on a project
EDIT: Thanks to @theodelrieu for making recommendations which helped shorten the code

I agree this would be nice to have, you should consider opening a PR :)
A few remarks:
I do not see why a new namespace is needed.
About the access level, there is no need to change it, get can be added as a non-member friend template function.

No the issue is not with get.
The issue is with tuple_element's template parameter requiring iteration_proxy_internal which itself is private.
I had a feeling there might have been some reason why it was kept private and hence wanted to discuss and confirm the same.
Which was one of the major reasons why I wanted to communicate with the community involved in the project before sending the PR.
Thank you so much for pointing out that the namespaces were unnecessary.
I was utilising it as I think at one point I was using something similar to get<0> and get<1> which can be added within a class using MSVC but fails when using GCC (go figure :-P)
Later I wised up and decided to use enable_if
If it's okay with you @theodelrieu I am going to edit the main comment to recognise the code that does not anymore require the namespaces and put the get within the class.

The issue is with tuple_element's template parameter requiring iteration_proxy_internal which itself is private.

items return a iteration_proxy<iterator>, so I do not think iteration_proxy_internal has to be exposed at all, you can just implement all the required methods with iteration_proxy<iterator> instead.
I'm just guessing right now, did not play with structured bindings yet. But I think this should not be as hard to implement

I agree that having private in this case is not very useful, the class is already a member of detail.
Plus, the API is exposed, only the name is not, which can always be retrieved via decltype().
I'm for the removal of private, the structured bindings support is an implementation detail as well, so I do not see the need to hide stuff.

As this stands, especially with the lack of requirement to drop Private, would this be good enough to make a PR Request??

Yup, I think we're good to go :)

@theodelrieu I seem to be facing some issue
struct tuple_element<N, nlohmann::detail::iteration_proxynlohmann::json::iterator::iteration_proxy_internal>
See when I am modifying the Multiple Include files, I decided to place the get functions where they should have been in iterators/iteration_proxy.hpp
However, the std function have a further requirement of needing the parameter nlohmann::json::iterator
So should I forward declare it or add it within json.hpp( I think that's comparatively a more nicer solution)??
Or is there some template magic you know?

You could forward declare it, or simply partially specialize:
namespace std {
template <typename T, std::size_t N>
struct tuple_element<N, nlohmann::detail::iteration_proxy<T>>{ /* ... */ };
}

No that was the first thing I tried.
That didn't work.
Templates are so powerful and yet so weird at the same time.


Styling Example

I'm confused about how to use CSS styling with Admonition. I note Attribute Lists and CodeHilite also rely on CSS styling to be effective, and there are minimal notes with CodeHilite. I think a simple example would be worthwhile.
Specifically, with Admonition, how can I:

Render the HTML to display admonition type (eg note when there is a title)? The default output is fairly meaningless without the admonition type and much less meaningful than the markdown.
Use the CSS when Using Python-Markdown on the Command Line?

This CSS from https://github.com/mkdocs/mkdocs/blob/master/mkdocs/themes/mkdocs/css/base.css is much more complicated than needed for a simple example but it still doesn't render the admonition type.
stylesheet.css
.admonition {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: left;
}

.admonition.note { /* csslint allow: adjoining-classes */
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.admonition-title {
    font-weight: bold;
    text-align: left;
}

In my projects I have simply copied the CSS from a Sphinx theme I liked. In fact, the Python-Markdown documentation uses a MKDocs theme in which all of the CSS/images/JS is from a Sphinx theme. I try to avoid working with CSS as I am not very good at it. And providing CSS is out-of-scope for a Markdown parser.

I don't want to write CSS either and the process you explained is a reasonable way of managing it. When Using Python-Markdown on the Command Line how do you get it to use that CSS given the HTML is generated?

Admonitions are parsed very differently to other elements. John Gruber’s Markdown implementation parses documents to display in a browser but I suppose the rST-style is to display via another processor. The result is the admonition type is very clear in the markdown but completely hidden in the browser after it is parsed and needs to be processed by something else to be displayed.
I probably should have been implemented with <admonition-type> like:

<admonition-type>Note: </admonition-type>optional explicit title within double quotes

Any number of other indented markdown elements.

This is the second paragraph.

Admittedly, that still wouldn't separate paragraphs from other blocks like say blockquotes.

When Using Python-Markdown on the Command Line how do you get it to use that CSS given the HTML is generated?

Python-Markdown only every generates a HTML fragment (the part which goes within the  tag of a fill HTML document. Everything else is the responsibility of the user to provide, including anything in the  of the document, CSS and/or JavaScript. From the command line, you might pipe the output to a template, write a shell script or something else.
Of course, Python-Markdown is a Python library first. The command line script is only provided as a convenience and not the primary use-case. Either way, if you are looking for a full-featured solution, then I would suggest looking at a static site generator. You previously linked to MkDocs, which is one such tool which happens to use Python-Markdown.

As @waylan said, you'd have to provide a template containing necessary HTML headers and such. You would inject your HTML fragment into that template.
'''

{}

'''.format(my_html_fragment)

@facelessuser that's a nice example which would fit well in https://python-markdown.github.io/extensions/code_hilite/#step-2-add-css-classes with output to really demonstrate how it works.

Back to the specific admonition example which I'm strugling with. Seems all that head/body stuff is a nicety but I haven't figured out the css yet. I'm trying to get the admonition type on the same line as the admonition-title and the blue/bold/italic css to actually apply to the whole thing.

<link rel="stylesheet" href="test.css">

this is the title

This is a description.

A normal sentence.

test.css
.admonition {
  color: grey;
  background-color: lightblue;
  padding: 10px;
}

admonition-title {
  color: blue;
  font-style: italic;
}

/* Add various admonition types */

.admonition.note::before {
  font-weight: bold;
  content: "Note: ";
}


Fatal error when starting

Whenever I start the Demo project I get this fatal error:

############################################################################################
ERROR in
action number 1
of Other Event: Game Start
for object world:
Error defining an external function.
at gml_Script_Console_Init (line 8) -               global._gmu_console_function_init=external_define(dll,"Init",call,ty_real,0);
############################################################################################
gml_Script_Console_Init (line 8)
gml_Object_world_Other_2 (line 3) - Console_Init();
and I believe it might be todo with a missing thing known as gmu_console. Where could I find that (if I am correct) and how would I go about installing it?

Also, all the documentation is down

The example project is written in GMS 2.2 and haven't been fixed since then. Previous updates of GMS 2.3 have broken several things of this old project. You might need to apply the fixes of the master branch to the example project manually.
And this console external function failure isn't fixed in the master branch, you can goto the script Console_Custom and change the first macro definition with the name of GMU_CONSOLE_ENABLED and change that to false.

#117 fixed this

GameMaker's 64-bit runner no-longer supports 32-bit DLLs.
And latest GameMaker has the console built-in.
We are going to remove the old console plugin from the project.

#126 fixed this.


Docker :latest tag out of date

Docker's :latest is 2 years old rather than v0.11.0

The latest is updated automatically from master now :+1:


Couldn't load plugin 'canflood' due to an error when calling its classFactory() method

QGIS version: 3.16.14-Hannover Hannover,<PHONE_NUMBER>
OS version: Windows 10, 20H2
This message came right after CanFlood installation. I am not sure which version of CanFlood was installed as I just searched the plugin from the QGIS repository according to the Installation Instructions.

Did you have a previous version installed? Did you try restarting QGIS?
What version of CanFlood did you try and install (the repository page
should say this)?
On Thu, Mar 17, 2022 at 5:39 PM TC-999 @.***> wrote:

QGIS version: 3.16.14-Hannover Hannover,<PHONE_NUMBER>
OS version: Windows 10, 20H2
This message came right after CanFlood installation. I am not sure which
version of CanFlood was installed as I just searched the plugin from the
QGIS repository according to the Installation Instructions.
[image: image]
https://user-images.githubusercontent.com/101820349/158848981-b8e39f4d-2876-4d5d-bd8e-170d5f6fd807.png
—
Reply to this email directly, view it on GitHub
https://github.com/NRCan/CanFlood/issues/32, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHJCQSSH36N7PAC477RSEDVANN33ANCNFSM5Q7MBI3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi,
Just checked the repository and the version of CanFlood is 1.1.0https://plugins.qgis.org/plugins/canflood/version/1.1.0/ updated at Thu Dec 16. Those 3 CanFlood buttons don’t show up after restarting QGIS.
From: cefect @.>
Sent: March 17, 2022 12:15 PM
To: NRCan/CanFlood @.>
Cc: Tong Cao @.>; Author @.>
Subject: Re: [NRCan/CanFlood] Couldn't load plugin 'canflood' due to an error when calling its classFactory() method (Issue #32)
Did you have a previous version installed? Did you try restarting QGIS?
What version of CanFlood did you try and install (the repository page
should say this)?
On Thu, Mar 17, 2022 at 5:39 PM TC-999<EMAIL_ADDRESS>wrote:

QGIS version: 3.16.14-Hannover Hannover,<PHONE_NUMBER>
OS version: Windows 10, 20H2
This message came right after CanFlood installation. I am not sure which
version of CanFlood was installed as I just searched the plugin from the
QGIS repository according to the Installation Instructions.
[image: image]
https://user-images.githubusercontent.com/101820349/158848981-b8e39f4d-2876-4d5d-bd8e-170d5f6fd807.png
—
Reply to this email directly, view it on GitHub
https://github.com/NRCan/CanFlood/issues/32, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHJCQSSH36N7PAC477RSEDVANN33ANCNFSM5Q7MBI3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID<EMAIL_ADDRESS>
—
Reply to this email directly, view it on GitHubhttps://github.com/NRCan/CanFlood/issues/32#issuecomment-1071237303, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYI2PPMXLBB757NKAJJNQD3VAOABPANCNFSM5Q7MBI3Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>You may unsubscribe from Associated's electronic @.***?subject=Unsubscribe+from+AE+-+CASL> at any time.

Try uninstalling, restarting , then reinstalling.
If you’re still getting the same error, please send the screen shot of your
QGIS install info page (under help menu).
On Thu, Mar 17, 2022 at 8:37 PM TC-999 @.***> wrote:

Hi,
Just checked the repository and the version of CanFlood is 1.1.0<
https://plugins.qgis.org/plugins/canflood/version/1.1.0/> updated at Thu
Dec 16. Those 3 CanFlood buttons don’t show up after restarting QGIS.
From: cefect @.>
Sent: March 17, 2022 12:15 PM
To: NRCan/CanFlood @.>
Cc: Tong Cao @.>; Author @.>
Subject: Re: [NRCan/CanFlood] Couldn't load plugin 'canflood' due to an
error when calling its classFactory() method (Issue #32)
Did you have a previous version installed? Did you try restarting QGIS?
What version of CanFlood did you try and install (the repository page
should say this)?
On Thu, Mar 17, 2022 at 5:39 PM TC-999<EMAIL_ADDRESS>wrote:

QGIS version: 3.16.14-Hannover Hannover,<PHONE_NUMBER>
OS version: Windows 10, 20H2
This message came right after CanFlood installation. I am not sure which
version of CanFlood was installed as I just searched the plugin from the
QGIS repository according to the Installation Instructions.
[image: image]
<
https://user-images.githubusercontent.com/101820349/158848981-b8e39f4d-2876-4d5d-bd8e-170d5f6fd807.png>

—
Reply to this email directly, view it on GitHub
https://github.com/NRCan/CanFlood/issues/32, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ALHJCQSSH36N7PAC477RSEDVANN33ANCNFSM5Q7MBI3Q>

.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>

or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

You are receiving this because you are subscribed to this thread.Message
ID<EMAIL_ADDRESS>
—
Reply to this email directly, view it on GitHub<
https://github.com/NRCan/CanFlood/issues/32#issuecomment-1071237303>, or
unsubscribe<
https://github.com/notifications/unsubscribe-auth/AYI2PPMXLBB757NKAJJNQD3VAOABPANCNFSM5Q7MBI3Q>.
Triage notifications on the go with GitHub Mobile for iOS<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
<EMAIL_ADDRESS>You may unsubscribe from Associated's electronic
@.***?subject=Unsubscribe+from+AE+-+CASL> at any time.
—
Reply to this email directly, view it on GitHub
https://github.com/NRCan/CanFlood/issues/32#issuecomment-1071274832, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHJCQRSDD6JFFPLRLGZ3ADVAOCZFANCNFSM5Q7MBI3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

I actually have already installed 3.18.2 before 3.16.14 (which is the one tested based on the installation instructions). Both versions ended up with the same errors.
While I installed 3.16.14, 3.18.2 was not deleted from my computer so would you recommend me to uninstall both and only try 3.16.14 again?

Having multiple QGIS installs shouldn’t be a problem.
You have the wrong QT version. Make sure you’re installing QGIS from the
correct binaries.
See
https://github.com/NRCan/CanFlood/issues/27
On Thu, Mar 17, 2022 at 9:20 PM TC-999 @.***> wrote:

I actually have already installed 3.18.2 before 3.16.14 (which is the one
tested based on the installation instructions). Both versions ended up with
the same errors.
While I installed 3.16.14, 3.18.2 was not deleted from my computer so
would you recommend me to uninstall both and only try 3.16.14 again?
[image: image]
https://user-images.githubusercontent.com/101820349/158888548-081fc5ac-8d0b-4244-80a4-aa806cc95cb4.png
[image: image]
https://user-images.githubusercontent.com/101820349/158888560-b30150b7-79c3-4c5b-bdd3-457fdd2bfd82.png
—
Reply to this email directly, view it on GitHub
https://github.com/NRCan/CanFlood/issues/32#issuecomment-1071367280, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHJCQVQTASM7OM5NPSFK63VAOHZDANCNFSM5Q7MBI3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Hi,
I am currently learning CanFlood based on hazard rasters from a project and I may have to generate inventory data myself in a specific area in BC.
According to the manual it seems we can create data template via inventory constructor or use some reference from NPRI/GAR15.
Is there a website for us to directly download data to make this easier?
Thanks,
Tong
Tong Cao, P.Eng.
Water Resource Engineer
Associated Engineering (B.C.) Ltd.
#500 - 2889 East 12th Avenue, Vancouver, BC   V5M 4T5
Tel:<PHONE_NUMBER> | Dir:<PHONE_NUMBER>
@.***https://www.ae.ca/
You may unsubscribe from Associated's electronic @.***?subject=Unsubscribe+from+AE+-+CASL> at any time.

I believe your issue is related to incompatible installations of QGIS, which they fixed a few months ago. The latest version of CanFlood should be run with QGIS 3.22.8 (described on the project page), which should avoid the issue you mention. Please advise if you're still having issues after installing on 3.22.8 (you shouldn't need to uninstall old QGIS versions).


Make tests::netsim::rendezvous_connect_over_poor_connection pass reliably

This test can sometimes fail. This needs to be investigated.

This seems to be due to: https://github.com/canndrew/tokio-utp/issues/12


update containerd install to 1.4.4

In future let's pull all the change of list from the new version and paste it here in the PR description.


Fix DevMovementMode Jump Bug

When DevComputerMovementMode is changed isJumping is not reset. isJumping should be set to false when a module is reset, like what is done with the movement vector.

This bug was reported here :
http://developer.roblox.com/forum/client-bug-reports/16861-devmovementmode-jump-bug

can you recommit with just the jump bug fix?


[xcb] Unknown request in queue while dequeuing [xcb]

Tested versions
Godot Engine v4.2.2.stable.arch_linux
System information
Godot v4.2.2.stable unknown - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Fri, 19 Apr 2024 09:51:33 +0000 - Wayland - Vulkan (Forward+) - integrated Intel(R) Xe Graphics (TGL GT2) () - 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 Threads)
Issue description
[xcb] Unknown request in queue while dequeuing
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
godot: xcb_io.c:175: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Steps to reproduce
Crashing at random times when doing anything. Also happens in the projects I run as game.
Minimal reproduction project (MRP)
N/A

Yeah it's a variant of the issue tracked in #75308 and https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/199 upstream.
Consolidating in #75308.


Added persistence to localStorage

In 87 bytes, all cell-data is being saved in localStorage with the s key (of sheet).

This is unlikely to work, since data URLs have to access to localStorage or any other ways of persistence. Would work for HTML variant, though.

Thanks for sharing.


Scripts extended

Not needed, if people are setting it over a vps they may choose their own process manager, pm2, screen, systemd, etc.

Not needed, if people are setting it over a vps they may choose their own process manager, pm2, screen, systemd, etc.

Then they still have to rewrite it, and if I could finish writing, that would be practical too!

Those are barely any changes 🤠 it's fine, thanks for your consideration, regarding your issue if you manage to translate it through i18n feel free to make a PR I'll happily merge it :D


libtriage error at every script run

Everytime I am calling binaryninja from scripts, I get the following annoyance:
Plugin module '/Users/REDACTED/Applications/Binary Ninja.app/Contents/Resources/python/binaryninja/../../../MacOS/plugins/libtriage.dylib' failed to load
dlerror() reports: dlopen(/Users/REDACTED/Applications/Binary Ninja.app/Contents/Resources/python/binaryninja/../../../MacOS/plugins/libtriage.dylib, 5): Library not loaded: @rpath/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /Users/REDACTED/Applications/Binary Ninja.app/Contents/MacOS/plugins/libtriage.dylib
  Reason: image not found

Indeed, libtriage.dylib is looking for Qt libraries at the wrong place and, while it breaks the code signature, the following command fix the problem until next update:
install_name_tool -add_rpath @loader_path/../../Frameworks "/Users/REDACTED/Applications/Binary Ninja.app/Contents/MacOS/plugins/libtriage.dylib"

Duplicate of #1556


Ultra-lightweight DOM implementation for server rendering

While domino is a comprehensive solution to running DOM in Node.js, Simulacra.js uses only a subset of the DOM API. Essentially all it needs to do is build a string and support only the DOM API that Simulacra.js uses.
Strawman:
const simulacra = require('simulacra')

// DOM subset used by Simulacra.js
const DOM = require('simulacra/dom')

const bindObject = (data, binding, node) =>
  simulacra.call(DOM, data, binding, node)

Or maybe even better:
// Use built-in DOM implementation.
// Return value is a string instead of DOM Node.
const renderHTML = require('simulacra/render')

const output = renderHTML(data, binding, templateString)

Actually this is worth looking into, since building the documentation page for this project takes about 30 ms, it could be much faster.

Nevermind, it seems that the bottleneck for building the docs was just parsing the whole HTML output from the Readme file, which could probably be done more efficiently anyways. Without that part, it was reasonably fast, ~10ms.

Could still be faster.

Done https://github.com/daliwali/simulacra/commit/9d980b6ad76fb01b938f0b7a5a7042952837cdec


Libraries don't have soname

If I link to the math libraries with full path, the full path is baked into the executable/dynamic library.
ldd hello.so
        linux-vdso.so.1 (0x00007fffe25de000)
        /home/isuru/miniconda3/envs/test/x86_64-conda-linux-gnu/sysroot/lib/libm.so.6 (0x00007fbbc8391000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbbc8008000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbbc7c17000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fbbc8817000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbbc79ff000)

Setting the soname using patchelf doesn't work.
$ patchelf --set-soname libm.so.6 ~/miniconda3/envs/test/x86_64-conda-linux-gnu/sysroot/lib/libm.so.6
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked

Did you look at the 2.17 CDT or just 2.12?

patchelf relocation was messing with the binary and removing it fixed the issue.


API support for power connections

Issue type
[X ] Feature request
[ ] Bug report
[ ] Documentation

Environment

NetBox version:  2.2.6

Description
We noticed that the API in 2.2 is missing write functions for power connections,
is this on purpose?
Is somebody already working on this, or is a merge request at a later point appreciated?
Thanks,
Tom

@sirtux What are you trying to do? What is the request being made to the API?

I want to connect a power port to a power outlet via API,
and I don't see a /api/dcim/power-connections POST support, only GET. If I try a post I get afair a 405 error.
I'd like to see the same featureset as a post on /api/dcim/interface-connections.

Ah. Interface connections are modeled differently than console and power connections due to their bidirectional nature: There's a discreteInterfaceConnection model which represents a connection between two interfaces. Console and power connections, however, use the ConsolePort and PowerPort models to define connections.
What you want is the /api/dcim/power-ports/<id>/ endpoint. A PATCH request to this endpoint lets you define a connected power_outlet:
$ curl -X PATCH -H "Authorization: Token <token>" -H "Content-Type:application/json" -H "Accept: application/json; indent=4" http://localhost:8000/api/dcim/power-ports/2891/ --data '{"power_outlet": 44569}'
{
    "id": 2891,
    "device": 1599,
    "name": "PSU0",
    "power_outlet": 44569,
    "connection_status": true
}


MacOS Top Web Bar is Empty

When I set withWebBar to true I can see the web bar on the top of the screen but the path is empty at start.
If I navigate to a screen then go back it appears.
Also, there is no way to deactivate debugBanner inside it.
I have this issues on a MacBook Pro M1, never tested on other desktop platforms such as Windows or Linux.

I forget to set the controller text at the start. I fixed this and will be out in the next version.
Thanks for noticing.


Determine if there is value in native enums.

No current support for int only types or consts. Gauge the value this would bring us and if value exists, propose draft.

Without a type checker perhaps a lot of the usual value of enums is lost. Perhaps that means that the enum would be something akin validated string. So if you set state = Eixt' instead of state = Exit' it throws an error. (preferably at compile, but that would need a way to know you weren't just using a global identifier)

Allowing a new enum type in the value object would get us neatly to supporting 4billion enums each with 4 billion values.
Need enum opcodes to define a new enum and define a new value in that enum.

At runtime, that mean each enum is an object with a field that is an enum value of itself. So that var x = MyEnum.SomeEnum; does not require anything more than the existing objects and dot operator from the vm.
A single variable length opcode would be required.

This would need to mesh nicely with match


Installation problem

Dear sinergym,
I followed the installation steps and downloaded the docker container. I cloned the repository and work in VS code now on a mac. I am getting the following error when trying the examples that were given:

In the the plus_env.py file I set the path to my EnergyPlus and bcvtb as follows:

Apparently I am doing something wrong here. I downloaded the version 22-1-0 of EnergyPlus for mac. The 9-5-0 download for linux download was not working on my mac. I did not get an folder like the newer version. May that be the problem?
I hope you can help me with this problem!
Best,
Michiel

Hi @MichielKempkens !
Are you sure you are using the downloaded container? If you are using it, Energyplus version 9.5.0 should already be installed, with an Ubuntu 22 OS.
If you are using the container, you should see "dev container" next to the project as in the attached image.

At the same time, you should get the following in the vscode terminal without the need to install anything once you enter the container:

If you are inside the container, you should not change the value of EPLUS_PATH, as it points to the folder where the simulation engine is installed inside the container.
I hope this helps.
Regards, Alejandro.

You have the next note in installation documentation if you are using vscode project:

The documentation cited in the note is here.

Dear Alejandro,
Thank you for your response, I was indeed using the container in a wrong way. I can run the example files now. Thanks!
Best,
Michiel

Great @MichielKempkens! Glad you found it helpful, I'll close this issue then :)

Hi i have encountered same issue, but i didn't install with docker, i installed it manually, may i know if this is because i haven't installed energy plus?


pyplot.stairs()?

Would be useful to plot Julia histograms!
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.stairs.html#matplotlib.pyplot.stairs

Note that you can already access this by plt.stairs


The dependency graph could not be satisfied

The package.swift include:
import PackageDescription

let package = Package(
    name: "server",
    dependencies: [
        .Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 0, minor: 19),
        .Package(url: "https://github.com/OpenKitten/MongoKitten.git", majorVersion: 1, minor: 1),
        .Package(url: "https://github.com/IBM-Swift/Kitura-redis.git", majorVersion: 0, minor: 18),
    ]
)

i build it with swift build command, then get an error:
error: The dependency graph could not be satisfied (https://github.com/IBM-Swift/Kitura-sys.git)

how can i resolve?

Please use
.Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 0, minor: 18)
instead.

Thanks! @ianpartridge


View an existing quota - does not work?

There is no such thing on the portal like More Services > Resource Providers?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 07fe657c-7fa9-242b-1f30-1dc45f9ad310
Version Independent ID: 016658ab-fcf7-8739-cf7b-3f268ef5a34d
Content: Quota types in Azure Stack
Content Source: articles/azure-stack/azure-stack-quota-types.md
Service: azure-stack
GitHub Login: @Brenduns
Microsoft Alias: brenduns

#in-progress

@georgel-ms   Thanks for this feedback. We are investigating this and will update you soon.

@georgel-ms     I've submitted an update for the article to modify the first two steps.  This update should be live later this evening.  The revised steps (1 and 2) follow:

On the default dashboard of the Admin portal, find the Resource providers tile.
Select the service with the quota that you want to view, like Compute or Storage.

Thanks again for bringing this inaccuracy to our attention!

#please-close
The fix for this issuse is in processing for publication.

@georgel-ms We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Event Request - table 77 Report Selections

Can we have an event in table 77 report selections
in procedure GetAccountNoFilterForCustomReportLayout
//code:
CustomReportSelection.SetRange("Source Type", TableNo);
CustomReportSelection.SetRange(Usage, TempReportSelections.Usage);
CustomReportSelection.SetRange("Report ID", TempReportSelections."Report ID");
CFLOnAfterSetCustomReportSelectionFilters(var CustomReportSelection,TempReportSelections) //event to add
ReportInvolvedInCustomSelection := not CustomReportSelection.IsEmpty();
because now there is an issue if you have custom report selections for a customer, where you do not use the "Custom Report Layout Code", but only for ex. the "Send To Email" field
we would need to set the filter
CustomReportSelection.setfilter("Custom Report Layout Code" '<>%1','')
because when you have for ex. 1 customer with email field filled in for ex. the invoice but no custom layout code
then then ReportInvolvedinCustomSelection becomes true, but in fact there is no custom report layout
when you multiselect invoices to print, then not all are printed because of that
althoug there is no reason to, because there are no different layouts.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10881.


Implement rounded rectangles as canvas drawing code

Closes #123
This PR implements rounded rectangles as draw code, and eliminates several shields that were previously drawn as raster (from NL, Slovakia, Austria).  This simplifies future shields that are just numbers/letters on a solid background, and reduces the size of the sprite sheet.  In addition, the rounded rectangles will size to fit rather than be reliant on a set of fixed size shield blanks.

There were few things. Some of the text was too small compared to other shields so I increased the calculated width. Also the height was smaller than 40px(20px), because line extends the object only by 1/2 of its thickness.
(before-after)

Shields in some countries have extended padding on right left so I added fixed-width option for the shield (maybe it should rather have been custom min-width).
(befire-after)

And I also added option for custom outline width.

Thanks!  I'm going to test this is a few other spots in the US to make sure it still works before merging.
Regarding the custom thicknesses, we should probably have a separate style discussion to decide if we actually want variability in outer stroke width.  For example, do we want thicker borders on CT shields and thinner ones on RI/MA that promotes more realism, or do we want a simpler style choice that promotes stylistic consistency?  This is a separate question from this PR but one we should address.

do we want thicker borders on CT shields

Yesss!! It's essential! 😂
here is how it looks in Apple maps

Well, Apple Maps has the luxury of designing for garaunteed high pixel density displays, whereas we still need to support 1x.  They can get away with much fiber details.

Yeah, it needs to be tested.

I've looked at Apple maps (via DuckDuckGo) on a 1x display and the thicker borders look fine.  They custom design the 2x and 1x versions separately though.  The 2x versions include extra detail that is missing from the 1x versions.  Not sure we'd want to take on that doubling of effort.  I think we can certainly make thick and thin borders work at 1x, it's more of a design decision.  i.e. do we want to lean closer toward the real world sign designs like Apple Maps does, or more towards simplified, representational designs like Google Maps and MapBox Streets does.  I'm in favor representational simplicity, but I can get behind a more real world approach if that's what the community is more excited about.

I don’t know the full history behind the Connecticut shield, but the black part of it seems to me like an extra bit of background to contrast the signs from ordinary regulatory signs. A proper border would be inset from the sign edge according to the MUTCD, and modern guide signs don’t feature the black border. We’ve been omitting the black background from shields for simplicity.

That said, some countries do distinguish route signs by their borders, so the ability to make this distinction would be beneficial. For example, Finland distinguishes link roads by making the border dashed:

No idea either. I definitely saw the thick background on a standalone route signs, not sure about those big information boards.
Found this document about signs. (pg. 72, 80, 82, 88)
https://portal.ct.gov/-/media/DOT/documents/dtrafficdesign/SignCatalogpdf.pdf


PreTag: [System - barreleye  Build -<PHONE_NUMBER>5319 ] Disable Syslog

@gkeishin commented on Mon Jun 13 2016
While Running the test code .. we found that our test looks for the REST Object /org/openbmc/LogManager/rsyslog/action/Disable     Which it doesn't find it..
Please let us know if this is expected or if the object path we are using in the test needs to be changed or updated..
Logs and some inputs for your reference
Disable Syslog
[Documentation]     GOOD PATH
...                 This testcase is to verify disabling syslog.\n
${resp} =    Disable Syslog Setting    ${EMPTY}
Should Be Equal    ${resp}    ok          <---- Failed

${ret} = RequestsLibrary.RequestsKeywords . Post Request openbmc, ${base_uri}, &{kwargs}
Documentation:
Send a POST request on the session object found using the
Start / End / Elapsed: 	20160613 12:34:04.695 / 20160613 12:34:04.778 / 00:00:00.083
12:34:04.777 	INFO 	Post Request using : alias=openbmc, uri=/org/openbmc/LogManager/rsyslog/action/Disable, data={"data": [""]},                     headers={u'Content-Type': u'application/json'}, files=None, allow_redirects=True
12:34:04.778 	INFO 	${ret} = <Response [404]>
root@barreleye:~# cat /etc/version
20160610155319
}rango@ubuntu:~/TOOLS_OPENBMC/tools/obmc_dvt$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET https://<IP_ADDRESS>//org/openbmc/
{
"data": [
"/org/openbmc/control",
"/org/openbmc/managers",
"/org/openbmc/HostServices",
"/org/openbmc/settings",
"/org/openbmc/UserManager",
"/org/openbmc/buttons",
"/org/openbmc/records",
"/org/openbmc/inventory",
"/org/openbmc/watchdog",
"/org/openbmc/sensors",
"/org/openbmc/HostIpmi"
],
"message": "200 OK",
"status": "ok"

@rahulmah commented on Tue Jun 14 2016
@hramasub : Syslog related test are failing. Seem like syslog server code is still not in the build. Please confirm.
Response code:404, Content:{
"data": {
"description": "org.openbmc.objectmapper.Error.NotFound: path or object not found: /org/openbmc/LogManager/rsyslog"
},
"message": "404 Not Found",
"status": "error"

This is persistent in later driver as well, i think time to move to open openbmc issue space
Start / End / Elapsed: 	20160824 15:09:31.491 / 20160824 15:09:31.492 / 00:00:00.001
15:09:31.491 	INFO 	To JSON using : content={
"data": {
"description": "org.openbmc.ObjectMapper.Error.NotFound: path or object not found: /org/openbmc/LogManager/rsyslog"
},
"message": "404 Not Found",
"status": "error"
}
15:09:31.491 	INFO 	To JSON using : pretty_print=False
15:09:31.492 	INFO 	${jsondata} = {u'message': u'404 Not Found', u'data': {u'description': u'org.openbmc.ObjectMapper.Error.NotFound: path or object not found: /org/openbmc/LogManager/rsyslog'}, u'status': u'error'}
15:09:31.492 	INFO 	${resp} = error

Ah looks like, the POST method to disable rsyslog didnt succeed
Post Request openbmc, ${base_uri}, &{kwargs}
Start / End / Elapsed: 	20160824 15:09:31.436 / 20160824 15:09:31.487 / 00:00:00.051
15:09:31.486 	INFO 	Post Request using : alias=openbmc, uri=/org/openbmc/LogManager/rsyslog/action/Disable, data={"data": [""]},                     headers={u'Content-Type': u'application/json'}, files=None, allow_redirects=True
15:09:31.486 	INFO 	${ret} = <Response [404]>
Response 404 means object not found.. so either this is not Valid way to do it or wrong with the post method.

The syslog is now moved to extended use case
https://github.com/openbmc/openbmc-test-automation/issues/101
Closing this ,,


script to subscribe all first members. Auto subscribe new members to group.expense.created

deployed and executed the script


On Windows, set focus to the message box when switching back to Mattermost Desktop app

When Mattermost isn't the active window, and i switch back, then the chatbox should be focused. Appears on Win7

Thanks again for the report @MetalCar,
Wanted to circle back here -- would you be able to let us know if the following behaviour happens for you?

In Mattermost desktop app v1.3, set focus to the message box
Switch to another app
Switch back to Mattermost

Observed: Focus is set to the message box

Reproduces for me.
But I think @MetalCar want's it to always switch to the input box. Slack is interesting in that regard, they seem to do something like this in their platform code. As you can click and select previous posts and your caret will be gone from the input box. But as soon as you start typing it's catched by the inputbox. Feels pretty smooth. But probably a platform improvement.

Thanks for confirming @Razzeee!
If the user has a modal open (say a channel switcher or account settings), switches to another app, then back to Mattermost, moving focus to the input box may not be desired. So I'm not sure we want to implement the proposal at this time.

As you can click and select previous posts and your caret will be gone from the input box. But as soon as you start typing it's catched by the inputbox. Feels pretty smooth. But probably a platform improvement.

That's a good suggestion, but would indeed be a platform improvement. @MetalCar and @Razzeee , if that's something you'd like to see, I encourage you to submit a feature request in our Feature Idea forum post, where it can be discussed, upvoted and considered by the platform team.
Closing this particular issue for now, given the reason above.

This might already be asked for https://mattermost.uservoice.com/forums/306457-general/suggestions/13248267-auto-focus-cursor-to-input-box-on-typing-or-window


WebUI: configuration editor

We are adding a configuration editor to the web interface, with syntax highlighting and validity checking.

I made some changes to your version. Thanks!


Support for Dynatrace Managed in 0.2

Make sure to update the Jenkins pipelines (deploy, evaluation_done, run_test) when checking the DT_TENANT_URL.


Isoline is broken

Isoline seems to be broken in the current build of vcdat/vcs-js/vcs.
Here is a stack trace when trying to plot any clt.nc variable as an isoline.

"Traceback (most recent call last):
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/wslink/websocket.py", line 274, in onMessage
    results = func(obj, *args, **kwargs)
  File "build/bdist.macosx-10.9-x86_64/egg/vcs_server/Visualizer.py", line 56, in plot
    plot.loadVariable(all_vars)
  File "build/bdist.macosx-10.9-x86_64/egg/vcs_server/VcsPlot.py", line 114, in loadVariable
    self._plot.variables = var
  File "build/bdist.macosx-10.9-x86_64/egg/vcs_server/PlotManager.py", line 43, in set_vars
    self.plot()
  File "build/bdist.macosx-10.9-x86_64/egg/vcs_server/PlotManager.py", line 95, in plot
    self.dp = self.canvas.plot(*args, ratio="autot")
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/vcs/Canvas.py", line 2775, in plot
    a = self.__plot(arglist, keyargs)
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/vcs/Canvas.py", line 4119, in __plot
    returned_kargs = self.backend.plot(*arglist, **keyargs)
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/vcs/VTKPlots.py", line 682, in plot
    vtk_backend_grid, vtk_backend_geo, **kargs))
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/vcs/vcsvtk/pipeline2d.py", line 309, in plot
    self._updateContourLevelsAndColors()
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/vcs/vcsvtk/isolinepipeline.py", line 29, in _updateContourLevelsAndColors
    if numpy.allclose(self._contourLevels[0], [0., 1.e20]) or \
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/numpy/core/numeric.py", line 2459, in allclose
    res = all(isclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan))
  File "/Users/crean2/anaconda2/envs/nightly/lib/python2.7/site-packages/numpy/core/numeric.py", line 2538, in isclose
    xfin = isfinite(x)
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
"

ok I can reproduce this in vcdat, but with the same env I can plot clt/isoline from the command line
import cdms2
import vcs
f = cdms2.open(vcs.sample_data+"/clt.nc")
s=f("clt")
gm = vcs.createisoline()
x=vcs.init()
x.plot(s,gm)
x.png("iso")

Scott tracked this down in vcs.js, I think he'll have a fix soon.

just test ed on mac, works again.

If you're using the current vcs-js master, this should be working.

Fixed for me as well. Thanks Scott!


Issue 121 - pristine machine: squelch error dialog

Don't complain if there's an error trying to stop minikube if it couldn't be started

Let me make sure they would have seen one error message already.

@ericpromislow minikube is used internally.  And it's bundled in the build of rd. Error stopping minikube is from our internal use of it.

ok, dropping this PR


Suggestion: Count number of records by query for pagination purpose.

It's useful to provide a more extensive basic api for common use cases.

Possibly use db.all() and use .length to calculate total number of records. Alternatively, a counter could be used with the iterator function. https://api.orbitdb.org/.


coqPackages.hierarchy-builder: 1.4.0 → 1.5.0

Description of changes
https://github.com/math-comp/hierarchy-builder/blob/v1.5.0/Changelog.md
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This has been checked (with success) there: https://github.com/coq-community/coq-nix-toolbox/pull/156
The first commit addresses a regression due to the recent update to camlp5. It is unrelated but makes the test go through ;-).


Feature: Vector to Columns

JIRA: MADLIB-1240
The vec2cols function enables users to split up a single column into multiple columns, given that the input column contains array entries. For example, if the input column contained ARRAY[1, 2, 3] in one of its rows, the output table will contain 3 different columns, one for each element of the array.

user docs seem incomplete

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/551/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/556/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/560/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/566/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/567/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/568/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/569/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/570/

Please note that cols2vec.py_in failed rat check due to missing license header.

PR is ready to be reviewed once again

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/574/

In cols2vec,
For this table:
CREATE TABLE golf (
    id integer NOT NULL,
    "OUTLOOK" text,
    temperature double precision,
    humidity double precision,
    "Temp_Humidity" double precision[],
    clouds_airquality text[],
    windy boolean,
    class text,
    observation_weight double precision
);

this fails:
SELECT madlib.cols2vec(
    'golf',
    'cols2vec_result',
    'id, temperature'
);

because id is INT and temperature is FLOAT.
It forces the user to do:
SELECT madlib.cols2vec(
    'golf',
    'cols2vec_result',
    'id::FLOAT, temperature'
);

but this is inconvenient especially if you have a big
table and are using '*' to get all columns into the feature
vector and they are a mix of numeric types.
Also a mix of VARCHAR and TEXT fails in a similar way
but should not.
Use PostgreSQL precendence rules to fix this please.

In vec2cols,
SELECT madlib.vec2cols(
    'golf',                           -- source table
    'vec2cols_result',                -- output table
    'clouds_airquality',              -- column with array entries to split
    ARRAY['clouds', 'air_quality'],   -- feature names
    '"OUTLOOK", id'                   -- columns to keep from source table
);

results in
 clouds | air_quality | OUTLOOK  | id
--------+-------------+----------+----
 none   | unhealthy   | sunny    |  1
 none   | moderate    | sunny    |  2
 low    | moderate    | overcast |  3
 low    | moderate    | rain     |  4
 medium | good        | rain     |  5
 low    | unhealthy   | rain     |  6
 medium | moderate    | overcast |  7
 high   | unhealthy   | sunny    |  8
 high   | good        | sunny    |  9
 medium | good        | rain     | 10
 none   | good        | sunny    | 11
 medium | moderate    | overcast | 12
 medium | moderate    | overcast | 13
 low    | unhealthy   | rain     | 14
(14 rows)

but the split columns clouds and air_quality should
be the right side of the table.  This will make
it consistent with the way cols2vec works.

After the above 2 issues I mentioned are fixed, I will have 1 more commit on user docs to this PR

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/583/

All PR comments addressed, commits have been squashed and pushed to this branch, ready to finalize PR

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/584/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/585/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/586/

(1)
Now I think it is casting all numeric to DOUBLE and all non-numeric to TEXT?
But if all the columns are INT, should not cast them to DOUBLE, rather should create an array of  INTs.
(2)
On column ordering, I think you changed cols2vec to move the vector to LHS of the table,  whereas it was fine where it was before on the RHS. What I was asking in my comment above was for vec2cols to put the new split columns on the RHS of the table.
In other words, for the functions cols2vec and vec2cols, put any new columns created by the function on the RHS any columns output from the original table (if any).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/589/

In cols2vec and vec2cols, ordering has been fixed so new columns are always on the right of the source table columns in the output (if any).
In cols2vec, casting seems OK now.  I tested:

mixed INT and DOUBLE PRECISION works and creates vector DOUBLE PRECISION[]
mixed VARCHAR and TEXT works and creates vector TEXT[]
INT columns create vector 'INT[]' , i.e., does not unnecessarily cast to DOUBLE PRECISION[]
REAL columns create vector 'REAL[]' , i.e., does not unnecessarily cast to DOUBLE PRECISION[]
VARCHAR columns create vector 'VARCHAR[]' , i.e., does not unnecessarily cast to TEXT[]

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/590/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/593/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/594/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/596/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/597/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/599/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/602/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/603/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/606/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/607/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/608/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/609/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/614/

Removed the problematic dev check test that required us to use forced bool to text conversion, should be good to go

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/617/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/619/

Where did we land on the boolean casting issue?   Testing on Greenplum 5, I see:
(psycopg2.ProgrammingError) plpy.SPIError: ARRAY types boolean and text cannot be matched
CONTEXT:  Traceback (most recent call last):
  PL/Python function "cols2vec", line 23, in <module>
    return cols2vec_obj.cols2vec(**globals())
  PL/Python function "cols2vec", line 363, in cols2vec
PL/Python function "cols2vec"
 [SQL: "SELECT madlib.cols2vec(\n    'golf',\n    'cols2vec_result',\n    'windy, class'\n);"]

(psycopg2.ProgrammingError) plpy.SPIError: ARRAY types integer and boolean cannot be matched
CONTEXT:  Traceback (most recent call last):
  PL/Python function "cols2vec", line 23, in <module>
    return cols2vec_obj.cols2vec(**globals())
  PL/Python function "cols2vec", line 363, in cols2vec
PL/Python function "cols2vec"
 [SQL: "SELECT madlib.cols2vec(\n    'golf',\n    'cols2vec_result',\n    'temperature, windy'\n);"]

Wondering about order for varchar and text casting.
For this data set:
DROP TABLE IF EXISTS golf CASCADE;

CREATE TABLE golf (
    id int,
    "OUTLOOK" varchar,
    temperature smallint,
    humidity real,
    "Temp_Humidity" double precision[],
    clouds_airquality text[],
    windy boolean,
    class text,
    observation_weight double precision
);

INSERT INTO golf VALUES
(1,'sunny', 85, 85, ARRAY[85, 85],ARRAY['none', 'unhealthy'], 'false','Don''t Play', 5.0),
(2, 'sunny', 80, 90, ARRAY[80, 90], ARRAY['none', 'moderate'], 'true', 'Don''t Play', 5.0),
(3, 'overcast', 83, 78, ARRAY[83, 78], ARRAY['low', 'moderate'], 'false', 'Play', 1.5),
(4, 'rain', 70, 96, ARRAY[70, 96], ARRAY['low', 'moderate'], 'false', 'Play', 1.0),
(5, 'rain', 68, 80, ARRAY[68, 80], ARRAY['medium', 'good'], 'false', 'Play', 1.0),
(6, 'rain', 65, 70, ARRAY[65, 70], ARRAY['low', 'unhealthy'], 'true', 'Don''t Play', 1.0),
(7, 'overcast', 64, 65, ARRAY[64, 65], ARRAY['medium', 'moderate'], 'true', 'Play', 1.5),
(8, 'sunny', 72, 95, ARRAY[72, 95], ARRAY['high', 'unhealthy'], 'false', 'Don''t Play', 5.0),
(9, 'sunny', 69, 70, ARRAY[69, 70], ARRAY['high', 'good'], 'false', 'Play', 5.0),
(10, 'rain', 75, 80, ARRAY[75, 80], ARRAY['medium', 'good'], 'false', 'Play', 1.0),
(11, 'sunny', 75, 70, ARRAY[75, 70], ARRAY['none', 'good'], 'true', 'Play', 5.0),
(12, 'overcast', 72, 90, ARRAY[72, 90], ARRAY['medium', 'moderate'], 'true', 'Play', 1.5),
(13, 'overcast', 81, 75, ARRAY[81, 75], ARRAY['medium', 'moderate'], 'false', 'Play', 1.5),
(14, 'rain', 71, 80, ARRAY[71, 80], ARRAY['low', 'unhealthy'], 'true', 'Don''t Play', 1.0);

(1)
DROP TABLE IF EXISTS cols2vec_result, cols2vec_result_summary;

SELECT madlib.cols2vec(
    'golf',
    'cols2vec_result',
    '"OUTLOOK", class'
);

produces a varchar array:
select *                                                                                from INFORMATION_SCHEMA.COLUMNS where table_name = 'out99';
-[ RECORD 1 ]------------+------------------
table_catalog            | madlib
table_schema             | public
table_name               | out99
column_name              | f2
ordinal_position         | 2
column_default           |
is_nullable              | YES
data_type                | character varying
character_maximum_length |
character_octet_length   |<PHONE_NUMBER>
numeric_precision        |
numeric_precision_radix  |
numeric_scale            |
datetime_precision       |
interval_type            |
interval_precision       |
character_set_catalog    |
character_set_schema     |
character_set_name       |
collation_catalog        |
collation_schema         |
collation_name           |
domain_catalog           |
domain_schema            |
domain_name              |
udt_catalog              | madlib
udt_schema               | pg_catalog
udt_name                 | varchar
scope_catalog            |
scope_schema             |
scope_name               |
maximum_cardinality      |
dtd_identifier           | 2
is_self_referencing      | NO
is_identity              | NO
identity_generation      |
identity_start           |
identity_increment       |
identity_maximum         |
identity_minimum         |
identity_cycle           |
is_generated             | NEVER
generation_expression    |
is_updatable             | YES
-[ RECORD 2 ]------------+------------------
table_catalog            | madlib
table_schema             | public
table_name               | out99
column_name              | f1
ordinal_position         | 1
column_default           |
is_nullable              | YES
data_type                | character varying
character_maximum_length |
character_octet_length   |<PHONE_NUMBER>
numeric_precision        |
numeric_precision_radix  |
numeric_scale            |
datetime_precision       |
interval_type            |
interval_precision       |
character_set_catalog    |
character_set_schema     |
character_set_name       |
collation_catalog        |
collation_schema         |
collation_name           |
domain_catalog           |
domain_schema            |
domain_name              |
udt_catalog              | madlib
udt_schema               | pg_catalog
udt_name                 | varchar
scope_catalog            |
scope_schema             |
scope_name               |
maximum_cardinality      |
dtd_identifier           | 1
is_self_referencing      | NO
is_identity              | NO
identity_generation      |
identity_start           |
identity_increment       |
identity_maximum         |
identity_minimum         |
identity_cycle           |
is_generated             | NEVER
generation_expression    |
is_updatable             | YES

(2)
DROP TABLE IF EXISTS cols2vec_result, cols2vec_result_summary;

SELECT madlib.cols2vec(
    'golf',
    'cols2vec_result',
    'class, "OUTLOOK"'
);

produces a text array:
select *                                                                                from INFORMATION_SCHEMA.COLUMNS where table_name = 'out99';
-[ RECORD 1 ]------------+-----------
table_catalog            | madlib
table_schema             | public
table_name               | out99
column_name              | f2
ordinal_position         | 2
column_default           |
is_nullable              | YES
data_type                | text
character_maximum_length |
character_octet_length   |<PHONE_NUMBER>
numeric_precision        |
numeric_precision_radix  |
numeric_scale            |
datetime_precision       |
interval_type            |
interval_precision       |
character_set_catalog    |
character_set_schema     |
character_set_name       |
collation_catalog        |
collation_schema         |
collation_name           |
domain_catalog           |
domain_schema            |
domain_name              |
udt_catalog              | madlib
udt_schema               | pg_catalog
udt_name                 | text
scope_catalog            |
scope_schema             |
scope_name               |
maximum_cardinality      |
dtd_identifier           | 2
is_self_referencing      | NO
is_identity              | NO
identity_generation      |
identity_start           |
identity_increment       |
identity_maximum         |
identity_minimum         |
identity_cycle           |
is_generated             | NEVER
generation_expression    |
is_updatable             | YES
-[ RECORD 2 ]------------+-----------
table_catalog            | madlib
table_schema             | public
table_name               | out99
column_name              | f1
ordinal_position         | 1
column_default           |
is_nullable              | YES
data_type                | text
character_maximum_length |
character_octet_length   |<PHONE_NUMBER>
numeric_precision        |
numeric_precision_radix  |
numeric_scale            |
datetime_precision       |
interval_type            |
interval_precision       |
character_set_catalog    |
character_set_schema     |
character_set_name       |
collation_catalog        |
collation_schema         |
collation_name           |
domain_catalog           |
domain_schema            |
domain_name              |
udt_catalog              | madlib
udt_schema               | pg_catalog
udt_name                 | text
scope_catalog            |
scope_schema             |
scope_name               |
maximum_cardinality      |
dtd_identifier           | 1
is_self_referencing      | NO
is_identity              | NO
identity_generation      |
identity_start           |
identity_increment       |
identity_maximum         |
identity_minimum         |
identity_cycle           |
is_generated             | NEVER
generation_expression    |
is_updatable             | YES

Why is that?

Regarding bool to text/integer conversion in GPDB5, I believe you have to use an explicit cast as required by the underlying platform. Thus, if you "temperature, windy::integer" or "windy::text, class", it should work fine. This is how the underlying postgres syntax for GPDB5 works as well
For the text-varchar ordering, my hunch is that postgres treats these types as having the same priority, and thus just casts the second argument to whatever type the first argument was in.

thanks, that makes sense.
I added a type casting example to the user docs.
LGTM

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/628/


Headers should be case insensitive

Prerequisites

[x] I have checked the existing issues to ensure this is not a duplicate.
[x] I am running the latest version of Tailcall.

Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce

Pass header in http call as X-header
Check whether client receives x-header or X-header

... (add as many steps as needed)
Expected behavior

Client should receive x-header instead of X-header

Actual behavior

Client receive receive X-header

Screenshots
If applicable, add screenshots to help explain your problem.
Environment information:

Operating System: (e.g., Ubuntu 20.04, macOS Big Sur, Windows 10)
Tailcall Version: (e.g., v1.0.2)
Rust Version: (e.g., rustc 1.58.0)
GraphQL Client/version (e.g., curl/8.1.2)

Additional context
Add any other context about the problem here, such as relevant logs, error messages, or stack traces.
Logs
Paste any relevant logs here.

I think this should be alright since as per RFC 2616 headers are case-insensitive.


Packaging now uses gvm

This allows the script to set the exact version of Go used to build the
program.

@otoolep the package.sh needs some reviewing.

Thanks @marcosnils -- will correct.


Aggregate data from multiple domains

There needs to be a config for the encryption of the aggregated data

The aggregated Data needs to contain
the status:
red: At least one service is not available
yellow: All services available but additional replicas are not ready
blue: Everything ok
Name of the domain
#Timestamp of data collection


Change LoDashArrayWrapper -> LoDashWrapper in sample() chaining

This extends and fixes the additions on #4640, as commented here.

@nfantone thanks mate!

Glad to contribute.


Move FdTable to a common location and split off Unix behavior

I'm open to instead keeping all the functions on the base trait, but this seemed like an easy way to keep them clearly only intended to be used in the unix shims.
Preparation for Windows FS support, see #4043

@sivadeilra - here's one of the PRs related to adding Miri support for Windows FS APIs, RE: https://github.com/rust-lang/miri/issues/3482

I'm open to instead keeping all the functions on the base trait, but this seemed like an easy way to keep them clearly only intended to be used in the unix shims.

What are you referring to here?

:umbrella: The latest upstream changes (presumably #4016) made this pull request unmergeable. Please resolve the merge conflicts.

This is now 3 commits - the first only moves the FdMap, the seconds splits out Unix functionality, the third makes the fn metadata change used by the Windows PR

@CraftSpider Thanks!
This seems to have conflicts with master now, so CI cannot run. Could you resolve those conflicts?
@rustbot author
(write @rustbot ready when this is ready for review)

@rustbot ready

@rustbot author

@rustbot ready

Looks good, thanks! Please squash the last 2 commits in the previous ones (but definitely leave the first commit separate).

@rustbot ready


useCORS setting is not working as expected

I am having an issue with tainted canvas errors when the scene contains cross origin images. This seems to be caused by images served from our CDN, which is cross origin.  After a bit of research, I tried to implement the solution on this page: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image
This essentially just means you need to set image.crossOrigin = 'anonymous'; to avoid that image tainting the canvas.
In html2canvas, this is achieved from the useCORS setting. However setting this to true has no effect.
The cause seems to be this line in cache-storage.ts:
    const useCORS =
            !isInlineImage(key) && this._options.useCORS === true && FEATURES.SUPPORT_CORS_IMAGES && !isSameOrigin;

The useCORS setting is only actually applied if the URL looks to be cross origin. The problem is redirects.
In my case, the image is a local URL that will redirect to the CDN. This redirect step is needed as constructing the CDN url has some hairs.
I think the useCORS flag should always take effect, even for same-origin URLs, because  it is not guaranteed the image will actually be served from the same origin.

has same problem too


Logout-delete local device

Task/Issue URL:https://app.asana.com/0/0/1204316129840759/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3024   👈

This comment was auto-generated by Graphite.


New logo, Octarine, Expand/Collapse icon

Fixes #482, #448, #447.
Includes:

more conventional drawer collapse/expand icon
exposure of octarine in UI
new Meshery logo
alphabetical ordering of adapter listing in drawer

Missing:

centering of Meshery logo upon collapse of drawer (see screenshot)

This update constitutes a new minor release.


getting this error - Formatter failed. See :ConformInfo for details

Here is my config:
return {
  'stevearc/conform.nvim',
  event = { 'BufReadPre', 'BufNewFile' },
  config = function()
    local conform = require 'conform'

    conform.setup {
      formatters_by_ft = {
        lua = { 'stylua' },
        svelte = { 'prettierd', 'prettier', stop_after_first = true },
        -- astro = { { "prettierd", "prettier", stop_after_first = true } },
        javascript = { 'prettierd', 'prettier', stop_after_first = true },
        typescript = { 'prettierd', 'prettier', stop_after_first = true },
        javascriptreact = { 'prettierd', 'prettier', stop_after_first = true },
        typescriptreact = { 'prettierd', 'prettier', stop_after_first = true },
        json = { 'prettierd', 'prettier', stop_after_first = true },
        graphql = { 'prettierd', 'prettier', stop_after_first = true },
        -- java = { "google-java-format" },
        -- kotlin = { "ktlint" },
        -- ruby = { "standardrb" },
        markdown = { 'prettierd', 'prettier', stop_after_first = true },
        erb = { 'htmlbeautifier' },
        html = { 'htmlbeautifier' },
        bash = { 'beautysh' },
        -- proto = { "buf" },
        -- rust = { "rustfmt" },
        yaml = { 'yamlfix' },
        toml = { 'taplo' },
        css = { 'prettierd', 'prettier', stop_after_first = true },
        scss = { 'prettierd', 'prettier', stop_after_first = true },
        sh = { 'shellcheck' },
        go = { 'gofmt' },
      },
      format_on_save = {
        -- These options will be passed to conform.format()
        timeout_ms = 500,
        lsp_format = 'fallback',
      },
    }

    vim.keymap.set({ 'n', 'v' }, '<leader>pf', function()
      conform.format {
        lsp_fallback = true,
        async = false,
        timeout_ms = 1000,
      }
    end, { desc = 'Format file or range (in visual mode)' })
  end,
}

Output of what I get when I do :ConformInfo

does it have to do something with linter by any chance?
just for reference pasting it here:
return {
  'mfussenegger/nvim-lint',
  event = {
    'BufReadPre',
    'BufNewFile',
  },
  config = function()
    local lint = require 'lint'

    lint.linters_by_ft = {
      javascript = { 'eslint_d' },
      typescript = { 'eslint_d' },
      javascriptreact = { 'eslint_d' },
      typescriptreact = { 'eslint_d' },
      svelte = { 'eslint_d' },
      -- kotlin = { "ktlint" },
      -- terraform = { "tflint" },
      -- ruby = { "standardrb" },
    }

    lint.linters.eslint_d = require('lint.util').wrap(lint.linters.eslint_d, function(diagnostic)
      -- try to ignore "No ESLint configuration found" error
      -- if diagnostic.message:find("Error: No ESLint configuration found") then -- old version
      -- update: 20240814, following is working
      if diagnostic.message:find 'Error: Could not find config file' then
        return nil
      end
      return diagnostic
    end)

    local lint_augroup = vim.api.nvim_create_augroup('lint', { clear = true })

    vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, {
      group = lint_augroup,
      callback = function()
        lint.try_lint()
      end,
    })

    vim.keymap.set('n', '<leader>ll', function()
      lint.try_lint()
    end, { desc = 'Trigger linting for current file' })
  end,
}

If you follow the bug report template, it will direct you to the documentation on debugging. The error looks like there is an issue with the prettierd command that is being run. You should use the logging to figure out what that command is, and then test it in your terminal to see if this is a conform issue or a prettierd issue.

I am unable to debug it :(, not sure what to do where. I read the doc.

I am going to assume that you are relatively new at this, and give you some advice for any situation when you are asking for help.

You are asking for someone else to spend effort on your behalf. To maximize the chances that they do, make the amount of effort they have to spend as low as possible.
This means you should think from their perspective before you post. If I were that person, what information would I want? What would I ask you to try? Then proactively try those things, gather that information, and include it in your initial post. It can include details about your setup, things that you have tried, output you have seen, etc.
Oftentimes, there will be a standardized bug report template that outlines these exact steps for you. This is to ensure that the person you are asking will have enough context on your issue to provide help immediately, and doesn't have to spend the first several messages going back and forth asking for help. If such a template is provided, use it. Even if certain fields don't make sense for the issue you are reporting, fill everything out to the best of your ability.

Lastly, realize that no one is going to spend more effort trying to help you than you are willing to put forth yourself. If I see someone that fills out the bug report, proactively lists everything they have tried, narrowed down the repro to a minimal config and set of steps, and sends me all of this information in a clear format, I am not only in a better position to help, I am a lot more willing to spend my own time trying to reproduce the bug and help fix it. If all I get is a vague "Here's my config" and "I tried to debug but it didn't work," I am not inclined to spend any effort helping you.
If you are still stuck on this problem, please feel free to open a new issue and fill out the bug report template. I will happily help if I am provided enough information to.

I wasn’t sure what information to include and what to leave out. I thought providing the configuration details for this specific plugin would be enough. I might have made a mistake in the config itself—that was my best guess, and it turned out to be related. I didn’t go into detail because I honestly didn’t know what was to be included. Although have solved it, and I'll keep your reply in mind, really informative for me (yes I'm new).


Previews under Linux Mint

I moved from Windows to Linux Mint (latest) and all is good only issue with the Linux version (running 3.10.1

No preview of videos load JPG and PNG are just fine (some toppers, wheels, etc)
From what I read it is a Java problem
my java (if it matters)
openjdk version "21.0.5" 2024-10-15
OpenJDK Runtime Environment (build 21.0.5+11-Ubuntu-1ubuntu124.04)
OpenJDK 64-Bit Server VM (build 21.0.5+11-Ubuntu-1ubuntu124.04, mixed mode, sharing)
No problems apart from the occasional glitch in Windows but just under Linux
Thanks
Brent

I think the problem here is a missing codec pack to make Java running these videos. I would try to see if some mp4 codec packages can be installed, hoping that this fixes the issue. But it's more a guess.
The Studio run with it's own JDK, that's why I assume it is OS related.

Checked just about every MP4 codec I could find and yeah I understand about it's own JDK.
Are there any other linux users out there?  If so do you get previews? What distro are you on?
Thanks btw for a great program and great support!
Brent

I only test with WSL2/Ubuntu from time to time. It's been a while so I can't recall if I saw a preview there too. I'll test this there again.

To elaborate on this a bit
I have tried with debian and arch same thing - I also installed just about every codec known and unknown to man lol
Same thing no preview.
Possibly interesting:
21-11 10:09:48.823 WARN  [JavaFX Application Thread] d.m.v.c.u.m.VideoMediaPlayer - Media player error: MediaException: MEDIA_UNSUPPORTED : [] ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED: ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED, URL: http://<IP_ADDRESS>:8089/api/v1/media/423/Topper 21-11 10:09:48.839 WARN  [JavaFX Application Thread] d.m.v.c.u.m.VideoMediaPlayer - Media player error: MediaException: MEDIA_UNSUPPORTED : [] ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED: ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED, URL: http://<IP_ADDRESS>:8089/api/v1/media/423/BackGlass 21-11 10:09:48.840 WARN  [JavaFX Application Thread] d.m.v.c.u.m.VideoMediaPlayer - Media player error: MediaException: MEDIA_UNSUPPORTED : [] ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED: ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED, URL: http://<IP_ADDRESS>:8089/api/v1/media/423/Menu 21-11 10:09:48.840 WARN  [JavaFX Application Thread] d.m.v.c.u.m.VideoMediaPlayer - Media player error: MediaException: MEDIA_UNSUPPORTED : [] ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED: ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED, URL: http://<IP_ADDRESS>:8089/api/v1/media/423/Loading 21-11 10:09:48.842 WARN  [JavaFX Application Thread] d.m.v.c.u.m.VideoMediaPlayer - Media player error: MediaException: MEDIA_UNSUPPORTED : [] ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED: ERROR_MEDIA_AUDIO_FORMAT_UNSUPPORTED, URL: http://<IP_ADDRESS>:8089/api/v1/media/423/PlayField
The error message constantly being reported is the audio format isn't supported - is there any way of muting/disabling or not even requesting that for the Linux version? - most of the recordings apart from loading ones don't have audio anyway yet it still reports this error on all.
Thanks
Brent


Write README.md

I made README.md and explained in it what is this plugin for, how to use it, how to set up your Maven build and what is the suggested workflow when you release your artifacts using this plugin.
Fixes #1

@rultor merge

@rultor merge

@suseika OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@suseika Done! FYI, the full log is here (took me 2min)


ONNX tests are failing frequently

Description
As far as I can tell the tests are trying to access an S3 bucket. This lowers the robustness of the CI verification tests suite.
 If None, then will guess a filename

            from url.

        dirname : str, optional

            output directory name. If None, then guess from fname or use the current

            directory

        overwrite : bool, optional

            Default is false, which means skipping download if the local file

            exists. If true, then download the url to overwrite the local file if

            exists.

         If None, then will guess a filename

            from url.

        dirname : str, optional

            output directory name. If None, then guess from fname or use the current

            directory

        overwrite : bool, optional

            Default is false, which means skipping download if the local file

            exists. If true, then download the url to overwrite the local file if

            exists.

        Returns

        -------

        str

            The filename of the downloaded file

        """

        if fname is None:

            fname = url.split('/')[-1]

        if dirname is None:

            dirname = os.path.dirname(fname)

        else:

            fname = os.path.join(dirname, fname)

        if dirname != "":

            if not os.path.exists(dirname):

                try:

                    logging.info('create directory %s', dirname)

                    os.makedirs(dirname)

                except OSError as exc:

                    if exc.errno != errno.EEXIST:

                        raise OSError('failed to create ' + dirname)

        if not overwrite and os.path.exists(fname):

            logging.info("%s exists, skipping download", fname)

            return fname

        r = requests.get(url, stream=True)

>       assert r.status_code == 200, "failed to open %s" % url

E       AssertionError: failed to open https://s3.amazonaws.com/onnx-mxnet/model-zoo/bvlc_reference_caffenet.tar.gz

E       assert 403 == 200

E        +  where 403 = <Response [403]>.status_code

python/mxnet/test_utils.py:1415: AssertionError

===================== 2 failed, 8 passed in 22.34 seconds ======================

This CI run was 3/4 days ago. Can you please re-trigger the CI, other PRs are having a clean CI runs.
@nswamy please close this issue.


expose autofocus feature

Hi,
I've got a TIS camera featuring a 'one push' autofocus function that I'd like to use from within Python. The model no. is DFK AFUP031-M12. Could you give some advice on how to implement the autofocus into your wrapper?
Thanks...

Hi,
when I try to execute cam.focus_one_push() I get an AttributeError:
Traceback (most recent call last):
  File "eyebox_main.py", line 146, in process_frame
    self.cam.focus_one_push()
  File "C:\winpython\python-3.5.3.amd64\lib\site-packages\pyicic\IC_Camera.py",
line 55, in __getattr__
    raise AttributeError
AttributeError

:-(

__getattr__ should only be called if the attribute is not found on the class. Could you double check that the focus_one_push method is definitely in your camera class?

I had the wrapper installed in the wrong env... now it's working! Thank you so much!


GPU Particles 2D/3D Linear and Radial Max acceleration values are not being used in 4.2

Godot version
v4.2.beta3
System information
Godot v4.2.beta3 - Windows 10.0.19045 - Vulkan (Forward+, Mobile) - GLES3 (Compatibility) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; <IP_ADDRESS>84) - Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 Threads)
Issue description
In 4.2 the GPU particle's Linear and Radial accelerations only change in behavior when the Min value is changed, while the Max value does nothing. There is no variation between each particle's acceleration when both values are different.
Tangential acceleration and dampening are still applying those values correctly.
4.1.2 seems to be working correctly.
Steps to reproduce
The reproduction project has "main_2d" and "main_3d" scenes that show the issue, even in the editor.
Minimal reproduction project
GPUParticles Accelerations.zip

Already closed by https://github.com/godotengine/godot/pull/84006/files


Unable to download symbols to a newly created sandbox container.

Hi
I am having the same issue as microsoft/AL#6273. That is I can not download symbols from a newly created container. I am getting this error:

Authorization has failed or the credentials have expired. The credential cache has been cleaned. Any access to reach Business Central would require new authorization.
The authentication has been cancelled.

Browsing the Web Client works like a charm. The solution in issue microsoft/AL#6273 was to add "tenant": "default" to launch.json, but that did not  solve anything for me. Another suggested solution was to clear the credentials and try again. That did not work either.
The container was created with this code:
$containerName = 'test'
$password = 'P@ssw0rd'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'no' -select 'latest'
$ImageName = 'bc19'
New-BcContainer -accept_eula -containerName $containerName -credential $credential -auth $auth -artifactUrl $artifactUrl -imageName $ImageName -assignPremiumPlan -memoryLimit 8G -includeTestLibrariesOnly -updateHosts

Launch.json looks like this:
{"version":"0.2.0","configurations":[{"name":"BC19Container", "type":"al", "request":"launch", "environmentType":"Sandbox", "server":"http://test", "serverInstance":"BC", "authentication":"UserPassword", "startupObjectId":22, "breakOnError":true, "breakOnRecordWrite":false, "launchBrowser":true, "enableSqlInformationDebugger":true, "enableLongRunningSqlStatements":true, "longRunningSqlStatementsThreshold":500, "numberOfSqlStatements":10, "tenant":"default"}]}

Please try a different container name - like bcserver - I know that on our corpnet, test and dev doesn't work as container names.

Thanks. It works now.


Drop plugins/react-native.js

We can delete https://github.com/getsentry/raven-js/blob/master/plugins/react-native.js and direct people to use https://github.com/getsentry/react-native-sentry
I guess that would require a major version bump since it removes a big chunk.

I guess that would require a major version bump since it removes a big chunk.

Yes. I wouldn't rush on this, and probably take advantage of the semver major change to introduce other breaking changes we've discussed.

Done. No react-native plugin in new SDK