HttpTrigger & DocumentDB Binding Input not recognizing GET parameter, Azure Function

Azure Function
Upon retrieval of single document on a node based trigger, unable to retrieve document via a GET request.  Post works fine.
Binding:
{
"bindings": [
{
"authLevel": "anonymous",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": [
"get",
"post"
]
},
{
"type": "http",
"direction": "out",
"name": "res"
},
{
"type": "documentDB",
"name": "inputDocument",
"databaseName": "<...>",
"collectionName": "<...>",
"connection": "<...>",
"id": "{documentId}",
"direction": "in"
}
],
"disabled": false
}
POST
{
"documentId": "testid"
}
2016-08-17T16:48:29.878 Function completed (Success, Id=3b9bb3c0-dff5-425c-aee2-6b6c0511828e)
GET : /api/HttpTriggerNodeJS2?documentId=testid
2016-08-17T16:46:27.886 Exception while executing function: Functions.HttpTriggerNodeJS2. Microsoft.Azure.WebJobs.Host: No value for named parameter 'documentId'

Support for pulling binding data from the query string was only just added recently. It's sitting in our dev branch and will go out with our next release :) See https://github.com/Azure/azure-webjobs-sdk-script/issues/334 and its associated commit for details.


Configure Dependabot for direct updates only

This PR configures Dependabot to only allow updates to direct dependencies
See https://github.com/alphagov/govuk-frontend/pull/3132 for more info:

We regularly receive Dependabot PRs for “dependencies of dependencies” package-lock.json changes. It's great for Dependabot security updates via Settings it's but too noisy for Dependabot version updates via dependabot.yml
For example updates to  indirect dependencies don't appear in npm outdated:

@babel/helper-*
@babel/plugin-*
@babel/types
core-js-compat
semver

Yet they will still be included in a single PR update for @babel/preset-env by the author
Should we narrow down our non-security version updates to direct-only?

I've also had to downgrade package-lock.json to "lockfileVersion": 2 until this bug is fixed:

https://github.com/dependabot/dependabot-core/issues/6270


Tests for signal module

New API signal module tests.

The Signal module now has substantial unit tests and coverage so I am going to delete this issue.


Remove mentioning of node version

Tutorial mentions Node.js version number while mentioning LTS at the same time. We need to always refer to the current LTS, not to a fixed version.

@ConnorLand - do you want to review and merge this?
Looks like a small sensible change to me.

@ConnorLand - do you want to review and merge this? Looks like a small sensible change to me.

Yeah will do.


error: Cannot find module '../data/data.json' - dockerize on Strapi project starters

Bug report
Required System information

Node.js version: 16.15.0
NPM version: 8.5.5
Strapi version: 4.2.3
Database: SQLite
Operating system: Windows 11
Docker Desktop for Windows: 4.10.1 (latest)
Docker Damon version 20.10.17

Describe the bug
When using the strapi project starters and strapi-tool-dockerize image fails to run. I believe the cause to be when project starters launch functions in src/bootstrap attempt to load mock data from the data/ folder. however, data/ is added to the generated .dockerignore file and therefore not present inside of the container, causing
Steps to reproduce the behaviour

Create strapi instance as per docs yarn create strapi-starter my-project next-blog
run cd backend to move into strapi directory
Run Dockerize as per docs npx @strapi-community/dockerize with the Dockerfile option (but I don't think it matters)
Run generated docker image

Expected behavior
Container should run without error
Screenshots
Container log:
yarn run v1.22.19
$ strapi develop
[2022-07-22 14:43:38.743] debug: ⛔ Server wasn't able to start properly.
[2022-07-22 14:43:38.744] error: Cannot find module '../data/data.json'
Require stack:

/opt/app/src/bootstrap.js
/opt/app/src/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Error: Cannot find module '../data/data.json'
Require stack:
/opt/app/src/bootstrap.js
/opt/app/src/index.js
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/opt/app/src/bootstrap.js:13:5)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I think a workaround that could be implemented is to say if the data folder exists we won't exclude it else, we will.

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


When using Sails-disk and the default schema false, migrate alter will remove attributes not in the schema

Yikes. Good thing I just merged https://github.com/balderdashy/waterline/pull/962 :)

@tjwebb haven't tested it but I suspect it would also be an issue with sails-mongo and other nosql dbs that have schema: false set by default.
Also just as a thought I think #962 will mess with sails projects. Unless Sails is overriding it and setting migrate: 'alter' somewhere manually.

Possibly related: https://github.com/balderdashy/waterline/pull/959

#959 has been released to npm yet though, so it could only cause this if @irlnathan is using waterline github version.

@particlebanana, we can easily postpone #962 to 0.11.

@dmarcelino we might want to wait on it. Unless there is somewhere else in Sails that sets it, default projects that get generated have the migrate config commented out by default. If this was a patch it would break the normal behavior of Sails. We should take a look and fix that in Sails if it's the case.
From the looks of it I think #959 solves this issue. If we revert #962 are we good for a publish?

Yeap, given you gave your :+1:  to #959 we are good to release waterline. I'll revert #962 and issue a PR against 0.11.

@particlebanana, I've issued #967 to revert #962.

@irlnathan, can you check if this is still broken with the latest code in master? PR #959 should have fix this.

Issue seems to still exist. Going to look at getting a failing test created.

I see. If you need inspiration for the test, you can get some from @khalilTN's PR #1005 which adds a test for migrate: 'alter'.


Watched queries

Hi, thanks for the hard work guys. I have a problem with watches queries and 'updateQueries' and 'reducer' behaviour. It seems that these only work with currently watched queries (which I see in dev tools). The moment I leave page and new queries are executed the watched queries and reducer behaviour is not performed. An example:

I start in page A where I view results of myList query
I change to page B, where I view results of myOther query
On page B I delete an item that belonged to myList and updateQueries and reducer is ignored for myList
Going back to page A, the deleted item is still there cached

The real world scenario which I have is following.

On page A I view a Schedule and a list of scheduled items. I get the list of scheduled items with query items.
On page B I can update or delete a scheduled item query item.
When I delete this item, the items query is not updated through updateQueries as currently the only watched query is item.

Hi @tomitrescak, sounds like you are seeing apollostack/apollo-client#1068 -- see also https://github.com/apollostack/react-apollo/issues/419


Correct 2's complement negative voltage bit mask

As reported in this customer comment, the bit mask for the 2's complement negative voltages is not correct.

Wow. Great catch - thank you. Fixed in this commit.


⚠ Bofrost.de has degraded performance

In b61f902, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 931 ms

Resolved: Bofrost.de performance has improved in d509fa5 after 6 minutes.


Problem loading initial RSS data

I am receiving the same error on both machines when trying to load the initial RSS data in Linux with the localDiskDb connection.  I have been unsuccessful with a mysql connection as well.
Your help would be greatly appreciated.
[alarm@c2 Winds]$ node load_initial_data.js
info: configuring mail service to use sendgrid backend
node_redis: Warning: Redis server does not require a password, but a password was supplied.
info: Starting to load the initial data...
info: inserted topic Design
info: inserted topic Startups
info: inserted topic Programming
info: inserted topic Gaming
info: inserted topic LifeHacks
info: inserted topic Venture Capital
info: inserted topic AI & Machine Learning
info: inserted topic News
info: inserted topic VR
info: inserted all topics, feeds are up next
info: inserted site www.designernews.co
/home/alarm/Winds/load_initial_data.js:107
                        sails.sentry.captureMessage(err)
                                    ^

TypeError: Cannot read property 'captureMessage' of undefined
    at /home/alarm/Winds/load_initial_data.js:107:37
    at wrapper (/home/alarm/Winds/node_modules/waterline/node_modules/lodash/index.js:3592:19)
    at applyInOriginalCtx (/home/alarm/Winds/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)
    at wrappedCallback (/home/alarm/Winds/node_modules/waterline/lib/waterline/utils/normalize.js:335:16)
    at error (/home/alarm/Winds/node_modules/waterline/node_modules/switchback/lib/normalize.js:42:31)
    at _switch (/home/alarm/Winds/node_modules/waterline/node_modules/switchback/lib/factory.js:56:28)
    at /home/alarm/Winds/node_modules/waterline/lib/waterline/query/composite.js:71:25
    at wrapper (/home/alarm/Winds/node_modules/waterline/node_modules/lodash/index.js:3592:19)
    at applyInOriginalCtx (/home/alarm/Winds/node_modules/waterline/lib/waterline/utils/normalize.js:421:80)
    at wrappedCallback (/home/alarm/Winds/node_modules/waterline/lib/waterline/utils/normalize.js:335:16)
    at error (/home/alarm/Winds/node_modules/waterline/node_modules/switchback/lib/normalize.js:42:31)
    at _switch (/home/alarm/Winds/node_modules/waterline/node_modules/switchback/lib/factory.js:56:28)
    at /home/alarm/Winds/node_modules/waterline/lib/waterline/query/dql/create.js:73:23
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:726:13
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:52:16
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:264:21
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:44:16
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:723:17
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:167:37
    at /home/alarm/Winds/node_modules/waterline/lib/waterline/query/validate.js:79:23
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:726:13
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:52:16
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:264:21
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:44:16
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:723:17
    at /home/alarm/Winds/node_modules/waterline/node_modules/async/lib/async.js:167:37
    at _afterValidating (/home/alarm/Winds/node_modules/waterline/lib/waterline/query/validate.js:53:20)
    at allValidationsChecked (/home/alarm/Winds/node_modules/waterline/lib/waterline/core/validations.js:265:12)

Hi @truckershitch, can you verify that you've set all of your ENV values? Also, this application requires a MongoDB connection string, not MySQL... just a heads up.

I have set my ENV values, but I have been trying to use sails-disk and sails-mysql, as I have MySQL installed on the machine already.  I was able to get the initial data loaded by setting migrate: alter in config/connections.js and then reverting to migrate: safe to run the application, but I was unable to see the feeds in the application afterwards.  I have seen this working in the docker image but I was unable to successfully create an account with it.
Do I have to install MongoDB to get this to work?  I'd rather not if possible.  I had the impression that I could choose another database backend.

Unfortunately, we've pegged this version to use MongoDB. I would recommend using MongoDB Atlas (they have a free offering) so you don't have to install it locally. Please let me know if that works!

Well, I put MongoDB on an Odroid C2 and I can get the initial data loaded without errors.  I can start the application, but I cannot see any feeds in the web browser, so I cannot create an account.  I don't know where the logs are so that I can show you.  Looking at the pm2 log seems to show progress, showing only errors when there is an errant feed, and I see that the data was read at your website in my dashboard. I have the mailer set to my local sendmail but I do not think this is the problem with the missing feeds.
I had used the sample .env file on this page but the trailing inline pound sign comments after the variable settings were causing problems.  I got rid of those.  I also had trouble putting in a MongoDB URI so I put the settings in manually which fixed things.
Thanks for helping me out with this.  I am stuck again so any help would be appreciated!  If you would like to see a log, I'll be happy to provide it.

@truckershitch Can you email me a log file and we can go from there<EMAIL_ADDRESS>Thanks!


FreeBSD: machine register structs

Add the CPU register structs for FreeBSD (x64) reg32, reg, fpreg32, fpreg, xmmreg from machine/reg.h
The 32bit structs should also be available in x86 under a different name (without 32), but I have no clue how to nicely add them without code duplication or complex [cfg], happy to hear suggestions.
I skipped the debug register structs dbreg32, dbreg, their defines and deprecated register indices to simplify this PR (and because I don't need them).
Other BSD variants seem to have similar structs, but not identical one:

dragonflybsd machine/reg.h (x86)
openbsd machine/reg.h (x86)

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Looks good! r=me once their commits are squashed.


houdini: 17.5.327 -> 18.0.391

Motivation for this change
Upstream package is no longer available for download, also new version is released.
Due to the first part (17.5.327 no longer available for download) at least the first commit should be backported to stable I think?
I'm happy to add myself as a maintainer if @canndrew has no objections?
@emptyflask and @PlumpMath were working on the v18.0 update, so they might also be interested in this PR.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks for doing this, I was trying to install v18 but kept running into issues with qt5.
I just tested this commit with version = "18.0.460"; and sha256 = "18rbwszcks2zfn9zbax62rxmq50z9mc3h39b13jpd39qjqdd3jsd"; and the program started up.
We should maybe replace the message with something that tells the user to use nix-prefetch-url file:///path/to/houdini-version-linux_x86_64_gcc6.3.tar.gz since they probably won't be using the URL to SideFX's CDN.

@emptyflask that hash is good for the updated version, so I've bumped it again. This PR removes the custom message for requireFile, so we end up with the default:
  Unfortunately, we cannot download file houdini-18.0.460-linux_x86_64_gcc6.3.tar.gz automatically.
  Please go to https://www.sidefx.com to download it yourself, and add it to the Nix store
  using either
    nix-store --add-fixed sha256 houdini-18.0.460-linux_x86_64_gcc6.3.tar.gz
  or
    nix-prefetch-url --type sha256 file:///path/to/houdini-18.0.460-linux_x86_64_gcc6.3.tar.gz

Does that seem suitable? It suggests your option and also an alternative using nix-store.

Looks good to me

There's been no response from the maintainer @canndrew  so if either of you want to add yourself as maintainer, then I'd be okay merging it.

I don't mind being the maintainer -- but if someone else who actually uses Houdini on a daily basis would rather do it, that would make more sense.
BTW, I've attempted to upgrade this to v18.5 after modifying the license date, but it looks like SideFX changed the license server in their latest release somehow, so I haven't been able to start it up yet. I'm not sure if I'll have the time to dedicate to that amount of work needed to get that running, but I'll give it a shot.

I've found this on the Houdini website: ftp://ftp.sidefx.com/public
Maybe it can be used to automatically download the software instead of requiring nix-prefetch-url?

@ryantm sorry, I missed that you wanted one of us as maintainer before merging. I've added myself now, and rebased onto latest master. I also added the ability to override the unwrapped package, as I did in #124906. This will make it easier to do a minor version bump in a personal overlay.
I'm currently working on v18.5, and will add that patch to this PR if it has not been merged by the time I figure it out. Otherwise, I will create a new PR.
@arximboldi - that looks great. I can see the mention of it here, so it seems like SideFX are OK with using FTP to get packages.

@arximboldi - I'm actually finding using the FTP server with fetchurl to be a bit flaky (sometimes it times out), so I'll leave it as-is for this PR, but might revisit that later after some more testing.


Upgrade to curl 7.52.1-5+deb9u8 or later to address curl vulnerabilities CVE-2018-16839

TL;DR
It would appear that the buildpack-deps:stretch-curl base image contains a version of curl (7.52.1-5+deb9u7) that has a few vulnerabilities (CVE-2018-16839).  More discussion on this vulnerability is available here.
This base image is used by a number of other images (including openjdk:8-jdk) that we rely on at work.
A patched version of curl (7.52.1-5+deb9u8) appears to be available.  Would it be possible to rebuild the buildpack-deps:stretch-curl image so this update could be picked up?
Steps to reproduce
$ docker run --rm -it buildpack-deps:stretch-curl sh -c "dpkg -s curl | grep '^Version'"
Version: 7.52.1-5+deb9u7
$

More involved steps to reproduce
Use skopeo to figure out the most recent sha256 hash for the image:
$ skopeo -override-os linux inspect docker://buildpack-deps:stretch-curl | jq '.Digest'
"sha256:dd5963b4735c6702455e790b301ce267d744336444088e4a827bae6fd11b5d01"
$

Using that hash figure out what version of curl is installed.
$ docker run --rm -it buildpack-deps:stretch-curl@sha256:dd5963b4735c6702455e790b301ce267d744336444088e4a827bae6fd11b5d01 sh -c "dpkg -s curl | grep '^Version'"
Version: 7.52.1-5+deb9u7
$

Do an apt-get update && apt-get install -y curl to prove a new version is available
$ docker run --rm -it buildpack-deps:stretch-curl@sha256:dd5963b4735c6702455e790b301ce267d744336444088e4a827bae6fd11b5d01 sh -c "apt-get update && apt-get install -y --no-install-recommends curl && dpkg -s curl | grep '^Version'"
[...]
Setting up curl (7.52.1-5+deb9u8) ...
Version: 7.52.1-5+deb9u8
$

There's a new release of Debian coming this weekend that will result in a rebuild of this image. :+1:

It looks like the upstream image changes did the trick.
$ skopeo -override-os linux inspect docker://buildpack-deps:stretch-curl | jq '.Digest'
"sha256:6d12f115a349d7675be5b31f5307779bb856f6cf46cc1f580f9b480dadc42a0b"
$ docker run --rm -it buildpack-deps:stretch-curl@sha256:6d12f115a349d7675be5b31f5307779bb856f6cf46cc1f580f9b480dadc42a0b sh -c "dpkg -s curl | grep '^Version'"
Version: 7.52.1-5+deb9u8
$

Thanks @tianon.  I'll close this issue.


merge alias servicetye

merge alias servicetye

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: emeroad:x: RoySRoseYou have signed the CLA already but the status is still pending? Let us recheck it.


Model Fine-tune for Classification Mission?

Hello! There is an automatic classification mission for engineering construction safe cases, we want to fine-tune your model using our dataset. However, no specification was found on your web page. Could you please tell me HOW to do that?

Hi, Thanks a lot for your interest in the INSTRUCTOR model!
To further finetune the INSTRUCTOR model and apply it to classification task, you may connect an additional classifier to the sentence embeddings, and finetune either only the classifier or the whole model.
Feel free to add any further questions or comments!

thank u！！！！！！！This REALLY SOLVED my problem~

山水
@.***

------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2023年6月5日(星期一) 下午3:43
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [HKUNLP/instructor-embedding] Model Fine-tune for Classification Mission? (Issue #44)
Hi, Thanks a lot for your interest in the INSTRUCTOR model!
To further finetune the INSTRUCTOR model and apply it to classification task, you may connect an additional classifier to the sentence embeddings, and finetune either only the classifier or the whole model.
Feel free to add any further questions or comments!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Please re-open the issue if you have any questions or comments!


[STM32F7] Fix for #1736 rtos tests can pass with IAR toolchain

The FPU option was missing for assembly compilation. This is needed for rtos library.
This way rtos test are passing on every toolchain

| | RTOS_1 | RTOS_2 | RTOS_3 | RTOS_4 | RTOS_5 | RTOS_6 | RTOS_7 | RTOS_8
------------ | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | -------------
ARM | NUCLEO_F746ZG | OK | OK | OK | OK | OK | OK | OK | OK
GCC_ARM | NUCLEO_F746ZG | OK | OK | OK | OK | TIMEOUT | TIMEOUT | OK | OK
IAR | NUCLEO_F746ZG | OK | OK | OK | OK | OK | OK | OK | OK
uARM | NUCLEO_F746ZG | OK | OK | TIMEOUT | OK | OK | OK | OK | OK
Tests are now OK for IAR
report__2016-05-13_<IP_ADDRESS>__NUCLEO_F746ZG__rtos__ALL.html.zip

+1


Lazy Loading with Tree component and AJAX

Is that possible with Gijgo tree? Is there an example?
Here is the background for this feature... https://mtyka.github.io/code/2012/10/02/lazy-loading-with-jstree-and-ajax.html

not yet, but this is planned to the future version.

Thanks, I think this feature is important for big trees

We added support for lazy loading in our new development version. You can see an example at https://github.com/atatanasov/gijgo/blob/master/examples/tree/Tree.LazyLoading.lazyLoading.Material.Design.html
Let us know if you have any questions. Please use the latest development build from https://github.com/atatanasov/gijgo/tree/master/dist

Thanks atatanasov.
Has it special documentation?
Can i expand a node with individual query? (I wanna have a tree that first level show organisation, second level show organisation buildings, third level show building peoples.

This is new feature and the documentation is going to be available after the official release.
I think that you have to create something like this example with our new development build:
https://github.com/atatanasov/gijgo/blob/master/examples/tree/Tree.Base.hasChildrenField.Custom.FieldName.html
You can also see another example with C# where the tree structure is in one table at https://github.com/atatanasov/gijgo-asp-net-examples


Show labels on available timeslots

Do you want to request a feature or report a bug?
Feature Request
Currently, there is no way to get labels to show on available timeslots. The hack around it is to change the default value of showLabels to true in lib/TimeColumn.js. I'd like to be able to induce this behavior from the BigCalendar component.
Something like the following:
          <BigCalendar
            culture="en-US"
            defaultView="work_week"
            longPressThreshold={150}
            selectable="ignoreEvents"
            step={20}
            timeslots={1}
            views={['work_week']}
            showLabels
          />

What's the expected behavior?
When set to true, labels would be shown on all available timeslots. If set to false, the current behavior would occur (no labels).
Is this something that can already be done or would you like a PR?

I think this would be a good PR.

feel free to PR something!


[WIP] Update ui-components

https://github.com/open-cluster-management/backlog/issues/12617

/test e2e-cluster


⚠ Fortnite has degraded performance

In da73b71, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1201 ms

Resolved: Fortnite performance has improved in 45b5ae6.


Assess the viability of adopting Docker Containers as the standard execution environment for the package

In the course of PR #528, we recognized the benefits of constructing an environment within a Docker container, which eliminates the need for users to manually handle the installation of various dependencies required by deeprank2. Thus, there is the possibility to make Docker containers the default execution environment for the package. However, there are some concerns about this direction.
PROs

Dependency management: Docker simplifies dependency management. All the required dependencies are specified in the Dockerfile, making it easier for users to set up the environment without manually installing each component.
Ease of reproducibility and consistency across environments: Docker images are essentially snapshots of an environment, making it easy to reproduce the same environment on different machines or at different points in time. Additionally, Docker allows for consistent deployment across different environments. It helps ensure that the package works the same way regardless of the underlying system, which is particularly useful in production scenarios.

CONs:

Learning curve: there may be a learning curve for users unfamiliar with Docker, adding complexity to the process of setting up and running the package.
Limited resource access: Docker containers are inherently isolated, and they don't have direct access to all resources of the host machine. This can be partially modified within the Docker settings, but it needs to be done properly by the user and might be a drawback in scenarios where an application requires low-level access to specific hardware or system resources. For my MAC for example, not all the CPUs can be used (maximum 8 out of 10). Additionally, the official Docker docs advise users to limit the containers' resources for both system instability and security risks.
GPU access: Docker traditionally has limitations when it comes to accessing GPUs directly. This can be a significant drawback for applications that heavily rely on GPU processing power, such as our machine learning pipeline.
Supercomputers: Realistically, users will run deeprank2 mainly run on supercomputers, where they won't have sudo permissions. In such cases, running Docker will require certain actions and considerations from the user side (e.g., system administrator assistance, compatibility with the job scheduler, containerized job scripts, availability of the Docker image containing your application on the supercomputer's file system or a container registry accessible to the compute nodes).

In my opinion, for our community use cases, Docker is not the best choice, especially for the latter couple of cons listed above. But please let me know your thoughts :) and also if you know about alternatives that overcome Docker's limitations.

Another downside is that Docker containers aren't composable, i.e. if you want to use program A together with program B and they're both distributed as Docker images, then it's going to be tricky to make it work. At best you could mount a folder in both and exchange data between them, but a single Python script that calls functions from both won't work.
I think a better solution here is to create packages on conda-forge for deeprank2 and, if necessary, its dependencies. It seems that DSSP is the main dependency not available as a Conda package. Possibly the authors could be persuaded to provide one, or maybe we could set it up and they could maintain it, or we could do it all ourselves, in descending order of preference.

I opened an issue in the DSSP repo requesting Conda package support for DSSP. We'll wait for the maintainers to check it out before figuring out what to do next.

The authors of DSSP are not willing to release it on Conda, but they're fine with us doing that.
Do you think it is feasible in a short time even if we're not the authors of the package? @LourensVeen If not, we will evaluate whether to entirely remove the dependency on DSSP. It is used to generate one relatively minor feature and is not fundamental to our pipeline. If instead is doable, then we can have a brief chat for tips and then I'll start the procedure.

Okay, I've got Conda swapped out a bit at the moment, but I'm back at work next week and I'll get back on it, so we should be able to set something up then.

I installed this conda version of dssp on MacOS with M1 chip in a new environment and the tests passed. But they fail on the CI (see PR #549). I am now investigating if this is the case also with Snellius.


feature: Add configurable GraphiQl title property

Pull request checklist

[x] Please read our contributor guide
[ ] Consider creating a discussion on the discussion forum
first
[x] Make sure the PR doesn't introduce backward compatibility issues
[x] Make sure to have sufficient test cases

Pull Request type

[ ] Bugfix
[x] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Changes in this PR
This PR is the feature that add configuration property to be able to change GraphiQl title
Both support webmvc and webflux
https://github.com/Netflix/dgs-framework/issues/602
Alternatives considered

Add configuration
When requesting graphiql endpoint, replace the placeholder of title

Dear @berngp , could you please help to check this PR?
Thanks very much!

Pretty cool @springmonster , thanks for the PR!


Backgrounds are missing

Playnite Version: 10.16
PS5ish Version: 5.0.3
Add-ons installed: DKG Theme Modifier, Extra Metadata Loader, HowLongToBeat, SuccessStory, ThemeExtras
Issue: Backgrounds are missing for all games on the XMB. See below. Note that I do have backgrounds selected for every game in my library.

Under Visuals enable Show Background Image on Main Screen. Hope that helps


Remove www sub domain

This has happened 3 times for me now. I send the website to someone or visit it on a new device and it fails because I have missed the www. subdomain
Doesn't load: https://vaccine-tracker.uk/
Loads: https://www.vaccine-tracker.uk/

Dealing with custom domain / https issues with Github Pages has been the bane of my life. The current setup is the only one that worked - if I were to set the custom domain to the apex, the www subdomain stops working altogether.
One thing I could try is set the custom domain to the apex, and use an alias domain to redirect www to said apex.

Dealing with custom domain / https issues with Github Pages has been the bane of my life. The current setup is the only one that worked - if I were to set the custom domain to the apex, the www subdomain stops working altogether.
One thing I could try is set the custom domain to the apex, and use an alias domain to redirect www to said apex.

@nicjac, have you tried the below approach?
https://stackoverflow.com/questions/59596179/github-pages-redirect-non-www-root-domain-to-www-subdomain

@nicjac, have you tried the below approach?
https://stackoverflow.com/questions/59596179/github-pages-redirect-non-www-root-domain-to-www-subdomain

I've tried this a while ago and it resulted in similar certificate issues. Will give it another shot. Thanks!

I stumbled across this project on Google looking for estimates for when my wife and I might be able to get the first dose - we'd like to thank you for your hard work on this great resource!
If you're still having issues with this (and if it's a big enough deal to warrant dealing with it) I'd be more than happy to help you host the site with correct SSLs for www/non-www? Let me know if it's of use at all!

I stumbled across this project on Google looking for estimates for when my wife and I might be able to get the first dose - we'd like to thank you for your hard work on this great resource!
If you're still having issues with this (and if it's a big enough deal to warrant dealing with it) I'd be more than happy to help you host the site with correct SSLs for www/non-www? Let me know if it's of use at all!

I've been trying to deal with it since this issue was first created - it's driving me nuts, and Github support basically told me having SSL for both the root domain and a www subdomain at the same time is not supported.
Thank you for your kind hosting offer. Ideally I would find a way to deal with the whole DNS / SSL thing without having to leave Github pages (due to the CI/CD integration for automated updates based on data release by PHE).

without having to leave Github pages (due to the CI/CD integration for automated updates based on data release by PHE).

Ah I see - of course, no problem! Please feel free to reach out in the future if you think I can be of assistance!

Closing as this seems mostly fixed


Attach event using addEventListener

Hi,
Thanks for this plugin. I am using component framework. And it's create child div of particular component.
So, problem is as those div created inside component is created by framework. And As per my knowledge I can only attach events by.
<div v-touch:swipe.right="swipeRightHandler" class="swipe-area" />

But how can attach event using refs and access my element.
Currently element I want to attach event is at..
const sidebarEl = this.$refs.mainSidebar.$el.childNodes[1];

I want to attach event to this sidebarEl element.
~ Thanks

Hi,
I think what you want to do is like this:
this.$refs.mainSidebar.$el.childNodes[1].addEventListener('touchstart', function(){})

And it's a pity that you can't do this by using this directive.  😔

Hello @jerrybendy ,
Thanks for quick response. I am not good with touch events. After logging this event's event it only gives points and other stuff.
How can I know if user swiped left or right??

I just do a little things to detect swipe events. If a finger touches on the screen, you would get a touches array in the event object. The touches array includes the position your finger touched at. Save the position in a variable.
When touch end, you can get a position your finger leaves on the screen. To judge if the X of end position less or greater than the start position, you will know it's swipe left or right.

Thank you so much.


OmniSharp doesn't work with KDE Kate editor

KDE Kate editor on Windows (not Linux), downloaded from https://binary-factory.kde.org/job/Kate_Release_win64/. OmniSharp is omnisharp-win-x64.zip and MSBuild is installed from https://download.visualstudio.microsoft.com/download/pr/7c09e2e8-2b3e-4213-93ab-5646874f8a2b/73d0e76d9156e11d8d448e5da817d4d83d7a9edb12190aea4c0b6fb8af25cd2c/vs_BuildTools.exe. OmniSharp directory added to PATH. This is KDE Kate editor's LSP Client config (just a copy/paste from the default server settings of KDE Kate):
{
    "servers": {
        "c-sharp": {
            "command": ["omnisharp", "-lsp"],
            "commandDebug": ["omnisharp", "--debug", "--verbose"],
            "rootIndicationFilePatterns": ["*.sln", "*.csproj"],
            "url": "https://github.com/OmniSharp/omnisharp-roslyn",
            "highlightingModeRegex": "^C#$"
        }
    }
}

The server is started normally by the editor when opening a sample CSharp source file. But it took a while for me to realize the code completion is indeed KDE Kate's built-in word based completion and the language server simply doesn't work.

Nevermind, it seems the LSP Client of KDE Kate is currently broken (at least on my system). I tested with another language server and got the same result.


Obj-C Support?

Is there support planned for Obj-C? It would be great to see why compilation is taking so long in a large, Obj-C based project. Does this project rely on anything Swift specific?

The issue here is that the flags added to the Build Settings are Swift specific. I'm not sure if Xcode offers equivalent flags for Obj-C. If you would find equivalent flags however, the plug-in would likely work without code changes.


Andrew7234/evmtokens api

From slack:
When listing tokens via the /:runtime/evm_tokens, we need as part of the EvmToken object:
  - data about the underlying token contract:
    - eth address
    - verification status (we only need a boolean, not the whole data structure)```

👍🏻

This will be used by https://github.com/oasisprotocol/explorer/pull/760


Logo of index.html remains on while app is running

Hello, I do not know if this is the intended behaviour, but it came to my attention that if I have a logo on index.html in order to display while the app loads, the logo basically continues to stay on while the app is running, behind the app (like a Stack)
Steps to Reproduce

Execute flutter run on the code sample

Expected results:
I would expected to see a blank background
Actual results:
Instead I see the index.html logo

Just create a flutter app with opacity on scaffolodBackgroundColor

import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.

        scaffoldBackgroundColor: Color.fromARGB(43, 163, 42, 42),
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

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

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

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

<!DOCTYPE html>
<html>
<head>
  <!--
    If you are serving your web app in a path other than the root, change the
    href value below to reflect the base path you are serving from.

    The path provided below has to start and end with a slash "/" in order for
    it to work correctly.

    For more details:
    * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

    This is a placeholder for base href that will be replaced by the value of
    the `--base-href` argument provided to `flutter build`.
  -->
  <base href="$FLUTTER_BASE_HREF">

  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A new Flutter project.">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-title" content="logo_issue">
  <link rel="apple-touch-icon" href="icons/Icon-192.png">

  <!-- Favicon -->
  <link rel="icon" type="image/png" href="favicon.png"/>

  <title>logo_issue</title>
  <link rel="manifest" href="manifest.json">

  <script>
    // The value below is injected by flutter build, do not touch.
    var serviceWorkerVersion = null;
  </script>
  <!-- This script adds the flutter initialization JS code -->
  <script src="flutter.js" defer></script>
</head>
<body>
  <picture id="splash">
    <img class="center" aria-hidden="true" src="icons/Icon-512.png" alt="Logo" style="width:auto;">
  </picture>
  <script>
    window.addEventListener('load', function(ev) {
      // Download main.dart.js
      _flutter.loader.loadEntrypoint({
        serviceWorker: {
          serviceWorkerVersion: serviceWorkerVersion,
        }
      }).then(function(engineInitializer) {
        return engineInitializer.initializeEngine();
      }).then(function(appRunner) {
        return appRunner.runApp();
      });
    });
  </script>
</body>
</html>

If it is the expected behaviour, is there a way for me not to render that image, once the app begins? If I did not have an image, but showed a gif, or some animation based on html and css, wouldn't that mean that it is running in the background, holding resources for no reason?

Hi @GeorgePagounis, you are responsible for removing that image from the dom when the app is loaded.
See https://docs.flutter.dev/development/platform-integration/web/initialization for more information and https://github.com/flutter/gallery/blob/master/web/index.html for an example of how to implement this.
I'll be closing this as it is an implementation issue.
Thank you

Thank you!


Rework of PR 28 ... minor cleanup

A cleaner PR for:
https://github.com/CSC-IT-Center-for-Science/ansible-role-users/pull/28

Merged, thanks!
Tested ansible-role-users with these changes on a not-so-important production system and it didn't break anything. Making a release.


Screenshot with currency other than 1 not working

What is the current behavior?
I wrote a crawler which crawls websites. When i specify that this crawler uses multiple concurrent browsertabs, not all screenshots are made.
If i modify the concurrency to "1", all screenshots are made correctly.
If the current behavior is a bug, please provide the steps to reproduce
preRequest: (options => {
console.log('Requesting:' + options.url);
var shaUrl = new shajs.sha256;
shaUrl.update(options.url);
var shaUrlHex = shaUrl.digest('hex');
if (screenshot) { options.screenshot =  { path: repositoryfolder + snapfolder + '/' + shaUrlHex + ".png" , fullPage: true};}
return true;
})
What is the expected behavior?
I would expect that all screenshots would be written to disk.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:

Version:
Platform / OS version: Windows 10
Node.js version:  v8.7.0

@GrumpyMeow Do you have any update?

Closing this issue because no information is provided for a month.
Please feel free to reopen it if you have further questions.


Remove symbolize gem dependency

symbolize gem is not used, so it can be safely excluded from deps.
Also other dependencies are updated in Gemfile.lock.

+1

Closing as this has been taken care of in https://github.com/futurechimp/plissken/pull/9


Running Aurora on boot

Hi,
Using an Ubuntu Server to run beanstalkd and aurora - do you have any example scripts/details about writing an init.d script for aurora?
Thanks for the awesome tool!

@ecowed Thanks for your issue. I suggest that use Supervisor to manage aurora.

Ah perfect - thanks! 👍


aria-controls instead of aria-owns?

In reviewing the WAI ARIA combobox pattern and seeing to what extent this library follows that pattern, I noticed that the form input is using aria-owns, which appears to be a ARIA 1.0 recommendation. At the bottom of the page, there is a note:

In ARIA 1.0, the combobox referenced its popup with aria-owns instead of aria-controls. While user agents might support comboboxes with aria-owns for backwards compatibility with legacy content, it is strongly recommended that authors use aria-controls.

Is there any possibility that you can update to use aria-controls instead of aria-owns, or a reason why one would not want to use aria-controls?

Echoing @jeremyZX, I have seen this being flagged as a critical accessibility issue by AXE:
Fix any of the following: Required ARIA attribute not present: aria-controls

Any chances we could update this? Happy to create a PR but wanted to discuss here before.

We've previously said this might be part of an intentional 'regression' to prefer the ARIA 1.0 pattern due to better support from assistive technologies.
That was 4 years ago, so you'd hope that support for the 1.1 pattern had improved regardless, but we need to understand the nuance of this change and ensure it's thoroughly tested.

This has also been flagged as part of our accessibility autit for a project in DWP. Would it be resonable to add both attributes? Then we'd be backward compatible and the component would no longer get flagged.


fix: properly reply to each command and improve tests

Codecov Report

Merging #5 (f79fd21) into main (bc04372) will increase coverage by 27.43%.
The diff coverage is 74.82%.

@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
+ Coverage   25.36%   52.79%   +27.43%
===========================================
  Files           3        5        +2
  Lines         276      411      +135
===========================================
+ Hits           70      217      +147
+ Misses        203      181       -22
- Partials        3       13       +10

Flag
Coverage Δ

tests
52.79% <74.82%> (+27.43%)
:arrow_up:

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

Impacted Files
Coverage Δ

lsp.go
50.00% <34.61%> (+18.18%)
:arrow_up:

test/fixture.go
77.77% <77.77%> (ø)

test/editor.go
87.50% <87.50%> (ø)

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 bc04372...f79fd21. Read the comment docs.


Allow comments

I'm not sure how closely you want to track zaach/jsonlint, but they have an open issue for this as well.

Comments aren't technically valid, but I wouldn't say they're invalid either.
Douglas Crockford (creator of JSON) has said:

A JSON encoder MUST NOT output comments. A JSON decoder MAY accept and ignore comments.

Comments were initially allowed in JSON, and were only removed to prevent people from adding parsing directives.
They're very useful in things like composer.json files, where there can sometimes be important things to document.
There's no reason that decoders can't allow and ignore them. Since some do just that, I think it makes sense for JSON linters to provide a flag that will let them pass through as well. The user will know best what their particular use case allows.

I'm not strictly against supporting it here either as long as it's behind a feature flag.

Even allowing comments behind a flag won't allow you to put JS comments in the composer.json. For performance reasons, Composer uses PHP's json_decode to read JSON files. It uses this library only to provide a better error message in case of failure.


pick image from gallery

is:issue is:open when we use image from assets folder it works fine but when we pick image from gallery it shows an error  'Invalid MRZ parser input. If you think this is a mistake, please file an issue https://github.com/olexale/mrz_parser/issues'

any sample project that reproduces the problem?

i have created my own in flutter and iam using like this
//Gallery image picked usiing image pciker
static Future<Uint8List?> imagePicker() async {
try {
final XFile? image = await picker.pickImage(source: ImageSource.gallery);
if (image != null) {
return await image.readAsBytes(); // Return the image as bytes
} else {
print('No image selected.');
return null;
}
} catch (e) {
print('Error picking image: $e');
return null;
}
}
//-----selected from gallery ---
final galleryImageBytes = await ImageHelper.imagePicker();
//---Asset image----
final ByteData imageData = await rootBundle.load('assets/images/7.png');
final Uint8List imageBytes = imageData.buffer.asUint8List();
//-----Both Image are same.....
final request = AnnotateImageRequest()
..image = (Image()..contentAsBytes = imageBytes)
..features = [
(Feature()
..type = 'TEXT_DETECTION'
..maxResults = 10)
];

I'm not sure I understand the case. So, here you loaded an image from the gallery, then used some AnnotateImageRequest() and requested a 'TEXT_DETECTION' from it. Is the output a list of strings?
That's how you may use the mrz_parser package:
  final mrz = [
    'P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<',
    'L898902C36UTO7408122F1204159ZE184226B<<<<<10',
  ];
  final result = MRZParser.tryParse(mrz);

The mrz is a list of strings you get from somewhere.

You can see how i am using...
final request = AnnotateImageRequest()
..image = (Image()..contentAsBytes = imageBytes)
..features = [
(Feature()
..type = 'TEXT_DETECTION'
..maxResults = 10)
];
final annotateRequest = BatchAnnotateImagesRequest()..requests = [request];
issue i faced:-
when i upload image from gallery so mrz return eroro on ther hand when we use same image from assets folder it works perfect

give me only limited data from that string

What makes you think that the data is limited?

data is limited because we cannot get Date of Issue, Place of Issue and Place of Birth can you help me to get these field also?

This information is not encoded in MRZ, you may read about the format here https://en.wikipedia.org/wiki/Machine-readable_passport.


fix(kogito-integration): Set DSL if differs from the settings

fixes: https://github.com/KaotoIO/vscode-kaoto/issues/145

I still have the same kind of problem:

(opening a kameletbinding file as the default type is now Camel route)

@apupier  it's working for me:

np :) thanks !


[fastlane] Time Out BUILD 30 Seconds

Many errors
/usr/local/lib/ruby/gems/2.4.0/gems/fastlane-2.18.2/fastlane_core/lib/fastlane_core/ui/interface.rb:146:in `user_error!': [!] xcodebuild -list timed-out after 30 seconds. You might need to recreate the user schemes. You can override the timeout value with the environment variable FASTLANE_XCODE_LIST_TIMEOUT (FastlaneCore::Interface::FastlaneError)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

[INSERT OUTPUT HERE]
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.3

Ruby
2.4.0

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.0/lib

OpenSSL Version
OpenSSL 1.0.2j  26 Sep 2016

Is contained
false

Is homebrew
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
ru_RU.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.18.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

i18n
0.7.0

multi_json
1.12.1

tzinfo
0.3.52

minitest
4.7.5

thread_safe
0.3.5

activesupport
4.0.13

CFPropertyList
2.3.4

claide
1.0.1

colored
1.2

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

unicode-display_width
1.1.2

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.4

addressable
2.5.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

highline
1.7.8

commander
4.4.3

excon
0.54.0

faraday
0.10.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20161129

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.0.1

gh_inspector
1.0.2

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.20

json
2.0.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.1.1

bundler
1.13.7

faraday_middleware
0.10.1

io-console
0.4.6

openssl
2.0.2

*generated on:* **2017-02-23**

glad it works, could you tell us what the solution was?


Update features are available on ReFS table

The table mentions that Dedup can be Enabled on the ReFS volume. However, that is not true for Windows Server 2016 (RS1), Windows Server 2012 R2, Windows Server 2012.

Hi, Kaushik - can you check the change made by a PM to this same topic? I think it may address the issue: https://github.com/MicrosoftDocs/windowsserverdocs/pull/427
Thanks!

Hi Liza, the change made by PM looks good. Do ensure to correct the overlapping text:
https://github.com/MicrosoftDocs/windowsserverdocs/pull/439

Thanks, Kaushik - will do. This merge takes a bit more work, because of that overlap, but I should have it published out this afternoon (Friday, 3/9).


Inconsistent Description in Documentation for Note and Numeric Widgets

I noticed that the description for both the "note" and "numeric" widgets in the documentation is identical:

Adds a Markdown note in the sidebar.

Here are the links to the respective documentation pages:

Note Widget
Numeric Widget

I believe this might be a copy-paste error. I suggest the update of the description for the "numeric" widget to be:

Creates a numerical input widget in the sidebar for interactive user inputs.

Also minor suggestion to put either the name of the widget (like App, Button, Checkbox, File, Slider and Range) or not at all at their description for consistent documentation.

Good catch @ranggakd! Do you want PR with fix?

Absolutely, I do and I will. Thanks.

fixed, thanks!


Errors with pip installation in Docker containers with torch 2.5

Hi there, thank you for the great work on Unsloth! I am trying to install the package in a Docker containers to fine-tune Gemma models following the Colab notebooks for Gemma:
https://colab.research.google.com/drive/1vIrqH5uYDQwsJ4-OO3DErvuv4pBgVwk4?usp=sharing
I am working with a Docker file (below) where I am trying to emulate the package versions in the Colab runtime, which is torch==2.5 and unsloth==2024.10.7.
FROM pytorch/pytorch:2.5.0-cuda12.1-cudnn9-runtime

# Below command creates home dir for 1000 UID user if it is not present.
RUN if ! id 1000; then useradd -m -u 1000 clouduser; fi

RUN mkdir /workdir
WORKDIR /workdir

ENV LANG=C.UTF-8
RUN apt-get update --allow-releaseinfo-change && apt-get install -y git python3 python3-pip netcat

RUN python3 -m pip install --upgrade pip

# Below command installs required libraries
COPY requirements.txt /workdir/pytorch_xcloud_training/requirements.txt
RUN python3 -m pip --no-cache-dir install -r pytorch_xcloud_training/requirements.txt

RUN python3 -m pip install peft==0.13.2

# Below command installs unsloth
RUN python3 -m pip install "unsloth[cu121-torch250] @ git+https://github.com/unslothai/unsloth.git"
RUN python3 -m pip install unsloth-zoo

# Install flash attention library
RUN python3 -m pip install flash-attn --no-build-isolation

COPY train_C2S_unsloth_HF_torch_lora.py /workdir/pytorch_xcloud_training/train_C2S_unsloth_HF_torch_lora.py

# Below command make 1000 UID and root user as owners of the workdir.
RUN chown -R 1000:root /workdir && chmod -R 775 /workdir

ENTRYPOINT ["python3", "-m", "pytorch_xcloud_training.train_C2S_unsloth_HF_torch_lora"]

I have been running into errors with my pip installation for a while now in the call to model = FastLanguageModel.get_peft_model():
TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)
 * (tuple of ints size, *, torch.memory_format memory_format = None, Tensor out = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)

I am unsure of what is causing this error. I am able to create a working Anaconda environment following the Anaconda installation instructions in the ReadME, and the Colab runs, however any Docker environment I create runs into this error. Any advice on this would be greatly appreciated!

@SyedA5688 Wait we don't yet have a Torch 2.5 tag yet - probably best to just use unsloth without the tag

I see, thanks for your quick reply! I've gotten farther along with trying to build a Docker container with torch 2.5 and unsloth, however I still run into the above error. Is there a Docker image available for unsloth by any chance that I could base my image off of?

@SyedA5688 One way is to use the vLLM Docker image, and add Unsloth together (although vLLM doesn't yet support torch 2.5)
Also I just added unsloth[cu121-torch250] as well!

Thank you for updating to torch 2.5!
After some more experimenting with Docker files, I have landed on this Docker file based on some other posts:
ARG CUDA_VERSION="12.2.2"
ARG UBUNTU_VERSION="22.04"
ARG DOCKER_FROM=nvidia/cuda:$CUDA_VERSION-devel-ubuntu$UBUNTU_VERSION
FROM $DOCKER_FROM AS base

# Below command creates home dir for 1000 UID user if it is not present.
RUN if ! id 1000; then useradd -m -u 1000 clouduser; fi

RUN mkdir /workdir
WORKDIR /workdir

ENV LANG=C.UTF-8
RUN apt-get update --allow-releaseinfo-change && apt-get install -y git python3 python3-pip netcat

RUN apt-get update -y && \
    apt-get install -y python3 python3-pip && \
    apt-get install -y --no-install-recommends git && \
    python3 -m pip install --upgrade pip && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN python3 -m pip install "trl<=0.9.0" peft==0.10.0 bitsandbytes==0.43.3 transformers[sentencepiece]==4.43.4
RUN python3 -m pip install torch==2.2.1+cu121 torchvision --index-url https://download.pytorch.org/whl/cu121
RUN python3 -m pip install "unsloth @ git+https://github.com/unslothai/unsloth.git@d0ca3497eb5911483339be025e9924cf73280178"
RUN python3 -m pip install --no-deps "xformers<0.0.26" --force-reinstall
RUN python3 -m pip install flash_attn==2.6.3
RUN python3 -m pip install absl-py
RUN python3 -m pip install numpy==1.26.4

COPY train_C2S_unsloth_HF_torch_lora.py /workdir/pytorch_xcloud_training/train_C2S_unsloth_HF_torch_lora.py

# Below command make 1000 UID and root user as owners of the workdir.
RUN chown -R 1000:root /workdir && chmod -R 775 /workdir

ENTRYPOINT ["python3", "-m", "pytorch_xcloud_training.train_C2S_unsloth_HF_torch_lora"]

When I run with this Docker file, all libraries seem set up correctly (no errors with CUDA or flash attention), however I still run into the same error as I mentioned above:
TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)
 * (tuple of ints size, *, torch.memory_format memory_format = None, Tensor out = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)

This error occurs in the call to FastLanguageModel.get_peft_model(). Full stack trace:
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/workdir/pytorch_xcloud_training/train_C2S_unsloth_HF_torch_lora.py", line 189, in <module>
    app.run(main)
  File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.10/dist-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "/workdir/pytorch_xcloud_training/train_C2S_unsloth_HF_torch_lora.py", line 97, in main
    model = FastLanguageModel.get_peft_model(
  File "/usr/local/lib/python3.10/dist-packages/unsloth/models/llama.py", line 2125, in get_peft_model
    model = _get_peft_model(model, lora_config)
  File "/usr/local/lib/python3.10/dist-packages/peft/mapping.py", line 136, in get_peft_model
    return MODEL_TYPE_TO_PEFT_MODEL_MAPPING[peft_config.task_type](model, peft_config, adapter_name=adapter_name)
  File "/usr/local/lib/python3.10/dist-packages/peft/peft_model.py", line 1094, in __init__
    super().__init__(model, peft_config, adapter_name)
  File "/usr/local/lib/python3.10/dist-packages/peft/peft_model.py", line 129, in __init__
    self.base_model = cls(model, {adapter_name: peft_config}, adapter_name)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora/model.py", line 136, in __init__
    super().__init__(model, config, adapter_name)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/tuners_utils.py", line 148, in __init__
    self.inject_adapter(self.model, adapter_name)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/tuners_utils.py", line 325, in inject_adapter
    self._create_and_replace(peft_config, adapter_name, target, target_name, parent, current_key=key)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora/model.py", line 220, in _create_and_replace
    new_module = self._create_new_module(lora_config, adapter_name, target, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora/model.py", line 295, in _create_new_module
    new_module = dispatcher(target, adapter_name, lora_config=lora_config, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora/bnb.py", line 506, in dispatch_bnb_4bit
    new_module = Linear4bit(target, adapter_name, **fourbit_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora/bnb.py", line 293, in __init__
    self.update_layer(
  File "<string>", line 17, in LoraLayer_update_layer
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/linear.py", line 98, in __init__
    self.weight = Parameter(torch.empty((out_features, in_features), **factory_kwargs))
TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType), but expected one of:
 * (tuple of ints size, *, tuple of names names, torch.memory_format memory_format = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)
 * (tuple of ints size, *, torch.memory_format memory_format = None, Tensor out = None, torch.dtype dtype = None, torch.layout layout = None, torch.device device = None, bool pin_memory = False, bool requires_grad = False)

This error does not come up when running Unsloth Gemma-2 LoRA training in Google colab (torch 2.5.0+cu121 and unsloth 2024.10.7) or Anaconda environments I tried on other Linux machines (which had pytorch 2.4.1 and unsloth 2024.10.0). Any idea what might be causing this particular error?

Update: after some more debugging, I found out the issue:
I was passing in lora_rank (r) = 16.0, which is a float, rather than an integer. When I passed in 16, the error was resolved. Closing this issue, thank you for your responsiveness!


Improve message subsystem codebase

There is quite some room for improvement here. One example: when an acknowledgement is received for a packet, we don't immediately send a new one but rather wait for the 1 second timer. Also iirc we only send 1 packet at a time. This can be improved by sending multiple at once. Other improvements may also apply

Is that still going to be part of this release? @LeeSmet @maximevanhees that's already 2month ago

This is on the backburner now since priorities changed


Add nonce into the block

Have added a nonce into the ethereum block wrapper, seems that it has been missed.
Here it is the full representation of the Ethereum block header https://github.com/ethereum/go-ethereum/blob/0e00ee42ec4e43ce3b9b1ffdadea3c66aa6eeba4/core/types/block.go#L69
type Header struct {
	ParentHash  common.Hash    `json:"parentHash"       gencodec:"required"`
	UncleHash   common.Hash    `json:"sha3Uncles"       gencodec:"required"`
	Coinbase    common.Address `json:"miner"            gencodec:"required"`
	Root        common.Hash    `json:"stateRoot"        gencodec:"required"`
	TxHash      common.Hash    `json:"transactionsRoot" gencodec:"required"`
	ReceiptHash common.Hash    `json:"receiptsRoot"     gencodec:"required"`
	Bloom       Bloom          `json:"logsBloom"        gencodec:"required"`
	Difficulty  *big.Int       `json:"difficulty"       gencodec:"required"`
	Number      *big.Int       `json:"number"           gencodec:"required"`
	GasLimit    uint64         `json:"gasLimit"         gencodec:"required"`
	GasUsed     uint64         `json:"gasUsed"          gencodec:"required"`
	Time        uint64         `json:"timestamp"        gencodec:"required"`
	Extra       []byte         `json:"extraData"        gencodec:"required"`
	MixDigest   common.Hash    `json:"mixHash"`
	Nonce       BlockNonce     `json:"nonce"`
}

This should fix issues with using some Ethereum based Dapps which expects full info about the block header.

@sorpaas , but you can see that rpc requests like getBlock() returns a response not a fully Ethereum converging response, nonce field is missing.
About the comment that some nonce is Ethereum specific field I am agree, but in the these structs already contain total_difficulty and difficulty which is also Ethereum specific and not all chains need it, so I am not sure that this will be a problem if frontier will return just a default value for the nonce field.
Also as I mentioned an absence of this field may produce issues existing Ethereum dapps which expects to see nonce field in the response even if this field will be just only zero.

@Mr-Leshiy I think in this case only changing the RPC would be sufficient! Is this something you're interested in working on?


Add getDisplayMedia and PipeWire support

This will, in theory, fix #927 . I made this from a new environment, my personal computer, where I don't use teams, so it's not tested yet, but it should work, as I've made these changes on my work laptop and worked flawlessly.
Some notes:

As commented on lines 238-239 in preload.ts, choosing screen/window to share with PipeWire may not be deterministic, I'm taking a guess, because I tested it n my work laptop and it always returns what PipeWire-screen-share-picker returns, that is what the user chooses to share;
Not tested on Mac;
The permissions handler (setupSessionPermissionHandler) is, in my opinion, a bad thing. Electron is not "safe by default", and force permission to get this working is not a good idea... Unfortunately we don't have another option as of this moment. Also see: https://github.com/electron/electron/issues/12931;
Picker should handle accessibility properly;
On wayland, using pipewire and DE Gnome, if the user clicks on "stop sharing" in the top right corner, next to the system menu and tray icons (if setup), it doesn't stop sharing, but the icon to stop sharing in Gnome disappears. I honestly don't know how to handle this.

Screen share icon mentioned in the last item from the previous list:

@RickStanley thanks for the contribution. Will look when the build passes; can you look into it?

I've made some changes, sorry forgot to run tests and lint.
I don't know if I can pick this up later, but I'm thinking about using the dialog element instead of the current div and buttons implementation, it comes with some accessibility by default, or even a frameless BrowserWindow.
Furthermore, we may need some tests for this.

@RickStanley

I've made some changes, sorry forgot to run tests and lint.

No worry 🙂.

I don't know if I can pick this up later, but I'm thinking about using the dialog element instead of the current div and buttons implementation, it comes with some accessibility by default, or even a frameless BrowserWindow.

Seems like a good idea for accessibility indeed. Up to you, if you have the bandwidth to improve this now in this PR, go for it. But if not, I'd rather have this PR merged now and a later PR improving the a11y, than this PR lingering while the dialog/browserwindow take 2 never comes.

Furthermore, we may need some tests for this.

Yes please!

Finally! Build passing :).
I'm not sure how to test this. Could you give me directions so I can take a look when I'm not busy? It may take some time, so I can't tell for sure when I'll be able to get my hands on this.
As for dialog element/browserwindow for screen share picker: I think the latter is the better option, on the long run, thinking about support and web standards of dialog, maybe it's not ready yet (my opinion). And create an issue as an enhancement.

Seems not working with these changes.
After removing "helpers/helpers" from preload.js works good.

Finally! Build passing :).

:tada: :tada: :tada: :tada: !!!

I'm not sure how to test this. Could you give me directions so I can take a look when I'm not busy? It may take some time, so I can't tell for sure when I'll be able to get my hands on this.

@RickStanley well I'm not sure either 😄. In the end it's mostly plumbing and there isn't much to test on our side :shrug: , it's difficult-to-test "integration" / "end-to-end" stuff.
:thinking: actually I have an idea: could you add a test at the end of our manual-test script that I run before new releases? You should add a extra manual test block that follows the structure established by the other tests: open a login-less page (maybe on Jitsi?) and offer a list of bullet points to enable a smoke-tester / maintainer to quickly whtaever test points { X, Y, Z } all pass.

As for dialog element/browserwindow for screen share picker: I think the latter is the better option, on the long run, thinking about support and web standards of dialog, maybe it's not ready yet (my opinion). And create an issue as an enhancement.

👍

Seems not working with these changes. After removing "helpers/helpers" from preload.js works good.

@DimICE thx for the notice; letting @RickStanley follow up with you.

Closing as abandoned. Feel free to rebase, address comments, and add a comment, and I'll be happy to re-review.


TR-6.2 System logging to console configuration

This PR provides Test Plan (README.md) for system logging to console.

NOTE:  It also includes draft plan for VTY, files and buffer, but this local log consumers are not modeled in OpenConfig. Henc it is for future development.

Pull Request Functional Test Report for #1918 / 50e1c2708e7a857e0f94d58202313bd72894e43f
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TR-6.2: Configuration of logging consumers - console, vty, local files
6ad03d67
Log

Cisco 8000E

TR-6.2: Configuration of logging consumers - console, vty, local files
5c9f9be1
Log

Cisco XRd

TR-6.2: Configuration of logging consumers - console, vty, local files
0256c44b
Log

Juniper cPTX

TR-6.2: Configuration of logging consumers - console, vty, local files
c167a642
Log

Nokia SR Linux

TR-6.2: Configuration of logging consumers - console, vty, local files
0d2332b3
Log

Openconfig Lemming

TR-6.2: Configuration of logging consumers - console, vty, local files
f9b0dbd5
Log

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1341

Relevant Lines:
2848

💛  - Coveralls

FYI: Removing this from the project lists.  Instead I have linked this PR to the issue which tracks the test: https://github.com/openconfig/featureprofiles/issues/1920


mysqlctld doesn't evaluate if my.cnf changed after taking a backup

Right now when mysqlctld is started after a backup it doesn't check for updates in my.cnf.
This can be dangerous in a non-containerized setup where the base my.cnf can be managed by a config management system.
Example:

dynamic set a system variable in MySQL
deploy system variable change in the "base my.cnf"
take a backup

At the end of the procedure MySQL will be restarted but the system variable change will be lost.
A restart of mysqlctld is required.

Fixed


Compiler error from method with return type + body with if and throw: A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.

Hi,
Here is an example that incorrectly (as I understand) generates a compile-time error with TypeScript 1.5 beta:

A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.

class Demo {
  xxx() : number { // 1. note: this method has return type (not any)
    if(true) { // 2. note: this method contains if statement (body is not important)
    }
    throw new Error("test"); // 3. note: this method throws error instead of returning instance of expected type
  }
}

But if i remove the if or add return after throw statement (that never gets executed), then compiler is fine with it:
class Demo {
  xxx() : number {
    if(true) {
    }
    throw new Error("test");
    return null; // this line doesn't make sense, but makes TS compiler happy
  }
}

Expected behavior:
First example should compile fine without errors, workaround shown in second example should not be needed to make compiler happy, as adding return statement after throw statement doesn't make sense (return will never be executed at runtime).

This is because the compiler does not do control flow analysis at this point. it would be a restriction that can be relaxed once this support is added.
As for now this is by design, as per the section 6.3: function implementations from the language spec:

An explicitly typed function whose return type isn't the Void or the Any type must have at least one return statement somewhere in its body. An exception to this rule is if the function implementation consists of a single 'throw' statement.

see #1042


SHA_NOT_FOUND

I enter the info for a repo on Github on the editor page.
The connection seems to happen succesfully as the response from the github API has the filenames on my repo.
But then I get
ERROR: Read from GitHub failed {message: "SHA_NOT_FOUND"}

@ahemaid , please have a look on this.

Hi @skarampatakis,
I think this means that the authentication process with GitHub is failed. It could happen with invalid username and password. so please double check that. Moreover, the loading of files to the editor page does not mean that you have correct username and password, sometimes, I leave them empty and it will load the files from the repository.
Also, it is good to know it you are using a public or private repository.
Thanks


USB Power Not Detected

I had a previous version of this project running on an esp32 board that was not the same one used in the description without issue.  I saw that there was a lot of updates recently and wanted to try it so after compiling and uploading without any changes, I get a Not on USB power message, which it is.  I don't see any additional wiring that's going on or anything other than setting some pin behaviors for PIN 19.  Is this a specific behavior to this board?
I do actually have the same board in the hardware specs and tested with that one and it does detect USB power.  Same code, two different esp32 dev boards, different usb power behaviors so not sure if this is a specific feature to this board or the choice of pin 19 is specific to the board.

Yeah, unfortunately #17 added some code specific to this board to determine if it's running on USB power. Vusb is connected to pin 19 through an LED and a 1k resistor. You can check to see if the board you're using has some method for determining if it's running on USB power and then change the value of PD_PIN in config.h to match it, or write some custom code if it's not as simple as just checking a pin. Most boards don't have such a feature though.
If you're dead set on using this board you can always add a switch on some unused pin and use that to trigger the web server. Or even bodge a resistor divider or a similar LED/resistor pair between Vusb and a random pin. I don't actually know if the ESP32 is 5v tolerant so just running a wire might not be safe. Or of course you could just keep running the last commit before that PR was merged, no other new features have been added yet.
Closing for now since this is related to an unsupported board.


add: Ivanov1201

Description

Related Issues

Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@Ivanov1201 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Rename sequence_state to action_state

Rename sequence_state to action_state. The old name was derived from sequence_events, which was changed to actions.  Also rename last_sequence_slot to last_action_slot.
The salt phrases for Zkapp_account.Actions are also renamed.
@mitschabaude made the corresponding changes to SnarkyJS.
Closes #12693.
Fixes #12633

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me


Feat: links for new feeds

Closes #14

@mrose914 feed files are reorganized and links are updated. See above preview site and LMK if it looks good.

Great! The new content is live on https://gtfs.calitp.org/ @mrose914


Error on creating filter: error 400 invalid label

On GAM 4.03 we tried to create a filter with the correct sintax explained on wiki as we done before but all we got was a error 400 invalid label:  - invalidArgument
e.
C:\GAM>gam user cconti filter from<EMAIL_ADDRESS>label Dianne archive
Adding filter for<EMAIL_ADDRESS>(1/1)
ERROR: 400: Invalid label: Dianne - invalidArgument

Cristian,
The new Gmail API gam 4.03 uses does not automatically build missing labels.
Try:
gam user cconti add label Dianne
gam user cconti filter from<EMAIL_ADDRESS>label Dianne archive
This has been fixed in Gam but not yet released.
In the future, post these issues here: https://groups.google.com/forum/#!forum/google-apps-manager
Ross
--
<EMAIL_ADDRESS>On Dec 22, 2016, at 12:13 AM, cristianconti<EMAIL_ADDRESS>wrote:

On GAM 4.03 we tried to create a filter with the correct sintax explained on wiki as we done before but all we got was a error 400 invalid label: - invalidArgument
e.
C:\GAM>gam user cconti filter from<EMAIL_ADDRESS>label Dianne archive
Adding filter for<EMAIL_ADDRESS>(1/1)
ERROR: 400: Invalid label: Dianne - invalidArgument
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Getting null-aware warning on console.

Describe the bug
Getting null-aware warning on console.
To Reproduce
Steps to reproduce the behavior:

Go to terminal
Run flutter command flutter run
See warning

Expected behavior
There should have been no warning on the console.
Screenshots

Information (please complete the following information):

Device: iPhone 13
Platform mobile
Flutter version: 3.0.2
Package version 1.1.0

Additional context
                   ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/another_transformer_page_view-1.1.0/lib/src/another_transformer_page_view.dart:519:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
      WidgetsBinding.instance!.addPostFrameCallback(_onGetSize);
                     ^
../../flutter/.pub-cache/hosted/pub.dartlang.org/another_transformer_page_view-1.1.0/lib/src/another_transformer_page_view.dart:537:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
      WidgetsBinding.instance!.addPostFrameCallback(_onGetSize);
                     ^

Seems to be fixed in 2.0.0


Add duck typing for populate_model_features_registry for the statuses feature

Proposed Changes
This one should be relatively easy to implement since status has its own discreet field class (StatusField). Similar to custom_fields and relationships, we should be able to use duck typing to determine which models support statuses instead of having to use the decorator.

Justification
Reduce new model code complexity.

https://github.com/nautobot/nautobot/blob/de65e29d4c41d54ac02d3c1438d78a58fc1811cd/nautobot/extras/utils.py#L220
Changes should be made here


Lidar Oriented at 45 degrees or more

Hi,
I am deploying my robotic system in an agricultural field where the lidar is oriented at an angle ranging between 45 to 90 degrees. Being an outdoor environment, I have a GPS deployed as well. I tried implementing hdl_graph_slam_400 but the robot follows an unexpected path and as a result the map built is completely wrong. Please find the attached picture. Is it because of the orientation of the lidar? enable_gps has been switched to true as well.

Hi @aliimranTW Did you find a solution to this problem?


Incorrect client code generation for explicitly implemented interface members

Given following generation code:
        public static void Main()
        {
            var service = new SwaggerService
            {
                Host = "localhost",
                Schemes = new List<SwaggerSchema> { SwaggerSchema.Http },
                Produces = new List<string> { "application/json" },
            };
            service.Paths.Add("name", new SwaggerOperations
            {
                {
                    SwaggerOperationMethod.Get, new SwaggerOperation
                    {
                        OperationId = "id",
                        Consumes = new List<string> {"application/x-www-form-urlencoded"},
                        Parameters = new List<SwaggerParameter>()
                        {
                            new SwaggerParameter
                            {
                                Name = "body",
                                Kind = SwaggerParameterKind.Body,
                                IsRequired = true,
                                Schema = JsonSchema4.FromType(typeof(Foo))
                            }
                        }
                    }
                }
            });

            Console.WriteLine(new SwaggerToTypeScriptClientGenerator(service,
                new SwaggerToTypeScriptClientGeneratorSettings
                {
                    ClassName = "FooClient",
                    Template = TypeScriptTemplate.AngularJS
                }).GenerateFile());
        }

        public interface IFoo
        {
            string Prop { get; }
        }

        public class Foo : IFoo
        {
            string IFoo.Prop { get; }
        }

Generator yields following TS client which has erroneous member swaggen.Program.IFoo.Prop.
test.txt
EDIT: I wonder if that's an issue of NJsonSchema, since explicitly implemented properties are private and by my understanding should be excluded from schema

Good find. Yes, DTO property handling is implemented in NJsonSchema... to check whether to include explicitly implemented properties or not, we have to check how Json.NET serializes the class... is the property included in the generated JSON data?

Given following code:
public interface IFoo
{
	string Prop { get; }
}

public class Foo : IFoo
{
	string IFoo.Prop => "Prop";
	private string Prep => "Prep";
	public string ThisShouldBeInTheOutput => "It is";
}

JSON.NET serializes new Foo() like this:
{"ThisShouldBeInTheOutput":"It is"}
While JsonSchema4.FromType(typeof(Foo)).ToJson() yields
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "x-typeName": "Foo",
  "additionalProperties": false,
  "properties": {
    "UserQuery.IFoo.Prop": {
      "type": [
        "null",
        "string"
      ]
    },
    "Prep": {
      "type": [
        "null",
        "string"
      ]
    },
    "ThisShouldBeInTheOutput": {
      "type": [
        "null",
        "string"
      ]
    }
  }
}

Fixed in https://github.com/NJsonSchema/NJsonSchema/commit/6cfa3338ff9669a7692c3589bebda07455011c80

Great, thanks for the fast fix! How soon will this be on the NuGet?

Today or tomorrow...

NSwag v5 has been released, please check if your problem is solved and reopen the issue if it still remains...

Fixed in v5.2


DOCS Consistent app/ folder and composer use

Stronger wording around "use composer"
Consistent domain and email address naming
Removed example for publishing non-composer modules (those shouldn't be encouraged)
Removed instructions for installing modules from archives

[ci skip]

@chillu Is there any consideration around the fact that myapp.com (it redirects to android.myapp.com) is an actual domain whereas example.com is explicitly for use as a dummy domain. Personally I think example.com is good because it means if it somehow gets put in executed code it's not a "real" domain.

Very good point Luke! Fixed now. https://en.wikipedia.org/wiki/Example.com