✨ FEAT: Machine Images Resources

Description
Added support for Machine Image Resources in the tool.
Changes Made
Changes have been made in the following files:

[ ] crawl.py
[ ] scanner.py

Checklist

[x] I have read and followed the contributing guidelines.
[x] I have tested my changes thoroughly and they work as expected.
[ ] I have added necessary tests for the changes made.
[ ] I have updated the documentation to reflect the changes made.
[x] My code follows the project's coding style and standards.
[x] I have added appropriate commit messages and comments for my changes.

The output for the Machine Images would look something like:
"machine_images": [
      {
        "kind": "compute#machineImage",
        "id": "3228948560770099620",
        "creationTimestamp": "2023-03-20T05:53:32.008-07:00",
        "name": "test-mi-1",
        "selfLink": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/global/machineImages/test-mi-1",
        "sourceInstance": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/zones/us-central1-a/instances/test-vm-1",
        "status": "READY",
        "sourceInstanceProperties": {
          "tags": {
            "items": [
              "http-server",
              "https-server"
            ],
            "fingerprint": "6smc4R4d39I="
          },
          "machineType": "e2-medium",
          "canIpForward": false,
          "networkInterfaces": [
            {
              "kind": "compute#networkInterface",
              "network": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/global/networks/default",
              "subnetwork": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/regions/us-central1/subnetworks/default",
              "networkIP": "<IP_ADDRESS>",
              "name": "nic0",
              "accessConfigs": [
                {
                  "kind": "compute#accessConfig",
                  "type": "ONE_TO_ONE_NAT",
                  "name": "External NAT",
                  "natIP": "<IP_ADDRESS>",
                  "networkTier": "PREMIUM"
                }
              ],
              "fingerprint": "ebuqTuSddxs=",
              "stackType": "IPV4_ONLY"
            }
          ],
          "disks": [
            {
              "kind": "compute#savedAttachedDisk",
              "type": "PERSISTENT",
              "mode": "READ_WRITE",
              "source": "projects/qwiklabs-gcp-01-4ac901cbfcdf/zones/us-central1-a/disks/test-vm-1",
              "deviceName": "test-vm-1",
              "index": 0,
              "boot": true,
              "autoDelete": true,
              "licenses": [
                "projects/707281592825/global/licenses/debian-11-bullseye"
              ],
              "interface": "SCSI",
              "guestOsFeatures": [
                {
                  "type": "UEFI_COMPATIBLE"
                },
                {
                  "type": "VIRTIO_SCSI_MULTIQUEUE"
                },
                {
                  "type": "GVNIC"
                }
              ],
              "diskSizeGb": "10",
              "storageBytes": "559765696",
              "storageBytesStatus": "UP_TO_DATE",
              "diskType": "pd-balanced"
            }
          ],
          "metadata": {
            "kind": "compute#metadata",
            "fingerprint": "1K-9I6bDxc4=",
            "items": [
              {
                "key": "enable-oslogin",
                "value": "true"
              }
            ]
          },
          "serviceAccounts": [
            {
              "email"<EMAIL_ADDRESS>              "scopes": [
                "https://www.googleapis.com/auth/devstorage.read_only",
                "https://www.googleapis.com/auth/logging.write",
                "https://www.googleapis.com/auth/monitoring.write",
                "https://www.googleapis.com/auth/servicecontrol",
                "https://www.googleapis.com/auth/service.management.readonly",
                "https://www.googleapis.com/auth/trace.append"
              ]
            }
          ],
          "scheduling": {
            "onHostMaintenance": "MIGRATE",
            "automaticRestart": true,
            "preemptible": false,
            "provisioningModel": "STANDARD"
          },
          "deletionProtection": false,
          "keyRevocationActionType": "NONE"
        },
        "instanceProperties": {
          "description": "",
          "tags": {
            "items": [
              "http-server",
              "https-server"
            ],
            "fingerprint": "6smc4R4d39I="
          },
          "machineType": "e2-medium",
          "canIpForward": false,
          "networkInterfaces": [
            {
              "kind": "compute#networkInterface",
              "network": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/global/networks/default",
              "subnetwork": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/regions/us-central1/subnetworks/default",
              "networkIP": "<IP_ADDRESS>",
              "name": "nic0",
              "accessConfigs": [
                {
                  "kind": "compute#accessConfig",
                  "type": "ONE_TO_ONE_NAT",
                  "name": "External NAT",
                  "natIP": "<IP_ADDRESS>",
                  "networkTier": "PREMIUM"
                }
              ],
              "fingerprint": "ebuqTuSddxs=",
              "stackType": "IPV4_ONLY"
            }
          ],
          "disks": [
            {
              "kind": "compute#attachedDisk",
              "type": "PERSISTENT",
              "mode": "READ_WRITE",
              "source": "https://www.googleapis.com/compute/v1/projects/qwiklabs-gcp-01-4ac901cbfcdf/zones/us-central1-a/disks/test-vm-1",
              "deviceName": "test-vm-1",
              "index": 0,
              "boot": true,
              "autoDelete": true,
              "licenses": [
                "https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-11-bullseye"
              ],
              "interface": "SCSI",
              "guestOsFeatures": [
                {
                  "type": "UEFI_COMPATIBLE"
                },
                {
                  "type": "VIRTIO_SCSI_MULTIQUEUE"
                },
                {
                  "type": "GVNIC"
                }
              ],
              "diskSizeGb": "10"
            }
          ],
          "metadata": {
            "kind": "compute#metadata",
            "fingerprint": "1K-9I6bDxc4=",
            "items": [
              {
                "key": "enable-oslogin",
                "value": "true"
              }
            ]
          },
          "serviceAccounts": [
            {
              "email"<EMAIL_ADDRESS>              "scopes": [
                "https://www.googleapis.com/auth/devstorage.read_only",
                "https://www.googleapis.com/auth/logging.write",
                "https://www.googleapis.com/auth/monitoring.write",
                "https://www.googleapis.com/auth/servicecontrol",
                "https://www.googleapis.com/auth/service.management.readonly",
                "https://www.googleapis.com/auth/trace.append"
              ]
            }
          ],
          "scheduling": {
            "onHostMaintenance": "MIGRATE",
            "automaticRestart": true,
            "preemptible": false,
            "provisioningModel": "STANDARD"
          },
          "minCpuPlatform": ""
        },
        "savedDisks": [
          {
            "kind": "compute#savedDisk",
            "sourceDisk": "projects/qwiklabs-gcp-01-4ac901cbfcdf/zones/us-central1-a/disks/test-vm-1",
            "storageBytes": "559765696",
            "storageBytesStatus": "UP_TO_DATE"
          }
        ],
        "storageLocations": [
          "us"
        ],
        "totalStorageBytes": "559765696"
      }
    ]

That's nice. Could you add test for this new resource? You can take a look at #40 already merged.

@mshudrak Help Wanted! Can't figure out why the tests are failing? Does it have to do something with how the testing environment is set up?

It is failing because GCP is now returning data that we do not expect in tests. It is fine. I will fix it. I will review the commit, don't worry about the tests for now.


VFS not able to recursively delete directories

Here you can see VFS throws an Error when the provided path is a directory:
https://github.com/MatrixAI/js-virtualfs/blob/b197db7cd4ea4cca0170353e2a56f24070e9f996/lib/VirtualFS.js#L1637
Its not good to go chasing the proverbial rabbit and keep updating to match the fs interface but this seems like a core functionality that VFS should have.
This issue is related to js-encryptedfs as in we want to be able to mirror what we can do on the lowerDir when we delete a directory.

Closing on account of migration to gitlab


Can't access to the UI on the 80 tcp port

Describe Your Problem:
I can't access to the UI on the 80 tcp port, and I already configured my Homebridge in init.d. What can I do to have my UI below a 1024 port, in init.d ?

Setup Payload:
X-HM://0023SNU9E11HG
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge

    ┌────────────┐
    │ XXX-XX-XXX │
    └────────────┘

[2019-8-3 12:20:22 PM] Homebridge is running on port 51826.
[2019-8-3 12:20:27 PM] Got SIGTERM, shutting down Homebridge...

Homebridge.err
[2019-8-3 12:20:27 PM] ^[[36m[homebridge-config-ui-x]^[[0m ^[[31mError: listen EACCES: permission denied :::80^[[0m
[2019-8-3 12:20:27 PM] ^[[36m[homebridge-config-ui-x]^[[0m ^[[31mThe process owner does not have permission to run services on port 80. Please change the homebridge-config-ui-x port to something above 1024.

Homebridge Config:
{
    "bridge": {
        "name": "Homebridge",
        "username": "XX:XX:XX:XX:XX:XX",
        "port": 51826,
        "pin": "XXX-XX-XXX"
    },
    "description": "Ce Homebridge est à jour sur un RPi 3, afin d'utiliser tout les appareils connectés sur HomeKit, l'interface de domotique de Apple.",
    "ports": {
        "start": 52100,
        "end": 52150,
        "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
    },
    "accessories": [
        {
            "accessory": "RaspberryPiTemperature",
            "name": "RaspberryPi CPU Temperature"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 80,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "c",
            "sudo": true,
            "log": {
                "method": "file",
                "path": "/var/log/homebridge.log"
            },
            "platform": "config"
        }
    ]
}

Environment:

Node.js Version: v10.16.1
NPM Version: 6.9.0
Homebridge Version: 0.4.50
Homebridge Config UI X Version: 4.5.1
Operating System: Raspbian
Process Supervisor: init.d

Hi @pwn4dfra,
I'm not sure about init.d, but if you switch to systemd as per the guide in the wiki, that configuration will allow you to bind on ports lower than 1024 as it runs Homebridge with the CAP_NET_BIND_SERVICE flag.
https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-&-Systemd-(Raspbian,-Ubuntu,-Debian)

CAP_NET_BIND_SERVICE
Bind a socket to Internet domain privileged ports (port numbers less than 1024).

Hi @oznu,
Thank you for this quick reply. I know about systems, the problem is that I don't want to run Homebridge as root for security reasons. In init.d, I don't run Homebridge as a root user. I am searching for an alternative, and I was asking if anyone knows an alternative for init.d, like giving a special authorization for nodejs, but I don't know where to find that.

The systemd guide in the wiki sets up homebridge to run as its own service user, not root, it just requests systemd to grant extra permissions to the process to allow it to bind to ports below 1024.
Systemd config:
cat >/etc/systemd/system/homebridge.service <<EOL
[Unit]
Description=Homebridge
After=syslog.target network-online.target

[Service]
Type=simple
User=homebridge
EnvironmentFile=/etc/default/homebridge
ExecStart=$(which homebridge) \$HOMEBRIDGE_OPTS
Restart=on-failure
RestartSec=3
KillMode=process
CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_CHOWN CAP_FOWNER CAP_DAC_OVERRIDE CAP_AUDIT_WRITE CAP_SYS_ADMIN
AmbientCapabilities=CAP_NET_RAW

[Install]
WantedBy=multi-user.target
EOL

Note the "User=homebridge" line.

Okayyyyyy ! I'm going to modify it a bit and I'll tell you what I did. Thanks !

Sorry I can't help with init.d - I haven't touched it in years 😄.

That's cool don't worry, I'm switching to systemd

I got it working ! I may do an install.sh file to have an automated installation file with/without systemd, with a custom port etc

In Feb 2020 on Raspbian (Linux pi4 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux) this doesn't appear to work.
https://stackoverflow.com/questions/38321220/script-with-cap-net-bind-service-cant-listen-on-port-80

Hey @oznu, do you think anything changed? I can't access when using port 80.

Are there directions for getting the UI onto port 80 on macOS? I've installed using hb-service as instructed. I've attempted with both config.json set to use port 80 (for the UI), and specifying --port to the hb-service install command. Still getting EACCESS errors in my hb-service logs output.
I've read through the systemd guides on the wiki, but those seem to only apply to *nix. I presume hb-service doesn't use systemd on macOS? I also took a gander in my launchctl services, but didn't find any (I just grepped for 'bridge') nor did I find any homebridge LaunchAgents in my ~/Library...

On your Raspberry PI you can run sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/node. Please note impact of degraded security.


FFmpeg is missing

I'm using Windows and i can't figure how to solve this issue.
I've already download every windows version of FFmpeg and inserted into the dstreamer directory and none of them works.

Also, if i try to run the destreamer through the cmd it simply gives me this error:

Ok, i had to add the bin folder from ffmpeg to the path like ti say here:
http://blog.gregzaal.com/how-to-install-ffmpeg-on-windows/


twice slower then cnewhope

newhope:
running 3 tests
test bench_newhope_keygen  ... bench:     172,236 ns/iter (+/- 2,603)
test bench_newhope_shareda ... bench:      68,955 ns/iter (+/- 227)
test bench_newhope_sharedb ... bench:     274,815 ns/iter (+/- 67,543)

cnewhope:
running 3 tests
test bench_cnewhope_keygen  ... bench:      83,264 ns/iter (+/- 3,723)
test bench_cnewhope_shareda ... bench:      31,038 ns/iter (+/- 487)
test bench_cnewhope_sharedb ... bench:     131,694 ns/iter (+/- 555)

reason https://github.com/rust-lang/rust/issues/43064

Excuse me, but if I read this correctly, cnewhope is the one twice as slow as newhope


Error: Can't generate token. Check your auth options

Any idea why I am getting this [2021-07-19T22:15:46.009Z] error Error while sending email: Error: Can't generate token. Check your auth options error when trying to send an email?
The full error logs are:
[
  {
     messages: [
      { id: 'Auth.form.error.email.invalid' },
       { mailer_error: "Can't generate token. Check your auth options" }
     ]
   }
]

On my local machine it worked just fine, but when I changed to my production machine (iit has the same env variables) shows this issue.
My plugin config:
module.exports = ({ env }) => ({
  email: {
    provider: 'gmail-2lo',
    providerOptions: {
      username: env('EMAIL_USERNAME'),
      clientId: env('EMAIL_CLIENT_ID'),
      privateKey: env('EMAIL_PRIVATE_KEY').replace(/\\n/g, '\n'),
    },
    settings: {
      defaultFrom<EMAIL_ADDRESS>      defaultReplyTo<EMAIL_ADDRESS>    },
  },
});

Found out the issue. It was the quotes from the .env file variables. If you load from an env file the variables please don't use double quotes

This was extremely helpful!


Fix for config file locking

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation and CHANGELOG accordingly.
[ ] I have read the CONTRIBUTING document.

Closes #1670.

By the way, not that it needs to be done in this PR, but there's one other section in the codebase that relies on the OS-dependent fcntl.
https://github.com/AgnostiqHQ/covalent/blob/691f0ebf57ca6fcfbe48a3b6cd5e2bb79b178400/covalent_ui/api/main.py#L73-L75
Maybe it'll be possible to replace that call too at some point.

Yep that's on my radar. Thanks @arosen93 !

@arosen93 Do you mind helping me out a bit with this one, can you check whether this solution works on your side on the slurm cluster for which covalent was halting earlier? Thanks a lot!

@kessler-frost: I reran my typical test. A few notes.

After pip install-ing, it didn't install filelock. So, I had to do that manually.
Covalent no longer freezes on import
Jobs do not run successfully by default (traceback below), but this is expected.

Traceback (most recent call last):
  File "/pscratch/sd/r/rosen/test.py", line 1, in <module>
    import covalent
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/__init__.py", line 26, in <module>
    from . import executor, leptons  # nopycln: import
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/executor/__init__.py", line 33, in <module>
    from .._shared_files import logger
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/_shared_files/logger.py", line 34, in <module>
    log_level = get_config("sdk.log_level").upper()
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/_shared_files/config.py", line 244, in get_config
    cm = ConfigManager()
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/_shared_files/config.py", line 56, in __init__
    self.update_config()
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/covalent/_shared_files/config.py", line 113, in update_config
    with filelock.FileLock(f"{self.config_file}.lock", timeout=1):
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/filelock/_api.py", line 255, in __enter__
    self.acquire()
  File "/global/common/software/matgen/rosen/miniconda/envs/test/lib/python3.10/site-packages/filelock/_api.py", line 222, in acquire
    raise Timeout(lock_filename)  # noqa: TRY301
filelock._error.Timeout: The file lock '/global/homes/r/rosen/.config/covalent/covalent.conf.lock' could not be acquired.

The reason the lock can't be acquired is because the default COVALENT_CONFIG_DIR (being in ~/) on Perlmutter doesn't supporting locking mechanisms in general. I don't see a real way of getting around that aside from not using a locking mechanism at all. But more importantly, because there's no stalling and a proper error is raised, at least it is telling the user to do something about it. In this case, the user has to just update their COVALENT_CONFIG_DIR to a filesystem that supports locking. I've confirmed that everything works as expected once that's done.
So, in summary, I think this solution is better and worth merging because:

There is no stalling upon error
A proper error is raised
It is an OS-agnostic solution

Just make sure filelock makes its way into setup.py.

Thanks a lot @arosen93 ! I'll clean this one up and get this merged.

Great! Thanks for addressing this :)

 def set_winsize(fd, row, col, xpix=0, ypix=0):
     winsize = struct.pack("HHHH", row, col, xpix, ypix)
     fcntl.ioctl(fd, termios.TIOCSWINSZ, winsize)

The above fcntl in covalent/covalent_ui/api/main.py can be changed to something else later since it's UI based and requires a different type of testing.


Not showing current values on rgb text-box

I tried to use sample from 'plugin.input' which was provided as sample in index,js. After that it showed me that rgb text-boxes but values are nil. It also not shows any values there if I move the sliders inside the picker.
Second thing it also loads jqColorPicker.js.map. Total upload size comes out to 27kb instead of 4kb as mentioned in the site.
Screenshot is attached.

Hi @nglatest
thanks for your interest and contribution.
Well, it's hard to guess an error if I don't see any code or error log... I see from the picture that you disabled alpha (opacity: false) and therefore the hex input field also doesn't show, but this shouldn't make any difference. I do see though that you have '304 Not Modified'... you might want to enable Disable cache (while DevTools is open) in your Chrome's Debug-Tool Settings to always get the fresh modified javaScript files. If this doesn't help either, make a jsFiddle so I can have a look at it.
To the second point (.map): This is a feature for developers (supported by Chrome and other browsers these days). The file jqColorPicker.min.js has a comment on the bottom: //# sourceMappingURL=jqColorPicker.js.map. This is information for the browser to make it possible to see the source code of jqColorPicker.min.js even though it is minified (In the 'Sources Tab' of Chrome Dev-Tools). This file will only load though if your Dev-Tools are open. For your client who uses the browser just in a normal way, this file won't load. If you don't want this to happen anyhow and don't mind that .min.js files show cryptic then delete the last line (the comment) in your .min.js file.
Good luck and cheers,
Peter

for the first issue, I found it may casued by the below code missing of  'plugin.input':
renderCallback: function($elm, toggled) {
var colors = this.color.colors.RND,
modes = {
r: colors.rgb.r, g: colors.rgb.g, b: colors.rgb.b,
h: colors.hsv.h, s: colors.hsv.s, v: colors.hsv.v,
HEX: this.color.colors.HEX
};
$('input', '.cp-panel').each(function() {
this.value = modes[this.className.substr(3)];
});
}


[Feature] Web client: extend "What makes this run special?" to multiple runs, or simply a "notepad"

Is your feature request related to a problem? Please describe.
I'm always frustrated when I'm constrained by the W&B web client to write a note for each specific run (i.e. the "What makes this run special?" editable text field). This is far too time-consuming if I want to keep a reminder for myself like "runs 1 to 11 were mainly for debugging purposes, before I had implemented XYZ technique" or "runs 55, 58, and 60 are particularly important because [insert reason here]".
Describe the solution you'd like
It would be great to have some sort of notepad associated with the project (maybe as a new "tab" on the left-hand bar), where I can freely jot down information relating to the runs, without being constrained to the specific way the web client handles note-taking for runs.
Describe alternatives you've considered
I haven't really considered any alternatives; the notepad would probably be the best option, unless there was some other way (which might be harder or more involved to implement) to have a GUI keep track of notes on multiple runs (select multiple runs and parallelize reminders/notes about those?) or something more user-friendly.
Additional context
N/A

Hey @rodrigo-castellon
The main motive for a notes sections in run, is to attach a small description to the run on the fly.
I think the best option for you would be our Reports. Here you can jot down points at your free will and also put up panels that you find insightful.
Hope this solves your problem 😄

@rodrigo-castellon did you try reports?

Yep, thanks for the help!


Ide

Implemented a working module tree generator, added cloning functionality, integrated the ModuleManager as the main source of information and implementation, revised tests to match the new architecture, and added color scheme.

🚀 [bumpr] Bumped! New version:v0.0.3 Changes:v0.0.2...v0.0.3


merge duplicate text editors sections

Merged 2 duplicate sections

Ahhh, these are under different classifications. Closing.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

validations.py file is modified to meet the requirements of the task given.


add buildparams command vscode extension

Fixes #10737
BuildParams handler and commands added to LangServer and VSCode Extension projects, so Build Parameters File option added to VS Code

New tests were added to make sure the functionality works as expected.
Contributing a feature

[x] I have opened a new issue for the proposal, or commented on an existing one, and ensured that the Bicep maintainers are good with the design of the feature being implemented
[x] I have included "Fixes #{issue_number}" in the PR description, so GitHub can link to the issue and close it when the PR is merged
[x] I have appropriate test coverage of my new feature

Microsoft Reviewers: Open in CodeFlow

@polatengin Can you fix the build errors?

@polatengin Can you fix the build errors?

synced with the bicep:main and fixed the build errors. Also took screenshots of the results of all the tests 👍


fix: jupiter auto slippage

Description
Jupiter auto slippage was not working, they are telling us autoSlippage is the key to configure as quote api call but they are using dynamicSlippage, and it works...
Slippage should now be higher for most of the swaps making it successful in the end

Issue (if applicable)

spotted in https://discord.com/channels/554694662431178782/1316422691191918754/1319067331909128244
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

Try any swaps from SPL token to Token2022
Try any swaps from SOL to USDC/USDT

Engineering

Operations

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

https://explorer.solana.com/tx/HkcCiXNDQ4p5ddk45ZUVgYU8CD6yPSby1f5aQYmP67pLsdrNFT36kXexbJYis1rz95YE6FNjYmhwriTkDTDsHo7

https://explorer.solana.com/tx/3fQiVroxVrJ7AQNVaeEk91hVj41BnScYyiLNQqPP9ELfZCKMEQsB5z4162TKEyfM9i6yEEWaAokMHTvAJWyjotQK

PNUT acquired, Jupiter happy, dynamic slippage used 👌

Wow, what a beautiful trade flow!


Not able to see AWS attributes in the list  as attached

Need help to monitor my AWS account

Hello @Harish1027 :
Did you add any accounts to Security Monkey?  You will need to restart the scheduler after adding new accounts.  Please read this section of the user guide, namely the section about restarting the scheduler: https://github.com/Netflix/security_monkey/blob/develop/docs/userguide.md#adding-an-account-in-the-web-ui

Hi Mikegrima,
Thank for reply.
I have added the account to security monkey and restarted the scheduler but still the same.
I can see the account in the setting tab but not able to see the AWS attribute to filter.
Is there any watcher or plugins need to install or start  services like
" monkey run_api_server".
I can see the issue at login screen itself I didnt get any option to register as shown in user guide

I have followed the quick start guide fro setup https://github.com/Netflix/security_monkey/blob/develop/docs/quickstart.md.


prayers no longer muting

I usually play with prayer deactiviation sounds muted. Over the last 2 days or so the plugin has stopped muting these sounds.

I also tested muting prayer activiations, and those were not muting either. Additionally, graardor's steps are no longer being muted by this plugin and I had to turn area sounds off.
I love this plugin so much -- thanks for making it!

This is fixed in #117 , turn off and turn back on plugin in mean time. Sorry!


Remove forbidden HTTP1 headers even if no connection header is present

Motivation
Currently we only remove forbidden HTTP/1.1 headers when translating to HTTP/2.0, if a connection header is present. Since a connection header is not required on HTTP/1.1, forward forbidden headers are currently sometimes forwarded (like "transfer-encoding").
Changes

Remove forbidden HTTP/1.1 headers, even if no connection header is present.

Result
We don't leak forbidden headers.

There's an allocation regression on nightly, but that doesn't have anything to do with this patch. Merging over the failure.


[WIP] convert folder to a module

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#995  👈
#988
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jlewitt1 and the rest of your teammates on  Graphite


Minor style refinements

This PR includes a few minor tweaks to the appearance of the app to conform to recent style changes (I'm prepping the VIP slides / poster, and my OCD is kicking in):

Switch the empty state images to use Source Sans Pro instead of Josefin
Dial the bold variant of Source Sans Pro back a little bit (900 -> 700)

Thanks, you're not the only one who can be a ✨perfectionist✨. Those two things were nagging at me as well.


Please compare our work and see if they match!

I did calculations for all 7 configurations. Please compare your work against mine. My results are in a file called hw7.ipynb
@yasmensarhan27 @s4il3sh

Sure.

wow, you did for all? good

thanks


performance and optimizations improvements

https://github.com/AugurProject/augur/issues/1284

added re-reselect, which caches the market selector by marketId
refactored how market orders is populated in state, to reduce trips to augur-node
removed unneeded reducer assoc. with orders
removed call to loadDisputes in markets-view (main listing of markets) it was triggering market selector. loadDisputes is called as part of load market if not already loaded when the specific market is nav to.

+1 on re-reselect Tom! nice


Address Digital-1386.

What Does This Do
Makes Canopy compliant with the structure of a valid IIIF Presentation 3 manifest so that changes to IIIF assemble can be merged.
Why are we doing this?
In order to update assemble to use other viewers, we have to make our manifests adhere more to spec.  This prepares canopy for that change.
Related Issues / Pull Requests
Issues

[x] DIGITAL-1386
[x] DIGITAL-1348
[x] DIGITAL-1349
[x] DIGITAL-1378

Other Issues Outside of Canopy to Think about

[x] DIGITAL-1382

Pull Requests
Why are we doing this?
In order to address a compliance issue in IIIF assemble, we need to make Canopy expect a compliant (or more compliant) manifest or canopy will break.
Work that's needed before this pull request can move from draft to open status?

[x] Switch the collection manifest to the one in production
[x] Add Spanish back
[x] Make sure the Assemble PR has been merged or regenerate manifests for RFTA while on the assemble branch that brings things into compliance

EXHIBIT-114 allows us to get around DIGITAL-1382 (IMO) for now.


Delete with Join

The IDeleteQueryProvider<T> does not seem to support building join statements (using something like IDeleteQueryProvider<T>.Import(...).
Is that something which is on the roadmap? Is there a workaround for this?
I'm currently using hand-written SQL (ExecuteAsync) which works fine for MySQL and MSSQL, but now I also need to support Postgres which needs different SQL. Would be nice if NPoco would abstract these differences.

Sorry but this is not on the road map and is not something this library needs as core functionality.

Yes. V4 is pretty stable there are just some breaking API changes.


Panic when running printing module in async context on single-threaded executor

The information requested below is provided the the following repository.
Test Case
Provided in the repo (any module using print)
Steps to Reproduce
Provided in the repo
Expected Results
Normal execution of the module (printing "Hello World" in this case). Basically same behavior which is observed with the multi-threaded executor.
Actual Results
See repo (panic when running with a single-threaded executor)
Versions and Environment
Wasmtime version or commit:
tokio = { version = "1.29.1", features = ["full"] }
wasmtime = "10.0.1"
wasmtime-wasi = { version = "10.0.1", features = ["tokio"] }

Operating system: Ubuntu Linux (running in WSL on a Windows machine)
Architecture: 64-bit operating system, x64-based processor
Extra Info
This issue was first mentioned in #5306 and is related to #6556

Thanks for the report. I don't think I'm going to be able to put effort into running wasi-tokio on a single-threaded executor at this point, since we're trying to replace that implementation with our preview2-to-preview1 host adapter soon, but I'll see if we can make the single-treaded executor work for the preview2 implementation as it matures.


Improve CONTRIBUTING.md guidelines

https://github.com/grpc/grpc/blob/master/CONTRIBUTING.md

is not fully up to date
seems too long for what it's explaining
doesn't cover the github PR part of the process (explanation of our merging rules, the need to squash commits etc.) - many of these things we keep explaining over an over in PRs (and by that we spend way too much time handling even trivial contributions).
specifically, it should mention the sanity tests  (generate_project.sh and code formatting..).

We also need to clearly state the responsibilities of contributors and gRPC team (e.g. we need to handle PRs timely but we will close PRs that don't follow the rules).


sk_function.invoke_async(input=context) seems to have an empty prompt

Describe the bug
When running this sample, the notebook cell below always returns Hi there! What would you like to talk about? as if the prompt is empty no matter what the user_input is set to
context["user_input"] = "Hi, I'm looking for book suggestions"
bot_answer = await chat_function.invoke_async(input=context)
print(bot_answer)

On the other hand, this works as expected
context["user_input"] = "Hi, I'm looking for book suggestions"
bot_answer = await kernel.run_on_vars_async(context, chat_function)
print(bot_answer)

Therefore something is not right with invoke_async()
To Reproduce
Steps to reproduce the behavior:

Go to this sample
Run the 6th cell
Scroll down to

context["user_input"] = "Hi, I'm looking for book suggestions"
bot_answer = await chat_function.invoke_async(input=context)
print(bot_answer)

See the output always being "Hi, I'm looking for book suggestions" no matter what the user_input is set to

Expected behavior
An output changing in relation with the user_input
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: MacOSX
IDE: VS Code, Jupyter Notebook

Additional context
Add any other context about the problem here.

Known issue! A few things, make sure you have the latest code and latest pip. We don't have the run_on_vars_async anymore.
For this example invoke_async needs to be called with variables=context
so chat_function.invoke_async(variables=context)
Will update the notebooks soon with this!

Closed by https://github.com/microsoft/semantic-kernel/pull/672

Closing due to #672 being done.


A novel generalized feature importance method

Hi Team,
I am pleased to introduce a generalized feature importance method that I have developed, inspired by the approach implemented in the h2o library. The h2o library's feature importance method relies on the weight matrix from the first two hidden layers of a trained neural network. In my work, I have devised a Python-based generalized version of this method, employing principles from matrix algebra to estimate feature importance. The mathematical formulation, which uses only one hidden layer, is detailed in this publication (https://www.worldscientific.com/doi/abs/10.1142/S0129065797000227).
To provide further insight into this novel approach, we have shared a preprint outlining the mathematical foundation of the proposed generalized feature importance method. You can access the preprint here (https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>6510v1).
I have also implemented a Python function that can be used to estimate feature importance when provided with a trained neural network. The method employed in this function demonstrates remarkable speed compared to other existing techniques. Additionally, it has been rigorously validated on simulated data, successfully capturing true associations.
I am excited about the possibility of contributing this function to the Keras feature importance estimation methods section. Please guide me on the next steps in this regard.
Best Regards,
Devashish Tripathi
PhD Biostatistics
National Institute of Biomedical Genomics
India

inspired by the approach implemented in the h2o library

Do you use H2O yourself? What do you use it for?

I don't use H2O. I was working on a problem where author previously implemented ANN using H2O for modelling genotype environment association.

Is your implementation and an example of invoking it on a Keras model available somewhere?

Hi @sachinprasadhs, apologies for the delay. Here is the software implementing the proposed method. Let me know if you face any issues.
https://github.com/Devashish13/RAISING


feat: add ApplyQueryBuilder

This allows to write code like this:
func addWhere(q bun.QueryBuilder) QueryBuilder {
    return q.Where("id = ?", 123)
}

// Alternatively.

db.NewSelect().ApplyQueryBuilder(addWhere).Scan(ctx)
db.NewUpdate().ApplyQueryBuilder(addWhere).Exec(ctx)
db.NewDelete().ApplyQueryBuilder(addWhere).Exec(ctx)

@derkan what do you think? Please note that I also renamed Query() QueryBuilder to QueryBuilder() QueryBuilder.

@vmihailenco it is fine for me, this gives a better API for the lib.

@vmihailenco could you please provide a real example of how this is used? I am struggling to figure out how to chain queries with this. thank you :)


[1.15.2] mod does not load defaultconfig

Hi,
i'm using:

Minecraft: 1.15.2
Forge: 31.0.14
RiddleChests-<IP_ADDRESS>.jar
libnonymous-1.15.2-<IP_ADDRESS>

After starting a fresh pack i recognized that the mod creates two different config files.
riddlechests-client.toml + riddlechests-common.toml.
After moving these two files from the config folder to the defaultconfig folder only the riddlechests-common.toml file was created again. it seems that only the riddlechests-client.toml will be loaded from the defaultconfig folder and not the other one which is not expected.

The client config of the mod is currently empty. Maybe that's why forge isn't copying it from the default folder. Or did you only run it on a server?
Forge simply copies files from the default folder to the config folder if the config file does not exist already.

The client config of the mod is currently empty. Maybe that's why forge isn't copying it from the default folder. Or did you only run it on a server?

I did not run it on a server. I used only my Client.

Forge simply copies files from the default folder to the config folder if the config file does not exist already.

I know this and i like this feature because modpack creators can easy deploy default config files that matches to their pack.
But in your mod the empty file (riddlechests-client.toml) will be loaded from the default config folder.
The riddlechests-common.toml file will created every time, no matter if I haved a file in the defaultconfig folder or not. And that is the issue. In my opinion your mod should check for both files if they are in the defaultconfig or not. it is useless to check only the empty file and not the file which has values...

I have no idea what you mean by "But in your mod the empty file (riddlechests-client.toml) will be loaded from the default config folder." It's an empty config. There is nothing to get loaded there. How do you even know it gets loaded?
Neither do I understand this: "The riddlechests-common.toml file will created every time, no matter if I haved a file in the defaultconfig folder or not." Of course it will be created every time. If you have a file in the the defaultconfig folder it will simply copy over that file, otherwise it will create the file with the defaults from the mod.
Also: I'm not actually doing anything, I'm just registering both configs with Forge. In the same manner. I'm not specifying any file names or places where to save or load them from. Most mods have this exact same behavior.

How do you even know it gets loaded?

I read the logfile. The logfile shows exactly what the forge mod loader is doing. It shows if a new file with default values is created or only loaded.

Of course it will be created every time. If you have a file in the the defaultconfig folder it will simply copy over that file, otherwise it will create the file with the defaults from the mod.

Why should Forge do a different behavior for two different config files from the defaultconfig folder?
That does not make any sense.
For me as a user the following happens:
Forge loads all mods from the "mods" folder and check if there is a config file in the "defaultconfig" folder.
If the specific file exits it copies this file to the "config" folder. So far so good.
if Forge did not find the specific file it creates a file in the "config" folder with default values which are defined in the mod inside.
And what in your mod happens is that the file riddlechests-common.toml was not loaded from the defaultconfig folder. It was created at every startup when the config folder was empty, even when the defaultconfig folder has your file. And that does not happen with the other config file that your mod creates.


[Sub-issue] Use Constraint Layout in fragment_media_details.xml

To apply ConstraintLayout to fragment_media_details.xml
This is a sub-issue of  #62
Would you like to work on the issue?
Yes
This sub-issue seems been duplicated, I'm not sure what to do now.

I have converted the layout to Constraint along side fixing the scrolling issue on the fragment media details.xml. Please check my pull request for review. Thanks.

@kiranofans since @gconnect has already worked on it can you work on some other issue. You can create a similar issue for other page.
We will make sure issue created by you is not assigned to some other person if you are interested in working on it from next time.

@ujjwalagrawal17 Sure, I just found out this issue has been duplicated, my mistake. And I'm not sure what can I do with this one


Adjusted for changes in the Github Api

This is not correct, please see GitHub's documentation on downloading an asset https://docs.github.com/en/rest/reference/repos#get-a-release-asset


How to add wildcard for subdomain?

Hi, I'd go through all the possible documents for this library.
But I couldn't know how to work with subdomains.
Can you please link the related document or any other way to deal with it.

Well, Navigo is mainly a client-side router. I'm not sure what you mean by "wildcard for subdomain". The router works on the URL path not on a host(domain) level.


Create codeql-analysis.yml

Automatically detect common vulnerabilities and coding errors.

[ ]  ************

What's up?


Splitting core and archimate

I am preparing a feature branch which is the beginning of the split of the current codebase of Archi to two parts: general metamodel-independent modeling code, and archimate metamodel support. Before even thinking of submitting this, I would like to make sure that I am going in a direction which is okay for you.
Here are the goals and constraints. Please reply which is acceptable and which is not, and add your own constraints.
Goals:

Split the general part (core) and the archimate support in a way which supports creating a product (in another repo) which depends on the core, and have different metamodel than archimate.
Archi builds correctly
All of the current unit tests of archi run successfully
Core and archimate support have their own unit tests such that when building Zenta, core unit tests can be used and archimate unit tests are not in the way.
In the core there should be no reference to the archimate metodology beyond the fact that the base package name is com.archimatetool.
The core will incorporate all of the minimally needed frameworks which support any functionality of Zenta. That is when such a framework is proposed by Zenta developer, the discussion will be about how to support the feature with minimal modification in the core and not about whether the feature should be supported.
No intention to do all of the split in one step. This feature branch is about setting up the infrastructure to do so. Goals 2. and 3. should always be satisfied nevertheless.

Constraints:

The core and the archimate parts will be in their own directory, both of them have their own tests directory.
The core will incorporate frameworks which support functionality needed in Zenta but not needed in Archi, and the other way around. That is the functionality will be implemented in the respective product, but the minimally needed modifications to support that functionality are implemented in the core.
The core will not incorporate any functionality which is conflicting with the functionality of either Archi or Zenta. The implementation of functionality which differ with the two products will be factored out into product-specific plugins. This includes metamodel-dependent things like metamodel-specific viewpoint logic, but also those core functionalities where we cannot agree, like the movearound one. The patch to factor out those functionalities in a way which does not break any of the products should be made by the one who do not want to see the functionality in the core.
The core can incorporate any functionality which is useful for both of the products. The patch to factor in these functionalities in a way which does not break any of the products should be made by the one who wants to see the functionality in the core.
The ecore model will be split into two bundles, somewhere around the current "ArchimateElement" element.
ArchimateElement will be renamed to "ModelElement".

See my new Feature Request related to this (#110 I think).

#257

Magwas, did you make any headway on your above proposal?

No, unfortunately I have forked the project due to communication problems. My fork is called Zenta.

"communication problems" - please elaborate.

We (Phil and me) were unable to reach a common understanding. I do not blame anyone, I have just tried to state facts in an unbiased way.

Want to build a gerneral purpose tool with extensible and customisable metamodels in Eclipse?
The Sirius project is thataway ------------------>
Good luck!
Want an ArchiMate tool?
Archi is here.


debug fails/command line works

I have a program i've been running forever. Had some config issues and ended up removing and reinstalling node, npm, etc.
if i run my program from terminal everything works fine. I can do so from the terminal window in vs code or standalone terminal and it is fine. i can run by launching from npm or node. all works
when i go to the debugger in vs code, i get
Exception has occurred: ReferenceError: Blob is not defined
at Object. (/Users/xxx/Documents/GitHub/pbt-inventory-matcher/node_modules/xlsx/jszip.js:1506:28)
I've tried a few versions of xlsx.  We've tried on different computers and it works fine. But I can no longer debug on this one specific computer.
I'm sure some config issue of some sort. My node and npm debug settings are the same across both vs instances.
FWIW, I also need to Force Quit vs code when i close it.
In the interim i will reinstall vs code
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)
OS version: Darwin x64 20.2.0

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2170B CPU @ 2.50GHz (28 x 2500)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 4, 3

Memory (System)
64.00GB (11.41GB free)

Process Argv
--crash-reporter-id 1f2db8b5-9c0e-4aed-a392-efeed3a128eb

Screen Reader
no

VM
0%

The problems started when i mistakenly installed node again. You guys helped me with that. Subsequently, as noted, I removed nvm, npm, node, and my various node_modules folders. I also removed vs code. Reinstalled node. npm install all packages. reinstalled vs code.
same issue

The problems started when i mistakenly installed node again. You guys helped me with that. Subsequently, as noted, I removed nvm, npm, node, and my various node_modules folders. I also removed vs code. Reinstalled node. npm install all packages. reinstalled vs code.
same issue

general symptom seems to be libraries are missing underlying components or don't find them while debugging but work fine in terminal

general symptom seems to be libraries are missing underlying components or don't find them while debugging but work fine in terminal

also, sometimes i get:
node: --inspect-publish-uid= is not allowed in NODE_OPTIONS
Process exited with code 9
fwiw

also, sometimes i get:
node: --inspect-publish-uid= is not allowed in NODE_OPTIONS
Process exited with code 9
fwiw

node: --inspect-publish-uid= is not allowed in NODE_OPTIONS

This sounds like the same issue as https://github.com/microsoft/vscode-js-debug/issues/911#issuecomment-762554186

Exception has occurred: ReferenceError: Blob is not defined

This is an issue from Node.js; the Node version that VS Code sees in your path is probably outdated. You can see the path to node when it runs in the Debug Console. Using nvm is just fine and may be the easiest way to install a certain version of Node.js, e.g. with nvm install 14. You can then put runtimeVersion: "14.<minor>.<patch>" in your launch.json to use that specific version.

node: --inspect-publish-uid= is not allowed in NODE_OPTIONS

This sounds like the same issue as https://github.com/microsoft/vscode-js-debug/issues/911#issuecomment-762554186

Exception has occurred: ReferenceError: Blob is not defined

This is an issue from Node.js; the Node version that VS Code sees in your path is probably outdated. You can see the path to node when it runs in the Debug Console. Using nvm is just fine and may be the easiest way to install a certain version of Node.js, e.g. with nvm install 14. You can then put runtimeVersion: "14.<minor>.<patch>" in your launch.json to use that specific version.

For the first issue, yes, my bad.
Looking at the second.

For the first issue, yes, my bad.
Looking at the second.

/usr/local/bin/node ./test.js
from terminal:
which node
/usr/local/bin/node
node -v
v14.15.4

/usr/local/bin/node ./test.js
from terminal:
which node
/usr/local/bin/node
node -v
v14.15.4

From terminal:
node test.js
..works
/usr/local/bin/node ./test.js
..works
from vs code debugger, using Run Current File:
/usr/local/bin/node ./test.js
This method of applying plugins is deprecated. See documentation for details.
Exception has occurred: Error: Cannot find module 'webworker-threads'
Require stack:

/Users/xxx/Documents/GitHub/xxx/node_modules/natural/lib/natural/classifiers/classifier.js

From terminal:
node test.js
..works
/usr/local/bin/node ./test.js
..works
from vs code debugger, using Run Current File:
/usr/local/bin/node ./test.js
This method of applying plugins is deprecated. See documentation for details.
Exception has occurred: Error: Cannot find module 'webworker-threads'
Require stack:

/Users/xxx/Documents/GitHub/xxx/node_modules/natural/lib/natural/classifiers/classifier.js

or if i run a different file i get an exception inside bluebird
but from terminal, everything runs just as expected

or if i run a different file i get an exception inside bluebird
but from terminal, everything runs just as expected

any suggestions on what i might look at? again, terminal seems to use the same version of node and works fine. but in the debugger things fail.
same code on a different machine with an older version of node, and everything runs fine.
same code on a different machine with same version of node and everything runs fine

any suggestions on what i might look at? again, terminal seems to use the same version of node and works fine. but in the debugger things fail.
same code on a different machine with an older version of node, and everything runs fine.
same code on a different machine with same version of node and everything runs fine

For another clue:
I did a git clone to a fresh directory
there i can run
so i suspect there are some settings in the project that are causing this issue... any magic areas i can look for?

For another clue:
I did a git clone to a fresh directory
there i can run
so i suspect there are some settings in the project that are causing this issue... any magic areas i can look for?

So, everything is now working again.
Don't know what was causing the issue. I'm guessing some  hidden something file.
But after a complete clone/reset up and recreation of the launch files, everything works as expected
the only odd thing is the sometimes vs code refuses to open or save a file or open a folder, and when i close vs code it doesnt'  close... i need to force quit.
any ideas on that one?
(note, i do have a keychain password reset i need to do for github.login for vs studio, perhaps that is related to the force quit?)

So, everything is now working again.
Don't know what was causing the issue. I'm guessing some  hidden something file.
But after a complete clone/reset up and recreation of the launch files, everything works as expected
the only odd thing is the sometimes vs code refuses to open or save a file or open a folder, and when i close vs code it doesnt'  close... i need to force quit.
any ideas on that one?
(note, i do have a keychain password reset i need to do for github.login for vs studio, perhaps that is related to the force quit?)


Caret close option list

Is it possible to make the caret close the list of options in search mode?

Added in 2.1.0


Merge rotor adaptor ring and adaptor

Also, switched to using the chamfer on the rotor the same way the aluminum motor caps do. That is, rather than pushing against the chamfer in an attempt to centre the adaptor, instead use the chamfers to guide a toleranced shaft into a hole, which aligns the adaptor.
In addition to being less dumb, it also lets us tighten down the bolts all the way without worrying about the part flexing unevenly (Since it'll sit flat against the rotor). So all around should be much better, at the cost of allowing a tiny bit of misalignment due to the tolerance between the OD of the printed ring and the ID of the rotor barrel. But this is what the other side does, so seems legit.

I'll also note, in the CAD for the M365 cap, the ring OD is 112.5mm instead of 112 because measuring things is hard. So unlike the CAD, the real M365 cap sits flush, identical to how the new rotor adaptor is pictured, above.
Just wanted to note this in case you try to compare the M365 cap in the CAD to the new rotor adaptor. Don't, the M365 cap is wrong :P

Yeah I wanna wait to merge until it's tested


Extract flash+UICR for MicroPython file retrieval

Right now uBitTool can either read the flash contents or the UICR, but not a hex file containing both.
If a hex file (with MicroPython files) without the UICR is dropped into the Python Editor it cannot read the filesystem, so providing the functionality will be useful to retrieve that data.

Done in https://github.com/carlosperate/ubittool/commit/43a17b4e0ac786e5c62f45704ab4a102a1767580, although more tests are still needed.


SDK 48 - Merge Into Expo

Why
In its current form, this plugin relies heavily on regex based mods in order to function, which means with every new expo SDK (which means every react-native update (which means every Podfile change)), we need to recertify that this plugin works. It's a cumbersome process, and one that's probably better managed at the time we're changing the Podfile.
How
The plan is to add the core Flipper functionality to expo-build-properties, enabling basic Flipper support via an official config plugin. Developers on expo can then include Flipper the same way that they would include something like react-native firebase: add the necessary modules via npm and then configure the build properties plugin.
In practice, the expo-build-properties configuration would look like
{
  "expo": {
    "plugins": [
      [
        "expo-build-properties",
        {
          "android": {
            "flipper": true // or a flipper version string such as "0.128.0"
          },
          "ios": {
            "flipper": true // or a flipper version string such as "0.128.0"
          }
        }
      ]
    ]
  }
}

The template Podfile used by expo during expo prebuild and EAS would use these new config plugin properties to enable additional features. This is a pattern already used by the properties plugin for enabling things such as use_frameworks.

[x] Update expo-community-flipper to not perform podfile changes if suitable arguments for flipper exist inside of use_react_native.  This is already possible thanks to IOS_HAS_FLIPPER_ARG /use_react_native!\([\s\S]*^\s*:flipper_configuration\s+=>/gm. It's an impefect regex, but is good enough for the purpose of migrating from a community plugin to the build properties solution
[x] Add additional properties & typings for expo-config-properties branch & diff
[x] Add backward-compatible change to Podfile that supports upcoming properties (when this lands, it WILL disable flipper on iOS for those using the plugin because of the regex). However, what will happen is Flipper does not get added by us, and we can simply emit a proper warning telling folks to migrate to the official supported config plugin
[ ] Release an SDK48 version of plugin that informs users to migrate to the official solution

With SDK 48, this module can be marked as deprecated, and we can start solving the problems together in the expo issue tracker, discussions, and discord.
Risks & Mitigation
Simplifying the configuration does have a couple of risks. It's possible (though increasingly unlikely) that a major Flipper change adds burden to the Expo team. It's also possible that an underlying lib (ie Folly) goes off the rails and we create a flipper+SDK combo that simply doesn't work. Thankfully, not including the config values for cfg.ios.flipper would turn flipper off,
Flipper could create AppDelegate changes or other stuff outside of the scope of the config plugin. I'd propose we cross that bridge if it comes to it. All signs point to Flipper being available in react-native, and at least one known working version being in the react-native layer by default.
FYSA
/cc @Kudo

Nice!
Would this also mean we can somehow exclude flipper entirely for non-development builds? Currently, even if I exclude the config plugin, the iOS build fails (I assume because it does something fancy when finding react-native-flipper in node_modules or something. Is it the auto-linker's "fault"?).

Would this also mean we can somehow exclude flipper entirely for non-development builds?

That's the plan. In the same way the use_frameworks isn't exposed unless you've enabled the associated build property, flipper would only be enabled if the build property was enabled.
I've also split your comment into its own issue; that sounds like a bug if it's still being rolled into the app and blocking the build.

Branch and diff: https://github.com/expo/expo/compare/main...jakobo:expo:expo-build-plugins/flipper
This is kind of a rough first pass at the expo SDK changes

Plugin

Uses an Omit<> trick I learned a month or two ago for the typing that gives us typeahead for "known" strings while still allowing an arbitrary string type. Otherwise "enabled" | "disabled" | string is just a verbose way of writing string.

iOS

Changes use_frameworks to not be called unless the build property is explicitly set. Previously, it was calling use_frameworks! with nil linkage which would still create the conflict with flipper
Adds a local expo_flipper that starts in the explicit disabled state, and then optionally upgrades it to either enabled or a specific version string. It does not allow specifying RSpec, Folly, etc as that's well beyond the common use case
Adds a test that ensures you cannot have a useFrameworks and flipper set on the iOS config at the same time

Android

Uses a safe withGradleProperties mod, applying the changes only if the flipper config for android is set, and only if it is set to "enabled"
Disabling flipper in Android is now a huge set of gradle changes, and its unlikely the FB or Flipper teams are going to ever have a flag like we have with Podfiles

wow, that's awesome! thanks for picking up this quickly!

Changes use_frameworks to not be called unless the build property is explicitly set. Previously, it was calling use_frameworks! with nil linkage which would still create the conflict with flipper

i think this is not quite true. as we have the tail if in
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks']

i think this is not quite true. as we have the tail if in

Chatted with Kudo via discord, as he had a working ruby repl. The if statement properly nulifies the entire line (my original understanding was that it was a conditional for the linkage prop). Will revert the changes tied to use_frameworks based on his feedback.

Is there any breaking chances to how a dev client is built moving forward? or can we still rely on the FLIPPER_DISABLED flag?

@rlam3  To keep max backwards compatibility for the merge, I think it's worth keeping the FIPPER_DISABLED (deprecated and to remove in SDK49), but also support the semi-official NO_FLIPPER flag from the official Podfile template ref.
This way we're trending towards matching the templates & code found through searching up issues here or on google.

Would be good to add the official support to the README! I only knew about it from Twitter...
https://twitter.com/jakobo/status/1629531998262837249?s=20
Thanks for all your hard work @jakobo.

I've got some time this week to get the release out. It'll be a readme change and then running npm deprecate on v48.x, plus updating & closing relevant tickets plus a pinned issue pointing to the new docs.
Thanks for the nudge @nandorojo ❤


404 error infinite loop!

When something fails to load, it refreshes the page! This is fine in /Play, but it's not ok in the chats section! https://evictions.swipesforscience.org/#/review/9ad4329251daebacb60e6aa014e951fb
instead of an alert, why not a  https://bootstrap-vue.js.org/docs/components/alert with a button to hit "refresh" instead of doing this automatically

Hi, I am interested to work on it if i get some mentoring


Is there a way to modulate / check template PDB used for modeling ?

Hi,
I have two questions.
1
When I want to run the alphafold modeling without using template,
I set the argument max_template_date to 1900-01-01.
However, when I check the pdb_hits.sto file in the msas directory, there is several results for pdb searches.
I want to know whether the set of max_template_date to 1900-01-01 is a right way to avoid using template during modeling

2
I want to check the template PDB ID used for modeling.
Is there any log file (or something else) about it ?
Thanks.

Yes, setting the max_template_date to a date in the past such as 1000-01-01 is sufficient to exclude templates from the modeling (we search first, then do the filtering, so pdb_hits.sto is expected to be populated in any case).
Apart from pdb_hits.sto, you could also check features.pkl - this is the dump of the features passed to the model from the data stage.

Yes, setting the max_template_date to a date in the past such as 1000-01-01 is sufficient to exclude templates from the modeling (we search first, then do the filtering, so pdb_hits.sto is expected to be populated in any case).
Apart from pdb_hits.sto, you could also check features.pkl - this is the dump of the features passed to the model from the data stage.
@AnyaP Is there any chance you might also know the answer to this one? #438

Anya, Would you mind expanding on which key in features.pkl provides the PDB IDs of the post-filtered templates used for modelling?
I went through the key-value pairs in my features.pkl file output by Alphafold 2.3.1 (multimer) and can't seem to find it.
Potentially related: Issue#625 (2022-11) mentions that the key 'template_domain_names' is found within features.pkl when --model_preset=monomer but not when --model_preset=multimer.


not function

Changelog category (leave one):

New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
not() function.

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

Updated release notes.


Cosmetic Issues

Here is a short list of cosmetic changes to make on the "cards":

[ ] Refer to word counts as "Total word count:"
[ ] Refer to unique words as "Unique words:"
[ ] Place "Total word count" first

language used to describe counts changed and re-ordered.


Disable net461 build on non-Windows platforms

When trying to work on EF Core on Linux, the build is complicated by the fact that some projects target net461. While various workarounds exist for targeting .NET Framework on non-Windows platforms with mono, this is complicated. In addition, while the test infrastructure does contain logic to skip .NET Framework on non-Windows platforms (see test/Directory.Build.props), 3 projects under src do not.
This PR conditionally adds net461 in these 3 projects, only when on Windows. I'm not sure what effects this could have (I don't know the EF Core build system well yet), but it does help me build the project. If this needs to be done in some other way (or is not possible for some reason), please let me know. This is not urgent.

What is exact issue you are seeing? We are just compiling on net461 and last I checked it was working fine on Linux /Mac

Interestingly, whenever I dev I temporarily remove all but one TFM to make things faster. I have just been keeping a temporary Directory.Build.Props around for this, but maybe we can make it a configurable switch in some way such that anybody can easily develop just targeting on thing, since I believe this is the most efficient way to work in most cases.

Note: the Ubuntu/MacOS builds are failing because the Oracle provider tests are executed. As all other tests exclude net461 on non-Windows (via Directory.Build.props), it may make sense to do the same for the Oracle tests. I'll wait for your feedback...

An alternative would be to add a reference to Microsoft.NETFramework.ReferenceAssemblies. We were planning on doing this anyways as a part of upgrading tests to .NET 4.7.2. You can see an example of this here: https://github.com/aspnet/HttpSysServer/commit/3e08bf8833827737a5bd1b64210c7a5e8e2941ec. The important bit is this:
  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' ">
    <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="$(MicrosoftNETFrameworkReferenceAssemblies)" PrivateAssets="All" />
  </ItemGroup>

Also, if you upgrade KoreBuild, I added a fix a few days ago to completely skip .NET Framework tests on non-Windows platforms: https://github.com/aspnet/BuildTools/commit/ee0ad5bd4ede948c6954704b621acc0c83445e5d


Add sheared property for sheep

Hello. Noticed the sheared property for sheep does not exist for the adjust command. For example:

adjust <context.entity> sheared:true/false

Could you please add this in? Thank you.

Thanks @mergu


Update/roi cluster fusion nodelet

PR type

[x] update

ros2 launch roi_cluster_fusion roi_cluster_fusion.launch.xml
[INFO] [launch]: All log files can be found below /home/ros2-foxy/.ros/log/2021-02-09-08-15-38-750329-ros2foxy-6085
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [roi_cluster_fusion_node-1]: process started with pid [6087]

https://github.com/tier4/AutowareArchitectureProposal.iv/pull/321 has cherry pick version so close this


Add basic documentation about what Fleek is?

I'm filing this issue out of frustration. Nowhere on Fleek's page or on this repo is explain what actually Fleek is.

Install and manage all the tools you need to be productive. Use a simple command line tool or edit one YAML file and you're off to the races.
…
Fleek is an all-in-one management system for everything you need to be productive on your computer.

What does that mean? I type a command and it will populate a shell with the tools I setup in a yaml file? Isn't that what devbox actually do?  From where? Like… a package manager and a revision system for my system?

Instant Productivity
…
Take It With You
…
Zero Learning Curve To Start
…
Every Tool At Your Fingertips
…
Eject Button Optional
…

There's literally nothing about what this tool actually does.
It's frustrating because there's so much documentation, but it's missing the most basic info.

Alright, I had to ask on devbox Discord to get an explanation.
Let me try to write a short paragraph that, I hope, encapsulate the essence of Fleek:
"Fleek manages your $HOME directory and dotfiles, and let you install packages. All can be configured in a declarative way (Yaml file) letting you switch profiles easily and deploy a new environment fast. Good to produce deterministic and reproducible environment, perfect for your personal computers or your CI setup".
Then add some details about Nix & all.
Move down all the fuzzy marketing paragraphs (("Instant Productivity" / "Zero Learning Curve To Start" … sic) and the weird vocabulary that requires understanding Fleek to understand Fleek (Bling, sparkle).

The website says all of these things and many more.

I re-read the website and you're right, there is no basic explanation!
I'll add docs.


ZEPPELIN-656 - Support saving notebooks to Azure cloud storage

What is this PR for?
This is to allow the usage of Azure for notebook storage.
What type of PR is it?
Improvement
Todos
N/A
Is there a relevant Jira issue?
ZEPPELIN-656
How should this be tested?
A full integration test will require an Azure storage account. I could provide an account offline if necessary unless someone already has one. I based this off the S3 storage repo. I did not see any integration tests for the S3 storage repo, but let me know if I need to add some for this.
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No, updates were made to zeppelin-site.xml.template explaining config settings

Apologies for this, opened a new PR with proper commits


Docs should indicate not 3.4 compatible

The documents should indicate what python versions this is tested to work with.

Sorry about that. I am not very fluent in 3.4 or have had much experience with porting code. I have made the latest commit 3.4 compatible.
Please let me know if you experience any problems in 3.4


go/types: Config.Check tries to create go.sum

What version of Go are you using (go version)?

$ go version
go version go1.12.7 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/user/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build824852661=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Using type types.Config.Check() on a file importing a package with go.mod but without go.sum causes an attempt to write the missing go.sum file. I realize not having go.sum is a mistake on the repo maintainer side, but there are projects like that out there and they're used. This in turns causes problems in applications that depend on the type-checker to find out some information about source code (e.g. ObjectBox code generator).
See https://github.com/vaind/go-type-checker-issues for a minimal example that shows the issue. Try running the following code as a non-root user on linux:

$ git clone git@github.com:vaind/go-type-checker-issues.git
$ cd go-type-checker-issues/gosum
$ go test ./...
--- FAIL: TestGoSumPermissions (0.71s)
    gosum_test.go:39: gosum.go:5:4: could not import github.com/anacrolix/missinggo (type-checking package "github.com/anacrolix/missinggo" failed (/home/user/go/pkg/mod/github.com/anacrolix/missinggo@v0.0.0-20180725070939-60ef2fbf63df/strcase.go:6:2: could not import github.com/huandu/xstrings (go/build: importGo github.com/huandu/xstrings: exit status 1
        go: writing go.sum: open<EMAIL_ADDRESS>permission denied

        )))
FAIL
FAIL	github.com/vaind/go-type-checker-issues/gosum	0.711s

Interestingly a combination of go get & go test works fine, but unfortunately that doesn't solve the problem if you have such imports in your own project...
What did you expect to see?
I expect the type checker wouldn't try to create a missing go.sum file.

@jayconrod @bcmills @griesemer

This is not a type-checker issue - go/types doesn't know anything about Go modules or checksums. Perhaps the importer causes this, but it needs investigation. Re-title once root cause is known.

Any progress? It's still an issue even with Go 1.13

Possibly related to #34860.


gateway: add operation_name field for task polling

Description of change
Each new project task gets created in the context of a parent span. With open telemetry, this boils down to spans linked through context propagation, which can be easily visualized with Datadog in APM Traces. What is difficult though is to filter spans based on the relationship between them (which should get easier after the GA of [1], thanks @Kazy for pointing me to the article), so that only a certain selection of spans can be returned and counted for certain metrics.
In my specific case, I want to filter for all spans created by the poll function of a ProjectTask that has an attribute called ctx.operation_name. This attribute is attached to the span only in case the result of the poll function is TaskResult::Done(_). This is relevant because ProjectTasks are created and driven in the background as a result of gateway APIs handlers and the ambulance. For now, the only difference I am interested in is determining the number of spans that have the ctx.operation_name attribute equal to create_project. In this way, Datadog will also be able to count all ProjectTasks that end with a TaskResult::Done(_) and that is started by an operation called create_project.
How has this been tested? (if applicable)
TODO

This works for this particular problem, but I had in mind a broader solution to that problem, such that every downstream span would inherit that attribute. While I was thinking about doing it ourselves with Layer/Context, it seems like this already exists in the OPTL world under the name of Baggage.
This could be time consuming to implement though, so maybe we want to trade the speed of implementation and revisit the more general implementation latter.

Didn't know about Baggage and yes, it looks like what we need, but I am not sure how that would work out with DataDog.
I also think figuring out how to use a Layer or Context to make context propagation propagate an attribute that will be shared by an entire distributed trace is also an option, but I am not sure about a good way to implement it, so any ideas are welcome. In the meantime, I think this solution should unblock us for our use case (after I confirm it works locally).


[mesheryctl] Kubernetes: system logs assumes Meshery Operator pod

See mesheryctl Command Tracker for current status of commands.
Current Behavior
mesheryctl users have no way to getting logs from Meshery components deployed on Kubernetes.

Error: a container name must be specified for pod meshery-operator-7f448b4fdb-hv5kq, choose one of: [kube-rbac-proxy manager]
Usage:
  mesheryctl system logs [flags]

Flags:
  -h, --help   help for logs

Global Flags:
      --config string    config file (default location is: /Users/lee/.meshery/config.yaml)
  -c, --context string   (optional) temporarily change the current context.
  -v, --verbose          verbose output
  -y, --yes              (optional) assume yes for user interactive prompts.

Host OS: MacOS
Meshery Version: v0.5.12
Platform: Kubernetes (Docker Desktop)

Acceptance Tests

By default, users should see logs from Meshery Server.
Users should be able to specify logs from any of the other Meshery pods.

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation

@layer5io/mesheryctl-contributors

@leecalcote This is because the operator pod has 2 containers and we do not explicitly specify which container to get the logs from.
Here is the error reproduced with kubectl-

We did not have to handle this before because all the other pods have only one container in it as shown below and only the operator pod has 2 containers-

We can fix this by forcing the logs from all the containers inside a pod. Will make a PR ASAP.

There may not be a straightforward way to do this with the client-go package. There is a workaround, but I will check if we can find another way.


moved Genie to test dependency

This PR moves Genie to test dependencies.  That is, Genie is now only a dependency for testing and does not need to be installed with SwagUI itself.  This lightens the dependency load for using SwagUI with simpler servers such as Mux.

Hi @ExpandingMan good catch, thanks!

Not sure why we're seeing 1.6 test failures... works for me locally on 1.7.  CI always seems a bit iffy for network stuff unfortunately.

this is weird, I tested locally running Julia 1.7, HTTP.ExceptionRequest.StatusError(401, "GET", "/custom.css", HTTP.Messages.Response: gets 401 if Genie is under [extras], but if it's under [deps], all tests pass, not sure why though

Looks like it has to do with file read permissions, it might be reading from a different location when it's in [extras].

It looks great, merging it

Great.  A tag would be appreciated, when you get to it.  The latest tag doesn't use CDN yet and is very broken with anything but Genie.


Photobucket integration

This code is already in use by FB and PB. Contains:

photos importer
videos importer
auth extension

Pls rescan this PR, as CLA issue should be resolved as well

This looks good to me in general. Are there plans to also add an exporter? We typically shy away from importer only adapters  in case someone is trying this project out locally or otherwise and wants to get their data exported from the third party service

Are there plans to also add an exporter?
@seehamrun  Most probably not in the nearest future, for several reasons. One of them - for now we are working on the new FE app and as a result rewriting out graphql read layer, so if we do any steps forward writing of the exporter - most probably we will have to significantly update it eventually.

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


Add record field goto def support

Purpose

With this fixes the following

Go to definition support for the futures and record field definitions
Windows build failure of go to definition test cases due to ANTLR compilation unit name

Codecov Report

Merging #14386 into master will decrease coverage by 0.4%.
The diff coverage is 88.88%.

@@             Coverage Diff              @@
##             master   #14386      +/-   ##
============================================
- Coverage     64.67%   64.27%   -0.41%
  Complexity      425      425
============================================
  Files          2187     2187
  Lines         96939    96949      +10
  Branches      12967    12971       +4
============================================
- Hits          62699    62317     -382
- Misses        29236    29673     +437
+ Partials       5004     4959      -45

Impacted Files
Coverage Δ
Complexity Δ

...util/references/SymbolReferenceFindingVisitor.java
81.51% <100%> (+0.35%)
0 <0> (ø)
:arrow_down:

...ang/langserver/util/references/ReferencesUtil.java
83.62% <83.33%> (-0.59%)
0 <0> (ø)

.../ballerinalang/net/jms/AbstractBlockingAction.java
0% <0%> (-100%)
0% <0%> (ø)

...ic/durable/subscriber/RegisterMessageListener.java
0% <0%> (-100%)
0% <0%> (ø)

...allerinalang/net/jms/LoggingExceptionListener.java
0% <0%> (-100%)
0% <0%> (ø)

...oint/topic/subscriber/RegisterMessageListener.java
0% <0%> (-100%)
0% <0%> (ø)

...tiveimpl/endpoint/topic/publisher/action/Send.java
0% <0%> (-100%)
0% <0%> (ø)

...dpoint/queue/receiver/RegisterMessageListener.java
0% <0%> (-100%)
0% <0%> (ø)

.../jms/nativeimpl/endpoint/session/InitEndpoint.java
0% <0%> (-100%)
0% <0%> (ø)

.../nativeimpl/endpoint/queue/sender/action/Send.java
0% <0%> (-100%)
0% <0%> (ø)

... and 74 more

Continue to review full report at Codecov.

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


Add "Delete" API to Generator

The "Delete" API should be modeled on "Create," since it's a similar transactional process.

Used it for the first time just now and it worked great!


Fix regression for us-east-1

Ticket
N/A
Changes
Fix regression introduced by #292
Context for reviewers
I was careless and didn't test for us-east-1 after fixing for us-west-1 since I assumed CI ran but it actually didn't until merged to main. This change fixes the regression.
(As an aside, I think it's silly that the AWS CLI interface requires this separate parameter for regions different from us-east-1 but doesn't allow it for us-east-1)
Testing

Configured project-config/main.tf to use us-east-1
Ran make infra-set-up-account ACCOUNT_NAME=dev
Destroyed everything with make -f template-only.mak destroy-account

Cleaned up the repo and did the following steps for testing us-west-1:

Changed my AWS config to default to us-west-1
Changed project-config/main.tf to use us-west-1 as default region
Ran make infra-set-up-account ACCOUNT_NAME=dev
Destroyed everything with make -f template-only.mak destroy-account

I know, right? I mean it's silly enough in my opinion that AWS CLI doesn't just take the --region parameter and automatically do the right thing under the hood. But 🤷


Package.json license

Add this code into package.json
"license": "Apache-2.0",
    "licenses": [
    {
      "type": "Apache-2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    }
    ],

added but shorter, no need to include licenses, thanks for the suggestion regardless anyways (i can see on why you're spamming 1.0.1 versions but k)

when 1.0.2 will released?

when i finish adding the perfect functions or at least make functions error make more sense besides fix the common package.json file that you had did it in 1.0.1-1, including updating some information in the README file.

ok


Add date input and date column for LHI functionality

          Add functionality that uses Low handicap Index function to account for upward movement limiting of current Handicap Index.

Originally posted by @byork6 in https://github.com/zjordan16/Handicap-Calculator/issues/3#issuecomment-2140672479

Create method to return what date is exactly a year in the past from the current date

Method created


Fix Swift authentication by adding domain information

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Fixes #1352

Thanks for fixing this. Can you update the swift docs and include these new user_domain_name and project_domain_name parameters?

@JosepSampe Added.
Thanks.


Laravel 8.73.2 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.73.2 branch.
Before merging, you need to:

Checkout the shift-ci-v8.73.2 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:information_source: The following Laravel packages were updated as they are known to be compatible with Laravel 8.73. Nonetheless, you should review the CHANGELOG to ensure no additional changes are needed.

[ ] thujohn/twitter

:warning: The Shift build servers run PHP 8. If you are still running PHP 7.4 or lower you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 7 environment.


Tag editor: Value dropdown can be confusing

The autocompletion dropdown of the value field can be confusing:

E.g. the sceenshot looks like segregrated were "yes", but in fact it is "no".
The style difference of the value field and the dropdown menue is too small, at least if no scrollbar is shown. When actively typing a value, this is unlikely a real issue, but when just clicking in a value field, it can be confusing.
Maybe, we can reduce the height of the dropdown items to approximately 80%.

Reducing the height of the dropdown would not look as nice as now. Maybe inserting some blanks on the left side of the dropdown values would be enough. Maybe we could make the change the drop-down icon blank for the selected field also. Together with the light blue colour this might be enough.

I made some improvements in 013253e:
This improves the usability of all the comboboxes, but it especially works great when a combobox appears over other rows of fields (e.g. raw tag editor).

shrink size on left/right to provide more separation from content beneath
adjust box shadow for slightly more visibility
shrink size of first combobox row by one pixel, so that the combobox options will never perfectly line up with rows that they cover (sneaky, but nice)


[hi] Localize volume.md

Signed-off-by: Dipanshu kumar<EMAIL_ADDRESS>Localizes content/en/docs/reference/glossary/volume.md to Hindi content/hi/docs/reference/glossary/volume.md
Fixes :- https://github.com/kubernetes/website/issues/35600

Hey @bishal7679 ,
Could you be please more elaborate what needs to be fixed ?

@i-dipanshu could u pls change your base branch from dev-1.22-hi.1 to main branch


Many issues fixed! Add me as a project maintainer :)

I solved issues #7 #9 #14 #17 #20 #21 and #22
Check out all the updates I made to q5xjs! I'd like to add all these changes to your q5xjs repo. Please add me as a project maintainer. :)
https://github.com/quinton-ashley/q5.js

registerMethod functionality for supporting p5.js addons such as p5play!
automatic global instance creation, can also be user instantiated as well with new Q5('global') like with the previous version of q5xjs
p5 instance mode support
add q5 canvas to a container element with new Q5('global', parentElem) or new Q5(parentElem)
angleMode functionality
loadSound function that returns a barebones sound object with play, pause, and setVolume methods
fixed pixelDensity bugs
fixed text function bug not displaying "0" (falsey value in JS)
fixed keyPressed repeating key presses
made instanceof checks work for q5.js objects of the Color, Vector, and Image classes
the push and pop functions now save and restore style properties like rectMode and strokeWeight
nf (number format) function, which is used in p5play
pow function alias to Math.pow
prevented text stroke from being drawn if the user did not specify a stroke (p5.js behavior)
fixed Vector.lerp implementation
fixed mouseX and mouseY not updating when the mouse is outside the canvas

@quinton-ashley your fixes are great! I couldn't get this repo's code working with eg https://generated.space/ , but https://github.com/quinton-ashley/q5.js runs them ok. Thank you!

Check out q5.js v2
https://q5js.org


Add H705A as RGBIC light

Description

H705A are labeled as RGBIC - they do not look to be of variable length.
Related Issues
Fixes #251
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

jest coverage report 🧪
Total coverage

Status
Category
Percentage
Covered / Total

🟢
Statements
89.68%
400/446

🔴
Branches
53.56%
233/435

🟢
Functions
85.71%
96/112

🟢
Lines
89.61%
397/443

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold


Add support for Support for GCP Cloud Run

Very interesting approach, thanks for the amazing work.
I have a use case where the application is sometimes deployed:

on premise - low traffic environment, simple deployments,
cloud run - for much larger SaaS-type environments

A deployer for could run would be very welcome, any plans for this?

I'm not a project contributor, just a passer-by, but I don't think Cloud Run allows for something like the routing/sharding support in Service Weaver to be implemented easily.

Thank you for your inquiry. This would be a great deployer for sure. We are having some discussions with the Cloud Run team on this. We don't have a timeline, and a concrete plan for an eventual integration yet.
@spetrovic77 might be able to add more on this.

We would love to see community contribution for writing various deployers. Like @szabba mentioned, there are some issues that may be hard to support for Cloud Run, but I think it's fine if routing/sharding isn't supported out of the box.
@crashdump: if you are interested in driving an implementation of a Cloud Run deployer, please let us know. In that case, re-open the issue or create a new one, and we'll try to support you.
Note that we plan to release a guide on writing deployers soon on our blog at https://serviceweaver.dev.


Fix: Added  various missing translations: fr,ja,ru,tr

Closes #2832

It was noted that the app was missing the translation files for the following languages:

[x] French (fr)
[x] Japanese (ja)
[x] Russian (ru)
[x] Turkish (tr)

I have used various tools (mostly AI based) and my own sense to update these. For cross validation, I have tried putting each key in google translation and found things to be great.

Hey @jeanfbrito, kindly have a look at this PR. If you are having any questions, I would love to answer. Please let me know.
Thanks for your time and consideration
Prisha Gupta


WIP: Removed wilt source/target types

This PR supersedes #1313.
As discussed in yesterday's Barcelona meeting and on last Thursday's meeting with @qodfathr @michaelkleinhenz and @maxandersen we no longer do type checking of link ends (source and target).
Because of that the source-link-types and the target-link-types have been removed as well.

@kwk what is it blocking to merge this PR ? Is it in WIP for any reason ? I thought it was ready for review

@kwk what is it blocking you to merge this PR ? Is it in WIP for any reason ? I thought it was ready for review

It is ready for review but I need to get the planner ui counterpart ready to work with the changes first.

Codecov Report

Merging #1444 into master will decrease coverage by 0.33%.
The diff coverage is 69.23%.

@@            Coverage Diff             @@
##           master    #1444      +/-   ##
==========================================
- Coverage   60.46%   60.12%   -0.34%
==========================================
  Files         117      117
  Lines       11108    10975     -133
==========================================
- Hits         6716     6599     -117
+ Misses       3740     3735       -5
+ Partials      652      641      -11

Impacted Files
Coverage Δ

controller/workitemtype.go
83.56% <ø> (+3.12%)
:arrow_up:

controller/work_item_link_type.go
78.08% <ø> (-2.17%)
:arrow_down:

workitem/link/type.go
92.98% <ø> (-0.87%)
:arrow_down:

workitem/link/type_repository.go
64.58% <ø> (-4.54%)
:arrow_down:

controller/workitem.go
81.96% <100%> (-0.17%)
:arrow_down:

workitem/link/link_repository.go
71.06% <100%> (+0.65%)
:arrow_up:

migration/migration.go
55.9% <100%> (+0.83%)
:arrow_up:

gormsupport/postgres.go
52.38% <42.85%> (-4.77%)
:arrow_down:

remoteworkitem/github.go
77.14% <0%> (-22.86%)
:arrow_down:

models/transaction.go
50% <0%> (-20%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

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


Add : Navigation Bar with initial routing setup

Other Changes :
routes.dart

the pre defined routes were moved inside a statefulnavigatioshell

Thanks for the work @Shashinoor13


Ticket 33465 -- Added empty slots to SafeString and SafeData

ticket is 33465
On the off-chance that's accepted, let's at least check that the tests pass everywhere (i.e. that my asserts are robust enough across multiple versions, tbh)
Place your bets on my getting linter errors ... ;)

You wrote on the ticket:

I don't believe this will have any marked performance change

But this does have a small boost, as Python needn't create an empty dict per object. It's tiny, but I can measure it:
In [1]: class without_slots(str):
   ...:     pass

In [2]: %timeit without_slots("thing")
133 ns ± 0.723 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

In [3]: class with_slots(str):
   ...:     __slots__ = ()

In [4]: %timeit with_slots("thing")
130 ns ± 0.624 ns per loop (mean ± std. dev. of 7 runs, 10,000,000 loops each)

But this does have a small boost [...] It's tiny, but I can measure it

Yeah, it was the "marked" part which should've had emphasis on the ticket :) I too see a small difference -- also by exactly 3ns, though mine is 125ns and 122ns ... interesting. Can I just hold in my head that the difference is always around 3ns, I wonder? That'd sure be nice ;)
I've force-pushed and removed the 'testing cpython' tests ... but the Jenkins CI appears to have skipped, only doing the GitHub actions. Shrug?

other places to add slots that speed things up.

The Template node classes come to mind. 🤔

The Template node classes come to mind. 🤔

Alas, would that it were that simple.
There's a couple of compounding issues around the Node API that preclude a simple path forward there, IIRC. The first is that they use and mutate class attributes, so an empty slots definition can't work because those become read-only attributes. Marking those attributes as members of the slots def also doesn't work (and, cap in hand, I can't recall which bit of the spec says why ...). You could move the vars into __new__ and be mostly backwards compatible because it's not an API change most would use, but you can't really move them into __init__ because it's never been a requirement to call super().__init__, but then the cost for creating a Node may increase __new__ + any __init__) so you'd have to be offsetting it enough by introducing the slots for all the builtins (and most of the attributes for any given builtin are only looked up once per render anyway, I think).
So, it may be workable somehow, but not easy. You could probably get some of the memory savings that using slots would provide, by introducing __new__ and returning semi-singletons from an object pool, due to the way Nodes work, though.

@kezabelle Thanks :+1:


For an unknown index into a tuple, Flow neglects potential void types resulting from out of bounds access

The tuple docs claim that "If Flow doesn’t know which index you are trying to access it will return all possible types," but Flow neglects the possible void type:
declare var p: [number];
declare var n: number;
(p[n]: number); //ng, but Flow passes.
(p[n]: number | void); //ok

Related https://github.com/facebook/flow/pull/6823


Rename OWNERS assignees: to approvers:

They are effectively the same, assignees is deprecated
ref: kubernetes/test-infra#3851

/lgtm

merging per /lgtm above (we don't have a submit-queue instance pointed at this repo)


Bottom Signal and Power Routing Layer

The router should be able to connect to terminals that are one layer below than bottom_signal_routing_layer or bottom_power_routing_layer

[ ] Create a test case

This issue is not critical.