I am not able to install the script on Windows

When I try to build the script using this command bash ./build.sh on Windows it shows the next message:
fi
dos2unix: Failed to change the permissions of temporary output file ./d2utmpJkWq2X: Operation not permitted
dos2unix: dos2unix: problems converting file media_dl.sh
dos2unix: Failed to change the permissions of temporary output file 0web/d2utmpK3q8O1: Operation not permitted
dos2unix: dos2unix: problems converting file 0web/media_dl_srv.sh
mkdir: cannot create directory ‘0releases’: File exists
chmod: changing permissions of 'media_dl_srv.sh': Operation not permitted
activelist
.htaccess
tar: downloads: Cannot stat: No such file or directory
index.html
media_dl_srv.sh
tar: Exiting with failure status due to previous errors
by the way I already installed all the dependencies except pup.
Any ideas please?

Hi
building the script is defo an optional step. the how to is very lacking at the moment.
The dependencies listed are for the scripts and their development and when you use it not building in itself.
the only program which usually might not come with a normal distro is dos2unix.
dos2unix: dos2unix: problems converting file media_dl.sh
dos2unix: Failed to change the permissions of temporary output file 0web/d2utmpK3q8O1: Operation not permitted
dos2unix: dos2unix: problems converting file 0web/media_dl_srv.sh
mkdir: cannot create directory ‘0releases’: File exists
chmod: changing permissions of 'media_dl_srv.sh': Operation not permitted

this looks a lot like you may not have permissions to do certain opetrations.
this might be fixed if you work in a directory you own and use the git cli under linux.
if you know what you do, you can also change the ownership of the file to the current user. this would be something like chown $(whoami) -R * in the project directory but this can cause issues if you use someone elses files.
mkdir: cannot create directory ‘0releases’: File exists this one will be fixed soon since it's irritating output but this is not really an error intiself. ther was just already a folder called 0realeases created in previous runs.
.htaccess
tar: downloads: Cannot stat: No such file or directory
index.html
media_dl_srv.sh
tar: Exiting with failure status due to previous errors

this is normal output and one error which is explained in the following, this is a bug on my side.
tar: downloads: Cannot stat: No such file or directory this is an error i can reproduce on my side i did not include the downloads folder in the git and therefore this will fail. I'll now include a step in the script to create a folder that way i don't need to include an empty folder in the git.

Does the issue still persist? if you don't respond within 2 weeks I'll close the issue.

some more time has passed now and i can't help without further info. closing the issue for now


Does the filter for derived assets toggle do anything?

Describe the bug
I don't see a change when I toggle the 'filter for derived'

Add dropdown for all/raw/derived


[Feature]: CLI to automate import from "@jest/globals"

🚀 Feature Proposal
It would be nice to have some helper to automate the migration from v28 to v29, mainly to add import {} from '@jest/globals' explicitly on +500 files per project.
Motivation
Changing +500 files on 4 projects manually it's a pain that would be great to avoid.
Example
No response
Pitch
My suggestion is to provide some CLI or external tool to help in the migration process.

This is a feature request.

This is a feature request.

Finally I found a solution, thanks to the awesome tool @getgrit!
https://github.com/getgrit/gritql/issues/28

also https://github.com/jest-community/eslint-plugin-jest/pull/1490


Angled hairpins

Currently it is not possible to encode (programmatically-determined) angled hairpins, because @startvo and @endvo by description record "a vertical adjustment of a feature's programmatically-determined" point.

It would be good to add an attribute for encoding the rotation here, something like @angle?

what about @rotate? I believe this name has been used already, but haven't looked…

@kepper You'll find it here: https://music-encoding.org/guidelines/dev/attribute-classes/att.coordinated.html
But I thought that the description wouldn't match this case.

Something that allows an automatic layout system to angle the hairpin would be useful as an intermediate step towards @startvo and @endvo.  This would allow the hairpin to be positioned using the slur layout mechanism.   This could be in addition to a specific angle which would be an intermediate representation between allowing any angle and specific vertical offsets of each endpoing.

Well, @rotate seems on spot, but the rest in that class may be not. If we'd agree on that, it would mean that we'd have to separate out rotate, and make att.coordinated plus something else member of that class. The "something else" is to be determined, of course… (probably it's not just <hairpin>…)

Aren't we looking at something like @ploc/@oloc and @ploc2/@oloc2? @rotate will work in some cases but not if you want to allow the horizontal spacing to change dynamically.

It seems we need both @rotate and something like @ploc/@oloc(2), because there are cases that are really rotated, and sometimes the open ends are still on one vertical line. We also decided that this needs proper documentation, especially cor the combination with @opening. @rettinghaus has volunteered himself to prepare something for the next ODD meeting 👍 – thanks for that

high quality comment: I do not like angled hairpins ... ;-) Do we really need it?

Discussed on ODD Friday again. We need to clarify the relations between things like @angle, @rotation, @rotate. There are also questions about the rotation origin, skewing, and whether rotation (for instance) is applied before offsets / layout or after. All in all, this isn't fully thought through yet…

ODD meeting notes:

definitely there seems to be a need to provide such rendition information
more examples would be appreciated in order to thoroughly discuss the relation of the different attributes mentioned above

We could "borrow" @slope from att.beam.vis. In combination with @startvo and @endvo we're on a pretty good way I think.

We probably need this for even more objects:

Well, @rotate seems on spot, but the rest in that class may be not. If we'd agree on that, it would mean that we'd have to separate out rotate, and make att.coordinated plus something else member of that class. The "something else" is to be determined, of course… (probably it's not just <hairpin>…)

this would be much easier in so-called pure ODD:
<elementSpec ident="hairpin">
    <attList>
        <attRef class="att.coordinated" name="rotate"/>
    </attList>
</elementSpec>

For me, a general question concerning @rotate is: what is the rotation point (any combinations of top, middle, bottom, left, centre, right)?
Nevertheless, I'm still not decided whether we do need hairpin rotation:

Is the intention behind this for transcriptional purposes or born-digital documents?
Even though it appears in some documents, isn't that something one wouldn't usually do?
Wouldn't it be sufficient to have this information on a zone that one can point to using @facs?

For this one:

A better control would be to have @loc and `@loc2 for the starting and ending of the quasi multi-bar rest.
A problem with @rotate or @slope is that the endpoints remain vertical lines.

Here is a proposal that we discussed with @pe-ro, @kepper and @fujinaga:

We add a @optimize.angle boolean attribute that indicates that the slope for the haipin can be adjusted to follow the content in order to optimize the spacing
We add a @opening.vertical boolean attribute that indicates if the opening points have to be aligned vertically, including when the hairpin is angled (with @optimize.angle but that would work with @endvo too)

Perhaps @angle.optimize would indicate that the boolean true/false is for the optimization, not the angle. @optimize.angle might suggest that the attribute takes an angle.
Did you discuss and reject @opening="vertical | angled"? Seems like that would be a bit more declarative, with angled being the default if nothing was specified.

@angle.optimize is better
Because we already have an@opening attribute we went for @opening.vertical

OK


Add new props

This new prop can set the visibility time of the pause button and the progress bar after the video was started. The default value is set 3 which is equal to the earlier versions value.

Hi @abbasfreestyle!
Firstly, thank you very much to merge my changes it will make things easier for me ( and I really hope for everyone ). When will you release the new version?


lddt folder problem

I check the Iddt folder, the folder is there but there is no file in it.
Any help?
Thank you!
Error message:
cat pick.stderr
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
/bin/sh: /lustre/work/dbecker/ymao/RoseTTAFold/lddt/lddt: No such file or directory
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/dbecker/ymao/.conda/envs/folding/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/dbecker/ymao/.conda/envs/folding/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/lustre/work/dbecker/ymao/RoseTTAFold/DAN-msa/pick_final_models.div.py", line 72, in calc_lddt_dist
lddt_1 = float(os.popen("%s/lddt/lddt -c %s %s | grep Glob"%(script_dir, pose_i, pose_j)).readlines()[-1].split()[-1])
IndexError: list index out of range
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/lustre/work/dbecker/ymao/RoseTTAFold/DAN-msa/pick_final_models.div.py", line 114, in
raw_dist = pool.map(calc_lddt_dist, args)
File "/home/dbecker/ymao/.conda/envs/folding/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/dbecker/ymao/.conda/envs/folding/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
IndexError: list index out of range
"

@luckydogomg Have you solved this problem? I have the same problem, could you give me some advice?


Added non-working sample test for JBoss7 with empty web.xml

A non-working sample using JBoss7 and RESTEasy with an empty web.xml file per issue https://github.com/wordnik/swagger-core/issues/412
Everything starts up fine, you can hit the resources (ie: localhost:port/sample/api/lowercase) and api-docs returns some information which does not include the Api resources.

I think we can close this out as the issue was reflections.


Proper on-boarding

There should be an first launch process where we explain why we are asking notifications to be enabled, ask if notifications should be turned on, then ask permission.
Same with location on local legislators screen. Don't prompt for permission until this screen is visited, then explain why and present permission.

FYI: 88425c2 changes notification permissions request to display when someone follows a person or bill or whatever.


only enable doc_cfg when a cfg attribute is passed

Also turn it on for docs.rs.
Fixes #38.

Thank you @sunshowers, this has been included in version 3.1.1 which has now been pushed to crates.io


[Feature Request] Integrate Material Design Icons Library

Literally hundreds of icons free to use. Would be fantastic to have them added in to this killer app!
Material Design Icons

Ope, yeah I'll do that.  I'll probably have to add a search functionality to the icon selection page then too.

Search functionality has been added in v1.0.17.  Material icons will be added in the next version.

Material icons have been added in v1.0.18.
I sifted through them to remove a lot of the redundant ones and a few I was positive wouldn't be useful, just to keep the more useful icons near the top.


adding support of partial handling in non HTML context.

please review with this PR together https://github.com/yahoo/express-secure-handlebars/pull/23

forked all changes here at https://github.com/yahoo/secure-handlebars/pull/134, and there has also included the suggested changes here.


Latest update "pretends to wipe save"

Seriously? A rather poor April Fool's joke.

Idk if this is an April Fool's joke or it is....

https://imgur.com/vzczUUF

K people will spam with "My save broke".


Update material-bottom-tab-navigator.md

instead of style={{ backgroundColor:'tomato'}} it should be barStyle={{backgroundColor:'tomato'}}(line:100)

Hey @vaibhav2211
Thanks for your PR, but we already fixed this one.

Hey @vaibhav2211
Thanks for your PR, but we already fixed this one.


When I tried the optillm with my own openai API compatible hosted model I get this error

I used "no_key"
error': "Error code: 401 - {'error': {'message': 'Incorrect API key provided: no_key. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}"

Did you run with -base_url http://your_api_end_point/v1 ? The error suggests it is still going to the default endpoint from OpenAI.

Yup.  Actually, we were able to sort it out by passing an api_key similar to the openai_api key.
Btw this is some amazing work!

Glad it worked out!

The problem was in some sort of an encryption thing. We just created a dummy API key, which has exactly the same pattern as a real openAI api key.

Oh, I think it just has to be pretending with “sk-“ because I check for that here to ensure it is a valid OpenAI key.

True. Might be good to change the documentation for the future ref


Compress python.Dockerfile (stretch/amd64) to a single layer

Signed-off-by: John Howard<EMAIL_ADDRESS>@ahmelsayed Is there any chance you can try this out and ping me offline with an image I can verify?

It might need an additional ENV command to add the following which were in your "squished" image I tried:
      "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
            "PYTHON_VERSION=3.6.8",
            "PYTHON_PIP_VERSION=19.0.3",
            "ACCEPT_EULA=Y",
            "AzureWebJobsScriptRoot=/home/site/wwwroot",
            "HOME=/home",
            "FUNCTIONS_WORKER_RUNTIME=",
            "WORKER_TAG=1.0.0b4",
            "AZURE_FUNCTIONS_PACKAGE_VERSION=1.0.0b3",
            "ASPNETCORE_URLS=http://+:80",
            "DOTNET_RUNNING_IN_CONTAINER=true",
            "ASPNETCORE_VERSION=2.2.3"
        ],

oh wow, that's an interesting way of reducing layers. I'd rather do this to the mesh specific image, rather than the python image as it does nullify client layer cashing, right? I'll ping you with an image and probably apply the ENV and changes to mesh image in another PR. Thanks for the help John!

as it does nullify client layer cashing, right?

Correct. That is the one big downside for local testing, but given you're building a production image, I only see benefits :)


[perceived performance] Splash Screen, Application Shell or Server-side Rendering

Currently we show a blue screen while loading, which may bring bad memories from the dark ages of personal computing to users.
I'd show an application shell directly, through server-side rendering. Then if it's easy enough to make fast queries on the server pre-fetch/pre-render everything before sending the initial payload.

Notes on implementing server-side fetching
To actually implement proper server-side fetching, there needs to be a high-order component or decorator that wraps top-level components and declares the data fetching actions they should execute upon rendering.
The server-rendering path should then read these actions and dispatch them on a per-request store before rendering the response.
On Este.js this is done with a fetch decorator:
MyComponent = fetch(fetchUsers)(MyComponent);

Which is something like:
function fetch(...actions) {
  return function(WrappedComponent) {
    return class Fetch {
      static fetchActions = actions;
      componentDidMount() {
        actions.forEach(action => this.context.store.dispatch(action))
      }
      render() { /*...*/ }
    }
  }
}

Server side rendering i already in place, i'm closing this issue.


raftstore: support limit the count of the peer stats reported in heartbeat (#10247)

cherry-pick #10247 to release-5.1
Problem Summary:
The peer stats reported in one heartbeat is no limited now.
What is changed and how it works?
Use TopN to limit the count of the reported peer stat in single store heartbeat.
Check List

Tests
Unit test

Release note
limit the hotspot report count

/merge

/test

/merge

/merge

/test

/hold

/test

/merge

/test

/test

/rebuild

/run-all-tests

/merge

/run-all-tests

/hold

@nolouch, Hi, for removing the do-not-merge/release-note-label-needed label, You need to specify the language of the code block as 'release-note'.
like this:
```release-note
None
```

not like:
```
None
```

/merge

/merge

/merge ?


"An illegal reflective access operation has occurred" warning when trying to use Detekt with Java >=9

I'm trying to use Detekt with Gradle and Java 12.
And I'm getting this warnings:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jetbrains.kotlin.com.intellij.openapi.util.JDOMUtil$2 (file:/C:/Users/semen_levin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler-embeddable/1.3.31/965ef6d9abe1555cc5d0a34dd24ce93b49123e7c/kotlin-compiler-embeddable-1.3.31.jar) to constructor com.sun.xml.internal.stream.XMLInputFactoryImpl()
WARNING: Please consider reporting this to the maintainers of org.jetbrains.kotlin.com.intellij.openapi.util.JDOMUtil$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

Please fix or hide this warnings.
Your Environment

Version of detekt used: Gradle plugin 1.0.0-RC15
Version of Gradle used (if applicable): 5.4.1
Operating System and version: Windows 10
Java version: 12

Thanks for reporting this warning.
@arturbosch can we do anything about this besides reporting this to the repo of .com.intellij?
I mean this a minor problem.

It's a know issue on their side: https://youtrack.jetbrains.net/issue/KT-30387

Suggest closing this one since it affects code that detekt has no control over, so there's nothing that can be done here...


The tile layer as caffe

How can I implement a tile layer with axis and tiles param when using symbol API?

mx.symbol.tile

@chinakook but it has no axis param

You can implement your own operator in MXNet either in C++ or in Python, please refer to the documentation here: https://mxnet.incubator.apache.org/faq/add_op_in_backend.html
https://mxnet.incubator.apache.org/tutorials/gluon/customop.html. I will close this issue please use https://discuss.mxnet.io for questions and seek help to implement the operator similar to Caffe


GROOVY-9807: limit receiver replacement for implicit-this in inner class

When user creates a method call expression, the default is for implicit
this to be true and this has caused a number of problems for transforms
when applied to inner class scenarios.  Only when the object expression
is truly "this" should it be rewritten to "Outer.this" when referencing
an outer class method.
https://issues.apache.org/jira/browse/GROOVY-9807

GroovyCodeVisitorAdapter is for specific purpose, so how about making it AIC instead of standalone new class?

GroovyCodeVisitorAdapter is for specific purpose, so how about making it AIC instead of standalone new class?

What is missing from GroovyCodeVisitor and CodeVisitorSupport is the ability to override select methods of interest and restrict traversal.  If I were to create a straight AIC of GroovyCodeVisitor in InvocationWriter#isThis, the method would be hundreds of lines long and the number of imports for the class would double.  This adapter is useful outside of this particular application -- in fact I imported the implementation from groovy-eclipse.

Any code that uses a sequence of instanceof checks to distinguish ASTNode/Expression/Statement types could instead leverage GroovyCodeVisitorAdapter and the visitor pattern for type dispatch.

Merged. Thanks!

Yep, I am happy with the GroovyCodeVisitorAdapter class but if we can think of a better name, I'd also be +1 for that.


CI timeout

BUG REPORT
High Level Description
CI noted the timeout of a particular run. This means that we have a rare infinite loop somewhere in the engine. This seems to be recent.
SMARTS version
1.0.1
Previous associated issues
N/A
Steps to reproduce the bug
Unsure.
Resulting and expected behaviour
The tests timed out but should roughly pass in under 12 minutes.
Error logs and screenshots
https://github.com/huawei-noah/SMARTS/actions/runs/4017689624/jobs/6902359722
System information
CI

Date when bug occurred
2023/01/27

Impact [If known]
Potential issues with long running SMARTS.

There seems to be an earlier instance of this happening with test_studio:test_scenario_generation_unchanged:
https://github.com/huawei-noah/SMARTS/actions/runs/3978346086/jobs/6820060923

@saulfield It appears that scenario building might be causing issues.


Punctuation: Support artist credits

It would be nice if the Punctuation script/bookmarklet could support artist credits, both on the release editor and in the artist credit editor (/artist/<gid>/credit/<id>/edit). I've added an example in the test.MB release.
There's about 4.8k unique artist credits with " in their name, 31k unique artist credits with ', 70k with -, and 341 with .... If the script were able to support artist credits, that could save us quite some time and keystrokes cleaning those up.

I think it does not really make sense to correct the punctuation of ACs in the release editor, it is always better to edit the entire AC in the artist credit editor to make sure you won't miss any ocurrence.
Simply adding the selector input[id*=credited-as] to the code was enough to get a working version of the bookmarklet on AC edit pages. It even works without opening the AC dialogue although no visible change can be seen before submitting the edit.
Making the change visible and allowing subsequent modifications before the submission would require some dirty work-around to deal with the React input of the AC dialogue...  Right now I am not really motivated to research and implement this 😅

Have I mentioned that I hate React?

I feel your pain :)
I might look into this at some point, but right now I've put a hold on actively looking for ASCII punctuation in artist credits. Fixing those is an absolute PITA because either my inbox gets spammed by ModBot if changing them from the artist edit page, or you have to go looking through possibly tens of aliases.

Since the script was no longer working for artist credits and it took me a while to find my previous research in the other issue, I will link it here for future reference: https://github.com/kellnerd/musicbrainz-bookmarklets/pull/10#issuecomment-933911145
The blur event was no longer enough to trigger an update, I had to work around the limitations of the React-crippled input field in dffe400b31f204d90f0c2b08342fb2178a764bd1 to make it work again (released in v2022.3.19).


no logs with useCache in destination

Hi all,
similar to my Issue #109 i added the following properties (see docu) to the package.json:
        "credentials": {...},
        "destinationOptions": {
          "selectionStrategy": "alwaysSubscriber",
          "useCache": true
        },
        "kind": "odata",...

with these properties

without:

removed strategy solve the problem.


Add delayedFloatingOrInteger

I'm writing a rather dynamically typed application where I need to convert a Scientific, but I don't know the types to convert to until after I know whether the Scientific is floating or not. But the current interface to floatingOrInteger requires preselection of the types.
Happily with -XImpredicativeTypes, we can make a more general interface, though it has downsides, as documented in this patch.
I'd understand if this is too, say, avant garde for this library, but I thought I'd give a shot at suggesting this.

Do you get any power more over converting to Either Integer Double? and then using fromInteger or realToFrac.
In any case, conditional APIs are out of question.

Do you get any power more over converting to Either Integer Double? and then using fromInteger or realToFrac.

Potentially, I imagine, if, say, the floating-point representation had more precision than Double, or the integral representation were optimized to store numbers in the range expected in a particular application. My particular needs don't imagine such exotic scenarios, but I'm building a library whose users may indeed have them.
I feel confident that my suggested function is useful in scenarios that the current API does not serve. Whether these scenarios arrive often enough -- or whether the benefit is large enough -- to be worth the cost of maintaining and documenting the function (and potentially confusing users about which variant to choose), I don't know.

In any case, conditional APIs are out of question.

Fair enough. I would likely agree in your shoes. Thanks for entertaining the thought!


Global Path HTTP Module

Description

Resolves #69

Aside from the Issue, I made some small changes, here and there, to my work on the previous PR, just some renaming and set write to False in the mgp test file.
One thing I am unsure about is exactly what the GPS data will look like in json format, so that would be good to know before merging.
Verification

Pytests for new functions
Created mock HTTP servers for endpoints for GPS and NET to test out GET and POST requests made by the module
HTTP request test coverage also with Pytests

Resources

Great work! What do you think about importing common functions from global_path.py in node_mock_global_path.py instead of vice versa (how it currently is) so that it can be standalone. I think this would also require converting the ROS parameters you added for mgp_main to constants.
Also how about adding some functionality in node_mock_global_path.py to publish or post depending on a ros parameter
Let's discuss about integration with WEB and NET in the soft-wide meeting on Saturday (I added a discussion topic in the meeting notes, feel free to add to it)

Yeah it definitely makes more sense to do it the other way around, I agree. For sure, lets discuss it more in the meeting on Sat.

Following up on our discussion today, plan for tests is to read from DB directly instead of get_server.py, and to use post_server.py until NET has implemented their endpoint (let's create an issue to remove post_server.py once it is) - I mentioned this PR in a sailbot workspace PR that is required for CI to pass after making these changes

I'm guessing tests are still failing because ports aren't being forwarded. In sailbot workspace this is done in devcontainer.json, but that isn't used for running CI (just the compose files are)

I'm guessing tests are still failing because ports aren't being forwarded. In sailbot workspace this is done in devcontainer.json, but that isn't used for running CI (just the compose files are)

Sorry I'm a little confused, what action is needed from me?


proposal: add Go SDK pubsub

I work on the Go Cloud Development Kit team at Google. We have a pubsub API that we'd like to integrate with SeaweedFS. It would immediately give SeaweedFS support for Azure Service Bus and Rabbit MQ. (We also support Amazon SQS and Google Cloud PubSub, which you already have.)
Can we send you a PR?

PR is very welcome!

PR is very welcome!

It will be ideal if there are change notification from the cloud side. Not sure whether this is easily available for google cloud.


Suicidal CT in as_oilrig

CT tries to use elevator but they get bonked on the head until every one of them is dead.
I use amx mod x 1.8.3 dev git 5201 base
I use amx mod x 1.8.3 dev git 5201 cstrike
Latest version of yapb on cs condition zero.

Need graph fix for this map, because I looked and saw that the paths leading to the elevator button do not have a return path, and only lead to a node located above (which the bot must reach when taking the elevator)
Maybe I'll fix it a little bit later.

It will not be possible to completely fix CT suicide if the bots use the elevator. This can be fixed only by removing the node next to the elevator button, then the bots will not use it and, accordingly, the elevator will not kill them.


remove unused strings

the banner is no longer shown on maps (we won't show the map if there's no shapefile)
the banner property is still useful if we want to show something there later? keeping it for now.. unless anyone feels otherwise

We are still showing the generic map in some cases right? Don't we need the message for those cases?

We are still showing the generic map in some cases right? Don't we need the message for those cases?

The empty state - when there is a planting site but no shapefiles - was the only case. We removed the map from that empty state.
We were also showing it when there were no planting sites - that was actually incorrect. Design did not want to show it then - the message was specific to adding shapefiles to the empty planting site. That's why removed it.
The banner props are still there if we want to add any additional info later.


System.IO.IOException: 'Entries cannot be opened multiple times in Update mode

Issue with the OpenXml library
System.IO.Compression.dll!System.IO.Compression.ZipArchiveEntry.OpenInUpdateMode()

System.IO.Compression.dll!System.IO.Compression.ZipArchiveEntry.Open()
System.IO.Packaging.dll!System.IO.Packaging.ZipStreamManager.Open(System.IO.Compression.ZipArchiveEntry zipArchiveEntry, System.IO.FileMode streamFileMode, System.IO.FileAccess streamFileAccess)
System.IO.Packaging.dll!System.IO.Packaging.ZipPackagePart.GetStreamCore(System.IO.FileMode streamFileMode, System.IO.FileAccess streamFileAccess)
System.IO.Packaging.dll!System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode mode, System.IO.FileAccess access)
DocumentFormat.OpenXml.dll!DocumentFormat.OpenXml.Packaging.OpenXmlPart.GetStream(System.IO.FileMode mode, System.IO.FileAccess access)
SpreadsheetLight.SLDocument.WriteDocumentProperties()
Description
We receive the following exception :
System.IO.IOException: 'Entries cannot be opened multiple times in Update mode
.
Information

.NET Target:  .NET Core
DocumentFormat.OpenXml Version: (ie 2.12.3)

I had a similar issue when I called .GetStream() twice without closing the previous one. Could you share the code example where you call .GetStream().

Hi!! This is actually not my code, but an open source project – SpreadsheetLight. This worked fine until pre .net core. Here is the code:
private void WriteDocumentProperties()
{
if (xl.CoreFilePropertiesPart == null)
{
xl.AddCoreFilePropertiesPart();
}
        using (XmlWriter xw = XmlWriter.Create(xl.CoreFilePropertiesPart.GetStream(FileMode.Create, FileAccess.Write)))
        {
            xw.WriteStartDocument(true);
            xw.WriteStartElement("cp", "coreProperties", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties");
            xw.WriteAttributeString("xmlns", "dc", null, "http://purl.org/dc/elements/1.1/");
            xw.WriteAttributeString("xmlns", "dcmitype", null, "http://purl.org/dc/dcmitype/");
            xw.WriteAttributeString("xmlns", "dcterms", null, "http://purl.org/dc/terms/");
            xw.WriteAttributeString("xmlns", "xsi", null, "http://www.w3.org/2001/XMLSchema-instance");

            if (this.DocumentProperties.Category.Length > 0)
            {
                xw.WriteElementString("cp", "category", null, this.DocumentProperties.Category);
            }

            if (this.DocumentProperties.ContentStatus.Length > 0)
            {
                xw.WriteElementString("cp", "contentStatus", null, this.DocumentProperties.ContentStatus);
            }

            if (this.DocumentProperties.Created.Length > 0)
            {
                xw.WriteStartElement("dcterms", "created", null);
                xw.WriteAttributeString("xsi", "type", null, "dcterms:W3CDTF");
                xw.WriteString(this.DocumentProperties.Created);
                xw.WriteEndElement();
            }

            if (this.DocumentProperties.Creator.Length > 0)
            {
                xw.WriteElementString("dc", "creator", null, this.DocumentProperties.Creator);
            }

            if (this.DocumentProperties.Description.Length > 0)
            {
                xw.WriteElementString("dc", "description", null, this.DocumentProperties.Description);
            }

            if (this.DocumentProperties.Identifier.Length > 0)
            {
                xw.WriteElementString("dc", "identifier", null, this.DocumentProperties.Identifier);
            }

            if (this.DocumentProperties.Keywords.Length > 0)
            {
                xw.WriteElementString("cp", "keywords", null, this.DocumentProperties.Keywords);
            }

            if (this.DocumentProperties.Language.Length > 0)
            {
                xw.WriteElementString("dc", "language", null, this.DocumentProperties.Language);
            }

            if (this.DocumentProperties.LastModifiedBy.Length > 0)
            {
                xw.WriteElementString("cp", "lastModifiedBy", null, this.DocumentProperties.LastModifiedBy);
            }

            if (this.DocumentProperties.LastPrinted.Length > 0)
            {
                xw.WriteElementString("cp", "lastPrinted", null, this.DocumentProperties.LastPrinted);
            }

            // we're modifying, so we're ignoring the existing one
            xw.WriteStartElement("dcterms", "modified", null);
            xw.WriteAttributeString("xsi", "type", null, "dcterms:W3CDTF");
            xw.WriteString(DateTime.UtcNow.ToString(SLConstants.W3CDTF));
            xw.WriteEndElement();

            if (this.DocumentProperties.Revision.Length > 0)
            {
                xw.WriteElementString("cp", "revision", null, this.DocumentProperties.Revision);
            }

            if (this.DocumentProperties.Subject.Length > 0)
            {
                xw.WriteElementString("dc", "subject", null, this.DocumentProperties.Subject);
            }

            if (this.DocumentProperties.Title.Length > 0)
            {
                xw.WriteElementString("dc", "title", null, this.DocumentProperties.Title);
            }

            if (this.DocumentProperties.Version.Length > 0)
            {
                xw.WriteElementString("cp", "version", null, this.DocumentProperties.Version);
            }

            xw.WriteEndElement();
            xw.WriteEndDocument();
            xw.Close();
        }
    }

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Adam @.>
Sent: 16 March 2021 21:26
To: @.>
Cc: @.>; @.>
Subject: Re: [OfficeDev/Open-XML-SDK] System.IO.IOException: 'Entries cannot be opened multiple times in Update mode (#909)
I had a similar issue when I called .GetStream() twice without closing the previous one. Could you share the code example where you call .GetStream().
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/Open-XML-SDK/issues/909#issuecomment-800385779, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ7O4ISKZFQJUV5KJJ2Y5U3TD55S7ANCNFSM4ZIZDEHQ.

Can you include a full repro? ie something that can be run as-is without adding namespaces/initializing packages/etc?

Hi!!
Please check :
https://github.com/himanshukodwani/SampleReportingErroReproduction.git
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Taylor @.>
Sent: 17 March 2021 02:16
To: @.>
Cc: @.>; @.>
Subject: Re: [OfficeDev/Open-XML-SDK] System.IO.IOException: 'Entries cannot be opened multiple times in Update mode (#909)
Can you include a full repro? ie something that can be run as-is without adding namespaces/initializing packages/etc?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/Open-XML-SDK/issues/909#issuecomment-800592525, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ7O4IVVCBFJEEQ5SJQNL4TTD67RZANCNFSM4ZIZDEHQ.

There is openCoreFilePropertiesPart stream:
  using (XmlWriter xw = XmlWriter.Create(xl.CoreFilePropertiesPart.GetStream(FileMode.Create, FileAccess.Write)))
  {
      xw.WriteStartDocument(true);
      xw.WriteStartElement("cp", "coreProperties", "http://schemas.openxmlformats.org/package/2006/metadata/core-properties");
      xw.WriteAttributeString("xmlns", "dc", null, "http://purl.org/dc/elements/1.1/");
      xw.WriteAttributeString("xmlns", "dcmitype", null, "http://purl.org/dc/dcmitype/");
      //...

It should be closed, for example, like this:

@himanshukodwani Did that work for you? As much as possible, please wrap all disposables with a using so you don't run into this.

Hello, It seems to have corrected the error but there was some corrupt output file problem so I have forwarded your reply to the developer of the spreadsheetlight library.
Thanks a lot for your prompt response.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Taylor Southwick @.>
Sent: Thursday, March 18, 2021 7:04:45 AM
To: OfficeDev/Open-XML-SDK @.>
Cc: himanshukodwani @.>; Mention @.>
Subject: Re: [OfficeDev/Open-XML-SDK] System.IO.IOException: 'Entries cannot be opened multiple times in Update mode (#909)
@himanshukodwanihttps://github.com/himanshukodwani Did that work for you? As much as possible, please wrap all disposables with a using so you don't run into this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/Open-XML-SDK/issues/909#issuecomment-801550320, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ7O4ITNXOLUOMUNECQRUPDTEFKDLANCNFSM4ZIZDEHQ.

Sounds good. I'll close this issue for now. Please reopen if needed or log a new issue if the corruption is related.

I recently used an amazingly effective MS tool for upgrading a WPF .Net Framework app to .Net 6.  Everything worked perfect-perfect except for all of my (too many to contemplate rewriting) reports I created using OpenXML.
doc.Save causes: [System.IO.IOException: 'Entries cannot be opened multiple times in Update mode
File.Copy(sourceWordTemplate, tempReportPath, true);
using (WordprocessingDocument wordDoc = WordprocessingDocument.Open(tempReportPath, true))
{
MainDocumentPart mainPart = wordDoc.MainDocumentPart;
XmlDocument doc = new XmlDocument();
XmlDocument xnRow = new XmlDocument();
doc.Load(mainPart.GetStream());
  // Building of the report which includes replacing text in the source doc,
  // looping through, removing and adding table nodes and rows etc...
  // nowhere in the report building is the word Stream used.

  doc.Save(mainPart.GetStream(FileMode.Create, FileAccess.Write));
  wordDoc.Close();

}
Any ideas?

I recently used an amazingly effective MS tool for upgrading a WPF .Net Framework app to .Net 6. Everything worked perfect-perfect except for all of my (too many to contemplate rewriting) reports I created using OpenXML.
doc.Save causes: [System.IO.IOException: 'Entries cannot be opened multiple times in Update mode
File.Copy(sourceWordTemplate, tempReportPath, true); using (WordprocessingDocument wordDoc = WordprocessingDocument.Open(tempReportPath, true)) { MainDocumentPart mainPart = wordDoc.MainDocumentPart; XmlDocument doc = new XmlDocument(); XmlDocument xnRow = new XmlDocument(); doc.Load(mainPart.GetStream());
  // Building of the report which includes replacing text in the source doc,
  // looping through, removing and adding table nodes and rows etc...
  // nowhere in the report building is the word Stream used.

  doc.Save(mainPart.GetStream(FileMode.Create, FileAccess.Write));
  wordDoc.Close();

} Any ideas?

Found any resolution so far? I am stuck in the same place

Nope, I just pushed it to the bottom of my todo list, hoping for a resolution. It occurred to me that since this closed maybe nobody is actually trying to solve it. When the rubber hits the road, my thought was to download the source and see if I could debug through and fix it myself.
If I do, I'll let you know. If you figure it out first, please let me know, Thanks...

Please see the response in #1188 as well as the comments above. All stream usage should be wrapped with usings. If not, you will see issues like this pop up. It may have worked on .NET Framework, but is still breaking the pattern/contract of streams.
ALWAYS use a using with streams :)

Thanks @twsouthwick, I fixed the issue, fortunately the library was in our control and needless to say plenty of streams were left unclosed. Wrapping them around using worked like a charm

With some recent changes I've made, I believe we can handle this behind the scenes as an opt-in (still better to correctly dispose usings). If anyone is interested, replacing the IPackageFeature with a custom one that will reuse streams if opened should do the trick. The APIs are still internal, but happy to take a PR that allows this as an opt in.

Looks like there is a fork of SpreadsheetLight made specifically for .NET 6 that solves the problem. SpreadsheetLight.Cross.Platform version 3.5.1.

How does it fix it? Looks like it's using the SDK as a dependency so it'll have the same issue

If you are trying to GetStream() you need to close it after your function end his job before you call it again once.
Stream stream = stylesPart.GetStream(FileMode.OpenOrCreate, FileAccess.Write);
newStyles.Save(new StreamWriter(stream));
stream.Close();

Looks like there is a fork of SpreadsheetLight made specifically for .NET 6 that solves the problem. SpreadsheetLight.Cross.Platform version 3.5.1.

It works, I'm using net 8.0 and I installed the library in that version for return a xlsx document modified from a memoryStream as a FileContentResult response in a asp.net API, and that fixed the issue

note: better to use the following pattern:
using Stream stream = stylesPart.GetStream(FileMode.OpenOrCreate, FileAccess.Write);
newStyles.Save(new StreamWriter(stream));

to ensure even with exceptions things get closed out


MicroStrategyR package was removed from CRAN

Package ‘MicroStrategyR’ was removed from the CRAN repository.
Formerly available versions can be obtained from the archive.
Archived on 2020-04-29 as email bounced when asked for update.
Please use the canonical form https://CRAN.R-project.org/package=MicroStrategyR to link to this page.
Any insights as to if this package will be re-activated? I'm pretty sure this doesn't come installed with higher versions of MicroStrategy unlike the R Integration Pack.

I was able to get the archive MicroStrategyR package installed and working. RVersion 3.5.1. Here are the steps.

Download the archive package. File name = MicroStrategyR_1.0-1.tar.gz
https://cran.r-project.org/src/contrib/Archive/MicroStrategyR/MicroStrategyR_1.0-1.tar.gz

install.packages("gWidgetsRGtk2")
This actually downloaded a tar.gz package I had to manually install.

3 Activate the library(gWidgetsRGtk2)

Manually install MicroStrategyR_1.0-1.tar.gz

Activate the library(MicroStrategyR)
type deployR() and a screen should appear.


[Feature request] Alternative eject method for Synology devices

Idea
I'm experiencing the same problem described in this issue: https://github.com/jlesage/docker-makemkv/issues/84
That account has been deleted so I filed a new issue to suggest a workaround.
While searching around online for a solution, I found this page which describes how to send raw SCSI commands (including eject): https://github.com/hreinecke/sg3_utils/blob/master/doc/sg_raw.8#L218
The sg_raw utility is available in this package: https://pkgs.alpinelinux.org/package/edge/community/x86/sg3_utils
I tried this out in the container:
$ sudo docker exec -it makemkv sh
/tmp # apk add sg3_utils
/tmp # sg_raw /dev/sg6 1b 00 00 00 02 00

And it successfully opened the tray of the WH16NS60 drive connected to my Synology.
Would it be possible to add this as an alternative eject method behind an SG_RAW_EJECT environment variable or something? That would minimize the risk to other users while allowing the AUTO_DISC_RIPPER_EJECT to function properly on Synology devices.
I'm a little bit new to Docker but I'd be happy to try to implement this if you'd prefer a PR.

I tried this Dockerfile and it works as expected on my Synology:
FROM jlesage/makemkv

RUN apk add sg3_utils
RUN sed -i 's/eject "$DRV_DEV"/sg_raw "$DRV_DEV" 1b 00 00 00 02 00/' /opt/makemkv/bin/autodiscripper

Built with: sudo docker build -t custom-makemkv:latest .
Run with image: custom-makemkv:latest in my usual docker-compose.yml.


Getting started refresh

NEEDS REVIEW and editing
overhaul of the Getting Started guide
includes a lot of content from Alexey Shiklomanov's Quickstart Guide
will be putting together a table of content gaps & editing requests for the dev team

I finished reviewing this PR and overall it looks really good.
I also ran through the connecting to GitLab and cloning and that worked as expected.
Does everyone else have a bunch of files in their home directory for OPS? I don't believe I did anything to create them and they clutter up the home directory. I started full time at JPL about 7 months ago when it says the files were created

gonna close this and migrate to https://github.com/MAAP-Project/maap-documentation/tree/Getting-Started-pr-branch
where we can make more changes before doing the PR. Also I will add the built version of that branch to the readthedocs sites: https://docs.maap-project.org/en/getting-started-pr-branch/


Add recursive toggle

Feature: https://github.com/microsoft/vscode/issues/88915
This PR adds a recursive toggle fold command. There is already a fold, unfold and toggle fold command, but for recursive fold and unfold there is no recursive toggle fold command.
The command is accessible using shortcut ⌘K ⌘P. I would have preferred using ⌘K ⌘O since its less of a stretch for your fingers, but I felt this would be a bit confusing since there is already a command ⌘K ⌘0 related to folding. Happy to change it if there's any other suggestions.
Will create a PR into the vscode-docs repo as well to include this once reviewed.

@aeschli following up on this PR, myself and a number of engineers at my company are looking forward to this feature

I changed the keybinding to Ctrl + K / Ctrl + Shift + L


Can't deis register

I'm using v2, created a cluster in aws following the docs (kubernetes) and trying to deis register, it's saying
Registration failed: Error:
401 Unauthorized
Unauthorized
Why can't I create a new user?

Closing as it seems you figured it out thanks to @jchauncey's help in https://github.com/deis/controller/issues/405#issuecomment-207897793. :)


Remove hardcoded acquire mode and allow users to set acquire mode for trace on Infiniium driver

Changes proposed in this pull request:

Move setting of acquire_mode to prepare_curvedata method of RawTrace param

To Do:

[ ] Test driver

@astafan8 @jenshnielsen

@Akshita07 I just spoke with Rachpon about this. He would like for the acquire mode to only be set once, perhaps in the constructor, but not set before acquiring data. Would it be possible to set it in the constructor instead (just to the default value) and then just have the user call dso.acquire_mode("my_mode") if they want to?

@guenp Sure we can try to do this and we have to make sure that any changes do not break current user's code. This was the main reason for me asking what other changes to the driver Rachpon has to make to the driver for his measurements. I will go through the manual and check if the RawTrace parameter can handle all acquire_modes and will reach out to Rachpon as well to understand better.

I agree that we should do this. It is a breaking change but it is a good one. We should however make sure that this is mentioned in the changelog as a breaking change

@Akshita07 I think this is simple enough that we can merge without testing.
@sohailc Please make sure that this change to how the scope works is called out as a breaking change in the changelog


Calculate summary variables only when they are called

As discussed in #3995

create a SummaryVariable object that saves solution.last_state and uses it to calculate the esoh variables only when they are called (the same way as Solution calculates the variables only when they are called)
allow users to pass in functions that calculate summary variables based on other variables

@rtimms reading through #3995 it looks like the decision was to not allow users to define their own summary variables, have I got that right?

If we just keep summary variables as a list then I think defining your own summary variables is hard. Right now the summary variables just calculate the value of the variable at the last time point, and then change in that variable.
We could do something more complicated like pass in functions that take a solution and perform some operation to get a summary variable, but I'm not sure there is a strong use case for this. It can always be done as a post-processing step. If you only want the last value of some quantity then users can add custom variables to the model and then add that to the list of summary variables.


Fix pts -> index conversion in get_frame_at_timestamps[_in_range]

This is a fix for the bug described in https://github.com/pytorch/torchcodec/pull/286. We use a sightly different solution as suggested in https://github.com/pytorch/torchcodec/pull/286#issuecomment-2435362727.
This PR fixes the behavior of both get_frame_at_timestamps() and get_frames_at_timestamps_in_range().

Thanks for the review Ahmad. @scotts , I'll merge this now so I can move https://github.com/pytorch/torchcodec/pull/284 forward, but I'll happily address any further comment you may have

Just commenting to chime in on the actual merged PR that is is a great catch. Thanks for fixing my bug. :)


Popup window remains visible after alt+tab from editor in x11

Tested versions

Reproducible in: 4.3.dev (f91db3dc5), 4.0.4-stable

System information
Godot v4.3.dev (f91db3dc5) - Ubuntu 20.04.6 LTS (Focal Fossa) - X11 - GLES3 (Compatibility)
Issue description
When alt-tab from the editor while having an open PopupMenu object, this Window remains visible, overlaying other windows unrelated to the editor. Might be related to https://github.com/godotengine/godot/issues/85403?

Steps to reproduce

Create a new project
Add a PointLight2D Node (although any node with a PopupMenu will work)
Open the Texture options (also works with the Script options, at the bottom)
Alt + Tab to another window that "replaces" the IDE

Minimal reproduction project (MRP)
test-project.zip

I have been working on a way to fix this issue. It involves sending a DisplayServerX11::WINDOW_EVENT_CLOSE_REQUEST event to the Focused Popup window whenever a FocusOut event is processed. I'm currently reading the Contribution Guide to follow the appropriate steps for submitting the proposal

It looks like #68856 is a potential duplicate.

Both are probably functionally a duplicate of:

https://github.com/godotengine/godot/issues/63405


Results in evaluate.py are now sorted in human-readable order.

As @jmkuebler pointed out in the letter, we forgot to preserve the correct ordering of the result files when loading loading them from disk. This is the fix.

Perfect, now it does exactly what I wanted and the figure coincides with the one in the paper.

@jmkuebler @jcpassy Ok, thanks! Merged.


rancher provisionning openstack

Hi,
Why openstack provisionning not appear in choice ?

This is a duplicate of https://github.com/rancher/rancher/issues/1170. The API is supported for OpenStack, but the UI doesn't show the choices yet. It will be addressed in several weeks.


Ensure the Modify Features Test example opens at correct zoom

The default projection isn't ideal for this example, but its side affects can be averted by setting multiWorld: true so the view opens at zoom 2 regardless of display width and setting wrapX false on source so the features appear only in one place.

Perhaps the same should apply to the Dynamic Data and GeoJSON examples? (although only for visual effect as there is no interaction outside the opening view).


player iframes should last longer

It sucks getting 3-shot by the shooty npc. Make iframes last a bit longer, so player only gets hit once.

raised it to 0.4 seconds. Feels a bit better.
The Iframes animation isn't very good though. Could be better.


fix: [CDE-555]: run lifecycle commands in parallel and allow object type

(#3161)

fix: CDE-555: run commands in parallel
fix: CDE-555: update parsing and add discriminator

(cherry picked from commit a1c91d1aa6952714bf92117aae59d1fac0939009)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


replace non-TCGA adj allel freq with calculated exac adjusted allele count

(from genome/civic-server#243)
Since we don't seem to be getting anything from exac non-TCGA adjusted allele frequency I think we should move that entry from the static box and into the MyVariant.Info pop up and replace it with the general adjusted allele frequency. This isn't provided directly by MyVariant.Info, it will need to be calculated from existing MyVariant.Info parameters.
This requires getting the exac adjusted allele count (exac.ac_adj) and the exac adjusted allele number (exac.an_adj). Then just calculate the frequency which is allele count divided by allele number (aka total number of alleles).
exac.ac_adj/exac.an_adj
Allele count and allele number could then be in the MyVariant.Info pop up.
Move non-TCGA adj allel freq to popup window.

I'm adding a high priority to this. Currently we are missing out on ExAc.


Missing component(s) in project!

Yourr project looks interesting given that I'm using it right now.   I'm trying to use your project.   I followed the instructions you have your page.    When I try to run it I get this....
NOTE: invoke script just calls it the way you wrote it..
USERNAME=user-1000 PASSWORD=America!1234 TARGET_RESOURCES=ALPHA npm run gen:token
./invoke
npm ERR! missing script: gen:token
So you are missing the script for gen function.   Can you update your project to include it?
Furthermore, don't you require the URL to the cognito account?   That is the URL with the Cognito user chosen domain?    I thought the authentication would be done through that URL.

Hi @cp10000! This is an old project that was a very quick hack/POC. There is another version that I will publish to NPM in the next day or two.


Copy Link does not work

Hi,
am I wrong or does the "Copy" Action under Dashboard does not work?

ok this is more troublesome. let's start with "it works on my pc", do you receive any weird log in console.log or docker?
also are you linking the db to a volume or using it volatile? (as in docker run, i'm not sure about persistance throu different docker restarts)

also do you receive the toast?

Initially I ran it without any volumes or bindings.
Logs look like normal I guess:
Container started 11.01.2024 13:11:17 🖥  Starting handle server side 11.01.2024 13:11:20 npm notice  11.01.2024 13:11:20 npm notice New minor version of npm available! 10.2.3 -> 10.3.0 11.01.2024 13:11:20 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.3.0> 11.01.2024 13:11:20 npm notice Run npm install -g<EMAIL_ADDRESS>to update! 11.01.2024 13:11:20 npm notice  11.01.2024 13:11:20 Prisma schema loaded from prisma/schema.prisma 11.01.2024 13:11:20 Datasource "db": SQLite database "db.sqlite" at "file:./db.sqlite" 11.01.2024 13:11:20 11.01.2024 13:11:20 The database is already in sync with the Prisma schema. 11.01.2024 13:11:20 11.01.2024 13:11:20 Running generate... (Use --skip-generate to skip the generators) 11.01.2024 13:11:20 AGRunning generate... - Prisma Client 11.01.2024 13:11:20 AG✔ Generated Prisma Client (v5.6.0) to ./node_modules/@prisma/client in 293ms 11.01.2024 13:11:20 11.01.2024 13:11:20 11.01.2024 13:11:20 Database is up to date. 11.01.2024 13:11:20 🕐 Setting up Scheduled Jobs 11.01.2024 13:11:20 --- 🧹 Cleaning (0) Scheduled Jobs already set. 11.01.2024 13:11:20 --- ✔  (1) Jobs Scheduled 11.01.2024 13:11:20 Listening on <IP_ADDRESS>:3000
I just tried to recreate it with a volume, but cannot copy the link as well.

also do you receive the toast?

What do you mean by toast?

the notification of "url has been copied" in the bottom right corner

also, try new version

the notification of "url has been copied" in the bottom right corner

No, there is no notification.
I will try the new version

let's try a different approach, what system are you using? where is installed the app? which browser and os are you tyring to use it with? :)

System:
Ubuntu Ubuntu 20.04.6 LTS focal with kernel 5.4.0-164-generic
Docker 24.0.5 and docker-compose version 1.29.2, build 5becea4c
The compose file is under /opt/stacks the volume under /var/lib/docker
Browser:
Edge Version 120.0.2210.121
In your demo version copying works, just not on my container.
I just tried pulling the latest version, but without any success and now I am stuck at downloading the image.
What was the old version tag?

image won't download?

yeah, it seems related to the db, can i ask you to provide compose?

version: "3.3" services:   snapp:     container_name: snapp     hostname: snapp     restart: unless-stopped     ports:       - 8003:3000     environment:       - ORIGIN=http://my.domain:8003       - PUBLIC_URL=http://my.domain:8003       - NODE_ENV=development       - ENABLE_MULTIUSER=true     image: uraniadev/snapp:0.5     volumes:       - snapp-data:/app/prisma     networks:       - npm networks:   npm:     external: true volumes:   snapp-data:     external: true     #https://noted.lol/snapp/     #https://hub.docker.com/r/uraniadev/snapp

ok, as i tought, you linked as a volume the entire directory, i suspect that it will try to look for the scheme in the same folder.
just touch a db.sqlite file in the folder of your choice and point at it.

home/user/snapp/db.sqlite:/app/prisma/db.sqlite

check if it solve the problem :)

Ok, the container is up and running again.
Copying the link still does not work unfortunately

Sad to ear that.
I'm currently working on version 0.6.2 and 0.6.3, if you are willingly we can plan to check the setup togethere maybe on discord one of this days.
(are you in GMT+1 timezone, right?)

Yeah we can do that

I don't know if you had the chance of reading issue pinned in top, after thinking about your issue and the requested features, i decided to remove tabler as i first started just to try It out, it Is good, but maybe something i can control better can improve user experience.
I ask you to kindly wait for next release, should not take that long and will aim to solve this :)

ok, no problem.
I will try when it is available

thank you for your understanding. i will close this issue, but feel free to reopen it whenever you deem it necessary :)

I now know why. Implementing new version i noticed that the documentation changed through the years and clipboard is only available through HTTPS, so maybe that's the reason why your instance doesn't want to copy urls.
try secure your localhost / my.domain with https
or list it in your browser settings, if allowed
[https://bobbyhadz.com/blog/navigator-clipboard-is-undefined-in-javascript](Here an article talking about it)


add -a .highlight option

This will add parent class .highlight and add the built-in background-color to the css.
http://pygments.org/docs/cmdline/#generating-styles

It looks like pygments does now wrap its container with the class highlight by default -- see cssclass in that section. Maybe that should be reflected here?

FWIW I'm using Pygments 2.2.0 currently to highlight with Hugo and my output pre has the highlight class. It's not clear to me if Hugo is adding it to make it easier for Jekyll ports or if it's a Pygments thing.


fix(scap): don't crash without filter in sinsp-example

If -f is not passed to sinsp-example, get_filter_ast() returns nullptr, so we immediately crash when trying to analyze the (non-existent) AST.

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap-engine-udig

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gnosek
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [gnosek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, gnosek
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,gnosek]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: c071713646bb2bdfa074383d796cabaa51ba56db

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, gnosek, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,gnosek,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Option to change port in webpackHotDevClient

Hi thanks for everyone's work on this project so far.
Quick question.  I've run into some configuration woes wherein I need webpackHodDevClient to use a different port for the websocket connection  Currently, it infers the information for the sockjs connection from window.location.port.  The trouble I'm running into is that my index.html is being served from a different port than the webpack dev server is running on.  For more specific background, I'm migrating from a configuration like this: http://jmfurlott.com/tutorial-setting-up-a-simple-isomorphic-react-app/.  I have a small NodeJS server that acts as an oAuth client and provides a few endpoints to my react app.  It therefore needs to serve index.html itself rather than serving the static index.html that ships with CRA.
I have already ejected, as my above use case is pretty specific.  What I'm wondering is if CRA should provide some kind of option (I may be overlooking it) to affect this configuration within webpackHotDevClient or should it otherwise include the client in the ejected contents such as the scripts and config files.
Sorry if this is at all redundant I combed through issues and couldn't find anything quite like this.  Also quite possible I'm not taking advantage of some features of CRA that may help me avoid this situation altogether?

will this help? https://github.com/facebookincubator/create-react-app/pull/1994

@viankakrisna Yes I think either that or #1588 will solve my issue thank you for pointing this out.


GTKMM3 related error while installing Cadabra on Windows

Operating system
Windows
Compiler
No response
Steps to reproduce the behavior
I'm trying to install Cadabra on Windows. Following the instructions (written below), I inevitably get stuck near the very end, after cloning the repository and whilst using cmake.

git clone https://github.com/Microsoft/vcpkg

cd vcpkg
bootstrap-vcpkg.bat

vcpkg install mpir:x64-windows glibmm:x64-windows sqlite3:x64-windows
vcpkg install boost-system:x64-windows boost-asio:x64-windows boost-uuid:x64-windows boost-program-options:x64-windows boost-signals2:x64-windows boost-property-tree:x64-windowsboost-date-time:x64-windows boost-filesystem:x64-windows boost-ublas:x64-windows

vcpkg install gtkmm:x64-windows
vcpkg integrate install

cd ..
git clone https://github.com/kpeeters/cadabra2
cd cadabra2
mkdir build
cd build

cmake -DCMAKE_TOOLCHAIN_FILE=[the path obtained in the last step] -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_INSTALL_PREFIX=C:\Cadabra -G "Visual Studio 17 2022" -A x64 ..

which results in an error - namely, the library called 'gdkmm' missing.

Failure logs
CMake Error at cmake/windows.cmake:197 (message):
Could NOT find library gdkmm required for GTKMM3_LIBRARIES
Call Stack (most recent call first):
cmake/modules/FindGTKMM3.cmake:3 (windows_find_library)
C:/codestuf/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
frontend/CMakeLists.txt:24 (find_package)
Additional context
Previously, I've had the exact same error pop up for two other libraries, 'atkmm' and 'gdk', but solved these two by typing the following into the terminal:
vcpkg install atkmm:x64-windows
vcpkg install gtk3:x64-windows
respectively. (The first one might be redundant, I am not sure.)
This caveman-mentality approach to solving the issue was inspired by the directions themselves, as one of the previous steps utilizes vcpkg install gtkmm:x64-windows, which should (I guess?) install everything necessary, but it doesn't seem to do so.
My question, then, is how can I download/install/build gdkmm on my Windows OS? I have tried using similar commands like:
vcpkg install gdkmm:x64-windows
but what I'm met with is another error, stating that this does not exist. My guess is that all of the above were somehow and somewhere located in my vcpkg folder locally, whereas the one from above is missing.

You install gtk3 in vcpkg and then try to compile cadabra2.
./vcpkg install gtk3

I have done that as well, but I am still met with the same error. 'gdkmm' seems to be missing

Port gtkmm is for gtk which is version 4.
For gtk3, you would probably need (to add) gtkmm3.
(gtk3 isn't a first class citizen. It was added back a while after upgrading gtk because some ports really need that version, e.g. wxwidgets.)

Forgive me for not understanding as I am quite new to this whole shebang, but I've installed everything that you've mentioned. What I am missing (or what the error states that I am missing) is gDkmm.
When I open up cadabra's 'FindGTKMM3' CMake Source File, these are the libraries it searches for:
windows_find_library(GTKMM3_LIBRARIES
	gtk gdk gdk_pixbuf pangocairo pango atk gio gobject
	gmodule glib cairo-gobject cairo intl atkmm cairomm
	**gdkmm** giomm glibmm gtkmm pangomm
  )

The rest have been both installed and found successfully.

Let me summarize it differently:

lib gdkmm is provided by port gtkmm.
Cadabra wants gtkmm version 3.
Cf. https://github.com/kpeeters/cadabra2/blob/master/cmake/modules/FindGTKMM3.cmake
In vcpkg, gtkmm (and gtk) were upgraded from version 3 to version 4 in April 2021, #13100.
I assume that the cadabra instructions no longer work since this time.
Related: https://github.com/kpeeters/cadabra2/issues/233
gkt3 was added back to vcpkg as a separate port by the community, but there is no corresponding gtkmm3 port.

I think I understand now, thanks.
Is it then possible to maybe rollback somehow to the previous version of gtkmm or am I out of options?

The easiest way to start might be to write a vcpkg.json manifest to define the dependencies, including version requirements. See documentation on vcpkg manifest mode.
But this will be using build recipes from April 2021 at least for some ports. I don't know if this configuration will work well today. That's why I didn't add a recommendation to my other post.
I also added a note to https://github.com/kpeeters/cadabra2/issues/233, to give upstream a chance to look at the issue again (or at least remove the instructions when it is verified that they are no longer working).

I'll try dabbling with that for a bit, but I'm a little doubtful because I've never done anything like it before. Thank you for your input!

@Fajeux Did the compilation go normally after you added gtkmm version 3 using manifest mode?

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


uses global position config when not overwritten

This fixes an issue where specifying a global position config, any subsequent calls to Alert, resets the position back to the default "top-right".

oh :/ nasty bug, my bad. Many thanks!


[MODCON - 64] - Fixed transaction behaviour of saving tenant method

Purpose
Describe the purpose of the pull request.
https://issues.folio.org/browse/MODCON-64
Approach
How does this change fulfill the purpose?
TODOS and Open Questions

[ ] Use GitHub checklists. When solved, check the box and explain the answer.

Learning
Describe the research stage. Add links to blog posts, patterns, libraries or addons used to solve this problem.


[Flat config] Extension only read eslint.config.js at the root of the project

Hello,
I'm recently using the ESLint flat configuration and the configuration file seems to not be handled at the same bevahior than before (The previous configuration file format).
Here is an example of my monorepo project:
└── project/
    ├── apps/
    │   └── app-1/ <-- Git submodule
    │       ├── ...
    │       └── eslint.config.js
    ├── packages/
    │   └── package-1/
    │       └── ...
    └── eslint.config.js

In this situation, ESLint server will load the eslint.config.js file at the project root, even if I try to lint (Using auto fix) a file inside apps/app-1, which is a Git submodule. This situation is also true if this is not a git submodule.
With the previous file format, like described here:
└── project/
    ├── apps/
    │   └── app-1/ <-- Git submodule
    │       ├── ...
    │       └── .eslintrc.cjs
    ├── packages/
    │   └── package-1/
    │       └── ...
    └── .eslintrc.cjs

If I lint a file (Using auto fix) inside apps/app-1, ESLint server will load the file at apps/app-1/.eslintrc.cjs to lint the file.
Regarding my Git configuration (Submodule), I need to have a separate ESLint configuration file because I want to use the configuration in my CI and I also want my submodule to not be coupled with the monorepo configuration.
I can provide a reproduction project if necessary.
Regards.

Same problem although we're using a monorepo and not submodules. We don't have a root eslint.config.js so we're just getting
Uncaught exception received.
Error: Could not find config file.

The resolving strategy of flat config files has changed in ESLint itself compared to former configuration files. @joris-fonck-loreal what happens if you validate a file in apps\app-1 in the terminal using ESLint on the command line while being the the directory project?

@dbaeumer cross referencing this which includes a repro.

The resolving strategy of flat config files has changed in ESLint itself compared to former configuration files. @joris-fonck-loreal what happens if you validate a file in apps\app-1 in the terminal using ESLint on the command line while being the the directory project?

When I run npx eslint apps/app-1/src/main.ts in project folder, it use the eslint.config.js from project folder.
When I run npx eslint src/main.ts in apps/app-1 folder, it use eslint.config.js from apps/app-1 folder.

@dbaeumer reading more of the eslint source code lintText calls calculateConfigArray which passes through the eslintOptions which has a configFile so that should make it possible to pass in a specific config file even if eslint it self is not using the current file path as part of its config file resolution.

Just to be sure: you both enable flat config by setting "eslint.experimental.useFlatConfig":true. The reason for this is that flat config is still experimental in terms of the ESLint API I need to load hence I need a clear hint which API to us.

Yes, this setting is enable on my side.

Just to be sure: you both enable flat config by setting "eslint.experimental.useFlatConfig":true. in VS Code settings. The reason for this is that flat config is still experimental in terms of the ESLint API I need to load hence I need a clear hint which API to us.

Yep. I created a repro here.
https://github.com/phawxby/eslint-flat-bug

@phawxby with flat configs the way how configs are resolved changed. They are to my knowledge not resolved relative to the file that is validated anymore, but to the root directory. So you need to let the eslint extension know which of those you use. Adding
  "eslint.workingDirectories": [
    "./packages/package-1",
    "./packages/package-2"
  ]

to the settings makes things work for me (I don't see any Error that a config file can't be found. However since the foo.js files are empty I can't tell if validation actually happens.
@joris-fonck-loreal you can check if this helps you as well. If not, can you please provide me with a GitHub repository I can clone with a minimal setup that reproduces what you are seeing.

Can we use syntax like this?
 "eslint.workingDirectories": [
    "./packages/*"
  ]

@joris-fonck-loreal you actually can but you need to let me know that it is a pattern since it is not easy to determine if no * are in it. The syntax will is
  "eslint.workingDirectories": [
    { "pattern": "./packages/*" }
  ]

I will close the issue since there is little I can do to fix this due to the change in ESLint how flat configs are resolved compared to older configs.

@dbaeumer that works perfectly! Might be worth calling out somewhere that flat configs require a change in config for working directories due to resolution changes


Add padding_type parameter to FrameSkipObservation and change default to "reset" to preserve backwards comp

Description
FrameStacking as initially (from long time ago) designed filled the buffer with the initial observation from env.reset, I.e. repeated many times as the stacking number.
In the re-implementation the assumption changed to fill it with zeroes, but this not only breaks many codes, it breaks "what is expected" and its proper documentation design.
I have fixed this by using its proper definition:
Note:
        - After :meth:`reset` is called, the frame buffer will be filled with the initial observation.
          I.e. the observation returned by :meth:`reset` will consist of `num_stack` many identical frames.

Fixes #829
Also, I have modified the call to super() with self.env as this is the right way for working with wrappers.
If super() used then unexpected errors can arise when using multiple wrappers.
Type of change
Please delete options that are not relevant.

[X ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Screenshots
Please attach before and after screenshots of the change if applicable.
Before:
Original env:
[ 1.25 -0.   -0.   -0.    0.   -0.    0.    0.   -0.   -0.    0.  ]

Stacked env:
[[ 0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  ]
 [ 0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  ]
 [ 0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  ]
 [ 0.    0.    0.    0.    0.    0.    0.    0.    0.    0.    0.  ]
 [ 1.25 -0.    0.    0.    0.    0.    0.   -0.   -0.    0.    0.  ]]

After:
Original env:
[ 1.25  0.   -0.   -0.    0.   -0.    0.   -0.   -0.   -0.    0.  ]

Stacked env:
[[ 1.25 -0.   -0.   -0.    0.    0.    0.    0.    0.   -0.   -0.  ]
 [ 1.25 -0.   -0.   -0.    0.    0.    0.    0.    0.   -0.   -0.  ]
 [ 1.25 -0.   -0.   -0.    0.    0.    0.    0.    0.   -0.   -0.  ]
 [ 1.25 -0.   -0.   -0.    0.    0.    0.    0.    0.   -0.   -0.  ]
 [ 1.25 -0.   -0.   -0.    0.    0.    0.    0.    0.   -0.   -0.  ]]

Checklist:

[ ] I have run the pre-commit checks with pre-commit run --all-files (see CONTRIBUTING.md instructions to set it up)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

@jamartinh I have made some changes to your implementation, before I merge, are you happy with the changes and new tests

Good, thanks!


hey all, I came across this repo while trying a few things on my Epson printers but i'm having trouble connecting to either of my printers (1 Lan and 1 USB) using this latest version 4.0.0-beta.6

          hey all, I came across this repo while trying a few things on my Epson printers but i'm having trouble connecting to either of my printers (1 Lan and 1 USB) using this latest version `4.0.0-beta.6`

I'm just trying the example provided but i keep getting an Error Printer is not initialized. Please call init() first.
I've tried running printerInstance.init() before the queueTaks but no luck either. Any ideas why i might be getting this?
Thanks!

export const printSimpleReceipt = async (target, deviceName) => {
    try {
      const printerInstance = new Printer({
        target: target,
        deviceName: deviceName,
      })

      await printerInstance.addQueueTask(async () => {
        await Printer.tryToConnectUntil(
          printerInstance,
          (status) => status.online.statusCode === PrinterConstants.TRUE
        );

        await printerInstance.addText('Hello world!');
        await printerInstance.addFeedLine();
        await printerInstance.addCut();
        await printerInstance.sendData();

        await printerInstance.disconnect();
      })

    } catch (e) {
      throw e
  }
}

Originally posted by @omarst9 in https://github.com/tr3v3r/react-native-esc-pos-printer/issues/139#issuecomment-2100644061

@tr3v3r the USB printer is TM-T88v and the LAN is TM-T82II

@omarst9 before printing have you used printer discover?
If it possible post the target and device name you're passing to Printer class

Yes, I was using printer discover. I confirmed the taeget and deviceName were both correct
   const printerInstance = new Printer({
      target: "USB:/dev/bus/usb/002/002",
      deviceName: "TM-T88V",
    });

I got it to work now after I rebuilt the app. I had the 3.0.2 version installed before i updated to 4.0.6 so that was most likely the reason.


Add Quiz app

#422

@edm00se  please accept my pull request

Closing as not an acceptable submission.


Add Bignum to the allowed types for the "id" field.

The JSON-RPC spec says this about the "id" field:  "The request id. This
can be of any type."
The particular issue I was running into is that the client uses
rand(10**12) to generate the id.  That overflows a Fixnum on a 32 bit
box (my linode in this case), leading to a Bignum.
Since JSON allows any form of number we should probably do something
more like a kind_of?(Numeric), but I'll leave it to someone else to make
more significant changes.

Fixed in #3, thanks for the catch!


added service_bus module

added service_bus module.
here is the sample of how to use it
main.tf

hi @siavashghf2000 we have a duplicate with https://github.com/aztfmod/terraform-azurerm-caf/pull/757.
Since this one is still a draft, please let me know how you want to proceed, you can rebase on aztfmod:service-bus or we can have a look on it with @jorseng to see how it complements each other.

Closing as will use #757 as way forward since this one still marked as draft.


Storybook's addon-knobs Is deprecated

The latest version of @storybook/addon-knobs informs that it has been deprecated in favour of addon-controls

we may wish to delay updating this until after we've updated our components to use typescript types for props, rather than proptypes - IIRC the automatic doc generation in storybook will automatically pick up quite a few things from those type definitions and include them in controls

use typescript types for props, rather than proptypes

I think @marksy may be looking at some TypeScript things and may want to look at this?
May need a ticket for this?


2024-11-14 LLM Exploration Initiation Weekly Call Kick-off

Date
2024-11-14 - 12pm ET / 5pm GMT
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Introductions
[ ] Kickoff & LLM-E History overview
[ ] Chair Introduction
[ ] Discussion around recent blog post
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

Zoom info
Join Zoom Meeting
https://zoom.us/j/93805835465
Meeting ID: 938 0583 5465
Passcode: 724143
Find your local number: https://zoom.us/u/aHHeTieyi

Peter Smulovics / Morgan Stanley

Alvin Shih / Morgan Stanley

Karl Moll / FINOS

Manuel Martos / TradeHeader

Asad Ateeque - NatWest

Peter Crosbie - Provectus

Luca Borella / FINOS

hackathon use cases https://github.com/finos/ai-readiness/discussions

Untracked Attendees:
Pavan Deevi - Wellington Management


fix: Push back minimal VSCode version to 1.77.0

We should update the minimal VSCode version only if needed. That way we can support more users running older builds of VsCode.

Tested locally on a VSCode 1.82.0


App crash when using apple pay

Error:
***** Fatal JavaScript exception - application has been terminated. *****
NativeScript encountered a fatal error: Uncaught Error: The data couldn‚Äôt be read because it isn‚Äôt in the correct format.
at
PKPaymentAuthorizationViewControllerDelegateImpl.paymentAuthorizationViewControllerDidAuthorizePaymentHandler(file: src/webpack:/vois-mgov/node_modules/@nativescript/apple-pay/payment-authorization-view-controller-delegate.ios.js:43:0)
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: The data couldn‚Äôt be read because it isn‚Äôt in the correct format.
at
PKPaymentAuthorizationViewControllerDelegateImpl.paymentAuthorizationViewControllerDidAuthorizePaymentHandler(file: src/webpack:/vois-mgov/node_modules/@nativescript/apple-pay/payment-authorization-view-controller-delegate.ios.js:43:0)
', reason: '(null)'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff20406d44 __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007fff201a4a65 objc_exception_throw + 48
2   NativeScript                        0x000000010610de7e __copy_helper_block_e8_32o + 0
3   libdispatch.dylib                   0x00007fff201148e4 _dispatch_call_block_and_release + 12
4   libdispatch.dylib                   0x00007fff20115b25 _dispatch_client_callout + 8
5   libdispatch.dylib                   0x00007fff20123043 _dispatch_main_queue_drain + 1050
6   libdispatch.dylib                   0x00007fff20122c1b _dispatch_main_queue_callback_4

code:
const MERCHANTID = '388333172821828292929';
const SomeIdentifierFromPaymentProvider = '89290109290129912088';

export const onApplePayTap = async (args?: any) => {
  //try {
  // just ensuring this runs only on iOS
  if (isIOS) {
    const applePayBtn = args.object as ApplePayBtn

    // setup the event listeners for the delegate for apple pay for our button
    applePayBtn.once(ApplePayEvents.DidAuthorizePaymentHandler, async (args: any) => {
      console.log('in authorize handler')
      console.log(ApplePayEvents.DidAuthorizePaymentHandler)

      // this is where you do backend processing with your payment provider (Stripe, PayPal, etc.)
      // this payload is just a sample, your payload to a provider will likely be different
      // you can see here how to access the encrypted values from Apple Pay inside the `args.data.paymentData`
      const payloadToBackend = {
        transaction_type: 'purchase',
        merchant_ref: args.data.paymentData.header.transactionId,
        method: '3DS',
        '3DS': {
          merchantIdentifier: SomeIdentifierFromPaymentProvider,
          data: args.data.paymentData.data,
          signature: args.data.paymentData.signature,
          version: args.data.paymentData.version,
          header: args.data.paymentData.header
        }
      }

      const result = true //await this.someHttpMethodToYourProviderBackend(payloadToBackend)

      if (result) {
        // need this to call when the payment is successful to close the payment sheet correctly on iOS
        args.completion(ApplePayTransactionStatus.Success)
        // now you can follow through with your user flow since the transaction has been successful with your provider
      } else {
        // payment failed on the backend, so show the FAILURE to close the Apple Pay sheet
        args.completion(ApplePayTransactionStatus.Failure)
      }
    })

    // these are the items your customer is paying for
    const paymentItems = ([
      {
        amount: 20.5,
        label: 'Balance',
        type: ApplePayPaymentItemType.Final
      }
    ] as unknown) as ApplePayItems[]

    const request = {
      paymentItems,
      merchantId: MERCHANTID // the merchant ID for this app
      merchantCapabilities: ApplePayMerchantCapability.ThreeDS,
      countryCode: 'US',
      currencyCode: 'USD',
      shippingContactFields: [ApplePayContactFields.Name, ApplePayContactFields.PostalAddress],
      billingContactFields: [ApplePayContactFields.Name, ApplePayContactFields.PostalAddress],
      supportedNetworks: [
        ApplePayNetworks.Amex,
        ApplePayNetworks.Visa,
        ApplePayNetworks.Discover,
        ApplePayNetworks.MasterCard
      ]
    } as ApplePayRequest

    // `createPaymentRequest` will call into the Apple Pay SDK and present the user with the payment sheet for the configuration provided
    await applePayBtn.createPaymentRequest(request).catch((err) => {
      console.log('Apple Pay Error', err)
    })
  }

The reason that payment in the following function is an empty object:
 /**
     * Tells the delegate that the user has authorized the payment request and asks for a result.
     * @param controller
     * @param payment
     * @param completion
     */
    PKPaymentAuthorizationViewControllerDelegateImpl.prototype.paymentAuthorizationViewControllerDidAuthorizePaymentHandler = function (controller, payment, completion) {

The function is defined the file payment-authorization-view-controller-delegate.ios.js

You need to use real device with Sandbox test account and everything works great