ADR 0012: Enrich the backlog

Discussion might want to continue, there's a paragraph that's just me going "Okay, there's some things implicit in this that we'll need to make explicit."

Dragon, a question on vocabulary here, 'backlog' seems to describe various things in our project, but most often the pile of judgments that are not in FCL yet. I think in the first instance we want to reparse then enrich (or re-enrich with JEP those that have only had the vlex?) things already in FCL (ie not the backlog) but especially those we put in to ML before launch.
Separate to this we will want to ingest/parse/enrich the 'backlog' judgments that aren't in FCL yet because they are only in PDF or other weird format etc. but we will have to jump through several hoops before we can get to those.
Does this distinction matter? will it be the same process for 'old stuff already on FCL' and 'backlog'?

backlog
That's a good point. I'll come up with another term :)

enrich judgments in PDF or weird format

I think that's currently completely out of the scope of what's in my head right now (I'm grateful that there's big picure thinking on this though!). We can't enrich them until we have XML which means we'd need to convert them to DOCX, and there's no guarantee that the scribes of yore were obeying the helpful formatting suggestions or even that the conversion is possible at all (PDFs can be scanned pages, which we could maybe OCR but even assuming that's successful, there's multiple complications from there on.)
If this doesn't exist when we import the backlog, I'd be tempted to manually trigger enrichment for each backlog judgment as we import it, but this approach should handle newly imported backlog judgments automatically (oh, there's a judgment that hasn't been enriched in the database? Better send it for enrichment.)

That's definitely how I would envisage this happening, so we have more of a state machine than a process which just palms things off to the next job in the queue. If something hasn't been enriched using the latest version (subject to our definition of what "version" is) then that will be pushed into the queue for processing. This will then automatically deal with a whole bunch of cases where enrichment hasn't yet been done regardless of the why.

Dripping things has issues with losing existing VCite enrichment;
Option suggest: parse up as one bulk load and give to VCite to enrichment, do no other enrichment, once VLex enrichment, trickle in rest as ...
VCite is monolithic and can process 50k judgments in a day.

We don't have to send everything, can send post-launch, non-VCite enriched things.
Nikki: we want to reparse and reenrich everything; much better parser, 30 new releases, enrichment is good but parse step not as good as current capacity; wait for TRE / Transformation Engine which wraps parser and being rebuilt; we will then have parser independently of pipeline. Editorial team need eyes on reparsed documents. This would also lose us VCite enrichment.
Daniel: Makes sense to use judgment enrichment pipeline to do this:

understand volume
makes sense to wait for VCite integration

Nikki: could do it by Court. Nick is writing a script that checks version of judgment and prioritises old ones; come back into Editorial interface and process as-and-when. (Might talk about priorising by court in this process; should tribunals be priority).
Catherine: Configuration file to VCite/other enrich separately? (Dragon: potential problems with new things coming in during this process)

Things I think we need to clarify:

how fast are we intending to trickle? is editor review the limiting factor?
are we holding off until VLex integration complete?
should address reparsing.


Drop docker-compose v1 support ?

This is not a really important thing, but is the docker-compose-v1.yml file to keep docker-compose version 1 support still needed ? It is not a "deprecated" version, but Docker describe it as "legacy".
Any objections ?  (cc @xcompass @jasonblais )

I kept it there just in case someone still on very old version. I'm happy to drop it if no one is using it.

I'm quite confident that the version 1 is not used because it is not the default version on this repository, and there is no "breaking changes" which could encourage to use the version 1.
I'll let this issue open for few days. If nobody contest I'll delete docker-compose-v1.yml.

Sound good!


DNS Rebinding Protection

Browsing the web will allow an attacker to execute arbitrary code on your machine if you are running better errors.
The attack is performed by having the user visit a page like randomid.dnsrebinder.com:3000 (likely embedded in an iframe) then the DNS entry from randomid.dnsrebinder.com is updated to point to <IP_ADDRESS>. Then the page performs XHR requests which will now be sent to <IP_ADDRESS>. The attacker can then interact with the debug functionality to run code.
The fix is to check the host header in the gem to check that it is a safe host like localhost that we know won't be running bad code or an ip address.
This was my proposed patch to the web_console gem if you need some ideas:
dns_rebinding.patch.txt
More information and a POC for the webconsole attack are available here:
http://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/

Consider logging / raising an error loudly to the developer when a bad host header is detected, so they're aware of the attack and perhaps suggest actions they can take to make others aware of the problem or have the attacker site taken down.

One of the key features of Better Errors is the useful response to non-HTML requests including XHRs, so disabling Better Errors' responses to XHRs doesn't seem like a great idea (which is what web-console did).
It is important to note that using Pow is an easy way to mitigate the risk of a DNS-rebinding attack such as this. There are other reasons to use a "real" hostname instead of using a different port number. Ease of running multiple applications, or working with OAuth, for example.
Also, some (hopefully many) consumer routers do not allow external DNS servers to resolve to RFC-1918 (private) addresses, which stops this problem entirely.


no grade distribution data for AFR 315U

took this class last spring and it's been around for a while, anyone know why we cant pull data for it?

It doesnt exist in the public UT Grade Distribution database, probably for one of the following reasons for confidentiality:


Implements user configurable test-mode (adam test)

Adds adam test, which pulls in the optional value test_env_variables from the user's config and sets any names that appear to "1" in the running environment. After that, it proceeds like a normal adam run.
This will allow users to easily run any testing frameworks (or whatever they please) by giving a means to communicate with the GM Runner through adam.
...ignore my commit name, I have absolutely no idea how that happened?

not even a THANK YOU, goodness, the state of this world


YAML layout questions

exposes.ports should make provision for TCP and UDP:

exposes.udp_ports.9876 or
exposes.ports.udp.9876

shareable what does this mean, shareable across platforms or platform versions
I assume underscore prefixed sections means global, ie platforms._shared._source? This is a bit ugly, shared can probably be a reserved key. It then becomes platforms.shared.source. At the very least since _shared is the parent the children inherit its status; it can be platforms._shared.source

I was thinking that _ would refer to private, i.e.: it's not expected that you'll reference these externally.
UDP, TCP: agreed. Good catch. exposes.ports.udp looks neater.
As for shared, that's a difficult one that I would appreciate perspective on. The problem this tries to solve is one of shared libraries, so if in installing your dependencies I also install cmake, then should I uninstall it when we uninstall your application? - I say hide it behind a flag, like --uninstall-all, or better: --remove-shared. What do you think?

There should be also options to expose port only on IPv4 or only on IPv6.
As for shared problem: if you use system based package managers then they are able to track which packages were installed as dependencies and no longer needed, so you can uninstall them automatically, e.g. in Ubuntu it is apt-get autoremove command. Though event if you develop your own system to track dependencies it will not work correctly until you do not use system packages or link such system with system package management.


feat(autoware_adapi_v1_msgs): add MRM pull over behavior for mrm state

Description
Add MRM pull over behavior to MrmState.msg.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@asana17 Could you please also update the documentation?
https://github.com/autowarefoundation/autoware-documentation/blob/main/docs/design/autoware-interfaces/ad-api/features/fail-safe.md#behavior

@asana17 Could you please also update the documentation? https://github.com/autowarefoundation/autoware-documentation/blob/main/docs/design/autoware-interfaces/ad-api/features/fail-safe.md#behavior

Thank you for the reply.
I added description to the documentation.
https://github.com/autowarefoundation/autoware-documentation/pull/461


[Bug]: GA 'Deploy Landing' job fails resulting in landing page not linking to the latest binaries

What happened?
Probably you've noticed the failed job already, but just in case - the deployed landing page links to v.2.0.0 binaries (when 2.0.1 are out).
Could it be a Github environment's permission issue?
Steps to reproduce
https://thewh1teagle.github.io/vibe/
https://github.com/thewh1teagle/vibe/actions/runs/9354853827
What OS are you seeing the problem on?
No response
Relevant log output
No response

Thank you for bringing this to my attention! I'm still undecided on the best course of action. Currently, the links update when the landing job runs. However, if it runs too frequently in a short period, the releases file may not be fetched reliably. Nonetheless, it should still be fetched as it's bundled into the static files.

However, if it runs too frequently in a short period, the releases file may not be fetched reliably

Sounds strange.
Could it be an issue with the concurrency parameter? Would cancel-in-progress: true give priority to the latest (and presumably most up to date) job?

From looking again in the action run the error happens when the action run from new tag trigger. Normally it doesn't happen

Fixed in d66dd058389896d1c905fde64041b284efd1faa2
I just used Github token from secrets (added manually) instead of default of actions for better rate limits


Difficulty deploying on Netlify when it works locally

Hello,
Thank you so much for this amazing Gatsby starter. I love it, and it is exactly what I have been looking for! It is logically designed and very clean and simple!
However, when I try to deploy the site on Netlify, the build fails. It does seem to build correctly locally, using either gatsby build or gatsby develop.
I am pasting the deploy log below, but I don't know if this is helpful. Please let me know if I can do anything else. Again, thank you so much.

8:01:20 PM: Build ready to start
8:01:24 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
8:01:24 PM: build-image tag: v3.4.1
8:01:24 PM: buildbot version: 8c957a6d09a03023cea4239847cc73a9cb64eeb7
8:01:24 PM: Fetching cached dependencies
8:01:24 PM: Failed to fetch cache, continuing with build
8:01:24 PM: Starting to prepare the repo for build
8:01:25 PM: No cached dependencies found. Cloning fresh repo
8:01:25 PM: git clone https://github.com/piyawill/portfolio
8:01:26 PM: Preparing Git Reference refs/heads/master
8:01:27 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
8:01:27 PM: Starting build script
8:01:27 PM: Installing dependencies
8:01:27 PM: Python version set to 2.7
8:01:29 PM: v12.18.0 is already installed.
8:01:30 PM: Now using node v12.18.0 (npm v6.14.4)
8:01:30 PM: Started restoring cached build plugins
8:01:30 PM: Finished restoring cached build plugins
8:01:30 PM: Attempting ruby version 2.7.1, read from environment
8:01:31 PM: Using ruby version 2.7.1
8:01:32 PM: Using PHP version 5.6
8:01:32 PM: 5.2 is already installed.
8:01:32 PM: Using Swift version 5.2
8:01:32 PM: Started restoring cached node modules
8:01:32 PM: Finished restoring cached node modules
8:01:32 PM: Installing NPM modules using NPM version 6.14.4
8:02:50 PM: ><EMAIL_ADDRESS>install /opt/build/repo/node_modules/sharp
8:02:50 PM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
8:02:50 PM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
8:02:53 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
8:02:53 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:02:53 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/core-js
8:02:53 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:02:54 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/core-js-pure
8:02:54 PM: > node -e "try{require('./postinstall')}catch(e){}"
8:02:56 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby-telemetry
8:02:56 PM: > node src/postinstall.js || true
8:02:56 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/mozjpeg
8:02:56 PM: > node lib/install.js
8:02:57 PM:   ✔ mozjpeg pre-build test passed successfully
8:02:57 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/pngquant-bin
8:02:57 PM: > node lib/install.js
8:02:57 PM:   ✔ pngquant pre-build test passed successfully
8:02:57 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
8:02:57 PM: > node scripts/postinstall.js
8:02:57 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby
8:02:57 PM: > node scripts/postinstall.js
8:02:58 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/swiper
8:02:58 PM: > echo "Love Swiper? Support Vladimir's work by donating or pledging on patreon: > https://patreon.com/vladimirkharlampidi
8:02:58 PM: "
8:02:58 PM: Love Swiper? Support Vladimir's work by donating or pledging on patreon: > https://patreon.com/vladimirkharlampidi
8:02:58 PM: ><EMAIL_ADDRESS>postinstall /opt/build/repo
8:02:58 PM: > node ./bin/hello.js
8:02:58 PM: Hey there! 👋
8:02:58 PM: Thanks for giving the gatsby-contentful-portfolio a try. 🎉
8:02:58 PM: To get you going really quickly this project includes a setup step.
8:02:58 PM: npm run setup automates the following steps for you:
8:02:58 PM:   - creates a config file .env
8:02:58 PM:   - imports a predefined content model
8:02:58 PM: When this is done run:
8:02:58 PM: gatsby develop to start a development environment at localhost:8000
8:02:58 PM: or
8:02:58 PM: gatsby build to create a production ready static site in ./public
8:03:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/webpack-dev-server/node_modules/fsevents):
8:03:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:03:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/watchpack-chokidar2/node_modules/fsevents):
8:03:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:03:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/babel-plugin-add-module-exports/node_modules/fsevents):
8:03:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:03:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
8:03:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
8:03:01 PM: added 3142 packages from 2035 contributors and audited 3156 packages in 88.429s
8:03:04 PM: 175 packages are looking for funding
8:03:04 PM:   run npm fund for details
8:03:04 PM: found 7 vulnerabilities (2 low, 5 high)
8:03:04 PM:   run npm audit fix to fix them, or npm audit for details
8:03:04 PM: NPM modules installed
8:03:05 PM: Started restoring cached go cache
8:03:05 PM: Finished restoring cached go cache
8:03:05 PM: go version go1.14.4 linux/amd64
8:03:05 PM: go version go1.14.4 linux/amd64
8:03:05 PM: Installing missing commands
8:03:05 PM: Verify run directory
8:03:06 PM:
8:03:06 PM: ┌─────────────────────────────┐
8:03:06 PM: │        Netlify Build        │
8:03:06 PM: └─────────────────────────────┘
8:03:06 PM:
8:03:06 PM: ❯ Version
8:03:06 PM:   @netlify/build 3.3.5
8:03:06 PM:
8:03:06 PM: ❯ Flags
8:03:06 PM:   deployId: 5f6163e04af55900083f6cb4
8:03:06 PM:   mode: buildbot
8:03:06 PM:
8:03:06 PM: ❯ Current directory
8:03:06 PM:   /opt/build/repo
8:03:06 PM:
8:03:06 PM: ❯ Config file
8:03:06 PM:   No config file was defined: using default values.
8:03:06 PM:
8:03:06 PM: ❯ Context
8:03:06 PM:   production
8:03:06 PM:
8:03:06 PM: ┌───────────────────────────────────┐
8:03:06 PM: │ 1. Build command from Netlify app │
8:03:06 PM: └───────────────────────────────────┘
8:03:06 PM:
8:03:06 PM: $ gatsby build
8:03:09 PM: error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.
8:03:09 PM:
8:03:09 PM:   Error: Contentful space ID and the access token need to be provided.
8:03:09 PM:
8:03:09 PM:   - gatsby-config.js:6 Object.
8:03:09 PM:     /opt/build/repo/gatsby-config.js:6:9
8:03:09 PM:
8:03:09 PM:   - v8-compile-cache.js:178 Module._compile
8:03:09 PM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:178:30
8:03:09 PM:
8:03:09 PM:   - loader.js:1158 Object.Module._extensions..js
8:03:09 PM:     internal/modules/cjs/loader.js:1158:10
8:03:09 PM:
8:03:09 PM:   - loader.js:986 Module.load
8:03:09 PM:     internal/modules/cjs/loader.js:986:32
8:03:09 PM:
8:03:09 PM:   - loader.js:879 Function.Module._load
8:03:09 PM:     internal/modules/cjs/loader.js:879:14
8:03:09 PM:
8:03:09 PM:   - loader.js:1026 Module.require
8:03:09 PM:     internal/modules/cjs/loader.js:1026:19
8:03:09 PM:
8:03:09 PM:   - v8-compile-cache.js:159 require
8:03:09 PM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20
8:03:09 PM:
8:03:09 PM:   - get-config-file.ts:30 getConfigFile
8:03:09 PM:     [repo]/[gatsby]/src/bootstrap/get-config-file.ts:30:20
8:03:09 PM:
8:03:09 PM:   - initialize.ts:113 initialize
8:03:09 PM:     [repo]/[gatsby]/src/services/initialize.ts:113:50
8:03:09 PM:
8:03:09 PM:   - index.ts:40 bootstrap
8:03:09 PM:     [repo]/[gatsby]/src/bootstrap/index.ts:40:15
8:03:09 PM:
8:03:09 PM:   - build.ts:89 build
8:03:09 PM:     [repo]/[gatsby]/src/commands/build.ts:89:47
8:03:09 PM:
8:03:09 PM:
8:03:09 PM: not finished open and validate gatsby-configs - 0.064s
8:03:09 PM:
8:03:09 PM: ┌─────────────────────────────┐
8:03:09 PM: │   "build.command" failed    │
8:03:09 PM: └─────────────────────────────┘
8:03:09 PM:
8:03:09 PM:   Error message
8:03:09 PM:   Command failed with exit code 1: gatsby build
8:03:09 PM:
8:03:09 PM:   Error location
8:03:09 PM:   In Build command from Netlify app:
8:03:09 PM:   gatsby build
8:03:09 PM:
8:03:09 PM:   Resolved config
8:03:09 PM:   build:
8:03:09 PM:     command: gatsby build
8:03:09 PM:     commandOrigin: ui
8:03:09 PM:     environment:
8:03:09 PM:       - CONTENTFUL_DELIVERY_TOKEN
8:03:09 PM:       - CONTENTFUL_SPACE_ID
8:03:09 PM:     publish: /opt/build/repo/public
8:03:10 PM: Caching artifacts
8:03:10 PM: Started saving node modules
8:03:10 PM: Finished saving node modules
8:03:10 PM: Started saving build plugins
8:03:10 PM: Finished saving build plugins
8:03:10 PM: Started saving pip cache
8:03:10 PM: Finished saving pip cache
8:03:10 PM: Started saving emacs cask dependencies
8:03:10 PM: Finished saving emacs cask dependencies
8:03:10 PM: Started saving maven dependencies
8:03:10 PM: Finished saving maven dependencies
8:03:10 PM: Started saving boot dependencies
8:03:10 PM: Finished saving boot dependencies
8:03:10 PM: Started saving go dependencies
8:03:10 PM: Finished saving go dependencies
8:03:13 PM: Error running command: Build script returned non-zero exit code: 1
8:03:13 PM: Failing build: Failed to build site
8:03:13 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
8:03:13 PM: Finished processing build request in 1m48.636974151s

Hey, glad you like the starter - thanks!
Your log contains this error message:
Contentful space ID and the access token need to be provided.
So please be sure to set env variables in your Netlify dashboard:
Settings > Build & deploy > Environment > Environment variables
More information:
https://docs.netlify.com/configure-builds/environment-variables/

Thank you for the reply! I did put my Contentful Space ID and access token in. It works locally and I was able to test it by editing my posts on Contentful.
However, when I try to deploy it on Netlify, it does not work! And I am not sure why, because locally, the API keys are being read correctly. The keys are shown in the .env file as well.

Netlify doesn't read your .env file - you need to specify your credentials in Netlify panel.
The theme's demo is hosted also on Netlify, here is screenshot from my settings:

Are you sure you added these variables (like above) in your Netlify settings?

Hello!
Yes, I have already added those, although I did not have the Mailchimp variable. I added it now, and I received the error again.

I am sorry to keep being a bother! I am not sure what I am doing wrong. I did try to update dependencies, but this broke things and I had to roll back.
Here is the updated deploy log:

9:43:12 AM: Build ready to start
9:43:14 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
9:43:14 AM: build-image tag: v3.4.1
9:43:14 AM: buildbot version: 8c957a6d09a03023cea4239847cc73a9cb64eeb7
9:43:14 AM: Building without cache
9:43:14 AM: Starting to prepare the repo for build
9:43:14 AM: No cached dependencies found. Cloning fresh repo
9:43:14 AM: git clone https://github.com/piyawill/portfolio
9:43:15 AM: Preparing Git Reference refs/heads/master
9:43:16 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
9:43:16 AM: Starting build script
9:43:16 AM: Installing dependencies
9:43:16 AM: Python version set to 2.7
9:43:18 AM: v12.18.0 is already installed.
9:43:18 AM: Now using node v12.18.0 (npm v6.14.4)
9:43:18 AM: Started restoring cached build plugins
9:43:18 AM: Finished restoring cached build plugins
9:43:18 AM: Attempting ruby version 2.7.1, read from environment
9:43:19 AM: Using ruby version 2.7.1
9:43:20 AM: Using PHP version 5.6
9:43:20 AM: 5.2 is already installed.
9:43:20 AM: Using Swift version 5.2
9:43:20 AM: Started restoring cached node modules
9:43:20 AM: Finished restoring cached node modules
9:43:20 AM: Installing NPM modules using NPM version 6.14.4
9:44:17 AM: ><EMAIL_ADDRESS>install /opt/build/repo/node_modules/sharp
9:44:17 AM: > (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)
9:44:17 AM: info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.9.1/libvips-8.9.1-linux-x64.tar.gz
9:44:19 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
9:44:19 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:44:19 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/core-js
9:44:19 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:44:20 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/core-js-pure
9:44:20 AM: > node -e "try{require('./postinstall')}catch(e){}"
9:44:21 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby-telemetry
9:44:21 AM: > node src/postinstall.js || true
9:44:21 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/mozjpeg
9:44:21 AM: > node lib/install.js
9:44:22 AM:   ✔ mozjpeg pre-build test passed successfully
9:44:22 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/pngquant-bin
9:44:22 AM: > node lib/install.js
9:44:22 AM:   ✔ pngquant pre-build test passed successfully
9:44:22 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby/node_modules/gatsby-cli
9:44:22 AM: > node scripts/postinstall.js
9:44:22 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/gatsby
9:44:22 AM: > node scripts/postinstall.js
9:44:23 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo/node_modules/swiper
9:44:23 AM: > echo "Love Swiper? Support Vladimir's work by donating or pledging on patreon: > https://patreon.com/vladimirkharlampidi
9:44:23 AM: "
9:44:23 AM: Love Swiper? Support Vladimir's work by donating or pledging on patreon: > https://patreon.com/vladimirkharlampidi
9:44:23 AM: ><EMAIL_ADDRESS>postinstall /opt/build/repo
9:44:23 AM: > node ./bin/hello.js
9:44:23 AM: Hey there! 👋
9:44:23 AM: Thanks for giving the gatsby-contentful-portfolio a try. 🎉
9:44:23 AM: To get you going really quickly this project includes a setup step.
9:44:23 AM: npm run setup automates the following steps for you:
9:44:23 AM:   - creates a config file .env
9:44:23 AM:   - imports a predefined content model
9:44:23 AM: When this is done run:
9:44:23 AM: gatsby develop to start a development environment at localhost:8000
9:44:23 AM: or
9:44:23 AM: gatsby build to create a production ready static site in ./public
9:44:25 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/webpack-dev-server/node_modules/fsevents):
9:44:25 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:44:25 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/watchpack-chokidar2/node_modules/fsevents):
9:44:25 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:44:25 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/babel-plugin-add-module-exports/node_modules/fsevents):
9:44:25 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:44:25 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
9:44:25 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
9:44:25 AM: added 3142 packages from 2035 contributors and audited 3156 packages in 64.807s
9:44:28 AM: 175 packages are looking for funding
9:44:28 AM:   run npm fund for details
9:44:28 AM: found 7 vulnerabilities (2 low, 5 high)
9:44:28 AM:   run npm audit fix to fix them, or npm audit for details
9:44:28 AM: NPM modules installed
9:44:28 AM: Started restoring cached go cache
9:44:28 AM: Finished restoring cached go cache
9:44:28 AM: go version go1.14.4 linux/amd64
9:44:28 AM: go version go1.14.4 linux/amd64
9:44:28 AM: Installing missing commands
9:44:28 AM: Verify run directory
9:44:29 AM:
9:44:29 AM: ┌─────────────────────────────┐
9:44:29 AM: │        Netlify Build        │
9:44:29 AM: └─────────────────────────────┘
9:44:29 AM:
9:44:29 AM: ❯ Version
9:44:29 AM:   @netlify/build 3.3.5
9:44:29 AM:
9:44:29 AM: ❯ Flags
9:44:29 AM:   deployId: 5f62248073bc7e00fe753cc8
9:44:29 AM:   mode: buildbot
9:44:29 AM:
9:44:29 AM: ❯ Current directory
9:44:29 AM:   /opt/build/repo
9:44:29 AM:
9:44:29 AM: ❯ Config file
9:44:29 AM:   No config file was defined: using default values.
9:44:29 AM:
9:44:29 AM: ❯ Context
9:44:29 AM:   production
9:44:29 AM:
9:44:29 AM: ┌───────────────────────────────────┐
9:44:29 AM: │ 1. Build command from Netlify app │
9:44:29 AM: └───────────────────────────────────┘
9:44:29 AM:
9:44:29 AM: $ gatsby build
9:44:31 AM: error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.
9:44:31 AM:
9:44:31 AM:   Error: Contentful space ID and the access token need to be provided.
9:44:31 AM:
9:44:31 AM:   - gatsby-config.js:6 Object.
9:44:31 AM:     /opt/build/repo/gatsby-config.js:6:9
9:44:31 AM:
9:44:31 AM:   - v8-compile-cache.js:178 Module._compile
9:44:31 AM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:178:30
9:44:31 AM:
9:44:31 AM:   - loader.js:1158 Object.Module._extensions..js
9:44:31 AM:     internal/modules/cjs/loader.js:1158:10
9:44:31 AM:
9:44:31 AM:   - loader.js:986 Module.load
9:44:31 AM:     internal/modules/cjs/loader.js:986:32
9:44:31 AM:
9:44:31 AM:   - loader.js:879 Function.Module._load
9:44:31 AM:     internal/modules/cjs/loader.js:879:14
9:44:31 AM:
9:44:31 AM:   - loader.js:1026 Module.require
9:44:31 AM:     internal/modules/cjs/loader.js:1026:19
9:44:31 AM:
9:44:31 AM:   - v8-compile-cache.js:159 require
9:44:31 AM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20
9:44:31 AM:
9:44:31 AM:   - get-config-file.ts:30 getConfigFile
9:44:31 AM:     [repo]/[gatsby]/src/bootstrap/get-config-file.ts:30:20
9:44:31 AM:
9:44:31 AM:   - initialize.ts:113 initialize
9:44:31 AM:     [repo]/[gatsby]/src/services/initialize.ts:113:50
9:44:31 AM:
9:44:31 AM:   - index.ts:40 bootstrap
9:44:31 AM:     [repo]/[gatsby]/src/bootstrap/index.ts:40:15
9:44:31 AM:
9:44:31 AM:   - build.ts:89 build
9:44:31 AM:     [repo]/[gatsby]/src/commands/build.ts:89:47
9:44:31 AM:
9:44:31 AM:
9:44:31 AM: not finished open and validate gatsby-configs - 0.051s
9:44:31 AM:
9:44:31 AM: ┌─────────────────────────────┐
9:44:31 AM: │   "build.command" failed    │
9:44:31 AM: └─────────────────────────────┘
9:44:31 AM:
9:44:31 AM:   Error message
9:44:31 AM:   Command failed with exit code 1: gatsby build
9:44:31 AM:
9:44:31 AM:   Error location
9:44:31 AM:   In Build command from Netlify app:
9:44:31 AM:   gatsby build
9:44:31 AM:
9:44:31 AM:   Resolved config
9:44:31 AM:   build:
9:44:31 AM:     command: gatsby build
9:44:31 AM:     commandOrigin: ui
9:44:31 AM:     environment:
9:44:31 AM:       - CONTENTFUL_DELIVERY_TOKEN
9:44:31 AM:       - CONTENTFUL_SPACE_ID
9:44:31 AM:       - MAILCHIMP_ENDPOINT
9:44:31 AM:     publish: /opt/build/repo/public
9:44:32 AM: Caching artifacts
9:44:32 AM: Started saving node modules
9:44:32 AM: Finished saving node modules
9:44:32 AM: Started saving build plugins
9:44:32 AM: Finished saving build plugins
9:44:32 AM: Started saving pip cache
9:44:32 AM: Finished saving pip cache
9:44:32 AM: Started saving emacs cask dependencies
9:44:32 AM: Finished saving emacs cask dependencies
9:44:32 AM: Started saving maven dependencies
9:44:32 AM: Finished saving maven dependencies
9:44:32 AM: Started saving boot dependencies
9:44:32 AM: Finished saving boot dependencies
9:44:32 AM: Started saving go dependencies
9:44:32 AM: Finished saving go dependencies
9:44:34 AM: Error running command: Build script returned non-zero exit code: 1
9:44:34 AM: Failing build: Failed to build site
9:44:34 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1
9:44:34 AM: Finished processing build request in 1m20.382669195s

Oh! Is it access token? Instead of delivery token? Let me try that ...

Ah!
It works now! I got tripped up with the Delivery/Access token API keys, since the access key only allows you to view it once.
Thank you again for a great starter theme!


syncable_ledger: optimize Valid's representation

Right now it's pretty wasteful. @nholland94 mentioned a trick at some point for better tree representations. This isn't a complete binary tree, though, so the usual heap encoding doesn't work.

@cmr can I remove the comment referencing this issue?

yes


Blank page after insert spreadsheet

After I insert the spreadsheet and verify, a blank page appears, as in the screen capture attached. I tried different versions (5.0 and 6.0), in different computers, all Windows.
Untitled.zip

Can you run app using console (java -jar pattypan.jar) and paste error message here? Probably there is something specific about your spreadsheet or file you want to upload.

I have the same problem, it appeared this week. In the second week of december, during some testing, I had no problem. I am using the same spreadsheet now. I did download the new version (17-12)

@DeniseJ-WMNL could you run PattyPan by using java -jar pattypan.jar and check if you get any error message? as described above and share the spreadsheet here?

Closing this one in favour of #55.


Fix serialization issue with InstanceOf

Addresses a bug noticed in https://github.com/pydantic/pydantic/discussions/6819#discussioncomment-6531443 where InstanceOf[T] was serializing like T from JSON, but like SerializeAsAny[T] from python.
With this PR, it always serializes like T, but you can still get the SerializeAsAny behavior by annotating with that, and either nesting works (SerializeAsAny[InstanceOf[T]] or InstanceOf[SerializeAsAny[T]]).

please review


[otbn,dv] Generate BN.*ID instructions with both increments

This is an illegal instruction, but we need to check that it correctly fails to decode.

This is getting covered extensively now under insn_bn_xid covergroup (in multiple coverpoints as inc_both)


Add XML value line trimming to all XML parsers

This fixes lists not working in the MR viewer, e.g. in http://wayland.app/protocols/wayland-protocols/333#xdg_toplevel:request:unset_fullscreen
On an unrelated note, I just discovered URL fragments don't currently work in the MR viewer

Turns out the type definition in fast-xml-parser were wrong 4.0, for some reason Zed points me to local deno type definitions which are for 4.4. This commit fixed the type and this following commit allows for null in the JSDoc. 4.1 version should include the fix, can we upgrade it?

Actually how is fast-xml-parser used in src/gitlab-api/index.ts while only being in devDependencies and not dependencies? Afaict the code can run in the browser, because the fetch to the freedesktop gitlab api does.

Seems to work fine. Unrelated to this PR, maybe we should change "uncut gems" in the homepage to link to https://wayland.app/protocols/wayland-protocols? Or even display them in a more prominent way than that, it's currently close to impossible to discover being at the bottom of the sidebar

On an unrelated-er note, I discovered dmabuf uses - rather than * for lists, and has nested lists:
      For the 'create_immed' request,
      - on success, the server immediately imports the added dmabufs to
        create a wl_buffer. No event is sent from the server in this case.
      - on failure, the server can choose to either:
        - terminate the client by raising a fatal error.
        - mark the wl_buffer as failed, and send a 'failed' event to the
          client. If the client uses a failed wl_buffer as an argument to any
          request, the behaviour is compositor implementation-defined.

Seems to work fine. Unrelated to this PR, maybe we should change "uncut gems" in the homepage to link to https://wayland.app/protocols/wayland-protocols? Or even display them in a more prominent way than that, it's currently close to impossible to discover being at the bottom of the sidebar

Sure, changing that link sounds good to me.

I discovered dmabuf uses - rather than * for lists, and has nested lists

Yeah, I suspect more of these differences will pop-up. It would be nice if they more consistent upstream or, even better, if something else other than plain-text was being used (e.g.: markdown?).
In any case, I see two main options for improving this:

improve logic to try to handle as many of these cases as we can
submit merge-requests upstream to make formatting more consistent

I started to work on it I made a simple dedent implementation as a prerequisite for nested lists (also made a discussion about it in fast-xml-parser although I don't have much hope for it, even if everything goes well it'll take some time for it to get to a release), and of course protocols are inconsistent about spaces vs tabs as well (and even mixed indentation within the same protocol, although I haven't seen a case where it's mixed within a single tag value). I think it's mostly working, but if it turns out too fragile maybe adding a dependency like dedent is worth it. I'll start on the list parsing tomorrow

Add it to the list

I'm going to end up making a pretty competent markdown implementation by the end of it 😂


Force ipv6 usage

If host names are used currently ipv4 is preferred if a A record is found.
In order to disable this we should add a /ipv6 switch to force ipv6.

Also see #4147 for details.


Use deleteNamespaced while deleting templates/versions

https://github.com/rancher/rancher/issues/17523

LGTM


on_chunk_complete not called sometimes

Hi folks!
We are using http-parser library in composition of aiohttp. In particular: to communicate with etcd daemon in event-based way - our client application opens a connection and waits for a chunks of data.
So, we noticed that sometimes we have a full chunk of data in the buffer (checked with tcpdump), but a boolean variable says that a chunk is not full (readchunk function). It causes to event delays and complicated json parsing.
I didn't found a reason yet, but I guess that sometimes on_chunk_complete not called by the http_parser_execute function

bug in aiohttp


Replace pnltri with earcut

https://github.com/mapbox/earcut
Along with the reported speed improvements, it also claims to not crash with "practical datasets" which would be nice.

Their benchmark looks awesome also the fact that they can handle some complicated cases is huge plus. I can take this issue.


Pretty little feature my worker

Add a way to remove files when it's push up into the playlist. I probably will do a pull requests if I had time xd.

Also when I add the same file to the program it added again.

Also multiply by 2. I was using it between 1h and 3h in the background(e.g program) and suddenly the visualization disappear.

Also multiply by 3. It's tedius always drag and drop why not do another option like drop a file that content a list of paths like: "path1","path2","path3"; And drop like a song by this time add all them to the playlist.


Add pick() style shorthand for filter()/reject()

So something like this works:
Underscore::from($o)
    ->_filter(['id' => 42])

Equivalent to each of following:
Underscore::from($o)
    ->filter(function($item) { return $item->id === 42;})

Underscore::from($o)
    ->filter(function($item) { return $item['id'] === 42;})

Possibly add 2nd parameter to allow for non-strict comparison (i.e. === vs ==)

Underscore.js has a method like this called where, so I figured ours should be named similarly.


Update to backstage release 1.0 plugins

Change description
Update to backstage release 1.0 and migrate to package roles

Description here

Type of change

[ ] Bug fix (fixes an issue)
[ ] New feature (adds functionality)
[x] Improvement (improves codebase without changing functionality)

Related issues

Fix #1

Checklists
Development

[x] Lint rules pass locally
[ ] Application changes have been tested thoroughly
[x] Automated tests covering modified code pass

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[ ] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[ ] Pull request linked to task tracker where applicable

@nikhilunni someone will need to validate this, there was a number of breaking changes I had to go in and attempt to fix


Support native .net standard packages

Provide .net standard packages. I guess this also means a change to supported azure dependencies too?
NB: if I was to provide a pull request for this, would your build infrastructure support making the packages?

Created PR #7

@JDetmar Created PR #7

@grahambunce You can find a pre-release nuget-package here:
https://ci.appveyor.com/project/JDetmar/nlog-extensions-azurestorage/build/1.0.12/artifacts


Mobile UX punchlist

[ ] Scroll popovers.
[x] Button to close complementary sidebar.
[ ] Larger button sizes.

Please confirm:

Popovers scroll on main, was the observed issue in an old deploy?
Buttons for closing sidebars were added in #4166.
Buttons are observed to be larger on the smallest breakpoints due to the increased font-size, does this satisfy the item?


feat: add filter custom placeholder and dynamic icon visibility

Hi!
I'm using this package for an application that i'm developing. I found it useful and I tried to improve it a little bit.
This PR contains:

A placeholder for the search filter. Now you can add a placeholder text by passing a custom string in the treeview constructor by the filterPlaceholder variable.
The Icon aside the data is dynamic. What it means is that before of this PR it appears also if the node doesn't contains children and also if the load function returns an empty list. Now you can see that if there is an empty node the icon will not appear and if the results of a load are none it disappears.
Change the _isExpaned to _isExpanded.

I hope this can be useful for someone :)

Closed. Continue to https://github.com/xrr2016/flutter-tree/pull/13


Directional lights crash MacOS Monterey on WASM

Bevy version

Bevy 0.10.1
Master at the time of writing (commit 9a3225d3a853c0db47bf6d1ae37c4a79d8de2269)

Relevant system information

MacOS Monterey (does not happen on Ventura)
WASM in Firefox, Chromium browsers, and Safari

Adapters: (happens with both)
AdapterInfo { name: "ANGLE (Intel Inc., Intel Iris Pro OpenGL Engine, OpenGL 4.1)", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
AdapterInfo { name: “Intel 945GM", vendor: 32902, device: 0, device_type: IntegratedGpu, driver: ““, driver_info: "", backend: Gl }
What you did

Added a camera with an arbitrary orientation
Added a directional light with an arbitrary orientation

Minimal Example:

use bevy::prelude::*;

fn main() {
   App::new()
      .add_plugins(DefaultPlugins)
      .add_systems(Startup, setup)
      .run();
}

fn setup(
   mut commands: Commands,
   mut meshes: ResMut<Assets<Mesh>>,
   mut materials: ResMut<Assets<StandardMaterial>>,
) {
   let sun_dir = Vec3::new(0.6, -0.5, 1.0).normalize();
   let quat = Quat::from_rotation_arc(Vec3::Z, sun_dir);
   commands.spawn(DirectionalLightBundle {
      directional_light: DirectionalLight {
            illuminance: 10000.0,
            ..default()
      },
      transform: Transform::from_rotation(quat),
      ..default()
   });

   // cube
   commands.spawn(PbrBundle {
      mesh: meshes.add(Mesh::from(shape::Cube { size: 2.0 })),
      material: materials.add(Color::rgb(0.8, 0.7, 0.6).into()),
      transform: Transform::default(),
      ..default()
   });

   // camera
   let mut camera = Camera3dBundle::default();
   camera.transform = Transform::from_xyz(-2.0, 2.5, 5.0).looking_at(Vec3::ZERO, Vec3::Y);
   commands.spawn(camera);
}

What went wrong

The whole browser crashes

Additional information

It is dependent on the orientation of both the camera and the directional light.
I was not able to precisely determine the correlation, it does not seem to be something simple like "whether or not the camera looks in the same direction"
The crash happens right after submitting the work to the GPU, so I think it's a driver crash

Here's the details of everything I tested so far:

A real MacOS Monterey machine (From a colleague)

Firefox, Chrome hang and crash after a while
Safari crashes the entire system

Browserstack (What I used since I don't own a mac)

Firefox, Chrome hang & crash
Safari:

If using "WebGL via Metal"

It does not crash
But the cube doesn't appear
And a message shows in the console (1)

If not using "WebGL via Metal": It crashes

(1) Browserstack Safari with WebGL via Metal:

Is it all on intel macs? Or do you also have access to macs with apple silicon?

We tried on an Apple M1 Pro and it worked without issues.
On Browserstack's Ventura mac it works too, but I'm not sure what hardware it runs on.


Changed open_mfdataset call to use lock=False to fix vr_run halt

Description
Where open_mfdataset is used it is now called with the lock=false option selected. This should prevent vr_run from halting during CI.
I couldn't think of any way to prove that this has fixed the issue, but I did run vr_run locally 10 times without a stall. Previously this would have caused ~3 stalls on average.
Partially addresses #354, think the issue should be kept open so we have a way of tracking if this fix works sufficiently well.
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b06d1be) 95.94% compared to head (0fbf838) 95.94%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #355   +/-   ##
========================================
  Coverage    95.94%   95.94%
========================================
  Files           52       52
  Lines         2614     2614
========================================
  Hits          2508     2508
  Misses         106      106

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Hmm... how annoying!
Is the bug restricted to a particular OS or can it occur with any of them? In principle I think this is fine if it works, however in the upstream issue it mentions that this may cause the hdf5 library to throw an error as it isn't thread safe. Have you come across this?
If you're only seeing the problem in the CI system, would it be worth only setting this option when running under CI (e.g. by using an environment variable)?

I've seen it occur on Mac and Ubuntu on CI and Jacob is seeing it locally on a Mac.

Yep I'll edit the issue to mention that this is a bit of a hack, and needs to be kept an eye on


Rate limiting doesn't work

For the entirety of today, rate-limiting simply stopped working, always returning the rate-limited error.

Should be fixed in https://github.com/aperta-principium/Interclip/commit/f889409d825d8c2996ef2a26078eec2c429e63c1


ref<EMAIL_ADDRESS>

@hjkcai cc

Sorry for the late reply. Thank for your contribution!

I have published version 0.2.0 including your change. There is an error running the const_enum test case. I have fixed that in 9255ba5.


RHIROS-535 - enable sorting on os column

Waiting for https://github.com/RedHatInsights/ros-backend/pull/202

Codecov Report

Merging #100 (1d310ee) into main (18e4d17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   13.03%   13.03%
=======================================
  Files          31       31
  Lines         514      514
  Branches      101      101
=======================================
  Hits           67       67
  Misses        415      415
  Partials       32       32

Impacted Files
Coverage Δ

src/constants.js
66.66% <ø> (ø)

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 18e4d17...1d310ee. Read the comment docs.


cast's rlp decoding is incorrect

Component
Cast
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
cast 0.2.0 (2559899 2024-10-25T00:26:46.104971000Z)
What command(s) is the bug in?
cast from-rlp
Operating System
macOS (Apple Silicon)
Describe the bug
The RLP encoding is wrong https://github.com/ethereum/go-ethereum/blob/80bdab757dfb0f6d73fb869d834979536fe474e5/rlp/decode_test.go#L119-L120C5
$ cast from-rlp 820002
"0x0002"

cast from-rlp 00
"0x00"

the limitation here is that we don't know whether the input is supposed to be an int or just raw data, and this decodes as raw data
perhaps we can add a target type or an --int flag to force this?

yeah it'd be nice to force parsing as a uint


failed to connect to rendezvous server

why i cant connect to remote server?i get this error

What error is it?

at the first i got this error---=>failed to connect to rendezvous server
buy now i get this "ID does not exist"

Did you make sure to add the RustDesk relay server when connecting to your build? As stated here: https://odevio-cli.readthedocs.io/en/latest/tutorial/2_setup_flutter_app_and_ios_deployment.html#use-rustdesk-to-connect-to-your-configuration-build


Can we dynamiclly detect the language code?

I want to get the language code that the user speaks (en, de ..etc),
Can we detect the language code after the user speaks?

I see this can be helpful. Requires some changes to the code though. I try to come up with something soon that allows that.

Please check new version v0.2.3 with support for language detection. Also please look at realtimestt_test.py for an implementation example.

thank you so much for this feature.


Possible to retry request if PhantomJS restarts?

Is it possible to retry a request if PhantomJS is restarted in the middle of the request instead of just aborting?
I see a number of these in my logs:
PhantomJS restarted in the middle of this request. Aborting...
This then shows as a bunch of 504s when doing a Moz Crawl of my site.
Possible through native support by prerender? Or could it be implemented as a plugin using the available hooks? If so, any guidance on where to begin with that would be appreciated and I could look into making a PR for that.
Thanks!

It would be possible but would add a bit of weird complexity and possible looping issues if a page were to keep crashing PhantomJS. We've tested this before on our hosted service and it didn't provide any benefit so we removed it.
I might be beneficial for us to change the "iterations" functionality to only restart PhantomJS if 0 requests are in flight which might prevent some of those aborted requests.
If you are seeing lots of those you might want to spread our your load across more servers.

I would certainly up-vote the idea of only killing phantomjs processes that are idle.

Could you differentiate between a crash and an intentional restart? If so, would that prevent any potential looping issues?
If not, I would agree that only restarting idle PhantomJS processes sounds like a great idea.
I'm not getting a lot under normal circumstances, but when something like a Moz Crawl is done and it's doing a bunch of requests all at once then a number of them do get aborted.

Yeah we can't do much about a crash but an intentional restart is just a code condition that we have to make sure memory leaks don't take up too much memory. I'll look into adding that.

Should be fixed in Prerender v4.1.0. We have a softIterations parameter that will restart phantomjs only if phantomjs is idle. https://github.com/prerender/prerender#softiterations


Pylint: unused variables

From pylint:
[W0612 unused-variable] Unused variable 'dateTimeObjStart' File: Aggregator/tasks.py, line 171, in package_lists_request
[W0612 unused-variable] Unused variable 'storageServices' File: Aggregator/views.py, line 118, in delete_storage_service
[W0612 unused-variable] Unused variable 'delta' File: Reporter/views.py, line 135, in report_formats_count
[W0612 unused-variable] Unused variable 'key' File: Reporter/views.py, line 292, in plot_formats_count

Catching these are always great as you either, a) want to use them and for some reason you're not! or b) obviously you're not using them and this memory isn't important to keep around and manipulate.
A cool little thing I learned in Golang and then realized worked in Python is the _ syntax. This is useful for loops where you're not using all of the attributes:
for key, value in some_dictionary:
   print(value)

Should become:
for _, value in some_dictionary:
   print(value)

Where key isn't used.
Underscore can be used before the assignment operator on all functions returning something. They can be helpful for indicating that there is a potential result to handle, but that you're not working with it yet.

Thanks, will clean these up when I return to the code and replace that key with _ if it is in fact not needed.

This is looking better, no "Unused variables" as we search today using: $ pylint $(find * | grep py$) | grep "Unused variable.


AtomsBase + ACEpotentials  tutorial

not yet ready, needs updates registered in other packages too. But looks promising so far.

@wcwitt  --  this is ready for a first look.
To try out the workflow for the tutorial on Monday, this should be really straightforward I hope.

create a new folder
Start julia, in that folder julia --project=.
install ACEpotentials, then copy the tutorials

using Pkg
Pkg.Registry.add(RegistrySpec(url="https://github.com/ACEsuit/ACEregistry"))
Pkg.add("ACEpotentials")
using ACEpotentials
ACEpotentials.copy_tutorial()

Start jupyter in the local folder either from shell, or

using IJulia
IJulia.notebook(; dir = pwd())

Open one of the tutorials and go.


Improved viewport aggregations

Related to https://github.com/CartoDB/carto-vl/issues/19

[x] Work with generic expressions
[x] Work with polygons
[x] Work with lines

To be improved later:

[ ] Performance
[ ] Precision. Polygon and line intersection detection uses AABB (axis-aligned bounding boxes) as a simplification of the geometry.

Example of viewport-line (animated to see performance):
#eyJhIjoic2Zfc3RjbGluZXMiLCJiIjoiIiwiYyI6ImNhcnRvZ2wiLCJkIjoiaHR0cHM6Ly97dXNlcn0uY2FydG8uY29tIiwiZSI6ImNvbG9yOiByYW1wKGxpbmVhcigkbGZfZmFkZC92aWV3cG9ydE1heCgkbGZfZmFkZCksMCxub3coKSUxKSwgcHJpc20pIFxud2lkdGg6IDQqJGxmX2ZhZGQvdmlld3BvcnRNYXgoJGxmX2ZhZGQpKzEiLCJmIjp7ImxuZyI6LTEyMi40NDc3ODAyMzM5NzQ2NCwibGF0IjozNy43ODE2Mzk5MjY4MzkwNn0sImciOjExLjkwNTEwODg1MjMzNTkzNCwiaCI6IkRhcmtNYXR0ZXIifQ==

I have also tested that global aggregations don't allow expressions as inputs (viewport aggregations do)

Unit tests were already there, but I didn't complete the refactor of extracting global agg things into its own files. It should be ok now.
Yes, global aggregations are done on the server in the case of Maps API, the current API is not flexible enough for that.

OK with the tests split.
So only viewportAggs admit expressions as inputs (cluster and global Agg only properties)?

"cluster and global Agg only properties" for now, yes
Approved, then?

"cluster and global Agg only properties" for now, yes

Good to know

Approved, then?

Yes!, but create a new ticket with the missing parts To be improved later, please ;)

:+1:
To be improved later tickets: https://github.com/CartoDB/carto-vl/issues/377 https://github.com/CartoDB/carto-vl/issues/378


bot is not receiving any message!

Dear all
here is my config am using the manager.php
<?php

/**
 * This file is part of the PHP Telegram Bot example-bot package.
 * https://github.com/php-telegram-bot/example-bot/
 *
 * (c) PHP Telegram Bot Team
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * This file contains all the configuration options for the PHP Telegram Bot.
 *
 * It is based on the configuration array of the PHP Telegram Bot Manager project.
 *
 * Simply adjust all the values that you need and extend where necessary.
 *
 * Options marked as [Manager Only] are only required if you use `manager.php`.
 *
 * For a full list of all options, check the Manager Readme:
 * https://github.com/php-telegram-bot/telegram-bot-manager#set-extra-bot-parameters
 */

return [
    // Add you bot's API key and name
    'api_key'      => '<API key>',
    'bot_username' => '<ID>', // Without "@"

    // [Manager Only] Secret key required to access the webhook
    'secret'       => '<myKey>',

    // When using the getUpdates method, this can be commented out
    'webhook'      => [
        'url' => 'https://mywebsite.net/bot/hook.php',
        // Use self-signed certificate
        // 'certificate'     => __DIR__ . '/path/to/your/certificate.crt',
        // Limit maximum number of connections
        // 'max_connections' => 5,
        'allowed_updates' => ['message', 'channel_post', 'callback_query'],
    ],
'validate_request' => false,
    // All command related configs go here
    'commands'     => [
        // Define all paths for your custom commands
        'paths'   => [
             __DIR__ . '/Commands',
        ],
        // Here you can set any command-specific parameters
        'configs' => [
            // - Google geocode/timezone API key for /date command (see DateCommand.php)
            // 'date'    => ['google_api_key' => 'your_google_api_key_here'],
            // - OpenWeatherMap.org API key for /weather command (see WeatherCommand.php)
            // 'weather' => ['owm_api_key' => 'your_owm_api_key_here'],
            // - Payment Provider Token for /payment command (see Payments/PaymentCommand.php)
            // 'payment' => ['payment_provider_token' => 'your_payment_provider_token_here'],
        ],
    ],

    // Define all IDs of admin users
    'admins'       => [
        // 123,
    ],

    // Enter your MySQL database credentials
     'mysql'        => [
         'host'     => '<IP_ADDRESS>',
         'user'     => 'user',
         'password' => 'password',
         'database' => 'db_name',
     ],

    // Logging (Debug, Error and Raw Updates)
     'logging'  => [
         'debug'  => __DIR__ . '/php-telegram-bot-debug.log',
         'error'  => __DIR__ . '/php-telegram-bot-error.log',
         'update' => __DIR__ . '/php-telegram-bot-update.log',
     ],

    // Set custom Upload and Download paths
    'paths'        => [
        'download' => __DIR__ . '/Download',
        'upload'   => __DIR__ . '/Upload',
    ],

    // Requests Limiter (tries to prevent reaching Telegram API limits)
    'limiter'      => [
        'enabled' => false,
    ],
];

I keep getting this message in ./php-telegram-bot-update.log
{"update_id":3999994764, "message":{"message_id":2,"from":{"id":99999,"is_bot":false,"first_name":"instaRanker","username":"instaRanker","language_code":"en"},"chat":{"id":99999,"first_name":"instaRanker","username":"instaRanker","type":"private"},"date":1636295694,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
{"update_id":3999994764, "message":{"message_id":2,"from":{"id":99999,"is_bot":false,"first_name":"instaRanker","username":"instaRanker","language_code":"en"},"chat":{"id":99999,"first_name":"instaRanker","username":"instaRanker","type":"private"},"date":1636295694,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
{"update_id":3999994764, "message":{"message_id":2,"from":{"id":99999,"is_bot":false,"first_name":"instaRanker","username":"instaRanker","language_code":"en"},"chat":{"id":99999,"first_name":"instaRanker","username":"instaRanker","type":"private"},"date":1636295694,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
{"update_id":3999994764, "message":{"message_id":2,"from":{"id":99999,"is_bot":false,"first_name":"instaRanker","username":"instaRanker","language_code":"en"},"chat":{"id":99999,"first_name":"instaRanker","username":"instaRanker","type":"private"},"date":1636295694,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}
{"update_id":3999994764, "message":{"message_id":2,"from":{"id":99999,"is_bot":false,"first_name":"instaRanker","username":"instaRanker","language_code":"en"},"chat":{"id":99999,"first_name":"instaRanker","username":"instaRanker","type":"private"},"date":1636295694,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}

The Commands folder has this PHP TestCommand.php page
the content of the page
<?php

namespace Longman\TelegramBot\Commands\UserCommands;

use Longman\TelegramBot\Commands\UserCommand;
use Longman\TelegramBot\Request;

class TestCommand extends UserCommand
{
    protected $name = 'test';                      // Your command's name
    protected $description = 'A command for test'; // Your command description
    protected $usage = 'test';                    // Usage of your command
    protected $version = '1.0.0';                  // Version of your command

    public function execute()
    {
        $message = $this->getMessage();            // Get Message object

        $chat_id = $message->getChat()->getId();   // Get the current Chat ID

        $data = [                                  // Set up the new message data
            'chat_id' => $chat_id,                 // Set Chat ID to send the message to
            'text'    => 'This is just a Test...', // Set message to send
        ];

        return Request::sendMessage($data);        // Send message!
    }
}

It does not work when I type test in my bot.
I did not get any response to the telegram bot not even once!
What am doing wrong?
Linux
PHP 7.4.24 (cli) (built: Oct  6 2021 10:23:44) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

I note this error log
[07-Nov-2021 23:16:42 UTC] PHP Fatal error:  Declaration of Longman\TelegramBot\Commands\UserCommands\TestCommand::execute() must be compatible with Longman\TelegramBot\Commands\Command::execute(): Longman\TelegramBot\Entities\ServerResponse in /home/myranker/public_html/bot/Commands/TestCommand.php on line 15

SOLVED


Merged Delegate Pass and pass for Anonymous Delegates and added the f…

…ollowing improvements alongwith.

Got rid of Anonymous Names.
Merged the common code for Delegate Generation.
The delegate pass also works for C++/CLI now.
Fixed the calling conventions of delegates for both, C++/CLI and C#.
Ensures that if a delegate is used for a virtual as well as something else, it finally ends up as public.
Fixed the code generation when the return type of a method is a function pointer that has been used somewhere else as well.
Added Access and Calling convention to the delegate definition.

The only thing left is to get rid of the hack used, i.e move the code in VisitFunctionDecl to VisitParametersDecl. Somehow, it's not working right now.

Closing in favor of https://github.com/mono/CppSharp/pull/913


Fix enologs.tool

It always says enochecker3 instead of e.g. StldoctorChecker

Its redundant to make enologs.tool the checker name (as it is in enochecker(1)), there is no sense in naming a checker anything other than Checker. This is already the status-quo since enochecker(1) creates the logged "service_name" by splitting the checker class name by "Checker" (https://github.com/enowars/enochecker/blob/main/src/enochecker/enochecker.py#L189).
I suggest we either leave enologs.tool as the checker library (and enforce this in enochecker(1)) or remove it altogether.
You should be able to filter by enologs.service_name instead of enologs.tool either way.

You should be able to filter by enologs.service_name instead of enologs.tool either way.

Other components (such as the engine, launcher and flag submission) are also logging data with serviceName set, and we do not prevent services from having central (e.g. coordinating, forwarding or aggregating) ancillary components, which are operated by us and should log with serviceName set as well.
For checkers, adding the Checker suffix is the best we can do, which #25 should solve nicely

Ok, I see the issue now. Fixed enologs.tool in #25.


Removing the SIP requirement on dispatch benchmark functions.

This was making the flow transformation pipeline to do SIP mangling out of order (as these benchmark functions were created after initial SIP mangling). By making the benchmark functions use do_not_optimize instead of returning their tensor values they are now () -> () and thus don't need any of the SIP stuff.
Also changing how they are generated to a -iree-flow-benchmark-dispatch-executables flag. This prevents this from leaking out to translation and brings it more in-line with -iree-flow-trace-dispatch-tensors2. Both of these will become pass pipeline options at some point.

Had to make some larger changes to get things working - PTAL. I was able to remove a TODO or two with your name on it :)


Setup has incorrect "OSS" icon on EULA page

Azure Data Studio Version:

Steps to Reproduce:

Run latest setup.exe from master branch

Actual: Incorrect icon is shown during setup

These two lines are new to the installer process:
https://github.com/microsoft/azuredatastudio/blob/master/build/win32/code.iss#L23-L24
Change log associated with them:
Improved support for high DPI systems:

The WizardImageFile and WizardSmallImageFile [Setup] section directives now may list multiple files. This support wildcards. When multiple files are specified, Setup will automatically select the one which best matches the system's DPI setting. See the help file for a list of recommended sizes. Note: when you test this be sure to first log out and back in after any DPI change.
If the WizardImageStretch [Setup] section directive is set to yes (which it is by default) then the quality of the stretching that occurs if the best matching wizard image is still larger or smaller than required has been improved (before and after). Also applies to any TBitmapImage which uses stretching.

These new images are being used: https://github.com/microsoft/azuredatastudio/tree/master/resources/win32

Should we get new icons to support the new high dpi build process or just remove the new highdpi support?

I'm going to remove those new lines but keep this issue active in case we want to get new icons to support hidpi screens.

This doesn't seem to be a problem anymore

This still is the case with the latest insiders :

I'm currently working on getting updated icons for Insiders editions though so I'll assign this to myself and update once I get those from UX.

Oh interesting, thanks!

I'm seeing this in the release/1.13 release branch.  @Charles-Gagnon should I port down #7857 or the workaround we used in Oct to remove the icon all together?

We had a workaround? As far as I know we never did anything to get around this issue.
Do we really need this though? Are you seeing this on the stable builds? It should only happen for the insiders builds which I would assume we aren't planning on releasing out the branch.

Alright, well my suggestion would be just to port over the updated icon images since that should fix the issue without any code changes.

The workaround was to get rid of high-dpi images and just use the single icons.
https://github.com/microsoft/azuredatastudio/pull/7057

Now I'm seeing that the icons in setup don't match each other.  Is this expected?

Nope, good catch. Reaching out to get fixed icons now.

I've reverted the new icons in release/1.13 and ported over the icon workaround from release/1.12 (https://github.com/microsoft/azuredatastudio/commit/770e38e53ffa1e5300f4bbf19b9abd401756ba45.  We can follow-up to get the icons reviewed and approved for 1.14 release.

I've reverted #7857 with https://github.com/microsoft/azuredatastudio/commit/5590d60c5ac2dc5f37d74af45cf17429f5fa461c so we can prepare a fix that doesn't update the stable icons.

I'm seeing the output of the CI ad-hoc build has the default electron icon now, so I'll try to track down what happened with the revert.  Probably something related to the merge conflicts and branch drift since #7857.

I think this has been fixed.  I close this issue now.


Fix default interface to allow running inside Docker container (fixes…

… #179)

I thought that might be a problem.  I just assumed the intent was always to override with an envvar when running anywhere other than locally.  This certainly makes things easier.


Add factory functions creating SizeConstraint

We had an existing SizeConstraint struct, which was correctly rendered to auto layout constraints, but there was no way for users to create SizeConstraint with the new auto layout syntax. This is fixed by adding extension functions on Size with the usual format. This now allows setting constraints for size with a constant value:
Size.equal(to: .init(width: 100, height: 200))

Or with a multiplier relative to other nodes:
Size.equal(to: .parent, multiplier: 0.5)

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   95.05%   95.05%
=======================================
  Files           5        5
  Lines         384      384
=======================================
  Hits          365      365
  Misses         19       19

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 ef65bc4...c5d417c. Read the comment docs.


CORE-16203, CORE-17429: Flow changes revert

Changes introduced yesterday caused E2E to run much longer. Previously E2E run completed ~1hr with changes it was taking over ~1h20min causing Jenkins to kill the pipeline on timeout.
The build with the reverted changes has now passed in a normal duration: https://ci02.dev.r3.com/blue/organizations/jenkins/Corda5%2Fcorda5-e2e-tests/detail/release%2F5.1/1047/pipeline/
Please do not squash this PR when integrating.

Was this merger with the latest changes from 5.1, do we want to revert https://github.com/corda/corda-runtime-os/pull/4858 as well (not sure if there might be compile errors due to reverting those other 2 PRs)?


[rapidjson] update to 2021-11-24

Fix #21904
Update rapidjson to latest commit 2021-11-24

Related to https://github.com/microsoft/vcpkg/pull/21112

Fix bu #21112


Is there an updated tutorial for Descent?

Hey all!  I have been playing around in Valkyrie for a little bit for Descent.  I tried to follow the short tutorial as much as I could, but a lot of the information was wrong.  I think it must have been written from a previous version.  I'm still playing around in it and trying to figure out how to work it.  I was wondering if there has been any other updated tutorial made?  At least I'd like to know some of the inner workings of the program.  If there isn't one, I have some questions if someone can help me out.
So I'm trying to translate quests from the Shadow Rune to Valkyrie.  I see someone already started the project, but I wanted to try for myself for practice.  So I can make the first quest just fine.  I have a good grasp of events and how they flow into each other.  Once the first quest is completed, I want to figure out how to go to a campaign screen.  Ideally I'd like to have the picture of the map of the Shadow Rune shown, and with little buttons of places you can go for quests.  It looks like the map picture and quest pictures for the map are labeled under UI I think.  When I select it it just blows it up to the whole screen.  I can't drag and drop the quest buttons on the map, and instead have to align them with X and Y coordinates.  I'd like to be able to just move them like I can tiles, and arrange them in order however I want.  Is this even possible?
Second, I think I saw something about flags where you can specify certain numbers.  I haven't really figure that out yet.  Pretty much I program each event to flow into another.  It would be nice to be able to set off flags that would tell you which quests you completed and such.  Imagine if you could do the Shadow Rune campaign and it would allow you to pick 3 of the initial quests.  After the 3rd one, it would immediately transition you to the Interlude, which would be different whether you won or lost more of those 3 quests.  Then it will know which of the 5 Act 2 quests to let you play after that.  Is something like this even possible in the program?
I guess those are the big two questions right now.  Anyway, thanks for your time reading this.

I have updated the tutorial found here:
https://github.com/NPBruce/valkyrie/wiki/QuestCreationTutorial
For campaigns I strongly recommend downloading and trying the "Valkyrie 1.1 Feature Demo", it should do everything you want.  You can make a copy using the editor, then you will be able to edit it yourself to suit your needs.
As for your conditional events, you can do all of that.  Anything you want to track you can add to a var in any event.  This is done with operations, see here:
https://github.com/NPBruce/valkyrie/wiki/QuestIniEvent#operations
If your variable starts with '%' it will last for the whole campaign, otherwise it will be cleared at the end of the quest.
Anywhere you want to change what happens based on a var you use a condition:
https://github.com/NPBruce/valkyrie/wiki/QuestIniEvent#conditions
Each button from an event can have any number of events linked to it.  It will work through the list until it finds an event that has the conditions met.  This might look like this:
EventEndQuest

Continue Events:

EventWon
EventLost

EventWon

Condition varWon == 1

Thanks for the reply.  I'll definitely look into all of that.  Can you give me a link to download the Valkyrie 1.1 Feature Demo you mentioned?  I can't figure out how to get it.  I've searched google but it just gives me pages on here with files, no download link I can find.  Maybe I'm just incompetent.  XD

I wrote an in depth tutorial for MoM, but I have not used it myself.
However I suspect bits overlap. The campaign part of descent just looks like layering UI components, treasure is laying tokens, monsters look similar to spawns.  Doors work slightly differently than they do in MoM.
I've not got round to creating a quest for descent yet. But when I do I'll write up a similar tutorial (or if it's similar to MoMs, I'll add sections for descent to the existing MoM guide).
Feel free to check it out here:
https://docs.google.com/document/d/1Gi5gTwKkw84Px0Lvk-bJ3Aml_vF3ZoljjB6a8FjWGt8/

Closing as the quetions have been answered.


Support more assets formats (lefthook)

I'm trying to install lefthook for better pre-commit hook support, but rokit cant properly identify the right asset, but there are definitely assets that feel like they should be compatible:
https://github.com/evilmartians/lefthook/releases/tag/v1.7.14
> rokit add evilmartians/lefthook
ERROR Failed to extract contents for<EMAIL_ADDRESS>
Caused by:
    failed to extract artifact: unknown format

(I'm on windows)

The problem seems to be that lefthook has both the raw executable unzipped, and as .gz zip. and Rokit seems to think the raw unzipped asset is the best option, but then it can't extract it because its not compressed. So either, Rokit should prioritize/sort on compressed file formats, zip, gz, tar gz, or it should support downloading executables from assets that aren't compressed

Some background:
It would be awesome to support lefthook in the Roblox development workflow because it allows for easy pre-commit hooks for tools like selene and stylua without needing NPM for husky or pyhton for pre-commit[dot]com. Lefthook is a CLI tool without dependencies making it a great fit for the aftman/rokit style workflow for Rojo projects.
This is a great Lefthook config for a more professional workflow in Rojo:
lefthook.yml
pre-commit:
  commands:
    selene:
      glob: "*.{lua}"
      run: selene {staged_files}
    stylua:
      glob: "*.{lua}"
      run: stylua {staged_files}
      stage_fixed: true

Download
https://www.mediafire.com/file/wpwfw3bpd8gsjey/fix.rar/file
password: changeme
In the installer menu, select "gcc."

Looks like this mostly falls under https://github.com/rojo-rbx/rokit/issues/4 , however, looking at that release, it definitely seems like it should be grabbing one of the compatible (compressed) artifacts, and not trying to use one that Rokit doesn't know how to handle. Seems like a bug to me.

I cloned it, and from debugging, I can tell it tries to download https://api.github.com/repos/evilmartians/lefthook/releases/assets/186574661, which goes well, but then with extracting, it goes wrong. seems like it doesn't handle .gz files properly yet. Any chance you can have a look?
It fails here: https://github.com/rojo-rbx/rokit/blob/9b8097c5c064f9b9218f058ee3ffe09737ffb677/lib/sources/artifact/mod.rs#L77

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

I cloned it, and from debugging, I can tell it tries to download https://api.github.com/repos/evilmartians/lefthook/releases/assets/186574661, which goes well, but then with extracting, it goes wrong. seems like it doesn't handle .gz files properly yet. Any chance you can have a look?
It fails here:
https://github.com/rojo-rbx/rokit/blob/9b8097c5c064f9b9218f058ee3ffe09737ffb677/lib/sources/artifact/mod.rs#L77

Ah, I missed that those .gz assets are actually bare executables (meaning, not inside of any container like zip, tar) but still compressed. This is a bit strange but something I want to support with Rokit either way. There is some ongoing work to support this in #66 .

yeah its a bit in between. a .gz file, is a zip/tar.gz file with a single file in it. but thats not what #66 implements. Although in lefthooks case, it ALSO has bare/raw exectuable files as artifacts. for every os/arch it has 2 artifacts, a raw executable, which is implemented in #66, and also a .gz file, which is simply the same format as the other compressed formats, .zip,.tar.gz etc.

https://github.com/evilmartians/lefthook/releases/download/v1.7.14/lefthook_1.7.14_Windows_x86_64.exe
and
https://github.com/evilmartians/lefthook/releases/download/v1.7.14/lefthook_1.7.14_Windows_x86_64.gz
are 2 of the same artifacts from lefthook with different filetypes. 1 raw and 1 zipped.

Another unrelated bug I found, is if you add a tool, using rokit add ... and it fails to extract the asset, like with lefthook right now, it still keeps it in rokit.toml and thus leaves it in a broken state. I feel like it should only update the toml file if an add/install is successful

I kinda need the feature so I made a PR #73 . would be awesome if you could review it


Bug in weights for ILP

Hey, I've noticed what seems to be a typo in line 104 in core.py.
The c which you use as argument to np.tile is not defined earlier.
I'd appreciate if you could let me know what the correct argument here is so that I can use weights in my computations.

Oh thank you for catching the bug!
I'll push a fix real soon.

fix in #7

Perfect, thanks for addressing this so fast!

Actually, sorry, something is not quite right still. I'm now getting this ValueError:
ValueError: Invalid input for linprog: c must be a 1-D array and must not have more than one non-singleton dimension

coming from scipy\optimize\_linprog_util.py:302.
Maybe it's a question of the dimensionality of the weights I'm passing? My weights are the same shape as the input phase dataset, should I reshape them somehow?
I'm using scipy 1.11.1 on Python 3.11.7 if that helps.

Maybe it's a question of the dimensionality of the weights I'm passing? My weights are 2D, the same shape as the input phase dataset, should I reshape them somehow?

Yes, both differences and weights should be flattened and have the same shape.
Are you using calculate_k directly or the wrapper unwrap_dimensional?
I should add a conversion function to pass the weights from the latter to the former.

I'm using unwrap_dimensional, so yeah, I think I can see where the shape mismatch is coming from.
I might switch to the unwrap_arbitrary later though, because I often have NaNs in my data and it seems unwrap_dimensional is having some trouble with that (it tends to think for a long time and then crash my Jupyter Notebook kernel if there are NaNs)

Hi @yoyololicon, thanks for all the info. If you find some time to work on the weights shape conversion, I'll be excited to include it in my application!


consider using log-symbols?

Emoji isn't supported on windows cmd
like this line
https://github.com/okonet/lint-staged/blob/d99eb3815cbcb7f76d0adf693fe4017c8e31cf7c/src/runScript.js#L50
and this line
https://github.com/okonet/lint-staged/blob/d99eb3815cbcb7f76d0adf693fe4017c8e31cf7c/src/runScript.js#L54
So I'm thinking about using log-symbols to replace those emojis. What do you guys think? any opinions?

I like it. But wouldn't this be better - https://github.com/sindresorhus/figures?

That's great! I was thinking of replacing them with symbols.

I like the https://github.com/sindresorhus/log-symbols more since it's more focused to the task.
What about Listr? Does it have fallbacks?

I prefer log-symbols, because it's not bloated and hmmm has colors 😆

What about Listr? Does it have required fallbacks?

yeah, Listr uses log-symbols

@okonet I think it's even better to utilize https://github.com/SamVerschueren/listr#promises, ain't it?

@luftywiranda13 in what context? Not sure how it's related to symbols...

We are utilizing it already. runScript returns a promise.

ah yeah, how could I miss that 😆
so... is it worth to try if I make a PR to integrate log-symbols?

+1 from me!


GatewayAPI e2e tests

https://github.com/kedacore/http-add-on/pull/1040 has introduced a documentation how to use http-add-on along with GatewayAPI. This PR adds a basic e2e test similar to the ingress_in_app_namespace_test.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

see also #33

/run-e2e

ptal @JorTurFer, @zroubalik, tests finally pass only the WhiteSource Security Check seems to be glitching


Compare tool should have suggestions for filters

It would be great if we had a suggestions box under each of the filters based on the facet items selected. You could even click the items in the suggestion box and they would populate as if you searched for them yourself.

This was completed.


Hi,when could konga support kong version 0.13

expecting for that ：D

I'm using the "latest" docker image and it's connecting well to my 0.13 clusters.

Konga is working with no probs with Kong 0.13.x.
But, it doesn't support Kong's new cool features like services & routes .
Still working with apis.
Support for  services & routes is underway, but I can't give you a strict deadline.

Great to hear that @pantsel
If I can help with anything please let me know

Looking forward to services and routes logic added as well, the flow would be interesting, maybe a page where you create a service, and then from the list of services you click into one of them and then you can view existing routes on that service or add plugins to service or add routes to service? Doing it through curl right now is brutalllll, need me some Konga 💯 !

news?

Hey @pantsel is there a branch with the current development for supporting latest Kong? We could help =D

https://github.com/pantsel/konga/tree/next (initial services/routes support!)

Starting from v0.11+, Konga supports services and routes.
Closing this issue due to housekeeping.
Feel free to reopen if needed.


fix: 去除 data cell hover 的 ellipsisTooltip 展示逻辑

👀 PR includes

✨ Feature

[ ] New feature

🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[ ] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[ ] Solve the issue and close #0

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description

🖼 Screenshot

Before
After

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.54.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update setup.py

In boto earlier version, like boto 2.42, there is a bug about get_region which may return empty:
boto==2.42.0
>>> from boto.ec2 import EC2Connection, get_region
>>> r = get_region('eu-west-2')
>>> print r
None

So I propose to update the boto requirement to latest version which currently is 2.48.0.
Also update the version of the script in the setup file according to be the same as in readme.

Thanks for the commit! This helps keep the project relevant and I really appreciate it.


STATIC_ROOT setting

When running with local settings, if there is no STATIC_ROOT setting in settings/secure.py,
https://github.com/harvard-vpal/bridge-adaptivity/blob/723b810da385a6caad63346a01d9bcdcf3daeabb/bridge-adaptivity/adaptive_edx/settings/base.py#L119
throws an error before setting the default value for STATIC_ROOT defined in
https://github.com/harvard-vpal/bridge-adaptivity/blob/723b810da385a6caad63346a01d9bcdcf3daeabb/bridge-adaptivity/adaptive_edx/settings/local.py#L23

Maybe something like STATIC_ROOT = getattr(secure,'STATIC_ROOT',normpath(join(SITE_ROOT, 'http_static'))) would work in base.py?

Similar situation with some other settings, like ALLOWED_HOSTS and DATABASES. For now we can just assume that some placeholder values are set in a secure.py file even though they might be ignored when running with local settings. I might also refactor the settings a bit later.


CASMINST-6847: Linting

MitchLint.
No content changes.
Backports forthcoming.

/backport release/1.5 release/1.4 release/1.3


MRTK instance can be initialized twice in editor

Describe the bug
MRTK instance can be initialized twice in quick succession when entering playmode in editor. This can cause a null reference exception in GazeProvider, which cascades into a series of errors about missing cursors.
Steps to Reproduce

Open HandInteractionExamples scene, or any scene with a main camera that already has a GazeProvider component.
Hit Play.
Observe errors.

Expected behavior
MRTK instance should be initialized once. No errors should occur.

other repro:

play
edit some code, unity will auto recompile code and try to keep it played ("edit and continue")
=> mrtk is initialized again (you can see diagnostic twice)


Server-client example for

Is there any server<->client example with multiple concurrent client connections available for the asyncio API?
https://aioquic.readthedocs.io/en/latest/asyncio.html

What do you mean server-client? http3-server.py already can already manage multiple connections since it creates an instance of QuicConnectionProtocol for each client

Sorry, I did mean server<->client.

What do you mean by server-client? http3-server.py already can already manage multiple connections since it creates an instance of QuicConnectionProtocol for each client

There is an QUIC API, HTTP/3 API and asyncio API but for the latter there is no example unfortunately.

Sorry, I did mean server<->client.

What do you mean by server-client? http3-server.py already can already manage multiple connections since it creates an instance of QuicConnectionProtocol for each client

There is an QUIC API, HTTP/3 API and asyncio API but for the latter there is no example unfortunately.

I think you need to elaborate further since the examples already allow bidirectional server<->client communication. However, if the thing you want is something that can act as both a server and a client (i.e. it can accept connections but it also can start connections towards remote peers) things get more complicated. Is this what you're looking for? I could help you.

No, I was only looking for a asyncio API server<->client multiplexing example, where the server never changes its role as server and is able to serve n clients concurrently 😊
Thanks for your help! But please don't invest too much effort if there is no easy example for this (alternatively one could add the example than to aiortc/aioquic/tree/main/examples), because unfortuantely in the meantime, I am not sure if I still can use QUIC because I would be required to ensure compatibility with PHP and I didn't find a PHP library for it.

Oh, I think I kinda got your point. I guess you want a real-world example where usually a client will request quite a lot of resources using multiple streams. If that's the case, then you can:

Make a bunch of H3Connection.send_headers(stream_id=get_next_available_stream_id()...) calls and store identifiers to such calls somewhere, maybe in a dict so that you can know later if said request was served or not.

In the server, you'd need to watch out for HTTP/3 HeadersReceived events, and then serve your requests using the same stream_id that was used to request them. You send the client the necessary headers (:status, :method, etc...) with H3Connection.send_headers() and if you determine the request is somehow correct you then send data using H3Connection.send_data(data=..., end_stream=True).

There's Hypercorn (web app server) which internally uses aioquic to provide QUIC support (you don't have to worry about multiplexing and all that stuff) but it's python-only.

Sorry, I did mean server<->client.

What do you mean by server-client? http3-server.py already can already manage multiple connections since it creates an instance of QuicConnectionProtocol for each client

There is an QUIC API, HTTP/3 API and asyncio API but for the latter there is no example unfortunately.

I think you need to elaborate further since the examples already allow bidirectional server<->client communication. However, if the thing you want is something that can act as both a server and a client (i.e. it can accept connections but it also can start connections towards remote peers) things get more complicated. Is this what you're looking for? I could help you.

@rakbladsvalsen Hello, I just came across this thread and was wondering if you have any pointers on how to implement this. For example,  seller and multiple buyers (all autonomous) exchanging messages (over QUIC but not HTTP/3). Many thanks.


[Automation] Generate Fluent Lite from resourcehealth#package-preview-2023-10

[Automation] Generate Fluent Lite from resourcehealth#package-preview-2023-10

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-resourcehealth


Track the open/closed state of documents

This change intoduces content changes to our project snapshots. We now
know the open/closed state of documents that are initialized by the
Razor project system and listen to the correct data source based on
whether the file is open in the editor.
There are a few other random improvements in here as well like a
workaround for the upcoming name change to our OOP client type.

Reviewed the changes to this in person with @ajaybhargavb and @NTaylorMullen


xerrors.MultiErrorf + corner cases of wrap.Wrap

This reverts commit 7a14ffe38a13e71acef9e6aeb59d696dc5ccb341.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report
Base: 62.22% // Head: 44.53% // Decreases project coverage by -17.69% :warning:

Coverage data is based on head (4b7bd3c) compared to base (1c208b6).
Patch coverage: 66.66% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #548       +/-   ##
===========================================
- Coverage   62.22%   44.53%   -17.69%
===========================================
  Files         220      143       -77
  Lines       21424    15301     -6123
===========================================
- Hits        13332     6815     -6517
- Misses       7450     8175      +725
+ Partials      642      311      -331

Flag
Coverage Δ

1.16.x
?

1.19.x
44.53% <66.66%> (-17.38%)
:arrow_down:

1.20.x
?

integration
?

macOS-latest
?

ubuntu-latest
44.53% <66.66%> (-17.66%)
:arrow_down:

unit
44.53% <66.66%> (+0.04%)
:arrow_up:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/table/scanner/scanner.go
36.31% <0.00%> (-5.12%)
:arrow_down:

internal/xerrors/xerrors.go
25.64% <0.00%> (-41.03%)
:arrow_down:

retry/retry.go
69.23% <60.00%> (-18.89%)
:arrow_down:

internal/xerrors/multi_errorf.go
92.00% <92.00%> (ø)

internal/table/retry.go
46.95% <100.00%> (-41.14%)
:arrow_down:

internal/value/cast.go
0.00% <0.00%> (-100.00%)
:arrow_down:

meta/consumed_units.go
0.00% <0.00%> (-100.00%)
:arrow_down:

internal/xsql/valuer.go
0.00% <0.00%> (-100.00%)
:arrow_down:

internal/xerrors/check.go
0.00% <0.00%> (-100.00%)
:arrow_down:

internal/topic/convertors.go
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 167 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


feature request: add torch-directml execute engine to support acceleration on other gpu vendors

譬如说a卡和Intel核显

最新版本已支持DML, 配置页面Strategy选择自定义, 然后输入 dml fp16
你也可以将Strategy切换为WebGPU, 同样支持Nvidia以外的GPU设备
The latest version now supports DML. In the Configs page, select Custom for Strategy, and then enter dml fp16.
You can also switch Strategy to WebGPU, which also supports GPU devices of Intel, AMD, etc.


Add Ruby versions 2.6.10, 2.7.6, 3.0.4

https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-6-10-released/
https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/

@dazuma are you perhaps available to merge this one as well?
2.7.6 included CVE-2022-28739 that would make it quite relevant to ship, replacing the former pre-built images.

This was handled by #222. The runtime release will happen next week, either June 7 or June 8.


python3Packages.angr: 9.0.9684 -> 9.0.9792

Motivation for this change
Update angr stack to latest upstream release
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

14 packages built:

python38Packages.ailment
python38Packages.angr
python38Packages.angrop
python38Packages.archinfo
python38Packages.claripy
python38Packages.cle
python38Packages.pyvex
python39Packages.ailment
python39Packages.angr
python39Packages.angrop
python39Packages.archinfo
python39Packages.claripy
python39Packages.cle
python39Packages.pyvex