curl -X GET http://localhost:8444/v2/stake-pools => 'Something went wrong(base)'

Context
Maybe related to changes here https://github.com/input-output-hk/cardano-wallet/issues/1164

Information
-

Version
2019.12.23 (git revision: 398565cc1a65553827834520c5a95827a7c48d41)

Platform
Docker FROM ubuntu:18.04

Installation
Source 0.8.5

Steps to Reproduce
Setup jormungandr w/ jci per instructions and run w/ jormungandr cmd line as leader
Setup cardano-wallet per instructions and run w/ serve
NOTE: 8443 is jcli and 8299 is the node
tcp        0      0 <IP_ADDRESS>:8443            <IP_ADDRESS>:*               LISTEN      14/jormungandr
tcp        0      0 <IP_ADDRESS>:8444            <IP_ADDRESS>:*               LISTEN      13/cardano-wallet
tcp        8      0 <IP_ADDRESS>:8299            <IP_ADDRESS>:*               LISTEN      14/jormungandr

Note the first request to /v2/stake-pools (CLI or rest api) returns the stakepools without the meta data.
All following requests to /v2/stake-pools (CLI or rest api) fail with 'Something went wrong(base)'

If you delete the /tmp/stake-pool-metadata-90e545fc4b1cdae6/registry.zip cache that seems to be failing to deserialize, you can start at step 1 again, and the repo steps will start over.
Expected behavior
stake-pools list WITH metadata on the second request to /v2/stake-pools (not crash/error)
https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Stake-Pools
Actual behavior
'Something went wrong(base)'

Resolution

QA

Just tested with cardano-wallet v2020-01-07 same issue

Hi @chbfiv, thanks for reporting.
Would you be able to run cardano-wallet again with --verbose, and show all log lines containing Downloading https://github.com/cardano-foundation/incentivized-testnet-stakepool-registry/archive/master.zip?

I did some testing locally with ITN and could not reproduce it. Not saying that there isn't a problem, just that we may need to dig further to uncover its cause.

Which instructions are you using?
Are you connecting to itn_rewards_v1 (config links).
Are you seeing stake-pool-monitor ... In sync with the node. log messages before you call the stake-pools endpoint?
Are there any errors or warnings reported in the logs? (e.g. failed downloads, out of disk space, anything)
Which jormungandr version are you using?

Here are my results:

I run latest master branch like this (for this issue though, the version shouldn't matter too much, but master branch has some new logging options)cardano-wallet-jormungandr launch --log-level debug --trace-stake-pool-layer debug --port 8090 --genesis-block-hash 8e4d2a343f3dcf9330ad9035b3e8d168e6728904262f2c434a4f8f934ec7b676  --state-dir ./state-itn_rewards_v1 --sync-tolerance 300s -- --config itn_rewards_v1-config.yaml

I wait for the node to bootstrap and stake pools to sync (took about 40 minutes today).
I run curl http://localhost:8090/v2/stake-pools ... multiple times. I get the stake pools listed.

I have also checked that every stake pool in the registry as of today can be deserialized with the code (caching in /tmp enabled).
Please let us know, thanks.

I'll work on this tonight (logging/master branch build)
At a high level,
cardano-wallet serve --listen-address "<IP_ADDRESS>" --port 8444 --node-port 8443 \
  --database "/app/storage/wallet" \
  --verbose \
  --genesis-block-hash ${_GBH} &
jormungandr --config /app/cfg/${_CONFIG} --secret /app/secret-cfg/secret-node-config-${_NODE_ID}.yaml --genesis-block-hash ${_GBH}

p2p:
 trusted_peers:
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 7ddf203c86a012e8863ef19d96aabba23d2445c492d86267
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: df02383863ae5e14fea5d51a092585da34e689a73f704613
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: fcdf302895236d012635052725a0cdfc2e8ee394a1935b63
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: fc89bff08ec4e054b4f03106f5312834abdf2fcb444610e9
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 35bead7d45b3b8bda5e74aa12126d871069e7617b7f4fe62
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 8529e334a39a5b6033b698be2040b1089d8f67e0102e2575
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 06aa98b0ab6589f464d08911717115ef354161f0dc727858
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 8f9ff09765684199b351d520defac463b1282a63d3cc99ca
  - address: "/ip4/<IP_ADDRESS>/tcp/3000"
    id: 9d15a9e2f1336c7acda8ced34e929f697dc24ea0910c3e67
 public_address: "/ip4/<IP_ADDRESS>/tcp/8299"
 listen_address: "/ip4/<IP_ADDRESS>/tcp/8299"
 topics_of_interest:
   messages: high
   blocks: high
rest:
 listen: "<IP_ADDRESS>:8443"
storage: "/app/storage"
mempool:
    pool_max_entries: 10000
    fragment_ttl: 30m
    log_max_entries: 100000
    log_ttl: 1h
    garbage_collection_interval: 15m

I noticed you are using launch instead of serve

I noticed you are using launch instead of serve

@chbfiv launch will start a jormungandr process for you and connects the server to it automatically. launch uses serve behind the scene.

I updated my entrypoint to the following (using cardano-wallet  v2020-01-07 because otherwise I need to setup builds for cardano-wallet which is more work/risks)
  --listen-address '<IP_ADDRESS>' \
  --port 8444 \
  --node-port 8443 \
  --state-dir '/app/storage/' \
  --sync-tolerance 300s \
  --verbose \
  --genesis-block-hash ${_GBH} -- --config /app/cfg/${_CONFIG} --secret /app/secret-cfg/secret-node-config-${_NODE_ID}.yaml

So now it's using the bundled jormungandr
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:8443          <IP_ADDRESS>:*               LISTEN      18/jormungandr
tcp        0      0 <IP_ADDRESS>:8444            <IP_ADDRESS>:*               LISTEN      13/cardano-wallet
tcp        0      0 <IP_ADDRESS>:8299            <IP_ADDRESS>:*               LISTEN      18/jormungandr ```

I know the epoch is not up to date, but the problem appears to still be the same issue.

```root@cardano-node-leader-ccb7fc695-t8lmc:/app/bin# cardano-wallet stake-pool list --port 8444
I can't list stake pools yet because I need to scan the blockchain for metrics first. I'm at 15%
root@cardano-node-leader-ccb7fc695-t8lmc:/app/bin# date --iso-8601=seconds
2020-01-11T17:31:39+00:00

---
blockRecvCnt: 928
lastBlockContentSize: 315
lastBlockDate: "19.322"
lastBlockFees: 800000
lastBlockHash: 72eb3f3e2ce4c662124f6d041194d426e507e15d718a38513bcf6f302c610506
lastBlockHeight: "62160"
lastBlockSum:<PHONE_NUMBER>34
lastBlockTime: "2020-01-01T19:24:21+00:00"
lastBlockTx: 1
lastReceivedBlockTime: "2020-01-11T17:33:55+00:00"
state: Running
txRecvCnt: 80
uptime: 691
version: jormungandr 0.8.5-3a108c38

root@cardano-node-leader-ccb7fc695-t8lmc:/app/bin# cardano-wallet stake-pool list --port 8444
Ok.
[
    {
        "metrics": {
            "controlled_stake": {
                "quantity":<PHONE_NUMBER>1603,
                "unit": "lovelace"
            },
            "produced_blocks": {
                "quantity": 1,
                "unit": "block"
            }
        },
        "cost": {
            "quantity": 0,
            "unit": "lovelace"
        },
        "margin": {
            "quantity": 2,
            "unit": "percent"
        },
        "apparent_performance": 1,
        "id": "03a01cb9acffb3374c9a86ff39b2b5d85128c9ce3ac3fdba51ceceaca0685f98"
    },
...
 {
        "metrics": {
            "controlled_stake": {
                "quantity":<PHONE_NUMBER>642,
                "unit": "lovelace"
            },
            "produced_blocks": {
                "quantity": 0,
                "unit": "block"
            }
        },
        "cost": {
            "quantity": 100000000,
            "unit": "lovelace"
        },
        "margin": {
            "quantity": 25,
            "unit": "percent"
        },
        "apparent_performance": 0,
        "id": "ffe7f3fb4f193fb64a8e39e9c9c45286a6aebeaf7001243bf6f25a1eec81b8e3"
    }
]

stake-pool-metadata-90224d624d49f39c
root@cardano-node-leader-ccb7fc695-t8lmc:/app/bin# cardano-wallet stake-pool list --port 8444
Something went wrong

I put some more time/effort into this.
So, even with a node in sync I'm getting the same error (see above).
I also downloaded cardano-wallet for mac and tested the same configs (wasn't hard to setup). So both the Docker container (ubuntu:18.04) and the mac have almost identical setups and the same source/release cardano-wallet v2020-01-07, just one is for mac and one is for linux.
cardano-wallet on mac worked as expected.
and again, on ubuntu:18.04, it has the Something went wrong error and no debug info.

Ok, I managed to reproduce it on my Ubuntu 18.04 using docker image and our integration tests' node. Reproducible every time.

 Otherwise one cannot attach to the wallet's host:port from host machine. :man_shrugging:

List stake-pools for the first time -> it works FINE.

$ cardano-wallet-jormungandr stake-pool list  --port 8092
Ok.
[
  ... metric are shown...
]

In the log there is:
Downloading https://github.com/cardano-foundation/incentivized-testnet-stakepool-registry/archive/master.zip -> /tmp/stake-pool-metadata-d960810ee7504951/registry.zip: Started download
[cardano-wallet.stake-pool-layer:Notice:61] [2020-01-13 10:51:57.71 UTC] Stake pool metadata is unavailable

List stake-pools for the second time (and every subsequent time)

$ cardano-wallet-jormungandr stake-pool list  --port 8092
Something went wrong

In the log there is:
Downloading https://github.com/cardano-foundation/incentivized-testnet-stakepool-registry/archive/master.zip -> /tmp/stake-pool-metadata-d960810ee7504951/registry.zip: Using cached file last modified at 2020-01-13 10:51:57.562313246 UTC
Parsing of archive structure failed:
Cannot locate end of central directory
in "/tmp/stake-pool-metadata-d960810ee7504951/registry.zip"

@piotr-iohk does the file IS actually present on your file-system at the expected location :thinking: ?

@KtorZ, no, as a matter of fact, it isn't here in /tmp...

Okay, so this explains why it can't find it and reduces the question to: why isn't the archive saved where it should be?
What bothers me is this log line though:
Downloading https://github.com/cardano-foundation/incentivized-testnet-stakepool-registry/archive/master.zip -> /tmp/stake-pool-metadata-d960810ee7504951/registry.zip: Using cached file last modified at 2020-01-13 10:51:57.562313246 UTC

The server clearly detects a file at the given location and even the date at which it was last modified.

Probably what is happening is that the download failed for a Docker-container-related reason (e.g. missing ssl certificates, DNS resolution failed), but that exception was not caught by fetchStakePoolMetaZip. And then the function that calls listStakePools probably swallows the exception. An empty registry.zip is left behind, causing failures when it is opened next time.
This is how we can fix it:

If there is any exception downloading the registry, ensure that the temporary registry.zip is deleted.
Identify, handle and log the exception that happens in this case.
Adjust the inputoutput/cardano-wallet docker image so that the necessary configuration is present.


Is there some kind of backend validation for results stored at dxservice?

Question
With using a survey with the cookie option (for example: var surveyJSON = {cookieName: "<cookie_name>", ... }) I try to prevent that the same users participate more than once. But when the user deletes his cookies he could do it again. So what I want to do is collecting the users email address and make it impossible that a user with the same email address is sending a survey twice.
So is there a way to make dxservice to ignore those posts if the email address already exists? Or as alternative is there a way to look for the email address via the api before sending? But it would have to be an api call that returns a boolean and not all email addresses because of privacy reasons.
Thanks in advance!

@vanBersie Sure, it is a common scenario. Please take a look at this demo: https://www.surveyjs.io/Examples/Library/?id=service-oneperuser
and clientId property.
Thank you,
Andrew

@andrewtelnov Thank you! I saw this example but it didn't look helpful to me. Do you mean that instead of the Hash I should use the value from the mail input field as client id? But I guess that won't work because you need the client id to init the survey, right? So how is this hash set? I don't get it :D

You are putting your customer/user ID, for example e-mail or better e-mail hash into clientId (you do not to restore the e-mail from hash, the only limitation, it should be unique for all your users),  and if you are using the service and post data via postId, you are done :-)
Thank you,
Andrew

Yes, you have to set the surveyId as well.
It works in the following way. If the surveyId is used without clientId, the library gets the survey JSON and load it into the survey model/widget.
If the surveyId and clientId is used, then library gets the survey JSON and information, if the current client has completed the survey. If the survey is completed the message about survey completion is shown.
Thank you,
Andrew

Ah ok, thank you very much! But in that case it won't work for me because the user is not logged in or something so I don't have the email address until he types it into the email input field. :D
So there is no other way to filter that out?
The API also doesn't seem to have an option to delete single entries by id or replace all results with a json and on https://dxsurvey.com/Home/SurveyResults/ there doesn't seem to be an option for importing a result json. So I guess one can only clean the data afterwards. Or am I overlooking something?

@vanBersie There is not much you can do here. Browsers are working on client devices. They have the full control over them, we have not much control due security reason.
So you may use cokies or local storage  on the client, or create a unique identificator for a user and use it. IP want help either, since one IP address may be used by several clients.
The only good solution - the person who runs the survey should be somehow authorized, by log-in to your system or OAuth (facebook, google, twitter and so on).
Thank you,
Andrew

There are two methods, delete by id or delete all:
https://dxsurvey.com/Help/Api/GET-api-MySurveys-deleteResult_accessKey_postId_instanceId
https://dxsurvey.com/Help/Api/GET-api-MySurveys-deleteAllResults-id_accessKey

@andrewtelnov: Thank you! That helps! I guess then I could create a script that runs one time a day to get all results and deletes doubles by id then.

@vanBersie Yes, you may do this. However, if you setup the clientId, then dxsurvey.com should merge the results. The latest result will override the previous values if needed.
Thank you,
Andrew


Improve turn instructions when leaving the roads

Fixes #1047.
This fixes the two examples given in #1047 and also the new example provided by @karussell.
Let me know what you think about the results? I haven't done too much live testing yet. So feedback would be very welcome.
I also renamed the two edge variable in InstructionsOutgoingEdges again :). I hope the naming is OK? I really struggled with the filteredEdges naming.

Nice! This solves also another problem I recently stumble over when navigating with GraphHopper.

Perfect! Thanks for testing this.

Thanks!


Leading underscore in APL variable names (GNU, Dyalog)

Two small tweaks to the APL lexer

Add all APL file suffixes
Allow leading _ in variable names (GNU APL, Dyalog)

This PR is more useful than it may seem, as _← is a common idiom in APL programming.
There's also the fact that leading underscores are used commonly as the leading character of dop names.

Thanks! Can you please regenerate the mapfiles as well (make mapfiles), otherwise the file endings won't get picked up. Would you mind adding/extending one of the APL tests to capture this as well? Not required but would be nice to have so it doesn't regress.

@Anteru Thanks for your comments. I've regenerated the mapfiles and added a testcase (there weren't many for APL...) to demonstrate the modification as per your suggestions.

Merged, thanks a lot!


Dsymutil Warning

I've added OrigamiEngine with FLAC support to a project using CocoaPods. When I build I get 22 Dsymutil Warning messages:
GenerateDSYMFile /Users/pi/Library/Developer/Xcode/DerivedData/MusicLife-bjixafcgmqomeidbaowsaggosygn/Build/Products/Debug-iphoneos/MusicLife.app.dSYM /Users/pi/Library/Developer/Xcode/DerivedData/MusicLife-bjixafcgmqomeidbaowsaggosygn/Build/Products/Debug-iphoneos/MusicLife.app/MusicLife
    cd /Users/pi/git/ARCAMControl
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/pi/Library/Developer/Xcode/DerivedData/MusicLife-bjixafcgmqomeidbaowsaggosygn/Build/Products/Debug-iphoneos/MusicLife.app/MusicLife -o /Users/pi/Library/Developer/Xcode/DerivedData/MusicLife-bjixafcgmqomeidbaowsaggosygn/Build/Products/Debug-iphoneos/MusicLife.app.dSYM

warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/bitwise.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/framing.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/bitmath.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/bitreader.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/bitwriter.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/cpu.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/crc.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/fixed.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/format.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/lpc.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/md5.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/memory.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/metadata_iterators.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/metadata_object.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/ogg_decoder_aspect.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/ogg_encoder_aspect.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/ogg_helper.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/ogg_mapping.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/stream_decoder.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/stream_encoder_framing.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/stream_encoder.o unable to open object file
warning: (armv7) /Users/ap4y/Library/Developer/Xcode/DerivedData/FLAC-agdswvtypvkghvdnjjurpzzsnuqp/Build/Intermediates/FLAC.build/Release-iphoneos/FLAC.build/Objects-normal/armv7/window.o unable to open object file

Why is this warning showing, and where is your path hardcoded into the framework?

In case anyone else wants to ignore these warnings, run the following from your project root.
$ sudo strip -S -X -x Pods/OrigamiEngine/Audio-Frameworks/bin/flac/FLAC.framework/Versions/A/FLAC

I get this as well, thanks for the command


Make front view to be z+

Currently, Front view is from z-, actually is rear.
made it to be z+ like others, top from y+, right from x+

See discussion in https://github.com/godotengine/godot-proposals/issues/843.

We recently merged #45669 which does the opposite of this PR. I don't have a strong oppinion on what should be considered front/back, but we can't keep changing between one and the other, we need to come with an agreement :)

this pr has same behavior with blender.
I didn't notice it was swapped before and it confused me that imported mesh looks back.

For a character facing forward (Vector3.FORWARD) such that the right hand is in the right direction (Vector3.RIGHT) and the head is in the up direction (Vector3.UP), this means that the front of the character is the view from -Z, not +Z.
If you were to spin a character around the Y axis such that its front was facing +Z, then the right hand would be in the left direction (Vector3.LEFT) and the left hand would be in the right direction (Vector3.RIGHT). The inevitable conclusion is, if you want the right hand to be in the right direction and the left hand to be in the left direction, you have to make the player face forward (Vector3.FORWARD), such that its front is visible from -Z, which is the current behavior, so this shouldn't be merged.

ok then.


WIP: Provider update

Update organizational provider data from CMS.
Does not impact IHS or VA facilities, and should not impact Synthea-international repositories (i.e., changes should be backward compatible).
Additional changes forthcoming.
🚧


semver 0.10 tracker

Bump to new ostree semver
cap-std-ext 1.0
https://github.com/ostreedev/ostree-rs-ext/pull/381

Heh well I ignored this for 0.9, so now it's 0.10...

0.10 happened


Explain Java options and reasoning

Would be good to know why have the current JavaOptions and what was the reason to put them at this value.
I'm especially interested in:
  -XX:+UseParallelGC
  -XX:MinHeapFreeRatio=5
  -XX:MaxHeapFreeRatio=10
  -XX:MaxRAMPercentage=25.0
  -XX:GCTimeRatio=4
  -XX:AdaptiveSizePolicyWeight=90

Because these settings currently seem to make serious problems on deploying Zeebe with one partition, see this issue https://github.com/zeebe-io/zeebe/issues/4664#issuecomment-645325989
@salaboy any ideas ?

Yes, I have been asked about this by customers as well.

I assume they are just copied from somewhere. For example here they are listed https://docs.openshift.com/container-platform/3.9/dev_guide/application_memory_sizing.html#encouraging-the-JVM-to-release-unused-memory It seem this configuration makes the GC really aggressive.

@Zelldon @falko we can change these parameters in any way we want, some of these parameters were provided by previous yaml files, copied from other places and never updated since we started.. I am happy to change them all, but I haven't seen any suggestions yet.
Remember that we started with JDK 8 which required different paramters to make sure that the JVM was aware that it was running inside Docker, but since we moved to JDK 11 those parameters weren't updated..

Thanks @salaboy I think maybe we should then just use the defaults from the jvm until we tested and found better parameters or we see problems with them. I think we will spent in the future some time to find good new values, but I think for now we should just use defaults.
We should keep
 -Xmx4g
  -Xms4g
  -XX:+HeapDumpOnOutOfMemoryError
  -XX:HeapDumpPath=/usr/local/zeebe/data
  -XX:ErrorFile=/usr/local/zeebe/data/zeebe_error%p.log

Because we know that they work with our system and bringing value.

In the cloud we now also include the -XX:+ExitOnOutOfMemoryError, since Zeebe becomes quite unstable when it hits an OOM - should we also include it here?

Yes I think so. Otherwise the system might in a weird state when the oom's are catched.


How to whitelist my local app?

Hello. I have setup a clone of this app and deployed it to Heroku.  Your instructions indicate that I should now whitelist only the app that needs to connect to my Heroku cors-anywhere app.  As I understand, to do this, I need to set an environmental variable (aka a Heroku config var) with the key CORSANYWHERE_WHITELIST, and a value.  But what value should I use, given these details

The app is my local app, on localhost:3000.
My computer's public IPv4 address is http://AAA.BBB.CCC.DDD.
My computer's public IPv6 address is 2001:0db8:0000:0000:0000:8a2e:0370:7334.

I tried http://AAA.BBB.CCC.DDD (with these variations:  with/without the port number appended, http/https), but my local app could not access the Heroku app. It was rejected with a 403 Forbidden error, which I guess is expected if the local app is not properly whitelisted by the Heroku app.
If i use the value http://localhost:3000, my local app can then access the Heroku app. But doesn't that mean local apps on port 3000, on any computer, can access my Heroku app?  If so, how do I restrict access to only the local app on my computer?
Thanks.

If i use the value http://localhost:3000, my local app can then access the Heroku app. But doesn't that mean local apps on port 3000, on any computer, can access my Heroku app?

Yes. CORS Anywhere is a proxy designed to allow web applications in web browsers to access resources from URLs that do not support CORS. Validation is solely based on request headers (Origin, which is automatically added by web browsers, or X-Requested-With, which can only be set by same-origin sources), NOT on source IPs. Anyone with non-browser access to the server can spoof the request headers. That's why the server should not be used to guard (sensitive/restricted) intranet resources.

If so, how do I restrict access to only the local app on my computer?

Generally not. But there may be alternatives. In order, from best to worst:

If you have control over the requested destination URLs, add CORS headers to their responses.
You could use a browser extension to add CORS headers to requests.
Your application being run on localhost could mean that you have control over available applications. You could start CORS Anywhere locally, with HOST=<IP_ADDRESS> (so that the server only responds to local requests) and CORSANYWHERE_WHITELIST=http://localhost:3000 to restrict access.
You could add a non-existing host name (or a subdomain that is owned by you) that resolves to <IP_ADDRESS> to your host file, and access your app through that host file. Note: this DNS entry should not be public, or else others can visit the URL to access localhost (I doubt that someone is willing to go through the efforts of visiting your domain name just to use CORS Anywhere though). This is a bit of security by obscurity, and will only make it a bit harder (but not impossible for determined people) to use your instance of CORS Anywhere.

If i use the value http://localhost:3000, my local app can then access the Heroku app. But doesn't that mean local apps on port 3000, on any computer, can access my Heroku app?

Yes. CORS Anywhere is a proxy designed to allow web applications in web browsers to access resources from URLs that do not support CORS. Validation is solely based on request headers (Origin, which is automatically added by web browsers, or X-Requested-With, which can only be set by same-origin sources), NOT on source IPs. Anyone with non-browser access to the server can spoof the request headers. That's why the server should not be used to guard (sensitive/restricted) intranet resources.

If so, how do I restrict access to only the local app on my computer?

Generally not. But there may be alternatives. In order, from best to worst:

If you have control over the requested destination URLs, add CORS headers to their responses.
You could use a browser extension to add CORS headers to requests.
Your application being run on localhost could mean that you have control over available applications. You could start CORS Anywhere locally, with HOST=<IP_ADDRESS> (so that the server only responds to local requests) and CORSANYWHERE_WHITELIST=http://localhost:3000 to restrict access.
You could add a non-existing host name (or a subdomain that is owned by you) that resolves to <IP_ADDRESS> to your host file, and access your app through that host file. Note: this DNS entry should not be public, or else others can visit the URL to access localhost (I doubt that someone is willing to go through the efforts of visiting your domain name just to use CORS Anywhere though). This is a bit of security by obscurity, and will only make it a bit harder (but not impossible for determined people) to use your instance of CORS Anywhere.

OK thanks for that.  So it sounds like there is no way—or no easy way—to whitelist only my local app.  Would you agree with that?  I’m not upset or trying to call you out or anything—I just want to make sure I’m understanding the situation so I can take the next step.  This is just a non-critical My First App side project of mine, so I’m mainly interested in learning best practice so I can apply it to future projects.
As far as your four suggestions:

In my case, I unfortunately do not have access to the requested URL.
I could indeed use a browser extension to accomplish what I want.  I’ve used it before.
I could try to use the local version of cors-anywhere I have installed.
I didn’t quit understand this option.  But let’s leave it as-is for now—I think I can get by without it for now.

Thanks.

OK thanks for that.  So it sounds like there is no way—or no easy way—to whitelist only my local app.  Would you agree with that?  I’m not upset or trying to call you out or anything—I just want to make sure I’m understanding the situation so I can take the next step.  This is just a non-critical My First App side project of mine, so I’m mainly interested in learning best practice so I can apply it to future projects.
As far as your four suggestions:

In my case, I unfortunately do not have access to the requested URL.
I could indeed use a browser extension to accomplish what I want.  I’ve used it before.
I could try to use the local version of cors-anywhere I have installed.
I didn’t quit understand this option.  But let’s leave it as-is for now—I think I can get by without it for now.

Thanks.

there is no way—or no easy way—to whitelist only my local app. Would you agree with that?

If you want to host the server on the public internet, then it is indeed not possible to whitelist only your "local app", because your local app is indistinguishable from other "local apps" on other computers, because all of these "local apps" have a common origin that's exposed through the Origin request header.
Given your constraints, option 2 sounds like the best option, followed by option 3.

there is no way—or no easy way—to whitelist only my local app. Would you agree with that?

If you want to host the server on the public internet, then it is indeed not possible to whitelist only your "local app", because your local app is indistinguishable from other "local apps" on other computers, because all of these "local apps" have a common origin that's exposed through the Origin request header.
Given your constraints, option 2 sounds like the best option, followed by option 3.

OK thanks for that explanation--it makes everything clear.  I'll go with my browser extension then.

OK thanks for that explanation--it makes everything clear.  I'll go with my browser extension then.


CAMEL-8906: destroy method

I wasn't able to write test for this functionality.

Thanks for this PR. The code has been merged. Do you mind closing this?

Thanks for this PR. The code has been merged. Do you mind closing this?


see saved drafts in a folder

Description

As a follow-up of #112  we would like to see drafts for each type of object and reuse them in the wizard
we can also rename Choose existing object to Choose from drafts
DoD (Definition of Done)

drafts are visible in Choose existing object
Testing

unit testing, and if possible integration tests

also take into consideration not to overwrite data as mentioned here: https://github.com/CSCfi/metadata-submitter-frontend/pull/112#pullrequestreview-553544444


Grid With Search: show number of filtered rows

Description
Currently only way to tell is to manually count (often inpractical) or export and count.
Need to add a small counter to give immediate feedback
Resourcing
We intend to contribute this feature


Screenshot for failed gauge tests are not captured

Capturing screenshots on failure is enabled : screenshot_on_failure = true, but it wasn't captured when the test failed.
Expected behavior
Expected the screenshot to be available as a part of the html report
Actual behavior
Capturing screenshot failed with the following error:
goroutine 1 [running]:
21:15:13.943 panic(0x556a40, 0xc420014120)
21:15:13.943 	/usr/local/Cellar/go/1.7.3/libexec/src/runtime/panic.go:500 +0x1a1
21:15:13.943 image.(*RGBA).Opaque(0xc4200ba200, 0x62e340)
21:15:13.944 	/usr/local/Cellar/go/1.7.3/libexec/src/image/image.go:141 +0xc3
21:15:13.944 image/png.opaque(0x62e340, 0xc4200ba200, 0x62c240)
21:15:13.944 	/usr/local/Cellar/go/1.7.3/libexec/src/image/png/writer.go:60 +0x162
21:15:13.944 image/png.(*Encoder).Encode(0xc4205f8000, 0x62c5c0, 0xc4200380a0, 0x62e340, 0xc4200ba200, 0xc42035e000, 0xc4200982c0)
21:15:13.944 	/usr/local/Cellar/go/1.7.3/libexec/src/image/png/writer.go:508 +0x505
21:15:13.945 image/png.Encode(0x62c5c0, 0xc4200380a0, 0x62e340, 0xc4200ba200, 0xc4200ba200, 0x0)
21:15:13.945 	/usr/local/Cellar/go/1.7.3/libexec/src/image/png/writer.go:476 +0x6a
21:15:13.945 github.com/getgauge/screenshot/capture.CaptureScreen(0x7ffe925203cb, 0x13, 0x0, 0x0)
21:15:13.945 	/tmp/src/github.com/getgauge/screenshot/capture/capture_linux.go:60 +0x195
21:15:13.945 main.main()
21:15:13.946 	/tmp/src/github.com/getgauge/gauge_screenshot/main.go:32 +0x101

Gauge version
0.7.0

If it helps, the build ran on a GoCD docker agent (centos6 box):
Docker image used : gocdcontrib/gocd-dev-build:v1.0.8 (https://hub.docker.com/r/gocdcontrib/gocd-dev-build/)
Let me know if you need more info.

Didn't see this after upgrading to 0.9.7, so closing the issue.


drawingContext is not definied

I'm trying to run this example code from p5js's documentation on how to implement a gradient.
function setup() {
createCanvas(100, 100);
background('skyblue');
// Style the circle using a color gradient.
let myGradient = drawingContext.createRadialGradient(50, 50, 3, 50, 50, 40);
myGradient.addColorStop(0, 'yellow');
myGradient.addColorStop(0.6, 'orangered');
myGradient.addColorStop(1, 'yellow');
drawingContext.fillStyle = myGradient;
drawingContext.strokeStyle = 'rgba(0, 0, 0, 0)';
// Draw the circle.
circle(50, 50, 40);
describe('A fiery sun drawn on a light blue background.');
}
This works in their web editor but when i try it with the wrapper in my react project i get the error drawingContext is not defined.

Please read the documentation of this library and implement based on the examples provided there. Your issue is that you are trying to use p5 in global mode but this library is only for use in instance mode.


Amarok fix

Changes in config.example.json:

removed mnemonic config(misleading because signer is present in docker-compose.yml)
added config for signer
removed port from sequencer
Changes in Readme.md:
fix some typos
added better support for signer configuration

Thank you!


Producer throw produce exception code "Err-87?"

Description
Trying to produce throws this following exception:
Confluent.Kafka.ProduceException2[Confluent.Kafka.Null,System.Byte[]]: Err-87?    at Confluent.Kafka.Producer2.ProduceAsync(TopicPartition topicPartition, Message`2 message)
But that error code is not listed in Enum
How to reproduce
        var producerConfig = new ProducerConfig
        {
            BootstrapServers = "bootstrap-server-list",
            SecurityProtocol = SecurityProtocol.Ssl,
            Debug = "broker",
            SslCaLocation = @"root.pem",
            SslCertificateLocation = @"certificate.pem",
            SslKeyLocation = @"key.pem",
        };

        using (var p = new ProducerBuilder<Null, byte[]>(producerConfig).Build())
        {
            await p.ProduceAsync("kafka.test-topic", new Message<Null, byte[]> { Value = Encoding.ASCII.GetBytes("testdata") });
        }

Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[x] Client configuration.
[x] Operating system. - Windows 10
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

ProduceException has a DeliveryResult property on it with an Error property, with and ErrorCode. What is the value of that?
I don't recognize the string Err-87 - it's nothing librdkafka made itself, so it's probably coming from a dependency and since you're using ssl, my best guess is  the problem is there. But I have no clue what.

Error code is 87. Here is the error object:
{
"Code": 87,
"IsFatal": false,
"Reason": "Err-87?",
"IsError": true,
"IsLocalError": false,
"IsBrokerError": true
}
It says broker error true I'm not able to debug what is causing an error.

Ahh, this is what librdkafka does when it encounters a broker error it doesn't know about yet: https://github.com/edenhill/librdkafka/blob/master/src/rdkafka.c#L698
From the broker code, this is:
INVALID_RECORD(87, "This record has failed the validation on broker and hence will be rejected.", InvalidRecordException::new),
What broker version are you using. Is it managed?


Status of risk core - is it dead?

Sorry to raise this concern.  But based on project activity I think project is slowing down.  Am I wrong?

https://www.theregister.co.uk/2017/07/13/will_the_last_person_at_basho_get_the_lights_oh_too_late/

A possible next step is to move the project under the ASF umbrella

So my guess was semi true.  Basho is dead.

Riak Core is far from dead: outside of the uses inside of Riak, Lasp, Antidote, and Project FIFO are all built on Riak Core and will continue to support it independently.

And the community is still coalescing. Basho maybe dead for practical purposes, but has yet to file for bankruptcy, when that finally happens the assets (including this GH org and repos) will no doubt be bought, maybe by a benefactor who wishes to rehabilitate them. In the mean time, there are the forks that cmeiklejohn has mentioned. I personally use this this one https://hex.pm/packages/riak_core_ng

:+1: Moving forward, the riak_core_ng package will be, as far as we can tell, the canonical version that Antidote, Lasp, and FIFO will be using and supporting.

( https://www.theregister.co.uk/2017/07/31/end_of_the_road_for_basho_as_court_puts_biz_into_receivership )
Is there (or will there be) new official homes for Riak core/kv/cs ?

There will eventually be an auction of intellectual property assets including the source code.  I don't think anyone knows when that auction will take place.

Is there an update to the status here? I know that http://bet365techblog.com/riak-workshop-summary happened but I am not seeing any activity.
Sorry if this is a bother, but I am a huge fan of the work here and will start to depend on this for a personal project, so it would be cool to have another status update.
People would love to contribute here if:

Branches were cleaned up
Deps were cleaned up
Activity on issues/PRs
Documentation updates to help people be guided through the code
A clear list of priorities and status on those (like OTP 20 compatibility, AAE enhancemets, etc...)

Sorry if this is not the place for polling on status update.

I hope so

and of course basho/riak_core continues to be improved, but with the focus being on supporting the Riak database. We've tagged riak_core for two releases since this issue was opened. And we continue to work on the basho/riak_core.
There is a lively downstream set of forks (see above.) And soon we will be moving basho /riak_core to a modern erlang.
All that said, I'm going to close this issue. If there is an outcry, we can re-open it.


Configure ingest record batch type and partition file writer type against table

Background
We have instance properties sleeper.ingest.record.batch.type and sleeper.ingest.partition.file.writer.type. These configure how ingest happens in a standard ingest task.
There's a system test IngestIT which tests we can ingest records with the different batch and writer types in a real standard ingest task.
This was split from the following issue:

https://github.com/gchq/sleeper/issues/1794

Description
We'd like to configure the ingest record batch type and file writer type in table properties.
Analysis
We can use this in the system test IngestIT.

This was duplicated and completed in:

https://github.com/gchq/sleeper/issues/1845


Skip pods that do not have any stats collected

@mwringe As discussed in #911 this only adds pod info for pending & running pods. Pending pods need to be considered as they might be partially started, e.g. one container of a multi-container pod started. If there are no metrics collected for a pod then it is also dropped.
Thoughts @mwielgus?

Correction: as discussed in #911

I've reworked this now to only loop through collected stats, creating stubs for containers that have no metrics collected for them (e.g. partially started pod) & creating stubs for containers that have no pod metrics collected (e.g. running pod containers without pod infra container - strange but possible scenario I guess).

metrics/processors/pod_based_enricher.go:55: possible formatting directive in Error call
make: *** [sanitize] Error 1
Build step 'Execute shell' marked build as failure

Yeah sorry about that. Also trying to update tests to use a fake StoreToPodLister - any examples of that anywhere that you know?

I'm not aware of any

OK working on it now & expanding test coverage to test for stubbing as required.

Something up with e2e:
Starting cluster using provider: gce
... calling verify-prereqs
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory

Repeated a lot in the logs.

@k8s-bot test this please

@mwielgus This now only adds pods/containers that have stats collected. If there are missing pods without all containers or containers without pods, these are stubbed with requests/limits from pod spec (tests added for this).

@mwringe FYI in this PR the stubbed pods/containers now have proper node info for node aggregation.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1757

Questions ?
Please refer to the Backport tool documentation


A falsy value for the value attribute on a  element means the attribute won't be added.

Test case: https://codepen.io/kieranbarker/pen/ExVeypJ
Using Firefox 76.0.1 on macOS Catalina 10.15.4.

Fixed with v7.1.4


(JS-0242) Use const declarations for variables that are never reassigned

Description
Variables that are never re-assigned a new value after their initial declaration should be declared with the const keyword. This prevents the programmer from erroneously re-assigning to a read-only variable, and informs those reading the code that a variable is a constant value.
Occurrences
There are 61 occurrences of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/nearbeach/NearBeach/issue/JS-0242/occurrences/

I'm interested in working on this. Can you assign it to me ?

I am down to help with this issue. Can you assign me this issue.

Fixed the issue can you check it up.


Update pekko-http, pekko-http-testkit to 0.0.0+4334-7826b8b0-SNAPSHOT

About this PR
📦 Updates

org.apache.pekko:pekko-http
org.apache.pekko:pekko-http-testkit

from 0.0.0+4329-fad15dd0-SNAPSHOT to 0.0.0+4334-7826b8b0-SNAPSHOT
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.pekko" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.pekko" }
}]

labels: library-update, early-semver-build-metadata, semver-spec-build-metadata, commit-count:1

Superseded by #9.


Design data structure containing a set of buy and sell

Three types of data will be managed during daily trading as follows:

A snapshot in memory and Redis representing stocks currently holding.
Transaction logs for every orders for both direction (buy and sell).
The maximum amount of risk as a constant value during a day.

The followings are data entities for a transaction log.

average buy and sell price
total quantity for buy and sell (for distributing selling, sold quantity)
earning (or loss, which is calculate after a position closed)

I need to make principles before design data structure for an order.

Possible to buy more although I have a position
Sell only when the current price hits stoploss which is already set

The followings are possible cases to consider

Buy 10, Sell 10
Buy 10, Sell 5, Sell 5
Buy 10, Buy 10, Sell 20
Buy 10, Sell 5, Buy 5, Sell 10

During a position opened, the following values are required in Redis:

After a position closed, an order will be made in a database with the following values:

symbol

The maximum risk allowed for a day will be calculated with available cash and exposed risks from previous day.


Multi-tenant support ?

Multi-tenant support: TaskingAI supports fast deployment after development, and can be used in multi-tenant scenarios. No need to worry about the cloud services, just focus on the AI agent development.

Do you have any information about the Multi-tenant support ?  I was looking at https://github.com/TaskingAI/TaskingAI/tree/master/backend/app/models but did not see any reference to the owner or tenant. Did I miss anything or does the database layer not support multi-tenants ?

Sorry for the misunderstanding. The multi-tenant means you can use TaskingAI to build a multi-tenant apps. e.g. use different assistants for different users.


KNN Algorithm in C++ - Implementation

Design KNN Algorithm in using C++ from scratch.
Follow all guidelines on Readme

Hey @iam-abbas, I want to work on this. Can you assign me on this?


Nomenclature for variables/columns/attributes

@jwrudolf @amromeo
Sorry if I missed this earlier.

01 is referring to columns as 'attributes', but rstudio writes as 'variables'
03 is using 'columns'

I was going to use 'variables'...
What is our convention?

I think we should follow the R for Data Science terminology and refer to columns as variables and rows as observations.

My personal preference would be column. I think thats what our audience would call them. R/tidyverse isn't really consistent with these things. select() does use variables, but what about
cbind()
bind_cols()
R4ds says something like: in tidy data Each variable must have its own column, each observation its own row
so to me variable and observation are ideas in the data, a column is that vertical thingee in a data frame.
anyone convinced?

I think it's fine to use both and agree that column is the physical description of the data structure and variable is an idea. I think we just want to avoid multiple terms for the idea terms.

that works for me as well

Sounds good.
I changed my language to variables & columns, rows & observations.


Could not see coverage information for class repo

The coverage page for class repo is: https://coveralls.io/github/gcivil-nyu-org/spring2021-cs-gy-9223-class
Expected Behavior
There should be up-to-date test coverage for these three branches, and each has a coverage of 90% or higher:

main
team-1
team-2

Current Behavior
The link, when visited, shows old test coverage and info.
Ideas for Improvement
Check the set up of coverage for class repo. And consider add badges on README.

The badges to Travis and Coveralls is updated in README.md and cover the main, team-1 and team-2 branch with correct links.


mainPath issues

if mainPath is not set the extension will not work
warning Invalid MaintPath setting. Please make sure it is valid.

Basic informations

OS: [Windows]
VSCode version: Latest
Extension version: 5.0.4

previous version (4.2.4) work fine even without set mainPath, this is a bug?

Should be fixed in v5.1.0.
I accidentally triggered a release instead of a pre-release.

I am still getting similar issue with latest version.
Starting SourcePawn server version 0.9.7
Received config ... "mainPath": String("") ...
thread 'main' panicked at 'Main Path does not exist.', src\server\files.rs:113:49
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[Error - 6:21:49 PM] The SourcePawn Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

in latest version if not set mainpath extension will not work. i choose to rollback to 5.1.0 version.
MainPath was not set and was automatically infered as xxx.sp.

Fixed in https://github.com/Sarrus1/sourcepawn-lsp/commit/943dc5a5d81cc4b028653f9fd277d287934ebcfc.

Now getting
MainPath was not set and was automatically infered as playercommands.sp.
even though i'm editing a different file. Right clicking a file and setting as main bring up the same notification.
Most features don't seem to work yet. I do have a few large projects opened as folders in my workspace. LMK if you need a test dummy. Otherwise i'm gonna stick with 4.x for now, which still works very well.


The "Confirm Repository Deletion" modal dialog does not close when the "Delete" button is pressed

In Admiral, we are using harbor-ui: 0.6.9. If this issue is already fixed, could you point us to the right version of the dependency. This is a recording of the issue - https://jira.eng.vmware.com/secure/attachment/134873/confirm-repositry-deletion.webm.
Thanks,
Antonio.

Stack view is deprecated and the deleting process is redesigned.


add summary and links Crisostomi

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
ca9a8c3fdefa7a4ba0ed6cd0f0d82d38b6fd4193

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/63dbdc6d77c3d000089bfe32


Store you JWK at database with EntityFrameworkCore

Hello,
I'm using the new version of 7.0.2 and it's not storing in the database in the table [SecurityKeys], in this case in sql server, can you help me?

Yes, could you provide more details about your impl? A use case to test the problem

I implemented it like this here on github and put
services.AddJwksManager().PersistKeysToDatabaseStore();

Great, the key isn't generated after you load your app. It generates when you ask for a key. A way to do it is going to your api at https://localhost:<port>/jwks and check if it's empty.

is not empty

It's really strange, could you check if you are using DataProtection? e.g: builder.Services.AddDataProtection()

My suspecious is that you've checked your database before the keys was created. This is a design of our component who could leads some people to mistakes. The keys is created immediatly after you request a key for the first time.
If there is any problem at your configuration, your Keys has to be at %LOCALAPPDATA%\ASP.NET\DataProtection-Keys. But isn't the case, looking to your configuration, the keys should be at ApplicationDbContext

how can i do that, sorry?

This file indicates there is a misconfiguration, because this file is your key. Please check these fresh new examples

Default AspNet Implementation (Recommended).
Storing Jwk in a different place from ASP.NET [https://github.com/NetDevPack/Security.Jwt/tree/master/samples/2_AspNet.Store.EntityFramework]

I tested it, creating another project and it worked perfectly, so I'm going to refactor my project, because I already wanted to migrate to dotnet 7.
and then I'll come back to give feedback

Could you share the error message ?

looks like its not able to do the save in  the table:
LogCore-20230112.txt

In your ApplicationDbContext there is any configuration overriding string MaxLenght ?
The column Parameter supposed to be nvarchar(max), but instead it clearly have a limitation.

A way to solve it, create a class:
public class KeyMaterialMap : IEntityTypeConfiguration<KeyMaterial>
{
    public void Configure(EntityTypeBuilder<KeyMaterial> builder)
    {
        builder.HasKey(c => c.Id);

        builder.Property(c => c.Parameters)
            .HasMaxLength(8000)
            .IsRequired();
    }
}

Then at your ApplicationDbContext:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.ApplyConfiguration(new KeyMaterialMap());
    base.OnModelCreating(modelBuilder);
}

very good my friend. thank you very much and sorry if i took up too much of your time


Is double Q network updated independently in SAC？

qf1, qf2, value_fn = self.policy_tf.make_critics(self.processed_obs_ph, self.actions_ph,
                                                              create_qf=True, create_vf=True)

qf1_loss = 0.5 * tf.reduce_mean((q_backup - qf1) ** 2)
qf2_loss = 0.5 * tf.reduce_mean((q_backup - qf2) ** 2)

values_losses = qf1_loss + qf2_loss + value_loss
Are two Q networks just initialized differently?If so, does it improve the effect significantly?

Yes, that's one of the tricks in SAC. See SpinningUp description of SAC. You may close this issue if you have no further questions related to stable-baselines.

Are two Q networks just initialized differently?If so, does it improve the effect significantly?

I recommend you to read TD3 (which introduces the clipped double q-learning) and SAC paper for a better understanding.
In short, yes, they are initialized differently and it allows to reduce overestimation of the q-value by taking the min of the two.

Thank you!!!


Can't pipe collected items out of henhouses

Using (at least) Mekanism logistical transporters, you can only pipe the dirt out of henhouses, not the items.
Chickens version: 6.0.3

Never mind, my pipes were configured incorrectly.


[INTEL MKL] Enable mkl group conv

Group conv is already enabled in CPU. This PR enables mkl group conv.

@penpornk  Can you please review this PR ? Thanks!

It looks like the Linux GPU failure is related to this PR. Could you please help take a look at //tensorflow/python/kernel_tests:conv_ops_test_gpu? Thank you!

It looks like the Linux GPU failure is related to this PR. Could you please help take a look at //tensorflow/python/kernel_tests:conv_ops_test_gpu? Thank you!

Looks like Eigen conv backward doesn't support group conv, so I removed the changes for gradient test case.


fix: preserve HTML from source markdown strings

This PR updates hubdown to preserve HTML content from the source markdown string. Prior to version 2.4.0 (see https://github.com/electron/hubdown/pull/18), this was the behavior but there were no tests in place to prevent it from regressing during the refactor.
cc @sarahs @juliangruber @woorm @electron/wg-website

Thanks for the reviews everyone!
@juliangruber and @felixrieseberg, do you two know each other? If not, you should. You're both friendly open-source developers from Germany. 🍻

This doesn't seem to have triggered a semantic-release. @MarshallOfSound I don't know much about the multi-factor auth setup. Any ideas?


Incorrect horizontal caret movement with Unicode combining characters

Steps to Reproduce

Execute flutter run on the code sample (just a text field)

Paste "Zalgo" unicode combining characters abuse string to the text field: Z͉̳̺ͥͬ̾a̴͕̲̒̒͌̋ͪl̨͎̰̘͉̟ͤ̀̈̚͜g͕͔̤͖̟̒͝ͅo̵̡̡̼͚̐ͯ̅ͪ̆ͣ̚

Expected results: Can move the caret between all character using keyboard left/right arrows
Actual results: Caret is stuck before the first character on first right arrow keypress, then jumps over two characters.
Interestingly when selecting text using Shift + right arrow the issue isn't there.

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

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() { _counter++; });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('You have pushed the button this many times:'),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
            const Expanded(
              child: TextField(maxLines: null),
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Logs
 flutter doctor -v
[√] Flutter (Channel master, 2.11.0-0.0.pre.562, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.11.0-0.0.pre.562 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2a2f973120 (2 hours ago), 2022-02-15 07:33:57 -0800
    • Engine revision e683e0cd3b
    • Dart version 2.17.0 (build 2.17.0-105.0.dev)
    • DevTools version 2.10.0

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.8)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32002.261
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code, 64-bit edition (version 1.64.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1526]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 97.0.4692.99
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.43

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Hi @tgucio, Thanks for filing the issue. I am able to reproduce the issue on the master channel and it works fine on the stable channel. On the master channel, The first two characters are skipped when pressing the arrow keys
macOS output

master
stable

Windows output

master
stable

flutter doctor -v (macOS)
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.10.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (7 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 2.11.0-0.0.pre.555, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.555 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 06bf6a128d (30 hours ago), 2022-02-14 23:30:18 -0500
    • Engine revision 20bd78ca3e
    • Dart version 2.17.0 (build 2.17.0-105.0.dev)
    • DevTools version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • 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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

flutter doctor -v (windows)
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.10.1 at C:\flutter_sdk\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (6 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.10+0-b96-7249189)

[√] VS Code (version 1.64.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1526]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 97.0.1072.76

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[√] Flutter (Channel master, 2.11.0-0.0.pre.554, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.11.0-0.0.pre.554 at C:\flutter_sdk\master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 894ef49c7c (26 hours ago), 2022-02-14 22:15:17 -0500
    • Engine revision 8714a2448f
    • Dart version 2.17.0 (build 2.17.0-105.0.dev)
    • DevTools version 2.10.0

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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 11.0.10+0-b96-7249189)

[√] VS Code (version 1.64.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.34.0

[√] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.19044.1526]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 98.0.4758.102
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 97.0.1072.76

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Labeling the issue as a regression

Great, thanks for capturing the videos - a lot easier to understand!

/cc @justinmc @cbracken

Could https://github.com/flutter/flutter/issues/118403 be a new incident of this?

@gspencergoog I think they could be separate issues - here it's simple (albeit abused a bit) combining characters, #118403 is when text shaping (glyph substitution + positioning) kicks in.

Just as some quick analysis, the "Zalgo" string in the description is of length 50 but contains 5 characters.  The arrow keys correctly traverse the string in 5 key presses, but the cursor never appears visually between the first and second characters as noted above.
Screencast from 2023-01-20 16-38-08.webm
Here's the code that decides where to put the selection when the left arrow key is pressed (and trailing just below for the right arrow):
https://github.com/flutter/flutter/blob/1cdaf9e338412013edafc4b5310100ec6a496ad5/packages/flutter/lib/src/services/text_boundary.dart#L74
That appears to be working correctly at first glance.  I wonder if the problem is drawing the cursor in the incorrect visual place given a correct TextSelection?

This turned out to have the same cause as #118403 after all, as well as #50563; I've just sent a fix as #122480. It also turns out to be purely within the framework.


JavaLangThrowable should be mapped to NSException

In order to catch all exceptions in java we catch Throwable. In iOS we catch NSException.
When developing for a common code base and wanting to catch all exceptions is both environments we should map the translation for JavaLangThrowable to NSException, the same as mapping String to NSString or Number to NSNumber.
As discussed here https://groups.google.com/forum/#!topic/j2objc-discuss/svseZqKrdfE

I have a patch that should land early next week -- it's complicated by references to JavaLangThrowable in Objective C source files that don't #include java/lang/Throwable.h.

This is fixed in 1.0.1


Type interfaces from useNuxtApp are not properly resolved in a mono repository with layers

Environment

Operating System: Darwin
Node Version:     v18.18.0
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
GitHub Reproduction
(Ensure you are on the chore/usenuxtapp-types branch)
Describe the bug
The type interface(s) for helpers provided via plugins are not properly resolved within a mono repository that also utilizes Nuxt Layers.

Steps to reproduce

Clone the linked reproduction
Install dependencies with pnpm install
Run prepare with pnpm -r prepare
Open the layers/core/components/HelloThere.vue file and notice that the $hello helper provided by layers/core/plugins/hello.ts does not infer its type.

In addition, manually declaring the types of the plugin also does not work as outlined by the docs (and shown below) without adding the additional interface shown in the middle.
Ideally, the types of the provide would be inferred/automatically generated.
declare module '#app' {
  interface NuxtApp {
    $hello (msg: string): string
  }
}

// This interface appears to be **required** for mono repo + layers support
declare module 'nuxt/app' {
  interface NuxtApp {
    $hello (msg: string): string
  }
}

declare module 'vue' {
  interface ComponentCustomProperties {
    $hello (msg: string): string
  }
}

export {}

Additional context
Even when external modules provide the proper interfaces (as seen here with nuxt-open-fetch) the interfaces for the global helpers are not properly resolved in the same repo setup.
Logs
No response

I got a little further on this, although still not sure of the root cause or if this is related or just seems related;I outlined more details here
If a Nuxt app extends a layer, only some of the paths from the layer's tsconfig.json are making it through to the app's resolved .nuxt/tsconfig.json file.

Closing as this appears to be resolved with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Is it possible to configure a docker instance of Cachet with admin account set up already

I just need a way to override the setup page in the beginning.

@djdefi could you look into this, please?

Duplicate of #264


🐛 [cloud_functions] (WEB) Firebase_functions INTERNAL error when making a call

Bug report
Describe the bug
When trying to make a call to any of my functions, I get an error saying firebase_functions Internal error. I am using the fruitList example given in the package description but even that does not work.
Steps to reproduce
Steps to reproduce the behavior:

Create a new flutter web project and configure firebase information.
Add <script src="https://www.gstatic.com/firebasejs/7.20.0/firebase-functions.js"></script> to index.html
Create your listFruit function per this example https://firebase.flutter.dev/docs/functions/usage, and run it in the simulator.
Call your function from within you project.
See error or incorrect behavior

Expected behavior
The data should be returned instead of getting the Internal error which gives no better description of what is going on.

Additional context
Mind you that I am not doing any other calls or computation from the function. Only returning a list with strings.
I have confirmed that the function gets called as I added a couple of console.logs to it, and the emulator console shows how the functions gets executed, but the Flutter web app does not receive any data and instead gets the error.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-US)
    • Flutter version 1.25.0-8.3.pre at /Users/josetapizquent/Projects/Tools/flutter
    • Framework revision 5d36f2e7f5 (6 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/josetapizquent/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141
    ! Error: TapPhone is not connected. Xcode will continue when TapPhone is connected. (code -13)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.0-133.7.beta
Flutter SDK 1.25.0-8.3.pre
my_vax_finder 1.0.0+1

dependencies:
- app_settings 4.0.4 [flutter]
- cloud_firestore 0.14.4 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cloud_functions 0.7.2 [meta flutter firebase_core firebase_core_platform_interface cloud_functions_platform_interface cloud_functions_web]
- cupertino_icons 1.0.0
- enum_to_string 1.0.14
- equatable 1.2.5 [collection meta]
- firebase_core 0.5.3 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_bloc 6.1.1 [flutter bloc provider]
- flutter_platform_widgets 0.72.0 [flutter]
- flutter_search_bar 2.1.0 [flutter meta]
- flutter_secure_storage 3.3.5 [meta flutter]
- geoflutterfire 2.2.1 [flutter cloud_firestore rxdart]
- geolocator 6.1.13 [flutter geolocator_platform_interface]
- google_maps_flutter 1.0.6 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_maps_flutter_web 0.1.0+8 [flutter flutter_web_plugins meta google_maps_flutter_platform_interface google_maps stream_transform sanitize_html]
- google_maps_webservice 0.0.19 [http meta]
- icay_shared 0.0.1 [flutter equatable uuid quiver]
- intl 0.16.1 [path]
- keyboard_actions 3.3.1+1 [flutter]
- rxdart 0.24.1
- share 0.6.5+4 [meta mime flutter]
- shared_preferences 0.5.12+4 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- url_strategy 0.1.1 [flutter_web_plugins]

dev dependencies:
- flutter_launcher_icons 0.8.1 [image args yaml path]
- flutter_native_splash 0.2.4 [yaml image xml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.5.0-nullsafety.3 [collection]
- bloc 6.1.1 [meta]
- boolean_selector 2.1.0-nullsafety.3 [source_span string_scanner]
- characters 1.1.0-nullsafety.5
- charcode 1.2.0-nullsafety.3
- clock 1.1.0-nullsafety.3
- cloud_firestore_platform_interface 2.2.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.1+2 [flutter flutter_web_plugins http_parser meta firebase_core firebase_core_web cloud_firestore_platform_interface js]
- cloud_functions_platform_interface 3.0.3 [flutter meta firebase_core plugin_platform_interface]
- cloud_functions_web 3.1.1 [firebase_core firebase_core_web cloud_functions_platform_interface flutter flutter_web_plugins http_parser meta js]
- collection 1.15.0-nullsafety.5
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- csslib 0.16.2 [source_span]
- fake_async 1.2.0-nullsafety.3 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase_core_platform_interface 2.1.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- geolocator_platform_interface 1.0.8 [flutter meta plugin_platform_interface vector_math]
- google_maps 3.4.5 [js_wrapping meta]
- google_maps_flutter_platform_interface 1.0.5 [flutter meta plugin_platform_interface stream_transform]
- html 0.14.0+4 [csslib source_span]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image 2.1.19 [archive xml meta]
- js 0.6.3-nullsafety.3
- js_wrapping 0.5.0
- matcher 0.12.10-nullsafety.3 [stack_trace]
- meta 1.3.0-nullsafety.6
- mime 0.9.7
- nested 0.0.4 [flutter]
- path 1.8.0-nullsafety.3
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- petitparser 3.1.0 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- process 3.0.13 [file intl meta path platform]
- provider 4.3.2+3 [collection flutter nested]
- quiver 2.1.5 [matcher meta]
- sanitize_html 1.4.1 [html meta]
- shared_preferences_linux 0.0.2+4 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+11 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+3 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.4 [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety.6 [path]
- stream_channel 2.1.0-nullsafety.3 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0-nullsafety.3 [charcode source_span]
- term_glyph 1.2.0-nullsafety.3
- test_api 0.2.19-nullsafety.6 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.5 [collection]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.5
- win32 1.7.4 [ffi]
- xdg_directories 0.1.2 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]

@tapizquent
I believe there's similar open issue describing your case, https://github.com/FirebaseExtended/flutterfire/issues/2558.
Please follow-up there for updates. I see you've already commented on that issue.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.

@tapizquent
I believe there's similar open issue describing your case, https://github.com/FirebaseExtended/flutterfire/issues/2558.
Please follow-up there for updates. I see you've already commented on that issue.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.


Comments breaks generated css

So after updating to 2.0.1 our active states on our styled react-router Links stopped working as intended. This seems to be cause by yet another (for us) issue with comments in the css.
Version
2.0.1 (worked in 2.0.0)
Reproduction
Tried reproducing this on webpackbin but haven't managed.
We also use the babel-plugin-styled-components to ease debugging.
Steps to reproduce
Not sure you can actually reproduce it as I couldn't in webpackbin. But this is a stripped down snippet of what we have thats causing issues for us.

const activeClassName = 'menu-option-active';

const Wrapper = styled(({ condition, children, ...props }) => (<Link {...props}>{children}</Link>)).attrs({
  activeClassName,
})`
  ...css...

  /** Comment */
  ${(props) => {
    let style;
    if (props.condition) {
      style = `.conditional-css {
          ...css...
       }`;
    }

    return style;
  }}

  &.${activeClassName} {
   ...css...
 }

Expected Behavior
With condition true:
.jvUGat { ...css... }
.jvUGat .conditional-css { ...css... }
.jvUGat.menu-option-active { ...css... }

With condition false:
.jvUGat { ...css... }
.jvUGat.menu-option-active { ...css... }

Actual Behavior
With condition true:
.jvUGat { ...css... }
.jvUGat   /** Comment */ .conditional-css { ...css... }
.jvUGat.menu-option-active { ...css... }

With condition false:
.jvUGat { ...css... }
.jvUGat /** Comment */&.menu-option-active { ...css... }

So especially in the case of the condition being false the generated CSS is getting weird. The comment cuts in between the generated name and even the & appears in the generated css.
Solution for us is easy to just remove the comment but figured I'll report having issues :)

cc @thysultan
In the meantime you can try the minify option on our babel plugin. It'll strip multiline comments, I think

Found another comment lingering and butchering generated CSS. Disabling the babel plugin seems to fix both issues or just disabling the minify ie ["styled-components", {             "minify": false           }] also fixes it.
So issue seems more related to the plugin.

@Flydiverny That's definitely interesting. I don't really see how this could be caused by an upgrade from v2 to v2.0.1 then :/

@philpl My only idea is if it could be related to that the plugin still uses stylis 2.x while styled-components was upgraded to stylis 3.x in 2.0.1 ? Tried downgrading to styled-components 2.0.0 and re-enabling minify but can't reproduce the issues there. The comments are removed as expected.

@Flydiverny we're not using stylis for the minification, only for experimental preprocessing

Upgrading to styled-components v2.0.1 also broke my styles with comments - the parser seemed to discard all styles after the comment. I'm not sure of root cause yet though.

Same, had to manually revert to 2.0.0. Would probably be best to revert the release until this has been fixed.

Can't tell if this is s-c or stylis related, @nfarina @didierfranc Do you have examples that can be tested... I use this for the [remove comments] test spec (https://github.com/thysultan/stylis.js/blob/master/tests/spec.js#L110)

This is speculative (upgrading to 2.0.1 now to test it) but my hunch is that it's related to commenting out actual lines of CSS including colons/semicolons.

OK, so this causes the bug:
  /* Line one */
  /* Line two */

Removing the 2nd comment line "fixes" it. So it seems to be related to two consecutive comments?

@nfarina What comes after /* Line two */?

Updated my comment above - will delete this one (for email)

Here's another example that breaks it right away (and in a different way - screws up the whole page layout):
const Track = styled.div`
  width: 46px;
  height: 26px;
  border: 1px solid black;
  /* // */
  background: red;
`;

This works with stylis @philpl stringifyRules.js#L21 this might be the source of this.

Are most people here forgetting to mention that they're using the babel plugin possibly?
If it's not stylis, the only thing that could cause this is the optional babel plugin for v2 and it's minify option which is enabled by default ;)
https://github.com/styled-components/babel-plugin-styled-components/blob/master/src/visitors/minify.js

Guilty as charged.

Ok, I'll try to patch the plugin with the cases you guys mentioned :)

@Flydiverny @nfarina @diondiondion Please test and review this PR. It now correctly strips all comments. If everything is working correct, or if you're experiencing bugs while testing it, please leave a comment there.
cc @thysultan


urlEncode() should only copy if necessary

Could allOf make use of a sorted input array of characters and use a binary search (i.e. using assumeSorted)? Otherwise I'd use a switch range statement or an AA instead for efficiency reasons. Also for efficiency, using str.representation.allOf is preferred to avoid unnecessary UTF decoding.

I changed it to a switch statement. Both DMD and LDC compile it into a lookup table.

Thanks, that should work.


[Remote Log Publishing ] Remote Log Publishing RC Based Testing

Is your suggestion a test requirement/change or improvement of the test framework? Please describe.
This issue is to track the RC release based on release testing on the Remote log publishing feature.
Scope

Configuring the server and connecting it with the console
Configuring the Audit log and testing the behavior.
Configuring the Audit log and testing the behavior.

Reported Issues

https://github.com/wso2/product-is/issues/18853

Optional Fields
Additional context
Related Issues:

Reported Issue Summary
L1 - Issues

https://github.com/wso2/product-is/issues/18853


Test if using smtp.gmail.com actually works

We need to setup 2FA for<EMAIL_ADDRESS>for this to work. Now who's phone are we going to use...

Tested it and it works very nicely, though it cannot work on local windows environments.
I just used my linux machine to test this, and in a production environment, we will most likely not use Windows.


Fix TorchInductor Dependency Issue

Request description
To get Torch Inductor working in SHARK, we need to reinstall torch using:
pip install numpy --pre torch[dynamo] --force-reinstall --extra-index-url https://download.pytorch.org/whl/nightly/cu117

And uncomment the line:
#frontend_model = torch.compile(frontend_model, mode="max-autotune", backend="inductor")

in shark/shark_benchmark_runner.py
This is needed because in order to satisfy the dependency requirements of torch-mlir, setup_venv.sh installs a version of torch and pytorch-triton that is out of date. We end up needing 2 virtual environments: 1 to run the PyTorch imports and another to benchmark with TorchInductor.
What component(s) does this issue relate to?
Other
Additional context
No response

Is this still an issue? Things on the PyTorch / SHARK side have changed quite a bit since this was filed (e.g. https://github.com/nod-ai/SHARK-Turbine).
If this related to https://github.com/openxla/iree/blob/main/.github/workflows/run_shark_tank.yml , that workflow hasn't been running for quite some time: https://github.com/openxla/iree/actions/workflows/run_shark_tank.yml

Closing stale issue. This should be tracked in another repo if it still needs work.


Add kafka logger

recap from our discussion

[ ] use producev and add timestamp
[ ] write a sharding function that takes a format string of logging properties and calculates the partition out of it
[ ] possibility to set the key by a format string
[ ] possibility to set the value by a format string

[ ] expose producer configs such as compression, retries, retry delay, batching

expose producer configs such as compression, retries, retry delay, batching

This already should works

And topics configs too

ok

filled https://github.com/edenhill/librdkafka/issues/934


Iphone simulator screen rotation

When I turn the iPhone simulator, sometimes the application is closed. if I do it many times it also closes this does not happen in the android simulator
A message appears that says :Lost connection to device ,in the terminal
What is the problem? help me please

Which IDE you are using?

Thank you for answering the question,   I am using  visual studio code and  (macOS  sierra)  so

This is a known issue with Visual code plugin. Check the below link:
https://github.com/flutter/flutter/issues/26945


Issue with www

Hello,
from last update the plugin only install the certificate on https://domain.com not https://www.domain.com not include the www for certificate. Are this ok ? or have missing something ? Are There any way to fix this issue ?
Regards
PS

The only I can get it to work is by adding
RewriteRule ^.well-known(.*)$ - [L,NC]
to the top of the .htaccess file

@hostfusion Will check it and let you know,

@Prajithp Thanks, i note that this issue happen in the cPanels accounts when install the certificate, although selections in the dialog box the domain with www only installs for the domain without www,  but if you install from whm manager work fine, install for all with o without www, for this i think the issue is with the cPanel manager. I hope this help.
Regards
PS

Hi @Prajithp do you have news ? :)
Regards
PS

@hostfusion @BeZazz Can you please check this and let me know?

@Prajithp Thanks, my first test its ok :) Fixed #87

Thanks @hostfusion for the confirmation


Move auth checks to the onEnter Route param

Rather than checking permissions after we've loaded the content.

Fixed in #63


test_state_dict[weight]=torch.cat(weights,0) input error

Inference-S.py
line 106  test_state_dict[weight]=torch.cat(weights,0)
TypeError: expected Tensor as element 0 in argument 0, but got str

replace weigths -> [state_dict[_] for _ in weights] ？

Dear Zhiyong,
Yes you are right, thank you for correcting.
Best wishes,
Jiayi Zhu
ZhiyongYang @.***> 于2023年7月15日周六 22:06写道：

replace weigths -> [state_dict[_] for _ in weights] ？
—
Reply to this email directly, view it on GitHub
https://github.com/PiggyJerry/DC-Net/issues/1#issuecomment-1636778430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZX52A6INSER4MTJAITWF4DXQKPXLANCNFSM6AAAAAA2LJ4MJE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Improve README

Fix wrong argument for .login()
Show how to change config (currency and user agent)

Pull Request Test Coverage Report for Build 72

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.449%

Totals

Change from base Build 51:
0.0%

Covered Lines:
307

Relevant Lines:
451

💛  - Coveralls


neovim-remote issues neovim v0.2.2.

I just updated to neovim v0.2.2 and I'm having some issues with neovim-remote. I'm using neovim-remote 1.8.10. Here's what I'm doing:
On one terminal I do NVIM_LISTEN_ADDRESS=/tmp/foo /usr/bin/nvim. Nvim starts fine and /tmp/foo is created. On another terminal I do nvr --servername /tmp/foo --remote-silent some-file and nothing happens.
If I change --remote-silent for --remote, it works ok.
Also, when the instance of nvim is editing an unsaved file and I try to open  another file from the second terminal as explained above, nothing happens. I used to get a nice error message explaining there was an unsaved buffer.

I have to admit that quite a bit workarounds were added lately. This issue you mention is a result of that.
I'm relentlessly refactoring at the moment and your issue will be fixed in the process.

The new version should be on PyPI later today. Thanks for the report!


Have Marshmallow devices in the device pool

For Marshmallow devices to work, the CI code needs to be updated to issue a command like:
adb shell pm grant <package name> android.permission.ACCESS_COARSE_LOCATION
after the app is installed.
Proposal is that since node thali09 is currently used for offline testing, that node would also be used to test this code change and eventually have 2 Marshmallow devices plugged into it and then the node could be enabled back in CI configuration.

@czyzm: After you have an environment where you can iterate on the CI code related to dealing with Android devices, you could also start thinking how this could be implemented. There was the one Nexus that already got upgraded to Marshmallow and if I remember right, there was another Nexus that is currently taken away that could be upgraded as well once this starts working.

This is a bug because until we fix it we can't test Marshmallow devices in CI and we need to do that.


Can't delete bookmarks

The "remove" button under "Edit" does not do anything for me, anybody else have this issue?

The remove button will only have an effect when you're editing an already existing bookmark. If you're creating a new bookmark and hit remove it'll simply exit the bookmark creation process.
Was this your problem?

No, I am unable to delete bookmarks when I long press on them, and hit delete.  I am trying to delete the defective bookmark gopher://gopher.floodgap.com/7/groundhog/us/zipcode, but it will not go away!  Thank you for your time.


⚠ Bofrost.ch has degraded performance

In 74e3409, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1123 ms

Resolved: Bofrost.ch performance has improved in 180fe67 after 6 minutes.


Add bandpass flagging and smoothing to field_options

Need to add the use_preflag and use_smooth to the FieldOptions class

Also add:
beam_cutoff: float = 150
"""Cutoff to use when calculating the common beam to convol to""
pb_cutoff: float = 0.05
"""Primary beam attentuation cutoff to use during linmos"""

Performed in #44 . Closing.