Design warning representation for DocumentSentiment

Warnings currently exist only on SentenceSentiment.  If a sentence has a warning, though, then the document containing the sentence should have a warning as well.  Consider the design of TextSentiment to accomodate warnings at both levels.

When there is a warning, service returns something like:
{
   "documents":[
      {
         "id":"0",
         "sentiment":"negative",
         "documentScores":{
            "positive":0.09,
            "neutral":0.11,
            "negative":0.8
         },
         "sentences":[
            {
               "sentiment":"negative",
               "sentenceScores":{
                  "positive":0.15,
                  "neutral":0.04,
                  "negative":0.81
               },
               "offset":199,
               "length":585,
               "warnings":[
                  "Sentence was truncated because it exceeded the maximum token count."
               ]
            }
         ]
      }
   ],
   "errors":[

   ],
   "modelVersion":"2019-10-01"
}

we completely ignore warnings, so definitely need to fix it

Service team is working on moving warnings to the same level as errors, but including an ID.
This change will be proposed after the release date for P3 so moving this issue to next iteration

Conversation on Teams Channel: https://teams.microsoft.com/l/message/19:7b87fb348f224b37b6206fa9d89a105b@thread.skype/1587764652237?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&parentMessageId=1587764652237&teamName=Azure SDK&channelName=Language - DotNet&createdTime=1587764652237
Python and JS are more inclined to follow option 3.
From conversations, looks like .NET might follow.

Implementation of the design is in PR https://github.com/Azure/azure-sdk-for-net/pull/11827


Pass in a config which uses a testing.postgresql database for testing

Also change up a little of how the configs are working to make it a little less magic.

Fixes https://github.com/COVID19Tracking/covid-publishing-api/issues/22


Purpur download error

As of Sept. 18, I receive this upon restarting the container:
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 8 1000 1000 4096 Sep 18 08:18 /data'
[init] Resolved version given 1.17.1 into 1.17.1
[init] Resolving type given PURPUR
parse error: Invalid numeric literal at line 1, column 10
[init] ERROR: Failed to locate a Purpur build for 1.17.1.
[init]        Please check if a download is available at https://purpur.pl3x.net/downloads/

I am not able to recreate this issue. Please re-pull the latest image to make sure you're up to date.
> docker pull itzg/minecraft-server
Using default tag: latest
latest: Pulling from itzg/minecraft-server
Digest: sha256:4c7a44ce777ee7068333b6a51a7b32a91358c411555624858babb110e4e42a60
Status: Image is up to date for itzg/minecraft-server:latest
docker.io/itzg/minecraft-server:latest

> docker run -it --rm -e EULA=TRUE -e TYPE=PURPUR itzg/minecraft-server
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 2 1000 1000 4096 Sep 16 02:29 /data'
[init] Resolved version given LATEST into 1.17.1
[init] Resolving type given PURPUR
[init] Downloading Purpur from https://api.pl3x.net/v2/purpur/1.17.1/1394/download ...
[init] Creating server.properties in /data/server.properties
[init] Disabling whitelist
[init] Setting whitelist to 'false' in /data/server.properties
[init] Setting white-list to 'false' in /data/server.properties
[init] Adding server-name with 'Dedicated Server' in /data/server.properties
[init] Setting server-port to '25565' in /data/server.properties
[init] Setting motd to 'A Purpur Minecraft Server powered by Docker' in /data/server.properties
[init] Setting enable-rcon to 'true' in /data/server.properties
[init] Setting rcon.password to 'minecraft' in /data/server.properties
[init] Setting rcon.port to '25575' in /data/server.properties
[init] Setting level-name to 'world' in /data/server.properties
[init] Setting online-mode to 'true' in /data/server.properties
[init] Checking for JSON files.
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...


[BUG] Duplicated name entry

Description
There's a duplicated name entry that should be removed, on line 1581.
https://github.com/EddieHubCommunity/hacktoberfest-practice/blob/9dd7b0d1d881fbcbf195d6c83cb334c075141b60/README.md?plain=1#L1581-L1582
This should be fixed immediately.
Screenshots
No response
Additional information
This is a good first issue. Please leave it open to first-time contributors and beginners.

@Panquesito7
Require changes already done👍
Note: Thanks for giving a chance to a beginner.


Distribute OSVR driver via Steam

Figure out how to distribute the OSVR driver via Steam or some other Valve-supported mechanism.

I do know that SKSE for Skyrim has a similar setup where they are in the store as a "mod" and the download just slaps down the SKSE executables into the Skyrim folder...maybe you could request some kind of "SteamVR" mod page in a similar light and have that distribute the driver.
Link to SKSE steam page

Steamvr just mneeds to be made aware of non vive hardware.  IMO steam-osvr drivers should be installed when steamvr is installed with non vive hardware is connected but that hardware is supported by openvr.

Can anybody confirm this request could be close to being implemented?   ref: recent steam beta client issues like what op describes in this thread  http://steamcommunity.com/groups/SteamClientBeta/discussions/0/366298942105784854/?tscn=1468586579#c366298942106370689

New OSVR Central program (open sourced) automatically detects new hardware
with the goal of installing drivers for it automatically (subject to user
approval)
On Fri, Jul 15, 2016 at 9:37 AM, Shaun<EMAIL_ADDRESS>wrote:

Can anybody confirm this request could be close to being implemented? ref:
recent steam beta client issues like what op describes in this thread
http://steamcommunity.com/groups/SteamClientBeta/discussions/0/366298942105784854/?tscn=1468586579#c366298942106370689
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OSVR/SteamVR-OSVR/issues/18#issuecomment-232952661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIqiI0pNayYk10eAPJ0pcEjZW-32q7pPks5qV40mgaJpZM4GzSTc
.

--
Yuval Boger
CEO | VRguy http://www.vrguy.net/
Sensics, Inc. http://www.sensics.com/
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
July 13: VRguy podcast: Shaun Williams, CEO of MAG games
http://bit.ly/29vCqIW
July 6: VRguy podcast: Matt Peckham, video game critic for TIME
http://sensics.com/vrguy-podcast-episode-17-matt-peckham-video-game-critic-for-time/
June 29: VRguy podcast: Tim Ruse, CEO of Zero Latency, on free-roam VR
http://sensics.com/vrguy-podcast-episode-16-tim-ruse-ceo-of-zero-latency-on-free-roam-vr/
June 22: The three (and a half) configurations of eye trackers
http://sensics.com/the-three-and-a-half-configurations-of-eye-trackers/

;-)  yay i saw that new addition to osvr repos.    Good readme.md too.  :-)

Can the steamWorks support channels point you in the right direction?.
Seeing a one click solution to starting steamvr apps when using steamvr-osvr drivers would be awesome.   The http://store.steampowered.com/app/491380/SteamVR_Driver_for_Razer_Hydra/ are probably an example of what we really want for steamvr-osvr drivers and their associated dependencies.


to show images

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.
[x] I have added necessary documentation (if appropriate)

Short description of what this resolves:
Changes proposed in this pull request:

I have made some changes
@mariobehling review and merge
Thanks,
M.Anantha Vijay

Fixes #https://github.com/fossasia/open-event-webapp/issues/2095

@Ananthavijay Thanks for the pr , please indent the code and provide a sample.


Added support for h1-h6

@michaellitherland maybe, but this is how all the accessors currently work.


added new file

Added a new file. Completed MVP.

@docoleman36 MVP was met, feel free to continue on stretch on a new branch. I would just name it dj-coleman-stretch or whatever you like, but the merge signifies you are complete with MVP. Good work 👍


Chrome doesn't honor border-radius on s

This is related to this StackOverflow post at http://stackoverflow.com/questions/5780109/removing-rounded-corners-from-a-select-element-in-chrome-webkit.
Basically if you have the following HTML:

  <select class="form-control input-sm">
    <option value="4242" selected="">Visa ending in 4242 (12/2015)</option>
  </select>

    <button type="button" data-toggle="modal" data-target="#cards-modal" class="btn btn-primary btn-sm card-manage-btn">Manage</button>

Chrome will render the  as follows (ignoring the border-top-right-radius: 0px; and border-bottom-left-radius: 0px; rules as set by Bootstrap:

A possible fix would be something like this:
<select class="form-control input-sm" style="border: 0; outline: 1px inset #cccccc; outline-offset:-1px;">
  <option value="4242" selected="">Visa ending in 4242 (12/2015)</option>
</select>

Which renders the select as follows:

Just documenting this here, most likely this issue will be closed as it's Chrome only.

Approximate duplicate of #15340.
Yeah, this is already documented: https://github.com/twbs/bootstrap/blob/b7c332f183d52c6b1432a4eb511b8c61478bfc81/docs/_includes/css/forms.html#L409
And we also specifically recommend against <select>s in .input-groups: https://github.com/twbs/bootstrap/blob/b7c332f183d52c6b1432a4eb511b8c61478bfc81/docs/_includes/components/input-groups.html#L8
I'll leave it to @mdo to evaluate whether your hack is worth pursuing.

@cvrebert thank you :+1:

Nah, we'll pass on the hack for that. Not worth our time to get into even more form inconsistencies.

@mdo @cvrebert does anyone know if there is a WebKit, Safari, or CRBug for this filed somewhere?  It'd be so nice if they patched WebKit to support border-radius customization on 's...

No, I haven't gone looking for one because it's more of an RFE than a bug per se. CSS/HTML currently deliberately leaves a lot of stuff around styling <select>s undefined.

http://stackoverflow.com/a/5780261
select {
-webkit-appearance: none;
-webkit-border-radius: 0px;
}

Isn't it.
select {
-webkit-appearance: none;
-webkit-border-radius: 0px;
}
According to that link you've referenced?

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <Re: [bootstrap] Chrome doesn't honor border-radius on s (#15588)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

yeah but it doesn't work anyway becouse of the disappearing arrows. In my case I tested with only appearence but the -webkit- part was added by grunt. In any case it doesn't work becouse of the disappearing arrows. For reference I just went with ui-select for my application, select2 is another option.


Clamp negative colors regardless of the tonemapper to avoid artifacts

master version of https://github.com/godotengine/godot/pull/51439.
Color artifacts could be visible when using negative lights with the Filmic and ACES tonemapping operators, as these did not clamp negative colors.
Question: Should we clamp in each tonemapper individually, do it for all tonemappers separately, or do it for all tonemappers except Linear? I'm not sure if it makes a difference.
Preview
Linear

Before
After

Reinhard (already clamped before this PR)

Before
After

Filmic

Before
After

ACES

Before
After

Thanks!


Python Requests Error

Hello, I am running Ghidra version on 9.2.1, and the latest version of the Intezer plugin. Unfortunately, when running the script on a sample, I am getting a Python requests error. Requests is definitely installed on the system.
intezer_analyze_gh_community.py> Running...
Whelp, something went wrong.
Traceback (most recent call last):
  File "/usr/bin/ghidra_9.2.1_PUBLIC/Ghidra/Processors/PIC/ghidra_scripts/analyze-community-ghidra-plugin/intezer_analyze_gh_community.py", line 26, in <module>
    import requests
ImportError: No module named requests
intezer_analyze_gh_community.py> Finished!

Python sys.version:
'2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)\n[OpenJDK 64-Bit Server VM (Debian)]
Is there a way to resolve this without uninstalling/reinstalling requests? The sample is ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa.

Please close, this is resolved by adding os.name == "java" as detailed in this earlier ticket. https://github.com/intezer/analyze-community-ghidra-plugin/issues/8

Greetings,
The following pull request change may help you:
https://github.com/intezer/analyze-community-ghidra-plugin/pull/20
Also, if that does not help you, the diagnostic process that I used to view how each of the conditions resolves inside Ghidra should at least show you where the problem is located:
>>> import os
>>> import sys
>>> (os.name == "Posix") and (("Linux") in os.uname())
False
>>> os.name == "java"
True
>>> ("Darwin") in os.uname()
True
>>> os.name == "nt" or ("windows") in java.lang.System.getProperty("os.name").lower()
False
>>> os.name
PyShadowString('java', 'posix')
>>> os.uname()
('Darwin', 'example.com', '20.6.0', 'Darwin Kernel Version 20.6.0: Wed Nov 10 22:23:07 PST 2021; root:xnu-7195.141.14~1/RELEASE_X86_64', 'x86_64')


@@include referencing a json file

Why can't I use a json file with a @@include tag? When I pass the json context, the @@include tag works fine, but if I specify a json file, nothing happens: no error and no binding.
I'm sure the json file exists and its well referenced because replacing the @@include tag for @@loop leads to include the same template file several times (once per json property - which means that a loop statement have been aplied using my json structure). I'm using this json in several templates, so I really need to include it by referencing its file.
My goal is do something like that:
@@include('partials/_gallery-before.html', '../json/data.json')
@@loop('partials/_gallery-item.html', '../json/data-gallery.json')
@@include('partials/_gallery-after.html', '../json/data.json')

I found two possible workarounds, but they are very bad practices, I guess. The first one is define my data.json as an array with just one position containing my real object, what gives me this code:
@@loop('partials/_gallery-before.html', '../json/data-as-array.json')
@@loop('partials/_gallery-item.html', '../json/data-gallery.json')
@@loop('partials/_gallery-after.html', '../json/data-as-array.json')

The downside is I need to use [0] in other places, because I use the same json in my js files.
The second choice, that I'm using now (don't blame, please) is use gulp-include to add my json file as  a literal json. I run the gulp-include first so then I run the gulp-file-include and my template look like this:
@@include('partials/_gallery-before.html', //=include ../json/data.json)
@@loop('partials/_gallery-item.html', '../json/data-gallery.json')
@@include('partials/_gallery-after.html', //=include ../json/data.json)

Ok. I know, I know. So I'm here to found a better solution just like I said it was my goal. :)

@robsonrosa
Did you find a better solution for this?

Sorry, @dnnsldr, but I couldn't find a better solution.

Did you find a solution for this? could you give me the code you said "two possible workarounds, but they are very bad practices" . I do not understand well

This is not supported and its very weird.

Here is the solution everyone.
 // Boom boom
        if (args[3]) {
          var includeJSON = JSON.parse(args[3]);
          var datafile = includeJSON.file;
          var jsonfile = file.base + datafile.replace(/^('|")/, '').replace(/('|")$/, '')
          // check if json file exists
          if (fs.existsSync(jsonfile)) {
            args[3]= JSON.stringify(require(jsonfile));
          } else {
            return console.error('JSON file not exists:', jsonfile)
          }
        }

Put this in index.js before line 175.

I've this issue
https://github.com/haoxins/gulp-file-include/issues/167


In-process hosting model graphic is not consistent with description

The graphic suggests that the IISHttpServer sits in the middle between the ASP.NET Core Module and the application code. But in the description below it says that the request is handled first by the IISHttpServer, which passes it on to the ASP.NET Core Module and then to the application code as an HttpContext.
It also says that the application code passes the response directly to IIS. Is there no involvement of IISHttpServer or ASP.NET Core Module?

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

ID: d8f53b58-a048-69ca-2e89-3625bb4cc839
Version Independent ID: 32a343a1-ba87-7274-e861-2ac194d5aa3d
Content: Web server implementations in ASP.NET Core
Content Source: aspnetcore/fundamentals/servers/index.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: tdykstra

Hello @TaDe90 ...
It says that after the IIS HTTP Server processes the request, the request is pushed into the ASP.NET Core middleware pipeline, not to ANCM.

It also says that the application code passes the response directly to IIS.

It doesn't say "directly." I'd like to add "back through IIS HTTP Server" to make it clear. I'll put that change in now. Thanks for suggesting it.


Lean 2869

Adding @IslamJMomani as a reviewer as she's working actively on the references and citation at the moment.

Adding @IslamJMomani as a reviewer as she's working actively on the references and citation at the moment.

I'm afraid we shouldn't merge this now, as the entire thing is expected to change during the refactoring we are currently working on.

Adding @IslamJMomani as a reviewer as she's working actively on the references and citation at the moment.

I'm afraid we shouldn't merge this now, as the entire thing is expected to change during the refactoring we are currently working on.

Then we should probably move LEAN-2869 to "On Hold" state until you are done with your changes.

Then we should probably move LEAN-2869 to "On Hold" state until you are done with your changes.

Correct.

@jirikaiser-atypon, Why has this been moved to QA?

@jirikaiser-atypon, Why has this been moved to QA?

It has been discussed in the backlog refinement meeting and decided test and merge this solution for now.


Build server and app shared class cache

Summary
This change builds a shared class cache (SCC) for Liberty during the build to improve app startup times. The following build config options were added:

BP_LIBERTY_SCC_DISABLED disables the SCC from being built (default: false)
BP_LIBERTY_SCC_SIZE_MB controls the size of the initial SCC (default: 100mb)
BP_LIBERTY_SCC_NUM_ITERATIONS controls the number of times the server is started/stopped when building the SCC
BP_LIBERTY_SCC_TRIM_SIZE_DISABLED controls whether the SCC's size is trimmed in the end.

Use Cases
Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Thanks for the review.

I know that you log info about the size of the cache when you create/resize it. It might also be interesting to log the final size of the cache that is added to the image. What's being logged now, to me, reads like you might have up to that amount of data in the cache, but if you walked the tree of the cache directory and calculated the actual size of what is being added I could see that being useful to users.  Just a thought, not a requirement.

The cache uses a single binary file per cache layer created so we should only have 1 file for our cache. The build reports that the final cache size is:
Cache is 56% full
    Resizing cache from 100m to 56m

and when we take a look at the file information and size, we see 56MB for the cache file:
$ file /tmp/C290M11F1A64P_liberty_G43L00
/tmp/C290M11F1A64P_liberty_G43L00: data

$ ls -hal /layers/paketo-buildpacks_liberty/open-liberty-runtime-full/output/.classCache/C290M11F1A64P_liberty_G43L00
-rw-rw-r-- 1 cnb cnb 56M Jan  1  1980 /layers/paketo-buildpacks_liberty/open-liberty-runtime-full/output/.classCache/C290M11F1A64P_liberty_G43L00

The delta in image file sizes are approximately equivalent the cache size:

Sample app with cache: 646MB
Sample app without cache: 585MB
Delta: 61MB


[go_router_builder] Two consecutive pop operations trigger "Future already completed" error

What package does this bug report belong to?
go_router_builder
What target platforms are you seeing this bug on?
Android, iOS
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
  _fe_analyzer_shared:
    dependency: transitive
    description:
      name: _fe_analyzer_shared
      sha256: f256b0c0ba6c7577c15e2e4e114755640a875e885099367bf6e012b19314c834
      url: "https://pub.dev"
    source: hosted
    version: "72.0.0"
  _macros:
    dependency: transitive
    description: dart
    source: sdk
    version: "0.3.2"
  analyzer:
    dependency: transitive
    description:
      name: analyzer
      sha256: b652861553cd3990d8ed361f7979dc6d7053a9ac8843fa73820ab68ce5410139
      url: "https://pub.dev"
    source: hosted
    version: "6.7.0"
  args:
    dependency: transitive
    description:
      name: args
      sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6
      url: "https://pub.dev"
    source: hosted
    version: "2.6.0"
  async:
    dependency: transitive
    description:
      name: async
      sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
      url: "https://pub.dev"
    source: hosted
    version: "2.11.0"
  boolean_selector:
    dependency: transitive
    description:
      name: boolean_selector
      sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.1"
  build:
    dependency: transitive
    description:
      name: build
      sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.1"
  build_config:
    dependency: transitive
    description:
      name: build_config
      sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  build_daemon:
    dependency: transitive
    description:
      name: build_daemon
      sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.2"
  build_resolvers:
    dependency: transitive
    description:
      name: build_resolvers
      sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.2"
  build_runner:
    dependency: "direct main"
    description:
      name: build_runner
      sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d"
      url: "https://pub.dev"
    source: hosted
    version: "2.4.13"
  build_runner_core:
    dependency: transitive
    description:
      name: build_runner_core
      sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0
      url: "https://pub.dev"
    source: hosted
    version: "7.3.2"
  built_collection:
    dependency: transitive
    description:
      name: built_collection
      sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
      url: "https://pub.dev"
    source: hosted
    version: "5.1.1"
  built_value:
    dependency: transitive
    description:
      name: built_value
      sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb
      url: "https://pub.dev"
    source: hosted
    version: "8.9.2"
  characters:
    dependency: transitive
    description:
      name: characters
      sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  checked_yaml:
    dependency: transitive
    description:
      name: checked_yaml
      sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
      url: "https://pub.dev"
    source: hosted
    version: "2.0.3"
  clock:
    dependency: transitive
    description:
      name: clock
      sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
      url: "https://pub.dev"
    source: hosted
    version: "1.1.1"
  code_builder:
    dependency: transitive
    description:
      name: code_builder
      sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37
      url: "https://pub.dev"
    source: hosted
    version: "4.10.0"
  collection:
    dependency: transitive
    description:
      name: collection
      sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
      url: "https://pub.dev"
    source: hosted
    version: "1.18.0"
  convert:
    dependency: transitive
    description:
      name: convert
      sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.1"
  crypto:
    dependency: transitive
    description:
      name: crypto
      sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27
      url: "https://pub.dev"
    source: hosted
    version: "3.0.5"
  cupertino_icons:
    dependency: "direct main"
    description:
      name: cupertino_icons
      sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
      url: "https://pub.dev"
    source: hosted
    version: "1.0.8"
  dart_style:
    dependency: transitive
    description:
      name: dart_style
      sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.7"
  fake_async:
    dependency: transitive
    description:
      name: fake_async
      sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.1"
  file:
    dependency: transitive
    description:
      name: file
      sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
      url: "https://pub.dev"
    source: hosted
    version: "7.0.1"
  fixnum:
    dependency: transitive
    description:
      name: fixnum
      sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  flutter:
    dependency: "direct main"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_lints:
    dependency: "direct dev"
    description:
      name: flutter_lints
      sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.0"
  flutter_test:
    dependency: "direct dev"
    description: flutter
    source: sdk
    version: "0.0.0"
  flutter_web_plugins:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.0"
  frontend_server_client:
    dependency: transitive
    description:
      name: frontend_server_client
      sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694
      url: "https://pub.dev"
    source: hosted
    version: "4.0.0"
  glob:
    dependency: transitive
    description:
      name: glob
      sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  go_router:
    dependency: "direct main"
    description:
      name: go_router
      sha256: "6f1b756f6e863259a99135ff3c95026c3cdca17d10ebef2bba2261a25ddc8bbc"
      url: "https://pub.dev"
    source: hosted
    version: "14.3.0"
  go_router_builder:
    dependency: "direct main"
    description:
      name: go_router_builder
      sha256: "3425b72dea69209754ac6b71b4da34165dcd4d4a2934713029945709a246427a"
      url: "https://pub.dev"
    source: hosted
    version: "2.7.1"
  graphs:
    dependency: transitive
    description:
      name: graphs
      sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0"
      url: "https://pub.dev"
    source: hosted
    version: "2.3.2"
  http_multi_server:
    dependency: transitive
    description:
      name: http_multi_server
      sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
      url: "https://pub.dev"
    source: hosted
    version: "3.2.1"
  http_parser:
    dependency: transitive
    description:
      name: http_parser
      sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.2"
  io:
    dependency: transitive
    description:
      name: io
      sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.4"
  js:
    dependency: transitive
    description:
      name: js
      sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
      url: "https://pub.dev"
    source: hosted
    version: "0.7.1"
  json_annotation:
    dependency: transitive
    description:
      name: json_annotation
      sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
      url: "https://pub.dev"
    source: hosted
    version: "4.9.0"
  leak_tracker:
    dependency: transitive
    description:
      name: leak_tracker
      sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
      url: "https://pub.dev"
    source: hosted
    version: "10.0.5"
  leak_tracker_flutter_testing:
    dependency: transitive
    description:
      name: leak_tracker_flutter_testing
      sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.5"
  leak_tracker_testing:
    dependency: transitive
    description:
      name: leak_tracker_testing
      sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  lints:
    dependency: transitive
    description:
      name: lints
      sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
      url: "https://pub.dev"
    source: hosted
    version: "4.0.0"
  logging:
    dependency: transitive
    description:
      name: logging
      sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  macros:
    dependency: transitive
    description:
      name: macros
      sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
      url: "https://pub.dev"
    source: hosted
    version: "0.1.2-main.4"
  matcher:
    dependency: transitive
    description:
      name: matcher
      sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
      url: "https://pub.dev"
    source: hosted
    version: "0.12.16+1"
  material_color_utilities:
    dependency: transitive
    description:
      name: material_color_utilities
      sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
      url: "https://pub.dev"
    source: hosted
    version: "0.11.1"
  meta:
    dependency: transitive
    description:
      name: meta
      sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
      url: "https://pub.dev"
    source: hosted
    version: "1.15.0"
  mime:
    dependency: transitive
    description:
      name: mime
      sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.0"
  package_config:
    dependency: transitive
    description:
      name: package_config
      sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  path:
    dependency: transitive
    description:
      name: path
      sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
      url: "https://pub.dev"
    source: hosted
    version: "1.9.0"
  pool:
    dependency: transitive
    description:
      name: pool
      sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
      url: "https://pub.dev"
    source: hosted
    version: "1.5.1"
  pub_semver:
    dependency: transitive
    description:
      name: pub_semver
      sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  pubspec_parse:
    dependency: transitive
    description:
      name: pubspec_parse
      sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
      url: "https://pub.dev"
    source: hosted
    version: "1.3.0"
  shelf:
    dependency: transitive
    description:
      name: shelf
      sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4
      url: "https://pub.dev"
    source: hosted
    version: "1.4.1"
  shelf_web_socket:
    dependency: transitive
    description:
      name: shelf_web_socket
      sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611"
      url: "https://pub.dev"
    source: hosted
    version: "2.0.0"
  sky_engine:
    dependency: transitive
    description: flutter
    source: sdk
    version: "0.0.99"
  source_gen:
    dependency: transitive
    description:
      name: source_gen
      sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832"
      url: "https://pub.dev"
    source: hosted
    version: "1.5.0"
  source_helper:
    dependency: transitive
    description:
      name: source_helper
      sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd"
      url: "https://pub.dev"
    source: hosted
    version: "1.3.4"
  source_span:
    dependency: transitive
    description:
      name: source_span
      sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
      url: "https://pub.dev"
    source: hosted
    version: "1.10.0"
  stack_trace:
    dependency: transitive
    description:
      name: stack_trace
      sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
      url: "https://pub.dev"
    source: hosted
    version: "1.11.1"
  stream_channel:
    dependency: transitive
    description:
      name: stream_channel
      sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
      url: "https://pub.dev"
    source: hosted
    version: "2.1.2"
  stream_transform:
    dependency: transitive
    description:
      name: stream_transform
      sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.0"
  string_scanner:
    dependency: transitive
    description:
      name: string_scanner
      sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
      url: "https://pub.dev"
    source: hosted
    version: "1.2.0"
  term_glyph:
    dependency: transitive
    description:
      name: term_glyph
      sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
      url: "https://pub.dev"
    source: hosted
    version: "1.2.1"
  test_api:
    dependency: transitive
    description:
      name: test_api
      sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
      url: "https://pub.dev"
    source: hosted
    version: "0.7.2"
  timing:
    dependency: transitive
    description:
      name: timing
      sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32"
      url: "https://pub.dev"
    source: hosted
    version: "1.0.1"
  typed_data:
    dependency: transitive
    description:
      name: typed_data
      sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
      url: "https://pub.dev"
    source: hosted
    version: "1.3.2"
  vector_math:
    dependency: transitive
    description:
      name: vector_math
      sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
      url: "https://pub.dev"
    source: hosted
    version: "2.1.4"
  vm_service:
    dependency: transitive
    description:
      name: vm_service
      sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
      url: "https://pub.dev"
    source: hosted
    version: "14.2.4"
  watcher:
    dependency: transitive
    description:
      name: watcher
      sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  web:
    dependency: transitive
    description:
      name: web
      sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
      url: "https://pub.dev"
    source: hosted
    version: "1.1.0"
  web_socket:
    dependency: transitive
    description:
      name: web_socket
      sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83"
      url: "https://pub.dev"
    source: hosted
    version: "0.1.6"
  web_socket_channel:
    dependency: transitive
    description:
      name: web_socket_channel
      sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f"
      url: "https://pub.dev"
    source: hosted
    version: "3.0.1"
  yaml:
    dependency: transitive
    description:
      name: yaml
      sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
      url: "https://pub.dev"
    source: hosted
    version: "3.1.2"
sdks:
  dart: ">=3.5.0 <4.0.0"
  flutter: ">=3.19.0"

Steps to reproduce

Tap Push Second Screen
Tap Push Third Screen
Tap Pop

Expected results
The app should navigate back to the second screen, and then the first screen.
Actual results
The app navigates back to the second screen, but Future already completed error occurs. The app doesn't navigate back to the first screen.
This error occurs since go_router 14.0.0. Before that, it worked fine.
E/flutter ( 6268): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Future already completed
E/flutter ( 6268): #0      _AsyncCompleter.complete (dart:async/future_impl.dart:43:31)
E/flutter ( 6268): #1      ImperativeRouteMatch.complete (package:go_router/src/match.dart:456:15)
E/flutter ( 6268): #2      GoRouterDelegate._completeRouteMatch (package:go_router/src/delegate.dart:162:14)
E/flutter ( 6268): #3      GoRouterDelegate._handlePopPageWithRouteMatch.<anonymous closure> (package:go_router/src/delegate.dart:150:9)
E/flutter ( 6268): <asynchronous suspension>
E/flutter ( 6268):

Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

part 'main.g.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: GoRouter(routes: $appRoutes),
    );
  }
}

class FirstScreen extends StatelessWidget {
  const FirstScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('First Screen'),
      ),
      body: Center(
        child: TextButton(
          onPressed: () async {
            final result = await SecondScreenRoute().push<String>(context);
            print('result from second screen: $result');
          },
          child: const Text('Push Second Screen'),
        ),
      ),
    );
  }
}

class SecondScreen extends StatelessWidget {
  const SecondScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Second Screen'),
      ),
      body: Center(
        child: TextButton(
          onPressed: () async {
            final result = await ThirdScreenRoute().push<String>(context);
            print('result from third screen: $result');
            if (context.mounted) {
              context.pop(result);
            }
          },
          child: const Text('Push Third Screen'),
        ),
      ),
    );
  }
}

class ThirdScreen extends StatelessWidget {
  const ThirdScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Third Screen'),
      ),
      body: Center(
        child: TextButton(
          onPressed: () {
            context.pop('popped from third screen');
          },
          child: const Text('Pop'),
        ),
      ),
    );
  }
}

@TypedGoRoute<FirstScreenRoute>(
  path: '/',
  routes: [
    TypedGoRoute<SecondScreenRoute>(
      path: 'second',
      routes: [
        TypedGoRoute<ThirdScreenRoute>(
          path: 'third',
        ),
      ],
    ),
  ],
)
class FirstScreenRoute extends GoRouteData {
  @override
  Widget build(BuildContext context, GoRouterState state) {
    return const FirstScreen();
  }
}

class SecondScreenRoute extends GoRouteData {
  @override
  Widget build(BuildContext context, GoRouterState state) {
    return const SecondScreen();
  }
}

class ThirdScreenRoute extends GoRouteData {
  @override
  Widget build(BuildContext context, GoRouterState state) {
    return const ThirdScreen();
  }
}

Screenshots or Videos

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale ja-JP)
    • Flutter version 3.24.0 on channel stable at /Users/hibix/fvm/versions/3.24.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (3 months ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/hibix/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode-15.4.0.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.94.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554             • android-arm64  • Android 13 (API 33) (emulator)
    • iPhone12mini (mobile)        • 00008101-001C5D880AD0001E • ios            • iOS 17.6.1 21G93
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 129.0.6668.91

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report. I also observe this issue. The current package version: go_router_builder: 2.7.1.
Flutter versions:
Channel stable, 3.24.3
Channel master, 3.27.0-1.0.pre.45

Please check also examples from this closed issue: https://github.com/flutter/flutter/issues/157219
These errors are more likely to occur inside the ShellRoute and when using Typed routes.


Reducing log noisiness for cross partition queries

API change check
API changes are not detected in this pull request.


Files written to disk removed after save

When using devServer.writeToDisk: true, files are written to disk correctly, but after saving a file and Webpack compiles again, those files are not on disk anymore.
Webpack Config
{
  devServer: {
    writeToDisk: true
  },
  plugins: [
    new CleanWebpackPlugin
  ]
}

Please post your full configuration. Try:
new CleanWebpackPlugin({
	cleanStaleWebpackAssets: false
})

That seems to fix it. Not sure if there are any side effects, or why Webpack now thinks those assets are stale, as this seems to have only started after updating to latest versions of Webpack and plugin.

I found another thread that mentioned using the cleanAfterEveryBuildPatterns, so I will use that instead since I am only concerned with it losing svg files for now.

I've attempted to put a PR for copy-webpack-plugin but it has stalled waiting for input.
cleanAfterEveryBuildPatterns: ['!**/*.svg'] should work great if that is all you need to ignore.

Okay perfect, hopefully that gets some traction over there soon. Appreciate the help!

Going to close this. Please open a new issue if you have anymore issues.


No provider for String!

@ronzeidman love what you've done here to port to Angular 2, but unfortunately, I cannot get things quite working. I keep running into errors with my providers. Any help would be greatly appreciated.
Here's a partial screenshot of the errors I'm seeing, with my code below:

Here's what my component code looks like:
import { Component } from '@angular/core';
import {FormBuilder, ControlGroup, Validators} from '@angular/common';
import { Auth } from 'ng2-ui-auth';
import { NG2_UI_AUTH_PROVIDERS, JwtHttp } from 'ng2-ui-auth';

const DEFAULT_POST_HEADER: {[name: string]: string} = {
    'Content-Type': 'application/json'
};
const FACEBOOK_CLIENT_ID = 'XXXXXXXX';

@Component({
  selector: 'login',  // <login></login>
  providers: [ NG2_UI_AUTH_PROVIDERS({defaultHeaders: DEFAULT_POST_HEADER, providers: {facebook: {clientId: FACEBOOK_CLIENT_ID}}})

  ],
  directives: [
  ],
  pipes: [ ],
  styles: [ require('./login.css') ],
  template: `
    <button (click)="authenticate('facebook')">
      Authenticate with Facebook
    </button>
  `
})
export class Login {

  constructor(private auth: Auth, private error: string) {
    this.error = "It did not work";
  }

  authenticate(provider: string) {
    this.auth.authenticate(provider)
      .subscribe(
        () => this.itWorked(),
        () => this.itDidNotWork()
      );
  }

  itWorked() {
    alert("It worked!");
  }

  itDidNotWork() {
    alert("It did not work!");
  }
  ngOnInit() {
    console.log('hello `Login` component');
    // this.title.getData().subscribe(data => this.data = data);
  }
}

Hi. Did you add the  HTTP_PROVIDERS?
Try to add it before the ng_ui_auth

Alright, tried adding HTTP_PROVIDERS -- still getting the No Provider for String! error:
Also, fyi, we are using webpack for building if that helps.
import { Component } from '@angular/core';
//import {Router, ROUTER_DIRECTIVES} from 'angular2/router';
import {FormBuilder, ControlGroup, Validators} from '@angular/common';
import { HTTP_PROVIDERS } from '@angular/http';
import { Auth } from 'ng2-ui-auth';
import { NG2_UI_AUTH_PROVIDERS, JwtHttp } from 'ng2-ui-auth';
const DEFAULT_POST_HEADER: {[name: string]: string} = {
    'Content-Type': 'application/json'
};
const FACEBOOK_CLIENT_ID = 'XXXXXXXX';

@Component({
  // The selector is what angular internally uses
  // for `document.querySelectorAll(selector)` in our index.html
  // where, in this case, selector is the string 'login'
  selector: 'login',  // <login></login>
  // We need to tell Angular's Dependency Injection which providers are in our app.
  providers: [
    HTTP_PROVIDERS,
    NG2_UI_AUTH_PROVIDERS({defaultHeaders: DEFAULT_POST_HEADER, providers: {facebook: {clientId: FACEBOOK_CLIENT_ID}}})
  ],
  // We need to tell Angular's compiler which directives are in our template.
  // Doing so will allow Angular to attach our behavior to an element
  directives: [
  ],
  // We need to tell Angular's compiler which custom pipes are in our template.
  pipes: [ ],
  // Our list of styles in our component. We may add more to compose many styles together
  styles: [ require('./login.css') ],
  // Every Angular template is first compiled by the browser before Angular runs it's compiler
  template: `
    <button (click)="authenticate('facebook')">
      Authenticate with Facebook
    </button>

  `
})
export class Login {

  constructor(private auth: Auth, private error: string) {
    this.error = "It did not work";
  }

  authenticate(provider: string) {
    this.auth.authenticate(provider)
      .subscribe(
        () => this.itWorked(),
        () => this.itDidNotWork()
      );
  }

  itWorked() {
    alert("It worked!");
  }

  itDidNotWork() {
    alert("It did not work!");
  }

  ngOnInit() {
    console.log('hello `Login` component');
    // this.title.getData().subscribe(data => this.data = data);
  }

}

@royipressburger Got this working.. due to a typescript syntax error in the constructor!


Game Object framework

The "Thing" to be moved in this milestone is a Game Object. This is the Godfather of all Things in the game. The proto-thing, if you will.
For this deliverable, we expect:
-The cube from last milestone can be highlighted and un-highlighted via clicking events
-Print a log message with the cube's name

This will require a few things:

Highlighting object support (maybe an extra highlight render pass?)
Mouse to object detection which will require rough bounding boxes for collision detection. Or even simply a pixel perfect picker. TBD
Defining the object approach for the game engine (properties and behaviours). Mysteriosum has some interesting ideas here, consider discussing it with them. I think it would be interesting to implement this in an effecient and flexible way.

When we get to this issue, please break it up into smaller issues for easier tracking and review.

Closing for now as part of a revamp of our github issues. Larger scale tasks like this will be tracked in Trello


DDC / dart2js: Uncaught TypeError whe run with compiled js

Dart VM version: 2.2.0 (Tue Feb 26 15:04:32 2019 +0100) on "macos_x64"
MacOSX
Chrome

foo.dart
library foo;
class Foo {

}

bar.dart
library bar;

import 'foo.dart';

class Bar extends Foo {

}

main.dart
import 'dart:async';
import 'package:quickstart/foo.dart';
import 'package:quickstart/bar.dart' deferred as comp;

void main() async {
  createFoo = (String type) {
    return handler[type]();
  };

  _addBeFoo('Bar',  () {
    return comp.loadLibrary()
      .then((_) => new comp.Bar());
  });

  Foo bar = await createFoo('Bar');
  print(bar);
}

typedef FutureOr<T> _Be<T>();
typedef FutureOr<Foo> beFoo(String type);

beFoo createFoo;
final handler = <String, _Be<Foo>>{};

void _addBeFoo(String type, _Be<Foo> beFoo) {
  handler[type] = beFoo;
}

There is no type error when run with webdev serve
But throw type error when run with js version (build with dart2js -m -oweb/main.dart.js web/main.dart  )
main.dart.js:103 Uncaught TypeError: Closure 'minified:bD': type '(dynamic) => dynamic' is not a subtype of type '(Null) => FutureOr<minified:y>'
    at Object.a (main.dart.js:103)
    at Object.c (main.dart.js:322)
    at m.v (main.dart.js:1572)
    at m.u (main.dart.js:1577)
    at bF.$0 (main.dart.js:1936)
    at bE.$1 (main.dart.js:1933)
    at main.dart.js:1145
    at bw.a (main.dart.js:744)
    at bw.$2 (main.dart.js:1513)
    at Object.dd (main.dart.js:726)

Thanks @jimmyshiau for reporting this issue. And thank you so much for making a concise example that illustrates the problem!
Turns out you have run a known issue where deferred loading has a bug in dart2js. We ignore inferred types and as a result we incorrectly split programs in ways that break how types are reified. We statically think your closure (_) => new comp.Bar() returns a Bar, but at runtime we think it returns a dynamic because of this bug.
The fix for this bug makes a lot of code to be loaded eagerly, so we are blocking releasing the bug fix until we fix how we split the code as well so we don't add a lot of work for people that depend on this feature.
You can find more details in https://github.com/dart-lang/sdk/issues/35311 if you are interested. You can also read about this in the CHANGELOG
The inconsistency you see when using webdev serve comes from the fact that only dart2js actually splits the program when using deferred loading (the development compiler accepts the syntax, but still downloads all the code eagerly).
To fix the problem in your application, there are two options:

Make sure the type Bar doesn't show up as an inferred type anywhere. To do that, you'd need to change your code from:

  .then((_) => new comp.Bar())

to
  .then((_) => new comp.Bar() as dynamic)

Or, opt-in to use the algorithm that fixes the soundness issue by passing --new-deferred-split to dart2js. This will as a result download Bar with the main unit, so its possible this is not what you want.

In the next few months we will be implementing option (2) mentioned in that other bug, and at that point --new-deferred-split will be on by default.


Fix to ensure that all CATE estimates are returned

Fixes #890
The CATE estimates array structure is like this:

@kbattocchi Is the estimates array returned by EconML nested like this? Does the structure look good?

@amit-sharma on the EconML side we accept a number of different possibilities, which I'll explain just for completeness:
When fitting, each of T and Y could be a 1-dimensional vector or a 2-dimensional array (with one or more columns), and X could be either a 2-dimensional array of features or None (which will effectively result in the computation of an ATE rather than a CATE).
When calling effect(T0, T1, X), as a convenience we allow using scalars for the initial and target treatments, which we then treat as if they had as many rows as X does; if X is None and the treatments are passed as scalars then we treat it as if there were a single row.  The result will have the same dimensionality as Y (if Y was a 1-dimensional vector then so will the result from effect, otherwise it will be 2-dimensional with the same number of columns as there were outputs when fitting).
So in this example, if Y was 2-dimensional but had a single outcome, then the shape of the output looks correct.
However, implementation-wise, I don't think this fix is correct: EconML will expand the treatments internally if necessary, so passing them as scalars is fine and you shouldn't need to perform this expansion yourself; instead I think that the root cause is that somehow X is not being passed through, so because it's None you're only currently only getting one row back.  Manually expanding the treatments will give you the right number of rows back, but it's going to just have the ATE repeated that number of times rather than the CATE based on the actual values of X as desired.

thank you @kbattocchi for your detailed response. Agree that just broadcasting T0 or T1 should not be the right solution.
When I looked at the issue #890 again, I realized that there is no bug in the DoWhy code. Rather, the reason is that they had not provided any effect modifiers in their dataset/graph. Once at least one effect modifier is introduced, the CATE estimates are returned. I replied on that issue.
If the solution sounds good, we can close this PR.

Thanks @kbattocchi for raising the issue #990 That example was helpful to identify the bug. I have revised the PR.

The error was not in the Econml class, but in the way the effect_modifier parameter was being passed to it. So the relevant changes are in causal model and causal graph class.
I have added test cases based on your issue, so now we can track any related error due to future PRs.


Add support for decoding characters escaped using things other than the hex escape by python

@irmen Fixes #20

Thanks for the patch.


Fails to Build When Using add_subdirectory()

If we add the motor-realtime repo as a subdirectory in CMake (e.g. import it to a project in a submodule), the build will fail with errors related to CMake paths, example output:
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
VERSION 0.14.
CMake Error: File /home/tonylaza/sandbox/include/motor_manager.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:51 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:52 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor_ip.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:53 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor_uart.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:54 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor_util_fun.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:55 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor_messages.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:56 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/include/motor_messages/motor_messages.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:57 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/3rdparty/obot-protocol/crc.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:58 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/3rdparty/obot-protocol/protocol_parser.h does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:59 (configure_file):
  configure_file Problem configuring file

CMake Error: File /home/tonylaza/sandbox/3rdparty/obot-protocol/protocol_parser.cpp does not exist.
CMake Error at motor-realtime/src/motor/CMakeLists.txt:60 (configure_file):
  configure_file Problem configuring file

-- Configuring incomplete, errors occurred!
See also "/home/tonylaza/sandbox/build/CMakeFiles/CMakeOutput.log".

Created running cmake on the following CMakeLists.txt file in a directory containing motor-realtime.
cmake_minimum_required(VERSION 3.9)
project(motor-realtime-wrapper)
enable_testing()

add_subdirectory(motor-realtime)

I am working on a fix, will send PR.


Add Plugin pre-eoc-xp-drops

Creates custom xp drops in the style of 2010-2011 era Runescape.
Thorough description:
Draws an xp counter overlay, and experience drops, graphically resembling the era (with the aim of being identical)
Features:
"XP: Lots!" if the experience in the chosen skill to be displayed surpasses a certain threshold set by the user (default being approx maxInt/10, just like in 2010.)
Set the fontsize of the xp drops (the font itself scales poorly, unfortunately. Still looks reasonably sharp nonetheless)
The counter scales with the size of the xp displayed - but only to a certain extent (intentional)
Displayed text is oriented right and left - with the displayed xp and the drops using their respective 2010 fonts.
The xp drop animation mimics that of 2010 - may be off by a pixel or two due to rounding and inaccuracies when pulling from videos.

FYI, I think instead of using your own copies of the OSRS fonts, you can use the ones that already exist in the main client at net.runelite.client.ui

I’m not using osrs fonts, these are pre eoc fonts :)

On 27 May 2021, at 00:25, Jordan @.***> wrote:
FYI, I think instead of using your own copies of the OSRS fonts https://github.com/rsn-INVU/pre-eoc-xp-drops/blob/365901e1a73838079208fdacb9ce1068cd914e12/src/main/java/com/preeocxp/PreEocXpOverlay.java#L90-L91, you can use the ones that already exist in the main client at net.runelite.client.ui
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/runelite/plugin-hub/pull/1461#issuecomment-849161346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUFKCKF6OPUAV6JANBR3GFDTPVYNNANCNFSM45QDP2VQ.


Make CI names fit into length limited titles.

E.g. on the toplevel project page, clicking on the check-marker
pops up a smallish window with the results of the various tests.
But since the prefix is so long, they are all abbreviated to
'verible-ci / Che…', which is not very helpful.
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #900 (dba385b) into master (ee63d53) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #900   +/-   ##
=======================================
  Coverage   92.49%   92.49%
=======================================
  Files         315      315
  Lines       20217    20217
=======================================
  Hits        18699    18699
  Misses       1518     1518

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee63d53...dba385b. Read the comment docs.


TypeError

When I run the "python train.py --saveto commoncraw_pretrained --dataset commoncrawl --cutoff 15", the got the following error:
Traceback (most recent call last):
File "train.py", line 341, in
train(**common_kwargs)
File "train.py", line 215, in train
cost = f_grad_shared(x, mask, ctx, cnn_feats)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 786, in call
allow_downcast=s.allow_downcast)
File "/usr/local/lib/python2.7/dist-packages/theano/tensor/type.py", line 177, in filter
data.shape))
TypeError: ('Bad input argument to theano function with name "attention_generator/optimizers.py:64"  at index 2(0-based)', 'Wrong number of dimensions: expected 3, got 2 with shape (256, 4500).')
How I solve it? Thanks!

I will test and get back to you as soon as possible.

Thanks! Looking forward to your reply.

I already found the problem, I fixed it by adding the following line.
y = numpy.zeros((len(feat_list), options['cutoff'], options['semantic_dim']), dtype='float32')
for idx, ff in enumerate(feat_list):
    y[idx] = ff.reshape((-1, options['semantic_dim']))

This is the semantic features described in the paper, should be 3-dimension, (batch_size x cutoff x semantic_dimension). Where we use cutoff = 15, that is to say we use 15 detected words as input, semantic_dimension=300, that saying we use GloVe feature with 300 dimension.
Thanks for testing the code (I can't test it since I can't access the cluster at the moment), feel free if you have any further questions, I would be able to help you.

Thanks, I'll try again！

When I run the "python train.py --saveto commoncraw_pretrained --dataset commoncrawl --cutoff 15", the code beginning is good, not after 4379 steps:
Epoch 0, Updates: 4378, Cost is: 42.459641
Epoch 0, Updates: 4379, Cost is: 42.928699
Traceback (most recent call last):
File "train.py", line 341, in
train(**common_kwargs)
File "train.py", line 254, in train
caps = process_examples([f_init], [f_next], imgid, valid[1], valid[2], word_idict, model_options)
File "attention_generator/generate_caps.py", line 48, in process_examples
options, trng=trng, k=k, maxlen=30)
File "attention_generator/capgen.py", line 524, in gen_sample
rval = f_init(ctx, cnn_feats)
TypeError: 'list' object is not callable

I already fixed the bug by changing the line in generate_caps.py
     sample, score, alpha = gen_sample(f_init[0], f_next[0], ctx_cutoff, cnn_feats[0],

When f_init is a list, the ensemble decoding will be automatically aroused.
Besides, I also uploaded the best model "coco_bleu_best.zip", you can unzip it to get a pkl and npz, with that you can easily call generate_caps.py to reproduce the results reported in the paper.
Thanks for your testing, feel free to ask further questions.

Thank you for your help! I can run the code, but I have a question: why the computing CIDEr score is too hight(CIDEr: 3.819)?  The best CIDEr score on the Microsoft COCO Image Captioning Challenge only 1.146.

Did you use the ms-coco dataset for testing (not commoncrawl)? Notice that my split could be different from your dataset split. Please refer to "ETHZ-Bootstrapped-Captioning/Data/coco/", there are files named "caption-train/val/test.json", 5000/5000 are used for val/test while the rest for training, the split strategy comes from Karpathy's github, you should verify that the training data doesn't contain your validation data. Otherwise, you might need to resplit your dataset.

o, I know！Thanks！


Deployment with AWS or GCC

Is there any documentation on about deployment on AWS or GCC?

There is currently a refactoring in work with new base images:
https://github.com/webdevops/php-docker-boilerplate/tree/feature/refactoring
This refactoring also supports deployment tasks (with ansible) or just copy your sourcode into your docker containers. There is already one cloud example.


err.msg cannot be retrieved for NullReferenceError

The error message is not printed in the following sample.
import ballerina.lang.errors;
import ballerina.lang.files;
import ballerina.lang.system;
import ballerina.lang.strings;

function main (string[] args) {
    string[] data = null;
    // Suppose we are creating a file, and writing some data.
    files:File target = {path:"/tmp/result.txt"};
    //Use a try block to surrounds a code segment that an error may occur.
    try {
        files:open(target, "w");
        blob c1 = strings:toBlob("Content1", "utf-8");
        files:write(c1, target);
        system:println("content is written to file");

        //Accessing a null variable 'data' cause NullReferenceError to be thrown.
        blob c2 = strings:toBlob(data[0], "utf-8");
        //None of the following lines will get executed after the error.
        files:write(c2, target);
        system:println("content is written to file");
        //A Catch block executes, when an error is thrown from the enclosing try
        //block and the thrown error type and catch clause's error type are matched, or
        //if there is no match, then the catch is the first in the order, where thrown
        //error type and catch clause's error type are structurally equivalent.
    } catch (errors:Error err) {
        system:println("error: " + err.msg);
        //Catching specific error type 'errors:NullReferenceError'.
    } catch (errors:NullReferenceError err) {
        system:println("error: " + err.msg);
        //Finally block always executes when the execution exits from the try block or
        //catch block when an error occurred. It is also useful, not only in an anomalous
        //situation, where the execution exit the try block using a return, break, abort.
        //Use finally block to do cleanup tasks i.e File Close, SQL Connection Close etc.
    } finally {
        //Closing the file.
        files:close(target);
        system:println("File Closed");
    }
}

by design, NullReferenceException doesn't have a message.


Inconsistencies in metadata names

The names of columns or dictionary keys are sometimes inconsistent or redundant. Below I listed these cases for the output format of the different API calls:
API call /corpora/{corpusname}
In 'dramas':
Redundancies

yearPrinted == printYear
yearWritten == writtenYear
yearPremiered == premiereYear
--> In play/{playname}: yearWritten, yearPremiered, yearPrinted, yearNormalized
all information in 'author' are also in 'authors' - no deprecation warning as for /play/{playname}

Capitalization

'wikidataID' but 'fullname' and 'shortname' (in 'authors')

Needs clarification

difference between 'name' and 'fullname' is only the format - not obvious

API call /corpora/{corpusname}/metadata
Redundancies

playName == name

Abbreviations

Publisher vs. Pub (Publication)?

originalSourcePublisher BUT originalSourcePubPlace

Speaker vs. Sp

numOfSpeakers BUT wordCountSp

Acts vs. L (ines) and P (aragraphs):

numOfActs BUT numOfP and numOfL

num (in networkdata) vs. number (in metadata)

numPersonGroups BUT originalSourceNumberOfPages

average vs. max

averageDegree BUT maxdegree

Patterns

numOf vs. num

numEdges
numConnectedComponents
numOfPersonGroups
numOfSpeakers

adjective or noun first

normalizedGenre vs. yearNormalized

API call /corpora/{corpusname}/metadata/csv
Difference to JSON

numPersonGroups (csv) BUT numOfPersonGroups (json)
Otherwise in csv output same problems as for names in JSON

API call /corpora/{corpusname}/play/{playname}
Difference to corpus metadata

genre BUT normalizedGenre

@hsluytergaethje thanks for this impressive list of oddities. It will be a great help in improving the overall consistency of the DraCor API. I created a few tickets to take care of the issues raised. In some cases, however, what seems like an inconsistency actually has some motivation behind it. Please, see the comments below.

Redundancies

yearPrinted == printYear
yearWritten == writtenYear
yearPremiered == premiereYear
--> In play/{playname}: yearWritten, yearPremiered, yearPrinted, yearNormalized

The *Year properties are there for backwards compatibility and should be removed at some point: there is now #188.

all information in 'author' are also in 'authors' - no deprecation warning as for /play/{playname}

I created #187 to take care of it.

Capitalization

'wikidataID' but 'fullname' and 'shortname' (in 'authors')

While it's true that this naming does not look overly consistent, I would suggest not to change these in order to reduce the introduction of breaking changes. In the case of fullname and shortname I would argue that these are perfectly legible (in contrast, for instance, to wikidataid) and can in fact sometimes be found spelled as one word (very much like "filename"). So the introduction of an inner capital would not improve things all that much. I'm aware that this is also a matter of personal taste, so if there is a strong urge for renaming these properties feel free to open an issue.

Needs clarification

difference between 'name' and 'fullname' is only the format - not obvious

It is not so much a matter of format rather than function. The name property can be used for sorting by author alphabetically. For instance in HunDraCor in most if not all cases name and fullname would be the same. I think we refrained from renaming the name to something like sortname when we revised the authors property for backwards compatibility reasons. I suggest to stick to this decision but agree that it should be explained wherever we are going to document the JSON output of the API in the future.

API call /corpora/{corpusname}/metadata
Redundancies

playName == name

These are indeed redundant. I don't remember why both have been introduced in 30bf0314bc609095dd701ceb39491b6982022e3f, but playName does not seem to be used anywhere else in dracor-api nor in dracor-frontend and could be removed, I guess.

Abbreviations

Publisher vs. Pub (Publication)?

originalSourcePublisher BUT originalSourcePubPlace

Sometimes I think brevity trumps verbosity, and I find originalSourcePubPlace easier to read and mentally parse than originalSourcePublicationPlace. That's personal taste though and I wouldn't object to changing it considering that it has been introduced only recently and breakage could be limited.

Speaker vs. Sp

numOfSpeakers BUT wordCountSp

"Speakers" here actually refers to entries in the particDesc which could be either person or personGrp (which btw should be explained somewhere too). "Sp" on the other hand refers to the actual sp element. So I wouldn't consider this an inconsistency rather than two different things named accordingly.

Acts vs. L (ines) and P (aragraphs):

numOfActs BUT numOfP and numOfL

Same here: acts are encoded as div elements with a certain type attribute while p and l are the actual TEI elements numOfP and numOfL refer to. This difference may not be obvious to the casual API user, but using numOfLines or numOfParagraphs would be even more ambiguous.

num (in networkdata) vs. number (in metadata)

numPersonGroups BUT originalSourceNumberOfPages

Here I don't see any reason for the inconsistency other than we didn't think about it. So I guess we should change it.

average vs. max

averageDegree BUT maxdegree

In my opinion max and min are so widely used as abbreviations throughout different programming languages that I would find it almost irritating to see maximum or minimum used instead. The same is not true for avrg though.

Patterns

numOf vs. num

numEdges
numConnectedComponents
numOfPersonGroups
numOfSpeakers

Are there any suggestions into which direction we should align this @lehkost or @peertrilcke? I don't have a strong preference but it seems that the numOf* form is already used more often, so maybe that should be the one.

adjective or noun first

normalizedGenre vs. yearNormalized

For me the difference in name construction has a subtle meaning: there is only one genre per play, it just happens to be normalised (what that means needs explanation though). But there are different kinds of years which is what I usually assume when the noun appears before some kind of adjective.

API call /corpora/{corpusname}/metadata/csv
Difference to JSON

numPersonGroups (csv) BUT numOfPersonGroups (json)

This is actually a bug. I would expect the column numPersonGroups in the CSV to never show any values. It should be an easy fix.

Otherwise in csv output same problems as for names in JSON
API call /corpora/{corpusname}/play/{playname}
Difference to corpus metadata

genre BUT normalizedGenre

normalizedGenre has been introduced in the context of #130. Apparently we missed to rename other occurrences of the property. There is now #189.

@hsluytergaethje @cmil: Thanks so-so much for taking the time to document and comment this. Like @cmil, I have no strong preferences for naming schemes in all the cases mentioned, it should just be consistent.

I created an API consolidation project to keep track of related issues.

All the follow-up issues to this one have been resolved. Feel free to open new issues where inconsistencies continue to be obtrusive.


Failed to get the target path

Every time getting this error when searched file/folder open'
Failed to get the target path
It may be because this item does not exist in the Folder! It may also be because the file [Shared with me] has not been added to Personal Drive!

Does this happen only with this file or multiple files? Could you provide me the index link and the file you get this error? Then I can have a look. Also, provide me a screenshot of the folder location in Google Drive (not index)(Only if it doesn't contain any sensitive data).

Every searched file or folder getting same error. Index - https://arkmedia.ga/

I checked this on my index and it also occurs, is Configure Search Functionality for Folders mandatory?
@cheems maybe change the WTF ??? to Ok also? 😂😂😂

@pulpyboy0130 I tried again the current version (v1.4.1) and its search function works as expected. You can add<EMAIL_ADDRESS>to your shared drive as a viewer(if it is a shared drive) so I can try myself and check for logs to see what happens behind. And also I want to know with which root type you experienced this issue. Is this index drive a folder or a shared drive?
@xkoti If you don't have any folder ids in the roots section, you don't need it.

I added your id to my shared drive. thanks lot for support.

Tried with the latest version of the index code (v1.4.1) and got no issue: https://dev.misty-poetry-0287.dudoo.workers.dev/0:search?q=dext
Also works with custom domains.
I doubt that if you entered your crypt password incorrectly. Give it a try with the sample crypt password:<PHONE_NUMBER>123456abcdefghIJKLMN!*

Thanks lot, It's working perfectly now.


Output filtering by level of inspection

refs #181
It adds minimalLevel property, that defaults to Levels.Info.
Also, the -Pscapegoat:minimalLevel: compiler option is added.
If specified, the output will be filtered by level, for ex. if it is set to warning, only warnings and errors will be displayed in the reports. Triggered inspections count is not affected by this change, all numbers will be visible in HTML report.

Nice job.


Relocation breaks Qt installs on Linux

brew config output
HOMEBREW_VERSION: 3.6.2
ORIGIN: https://github.com/Homebrew/brew
HEAD: b8b195cc64a29595797651720ebb2ea09affb682
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 55e393266248529b58c2ff6df23485a90ba8a81e
Core tap last commit: 5 days ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: quad-core 64-bit icelake
Clang: N/A
Git: 2.37.3 => /bin/git
Curl: 7.81.0 => /bin/curl
Kernel: Linux 5.10.109-0-virt x86_64 GNU/Linux
OS: Unknown
Host glibc: 2.35
/usr/bin/gcc: 11.2.0
/usr/bin/ruby: N/A
glibc: N/A
gcc@11: N/A
gcc@12: N/A
xorg: N/A

brew doctor output
Your system is ready to brew.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
Test Qt after pouring a just-built bottle for distribution.
What happened (include all command output)?
Running the test fails with
  ==> ./test
  ASSERT: "list.contains(fmt)" in file /tmp/qt-test-20220920-224400-u60d5/main.cpp, line 31

This is because relocation breaks the bottle. See Homebrew/homebrew-core#111031.
What did you expect to happen?
Successful test.
Step-by-step reproduction instructions (by running brew commands)
brew install --build-bottle qt
brew bottle --json qt --keep-old --only-json-tab
brew install --only-dependencies ./qt--6.3.1_4.x86_64_linux.bottle.tar.gz
brew install ./qt--6.3.1_4.x86_64_linux.bottle.tar.gz
brew test qt

CC @Homebrew/linux

I don't know if this is helpful, but some openj9 binaries also seem to break on relocation and fails during its build process, hence why it remains unbottled on Linux.

@carlocab Is this a (or: are these) cellar :any bottle that is broken when poured outside the default prefix or a bottle that never works ever?

The bottle seems to never work ever. I think the bug is in patchelf.rb. It would be good for someone in @Homebrew/linux to diagnose this and report it there.

Also see an issue in gopass (https://github.com/Homebrew/homebrew-core/pull/111620) which could be due to same root cause. At least brew install --build-bottle has working binary but brew bottle ... ; brew uninstall ... ; brew install ./<bottle> has broken binary with ELF issues seen via readelf and gdb.

Good news is I've got a fix for the issue: https://github.com/Bo98/patchelf.rb/commit/601c10c33a2cd94fbdce48d46db4d427e3a1df70 (paired with https://github.com/Bo98/rbelftools/commit/6e2e0fc4b53c76ad626f7b63841741b5cec0db02).
Bad news is we get patching errors on existing bottles that have already been corrupted by the bug ("cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections"). The patchelf binary behaves the same way, so the behaviour is correct. Not sure the best way to deal with it beyond maybe inserting a hack to make it silently give up fixing rather than error out.

Not sure the best way to deal with it beyond maybe inserting a hack to make it silently give up fixing rather than error out.

Maybe do this when HOMEBREW_DEVELOPER is off?

The tricky bit is doing something that's upstreamable, which would mean upstreaming a conditional.
I've looked at it a bit closer and the main issue seems to be empty NOTE program segments being left under the bugged version. I could probably make it a warning under that specific condition with the reasoning of backwards compatibility, and still error if there's other junk.

vgrep is probably also affected by this as it works fine when built directly from source but segfaults after being poured from a bottle.

The tricky bit is doing something that's upstreamable, which would mean upstreaming a conditional.

Does it not throw a specific error that we can catch? If so we can probably do that here. Or, if not, we can upstream the throwing a specific error with the justification that downstream projects should be able to decide how to handle the previous erroneous behaviour.
I suspect lots of formulae are affected by this -- I think strongswan is one of them. (Or maybe strongswan just doesn't like getting patchelfed; I forget.)

vgrep is probably also affected by this as it works fine when built directly from source but segfaults after being poured from a bottle.

Might be different than the NOTE issue but I've fixed a couple of corruption bugs too in that commit so it could cover this - I'll have a look

Does it not throw a specific error that we can catch? If so we can probably do that here. Or, if not, we can upstream the throwing a specific error with the justification that downstream projects should be able to decide how to handle the previous erroneous behaviour.

It throws a generic PatchError, but with a specific message.
However the problem is this raising the error will mean nothing is written to disk when we actually want a "best-effort" patch since patching nothing will result in a non-functional binary.

Bo98/patchelf@fc21d139a463c373fb61e5061f73ee737f5e53d0
Bo98/patchelf@1097751ebdf95244b60a6e83c4156db09a728ef2
Bo98/patchelf@5fedfc93cf514d5e1a575138aada957521340301
Bo98/patchelf@245038358dc5e9acedc9905259af1cdd79b1c509

The second one in particular should resolve the concerns I mentioned previously. I'll port these to Ruby shortly.

Ruby port: https://github.com/Bo98/patchelf.rb/commit/79df70c4023b6d47bb4fda28381d550af2eb16e6
(in addition to https://github.com/Bo98/patchelf.rb/commit/8dc556833c3e5697a0efef00f8b85c8ef2d2eb1c and https://github.com/Bo98/rbelftools/commit/63e0d3241f376f22241a1934ac05e6384265d339 from before)

Not exactly the correct way to do it (we'll do it properly and get a new upstream release), but if someone wants to try Bo98/brew@0a16d77e91b90446363643e16f1b21cc946af1f4 and install a bunch of bottles then please do.
I'm not just interested in problematic bottles - I'm also interested in general compatibility of these changes with all the bottles we currently have available.

https://github.com/david942j/patchelf.rb/pull/39

Submitted a bunch of patches to upstream of upstream (grand upstream?):

These have now made it into a release: https://github.com/NixOS/patchelf/releases/tag/0.16.0

Ruby port has been merged now too.


Update minter for BSX so royalty can have 2 decimal places

What happened?
Basilisk is now supporting royalties with two decimal places
It would be nice to have it in the minter
Expected Behavior
Super Trivial fix:

extend the slider have smaller steps

Better fix:

make percent input component some it is user friendly

Bounty applicable for beter fix.
Ref

kodadot/snek#65

Code of Conduct

[X] I agree to follow this project's Code of Conduct

⚠ Caveats
Now the max royalty (100%) is represented on chain as 10_000 (10k)
So to handle it properly you have to multiply the value from to input by 100
Explainer:
to submit one percent royalty you need to submit

1 1 * 100 = 100

👋

@Jarsen136 I forgot to mention a caveats that needs to be handled


add unattended-upgrades to cloud image

Re: https://github.com/uProxy/uproxy/issues/2038 and our recently chat - looks like unattended-upgrades is not currently present in the generated cloud images. I believe that adding it is simple though, and I also think the default configuration is what we want (that is, enable automatic security updates and disable others).

This is great. Thanks for doing this!
I'm mostly concerned about the SSH server: its Dockerfile is at:
https://github.com/uProxy/uproxy-docker/blob/master/sshd/Dockerfile
Can you add this there, too?

Done.

Yay! :+1:

It looks like this PR only adds the unattended-upgrades package without actually enabling them via a /etc/apt/apt.conf.d/20auto-upgrades config, or am I missing something?
ref: https://github.com/uProxy/uproxy/issues/2038#issuecomment-236710200

ref: https://help.ubuntu.com/community/AutomaticSecurityUpdates


[SDPV-850, 863] - Addition of Curation History Tab, GA Analytics tag and removal of hamburger stacks

[IP] Added unit tests for new functionality
[X ] Passed all unit tests using rails test with 90%+ coverage
[IP] Added cucumber tests for any new functionality
[IP] Passed all cucumber tests using bundle exec cucumber
[X] Passed overcommit hooks, including running all code through Rubocop
[X] If any database changes were made, run rake generate_erd to update the README.md
I ran the rake task.  This is the first db change I've made.  No update to README.md
[ ] If any changes were made to config/routes.rb run rake jsroutes:generate
[ ] If any HTML was added or modified check to make sure it was still 508 compliant with WAVE tool / carried over any attributes from similar sections
[X] Ensure all code has been appropriately commented inline per standard convention

closing as I opened a new PR for this work


Vue 3 Upgrade?

Please upgrade this lovely library to Vue 3

This lib is no longer maintained by me. however, I am working on a new carousel library addressing Vue 3, check Vue3-carousel

@ismail9k is it maintained by anyone else or is it completely abandoned? 😀

https://www.npmjs.com/package/hooper-vue3
Here is the plugin migrated to vue3.

For Vue3 you can use this lib instead: https://github.com/ismail9k/vue3-carousel


Suggestion Update Holder on connection

Create a on hold updater. For example some of the clients are offline, and we want to update the FUD, it would put the update on hold for when they connect to have them updated. That would make it easier to manage multiple clients.

anyway thank you for the current tool, heres a great project <3


fix: add support for output-file-path param

Overview
This PR adds a new parameter named output_file_path which will allow the user to specify the name and location of the results file.
Closes #30

Really want to use it!


[Cosmos] Bugfix: async create_container_if_not_exists throwing unexpected keyword argument on read() method

Bugfix for create_if_not_exists() when passing in kwargs that don't apply to read method. Now we pop the kwargs pre-emptively  to calling read() and ensure that the method is not populated with irrelevant options, matching behavior of sync client.

API change check
API changes are not detected in this pull request.


Allow setting LoadBalancerCommand.Builder.withServerLocator from request

I'm trying to use the FeignClient to send HTTP requests to target service.
The target service may have several instances grouped by different versions, so I want to write a class implemented IRule to choose a service instance based on a key that in the request parameters. And the 'IRule' implementation just like this:
public class MyLoadBalancerRule extends AbstractLoadBalancerRule {
    @Override
    public void initWithNiwsConfig(IClientConfig clientConfig) {
    }

    @Override
    public Server choose(Object key) {
        List<Server> servers = getLoadBalancer().getReachableServers();
        // choose and return a server from servers based on the key
    }
}

but the key is always null.
LoadBalancerCommand passes its attribute loadBalancerKey as parameter to the choose method. And LoadBalancerCommand object is constructed in AbstractLoadBalancerAwareClient#executeWithLoadBalancer without setting the attribute loadBalancerKey.
So how to set/use the loadBalancerKey when I use FeignClient?

As far as I can see LoadBalancerCommand always has a null loadBalancerKey in all the out-of -the box usages, despite having a builder that allows it to be set. I guess you'd have to implement your own load balancer aware stack based on feign requests as a context/request object.

Thank for your response. I'm trying a solution to get the loadBalancerKey.
At first I write an annotation @LoadBalancerKey to specified an loadBalancerKey, then I can write the FeignClient interface like this:
@FeignClient(name = "UserService")
public interface UserFeignClient {
    @RequestMapping(value = "/user", method = RequestMethod.GET)
    ResponseEntity<User> getUser(@LoadBalancerKey @RequestParam("name") String name);
}

Secondly, I implement an AnnotatedParameterProcessor named LoadBalancerKeyParameterProcessor to process the @LoadBalancerKey. The implementation is very similar to RequestHeaderParameterProcessor. I add the loadBalancerKey to the request header, the key is loadBalancerKey. So I can get the loadBalancerKey from the request header.
Then I rewrite the FeignLoadBalancer.RibbonRequest constructor and AbstractLoadBalancerAwareClient#executeWithLoadBalancer:
// FeignLoadBalancer.RibbonRequest, set loadBalancerKey
RibbonRequest(Client client, Request request, URI uri) {
    this.client = client;
    setUri(uri);
    this.request = toRequest(request);
    setLoadBalancerKey(this.request.headers().get("loadBalancerKey"));
}

// AbstractLoadBalancerAwareClient
public T executeWithLoadBalancer(final S request, final IClientConfig requestConfig) throws ClientException {
    RequestSpecificRetryHandler handler = getRequestSpecificRetryHandler(request, requestConfig);
    LoadBalancerCommand<T> command = LoadBalancerCommand.<T>builder()
            .withLoadBalancerContext(this)
            .withRetryHandler(handler)
            .withLoadBalancerURI(request.getUri())
            .withServerLocator(request.getLoadBalancerKey())  # set loadBalancerKey
            .build();
    ....
}

Then I can get the custom loadBalancerKey in my implementation class of IRule .

+1
I had a similar requirement to implement a load balancer that uses an election hash for user stickiness based on a query parameter.  I also end up re-writing AbstractLoadBalancerAwareClient#executeWithLoadBalancer . I wish we had an easy way to decide what to pass in Object key for the IRule

@jfgosselin wishing for something doesn't help. Describe where your key comes from and why you need it.

@spencergibb
I have a Zuul proxy that uses the query parameters from http request to determine which server to pick (in my specific case for user stickiness) .  I want these parameters pass to Server choose(Object key) in IRule  implementation.
The only way is to re-write AbstractLoadBalancerAwareClient ?

We certainly could support some kind of strategy interface or something akin to grab information out of the request. Would need to support all 4 implementations of AbstractLoadBalancerAwareClient and would probably require an abstract class that extends AbstractLoadBalancerAwareClient.

It's maybe easy to provide a protected method to build LoadBalancerCommand in AbstractLoadBalancerAwareClient. Then I can extends AbstractLoadBalancerAwareClient and just override the method. Secondly I think it's better to make the FeignLoadBalancer.RibbonRequest public.

@lowzj, I don't think so. We have 4 implementations of AbstractLoadBalancerAwareClient. Seems like we would need an extension point, otherwise you would have to extend all the ones you are using.

@spencergibb How about adding an annotation named @LoadBalancerKey and a class LoadBalancerKeyParameterProcessor to process it just like I wrote above?

I open a pr on project Netflix/ribbon to add loadBalancerKey when building a LoadBalancerCommand: https://github.com/Netflix/ribbon/pull/309

@spencergibb I submit a new commit to the PR: https://github.com/Netflix/ribbon/pull/309. It changes nothing except giving a chance to derived classes of AbstractLoadBalancerAwareClient to customize the LoadBalancerCommand object.
The derived classes of AbstractLoadBalancerAwareClient in  sc-netflix are:
AbstractLoadBalancerAwareClient
  |-- AbstractLoadBalancingClient
  |     |-- OkHttpLoadBalancingClient
  |     |     \__ RetryableOkHttpLoadBalancingClient
  |     \__ RibbonLoadBalancingHttpClient
  |           \__ RetryableRibbonLoadBalancingHttpClient
  |-- FeignLoadBalancer
  |     \__ RetryableFeignLoadBalancer
  \__ RestClient(in ribbon project)
        \__ OverrideRestClient
              \__ TestRestClient

So if that pr gets merged, I want to submit a pr to override the method customizeLoadBalancerCommandBuilder in these derived classes to set loadBalancerKey if existing: AbstractLoadBalancingClient, FeignLoadBalancer, OverrideRestClient. Is it OK?

Why am I doing this?
I have customized my own AbstractLoadBalancingClient and rewrite its derived classes(just copy and change their parent class) in sc-netflix since Brixton.SR4 to support this feature. Every time I upgrade spring-cloud's version, I have to compare the difference between the new and old version, and to change some existing codes carefully. Especially when I upgrading to Dalston.RELEASE, there are so many duplicated things I have to do.
Additionally, the loadBalancerKey is designed in ribbon in fact, but we don't use it. I don't know why, maybe a mistake.
So I think that it's better to support this feature in the official version.

@lowzj sounds good.

@spencergibb I'm so sorry for disturbing you again because that I have no idea how to get a response on the PR(https://github.com/Netflix/ribbon/pull/309) from the members of Ribbon project. I have been waiting for more than half a year and there was no any activity of Ribbon members in recent months.
Would you mind reminding someone who is the member of Ribbon to take a look at that PR? It really changes nothing status quo of Ribbon and will bring us a much more flexible routing strategy. Thanks.

I've pinged who I know @lowzj. Not much more I can do.

@spencergibb Thanks very much for your reply.

@spencergibb i think,you can add code in
AbstractLoadBalancerAwareClient.executeWithLoadBalancer:
public T executeWithLoadBalancer(final S request, final IClientConfig requestConfig) throws ClientException {
        RequestSpecificRetryHandler handler = getRequestSpecificRetryHandler(request, requestConfig);
        LoadBalancerCommand<T> command = LoadBalancerCommand.<T>builder()
               ...
                .withServerLocator(request)
                .build();
         ...
    }

The request to the user, allowing users to freely meet their own needs...
public class CustomRule extends RoundRobinRule {

    @Override
    public Server choose(Object o) {
        return choose(getLoadBalancer(), o);
    }

    public Server choose(ILoadBalancer lb, Object key) {
		((ClientRequest)key).getUri()..eg: take uri to do something..or get request header to do something..
    }

}


Add support for missing xterm mouse release code

Using alacritty with mouse support i encountered Unsupported([27, 91, 60, 51, 59, 52, 54, 59, 49, 48, 109]) which translates to "\x1B[<3;46;10m".
Codes of the form ESC [ < 3 ; Cx ; Cy m represent a mouse release, this patch adds support for them.

thx


Updoot!

Lets get some new weapons and ammo in... Including some fancy buggers.

I really hope Im doing any of this right. If Ive screwed up, well, back to google docs fer me.

Seems alright to me, except for very slight formatting errors. Did you lint the files?
https://dev.narc.ro/cataclysm/format.html

Nope, dident know thats a thing. Ahwell, linting time.

i approve this pr :P

Interesting how taht worked, would have expected it to be a different merge request.

i was to quick want me to revert

the squash and merge i had some problems with

Its broken? Whereabouts?

are you on discord ? https://discord.gg/BqWZWQA

i tried to squash and merge and it lead to a bunch of other problems as long as this merge had no problems ill keep doing it


I want to use WebSocket to connect to my aria2 service.

For some reason, I can only use WebSocket to connect to my aria2 service.But flexget aria2 plugin seems to be no this option.
What should I do to solve this problem?

Are they running on the same host? Or same network?

它们是否在同一主机上运行？还是同一个网络？

Different host.

how can I use "ws://" to connet aria2 service?

Using the ip and port aria is running on doesn't work?

Using the ip and port aria is running on doesn't work?

yes,because my aria2 running in colab,I can't use http to connect,I use ngrok.
I can go through aria2NG to connect,use "ws://"

I wish Flexget Aria2 plugin had more ways to connect aria2 service,like ws://

How about ssh tunnel? Autossh can do this. Then it looks to flexget like it is on localhost

How about ssh tunnel with port forward? Autossh can do this. Then it looks to flexget like it is on localhost

I don't know how to do it, can you have a try?
https://github.com/biplobsd/OneClickRun
https://github.com/hmglife/aria2-colab

I modified the plug-in code and tried to connect, but the following error occurred.
CRITICAL aria2         Anime           Socket connection issue with aria2 daemon at ws://0743be323be1.ngrok.io:80/jsonrpc: unsupported XML-RPC protocol.
So sad,I may need to do more work to understand how it works.

I modified the plug-in code and tried to connect, but the following error occurred.
CRITICAL aria2 Anime Socket connection issue with aria2 daemon at ws://0743be323be1.ngrok.io:80/jsonrpc: unsupported XML-RPC protocol.
So sad,I may need to do more work to understand how it works.

It seems you are trying XML RPC over JSON RPC url. Maybe try ws://0743be323be1.ngrok.io:80/rpc instead
https://aria2.github.io/manual/en/html/aria2c.html#sample-xml-rpc-client-code

我修改了插件代码并尝试连接，但是发生以下错误。
aria2守护程序在ws：//0743be323be1.ngrok.io：80 / jsonrpc上发生严重的aria2动漫套接字连接问题：不支持的XML-RPC协议。
太可惜了，我可能需要做更多的工作才能了解它的工作原理。

看来您正在尝试通过JSON RPC URL进行XML RPC。也许尝试ws://0743be323be1.ngrok.io:80/rpc改用
https://aria2.github.io/manual/en/html/aria2c.html#sample-xml-rpc-client-code

2020-10-07 03:57:07 CRITICAL aria2         Anime           Socket connection issue with aria2 daemon at ws://81ab0f77d344.ngrok.io:6800/rpc: unsupported XML-RPC protocol
2020-10-07 03:57:07 WARNING  task          Anime           Aborting task (plugin: aria2)
In addition to changing links, what adjustments do I need to make to the plugin aria2?
I can connect through aria2Ng,but I don't not how it work.