Proxy settings not available for authentication?

It has come to my attention that there is no way to authenticate via proxy in this template and that there has been an enhancement (rather than bug) for this functionality. Do you have any other suggestions on how to work around this? This template is very useful but having to have everything shared with everyone on AGOL is not a good solution, nor is having a log in screen. Supposedly other story map templates have this ability-- any suggestions on what to use? (although i really like the tabbed theme & accordion) thanks

After reading a closed thread this may be considered not the right place to ask.....but from what I have been told from support that all other story map apps & other apps support full proxy use yet this one was not designed to do so....which does not make sense to me but may be the reason an enhancement & not a bug was logged.

Thanks for the feedback. I am not really sure to understand what is your issue so I will talk about multiple scenario, let me know if I'm off. First we have little documentation about this at https://github.com/Esri/map-series-storytelling-template-js/#can-i-use-private-web-map-or-layer
Map Series should support the exact same pattern than other Story Maps and ArcGIS Online apps when it comes to security/authentication via proxy.
By default Map Series created in ArcGIS Online are private, if you want to only share it with member of your ArcGIS Online Organization you can do this through the builder share dialog. If you want to share with a specific group, you have to go to the item page (this is not very popular in StoryMaps but one day we will include in apps). So when you are in Online you should have no problem with security. Same if you are on Portal for ArcGIS.
If you are using ArcGIS Online and trying to share subscriber or premium content, since our recent release two weeks ago, the share dialog will create the necessary proxy in the background for you. If this is your issue, also see that blog post that was describing the previous workflow http://blogs.esri.com/esri/arcgis/2015/07/17/using-subscriber-content-in-web-apps/ ; this features are going to be added to Portal 10.4.
When you download and install the application on your own server, if you just do the basic configuration (paste the appid), the app will display the sign in dialog when a resource is secured. If you don't want to see that screen and proxy the private resources, you have two options:

use oAuth (will require user to sign-in), see the documentation in index.html (https://github.com/Esri/map-series-storytelling-template-js/blob/master/src/index.html#L43) and how to get an oAuth appid at https://developers.arcgis.com/authentication/signing-in-arcgis-online-users/
add proxy rules 9won't require user to sign-in), we don't have proper documentation yet but see the following thread on GeoNet, this can be done in Map Tour through a simple customization, you can do the same in Series https://geonet.esri.com/message/533414 ; see more documentation oabout the proxy at https://developers.arcgis.com/javascript/jshelp/ags_proxy.html

Thank you for the response. I will review these suggestions but I have tried to apply the proxy with the limited amount of user documentation that exists- glad to you realize your documentation is lacking. I am going by what I was told about this inability to secure, see ENH-000092603.
I hope I am proven wrong and that I can accomplish what I need to do with your suggestions and simple customization. My only customization is the addition of proxy rules which is why I am using the download ZIP from the 'instructions' section rather than at the top of the page (they are different, FYI). If AGOL did not direct people to download  from Github but from the Story Maps page, I wouldn't be here, but glad I am since I need help!  :)

these are the same things I all tried previously before contacting support- and could still not get authentication to work via proxy in this story map template.

What error do you get?
Adding the following code
require(["esri/urlUtils"], function(urlUtils) {
  urlUtils.addProxyRule({
   urlPrefix: "http://services.arcgis.com/",
   proxyUrl: "my-web-server.com/proxy"
  });
});

In index.html, like this works for me

I just had the chance to try this again-- no go. I get a 400 error "invalid redirect URI" and it goes to the arcgis.com instead of my org.maps.arcgis.com page. No reference to proxy in network traffic that I can see. If I take out my AppId on the oAuthAppId line in index;html, I get a log in screen that references my organization . If I put the user/pass in the log in dialog, I can then see traffic going thru the proxy (but not if I do not enter credentials). But I still cannot bypass the log in screen.

Ok so the proxy url is working but you have an oAuth configuration issue.
Your redirect URL must not be correct.
Did you specify the correct protocol when entering the URL? see step 2 of https://developers.arcgis.com/authentication/browser-based-user-logins/

that may be possible. my oauth app is a generic one that I was instucted to use for my non shared webmaps per support and was told it would work for all of my apps. there are no redirects set as my other apps do not appear to need it, I was not instructed to use one. reading the documentation leads me to believe I should put in the URL to my hosted location for the app, is this correct? so for example, my app is mymap.com and then I add that as the URI as well? I can try that and also register this app with its own client ID and secret and add that info to my proxy.
sorry for all these basic questions but I am not a developer but need to add this basic info of proxy settings to my apps, obviously with a lot of handholding in absence of documentation. it is hard to do 'customization lite'  even though it seems a few tweaks gets people a long way without knowing how to develop a whole new custom app.
thanks

You are welcome. As far as I know you always need a redirect URL when using oAuth.
Enter something like this 'http://mymap.com'  (you don't need to enter the full address like 'http://mymap.com/app/index.html' but you absolutely need to specify 'http://' at the beginning).
If you are over 'https://', you need to use 'https://mymap.com'.
If you are not sure, or use both protocol, enter two redirect URL

getting closer perhaps. I do not have the generic portal looking page but go to a page that states "App Authentication (name of my app) wants to access your ArcGIS Online account information" and the log in area and the name of my org on the side. I still see no references to the proxy in the network traffic but it must be going there since the oauth app is getting referenced.
I can try more things on Monday if you have suggestions. I will say that once i do log in w/credentials my story map appears, yet the actual web maps on the pages do not (message "Something went wrong, the map did not load correctly") but I will tackle that problem after I get the log in screen to go away.

Ok, I suggest you separate proxy and oAuth.
If you use oAuth you may not need a proxy if your services is hosted in Online.

Create a simple story that use only a public image. Keep that story private
Make sure you can load that through oAuth
Create a webmap with just a basemap. Keep it private
Add that private webmap to the app and make sure it still loads ok
Add a private layer to that map and make sure it loads ok

If the layer does not load you may need proxy. For your test you could start with an app and a webmap that is public and try to apply proxy rules. Then add oAuth.

Looks like I know what I will be doing Monday- thanks., I will report back with my findings

Could not get past first step. story map with one web page as my public image and the story map private. Did not work- get the "App Authentication wants to access your ArcGIS Online account information" information. Only difference is if i dont have the appId in my index.html, I get a log in box, otherwise its the AGOL log in page with the above message. Does not look like anything is being passed (oauth or proxy).
Do you know anything about the the enhancement I referenced in an earlier post? ENH-000092603

Sorry to hear. I got access to ENH-000092603, as I understand what is requested is to make possible to add proxy rules through configuration instead of by code, like I described at https://github.com/Esri/map-series-storytelling-template-js/issues/17#issuecomment-161437878 So this should not fix your issue.
At this point, your best way forward may be to work with support. They have more resource than me to help you. But couple of ideas:

when you don't specify oAuth appid, can you successfully login (if not that would be a good lead)
when you use oAuth, do you get any error, like redirect URL not authorized or do you get redirected to the app but it just don't work?

Thank you for the response. I don't care how I can add proxy rules- code or config-- I just need it to work one way or another and not wait until someone decides this 'enhancement' is worth tackling.
I am happy to work with support but thought i would try here since so far I have talked to 2 people and there is still no word on when/who will ultimately assist me.
To answer your questions:

I cannot successfully login (without entering credentials) w/no AppID- I get the 'login to myorg.maps.arcgis.com' box. If I do add my credentials, I can see the story map both with a webpage and my public web map. No mention of proxy anywhere and nothing in the proxy log file.

with the oAuth in the index.html file, I get the AGOL page that says my oauth app wants access.
In my proxy log file it does appear that the proxy is being used but there is no mention of the traffic in the 'developer tools' in chrome. This is the log text- same line w/token listed 3x. This code is all before I enter credentials (no further log entries after).
2015-12-07 11:45:49 http://myorg.maps.arcgis.com/sharing/content/items/62211fc341174ee6862dee0e97d144e8/data?f=json&token=Y_J8QqVZ8QGfdC8rgnn8D5-Q7jneYXCTMj2k75ETZ9M7u--lONTYTlMUqxeMWf9SdYTaSzbD2tC7Q1lhTr3V40FYEMSmnKbuqWT9uaTMyXVRLdKON7lXDSUc5emeYa2pOurGQBvePfA5uerfgBMI8QiaNrr_yiyOPDII7KpD5BQgP_RdbQ8vbIkBnChh_W72
2015-12-07 11:45:49 Sending request!

I had gotten the 'unauthorised redirect URI' in the past before I added it to my oAuth app.
Hope this helps explain on what I can possibly test until I get a response from support. They are supposedly 'dedicating additional resources' which is great if those resources contact me & resolve this in a timely manner. My last proxy issue took weeks so I that is why I am trying all angles to get something to work. Thanks again

Sorry, I am sure this can be frustrating. I suggest you send this thread to support, all this experiment we have been doing should help them diagnose your issue further.

I don't think that enhancement will be addressed because it seems to already be possible to accomplish this task.  Here is the set up for my test case which seems to be working:
Resources:
•	A secure service on this server: http://utility.arcgis.com
o	This service was added as an item with credentials saved, shared with the org, and added to my map
•	A map and map series app created through builder shared with my org on http://www.arcgis.com
•	Downloaded and hosted map series on my server which references the three resources above via the appid: http://myserver.esri.com/MapSeries/index.html
o	This map series app was added as an item, shared with my org, and registered to obtain appid/appsecret (i.e. clientId/ clientSecret ) for use in the proxy.
•	Proxy on my server: http://myserver.esri.com/DotNet/proxy.ashx
Config:
•	Downloaded map series:
o	add appid of map series created from builder above to index.html for the ‘appid’ option.
o	Add proxy rules (I did it at line 269) for the server that hosts the secured service and arcgis.com  like this:
require(["esri/urlUtils"], function(urlUtils) {
urlUtils.addProxyRule({
urlPrefix: "http://utility.arcgis.com",
proxyUrl: "http://myserver.esri.com/DotNet/proxy.ashx"
});
urlUtils.addProxyRule({
urlPrefix: "http://www.arcgis.com/sharing/content",
proxyUrl:  “http://myserver.esri.com/DotNet/proxy.ashx"
});
});
•	Proxy: add the server and arcgis.com to my proxy like this:

       <serverUrl
      url="http://www.arcgis.com/"
      clientId="xxxxxxxx"
      clientSecret="xxxxxxxxxxxx"
      matchAll="true"/>

</serverUrls>

Thanks- I also just got notice from my support analyst that they figured it out. I try both solutions, the one you posted here and that one (they look pretty much the same but i didnt formally compare).
The issue for me anyway is that I am not a developer so I enlist support when I need some help. Much of the time several people at Esri have different answers to issues and that is frustrating to me. If there was better documentation on how to add simple things that have wide useful potential-- such as being able to share secure content- I may not be as much of a pain in the ass, ha. Thanks again

know it is marked closed now, but support still has not solved my issue.....


ENG-6589 - Refactor to Async/Await Pattern

Need to add the dependency
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3'
in the app build.gradle


AppVeyor maximum storage exceeded

Describe the bug
"Maximum allowed artifact storage size of 50000 Mb will be exceeded." is the message from AppVeyor and It is showing error on the build and dosn't give .exe since there is no free space.
https://ci.appveyor.com/project/kytwb/ferdi/builds/27917120
To Reproduce
Steps to reproduce the behavior:

Do a commit/merge/pull request

Expected behavior
Should do the build as before

I have sent a message to AppVeyor support to get the limit increased.

Escalated to a ticket: https://help.appveyor.com/discussions/problems/25122-maximum-allowed-artifact-storage-will-be-exceeded

@Makazzz fixed, artifacts available again at https://ci.appveyor.com/project/kytwb/ferdi/build/artifacts

@kytwb @vantezzen The problem is now re-happening with the last 2 build :/

Maximum allowed artifact storage size of 80000 Mb will be exceeded.

As mentioned here:

We do not expose deletion of specific artifacts. For those who collect them faster than our retention policy we are OK to increase as long as we do not see and abuse.

I will ask to increase our limit again temporarily, and enable artifacts collection on master and tags build only in appveyor.yml, that should fix the issue.

Artifacts collection is now restricted to master/tags builds. I have followed-up on the ticket for another temp limit increase in the meantime.

Someone from AppVeyor followed up on the ticket to say it's been extended.


Update index.md React portuguese guide

Fixed some misspelled and translations mistakes.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

There's a couple of conflicts here due to changes submitted before your pull request. I'm not sure if there are changes here worth solving the conflicts so I'll close the pull request. If you feel like there's still changes you'd like to submit, solve the conflicts and update the branch and make another comment here and I'll re-evaluate the pull request again.


geo_choropleth-usa mock has no colors!

It should look like this: https://github.com/plotly/plotly.js/blob/animate-bar-graphs/test/image/baselines/geo_choropleth-usa.png

can't replicate now...


Update akka-http-circe to 1.35.2

Updates de.heikoseeberger:akka-http-circe from 1.35.0 to 1.35.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "de.heikoseeberger", artifactId = "akka-http-circe" } ]

labels: library-update, semver-patch

Superseded by #481.

Superseded by #481.


hotspots: Move compute_placement to only module using it.

Previously, this function was used by other bootstrap popovers, but such popovers have all been migrated to Tippy.
Hotspots uses some of that machinery but I think doesn't actually use the Bootstrap popovers system.

Closing since accidentally pushed to upstream.


how to share common env in a group of apps

like this:
the apps can access GROUP_PARAM1,GROUP_PARAM2 or not ?
how to achieve this goal?
thanks !
{
"id": "group-app-test",
"apps": [
{
"id": "app-test01",
...
},
{
"id": "app-test02",
...
},
{
"id": "app-test03",
...
},
{
"id": "app-test04",
...
}
],
"env": {
"GROUP_PARAM1": "1234567890",
"GROUP_PARAM2": "0987654321"
}
}

@junneyang the env field is per-app, and is ignored by groups. https://mesosphere.github.io/marathon/docs/task-environment-vars.html

i know what you say
my goal is that is there any way to share common env/variables in different apps？
thanks


Update agent version to 5.23.0

Note: Please remember to review the Datadog Contribution Guidelines
if you have not yet done so.
What does this PR do?
Bump containers to use latest datadog version.
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?

Help with the release :)
I need couple fixes that were released in the version 5.23.0

Testing Guidelines
An overview on testing
is available in our contribution guidelines.
Additional Notes
Anything else we should know when reviewing?

Thanks @kessiler!


Clean up image scope after load

Currently if the variable is changed for the dynamic url after load the image will be changed.
Also the scope is has watchers after load is complete.
Destroy the scope after image load occurs.

merged with #4


Fix PR 185 failing tests

Fix failing tests for https://github.com/NREL/GEOPHIRES-X/pull/185 at https://github.com/NREL/GEOPHIRES-X/pull/185/commits/818defa3a417623c1571a6709e901d38098c6f8f
See https://github.com/softwareengineerprogrammer/GEOPHIRES-X/actions/runs/8821468945

@malcolm-dsider Merge this PR (it will go into your fork). Tests in https://github.com/NREL/GEOPHIRES-X/pull/185 should then start passing - at which point I can focus review on content & structural changes. Be sure to also git pull locally to make sure your local branch is updated before doing any further work.


feat: add CLI tool to enable the complete creation of core components…

… based on specified parameters

What type of PR is this?
/kind feature

What this PR does / why we need it
feat: add CLI tool to enable the complete creation of core components…
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer
./main install --namespace=u4a-system --component-store=false --cc-version=0.1.0 --u4a-version=0.1.7 --node-name=kubebb-core-control-plane

@0xff-dev we should have a step-by-step guidence to let user configure the must-required fileds like
cli init
> Input the namespace for kubebb: xxx
> Select a node for ingress:   xxx


How do i manually close the browser?

I am running IOS 10.3.1, phonegap build 6.4.0.
What i am trying to achieve is to trigger the camera plugin to open/multiple image picker to open.
I see that the functions are triggered but Maybe because the browser plugin is on the top, i can't see any of those plugin's UI. So what i am trying to do is to close the browser plugin manually, then reopen it when those functions are completed.
I tried calling browser.close();  or cordova.ThemeableBrowser.close(); but nothing closes the browser. Wondering what i need to call to close it.

@clarklight hello, have you solved the problem? I meet the same problem, thank you.

I think i didnt manage to get it to work in the end, i just used the original Phonegap inappbrowser.


I can docker pull busybox successfully
If I don't mount -v /tmp/dind:/var/lib/docker, I can pull all images successfully
The problem also happens when running dind with --storage-driver=overlay or --storage-driver=overlay2
Dind logs:

$ docker logs dind
time="2017-09-23T18:27:51.103025272Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
time="2017-09-23T18:27:51.104058414Z" level=warning msg="[!] DON'T BIND ON ANY IP ADDRESS WITHOUT setting --tlsverify IF YOU DON'T KNOW WHAT YOU'RE DOING [!]"
time="2017-09-23T18:27:51.106068261Z" level=warning msg="libcontainerd: makeUpgradeProof could not open /var/run/docker/libcontainerd/containerd"
time="2017-09-23T18:27:51.107890120Z" level=info msg="libcontainerd: new containerd process, pid: 17"
time="2017-09-23T18:27:52.295935120Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
time="2017-09-23T18:27:52.299828057Z" level=info msg="Loading containers: start."
time="2017-09-23T18:27:52.306178740Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
time="2017-09-23T18:27:52.307832088Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-09-23T18:27:52.309328810Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
time="2017-09-23T18:27:52.544937972Z" level=info msg="Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address"
time="2017-09-23T18:27:52.610471031Z" level=info msg="Loading containers: done."
time="2017-09-23T18:27:52.630230787Z" level=info msg="Daemon has completed initialization"
time="2017-09-23T18:27:52.630270942Z" level=info msg="Docker daemon" commit=cec0b72 graphdriver=vfs version=17.06.2-ce
time="2017-09-23T18:27:52.641188307Z" level=info msg="API listen on [::]:2375"
time="2017-09-23T18:27:52.641208984Z" level=info msg="API listen on /var/run/docker.sock"
time="2017-09-23T18:35:34.900786530Z" level=info msg="Attempting next endpoint for pull after error: failed to register layer: ApplyLayer exit status 1 stdout:  stderr: function not implemented"

I am unable to reproduce this on a plain Linux host, so this is not a problem with the image.
Assuming that you are using "Docker for Mac" then this is most likely a limitation of osxfs that is used to share files between OSX and the Linux VM.  Since this is not an issue with the docker-in-docker image, I would suggest you might try filing an issue on the docker for mac. You could also give the xhyve VM more storage and use space on the VM.


Can not saving edited file using remote-ssh connection

Does this issue occur when all extensions are disabled?: No

VS Code Version:  1.85.1
OS Version: win10

Environment: VSCode version: 1.85.1, Remote-SSH version: v0.108.2023112915, connected via LAN, login as root.
Issue Description: The edited text on the remote side cannot be saved. When closing the VSCode program, a window pops up:
"Closing the window is taking a bit longer. The following operations are still running:
saving text files"
supplements:
1). If the window is force closed, the connection cannot be established through Remote-SSH next time.
2). After deleting the ./vscode/.0***.log file, normal login can be resumed.
3). an extension called  save as root. Using this plugin, the edited remote file can be saved using the following these steps: i) Press F1,  ii) enter save-as-root, iii) then press the Enter key (you can also set a shortcut for save-as-root). This is inconvenient, and the plugin cannot save multiple modified files at the same time; you need to perform the above steps for each text file.
4). Pycharm can edit and save the edited files normally.
5). except remote-ssh, all other extensions are uninstalled.
Initial Analysis:
1). File permission issue. Changing the text permissions to 777 did not resolve the problem.   -- failed
2). change the setting of remote-ssh extension . -- failed

if "close anyway", the log file:

Is the scenario here to save a file that you have insufficient permissions to save via Remote-SSH? In other words, you need sudo permissions to save said file?
We do not today support this scenario, at least not as we do locally where we can elevate VS Code after showing UAC prompt.


[feature request] browser addon

In a perfect world, I'd be able to turn this on for a page, or even attach it to a component via the react dev tools.
Being able to "hook into" using Geiger without changing my package dependencies would be nice.
How much work are we talking? Does anyone already know any blockers?

Heh, that would be cool but it certainly doesn't sound like a trivial task to me...

Yeah, the easiest way to do this is probably to get really popular and then have the react devtools team interested in building the functionality in directly. "Not planned" would be totally understandable here, especially since this package installs smaller than several single files I have in my repo.

Still, thanks for the idea!


Force option for pull and push

The force option will transform 'no change' into either an addition or modification of the destination file depending on whether the file already exists or not. This option is useful for example when doing backups and exports yet files are in sync.

Addressed by https://github.com/odeke-em/drive/commit/37a7f3cecb039d3b9962261a2ef48ad247cac90e

can update readme file about force push option(how to use)

@etsrepo thanks for the heads up, I was working on it. Please see the latest README.
Basically you can do
$ drive pull -force [path1 path2 path3...]

or
$ drive push -force [path1 path2 path3...]

@odeke-em thank you


[web] Implement TextStyle.fontFeatures

https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings

Related https://github.com/flutter/flutter/issues/64595###


( Request ) Minimal Priority type player list.

same as lbox where its easier to target one person rather than having to switch ignore to all the other enemy.

adding on to this, it should highlight the targeted enemy with a different color making the target distinct.

I disagree with this because ur uid is too high

there are priorities already and i think its fine as is - you can set them to rage if you want it to target them first


browse  http://localhost:8080/ error: 'Blueprint' object has no attribute 'json_encoder'

File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 1978, in wsgi_app
ctx.push()
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/ctx.py", line 332, in push
self.session = self.app.open_session(self.request)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/app.py", line 912, in open_session
return self.session_interface.open_session(self, request)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 324, in open_session
s = self.get_signing_serializer(app)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 321, in get_signing_serializer
signer_kwargs=signer_kwargs)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/itsdangerous.py", line 519, in init
self.is_text_serializer = is_text_serializer(serializer)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/itsdangerous.py", line 69, in is_text_serializer
return isinstance(serializer.dumps({}), text_type)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/sessions.py", line 85, in dumps
return json.dumps(_tag(value), separators=(',', ':'))
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/json/init.py", line 177, in dumps
_dump_arg_defaults(kwargs)
File "/home/brandon/SoTu/venv/lib/python3.6/site-packages/flask/json/init.py", line 98, in _dump_arg_defaults
bp.json_encoder if bp and bp.json_encoder
AttributeError: 'Blueprint' object has no attribute 'json_encoder'

Maybe you can solve this problem by switching to another version of flask

Upgrading flask to 0.12.4 can solve the problem


texlive: changes trigger mass rebuilds

Issue description
Pretty much any change to texlive or its packages triggers a mass rebuild (examples: #46376, #40232),  mainly because it is used to build documentation for many packages.
This makes texlive difficult to maintain/bugfix as any change must go through a staging iteration.
My analysis (using maintainers/scripts/rebuild-amount.sh) indicates that the mass rebuild is mainly caused by gtk-doc, which depends on texlive via dblatex.
How can we fix this?
I see 2 possible solutions (of course, any fix will cause a mass rebuild :smile:):

Build gtk-doc without dblatex by default, which removes the texlive dependency. It won't be able to generate pdf docs, but do we really need them? This is my recommendation.

Duplicate texlive as texlive-for-docs  and use that for gtk-doc and other packages generating docs. texlive-for-docs won't need frequent updates, it's good enough if it works.

cc  @vcunat @samueldr @jtojnar @pSub @veprbl @bhipple

sounds OK to me.  Few people want docs in PDF nowadays, I believe, as few print it and other formats tend to be better on-screen.

Note: 2. wouldn't have to cause a mass rebuild, but I believe we can easily afford a "last" rebuilt this way.

:+1: for number one. Removing dblatex is required for building glib 2.58 docs: https://github.com/NixOS/nixpkgs/pull/45950#issuecomment-421545698

Also :+1: for number 1.  In general I'd imagine almost nobody looks at PDF docs by default, and if they do they can just build them.

Should be fixed by #46761 (in staging now).


Disable "Loop Time" on single frame animations

This'll help prevent too many animations being queued up which would cause more lag over time, depending on your setup.

Fixed in 4.0.0


Is this still being worked on?

I could never get this to work properly on a simple project.
The actions gives a time out and fail.
Is this still being worked on?

The preview app feature is still supported, but unfortunately our team hasn't been able to focus on improving this action due to other priorities. If you're able to describe your problem in more detail, I will make sure that it gets investigated.

@sfarqu any update on this? No pushes for a year despite all the issues is sad 😢


memoizing the setCookie and removeCookie functions returned by useCookie

First I want to say thanks for building such an incredible tool, and the support for the new hooks API helps with building some truly beautiful components.
Context
We recently added eslint-plugin-react-hooks, and are using the exhaustive-deps rule to help us see any optimization misses and make our code better. It has been incredibly helpful, but doesn't place nice with react-cookie.
For example, imagine that my functional component looks something like this:
export default () => {
  const [cookies, , removeCookie] = useCookies(['uid']);
  const [isAuthenticated, setIsAuthenticated] = useState(typeof cookies.uid !== 'undefined');
  const [user, setUser] = useState({});
  const [userDataReady, setUserDataReady] = useState();

  const killUserSession = () => {
    removeCookie('uid');
    setUser({});
    setIsAuthenticated(false);
  });

  const setUserSession = (userJson) => {
    setUser(userJson);
    setIsAuthenticated(true);
  });

  useEffect(() => {
    if (isAuthenticated && !user.id) {
      // uid cookie exists but user state hasn't been populated
      const promise = fetch('/api/user')
        .then((userJson) => setUserSession(userJson))
        .catch(() => killUserSession()); // session expired

      setUserDataReady(promise);
    }
  });

  // return ...
};

When using eslint --fix, the react-hooks plugin will brilliantly attempt to auto-optimize the code as per the react-hooks/exhaustive-deps rule. It will then become:
export default () => {
  // omitting variible definitions for the sake of brevity

  const killUserSession = useCallback() => {
    removeCookie('uid');
    setUser({});
    setIsAuthenticated(false);
  }, [removeCookie]);

  const setUserSession = useCallback((userJson) => {
    setUser(userJson);
    setIsAuthenticated(true);
  }, []));

  useEffect(() => {
    if (isAuthenticated && !user.id) {
      // uid cookie exists but user state hasn't been populated
      const promise = fetch('/api/user')
        .then((userJson) => setUserSession(userJson))
        .catch(() => killUserSession()); // session expired

      setUserDataReady(promise);
    }
  }, [isAuthenticated, user.id, setUserSession, killUserSession]);

  // return ...
};

As you can see, the plugin wraps the function definitions in useCallback, to generate memoized versions of them.
In terms of the dependencies to watch for changes, the plugin infers that setUser and setAuthenticated do not need to be in the dependency list for setUserSession or killUserSession. This  is probably because it knows that they come from useState and so they can infer that the definitions will not ever change. However, the plugin cannot determine whether or not removeCookie will change (that would be incredible if it could, but seems like it would be unreasonably complicated). For that reason, killUserSession includes removeCookie as a dependency to watch for changes, since that value is used internally by the memoized callback.
Problem
This causes an infinite loop at execution-time.

After render, the useEffect side-effect is executed.
Immediately, the state is updated (i.e. setUserDataReady is called, which updates state).
Updating state will cause a re-render
After render the useEffect side-effect is run again, if any of the listed dependencies (isAuthenticated, user.id, setUserSession, killUserSession) change. Nothing will have changed except for killUserSession, which changes because removeCookie is listed as a dependency for the callback. Therefore the side-effect is fired again.
Because the fetch() operation is asynchronous, the user data will not yet be ready. Therefore the below condition will still be true:

if (isAuthenticated && !user.id) {

...which causes the fetch() to happen again, and the state to update again. We circle back to step (1), ad-infinitum.

From this, we can infer that the removeCookie function is redefined every time useCookie is called. I tested that this behavior is the same when using the setCookie function.
Solution
I am aware of the ideal solution of moving the function definitions for setUserSession and killUserSession inside the useEffect side-effect (as described here). In this case, it is not an option, because the callbacks are used elsewhere in the same component. I have just omitted the other usages for the sake of brevity.
I can work around this issue by omitting removeCookie from the list of dependencies to watch in the memoized killUserSession callback, and also disabling the lint rule for that line:
const killUserSession = useCallback() => {
  removeCookie('uid');
  setUser({});
  setIsAuthenticated(false);
  // eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

However, this is less-than-ideal, because disabling the lint rule entirely prevents us from gaining the benefits of the react-hooks plugin as we iterate and make changes on the function definition for killUserSession. Also, we use react-cookie in other places in the code, and therefore we would be losing the benefits in multiple places throughout the codebase.
Would it be possible to memoize the setCookie and removeCookie functions that are returned by the useCookie hook? By looking at the definition of what is returned by useContext, I can see that you are using .bind(), which will always generate a new function.
Without digging much deeper in the source code or fully understanding the implications, what are your thoughts on using useCallback to prevent generating a new function definition every time? Something like:
export default function useCookies() {
  // ...

  const setCookie = useMemo(() => cookies.set.bind(cookies), []);
  const removeCookie = useMemo(() => cookies.remove.bind(cookies), []);

  return [allCookies, cookies.set.bind(cookies), cookies.remove.bind(cookies)];
}

References

https://github.com/facebook/react/issues/14920#issuecomment-471070149 (look for "infinite loop")
https://github.com/facebook/react/issues/15084
https://reactjs.org/docs/hooks-faq.html#is-it-safe-to-omit-functions-from-the-list-of-dependencies

Thanks for your time!

Hey @justinhelmer
Thank you for all the details, that is an amazing bug report 👍 .
I think it is a legitimate concern that should be addressed. The only missing part I see is the cookies instance as a dependency on the useMemo. It's not something that should change, but it is technically possible.
I'll dig a little deeper into the ressources you've provided. I haven't used the React hooks enough to completely understand the impacts but it feel important. Thank you! :)

Thanks @eXon !

Fixed in v4.0.0!


Remaining work to support core files

[x] Support floating point registers on linux (the code to parse an XSAVE area already exists in registers_linux_amd64.go, likely the same format is used in core dumps)
[ ] Support parsing of core dumps produced on macOS
[x] Support parsing of core dumps produced on Windows

@heschik

Is there any way to walk the stack of a core file with up/down?

@jtanx frame 7 command to execute "command" on frame 7. Change goroutine with goroutine 5

Ah... ok. That's not very intuitive. GDB supports using up/down in a core dump, which I find much more useful.

I've looked into supporting macOS core fie but I can't find any way to retrieve the thread_handle of every thread, which we need to associate threads with goroutines.

@aarzilli I think that the Windows support can also be ticked as done now, given minidumps support has landed, correct?

@dlsniper yes.

Closing this, we support dumps created by delve's dump command on macOS. We can't support native core dumps because they don't have all the registers that we need so there is nothing else to do here.


moduleGraph.createFileOnlyEntry is not a function

Problem
On version 1.3.0 I get the error message below when importing a CSS module, which the bug didn't exist on 1.2.0:
13:50:22 [vite] Internal server error: moduleGraph.createFileOnlyEntry is not a function
  Plugin: vite:css-analysis
  File: C:/<redacted>/<redacted>/global.module.scss
      at TransformContext.transform (file:///C:/<redacted>/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:31762:43)
      at TransformContext.viteCssAnalysisPlugin.transform (C:\<redacted>\node_modules\vite-css-modules\dist\index.cjs:912:20)
      at Object.transform (file:///C:/<redacted>/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:50838:62)
      at async loadAndTransform (file:///C:/<redacted>/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:53611:29)
      at async viteTransformMiddleware (file:///C:/<redacted>/node_modules/vite/dist/node/chunks/dep-jDlpJiMN.js:63409:32)

I belive it's because in the HMR fix introduced in 1.3.0 https://github.com/privatenumber/vite-css-modules/blob/f71b54ef223f3354f0790f1e20f130d3559fd38c/src/patch.ts#L117 there the intercepted server's moduleGraph didn't have a correct prototype of class ModuleGraph:
    const interceptedServer = {
      moduleGraph: { // <-- Here it's an object literal not inheriting from class ModuleGraph, so `moduleGraph.prototype.createFileOnlyEntry` is undefined
        getModuleById: (id) => {

I was able to fix(?) the issue locallly by reusing the original object instead and binding the method:
diff --git a/dist/index.cjs b/dist/index.cjs
index 8ad49f5e28426e4a389de8831b8f67bc403487a8..f6e8e44146c1463190bcc06075bb56d29ec5ac89 100644
--- a/dist/index.cjs
+++ b/dist/index.cjs
@@ -892,18 +892,15 @@ const supportCssModulesHMR = (vitePlugins) => {
   }
   const tag = "?SPOOF?inline";
   viteCssAnalysisPlugin.configureServer = function(server) {
-    const interceptedServer = {
-      moduleGraph: {
-        getModuleById: (id) => {
-          const tagIndex = id.indexOf(tag);
-          if (tagIndex !== -1) {
-            id = id.slice(0, tagIndex) + id.slice(tagIndex + tag.length);
-          }
-          return server.moduleGraph.getModuleById(id);
-        }
+    const orig = server.moduleGraph.getModuleById.bind(server.moduleGraph);
+    server.moduleGraph.getModuleById = (id) => {
+      const tagIndex = id.indexOf(tag);
+      if (tagIndex !== -1) {
+        id = id.slice(0, tagIndex) + id.slice(tagIndex + tag.length);
       }
-    };
-    return Reflect.apply(configureServer, this, [interceptedServer]);
+      return orig(id);
+    }
+    return Reflect.apply(configureServer, this, [server]);
   };
   viteCssAnalysisPlugin.transform = async function(css, id, options) {
     if (cssModuleRE.test(id)) {

I'm unsure how to make a minimal reproduction of this though.
Anyway, thanks for the amazing plugin 🙏 I'm trying to migrate a legacy project and this plugin really solved the majority of the issues, hope it gets into the upstream soon!
Expected behavior
Intercepted moduleGraph should have prototype ModuleGraph.
Minimal reproduction URL
N/A, I haven't figure out how exactly to make one but I have a workaround to share above.
Version
1.3.0
Node.js version
20.11.1
Package manager
yarn
Operating system
Windows
Contributions

[ ] I plan to open a pull request for this issue
[ ] I plan to make a financial contribution to this project

Can confirm I'm experiencing this with 1.3.0. In my case it seems to be caused by @import of node_modules packages, like normalize.css.

Repro: https://stackblitz.com/edit/vitejs-vite-a1rzqy

Thanks! This is definitely an issue and oversight on my part.
Would you mind opening a PR with the patch above? I'm currently occupied but I'd happy to accept a PR.

Thanks for confirming! Will try to work on it later today if no one else has picked it up.


./run_state_aligner.sh skipping files?

I've figured out the problem of different synthesis files from #179, and it's because of state alignment skipping files.
Is there any reason that run_state_aligner.sh, particularly during forced_alignment.py would skip files? My .wav files are complete, my utts.data text file is fine. The reason I know this skipping happens during forced_alignment.py is because after prepare_labels_from_txt.sh, I look at the output label folders and they are all complete e.g. label_no_align is complete.
But after forced_alignment.py, the contents of the label_state_align folder is, for some inexplicable reason, missing one .lab file.
I'm trying to debug this, so if you could have some ideas on situations where forced_alignment.py would just skip files, it would be helpful. Thank you.

Sometimes, the alignment breaks if it is unable to reach the final state while aligning the audio file with text -- this may happen if the audio doesn't have silence in the ending or if the audio is not clean and consistent with the text. For this reason, there can be one or two files missing in label_state_align -- which is completely fine. Just proceed to voice building, make sure you change the train, valid, and test numbers accordingly.


feature from version 4.0

Hi, I love you script and I'm happy user of it. But I'm stack with 4.0 version because of feature "don't change address or location" as I use your script with angular this feature is important. I gave a peek on the code and have seen current version base on address so I predict there is no easy way to bring back that feature, am I wrong? :)

I'm sorry, could you clarify what feature you're referring to? Do you mean the option to disable updating the URL on click/scroll?

yes, exactly that feature, function name in version 4.0 is var _updateURL = function ( url, anchor )

That featured has been in every major version release except version 8, and was restored in version 9.
Checked the docs: https://github.com/cferdinandi/smooth-scroll#global-settings


Finish up redesign.

I started the redesign branch around a year ago right before i stopped working on hotreload for a while. Thought it would be a good idea to mention my plans for the branch.
What i'm planning to do with the branch is to make the code smarter about what it replaces. Currently it just replaces most everything without checking if things have actually changed or not. What i'm planning on doing for this branch is actually check if something has been changed before doing the reload. I'm thinking that doing this should simplify the reload code quite a bit.

That sounds really good, it might be worth looking at using the ast module, and meta.decompiler http://meta.readthedocs.org/en/latest/_modules/meta/decompiler.html to recompile the functions as it could help simplify things even further (for instance you get line numbers in the ast).
There are a couple of things that would enable building 'livecoding' like I have in shoebot in this https://www.youtube.com/watch?v=foxzx0JFU5g (were unsaved modified code is sent from the editor to the executor)

save current state (maybe you just get an AST here?)
revert to a previous state
expose the API you mentioned to change source code

It would be great to get something like
def substitute_content(filename, new_content):
    """
    Substitute the real file content with new_content
    """
    pass

def substitute_source(filename, substitute_file):
    Substitute filename with substitute_file, this is useful for
    apps that want to share temporary state, possibly in /tmp
    pass

How to modify the code when it's running ?
I'm thinking of implementing a couple of things + probably pushing the code to here so IDE can use common code.

Small commandline console
(This is how shoebot currently works)
Networked
Gedit demo plugin.

LiveEditing by changing filenames ?
If you do go with AST it might be possible to do other modifications using it ... one I'd really like is to be able to change filenames that are passed to 'open' with that + the networked bit, I could build 'live editing' on my livecoding tool - this would be plugins for inkscape / gedit - that saved intermediate state to files in /tmp.
Scenario1:

User runs code in pyhotreload that uses 'panda.svg' with liveediting enabled.
User edits 'panda.svg' with liveedit inkscape plugin enabled.
New content is placed in /tmp/panda_1234.svg or similar

pyhotreload API is called, e.g.  'substitute_file('panda.svg', '/tmp/panda_1234.svg')
pyhotreload reloads the files that opened 'panda.svg' (and any that referenced them).

I might could use the ast module in the future, but currently with how the code is i think the inspect module looks more useful.
Looked into it a bit and it seems possible to do a substitution function like that, i guess ill implement it at some point.
It wouldn't be that difficult to monkey patch the built-ins with a wrapper around open to implement the image loading thing you mention. However it seems like a problem that's out of the scope of this project. A VFS implementation in your code seems more logical to me.

Now I've slept on it, monkey patching the builtins is definitely is out of scope for this project.   :)
VFS would be nice, but since it's something I want to make work for arbitrary code then I'll need to work out something more sneaky, and money patching might be the way, though of course I can do that before I send the new code to pyhotreload.


"Unsupported value type" in ODS

Hi,
Thanks a lot for your tool that seems very promising after first tests on heavy files
btw,
on a large production ODS file, i encounter error messages like this in ods.js:277
     Error: Unsupported value type error
{"t":"error","v":null}

     Error: Unsupported value type undefined
{"v":null}

It seems that the undefined one is related to issue #148 (but the proposed patch is not integrated in my xlsx 0.8.1 version)
I tried the following, and no more error (but can't say it solves the underlying problem)
                        case 'error': q.t='error';break;
                        case undefined: q.t='undefined';break;
                        default: throw new Error('Unsupported value type ' + q.t)

The same file transformed as xlsx works without error
Is there anything that can be done to solve this issue ? feel free to ask if more detail needed
Thanks a lot again for your great work
Laurent

here are some precision, regarding the offending xml statements (Rn content)
     Error: Unsupported value type error
{"t":"error","v":null}
<table:table-cell table:style-name="ce56" table:formula="of:=code_:pj" office:value-type="string" office:string-value="" calcext:value-type="error">,,table:,table-cell

 Error: Unsupported value type undefined
{"v":null}
<table:table-cell table:style-name="ce161" table:formula="of:=IF([.$AG$54]=0;"";[.G52]/[.$AG$54]*100)">,,table:,table-cell

Hi,
Thanks a lot for the resolution
I confirm the second case undefined is solved
the first error remains, see #548
Thanks again for xlsx geat library
Laurent


Support addon list in KfAwsPlugin

In v1.0-branch, we don't apply all AWS plugins by default. The major concern is it requires many policies and user either lack of permission to do this or they want to have minimum policies attach to node group or IRSA. Some users actually want to install them easily in their cluster.
We'd better support addons to handle these requests, the challenge is we need to handle them in different places. For example,

Manifest customization
IRSA, node group role attachment/de-attachment

Besides that, every addon should has its own service account name, IAM policies, etc. Then our logic just need to handle prefine registered add on instead of every individual component.
Related issue:
https://github.com/kubeflow/manifests/issues/1082
https://github.com/kubeflow/kfctl/issues/232

/assign @Jeffwan

/assign


Introduce non-nullable reference types in the IR.

Based on #4993 to abuse the optimizer+Wasm backend as validation that the optimizer is type-preserving, including wrt. nullability. Otherwise ready to review. The last 5 commits belong to this PR.

ClassTypes and ArrayTypes now carry a nullable: Boolean flag. When nullable is false, the type does not admit null values. We also introduce AnyNotNullType to be the non-nullable variant of AnyType.
This way, every non-void type tpe has a non-nullable variant, which we can get with tpe.toNonNullable.
There are a few sources of non-nullable values, such as New nodes, and, most importantly, This nodes.
Since non-nullable reference types have no corresponding TypeRef, they cannot appear in the signature of methods. They only live locally within method bodies.

The optimizer already had dedicated tracking of non-nullable PreTransforms. We now replace that tracking by the actual tpe of the trees.
In order to be type-preserving, we must now insert most Casts, to non-nullable types. Before, at the IR level everything became nullable again, so even if the optimizer had determined that a tree could not be null, that did not influence the produced IR.
On the plus side, since IR nodes track their nullability, we do not need AssumeNotNull anymore. The Casts to non-nullable types achieve the same result in a more consistent way.
In fact, the new non-nullable types allow the optimizer to better keep track of nullability, resulting in fewer $n calls to check for nulls. This is the main source of code side reduction.

Since we now have non-nullable reference types, we change IsInstanceOf to require non-nullable test types. This makes more sense, since IsInstanceOf always answers false when the value is null.

We introduce deserialization hacks to:

adapt the type of This nodes, and
adapt the test type of IsInstanceOf nodes.

In the first major commit, we do not change the compiler nor the hard-coded IR of jl.Object yet, in order to test the deserialization hacks.
In the last commit, we adapt the compiler and jl.Object, and only enable the deserialization hacks when reading IR < 1.17.

Rebased.

(adjusted MiMa exclusions)


Edit appearance and function

Hello, I was wondering it you could provide some guidance as to how to modify the general appearance of the plugin, and how to modify the query builder options themselves. E.g. I would be interested in writing relational database style queries.
Thank you

I would also find it useful to modify the text and location of the "and" and "or" buttons.

Thank you, I am not an expert so it will take me some time to be able to test this.


ML 8.5 : Word Embedding(V)

Description
📌  Issues for Week 8
Welcome to 'ML' Team, good to see you here
:arrow_forward: This issue will helps readers in acquiring all the knowledge that one needs to know about ----
Word Embedding.
:red_circle: To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
✔ Domain : Machine Learning
:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the Machine Learning/Machine_Learning/ML_for_Seqential_Data_&_Visual_Data Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[ ] VIDEO

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Video
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Please assign this issue to me.
Name: Vidhi Bhatt
Domain: ML Batch 3
Serial no: 490
Github link: https://github.com/VidhiBhatt01
Video

@VidhiBhatt01 1 issue at a time, Create PR for previous issue first.

@Isha307 I have created PR for the previous issue. Please assign me this issue.

Please assign this issue to me.
Name: Hasti Sutaria
Domain: ML Batch 4
Serial no: 560
Github link: https://github.com/HastiSutaria
Video

Issue assigned to you @HastiSutaria. Complete this within 3 days.

@abhisheks008 For the video submission, is voiceover and face compulsory?

Face is not compulsory, but voice over is compulsory. Without the voice over how can you be able to understand the users what's going on in the video.
@HastiSutaria

Issue assigned to you @HastiSutaria. Complete this within 3 days.

@abhisheks008 PR created!!  https://github.com/girlscript/winter-of-contributing/pull/7783


Issue #53 - Discord - Primary Option for Contributors

Signed-off-by: soniasingla<EMAIL_ADDRESS>Checklist

[x] I have read the Contributor Guide
[x] I have read and agree to the Code of Conduct
[x] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
This PR resolves issue #53, added Discord for the support of contributors (:

Thanks @XAMPPRocky ! 💚


Client ID and client secret do not match.

It worked fine before. But now I get the error:
Blacksmith::Error: Error login to the forge https://forgeapi.puppetlabs.com as hajee [401 Unauthorized]: Client ID and client secret do not match.

I suspect the OAUTH credentials are expired.
I'm using version 3.3.1

Works fine here

Works fine here now as well. Must have been something on the forge server. Thanks for taking the time to investigate.


[AF-549-elastic]: Added new indexing backend to add elasticsearch support

A new Metadata index had been added. Its intention is to have an alternative to Lucene backend so you can use it, for instance in Openshift or on premise without zookeeper/helix to replicate those assets.
The idea is to maintain the same Lucene API but to transform it to Elasticsearch compatible messages. There is no need to change any Lucene Query to make it work. There is a class called LuceneIndexEngine that is not public anymore because it was very coupled to Lucene FS implementation so now it's behind a new Interface called IndexProvider. It tries to generate an abstraction for indexing a querying an index engine using domain objects and not lucene documents anymore.
The default indexing engine is Lucene but you can change it with a System Property:

org.appformer.ext.metadata.index=elastic

There are some other properties to configure elasticsearch:

org.appformer.ext.metadata.elastic.port
org.appformer.ext.metadata.elastic.host
org.appformer.ext.metadata.elastic.username
org.appformer.ext.metadata.elastic.password
org.appformer.ext.metadata.elastic.cluster

Related issues:
https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/581
https://github.com/AppFormer/uberfire/pull/882
https://github.com/kiegroup/kie-wb-common/pull/1254
https://github.com/kiegroup/jbpm-wb/pull/924
https://github.com/kiegroup/drools-wb/pull/666
https://github.com/kiegroup/optaplanner-wb/pull/228
https://github.com/kiegroup/jbpm-form-modeler/pull/150
https://github.com/kiegroup/kie-wb-distributions/pull/642

@porcelli ready to review

Build finished. 3588 tests run, 6 skipped, 12 failed.

jenkins retest this

jenkins retest this

Build finished. 3588 tests run, 6 skipped, 11 failed.

Build finished. 3587 tests run, 6 skipped, 1 failed.

Build finished. 3597 tests run, 6 skipped, 0 failed.

@adrielparedes @ederign I'll check those randomly failing tests tomorrow. But one thing to think about: do we really want 30s timeouts in tests? During local run, just the tests in Uberfire Metadata Commons IO took 7 minutes to run :O

@jhrcek I reduced time from 7 mins to 2, and I also reduced timeouts to 10s, I can't reduce them more because it tries to start ES client and that takes time. If you guys have an idea to reduce it please tell me, may be I'm missing something :)

jenkins retest this

@adrielparedes nice improvements, we're almost there :-)
There seems to be some confusion about what I measured. What I mentioned yesterday as taking 7 minutes was this command: mvn clean test -am -pl :uberfire-metadata-commons-io. After your changes it now takes about 5:50 on average on my PC. How did you measure the 7min -> 2 min speedup?
Also there is still one randomly failing test:
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
More details
11 runs of `mvn clean test -am -pl :uberfire-metadata-commons-io`

IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:54 min]
[INFO] Uberfire Metadata Commons IO ....................... SUCCESS [06:03 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<2>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:47 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:55 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<1>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:51 min]
[INFO] Uberfire Metadata Commons IO ....................... SUCCESS [05:53 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:52 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:54 min]
[INFO] Uberfire Metadata Commons IO ....................... SUCCESS [05:49 min]
IOServiceIndexedSortingTest.testSortedFiles:79 expected:<4> but was:<3>
[INFO] Uberfire Metadata Commons IO ....................... FAILURE [05:48 min]

@jhrcek oh sorry I misunderstood what you said. I thought you were talking about the time tests took to execute. I've changed some stuffs there so ElasticSearch tests runs faster and those take ~2min plus a another 1:30 minutes for Lucene tests. I don't know if I can reduce that time much more.


🐛 BUG: wrangler@alpha does not SIGTERM react-scripts on error

What version of Wrangler are you using?
0.0.0-046b17d
What operating system are you using?
Mac
Describe the Bug
 ./node_modules/.bin/wrangler  --version
0.0.0-046b17d

If the following command exits on error for any reason, react-scripts stays running.
./node_modules/.bin/wrangler pages dev -- npx react-scripts start

Subsequent runs will produce:
./node_modules/.bin/wrangler pages dev -- npx react-scripts start
Running npx react-scripts start...
Sleeping 5 seconds to allow proxy process to start before attempting to automatically determine port...
To skip, specify the proxy port with --proxy.
[proxy]: Something is already running on port 3000.

Proxy exited with status 0.

Discord convo https://discord.com/channels/595317990191398933/789155108529111069/949419123245465631


Add small details to readme

Just adding in some things as I give this a shot as a WSL and dbt rookie! Only made it through step 1 so far... Saving this before I reboot...

Yeah good catch!!


Multiple Select Does Not Read to a Screen Reader

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When navigating the Multiple Select example,
pressing space on multiple items gives no message to the screen reader that the item is selected. I am able to view that the formatting has changed, but there is nothing to tell the screen reader that an item is selected.
Expected Behavior 🤔
Either the behavior described for a combo box:
http://whatsock.com/Templates/Comboboxes/index.htm
Where each item is a checkbox
Or behavior described for a List Box:
http://whatsock.com/Templates/Listboxes/index.htm
With each item having aria-selected.
Steps to Reproduce 🕹
Steps:

Start a screen reader, I'm using NVDA 2020.4.
Visit the selects example page.
Go down to the heading that says: "Multiple Select" and hit b to go to the button.
Belone the lack of ability to tab into the multiselect from the button, and down arrow until you hear "Menu Button Submenu Name"
Hit enter and bemoan the lack of a focus event that will jump you into input mode, and press NVDA + Space to enter input mode.
Press the down arrow and you should hear "Van Henry"
Press space and listen to the silence. You should hear either "select" or "checked", it should not be silent.
Hit down arrow to move to the next item, then up arrow again to go back to the selected Van Henry. There is no indication that Van Henry is selected.

Context 🔦
I'm a screen reader user trying to use this multiselect in my application and it's not working for me.
Your Environment 🌎
N/A.

The second item you said, nothing is announced or indicated is selected, so the element seems to not work to the screen reader user. Here is a good example of a multiselect:
http://whatsock.com/Templates/Comboboxes/Simulated, Readonly Multiselect/index.htm
and another example:
http://whatsock.com/Templates/Listboxes/Multiselect/index.htm
Both are fantastic.

Hi @frastlin. Could you please take a look at http://deploy-preview-29695--material-ui.netlify.app/components/selects/#multiple-select and see if this solution works better for you? I tested it with NVDA and noticed that selected state changes are announced.

yes, that example announces correctly, but enter does odd things when trying to select and unselect items, and space doesn't select or unselect items like it should either.
The selected and unselected announcements are perfect though.

All right, thanks! Please create separate issues for the other problems you're seeing, so we can solve one problem at a time.

The keyboard handling issues are just on your example, I have no idea if they are on the official version. Should I reference your example as where the bugs are?


necessary dependency not present in classpath on launch

$ coursier launch org.scalameta:metals_2.13:0.11.12 -M scala.meta.metals.DownloadDependencies
Exception in thread "main" java.lang.NoClassDefFoundError: scribe/LoggerSupport
	at scala.meta.metals.DownloadDependencies$.main(DownloadDependencies.scala:32)
	at scala.meta.metals.DownloadDependencies.main(DownloadDependencies.scala)
Caused by: java.lang.ClassNotFoundException: scribe.LoggerSupport
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	... 2 more
$ coursier resolve org.scalameta:metals_2.13:0.11.12 | grep scribe
com.outr:scribe-file_2.13:3.11.1:default
com.outr:scribe-slf4j_2.13:3.11.1:default
com.outr:scribe_2.13:3.11.1:default
$ unzip -l /Users/jpassaro/coursier-cache/https/repo1.maven.org/maven2/com/outr/scribe_2.13/3.11.1/scribe_2.13-3.11.1.jar | grep LoggerSupport
warning [/Users/jpassaro/coursier-cache/https/repo1.maven.org/maven2/com/outr/scribe_2.13/3.11.1/scribe_2.13-3.11.1.jar]:  147456 extra bytes at beginning or within zipfile
  (attempting to process anyway)
     6401  01-01-2010 00:00   scribe/LoggerSupport$.class
    10387  01-01-2010 00:00   scribe/LoggerSupport.class
$ coursier version
2.1.3

To summarize:
it seems like coursier knows that scribe is a dependency for the metals artifact, and the scribe jar includes this class, but when running the metals artifact the scribe class doesn't seem to be on the classpath.

I could not reproduce this bug:
$ coursier version
2.1.3
$ coursier launch org.scalameta:metals_2.13:0.11.12 -M scala.meta.metals.DownloadDependencies
2023.05.21 10:21:36 INFO  Downloading mdoc
...

It is hard to guess what's going wrong here. Could you share the output of coursier fetch org.scalameta:metals_2.13:0.11.12 | grep scribe ? Also what is your java -version ?


Source  Control Deployment Failure

During the one click deployment of the template the process hangs and fails with a conflict on the deployment of the /web Microsoft.Web/sites/sourcecontrols segment.
Generic error is produced:
{
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
  "details": [
    {
      "code": "Conflict",
      "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\"\r\n  }\r\n}"
    }
  ]
}

If the template is redeployed to the same RG the process completes and shows as fully provisioned but doesn't seem to work correctly. A 503 error is generated alerting issues communicating with the webserver.
In the deployment history an intermediary action is created "Failure Anomalies". Inside of it is the following:
{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "<IP_ADDRESS>",
    "resources": [
        {
            "type": "microsoft.alertsmanagement/smartdetectoralertrules",
            "apiVersion": "2021-04-01",
            "name": "Failure Anomalies - greatideasapp",
            "location": "global",
            "properties": {
                "description": "Failure Anomalies notifies you of an unusual rise in the rate of failed HTTP requests or dependency calls.",
                "state": "Enabled",
                "severity": "Sev3",
                "frequency": "PT1M",
                "detector": {
                    "id": "FailureAnomaliesDetector",
                    "parameters": null
                },
                "scope": [
                    "/subscriptions/xxxx/resourceGroups/rg-sofgreatideasapp-cacentral-dev/providers/microsoft.insights/components/greatideasapp"
                ],
                "actionGroups": {
                    "customEmailSubject": null,
                    "customWebhookPayload": null,
                    "groupIds": [
                        "/subscriptions/xxxx/resourceGroups/rg-wvd-dev-westus2/providers/microsoft.insights/actionGroups/Application Insights Smart Detection"
                    ]
                },
                "throttling": null
            }
        }
    ]
}

Hi @sofbkeller, on the app configuration for the app service change the node version to ~16 and give that a try.

@petemessina where do I set that when deploying with the "Deploy to Azure" button? Do I need to let the deployment fail then change the node version. In this case I expect you are referring to NodeJS?
Thanks for your guidance.

Set the node version on the App Service configuration for the application that was created as apart of the deployment. Yes let the deployment finish. Make the change and then redeploy the application in the deployment manager.


To Use Media Query to make APP more dynamic

Description
The app needs to be user friendly when the orientation and sizes of mobile devices differ, it also needs to be responsive and adaptive to both android and IOS which might be a problem with some segments of code used
Screenshots

Steps to Reproduce
Please provide detailed steps for reproducing the issue.

Use the above-mentioned file (size_config.dart) to add MediaQuery to all the required files
Comment the names of the files here before adding MediaQuery
Check for the Renderflex issue (It will be device-specific) before adding the MediaQuery feature

Additional data
You can post the screenshot of the renderflex page or the dart file to have a discussion here.

Hello, I am participating in Hacktoberfest this year. I want to contribute to this issue. Kindly assign me this issue.

Sure @AyushTripathi28, and make sure to follow the updated guidelines mentioned in README.

Thank you so much to assign me this issue.

Hi @Mohitmadhav @ankitoscar
Can you assign me this issue? I want to contribute to this issue.

Hi Ali,
I don't know why your comment is not being displayed in GitHub.
Can you please type this again in the Github chat?
Regards
Mohit
On Tue, Jan 31, 2023 at 4:48 PM Ali Asar Khowaja @.***>
wrote:

Hi @Mohitmadhav https://github.com/Mohitmadhav @ankitoscar
https://github.com/ankitoscar
Can you assign me this issue? I want to contribute to this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/Project-Easter/Flutter-UI/issues/50#issuecomment-1410179590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOEVZOI6TH4S7AREJQTF6S3WVDYI5ANCNFSM46MK4ZNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


init jsonld files for spm_default

TODO :

[ ] reproduce the full experiments, including producing ALL generated files, in order to get more information on intermediate links between activities and entities
[ ] check integrity with a "bids" context, if existing. If not, instantiate one
[ ] generate a pretty graph for the entire experiments
[ ] test it with playground

@remiadon: Thanks for those examples! See open discussions following your comments above.
One thing that I would like for us to do is to use type indexing as it greatly ease readability (and machine readability for non-RDF-aware applications): https://w3c.github.io/json-ld-syntax/#node-type-indexing
For an example of type indexing with NIDM, see https://github.com/incf-nidash/nidm-specs/blob/master/nidm/nidm-results/spm/example001/example001_spm_results.json#L5-L10 (Note the key is the type "PeakDefinitionCriteria" and not the id).

Edit : use the prov-store to generate graphs
This should fasten iterations

@cmaumet as a prerequisite I think I need to define a "bids" context first.
This context should :

reference the W3C prov context (eg. for prov:actedOnBehalfOf is already defined there)
define custom types (I mentioned a bids:int) or just reference some existing types

This would hold in a local file, to be uploaded later, and accessed via a URI

@remiadon: yes we'll need the BIDS context at some point but I'd like to understand for what reason you need it now. (Because I know the NIDM-terms group is working on it and if we don't need it now we might well just wait for them to be done :D )

@remiadon: yes we'll need the BIDS context at some point but I'd like to understand for what reason you need it now. (Because I know the NIDM-terms group is working on it and if we don't need it now we might well just wait for them to be done :D )

@cmaumet I need to know if I have to define terms. In the SPM default example I had a parameter called "quality" (which seems to be a float between 0 and 1). Do I need to define a term for quality ? Do I need to specify this is a float ?

@remiadon: my goal is to have a model in which we avoid defining terms for each new software component or parameter. To me this is the only way we will be scalable in the future...
So in brief we would have something like:
    myfile1 prov:wasGeneratedBy myactivity1

    myactivity1 a prov:Agent ;
                       rdfs:label "Realignement" ;

rather than:
    myfile1 prov:wasGeneratedBy myactivity1

    myactivity1 a spm:Realignement

Does that make more sense?
And the "basic types" (int, float, etc.) can be taken from xsd: https://www.w3.org/TR/swbp-xsch-datatypes/

TODO :
provide an Agent named SPM pointing to https://scicrunch.org/resources/Any/record/nlx_144509-1/SCR_007037/resolver?q=SPM&l=SPM

@cmaumet can you suggest somehting different than prov-store for pretty printing ?
I think the service is down, it always yields a Server Error when I try

@cmaumet everything seems OK to merge this PR
Last comments perhaps  ?


Denial of Service (DoS) via Large Public Key

This issue was not discovered by me, but during and audit, see "L3" in https://delta.chat/assets/1907-otf-deltachat-rpgp-rustrsa-gb-reportv1.pdf:
"The RSA library allows operating upon large keys, which can consume a large amount of
computation time. An attacker who can force an application to encrypt with a million-byte RSA
public key can force the application into a Denial of Service (DoS) condition."
"The assessment team recommends exposing a higher-level API which performs additional
security checks. For instance, key sizes may be limited to 4096 bits by default but can be
overridden if necessary."

Thanks for opening a tracking issue for this.
I agree that something like 4096 or 8192 would be a reasonable limit for a "checked" API.
My understanding is some applications (i.e. OpenPGP) need to support significantly larger keys. I'm not sure what the sanity limit should actually be there (IIRC @dignifiedquire mentioned up to 16384 iirc?)
So perhaps the default API could be changed to have a sanity limit, and an additional *_unchecked API could be added which doesn't support the sanity check to support exotic key sizes.

So for gpg the default limit seems to be 8KiB, with a compile time option to go larger than that: https://wiki.gnupg.org/LargeKeys.
I have not heard of any use case other than pgp for larger keys, so I think we could follow the same approach

default: up to 4kib
medium-keys: up to 8kib
´large-keys`: up to 16kib

@dignifiedquire how about reducing that to just two options, one which allows keys <= 4096-bits, and "large keys" mode which supports up to 16384-bits?

#170 restricts the maximum modulus size to 16384 bits. That's a stopgap, but not sufficient to close this issue.
To go further, we need to relegate keys that large to the previously proposed "large keys" mode, and set a lower bound which is used by default. I'm still thinking 4096-bits there.

#176 now restricts the max public key size to 4096-bits, unless the special RsaPublicKey::new_with_max_size function is used to override the limit.


Create an alternative simple template without multiproject stuff

This template is kind of advanced. This project should be renamed to "sponge-boilerplate-advanced" or "-pro", the other project should be just "sponge-boilerplate".
Additionally, we could also create a github organization named "spbp" (similar to https://github.com/h5bp/).
What do you think, @TBotV63?

That makes sense. But I'd name it something like sponge-boilerplate-multiproject. It's long, but describes it better.

@TBotV63 https://github.com/h5bp/html5-boilerplate
You are invited.
I renamed this repo to multiproject-boilerplate.
I also created a repo for the simple boilerplate.

Thanks; I'm in :P


No output, only html/static/js/search-index.js

Hi, I finally got a chance to try out Djockey, and unfortunately it didn't work on the first go :/
My config file is:
input_dir: src
output_dir:
  html: docs-out/html
  gfm: docs-out/gfm
site_name: "Ryan's Documentation"
url_root: .

html:
  footer_text: "Ryan Brue 2024"

and my directory tree is:
C:\USERS\RYAN.BRUE\DOCUMENTS\DOCUMENTATION\DOCS
│   djockey.yaml
│
└───src
    │   index.dj
    │
    ├───daily_docs
    │   │   202406.dj
    │   │   202407.dj
    │   │   202408.dj
    │   │   202409.dj
    │   │   index.dj
    │   │
    │   └───resources
    │       ├───202406
    │       │       image-1.png
    │       │       image-2.png
    │       │       image.png
    │       │
    │       ├───202407
    │       │       image.png
    │       │
    │       └───202408
    │               image.png
    │               image2.png
    │
    └───notes
            20240829_meeting.dj
            20240830.dj
            ci_idea.dj
            index.dj

I ran npx djockey docs and all I got is this in my project root directory:
C:\USERS\RYAN.BRUE\DOCUMENTS\DOCUMENTATION\DOCS-OUT
└───html
    └───static
        └───js
                search-index.js

Looking forward to getting it to work, I'm not sure what I ended up doing wrong!
PS if it helps, the program output didn't spout out any error either:
√ Parsing documents
√ Setting up plugins
√ Transform pass 1 of 1
√ Connecting pages
√ Copying static files
√ Rendering html

Guess who didn't test on Windows? 👉🏻 👉🏻  This guy!

After poking at this for a couple minutes, I think supporting Windows filesystem paths will need careful consideration. The config file needs to be the same everywhere, which means it will continue to use forward slashes, but the code that interacts with the filesystem will need to use the system path separator and escaping.

Probably fixed by #43. Would you be open to testing this before I tag a real release?
The way you'd do that would be to initialize a Node project (npm init) and specify the Djockey dependency as<EMAIL_ADDRESS>(or at least I think that's what it is). Then you can run npx djockey docs again.

If I were you, I'd try adding Windows tests to your CI, to make sure there aren't regressions when making changes to djockey

Ah, I think the command is "npm run djockey" with the local install. I do plan to add tests, there's just been a lot to get through.

I have output now, but the static links can't be resolved apparently:
Not sure what to do with link etc/CHECKIN_20240627.md in daily_docs/202406
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\etc\CHECKIN_20240627.md
    Not sure what to do with link resources/202406/image-1.png in daily_docs/202406
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202406\image-1.png
    Not sure what to do with link resources/202406/image.png in daily_docs/202406
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202406\image.png
    Not sure what to do with link resources/202406/image-2.png in daily_docs/202406
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202406\image-2.png
    Not sure what to do with link /topics/pvu_cli/pvu_cli.md in daily_docs/202406
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\topics\pvu_cli\pvu_cli.md
    Not sure what to do with link resources/202407/image.png in daily_docs/202407
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202407\image.png
    Not sure what to do with link resources/202408/image2.png in daily_docs/202408
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202408\image2.png
    Not sure what to do with link resources\202408\image.png in daily_docs/202408
      Looked for but did not find a static file at C:\Users\Ryan.Brue\Documents\Documentation\docs\src\resources\202408\image.png

good to hear something worked! I'll do some combination of figuring it out and setting up windows tests in CI.

To help me debug: what is the actual path of one of your static files, such as image-1.png?

Although I haven't seen your markup, I suspect you're saying something like ![](image.png) where image.png is in the same directory. Djockey won't look for image.png in the same directory; instead, it will try input_dir/image.png. This is the wrong thing for it to do.
As a stopgap, you can add ./ to your links.

Here's an example of a reference in docs/src/daily_docs/202407.md:
![alt text](resources/202407/image.png)

The file at that path does exist, and the printed path in the warning above exists, but it doesn't ever get the content into the output directory. Confusing


Add conv2dTranspose gradients

Fixes https://github.com/tensorflow/tfjs/issues/449

This change is

FYI, this PR is blocking the work on a GAN example: https://github.com/tensorflow/tfjs-examples/pull/148

@nsthorat let me know if this looks good to you now. Thanks.


behavioral inflexibility

J229005 - behavioral inflexibility/flexibility - I've come across this before and googling the term brings in lots of references in mice.  In this reference, inflexibility is determined by the no alterations T maze.
Wiki defines cognitive flexibility as the mental ability to switch between thinking about two different concepts, and to think about multiple concepts simultaneously. In the meantime, I'm putting it under abnormal emotion/affect behavior.

Added new term:
cognitive inflexibility  MP:0014115


Implementation of multihash is not future proof

The implementation of multihash is pegged to 256-bit hashes. This is effectively hard-coding to the current/prior version of IPFS. This means it is not a compliant implementation of multihash and it is not forward compatible with IPLD.
The design motivation of Erasure seems to be the sale of secret files over the span of days/ weeks/ months.
The current version of IPFS/CID uses SHA-256 which seems safe for the foreseeable future. And future versions of IPFS are likely to support SHA-256 CIDs (CIDv0/CIDv1) indefinitely. This means adopting only SHA-256 may be a reasonable tradeoff.
Dropping IPLD forward compatibility and pegging to SHA-256 will retain compatibility with IPFS while only requiring one storage slot (256 bits) versus the current two (saves 20,000 gas for Post).
Recommendation: reconsider the benefits of strict compliance with IPLD
References:

Implementation requires 256 bit hashes (34 bytes including headers) https://github.com/erasureprotocol/erasure-protocol/blob/4a3d98ce023a264a9f3c7ba62ef77a9207bba5fe/contracts/modules/MultiHashWrapper.sol#L44
IPFS content identifiers: https://docs.ipfs.io/guides/concepts/cid/
IPFS content identifier evolution https://github.com/ipfs/specs/issues/130

deprecated use of multihash


blahaj: 2.0.2 -> 2.1.0

Description of changes

bumped version
added myself to list of maintainers.

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

[ ] 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.

Result of nixpkgs-review pr 240647 run on x86_64-linux 1

1 package built:

blahaj

thanks!


Update various otel quickstart links to new locations

We've recently rework the opentelemetry docs. All the examples demonstrating infrastructure monitoring with the collector have been consolidated into a single page, with links out to directories in newrelic-opentelemetry-examples where the source code lives. Also, the directory structure has changed and all of the opentelemetry docs have moved locations, with the root now https://docs.newrelic.com/docs/opentelemetry/opentelemetry-introduction/.
We recently had some customer feedback that one of the quickstart links for an opentelemetry integration was broken. https://github.com/newrelic/docs-website/pull/17975 fixes the redirects on the docs site so that users with old links land in useful places. This PR here fixes the links at the source.

 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.

Hey @jack-berg, would you mind signing our CLA? Once that's done, we can review and merge this work. Thanks!

All set @zstix


Update CI to use Xcode 14 beta 5

Test out all presubmit tests with Xcode 14 beta 5

Simulator runtime missing, filed https://github.com/flutter/flutter/issues/110543

Filed https://github.com/flutter/flutter/issues/110553


Custom themes

Custom color schemes
Change icons
Change fonts
Change text size for accessibility
Rearrange elements such as:

Browser
Media controls
Progress bar
Album cover
Audio spectrum
Track data
VU Meter

ive already started working on that a bit by replacing everything with custom tailwind vars, check the theme folder in the repo


Readme example fails on locally cloned rusqlite

I'm compiling on Windows 10 with Visual Studio 2017 x64. Here's my Cargo.toml:
[package]
name = "_test"
version = "0.1.0"
authors = ["a"]
edition = "2018"

[dependencies]
rusqlite = { path = "rusqlite", features = ["bundled"] }
time = "0.1"

Here's what I get for terminal output:
D:\_test>cargo build --release
    Updating crates.io index
   Compiling vcpkg v0.2.6
   Compiling winapi v0.3.6
   Compiling pkg-config v0.3.14
   Compiling cc v1.0.25
   Compiling libc v0.2.43
   Compiling linked-hash-map v0.4.2
   Compiling bitflags v1.0.4
   Compiling lru-cache v0.1.1
   Compiling time v0.1.40
   Compiling libsqlite3-sys v0.9.5 (D:\_test\rusqlite\libsqlite3-sys)
   Compiling rusqlite v0.14.0 (D:\_test\rusqlite)
   Compiling _test v0.1.0 (D:\_test)
error[E0308]: mismatched types
  --> src\main.rs:32:30
   |
32 |                  &[&me.name, &me.time_created, &me.data]).unwrap();
   |                              ^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `time::Timespec`
   |
   = note: expected type `&std::string::String`
              found type `&time::Timespec`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: Could not compile `_test`.

To learn more, run the command again with --verbose.

Could you please try without edition = "2018" ?

Removing the edition did not change anything. I also forgot to say that I'm using rust nightly, but using stable still causes the same error (after removing the edition because that requires enabling a cargo feature).

Ok,
Your are using a snapshot version of rusqlite but an old version of the example which has been updated: see here and here.

Ah. I had tested &[&me.name, &me.time_created, &me.data] as &[&ToSql] too and got very close


Universe envs inside Multiprocessing process do not respond to action steps

Expected behavior
I expected Universe env running in a multiprocessing process to respond to action steps issued in that process.
Actual behavior
When running this code the environment make and reset work, but action step has no effect (e.g NeonRace-v0 controlled car doesn't respond to actions) .
import multiprocessing as mp

import gym
import universe

def worker(rank):
    env = gym.make('flashgames.NeonRace-v0')
    env.configure(remotes=1, client_id=rank)
    observation_n = env.reset()
    while True:
        action_n = [[('KeyEvent', 'ArrowUp', True)] for ob in observation_n]
        observation_n, reward_n, done_n, info = env.step(action_n)

num_processes = 1
processes = []
for rank in range(num_processes):
    p = mp.Process(target=worker, args=(rank,))
    p.start()
    processes.append(p)
for p in processes:
    p.join()

^You need to run this code on Linux. Running on Mac OS X will cause error with Twisted because OS X only uses file systems (not file descriptors) for multiprocessing.
Versions
Please include the result of running
$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow
Linux 314e099d28d4 4.4.41-moby #1 SMP Wed Jan 11 01:09:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Python 3.5.2
Name: gym
Version: 0.8.1
Summary: The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.
Home-page: https://github.com/openai/gym
Author: OpenAI
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /usr/local/lib/python3.5/dist-packages
Requires: numpy, six, pyglet, requests
---
Name: numpy
Version: 1.11.0
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email<EMAIL_ADDRESS>License: BSD
Location: /usr/lib/python3/dist-packages
Requires:
---
Name: go-vncdriver
Version: 0.4.19
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /usr/local/lib/python3.5/dist-packages
Requires: numpy
---
Name: Pillow
Version: 4.1.0
Summary: Python Imaging Library (Fork)
Home-page: https://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email<EMAIL_ADDRESS>License: Standard PIL License
Location: /usr/local/lib/python3.5/dist-packages
Requires: olefile

^I'm running this in default docker instance provided by universe repo

Found a fix in this stackoverflow response:
http://stackoverflow.com/a/11283425

It's possible you can avoid this issue by not loading any of Twisted until you've already created the child processes. This would turn your usage into a single-process use case as far as Twisted is concerned (in each process, it would be initially loaded, and then that process would not go on to fork at all, so there's no question of how fork and Twisted interact anymore). This means not even importing Twisted until after you've created the child processes.

So for multiprocessing + universe, that would mean this:
import multiprocessing as mp

def worker(rank):
    import gym
    import universe
    env = gym.make('flashgames.NeonRace-v0')
    env.configure(remotes=1, client_id=rank)
    observation_n = env.reset()
    while True:
        action_n = [[('KeyEvent', 'ArrowUp', True)] for ob in observation_n]
        observation_n, reward_n, done_n, info = env.step(action_n)

num_processes = 1
processes = []
for rank in range(num_processes):
    p = mp.Process(target=worker, args=(rank,))
    p.start()
    processes.append(p)
for p in processes:
    p.join()

^which works
You might want to add this to the "Solutions to common problems" wiki.


Fixes for relations using unmodified persisted entities

Fixes for issue #163 and added test for #162

This is amazing. Thank you so much for all your hard work on this, @nebulousGirl. Many people will surely enjoy this.


Questions regarding notification.

Hi team, I have one question. For me, it looks like the notification is working with sound and windows notification when I have the 'https://lostmerchants.com/' website opened but doesn't give me any notification if I did not open up the web site. Is this normal? Do you have to be on the website to receive the windows OS notification?

Yes, everything currently functions via the browser tab, so you have to keep the site open in the background to function.


Add MSS620R to the list of native HK devices

Thanks for this!

This is now included in beta version 7.5.1-beta.0.


Update SITES.md

Hui @benmezger
Your site is not loading

Thanks for letting me know. It should me working now.
Shajibur Rahman<EMAIL_ADDRESS>writes:

Hui @benmezger
Your site is not loading
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

--
Ben Mezger


System.Threading.Overlapped fails to install in a Xamarin project

NuGet package System.Threading.Overlapped fails to install in a Xamarin project
General
Xamarin projects are still using packages.config and the old NuGet system, so no PackageReference in the .csproj. I think that is why it is still looking for a lib folder with .NET Standard assemblies and why it is interpreting the NuGet package incorrectly.
I experienced this with an Android app, however looks like it doesn't really matter which kind of Xamarin project you're using as described in https://github.com/xamarin/xamarin-macios/issues/3138
I manually added the package using a PackageReference in my csproj, which succeeded. But then the app crashes at runtime when trying to load the assemblies.
The other workaround to avoid the Win32 files mentioned in the issue didn't work for me and failed with the following compilation error:
/Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.targets(5,5): Error: Your project.json doesn't have a runtimes section. You should add '"runtimes": { "unix": { } }' to your project.json and then re-run NuGet restore.

Repro
Just create any Xamarin project (Android app, iOS app...) and try to install System.Threading.Overlapped with Visual Studio for Mac.
Version info
=== Visual Studio Enterprise 2017 for Mac ===

Version 7.3.3 (build 12)
Installation UUID: 75a3e4df-6d6e-4364-9dac-61e6293ef1f9
Runtime:
	Mono <IP_ADDRESS> (2017-06/e66d9abbb27) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 504010007

=== NuGet ===

Version: <IP_ADDRESS>45

=== .NET Core ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	2.0.5
	2.0.0
	1.1.2
	1.1.1
	1.1.0
	1.0.5
	1.0.4
	1.0.1
SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks
SDK Versions:
	2.1.4
	2.0.0
	1.0.4
	1.0.3
	1.0.0-preview2-1-003177
	1.0.0-preview2-003131
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.1/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

Version: 1.6.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 9.2 (13772)
Build 9C40b

=== Xamarin.Android ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)
Android SDK: /Users/sam/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.3 (API level 18)
		6.0 (API level 23)
		7.0 (API level 24)
		7.1 (API level 25)
		8.0 (API level 26)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 27.0.1
SDK Build Tools Version: 27.0.3

Java SDK: /usr
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin.Mac ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)

=== Xamarin.iOS ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)
Hash: db807ec9
Branch: xcode9.2
Build date: 2018-01-10 16:45:48-0500

=== Xamarin Inspector ===

Version: 1.4.0
Hash: b3f92f9
Branch: master
Build date: Fri, 19 Jan 2018 22:00:34 GMT
Client compatibility: 1

=== Build Information ===

Release ID: 703030012
Git revision: b07492f1e48be596bad92dc4b7a3bc2d128ed0f9
Build date: 2018-01-30 13:15:55-05
Xamarin addins: 7c8f967d67207118dd99a1d0cc9c228045b30c5f
Build lane: monodevelop-lion-d15-5

=== Operating System ===

Mac OS X 10.13.3
Darwin 17.4.0 Darwin Kernel Version 17.4.0
    Sun Dec 17 09:19:54 PST 2017
    root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Android Signature Tool 2.1.2
Gist Ide Information 1.1.0
MSBuild Editor 2.0.1
NuGet Package Explorer 0.2
NuGet Package Management Extensions 0.12.6
Redth's Addins 1.0.9
Show in Github 1.0.4
Internet of Things (IoT) development (Preview) 7.1

Looks like I looked over the issue https://github.com/dotnet/corefx/issues/26203 so this one can be closed