Add Pisces Hotspot

This is to add Pisces to the hotspot app. One thing needs changing is the onboarding ID in src/makers/pisces/index.ts .

We are very sorry because we submitted the wrong commit in a hurry, please merge the new commit again. Thanks, and sorry

@piscesminer can you tell me the name you want in the onboarding server and the number of asserts you'd like to pay for your customers? (minimum is 1).
A list of existing maker names: https://onboarding.dewi.org/api/v2/makers

@piscesminer can you tell me the name you want in the onboarding server and the number of asserts you'd like to pay for your customers? (minimum is 1).
A list of existing maker names: https://onboarding.dewi.org/api/v2/makers

Thanks.
{
"name": "Pisces Miner",
"locationNonceLimit": 1,
}
We think so.
The name is "Pisces Miner"
And using the minimum.  👍

FYI, we need you to update the maker ID, we can't commit the change.

FYI, we need you to update the maker ID, we can't commit the change.

Hi,we update the maker ID. It is okay?

FYI, we need you to update the maker ID, we can't commit the change.

Hi,we update out maker ID . It's okay?


Fixes #213

Seems to fix the problem in copyUniqueArray.
I think the problem was with here, making the array bigger:
https://github.com/granule-project/granule/blob/dev-minor/runtime/src/Language/Granule/Runtime.hs#L250-L274

Sorry ignore this.


[hotfix][docs] Format repair

What is the purpose of the change

Fix document format

Brief change log

format repair

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, + ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

1.13 is no longer maintained.


fix(stable/mysql): enlarge truncate to 63 and add trimSuffix

Enlarge truncate to 63 characters and add the trimSuffix function.

Thanks @Rio! Closing in favor of #456 which includes this fix.


Identity Model dual targets net8.0 and net 9.0

What issue does this PR address?
Prepares IdentityModel for .NET9
Important: Any code or remarks in your Pull Request are under the following terms:
If You provide us with any comments, bug reports, feedback, enhancements, or modifications proposed or suggested by You for the Software, such Feedback is provided on a non-confidential basis (notwithstanding any notice to the contrary You may include in any accompanying communication), and Licensor shall have the right to use such Feedback at its discretion, including, but not limited to the incorporation of such suggested changes into the Software. You hereby grant Licensor a perpetual, irrevocable, transferable, sublicensable, nonexclusive license under all rights necessary to incorporate and use your Feedback for any purpose, including to make and sell any products and services.
(see our license, section 7)

Why do we need this?

PR will be redone

General .NET 9 support
IdentityModel tests only will include targeting .NET 9.


scripts/genproto.sh: doesn't work from etcd in GOPATH

Running ./scripts/genproto.sh from an etcd checkout in the GOPATH breaks because it expects to be copying files from the GOPATH version to the assumed current version. We really need to figure out a better way of doing this.

hmm? I don't understand this issue, can you elaborate? in what circumstances does the script break? it sets GOPATH...

@jonboulle here is what happens:
$ ./scripts/genproto.sh
~/src/github.com/coreos/etcd/gopath/src/github.com/gogo/protobuf ~/src/github.com/coreos/etcd
HEAD is now at 932b70a fixed bug where big uint64s wrap to negative numbers when cast to int
go install ./proto
go install ./gogoproto
go install ./jsonpb
go install ./protoc-gen-gogo
go install ./protoc-gen-gofast
go install ./protoc-gen-gogofast
go install ./protoc-gen-gogofaster
go install ./protoc-gen-gogoslick
go install ./fieldpath/fieldpath-gen
go install ./fieldpath
go install ./pbpath
go install ./protoc-gen-gogo/version/protoc-min-version
go install ./protoc-gen-gogo/protoc-gen-combo
~/src/github.com/coreos/etcd
~/src/github.com/coreos/etcd/wal/walpb ~/src/github.com/coreos/etcd
cp: /Users/philips/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/./wal/walpb/record.proto and record.proto are identical (not copied).

ecantreproduce :-(

@jonboulle You need first do ./build, then you will have gopath under etcd. Then you should not remove that generated gopath. Then you do ./script/generate.sh. I can reproduce on os x.


 The problem is when you install go get outside of the go folder it will download the latest version of urfave/cli which is v2 but the v1 is what we want so we need to change github.com to gopkg.in . The temporary solution now is go to go folder and manually install with git clone

Thank you, this worked. The latest working version of urfave/cli supporting current gopass code is v1.19.1. Here are the steps that you mentioned (in case anyone needs guidance):
cd $GOPATH/src/github.com/    # $GOPATH is by default your home directory
mkdir urfave && cd urfave
git clone https://github.com/urfave/cli
cd cli
git checkout v1.19.1

I'll try to provide a fix later, leaving this issue open for now

I am new to golang, and I am wondering what is wrong. The specified version in go.mod should be correct:
https://github.com/gopasspw/gopass/blob/443198d9662ed9f03e4f8c250d9e3c31c8c46dc3/go.mod#L51
Could you please instruct me how to fix the issue ?

I am new to golang, and I am wondering what is wrong. The specified version in go.mod should be correct:
https://github.com/gopasspw/gopass/blob/443198d9662ed9f03e4f8c250d9e3c31c8c46dc3/go.mod#L51
Could you please instruct me how to fix the issue ?

 So without the go.mod to tell which version it default behavior is to get the latest and greatest version which is v2 but it is not compatible with v1.
So the solution is just manually install gopass to the GOPATH folder and then manually run go get in that folder (that is a temporary solution until they accept my pull request so that it will read v1 regardless of the location you install from

I am new to golang, and I am wondering what is wrong. The specified version in go.mod should be correct:
https://github.com/gopasspw/gopass/blob/443198d9662ed9f03e4f8c250d9e3c31c8c46dc3/go.mod#L51
Could you please instruct me how to fix the issue ?

 Because when you run go get outside the gopass folder, it doesn’t have the go.mod file, which tell go the version it suppose to get. So without the go.mod to tell which version it default behavior is to get the latest and greatest version which is v2 but it is not compatible with v1.
 Thank you for your explanation! I'll be closing this issue then


VisualDebugger bug when components are added on entity creation

If you add a component to an entity on an OnEntityCreated event,
line 34 of the PoolObserverInspector will throw an exception whenever you use the CreateEntity button of the visual debugger.
At the time this line of code is executed, the name of GameObject that is associated is not yet updated to contain the added component, causing a failure on
Object.FindObjectsOfType<EntityBehaviour>().Single(eb => eb.name == entity.ToString());.
The setup I use:
public class MySystem : IInitializeSystem {
  ...
  public void Initialize() {
    pool.OnEntityCreated += AddComponent;
  }

  //what I would like to do
  public void AddComponent(Pool pool, Entity entity) {
    entity.AddMyComponent(someValue);
  }

  //temporary fix: force the gameObject to update it's name
  public void AddComponent(Pool pool, Entity entity) {
#if (UNITY_EDITOR)
    var entityBehaviour = GameObject.FindObjectsOfType<EntityBehaviour>()
     .Single(eb => eb.name == entity.ToString());
#endif
    entity.AddMyComponent(someValue);
#if (UNITY_EDITOR)
    entityBehaviour.gameObject.name = entity.ToString();
#endif
  }
  ...
}

A related issue: if you have multiple pools, then you can end up with multiple entities with the same name, which also causes an exception on the same line of code.

Oh, ok, Thanks, I'll take a look

Hey! It's fixed now, thanks for pointing it out. Will be in the next release! Happy coding :)


eapictl fails because of paramiko.ssh_exception.BadAuthenticationType

$ eapictl status spine1
Traceback (most recent call last):
  File "/usr/local/bin/eapictl", line 9, in
    load_entry_point('eapictl==0.1.0', 'console_scripts', 'eapictl')()
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 462, in main
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 139, in __init__
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 99, in connect_ssh
  File "build/bdist.macosx-10.10-intel/egg/paramiko/client.py", line 307, in connect
  File "build/bdist.macosx-10.10-intel/egg/paramiko/client.py", line 519, in _auth
paramiko.ssh_exception.BadAuthenticationType: ('Bad authentication type', [u'publickey', u'keyboard-interactive']) (allowed_types=[u'publickey', u'keyboard-interactive'])

$ eapictl status spine1 --username admin --password admin
Traceback (most recent call last):
  File "/usr/local/bin/eapictl", line 9, in
    load_entry_point('eapictl==0.1.0', 'console_scripts', 'eapictl')()
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 485, in main
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 203, in status
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 173, in send_enable
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 169, in sendall
  File "build/bdist.macosx-10.10-intel/egg/eapictl/app.py", line 162, in send
IOError: Socket timeout for host spine1
$
But this works:

% ssh admin@spine1
Password:
Last login: Tue Apr 14 18:06:55 2015 from <IP_ADDRESS>
veos-dc1-pod1-spine1>

I am having the same issue as well. I could ping the switch and ssh into it. I have no password set.

@sugetha24 I ping the switch  ,but it says the same issue .Can you help me ?

@Josen15 are you also attempting to connect with no password?  If so, can you try with a user that does have a password?

@sugetha24 Paramiko does not support keyboard-interactive login without a password.
https://github.com/paramiko/paramiko/blob/6830a905cc38261d9e4054b87294959dac6a1b5c/paramiko/client.py#L489-L501
https://github.com/paramiko/paramiko/blob/6830a905cc38261d9e4054b87294959dac6a1b5c/paramiko/client.py#L607-L612


allow passing display name for createAsset command

for https://github.com/microsoft/vscode-makecode/pull/116, make this work:

I'm gonna port this over to the stable branch real quick so we can sneak it into this hotfix for testing tomorrow / it doesn't change anything if the value is just not passed anyways so pretty safe

Oh, I'll just merge this as it already got reviewed in the stable branch and released to live / don't want to forget this one and have vscode extension break next release :)


xeve: 0.4.3 -> 0.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for xeve is: eXtra-fast Essential Video Encoder, MPEG-5 EVC
meta.homepage for xeve is: https://github.com/mpeg5/xeve
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.5.0 in filename of file in /nix/store/kzmfw1f9fzp8miyzhmcapahpjxdhn67q-xeve-0.5.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

ffmpeg_7-full
xeve

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kzmfw1f9fzp8miyzhmcapahpjxdhn67q-xeve-0.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A xeve https://github.com/r-ryantm/nixpkgs/archive/4a43776f8252750d194037a927276bc0713bbf01.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4a43776f8252750d194037a927276bc0713bbf01#xeve

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kzmfw1f9fzp8miyzhmcapahpjxdhn67q-xeve-0.5.0
ls -la /nix/store/kzmfw1f9fzp8miyzhmcapahpjxdhn67q-xeve-0.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

10 packages built:

ffmpeg_7-full
ffmpeg_7-full.bin
ffmpeg_7-full.data
ffmpeg_7-full.dev
ffmpeg_7-full.doc
ffmpeg_7-full.lib
ffmpeg_7-full.man
xeve
xeve.dev
xeve.lib

Maintainer pings
cc @jopejoe1 for testing.

@NixOS/nixpkgs-merge-bot merge


Refactor stores

This is for #109
/hold

/cancel hold

rebased (effectively) to master, @zhilingc @pradithya can you re-review?

/hold cancel

/approve
Looks good, thanks!
One minor comment - is there a better package name than logging for the stdout/stderr error logging?

/approve
Looks good, thanks!
One minor comment - is there a better package name than logging for the stdout/stderr error logging?

any suggestions?

/lgtm


Bevy 0.12

Bumped versions of all the dependencies and it seems to work!
Unsure how you want the version bumped so didn't do it yet.

Thanks! The minor version should be bumped in Cargo.toml and the table in the readme.

Thanks again! I'll try to get a release out within a day or two


Redirecting from organism analysis page to workflow landing page in Galaxy

Now that we have a set of BRC-specific workflows that can be used on VEuPathDb genomes we can enable link outs from an organism page.
What needs to happen

Suppose a user is on this page: https://brc-analytics.org/data/organisms/GCA_000002765_3
The user clicks on "Regulation" workflow "Analyze" button (corresponding to https://galaxyproject.github.io/iwc/workflow/a2f66906-e9e3-42f9-8629-390017ed2db0)
This get the user to https://test.galaxyproject.org/ workflow langing page
The reference genome drop-down of this workflow is pre-filled with

How to construct the redirect
@mvdbeek - please, fiil in here

❯ curl 'https://test.galaxyproject.org/api/workflow_landings' \
  -H 'Content-Type: application/json' \
  --data-raw '{"workflow_id":"https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/chipseq-pe/main/versions/v0.12","workflow_target_type":"trs_url","request_state": {"reference_genome":"mm10"}}'
{"uuid":"5d6eceda-4593-4cc0-ba16-da6b810deb10","workflow_id":"https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/chipseq-pe/main/versions/v0.12","workflow_target_type":"trs_url","request_state":{"reference_genome":"mm10"},"state":"unclaimed"}

is an example request response pair. Then redirect the user to https://test.galaxyproject.org/workflow_landings/5d6eceda-4593-4cc0-ba16-da6b810deb10.
Note that the API will likely change to include a mandatory public argument in the payload, for brc purposes that should be true.
For this particular workflow "reference_genome": "mm10" is the key value pair that specifies the genome. The value can be any of the GCA_* accessions. The key that specifies the reference genome is going to be workflow specific and, as is the workflow id, so we'll need to have a list of workflows.

Super, thanks.
Do we have any other workflow name to workflow_target_type pairs? e.g.
Regulation, https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/chipseq-pe/main/versions/v0.12
Cheers,
D

Super, thanks.
Do we have any other workflow name to workflow_target_type pairs? e.g.
Regulation, https://dockstore.org/api/ga4gh/trs/v2/tools/#workflow/github.com/iwc-workflows/chipseq-pe/main/versions/v0.12
Cheers, D

You mean do we have more workflows? Yes. I'm checking them one by one. Will probably take me whole weekend.

No worries and thanks...
D

workflow_target_type is always trs_url, the categories should probably be listed by hand or be taken from https://dockstore.org/organizations/iwc

@nekrut, would you like to provide a short paragraph of 1-2 sentences explaining how these workflows are a "preview" and run on test and what will happen once the previews are live on prod?
General instructions on the flow to run a workflow would also be helpful. e.g.

Select your Analysis type.
You will be directed to a test instance to preview the workflow.
Login with your Gmail or Google Workplace backed email address.
Login and...

We can put a simple guide on the site as well with markdown/images in a "Help and Docs" section. We can create a second ticket for that.
A 3rd sentence would be helpful to explain what the non-clickable workflows are, e.g., "The following workflows are under development and will be available soon." or similar.

@hunterckx lets also

Divide up the workflows into two sections: Preview and Coming Soon.
For the coming soon use the original text box on the top as the first element.
I will work with Anton to get text for the top of the preview section...

Complete! Thx!


iOS and Android bonding issues

Hello,
I am currently developing an app for ESP32 using NimBLE, that will pair and bond with an Android and iOS application. I am using "just works" pairing method.
I have some problems with bonding, especially on iOS, where I receive the Error: Peer removed pairing information message. It will only pair again if I forget the device from the Bluetooth settings. I know that iOS uses RPA addresses and I have configured the board to resolve RPA addresses as detailed here, but it does not seem to work. Every time the iPhone changes its address, the bonding is no longer detected and the error appears.
With random addresses disabled on ESP32, there are problems with bonding persistence on Android also, but it appears only occasionally on Android devices. With random addresses enabled, the connection will no longer work on this OS.
I have already posted related questions on the ESP-IDF forum, but I had no aswers (here and here)
The current nimble-idf branch is nimble-1.3.0-idf and the latest commit  hash is 5bb7b40. I can provide any extra information you might need.
Any suggestion would be very helpful.
Thank you,
Florin

Another problem is that some phones are not able to detect the ESP32 with RPA resolution active, while advertising. The solution is to disable and then reenable the Bluetooth on the phone regularly. Any ideas on this regard?

I'm not sure to your exact setup on how your handling your side. But I have been dealing with iOS bonding issues for awhile and can relate. So in general as a PSA because I see a lot of issues here relating to bonding/rpa and it took me awhile to get it going, I'll go over the jist of whats needed.
If you take a look at the bleprph example, that uses a store template to save the irk/ltk/csrk of the central and has the ESP in an NRPA configuration if random is set, for the ESP in RPA mode the "ble_hs_pvcy.h" details the steps for handling RPA on the ESP side. Using both the store template and the "ble_hs_pvcy.h" steps this will handle RPA-RPA connections well.
So I would check that you're setting the store template as described in the bleprph example as well as following the steps in the ble_hs_pvcy if you are setting your own device to RPA.
In general for RPA-RPA
I would setup your sync as follows:
    ble_hs_pvcy_rpa_config(true);
    rc = ble_hs_util_ensure_addr(1);
    assert(rc == 0);

    /* Figure out address to use while advertising (no privacy for now) */
    rc = ble_hs_id_infer_auto(1, &own_addr_type);
    if (rc != 0) {
        MODLOG_DFLT(ERROR, "error determining address type; rc=%d\n", rc);
        return;
    }

*Side note I've seen reference here that _infer_auto is unnecesary but this works for me so idk.
Configure your ble_hs_config ensuring it has the store and key dists if you're in RPA mode on ESP
    ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
    ble_hs_cfg.sm_io_cap = BLE_SM_IO_CAP_DISP_ONLY;
    ble_hs_cfg.sm_bonding = 1;
    ble_hs_cfg.sm_mitm = 1;
    ble_hs_cfg.sm_sc = 1;
    ble_hs_cfg.sm_our_key_dist = 1 | BLE_SM_PAIR_KEY_DIST_ID;
    ble_hs_cfg.sm_their_key_dist = 1 | BLE_SM_PAIR_KEY_DIST_ID;

And define and call your template as described in the example
    /* Define template prototype for store*/
    void ble_store_config_init(void);

    /* XXX Need to have template for store */
    ble_store_config_init();

I hope this helps in anyway, just for reference this also worked for me on release/v5.0 of esp-idf
Best Regards,
Stoop

Hello, I have done the same procedure as you have mentioned keeping, own_addr_type = BLE_ADDR_RANDOM.
I have also added store template ble_store_config_init(); but the function is empty do we have write some code in it to store the IRK keys?.
During debugging i found that RPA-NRPA error message was printed and it said to scan and connect again.

I'm not sure to your exact setup on how your handling your side. But I have been dealing with iOS bonding issues for awhile and can relate. So in general as a PSA because I see a lot of issues here relating to bonding/rpa and it took me awhile to get it going, I'll go over the jist of whats needed.
If you take a look at the bleprph example, that uses a store template to save the irk/ltk/csrk of the connection and has the ESP in an NRPA configuration if random is set, for the ESP in RPA mode the "ble_hs_pvcy.h" details the steps for handling RPA on the ESP side. Using both the store template and the "ble_hs_pvcy.h" steps this will handle RPA-RPA connections well.
So I would check that you're setting the store template as described in the bleprph example as well as following the steps in the ble_hs_pvcy if you are setting your own device to RPA.
In general for RPA-RPA
I would setup your sync as follows:
    ble_hs_pvcy_rpa_config(true);
    rc = ble_hs_util_ensure_addr(1);
    assert(rc == 0);

    /* Figure out address to use while advertising (no privacy for now) */
    rc = ble_hs_id_infer_auto(1, &own_addr_type);
    if (rc != 0) {
        MODLOG_DFLT(ERROR, "error determining address type; rc=%d\n", rc);
        return;
    }

*Side note I've seen reference here that _infer_auto is unnecesary but this works for me so idk.
Configure your ble_hs_config ensuring it has the store and key dists if you're in RPA mode on ESP
    ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
    ble_hs_cfg.sm_io_cap = <Your IO Cap>;
    ble_hs_cfg.sm_bonding = 1;
    ble_hs_cfg.sm_mitm = 1;
    ble_hs_cfg.sm_sc = 1;
    ble_hs_cfg.sm_our_key_dist = 1 | BLE_SM_PAIR_KEY_DIST_ID;
    ble_hs_cfg.sm_their_key_dist = 1 | BLE_SM_PAIR_KEY_DIST_ID;

And define and call your template as described in the example
    /* Define template prototype for store*/
    void ble_store_config_init(void);

    /* XXX Need to have template for store */
    ble_store_config_init();

I hope this helps in anyway, just for reference this also worked for me on release/v5.0 of esp-idf
Side note for anyone interested in setting/configuring their own IRK/LTK/CSRK's and not using the standard default credit here This ports cleanly into esp-nimble, though it does require overriding the bt component which may not be desired
Best Regards, Stoop

Please let me know what should be own_addr_type ? BLE_OWN_ADDR_RANDOM or BLE_ADDR_RANDOM.
I've tried to use your method and I'm noticing that peer records are not getting stored as per my logs. Device is getting added in resolved list but records are not being stored. I have erased flash and tried to program it again still failure.

Hello @flonas955 @SlightlyStoopid
I am using ESP-IDF 5.1.1 and nimble. I have enabled host based privacy for Random address. Despite following all the steps mentioned in the thread. I'm still facing the same issue.
I have configured nimble for below settings as follows -
Maximum number of concurrent connects = 1
Maximum number of bonds to save across boots = 1
Maximum number of CCC descriptors to save across reboots = 12
Host based privacy for random address = enabled
BLE MAX connections = 3
`/* Initialize the NimBLE host configuration. */
ble_hs_cfg.reset_cb = ble_app_on_reset;
ble_hs_cfg.sync_cb = ble_app_on_sync;
ble_hs_cfg.gatts_register_cb = gatt_svr_register_cb;
ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
ble_hs_cfg.sm_io_cap         = BLE_SM_IO_CAP_DISP_ONLY;
ble_hs_cfg.sm_bonding        = 1;
ble_hs_cfg.sm_sc             = 1;
ble_hs_cfg.sm_our_key_dist   = 1;
ble_hs_cfg.sm_their_key_dist = 1;
ble_hs_cfg.sm_mitm           = 1;
ble_hs_cfg.sm_our_key_dist = BLE_SM_PAIR_KEY_DIST_ENC | BLE_SM_PAIR_KEY_DIST_ID;
ble_hs_cfg.sm_their_key_dist = BLE_SM_PAIR_KEY_DIST_ENC | BLE_SM_PAIR_KEY_DIST_ID;

ble_svc_gap_device_name_set(device_id);           // 1 - Initialize NimBLE configuration - server name
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_DEFAULT, ESP_PWR_LVL_N12);
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_N12);
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_SCAN ,ESP_PWR_LVL_N12);
ble_svc_gap_init();                        // 2 - Initialize NimBLE configuration - gap service
ble_svc_gatt_init();                       // 3 - Initialize NimBLE configuration - gatt service
ble_svc_ans_init();
ble_gatts_count_cfg(gatt_svcs);            // 4 - Initialize NimBLE configuration - config gatt services
ble_gatts_add_svcs(gatt_svcs);             // 5 - Initialize NimBLE configuration - queues gatt services.

/* XXX Need to have template for store */
ble_store_config_init();`

`void ble_app_on_sync(void)
{
int rc;
ble_hs_pvcy_rpa_config(true);
rc = ble_hs_util_ensure_addr(1);
assert(rc == 0);
/* Figure out address to use while advertising (no privacy for now) /
rc = ble_hs_id_infer_auto(1, &ble_addr_type);
if (rc != 0) {
MODLOG_DFLT(ERROR, "error determining address type; rc=%d\n", rc);
return;
}
/ Printing ADDR */
uint8_t addr_val[6] = {0};
rc = ble_hs_id_copy_addr(ble_addr_type, addr_val, NULL);
MODLOG_DFLT(INFO, "Device Address: ");
print_addr(addr_val);
MODLOG_DFLT(INFO, "\n");
/* Begin advertising by pressing pairing button */

}`
Please help me out.

Hi @veneno-529   , can you please share the chip being used AND please help share debug enabled logs .

Hi @rahult-github any update regarding the issue?


xmlschema-walker: don't NPE on typeless attributes

https://issues.apache.org/jira/browse/XMLSCHEMA-42

xmlschema-walker is no longer a dependency.


ModuleNotFoundError: No module named 'checkov'

I am getting this error:
Traceback (most recent call last):
  File "C:\Users\wallucep\AppData\Local\Programs\Python\Python310\Scripts\checkov.cmd", line 50, in <module>
    from checkov.main import run
ModuleNotFoundError: No module named 'checkov'

Please note that checkov is installed and working, but not through pre-commit

As a moderator of one of the Python chats, I can suggest you use WSL, to avoid many problems related to Windows.
None of us use cmd/PowerShell as a work command line. But you can wait if someone from the community to help you, so I don't close this issue immediately.

https://gist.github.com/etiennejeanneaurevolve/1ed387dc73c5d4cb53ab313049587d09


Unable to discover any tests

I'm experimenting with F#/Expecto and using Visual Studio as my IDE. I've created a test project that references Expecto and Expecto.VisualStudio.Adapter. It has a test case defined in it, but Visual Studio's test runner fails to pick it up.
The test project contains these files:
MyCompany.Message.FSharp.Tests.fsproj
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <IsPackable>false</IsPackable>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Tests.fs" />
    <Compile Include="Program.fs" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Expecto" Version="7.0.0" />
    <PackageReference Include="Expecto.VisualStudio.TestAdapter" Version="8.0.0" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.6.2" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\src\MyCompany.Message.FSharp\MyCompany.Message.FSharp.fsproj" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Update="FSharp.Core" Version="4.3.4" />
  </ItemGroup>
</Project>

Tests.fs
module Tests

open MyCompany.Message
open Expecto

[<Tests>]
let tests =
    testCase "message should return size of payload in bytes" <| fun () ->
        let message = create 0x1 [1uy; 2uy; 3uy]
        Expect.equal 3 (size message) "unexpected message size"

Program.fs
module Program = let [<EntryPoint>] main _ = 0

Environment

Windows 10 1709
dotnet v2.1.103
Visual Studio 15.6.4

I am having a discovery problem in one of my solutions, but not the other. The difference I can see between the two is the failing solution has net461 projects.
Both solutions:
VS 15.6.7
Expecto 7.0.1
Expecto.VisualStudio.TestAdapter 8.0.0 version_in_path: true
This solution discovers tests successfuly:
-root
-Solution.sln
-packages/
-src/Project1/Project1.proj
-src/Project1/bin/Debug/net45
-src/Project1/bin/Debug/net47/Project1.dll
-src/Project1/bin/Debug/netstandard2.0
-src/Project2/Project2.proj
-src/Project2/bin/Debug/net45
-src/Project2/bin/Debug/net47
-src/Project2/bin/Debug/net47/Project2.dll
-src/Project2/bin/Debug/netstandard2.0
-tests/Test1/TestProj1.proj
-tests/Test1/bin/Debug/net47/TestProj1.exe
-tests/Test2/TestProj2.proj
-tests/Test2/bin/Debug/net47/TestProj2.exe
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
This solution does not discover tests:
[5/6/2018 9:54:10 AM Informational] ------ Discover test started ------
[5/6/2018 9:54:11 AM Informational] ========== Discover test finished: 0 found (0:00:01.2701232) ==========
-root
-Solution.sln
-packages/
-src/Project1/Project1.proj
-src/Project1/bin/Debug/net461/Project1.dll
...many other projects
-tests/Test1/TestProj1.proj
-tests/Test1/bin/Debug/net461/TestProj1.exe

@TAGC sorry for a late response! .Net core is not supported in expecto.adapter. If you want to use Expecto adapter which works under .net core check this adapter also there is an easy option to create a test project (via dotnet new) which contains all packages which give you an ability of running Expecto tests by dotnet test here
@jackfoxy I think your problem is a little bit different, tests are not discovered at all, or only discover for .net framework related projects?

@MNie Tests are not discovered in the solution that only has net461 projects.
Tests ARE DISCOVERED in solutions that have netstandard2.0 among the targets, and the test projects themselves are net47. I'm not saying this is significant. That is just the environment information I am reporting.

@jackfoxy roger that I will take a look at this in a free time. I will also create an issue to add support to a .net core in an adapter.

If you ever want to give me some pointers on setting up an adapter test environment, I may be able to file more informative issue reports, or even PRs.

@MNie  Here's a commit that replicates the problem:
https://github.com/fsprojects/FSharpx.Collections/commit/e5a93c7176183fcfb8ca8bc71c2fa278a53c5814
Visual Studio 15.7.2
TestAdapter 9.0.0
Is it having issues with multi-targeted projects and/or net461?
No test is available in E:\GitRepos\FSharpx.Collections\docs\content\csharp\bin\Debug\csharp.exe
E:\GitRepos\FSharpx.Collections\src\FSharpx.Collections.Experimental\bin\Debug\net461\FSharpx.Collections.Experimental.dll
E:\GitRepos\FSharpx.Collections\src\FSharpx.Collections\bin\Debug\net461\FSharpx.Collections.dll
E:\GitRepos\FSharpx.Collections\tests\FSharpx.Collections.Experimental.Tests\bin\Debug\net47\FSharpx.Collections.Experimental.Tests.exe
E:\GitRepos\FSharpx.Collections\tests\FSharpx.Collections.Tests\bin\Debug\net47\FSharpx.Collections.Tests.exe.
Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

My BIG mistake here. For some projects I have test adapter in the paket.dependencies file, but not in the paket.referenes file of the unit test project. So not a problem for me after fixing that.
I don't know if @TAGC still has a problem.
From my perspective @MNie this can be closed.

@jackfoxy great to hear!
for @TAGC there is a separate issue for a support to .net core.


Model hangs on eval

Hi! I'm running an enc-dec transformer with ROPE in the first self-attention layer of the encoder and decoder. I'm noticing that in the eval stage of my model, it hangs until my job times out after about 7 epochs; when running without this package, i.e. standard learnable positional encoding or shaw-style relative postion encoding, I do not notice this behavior. Are there any obvious places in this package that might lead to a memory leak or similar (i.e. does the register_buffer play nice with with_no_grad()?)

I'm wondering if this issue may be related: https://github.com/pytorch/pytorch/issues/20275

hey Garrett at Madison! beautiful city, still have fond memories of it (worked at Epic Systems for a year right out of college)
yup, i think i may have an idea of what's wrong, will throw in a fix in an hour

@GarrettMerz basically i'm incorrectly caching by the sequence length, but it should cache the longest sequence length and slice out any subsequent calls with shorter ones

Updating this with results: this largely seems to fix things. I still see hanging behavior in cases where max output length is large and the model does not produce an EOS token before hitting the max length- i.e., if it gets stuck outputting something nonsensical like "++++++++++...", which may happen in early epochs: this length is then cached, which causes ROPE to slow down a lot- but capping the max output length at a reasonable size generally seems to mitigate this, which is a good enough fix for now.

@GarrettMerz sounds good, as long as it does not hang anymore
best with your research and life out in the midwest

May need to reopen this, it seems that things are still hanging! I'm going to try to investigate more to figure out when specifically it might be happening- I'm going to use the relative position encoding in the encoder only (not the decoder) and see if that helps at all.

hmm, yea, i'll wait for more info from your end
you are the only one reporting this

@GarrettMerz could you try turning off cache altogether? https://github.com/lucidrains/rotary-embedding-torch/blob/main/rotary_embedding_torch/rotary_embedding_torch.py#L82 just to confirm that it is indeed caused by the freqs caching and not something on your end?

Hi, I was also encountering this issue with the latest commit (v0.5.3). On my end, I can confirm that this is caused by caching. Setting cache_if_possible=False worked for me.

I still seem to be encountering this issue in some cases- I'm investigating more to confirm it's not an implementation problem.

I'm seeing consistent hangs with 8-gpu accelerate based DDP.
Hangs on NCCL comms after the first step if I'm using 3+ gpus.
My sequence lengths are both different per step and per accelerator.
No issue if cache is disabled, or with 2 gpus, or if I use a fixed sequence length.

@lunixbochs I see! thank you for this info
I'll try a way of standardizing the cache to same tensor shape across devices and ping you to give it a try when it is done

the rope cache in fairseq seems to work fine: https://github.com/facebookresearch/fairseq/blob/920a548ca770fb1a951f7f4289b4d3a0c1bc226f/fairseq/modules/rotary_positional_embedding.py#L28

@lunixbochs sounds good, I'll take a look only if I can't figure it out

@lunixbochs want to try 0.8.1 and see if it resolves your issue?

just updated, not hanging for me anymore. thanks!

if you see anything wrong with the loss curve, let me know, made some risky changes


Improved error handling with nonexistent ini values

Used boost::optional and ptree::get_optional to get values more elegantly and return NULL if value does not exist.  This patch fixes issue #5.

Should be good.  Waiting for confirmation.

Cool story bro.


What about a gui-scoop 😀

I've started freestyling a bit and made a gui desktop app, just to test things out made with Flutter...
Feel free to check it out

I am not using an API, I am just running terminal commands, extracting, transforming and loading data from it.
This is for fun purpose, If you guys like it feel free to contribute or poke me up 💯

Oh there are some existing scoop gui's :o


How to BreakDown The Resultset?

I was confused to breakdown the resultset, i have been using cursor but it still error.
this my first code, it said

TweepError: [{'code': 214, 'message': 'invalid cursor'}]

query1 = tweepy.Cursor(api.list_direct_messages).items()
dms = [status for status in query1]
dms
and this is my second tried, it was saying

This method does not perform pagination

query1 = tweepy.Cursor(api.list_direct_messages()).items()
dms = [status for status in query1]
dms
please help me, i'd confused....

The first set of code is the correct way to go about this.
However, there was a bug with using a cursor with API.list_direct_messages. See #1261.
This should be fixed with #1262 in the master branch.
In the future, please make sure you're using the latest development version when reporting issues.
Otherwise, you'll have to wait until Tweepy v3.9 is released with the fix.
For code block usage, see https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks.


drivers: avoid i2c_burst_write where possible

i2c_burst_write can have portability issues with certain i2c
peripherals that can fail when this api is called. This fixes the case
where this can be easily replaced with i2c_write in mcp230xx,
pca95xx, stmpe1600, max17055, and tmp112.
Signed-off-by: Ryan McClelland<EMAIL_ADDRESS>

i2c_burst_write is still used by the following the drivers:

ssd1306
nct38xx
apds9960
bmg160
bmi160
bmi270
hmc5883l
hp206c
iis2dh
iis2mdc
ism330dhcx
iis2dh
lsm6dsl
stmemsc
stts751
mt9m114

Warning about this api is also showing in the documentation https://docs.zephyrproject.org/latest/reference/peripherals/i2c.html#c.i2c_burst_write
i2c_burst_write and i2c_burst_write_dt is still used by the following the drivers:

ssd1306
nct38xx
apds9960
bmg160
bmi160
bmi270
hmc5883l
hp206c
iis2dh
iis2mdc
ism330dhcx
iis2dh
lsm6dsl
stmemsc
stts751
mt9m114

The reason why I'm not touching these yet is because they are a bit more complicated with how they handle the buffer and length passed to it compared to the ones already modified, and I won't be modifying these as apart of this pull request.

I took a look to stmemsc and it seems to me that using VLA would simplify the job. Is it possible in zephyr or not recommended? I think would be similar for all drivers


jupyter notebook with pendulum bilinear model

new EDMD folder in /src which includes jupyter notebook with an initial learned lifted bilinear model of pendulum from eDMD

Closes #21.
Closes #20.
I'm going to create another couple issues for next steps, including getting the EDMD code into some functions we can use to quickly create models for other systems given a bunch of data.

Also, we should move the jld2 file into a data directory in the root directory. src/ typically only contains source code.


Attempt to unblock CI by running Aer from source

Summary
Things in CI are wedged right now because of a qiskit-terra master
incompatibility with the released version of aer, 0.11. There is a patch
up to qiskit-terra, Qiskit/qiskit-terra#2154, that should fix that but
it's blocked by another issue with aer. In an attempt to unblock CI
until that patch is merged this commit switches to run aer from master.
However, because of test environment mismatch this should be reverted as
soon as Qiskit/qiskit-terra#2154 merges.
Details and comments
Temporarily addresses #160

Ugh, so close osx and linux worked in the last run. But appveyor failed for the tempfile bug that breaks all the time.


CDN latest has old version

//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js has Chartist.js 0.9.8, not 0.10.0

The new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage
Example<EMAIL_ADDRESS>Example directory listing<EMAIL_ADDRESS>

This should be fine now, I'm closing this issue.


Various small improvements

Pull Request Test Coverage Report for Build 257

4 of 6 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 81.717%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/khepri_fun.erl
4
6
66.67%

Totals

Change from base Build 251:
-0.03%

Covered Lines:
1247

Relevant Lines:
1526

💛  - Coveralls


chore: bump docker and runner version and add imageos env var

fixes:
https://github.com/actions-runner-controller/actions-runner-controller/issues/715
https://github.com/actions-runner-controller/actions-runner-controller/issues/451
I've added in the missing fail -f switches too to the remaining curl commands
We don't use docker massively so I've done limited testing, will try to test a bit more, my testing is with the dind runner atm
tests:

@toast-gear @mumoshu  any ETA on when this would be merged?


Mesh flickering

Operating system or device - Godot version: Godot 3 master, Linux
Issue description:
My water plane (mesh instance plane) seems to flicker a lot when in game, but not in the editor.
I checked if it was related with the transparent flag but its not
gif:
https://media.giphy.com/media/3o7btSMiK0noEi1vAQ/giphy.gif

I don't see it flicker, however it "shakes" a little, looks like a float precision error

perhaps, it seems to happen only the place where the 2 meshes meet
here's a better gif

it looks like it's moving up and down, are you sure the vertex shader is
not doing anything weird?
On Fri, Jun 23, 2017 at 8:21 AM, Nuno Donato<EMAIL_ADDRESS>wrote:

perhaps, it seems to happen only the place where the 2 meshes meet
here's a better gif
[image: flick2]
https://user-images.githubusercontent.com/1642015/27480025-45a591d4-580e-11e7-94dc-d6e1f588d70c.gif
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9328#issuecomment-310640723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z29t5XDV3lKzbOYJCo4KJ80PaWx8Zks5sG5-dgaJpZM4ODbCj
.

@reduz absolutely sure, there is no shader, just a simple material :)

again, if you can isolate a very simple test case, that would be great
On Fri, Jun 23, 2017 at 8:26 AM, Nuno Donato<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz absolutely sure, there is no shader,
just a simple material :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9328#issuecomment-310641846,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z243AJiadvRmL9MgsZ46L-3lBFeQ-ks5sG6D6gaJpZM4ODbCj
.

@reduz I think @Zylann might be right, it must be related with float precision.
I just changed the plane mesh parameters to have a depth of 10 instead of 1, and the "shakiness" is barely noticeable. So it might have to do with the fact that this plane is huge (2000x2000), and had too little vertices?

oh, that is very possible
On Fri, Jun 23, 2017 at 8:32 AM, Nuno Donato<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz I think @Zylann
https://github.com/zylann might be right, it must be related with float
precision.
I just changed the plane mesh parameters to have a depth of 10 instead of
1, and the "shakiness" is barely noticeable. So it might have to do with
the fact that this plane is huge (2000x2000), and had too little vertices?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/9328#issuecomment-310642824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2494-b6GG4l-bqh3wgDRzppiNeLFks5sG6JJgaJpZM4ODbCj
.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.

As there was no update since the previous post, we close this issue.
If it is still relevant in the way it was described and discussed above, please comment to ask for it to be reevaluated. If it is only partly relevant, or if the original issue has changed, it would be better to open a new issue (potentially referring to this one) focused on the current state.

I got this happening too, in particular with big scaled meshes like a sea plane.

We still lack any test case that could be used to debug it though.

Hmm I can only reproduce by making an island with some mesh and a sea as a PlaneMesh, which I scale by a factor of 20,000. I wonder if that's the case too for @nunodonato ?

This is not a bug, guys. It's just lack of precision for floating point data. Just make your plane a grid and it will work better.

It's a serious issue and a difficult one for beginners to describe and comprehend. The solution is to change the near and far planes of your camera (not the viewport in editor). You can change it to 5 and 999999 to maintain some precision between two intersecting meshes. This should prevent z-index/z-buffer fighting but will trim your front plane, you should probably try to adjust near/far clips dynamically for each camera as you move to ensure you don't clip the near objects when you are closer than 5m. You'd change it to 0.1 and 9999 if your camera is closer.


MySQL: User-defined variables not working

System information:

Operating system (distribution) and version

Mac OS X 10.14.4

DBeaver version

7.0.1
Connection specification:

Database name and version

MySQL 5.6

Driver name

mysql:mysql-connector-java:RELEASE [5.1.44]

Do you use tunnels or proxies (SSH, SOCKS, etc)?

Nope.
Describe the problem you're observing:
User-defined variables appear do not work, despite them working with SequelPro and MySQL Workbench.
I have the "Enable variables" box checked under SQL Processing.
Steps to reproduce, if exist:
SET @TESTVAR = 21;
SELECT @TESTVAR

Result should be a single row/column with "21" in it, but instead DBeaver throws an error.
Include any warning/errors/backtraces from the logs

hi @Nezteb ,
could you try to execute script using Alt+X or "Execute SQL Script" button?

Ah, that works. I didn't realize there was a difference between those two. Microsoft SQL Server and MySQL Workbench have a single button/hotkey for both depending on context: "Execute the selected portion of the script or everything, if there is no selection"
If that's the agreed upon functionality of DBeaver, I have no qualms. If anything I'd put in a feature request to combine the two buttons based on context, but it's not a huge deal.


Add houdini by Eminem

Song Name
houdini
Artist Name
Eminem
Source
Youtube
Youtube Link
ZAJN7ed-QkF0EFee
Direct File Link
No response
Song ID
1
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107713220

reject
invalid YouTube link


Virtual Machine eth0 is InternalIP, nodeipam cannot access it through the external IP

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When the eth0 of the virtual cloud host only has an internal IP and the external IP is forwarded in, there is a bug in nodeipam, and SVC cannot access it through the external IP.
Internal network IP: <IP_ADDRESS>, which is bound to the eth0 network card.
External IP: <IP_ADDRESS>, which is directly forwarded by the external router to the internal IP and is not bound to the network card.
[root@VM-72-46-centos ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 52:54:00:6c:cc:c7 brd ff:ff:ff:ff:ff:ff
    altname enp0s5
    altname ens5
    inet <IP_ADDRESS>/18 brd <IP_ADDRESS> scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe6c:ccc7/64 scope link
       valid_lft forever preferred_lft forever
10: cilium_net@cilium_host: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 46:67:34:c4:bf:67 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::4467:34ff:fec4:bf67/64 scope link
       valid_lft forever preferred_lft forever
11: cilium_host@cilium_net: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 86:0a:2d:68:a1:b2 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global cilium_host
       valid_lft forever preferred_lft forever
    inet6 fe80::840a:2dff:fe68:a1b2/64 scope link
       valid_lft forever preferred_lft forever
12: cilium_vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether 1e:26:40:7f:37:2c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::1c26:40ff:fe7f:372c/64 scope link
       valid_lft forever preferred_lft forever

false：
curl -sfL https://rancher-mirror.oss-cn-beijing.aliyuncs.com/k3s/k3s-install.sh | K3S_KUBECONFIG_MODE='644' INSTALL_K3S_SKIP_SELINUX_RPM=true INSTALL_K3S_SELINUX_WARN=true
sh -s - --write-kubeconfig-mode 644 \
--tls-san "<IP_ADDRESS>" \
--node-external-ip "<IP_ADDRESS>" \
--flannel-backend "none" \
--disable-network-policy \
--disable-kube-proxy \
--disable "servicelb,local-storage"

kube-system       traefik                       LoadBalancer   <IP_ADDRESS>     <IP_ADDRESS>   80:31556/TCP,443:30912/TCP   28s

[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection refused
[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection refused
[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection refused

right：
curl -sfL https://rancher-mirror.oss-cn-beijing.aliyuncs.com/k3s/k3s-install.sh | K3S_KUBECONFIG_MODE='644' INSTALL_K3S_SKIP_SELINUX_RPM=true INSTALL_K3S_SELINUX_WARN=true
sh -s - --write-kubeconfig-mode 644 \
--flannel-backend "none" \
--disable-network-policy \
--disable-kube-proxy \
--disable "servicelb,local-storage"

kube-system       traefik                           LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>    80:32469/TCP,443:30104/TCP   14m

[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection refused
[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
404 page not found
[root@VM-72-46-centos ~]# curl <IP_ADDRESS>
404 page not found

This pattern is common on virtual cloud hosts created by KVM, and we hope to consider the issues arising from this scenario.
Cilium Version
1.16.0-pre.1
Kernel Version
centos 9
Kubernetes Version
v1.29.1+k3s2
Regression
No response
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Cilium Users Document

[X] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

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

Hi! I don't think that we could do much in the scenario you described :/. If the external IP is advertised, Cilium will only detect the external IP and that's about it but in your case the actual IP that Cilium see is the internal IP so it won't get load balanced properly... So as is I am not really sure if there would be a good way to fix that...
Otherwise you could not use nodeipam and use hostport or if you are still interested in getting the IP correctly advertised in the service loadbalancer/ingress (for instance to get stuff like externaldns working) you could use an hostPort + nodeipam with externalIP. This means that external IP will get advertised but effectively the internal IP will be used for load balancing. It's not pretty but it should work I believe.

When installing a k3s cluster, setting --node-external-ip is a common scenario. For example, if I need to form an edge cluster across regions, this setting is necessary. I feel that regardless of whether --node-external-ip is set or not, internal IP and <IP_ADDRESS> should be allowed for communication

NodeIPAM only works at the "cluster" (operator) level right now and reporting all those IPs inside the service directly is not right because those IP can be picked up by other tools like ExternalDNS for instance.
So what I would see as a fix (or rather feature enhancement) is probably something in the agent that detect NodeIPAM's service load balancer, detects that it is for the same node, ignore the IP already advertised and advertise all his IPs instead. I don't think I will be able to take a look at implementing this soon, but if anyone else wants to take a look at enhancing nodeipam features to do that feel free.

Most cloud servers in IDCs currently use a solution where external SLB forwards to the cloud server’s internal IP. The cloud server itself cannot directly obtain the public IP provided by the SLB. Therefore, when installing k3s, we use the --node-external-ip parameter to solve the problem of obtaining public IPs within the cluster. Currently, due to the characteristics of NodeIPAM, we have to abandon the --node-external-ip configuration and use --advertise-address as a substitute. k3s’s servicelb does not have this problem. It is hoped that this use case can be given more consideration.

Most cloud servers in IDCs currently use a solution where external SLB forwards to the cloud server’s internal IP. The cloud server itself cannot directly obtain the public IP provided by the SLB. Therefore, when installing k3s, we use the --node-external-ip parameter to solve the problem of obtaining public IPs within the cluster. Currently, due to the characteristics of NodeIPAM, we have to abandon the --node-external-ip configuration and use --advertise-address as a substitute. k3s’s servicelb does not have this problem.

Did you try the suggestion I wrote in https://github.com/cilium/cilium/issues/32133#issuecomment-2070760399?

It is hoped that this use case can be given more consideration.

Well I have now this in mind but my time is not unlimited + I feel like it's closer to a feature enhancement than a bug so no guarantee that I will be able to tackle it before the Cilium 1.16 release. I definitely want to have this implemented though.

Thank you for your understanding of the issue I raised, and I sincerely hope that this issue will not be closed.


Bump up version for storage packages

Version bump for some storage packages.
This is required due to an issue with the automation.

@EmmaZhu Please review


Variable declarations inside switch statement block are not always lexically bound

TypeScript Version:
1.7.5 / 1.8.0-beta / nightly (1.9.0-dev.20160217)
Code
// A self-contained demonstration of the problem follows...
switch (true) {
  case true:
    let foo = true;
}

switch (true) {
  case true:
    let foo = false;
}

console.log(foo);
// Static type checking correctly says, "Cannot find name 'foo'"
// but compiler transforms it anyway and does not perform hygiene
// on each foo variable.
// Should be Uncaught ReferenceError: foo is not defined

Expected behavior:
Identifier hygiene is performed on each lexically bound let foo to their parent SwitchBlock.
Output example of expected:
switch (true) {
  case true:
    var foo_1 = true;
}

switch (true) {
  case true:
    var foo_2 = false;
}

console.log(foo);
// Uncaught ReferenceError: foo is not defined

Actual behavior:
Static type checker sees issue, but transform does not perform hygiene so no ReferenceError happens and instead console.log(foo) === false.
The same problem also applies even if you provide explicit blocks inside each CaseClause|DefaultClause, which is even more unexpected:
switch (true) {
  case true: {
    let foo = true;
  }
}
switch (true) {
  case true: {
    let foo = false;
  }
}
console.log(foo);
// false but should be Uncaught ReferenceError: foo is not defined

One thing to note is that if the variable declaration inside the SwitchBlock shadows, then it will correctly perform hygiene:
let foo = 'this works correctly';

switch (true) {
  case true:
    let foo = true;
}

switch (true) {
  case true:
    let foo = false;
}
console.log(foo);
// "this works correctly"

This is the intended behavior. 1. the compiler tries to not rename declarations unless it has to, to keep the generated code aesthetics, and 2. there are no guarantees about the correctness or hygiene in face of errors.


How to show the "Help" floating button

Hi folks, i just installed this package to use in my angular app.
I followed the README to setup the angular-zendesk-widget and its working just fine. But i need to show that zendesk "Help" button, i created a link on my html to call the ZendeskWidget.activate() function on my controller and its working.
There are any configuration that i miss in order to show up that floating button with the layout of zendesk.
Thanks in advance.

@luanfonceca can you show how you're instantiating and configuring the widget? By default, you should get the floating version of the widget unless you're, say, calling zE.hide() in the beforePageLoad callback. If you're verbatim following the instructions under Settings in the README, you should remove the callback.

Closing due to inaction.


Rename segmentize() tolerance argument to max_segment_length

We like to compare the capabilities to PostGIS, which has ST_Segmentize (based on internal liblwgeom), which uses "max_segment_length" instead of "tolerance". Should shapely also use "max_segment_length"? I've found "tolerance" to be slightly overloaded with other functions, and there could be benefits with parameter names that are more descriptive. But I also don't mind "tolerance", it just requires the user to look-up the docs. At a minimum, the docstrings should be rewritten to "distance tolerance" instead of "tolerance".
Note that this functionality in the GEOS C API is called GEOSDensify with "tolerance".
Originally posted by @mwtoews in https://github.com/shapely/shapely/issues/1434#issuecomment-1186617986

I find "max_segment_length" in any case quite a bit more descriptive


Support for x.test.x

I'm surprised to see that this doesn't work:
alt ./crypto-helpers.test.js

I would expect discovery of:
./crypto-helpers.js

... and vise-versa.

Along a similar vein our in-house stlye is to have .unit.test.js (and .integration.test.js) too. I could add this one case, but it's probably a bit specific to our naming scheme only.
Should I open a PR to add support for \.(?:[^.]+\.)?.test.js?

Yeah, I was thinking about adding .test.js as well.

@bugeats @ashb I dug into the issues in more details. It is a side effect of the test classification regex not being correct and no fallback based on the scoring without test classification happening. So, I spun up a branch called add_fallback. It would be great if you could pull down the branch, build it and test it and let me know if this helps.

From commit 771de9e

$ /Users/ash/code/tmp/alt/target/release/alt src/lib/directives/auth/index.unit.test.js; echo
src/lib/jwt/index.unit.test.js

So it now returns something rather than nothing, but not even close to the right value for me - it's picked a totally different directory.
src/lib/directives/auth/index.unit.test.js <-> src/lib/directives/auth/index.js  is the pairing I would expect here.

@ashb grab the latest add_fallback branch and try it agin. Should be commit 78a82b4 and let me know.

@ashb did you ever verify this?

@drewdeponte Sorry, no I somehow missed the notification.
Still no dice on commit 78a82b4, and the minimal repro of just those files doesn't exhibit this behaviour, so something else is about this (private, sorry can't share it) is causing the issue.
Non-repro:
$ mkdir -p src/lib/directives/auth/ src/lib/jwt/
$ touch {src/lib/jwt/,src/lib/directives/auth/}index{.unit.test,}.js

Ah, add in ./src/lib/directives/index.js and it fails.
Repro steps @drewdeponte:
mkdir -p src/lib/directives/auth/ src/lib/jwt/
touch {src/lib/jwt/,src/lib/directives/auth/}index{.unit.test,}.js
touch ./src/lib/directives/index.js

Which then gives this behaviour:
$ ../target/release/alt src/lib/directives/auth/index.unit.test.js
src/lib/jwt/index.unit.test.js

I just released a new major release of this, v4.0.0 which should resolve these issues I believe.


93 total capacity of dct

gets the total capacity of takeout, total capacity of dinein, and total capacity overall
(finally merged dev and fixed some tests)

@brendacano, please merge with dev to get fixed Flutter CI tests


Can mace run on macOS ?

Before you open an issue, please make sure you have tried the following steps:

Make sure your environment is the same with (https://mace.readthedocs.io/en/latest/installation/env_requirement.html).
Have you ever read the document for your usage?
Check if your issue appears in HOW-TO-DEBUG or FAQ.
The form below must be filled.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
NDK version(e.g., 15c):
GCC version(if compiling for host, e.g., 5.4.0):
MACE version (Use the command: git describe --long --tags):
Python version(2.7):
Bazel version (e.g., 0.13.0):

Model deploy file (*.yml)
......

Describe the problem
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file

Error information / logs
Please include the full log and/or traceback here.
LOGs

Additional context
Add any other context about the problem here, e.g., what you have modified about the code.

@Volcanoscar yes, it is supported, but not so good as android os.

Excellent, just for debugging purposes. May I ask, how can I adapt the "build-standalone-lib.sh" script to output a macOS lib? Tks.

@Volcanoscar The build-standalone-lib.sh is not for macOS, you can reference the file "mace/.travis.yml", in this file, the follow commands is for macOs and ios:
bazel build "//mace/libmace:libmace_static" --config=darwin --config=optimization_darwin --define quantize=true --config symbol_hidden
bazel build "//mace/libmace:libmace_dynamic" --config=darwin --config=optimization_darwin --define quantize=true --config symbol_hidden
bazel build "//mace/libmace:libmace_static" --config=ios --config=optimization_darwin --define quantize=true --define neon=true --config symbol_hidden
bazel build "//mace/libmace:libmace_dynamic" --config=ios --config=optimization_darwin --define quantize=true --define neon=true --config symbol_hidden

@lu229 Aye, tks!!!


Remove depracated randdom.Seed function

After go 1.20, this call is not nessary:
Deprecated: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator.

/assign @zhiweiyin318

/approve
/lgtm


MGMT-17847: internal/experimental: add support for experimental features

This PR adds a simple mechanism for the agent and service to enable experimental features based on the existence of FLIGHTCTL_EXPERIMENTAL_FEATURES_ENABLED with a non-empty value..
usage
experimentalFeatures := experimental.NewFeatures()
if experimentalFeatures.IsEnabled() {
  // do potentially unstable things
}

OCP ref. https://github.com/openshift/installer/blob/294318e39b4ba31a16f87fed688134fee51dd6c2/cmd/openshift-install/create.go#L204C15-L204C67

merging, we can talk about this in more detail when implemented.


Verify clean installation works.

Clean install to Ubuntu 22.04 WSL venv complete, verified Numba and Cuda work as expected. Github actions set up to install package to clean Ubuntu on various versions on commit.


Add kube-aws-iam-controller chart

kube-aws-iam-controller : https://github.com/mikkeloscar/kube-aws-iam-controller
sample manifest: https://github.com/mikkeloscar/kube-aws-iam-controller/tree/master/docs

👍


impliment firebase iOS ml vision bundle ressource (.tflite .pb) with FirebaseMLVision

Hi,
i have worked with firebase iOS in device FirebaseMLVisionFaceModel and FirebaseMLVisionTextModel using Carthage. nevertheless those two libs increase the app size tremendously.
So I ask if there a way to do our implimentation directly of the models ressource bundles (.tflite .pb) with FirebaseMLVision or other idea without adding FirebaseMLVisionFaceModel and FirebaseMLVisionTextModel frameworks.

thanks in advance.

hi,
is there any method in swift  to impliment the models in ressource bundles (.tflite .pb).

 You can get a better picture of your full app download size by downloading your app through TestFlight.
The tflite models used by MLVision are not available for direct consumption.


feat: Add Github Action for notation setup

Contributing setup-notation as notation-action.

@duffney There's a conflict in the README file of your PR. Could you resolve it so that we can merge? Thanks.


Parsers do not fail on duplicate key values

All parsers for which the spec does not support duplicate-key maps should fail on duplicate-key input, unless, perhaps, the parser is a stream handler and cannot read the entire map at once.

The duplicate_key_check_filter is now available for this purpose, but is not directly implemented in the stream handlers for code conservation and performance reasons.


502 Bad Gateway or Connection refused while connecting to UPSTREAM

Hi there. I am trying to implement this helpful project but I got stuck :-(.
I think I made a mistake somewhere.
All certs were generated successfully, but I get 502 Bad Gateway.

docker logs:

╰─$ docker-compose logs nginx
nginx  | Checking configuration for MY-DOMAIN
nginx  | Checking configuration for kuma.MY-DOMAIN

errors log:

╰─$ tail  ./logs/error.log
2022/07/16 12:27:01 [notice] 1#1: start worker processes
2022/07/16 12:27:01 [notice] 1#1: start worker process 12
2022/07/16 12:27:01 [notice] 1#1: start worker process 13
2022/07/16 12:27:01 [notice] 1#1: start worker process 14
2022/07/16 12:27:01 [notice] 1#1: start worker process 15
2022/07/16 12:27:01 [notice] 1#1: start worker process 16
2022/07/16 12:27:01 [notice] 1#1: start worker process 17
2022/07/16 12:27:08 [error] 13#13: *1 connect() failed (111: Connection refused) while connecting to upstream, client: **.247.---.53, server: MY-DOMAIN, request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:80/", host: "MY-DOMAIN"
2022/07/16 12:27:08 [error] 13#13: *1 connect() failed (111: Connection refused) while connecting to upstream, client: **.247.---.53, server: MY-DOMAIN, request: "GET /favicon.ico HTTP/1.1", upstream: "http://<IP_ADDRESS>:80/favicon.ico", host: "MY-DOMAIN", referrer: "https://MY-DOMAIN/"
2022/07/16 12:27:44 [error] 14#14: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 159.**.173.198, server: MY-DOMAIN, request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:80/", host: "<IP_ADDRESS>"

access logs:

╰─$ tail  ./logs/access.log
<IP_ADDRESS> - - [16/Jul/2022:12:12:23 +0200] "GET / HTTP/1.1" 502 157 "-" "python-requests/2.22.0" "-"
<IP_ADDRESS> - - [16/Jul/2022:12:21:04 +0200] "GET /owa/ HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:24:27 +0200] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:24:27 +0200] "GET /favicon.ico HTTP/1.1" 502 559 "https://MY-DOMAIN/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:25:11 +0200] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:25:12 +0200] "GET /favicon.ico HTTP/1.1" 502 559 "https://MY-DOMAIN/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
<IP_ADDRESS> - - [16/Jul/2022:12:25:38 +0200] "GET /owa/ HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:27:08 +0200] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
**.247.---.53 - - [16/Jul/2022:12:27:08 +0200] "GET /favicon.ico HTTP/1.1" 502 559 "https://MY-DOMAIN/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4**6.143 YaBrowser/<IP_ADDRESS>6 Yowser/2.5 Safari/537.36" "-"
159.**.173.198 - - [16/Jul/2022:12:27:44 +0200] "GET / HTTP/1.1" 502 559 "-" "Mozilla/5.0 (Linux; Android 12; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36" "-"

Inside nginx container: cat /etc/nginx/sites:

And additional question: will it be helpful to ad here such a section:

    proxy_set_header Host                    $host;
    proxy_set_header X-Scheme                $scheme;
    proxy_set_header X-Forwarded-Proto       $scheme;
    proxy_set_header X-Auth-Request-Redirect $request_uri;
    proxy_set_header X-Real-IP               $remote_addr;
    proxy_set_header X-Forwarded-For         $proxy_add_x_forwarded_for;
    proxy_set_header Proxy                   "";

    add_header X-XSS-Protection              "1; mode=block";
    add_header X-Content-Type-Options        "nosniff";
    add_header X-Frame-Options               "deny";
    add_header Strict-Transport-Security     "max-age=31536000" always;
    add_header Alt-Svc                       'h3-29=":443"; ma=86400, h3=":443"; ma=86400;quic=":443"; ma=2592000; v="46,43"';
    resolver                                 <IP_ADDRESS> <IP_ADDRESS> valid=300s;

SOLVED ✅
Adding upstreams into nginx/default.conf  helped:

Maybe it would be helpfull to add this in README?

As I wrote in the comment https://github.com/evgeniy-khist/letsencrypt-docker-compose/issues/15#issuecomment-1184866974 you don't need to declare upstream if you proxies Docker containers. Nginx upstream makes Nginx to load-balance the requests. In Docker Compose project, load-balancing is handled by Docker network.
Anyway, I will add an appropriate example.

Unfortunately without upstream sections they didn’t work. Maybe it’s because I used different compose files where services communicate each other via networks (not default one).
anyway, the issue is solved. Thank you for quick response


Reopen: nuget version of MQTTnet.Extensions.TopicTemplate is not up to date

I do not have the ability to reopen issues, so per github recommendations I am creating a new one.
Original issue: https://github.com/dotnet/MQTTnet/issues/2055
I have confirmed that the version numbers now match, however when attempting to use the packages with the sample project I get the following:
CS1929 'MqttClientSubscribeOptionsBuilder' does not contain a definition for 'WithTopicTemplate' and the best extension method overload 'TopicTemplateExtensions.WithTopicTemplate(MqttTopicFilterBuilder, MqttTopicTemplate, bool)' requires a receiver of type 'MQTTnet.MqttTopicFilterBuilder' MQTTnet.Samples C:<my project details>\Samples\Client\Client_Subscribe_Samples.cs 47
What I did was pull just that one project from your github repo. I then changed the project references to target the latest versions of the packages on nuget. And then I did a build. I'm attaching a screen shot.
It looks like the MqttClientSubscribeOptionsBuilder WithTopicTemplate extension method was not compiled into the package.

What's the problem with using a MqttTopicFilterBuilder?

I have the same problem.

What's the problem with using a MqttTopicFilterBuilder?

The "problem" is, that this is from the sample code from the current master branch, so the sample hast to be adapted or there is a bug.
@SeppPenner or can u light us up and show the working code with the MqttTopicFilterBuilder?

Maybe this is not yet released @chkr1011 ?

The issue is that the master examples depend on the master template extension. While unfortunate, it is a one-off and has an easy solution. When you open the full project solution (not just examples), things should work fine.

@SeppPenner I think this can be closed.


optional DC filter (highpass at 10hz or something)

It would be useful to implement a flag which applies a 10hz lowpass filter to the produced file. Most of the files produced have a huge DC offset and it could be handy.

Implemented in d09d2cd5e2d9bc7d168566524e191225be7801ed


Soft delete not works when boot method is declared in Model.

Laravel Version: 5.3.x-dev
PHP Version: 5.6.21
Database Driver & Version: mysql 14.14

Description:
Soft delete not works when boot method is declared in Model.
Steps To Reproduce:

add method boot in Model

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Team extends Model
{
    use SoftDeletes;

    protected $dates = [
        'deleted_at'
    ];

    ....

    public static function boot()
    {
        Team::created(function ($team) {
            $team->members()->create([
                'user_id' => $team->created_by_id,
                'is_admin' => true,
            ]);
        });
    }

   ....

Load all data with Team::all() or Team::paginate or Team::where('anything', $anything)->get()
Deleted data will be loaded in query collection, the global scope of softDeleted overided by method boot in Model.

You forgot to call parent::boot().


fix edge case blackout bug

found a bug: when you make the cell background white while keeping all edges bold, if you unbold a edge, the cell background goes to black

found a bug: when you make the cell background white while keeping all edges bold, if you unbold a edge, the cell background goes to black

fixed this
my work is now DONE


Update ABI's json to ts flow

Currently, to be able to use abiwan, one has to generate a typescript file from the contracts abi json file.
This is a limitation due to typescript's inability to import a json narrowly.
There is actually a simple bash script that copied the abi from the json to ts that worked for Cairo 0.10.
In this issue, we would like to setup the abi object in typescript like it is done in Wagmi's cli:
https://wagmi.sh/cli#run-code-generation
This would look something like this:
npx abiwan generate

It should now support Cairo 1.0 contract's ABIs, removing the unnecessary parts such as the sierra-code from it.

This item belongs to payment request #BCE367 on OnlyDust:

from thomas-quadratic to thomas-quadratic
7 items included
$500 for 1 day of work

This should be closed, it was addressed by #22

Well, it's not working with npx right now

It seems to be working now.
Perhaps the section Build in the README needs to be updated ?

It seems to be working now. Perhaps the section Build in the README needs to be updated ?

Will check and update the README accordingly

This was already done a while ago, and we just had a simpler way to use it in combination with starkli, see #53


Not seeing past releases/tags

Surely I'm doing something wrong, but with 0 configuration (or any configuration), running auto-changelog won't see any prior tags. It will batch everything up into the most recent.

Just showing a couple screenshot that hopefully reassure that there are, in fact, other releases, but upon running auto-changelog everything is placed under v1.0.3, and other tags/releases are ignored.
What am I missing?

@chasegiunta Do you have the other tags (v1.0.1 and v1.0.2) fetched locally? Might be worth running git log --oneline to make sure they appear in the commit history, and try git fetch --tags if not.

They were all local, yes. I tried running auto-changelog today and surprisingly it worked perfectly, and now I cannot recreate the issue I was seeing to begin with. I'm going to close this for now - if I see it again I'll try to verify any reproducible steps and open it back up. Thanks for your work on this!


Master

I'm not sure why you're sending pull requests.
You must only commit to your own forks.

I'm not sure why you're sending pull requests.
You must commit to your own forks only.


refactoring the nested cases

@Sireeni you'll need to update the travis file as well, otherwise the build will continue to fail ;)

Oh that's the reason! Travis is forever loading on my browser so I can't really see what's the problem :')

:heart:


"Dimension" causes error

In the example to make a custom field, entering
reportable="Dimension"
causes an error in regards to "Dimension." It should be "dimension" (lowercase d) which is also in line with the system fields, at least as far as the Agile template for TFS 2018 goes.

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

ID: e2d013ba-2777-8e26-9fb2-c495eaad3f91
Version Independent ID: ada5d0d6-bbb9-785a-a76b-bf29dceddef9
Content: Add or modify a work tracking field - Azure DevOps & TFS
Content Source: docs/reference/add-modify-field.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@seanwhitepc Thank you for the feedback, assigning this to the author for review.

@seanwhitepc - Thank you for the correction. I will update the content later today.


Remove usage of AVX512/EVEX instructions

Summary of changes

Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[ ] I have performed a self-review of my own code,
[ ] I have made corresponding changes to the documentation,
[ ] I have added tests that prove my fix is effective or that my feature works (if possible),
[ ] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

It's all green ✅.

It's all green again ✅.

It's all green again ✅.
But build was done using a non AVX512 CPU (Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz).

Relevant link:
https://github.com/supranational/blst/blob/master/bindings/rust/README.md#build
It's all green now ✅.
Build of Forest daemon was done on Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz.
Run was done on Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz (so without the ADX instruction set).


refactor(repository): remove repo actions emoji

Previously use emojis that don't match with the action title.
Remove repo actions emoji for a while until we find another best way to include the icons.
Closes #245

Remove repo actions emoji for a while until we find another best way to include the icons.

We can insert icons via react-native-vector-icons using the Octicons set, like this:
import Icon from 'react-native-vector-icons/Octicons';

// ...

const repositoryActions = [
  // ...
  <Text>
    <Icon name="eye" size={20} color="black" />
      {subscribed
          ? translate('repository.main.unwatchAction', language)
          : translate('repository.main.watchAction', language)
      }
  </Text>
];

Only need to set more styles, but in general, it will work.

Thanks @lex111, looks good and promising. I'll try it. Lets wait for others opinion before we decide.


Info/Warning: there's a new version of the X template

Reason/Context
By default, npm will not install new versions of a template because it finds it's already installed and skips the installation process. This is a good thing in most cases but can create confusion when someone is trying to use a template and they don't get the latest version features and fixes.
Users can overcome this by executing something like:
ag asyncapi.yml @asyncapi/html-template@latest -o output
# Notice the `@latest`

But that's something you do when you really know how the Generator works.
Description
I suggest we add a console.info indicating that a template has a new version available. Something like:
This template has a newer version and you can safely update.
Use `@asyncapi/html-template@latest` as your template name to install the latest version.

Example:
ag asyncapi.yml @asyncapi/html-template@latest -o output

hi @fmvilas  I can work on this please assign it to me.


[atom plugin] "this" in arrow functions not working properly

sample code:
// tested on atom 1.5.4 with atom-ternjs 0.13.2 installed
class a {
  foo() {}
  bar() {
    this.foo();   // jumps to foo
    [].forEach(() => {
      this.foo(); // does not jump to foo
    });
  }
}

I pasted the same code to the live demo http://ternjs.net/doc/demo/#ES6 but both of the this.foo() calls work on the live demo, so this issue might be atom specific.

I will report this issue to https://github.com/tststs/atom-ternjs instead.

The fix for that (676841d6baa4406) wasn't in the latest release yet. I've released 0.18.0 which should fix this.

Great! Thanks for fast reply!


Project Page - Todo name is not display by Naman Dokania

Describe the bug
https://www.berrycast.com/conversations/9aba588d-9f80-5345-aa61-9b643f297f10
Post
https://community.easycloudbooks.com/t/Start Here/2705578c-d26a-411b-a9be-161b4cc04779

https://www.berrycast.com/conversations/54d8106b-1ba8-5a0e-af05-bba49de9bcf3


2-way scroll

I have a proposal for the new feature.
It would be nice if the component had an option to infinite scroll in both directions.
It would be useful on timelines where you start in the middle. For example when you want to show present, but also want to be able to scroll into the past or future.

A semi-related request is to also support horizontal infinite scroll.

We just merged the up direction scroll support. This issue is quite old, do open a fresh one and PRs welcome too :)


[dev-tool] Inline dynamic imports in browser bundle

Because umd doesn't support dynamic imports and rollup will give errors like:

RollupError: Invalid value "umd" for option "output.format" - UMD and IIFE output formats are not supported for code-splitting builds.

This error showed up in rush automation runs where we upgraded to msal-browser 3.3.0 which started using await import.
This PR uses inlineDynamicImports: true for browser bundle.

Yeah this is valid concern.  I'd thought about an option to opt-in.  Maybe that would make it a more explicit and conscious decision to inline dynamic import.

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


Not working in Safari on Mac

In last Safari (10.1.2) images dont load. Error in console: "Can't find variable: IntersectionObserver".

Fixed. Will update the demo to load IntersectionObserver polyfill if browser's support is not available.

Awesome. You're great 👍

Demo now makes use of IntersectionObserver polyfill. @milianriedel thanks for opening up the issue.

@ApoorvSaxena Your demo is till not working in Safari(12.0) on Mac.

I tested in Safari Version 12.0 (146<IP_ADDRESS>.9) and it's working perfectly fine for me. Please share more details about the exact error in a new issue, as it may be unrelated to this issue.


results loaded, but not displayed

Hi,
I have a strange issue running docker/control.sh start, the results seem to get loaded, but not displayed... After the navigation and controls, the site is just white without a table...
# docker logs -f hp_site

up to date, audited 102 packages in 580ms

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice
npm notice New major version of npm available! 8.19.4 -> 9.6.6
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.6>
npm notice Run `npm install -g<EMAIL_ADDRESS>to update!
npm notice
RUNNING STUFF 2
Fetching data for date: 2023-05-17
Fetched SPAR data, took 18.967726425000002 seconds
Fetched BILLA data, took 68.71422416600026 seconds
Merged price history
Example app listening on port 3000

Browsing at /api/index, i see the results.
How can I troubleshoot that further?
Thanks!

Relaoding the page after the Node server is up does the trick.

I reloaded the page multiple times and tried different browsers, but no luck. In the browser inspector, I just see that the favicon is not found (http 500 error) - but that's ok. Any hints?


gpg-tui: 0.6.2 -> 0.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/orhun/gpg-tui/releases.
meta.description for gpg-tui is: "Terminal user interface for GnuPG"
meta.homepage for gpg-tui is: "https://github.com/orhun/gpg-tui"
meta.changelog for gpg-tui is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

Warning: no invocation of /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0/bin/completions had a zero exit code or showed the expected version

/nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0/bin/gpg-tui passed the binary check.

1 of 2 passed binary check by having a zero exit code.

1 of 2 passed binary check by having the new version present in output.

found 0.7.0 with grep in /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0

found 0.7.0 in filename of file in /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0

directory tree listing: https://gist.github.com/a840c118617b6fd109705ad8f5282812

du listing: https://gist.github.com/4d368487e40ad2e55f4b91084ef5a4cc

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gpg-tui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gpg-tui https://github.com/r-ryantm/nixpkgs/archive/c691caea0d4c6d6bfc921e8b5ad5f27bd2731f70.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0
ls -la /nix/store/br55g9x4abxfillcyn0p83sagaxgwy8r-gpg-tui-0.7.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gpg-tui

Maintainer pings
cc @dotlambda for testing.

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

1 package built:

gpg-tui


FEAT: Move Taxiway Splitting to seperate algorithm

Currently, the taxiway splits are handled by OSM fetching algorithm. I would like more flexibility to move it to a different algorithm so that users can split the taxiways at any time after the OSM fetching. The new algorithm would also be ideally be chained to the taxiway-widening algorithm and would use the select feature -> create new layer from feature method rather than the native QGis "Save vector features" algorithm

@RoboFun01 any thoughts on this?

This will be very nice, although I think it would be amazing if the current OSM fetching algorithm is kept at is, and that a new algorithm is created. But it seems great!!


Fix this.value override to allow empty string

The check for a given value was oversimplified and didn't allow for ''.
I didn't use the shorter form null == value because that isn't used anywhere else, but would you consider using that check (there and elsewhere) when looking for undefined or null?
From this SO question

Being a more experienced JS developer now, I should note that using if (variable == null) is in fact the standard way to catch null and undefined simultaneously. When writing professional JS, it's taken for granted that the behavior is understood.

Also: http://stackoverflow.com/a/15992131/8279

Ok, so is this good to merge as is then?

Yes totally, sorry for the delay ;)
Best


Street number in result?

Is there a way to get the searched upon address' street number in the formatted address output?

@tonybierman You can always get the original address with:
geocoder.on('addresschosen', function (evt) {
	console.log(evt.address.original);
});

I guess I will change the output to show the formatted address of provider itself. Already did with OSM #136.

Thanks for your reply, Jonatas.
I would like you to know that I appreciate the effort and time you've put into this project.
Tony

MapQuest, and thanks again


Store release time in publisher local time zone

Currently the automation converts release time in CST to UTC and stores them:
https://github.com/search?q=repo%3ASpecterShell%2FDumplings "China Standard Time"&type=code
Some other tasks parses a UNIX timestamp and stores it in UTC:
https://github.com/search?q=repo%3ASpecterShell%2FDumplings+ConvertFrom-UnixTimeSeconds&type=code
Since WinGet only supports a local ReleaseDate (yyyy-MM-dd), you should store release time in that format and in CST for Chinese specific packages wherever possible. Otherwise, if that release time is before 08:00, it will end up in the WinGet manifest as the previous day, which contradicts to what most users (who are in China) see on the official webpage or in the program.

Nope.
In most packages, the release time is stored as a Unix timestamp defaulted to UTC timezone (such as<PHONE_NUMBER>), a ISO datetime string in UTC timezone (such as 2024-08-15T23:00:00Z), or a date-only string (such as 2024-08-15). With no timezone information provided, you may need extra knowledge to determine the actual timezone for the former two types, such as where the author is based, and what the timezone is in that region (not every country has only a single timezone like in China), which sometimes could be trivial. Besides, as people from all over the world could be using the same package, I personally prefer a "non-biased" timezone like UTC to minimize the side-effects from the timezone differences, for example the one-day offset between UTC+12 and UTC-12.

Otherwise, if that release time is before 08:00, it will end up in the WinGet manifest as the previous day, which contradicts to what most users (who are in China) see on the official webpage or in the program.

I reckon no publisher would release a new version at midnight, according to the common sense and the automation log. In terms of WeType, I guess they didn't convert the timezone to UTC before converting the time to Unix timestamp.


Chore: Use GitHub actions

I've see you were trying to adopt GitHub Actions for NPM publishing, but ultimately removed it.
I'm not sure while it was time or some missing feature that prevented use of GitHub Action, but in case it was time/bandwidth I've decided to propose this PR with complete switch for CI / publishing tasks to GitHub Actions (as many popular open source projects already did).
This PR adds 5 actions, 4 of them are result of splitting .travis.yml into independent (parallel) actions (it works 3x times faster than Travis as you may see here) and the last one - is NPM publishing.
Notes for each action:

cypress.yml - runs Cypress integration tests on every PR. I've also updated cypress module to the latest non-breaking version (when you have time you may look why tests breaks starting version 3.3.0). It also may be a good opportunity to setup Cypress <-> GitHub integration and adding test recording using repository secrets.
That action should be set as required in branch protection rules for this repository.

lint.yml - runs ESLint with automatic annotations of lint errors to source files in PR. This action runs only when a PR contains any changes to source .js files. You may see how it looks like at my fork test run. Again, I've used this visit to upgrade ESLint and all plugins, remove babel-eslint (it's not needed with latest ESLint version), and also replaced AirBnB config with base version as you don't use React in this project. Also, adjusted ESLint config here to use overrides and introduce plugins/env for test files.
Stylelint can be added here if you want later on.

bundlesize.yml - do bundles size judging (again, updated bundesize to the latest version) and also providing token here to have PR annotations. Runs only when a source Javascript or SCSS file was changed in PR.

unit-test.yml - runs unit test, with coverage, only when a source Javascript file was changed in PR. Also updated all testing dependencies (mocha, sinon, jsdom and nyc) to their latest versions. Also, to unload package.json a little, moved all mocha command-line keys to .mocharc.yml, so, looks a little prettier now. Added here Codecov coverage reporting, but to make it work you need to get Codecov token and add it to this repository secrets as CODECOV_TOKEN.

npmpublish.yml - runs on any push to master branch with a tag starting with v (a version?). It performs all tests before publishing (I also added prepublishOnly script to the package.json). To make it work you must add npm_token secret (get it from npm token create or use your current one awk -F= '/npmjs.org/ {print $2}' ~/.npmrc) to this repository secrets. If you already approved for GitHub Package Registry then it also will publish there.

Another small change is upgrade of husky to the latest version, to make it respect HUSKY_SKIP_INSTALL
I hope you will find this useful! On merging you can remove .travis.yml and stop building there.

hey @tinovyatkin
Amazing!! Thank you so much 🎉
The issue I was facing was ensuring the built package was correctly published to NPM. I managed to get publishing working but it was just publishing the changed src files, not the built files. I'm presuming you've managed to get round that?

@jshjohnson yes, that issue is fixed. As far I see from your last attempt you were supposing that needs: build will bring build artifacts into publish step, while in fact each step is clean machine (that's why you calling checkout in publishing step). In my version you may see npm ci to install deps, and then newly added prepublishOnly will do the magic to call npm run build before publishing.
If want to add postversion script also to automatically push tags to origin after npm version patch|minor|major, let me do that...

I replaced bundesize action to not pass our token (it's too powerful, better to create one as they suggesting and set it to repository secrets as BUNDLESIZE_GITHUB_TOKEN)
Also tuned preversion and postversion scripts and added .npmrc, so, now to publish a new version on NPM (and GitHub Repository) just do npm version patch|minor|major from master branch on your local machine and it will run all tests, create and tag new version, push everything to GitHub and then GitHub will publish it via action (running test again, however).

@jshjohnson Yes, it's ready. I've tested on my fork. It was waaay more commits, just squashed them before opening this PR 😆, so it looks so easy!

Awesome, thanks a lot!

Don't forget to set repository secrets - Codecov and Bundlesizes both have very nice PR decorations and Cypress githut integration can publish screenshots into PR, so, it's easier to review non-JS related PRs likes SCSS, etc.


Update Vagrant logo

Hashicorp has changed the Vagrant logo.
I've used https://github.com/mitchellh/vagrant/blob/master/website/source/assets/images/favicons/apple-touch-icon.png for this pull request.

@pascalberger it should be handled in the script.


Flappy ball using javascript

Inspired from Flappy bird game, I have created a small flappy ball game using  HTML, CSS and Javascript.
Here am providing a glimpse of the game.

@991rajat @urvashi-code1255 @Vishal-raj-1 @ridsuteri  please assign me this issue

Sorry @manognyaa similar project already exists, try to improve that project or add any other awesome js project to the repo

Sure sir, thank you. @ridsuteri