Add get-sponsor-status to the admin SDK

get-sponsor-status implementation is embedded in the CLI command (https://github.com/api3dao/airnode/blob/master/packages/airnode-admin/src/cli.ts#L237-L256 ) and is not exposed by the SDK. Implement this as an SDK function and use that in the CLI command implementation instead so that people can import the respective function and use it. (I realized this was the case because I actually wanted to import and use getSponsorStatus() but couldn’t.)

Let me know if I'm misinterpreting, but isn't the function you're looking for sponsorToRequesterToSponsorshipStatus? The CLI command get-sponsor-status calls it here and it's exposed in the SDK both as a standalone function and within the AdminSdk class.
Here is a working example per this tx (it prints true):
import { sponsorToRequesterToSponsorshipStatus, getAirnodeRrp } from '@api3/airnode-admin';

async function run() {
  const airnodeRrp = await getAirnodeRrp('https://rpc.ankr.com/eth_goerli', {
    airnodeRrpAddress: '0xa0AD79D995DdeeB18a14eAef56A549A04e3Aa1Bd',
  });

  const isSponsored = await sponsorToRequesterToSponsorshipStatus(
    airnodeRrp,
    '0xecf74c19215c8dd2baf16ad3a6ec1a25386d813c',
    '0xE2BC3959464a22115A7a1079e26C2fd820EB08F5'
  );
  console.log(isSponsored);
}

run();

Why is this in In review? There's no PR for it.

Ping @bbenligiray
https://github.com/api3dao/airnode/issues/1206#issuecomment-1159596972


Implement simple unit tests and refactor of main.py

I added a simple test for loading the team data ("teams.json"), and the league data ("leagueproperties.py").
used unittest tool
to run tests there are two options:

run the following from the root of the repository: python -m unittest discover tests
This will search the tests/ directory for ALL tests. This is recommended and best way in my opinion as it will always run every test in tests/ directory
run the following from the root of the repository:  python -m unittest tests.test_load_data
This will just run the tests in test_load_data.py

I wrote these tests just to get the ball rolling in terms of implementing unit tests. Let me know of any feedback! Thanks :)
Andy

Hey guys,
I refactored the main.py as I mentioned in #111 here. Let me know of any feedback :)
Thanks so much,
Andy

I like this.
Although in the test file is there a need to catch the exceptions?
def test_load_team_data(self):
    raised = False
    try:
        load_json(TestLoadData.TEAMS_INFO_FILENAME)["teams"]
    except IOError:
        raised = True
    self.assertFalse(raised)

def test_load_team_data(self):
    load_json(TestLoadData.TEAMS_INFO_FILENAME)["teams"]

I suppose in the case of an IOError the test runner will call the latter an error rather than a failure. But does it matter?

Hi @Saturn thanks for the response. The idea of the simple test cases was just to check that the required files do indeed exist (e.g. leagueids.py and leagueproperties.py). If they don't exist then the load_json(file) function will throw an exception. So I figured we could test that the files do exist by checking that an exception is not thrown; hence the try-catch. Does that make sense? However, the more I think about it the more I think maybe these tests aren't that helpful - if the those files don't exist then the test runner will almost assuredly crash anyways as so many other parts of the code base rely on them existing in the first place.

I just didn't think it was totally necessary to wrap the individual tests in try except blocks.
If an IOError occurs just let it happen and the test runner will record it as an error.
And if you want to catch the exceptions within a test, you could do something like this instead.
def test_load_team_data(self):
    try:
        load_json(TestLoadData.TEAMS_INFO_FILENAME)["teams"]
    except IOError:
        self.fail("File doesn't exist!")

Instead of creating flag variables. Just less typing.

At least the split-up of the main file looks good to me. Good work @andyg7 !


Stored Procedure  LastInsertId() returns 0 while insertion Successful

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

$ go version
go version go1.14.1 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/mixtou/Library/Caches/go-build"
GOENV="/Users/mixtou/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/mixtou/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/nn/07n6f4lx5flbvnn9y7dmns_80000gn/T/go-build164943345=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I have a stored procedure in mysql 8.0.20 with the following code:
create
    definer = root@localhost procedure CreateUser(IN data json)
BEGIN

    declare idUser_in int unsigned;
	declare firstName_in varchar(45) default null;
    declare lastName_in varchar(45) default null;
    declare email_in varchar(55) default null;
    declare enabled_in tinyint default 0;
    declare idRole_in int unsigned;
# 	declare jwtSecret_in varchar(255);
    declare mobilePhone_in varchar(15);
    declare telephone_in varchar(15);
    declare password_in varchar(255);
    declare salt_in varchar(255);
	declare pin_in varchar(8);
	declare username_in varchar(55);

    set idUser_in = null;
    set firstName_in = json_unquote(json_extract(data, '$.firstName'));
    set lastName_in = json_unquote(json_extract(data, '$.lastName'));
    set email_in = json_unquote(json_extract(data, '$.email'));
    set enabled_in = json_unquote(json_extract(data, '$.enabled'));
	set idRole_in = json_unquote(json_extract(data, '$.idRole'));
#     set jwtSecret_in = json_unquote(json_extract(data, '$.jwtSecret'));
    set telephone_in = json_unquote(json_extract(data, '$.telephone'));
    set mobilePhone_in = json_unquote(json_extract(data, '$.mobilePhone'));
    set password_in = json_unquote(json_extract(data, '$.password'));
    set salt_in = json_unquote(json_extract(data, '$.salt'));
	set pin_in = json_unquote(json_extract(data, '$.pin'));
	set username_in = json_unquote(json_extract(data, '$.username'));

    insert into User (firstName, lastName, email, username, enabled, telephone, mobilePhone, idRole, password, salt, pin)
    values (firstName_in, lastName_in, email_in, username_in, enabled_in, telephone_in, mobilePhone_in, idRole_in, password_in, salt_in, pin_in);

	select LAST_INSERT_ID();
END;

I execute the above procedure from go using the following command:
byteUser, err := json.Marshal(*user)
response, queryError := tx.Exec("call CreateUser(?)", string(byteUser))

Insertion in db is successful.
However trying to get last inserted id using command:
id, err = response.LastInsertId()
returns always 0.
If i execute the procedure using the following code i get last inserted id correct but i don't get this way error to rollback()
var id int64
response:= tx.QueryRow("call CreateUser(?)", string(byteUser))
err = response.Scan(&id)

This way i get correct last inserted id...
Any suggestions?
What is the best way to call stored procedures??

What did you expect to see?
I expected to get last inserted id.
What did you see instead?
0

Hi there,
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For asking questions, see:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode

Please ask the question on one of the above forums.
(Quoted from https://golang.org/wiki/Questions)


why my sprite can't move?

I used my code and source code to test the movement, but it looks like
self.game.dt from clock.tick doesn't work for me.
self.x += self.vx * self.game.dt
self.y += self.vy * self.game.dt

Are you using Python 2.7?  If so, you need to slightly change your dt calculation from:
dt = clock.tick(FPS) / 1000
to
dt = clock.tick(FPS) / 1000.0
This is due to the different ways that Python 2 and Python 3 deal with integer vs. real division.

Thanks, it's working now!


Notify Rocketchat channel on cleanup failure

As we still have some issues when cleaning up (openstack failures,
resources blocked, disconnecting CI agents, etc...) sometimes
the cleanup will fail and there will be resources left over.
This introduces a very small role that will notify our channel on
failures to clean up so we can go and fix them manually until we
have a more stable CI/environment/tasks

As this is purely CI related, and very specific to our development (#cloud-airship channel in our rocketchat instance), I'm not sure it should be exposed by run.sh ...

How can we try this before getting spammed?


Update README with tech stack

I noticed there were confusions about our tech stack so I decided to update the README. As we have new people join and help we can direct them to the README so they are familiarized. Feel free to make any edits!

GREAT!!!


spyrmsd dependency, why not installed with pip ?

Hi,
I was wondering why the spyrmsd  package code is copied/pasted into the Diffdock repo instead of just being installed with pip?
Are there any changes in the Diffdock code of the library?
Thanks in advance,
Paul

Hi, yes we made a few changes


JN-1055 import kitrequest data

DESCRIPTION (include screenshots, and mobile screenshots for participant UX)
kit request data should be loaded for created  enrollee.
columns sample_kit.* are what are related to kit-request and should be loaded into kit_request table for the enrollee created/imported.
TO TEST:  (simple manual steps for confirming core behavior -- used for pre-release checks)
Import the attached file into heartdemo study and verify that kitrequest data is loaded for the created first enrollee

2024-05-22-enrollees-hd-v2.csv


REPL stops executing commands

I don't have a magic repro for this but I ran into it on 2 different machines on build 647.  At some seemingly random point the REPL window decides to stop executing commands, just immediately returns to a prompt.  The only common piece I can discern is that it happens after some command that is meant to write something to stdout and whatever it is doesn't get written.  I think in both cases, the actual result of the command was going to be "empty".  That's the best I got, maybe someone else will find this and have a better repro or a "me too".

@bmoore-msft Do those items and commands expect something from std-in?  ie, May be related to #287 ?

no - I've run into this problem just trying to change directories.  Launch REPL, start doing cd's to get to a certain path and it just stops cd'ing.

I m not sure if it could be related with the stdout thing, which breaks the channel from some point for some reason, it might be worth to give it another try on incoming dev build, where I just merged my fix for stdout/stdin. @bmoore-msft

no repro in the latest builds. closing for now. Please reactivate if you run into this issue again. Thanks!


Duplicate document IDs

When certificates with duplicate document IDs are batched together it fails silently, instead of throwing an error

closed with #34


Build for 'arm64' and 'armhf'

See hwittenborn/rathole#6142076855 for the test run I did with these changes. Also note that the commit used in that run has been removed from a force push (to allow this PR to be made), though the commit can be found here: hwittenborn/rathole:9c5e606e7f3ff52e36b63c26d5851fcf0f5715b9.
I have cargo being installed via apk as the rust:alpine image doesn't currently build for the linux/armhf Docker platform (see https://github.com/rust-lang/docker-rust/issues/142).
Closes #141.

I'm getting a local issue where there's some missing libraries in the built image - I'm not sure if it's just something on my machine, but I thought it should be mentioned in case it needs to get looked at before a merge.

Thansk for looking into this!

I'm getting a local issue where there's some missing libraries in the built image

Hey, can you elaborate on that? Is it TLS related?
BTW, @rucciva has changed the dockerfile to another base, which should solve the TLS problem. Would you mind test it again? It will be great to publish docker image for arm platforms.

Thanks for the update @rapiz1!

Hey, can you elaborate on that? Is it TLS related?

I haven't needed the images outside of amd64 as of recent (I needed armhf previously for my raspberry PI, which I no longer use), and I've since forgotten on the specifics that was causing the breakage.

BTW, @rucciva has changed the dockerfile to another base, which should solve the TLS problem.

Went ahead and did that, let me know if there's anything else that'd need to be done. This PR's pretty tiny at this point too, so feel free to just make the changes yourself if there's something else that needs fixed up.

Unfortunately I don't have a platform to test this as well :(

I do have the Raspberry Pi still @rapiz1, I won't be able to use it until tomorrow but I can get this all tested then.

Unfortunately I don't have a platform to test this as well :(

Oracle offers a free ARM Based VPS on their Free Tier. Might come in handy in case you don't have an ARM based platform to test on :) Alternatively, Hetzner offers an ARM based VPS as low as € 0.007 / hour.

@sunmy2019 this is a low hanging fruit that could be very useful to many users. It would be great if you're able to look into this.

@rapiz1 I have build the docker image for an linux/arm64/v8 machine and it seems to be running fine. Is there anything specific i should test to get this merged? :)

Would also love this for oracle free tier.

We just tested building upstream main branch on Debian 12 on a Hetzner ARM64 machine. Everything works out of the box. So this looks ready to be merged?
Let us know if there is something specific to test. @dominikbayerl and I can provide log files etc. if required.
We would love to see this PR merged (and maybe squashed), so we can use container images rather than manual builds on our server.
Our current setup is:
services:
  rathole:
    #image: docker.io/rapiz1/rathole:latest
    build: https://github.com/rapiz1/rathole.git#main
    command: --server /app/server.toml
    restart: always
    deploy:
      resources:
        limits:
          cpus: "1"
          memory: "1g"
    ports:
      - "2333:2333"
      - "65201:65201"
    volumes:
      - ./server.secret.toml:/app/server.toml:ro


Multiple Linkouts

Support linkout url option for each attribute from a source, not just the base URL for drugs.

This is a good idea @ahwagner.  Out of curiosity is there a specific example you were thinking of when you opened this issue?

@malachig when viewing a gene record on DGIdb, the metadata would appear something like the database links section for ligand results on the guide to pharmacology site.

Yeah, that sound awesome.  More linking back to the original sources would be great.

This should be part of #124.

#165 addresses this partially. However, in cases where there is a huge list of linkouts, it currently eats up too much space. We should link directly to the claims tab if the linkouts take more than one line.


Environment variables for backends are confusing

https://docs.tinygrad.org/env_vars/ describes env variables as enabling a certain backends. But it just changes the default. That makes a command like this nonsense:
CUDA=1 NV=1 CLANG=1 python -c "from tinygrad import Device; print(Device.DEFAULT)"

This API seems a lot better:
DEFAULT_BACKEND=GPU python -c "from tinygrad import Device; print(Device.DEFAULT)"

Would also be cool for a command like this to work:
python -c "from tinygrad import Device; print(Device.get_available_backends())"

DEFAULT_BACKEND is so long!
I'd support a PR for get_available_backends, it should be one line


[Event Request] Report 5753 - CheckFillQtyToHandle

We are using BC 14.0.35570.
We want to be able to override the DoNotFillQtytoHandle variable when running the CheckFillQtyToHandle function. It will be used when creating warehouse documents via the web service. Something like this:
LOCAL CheckFillQtyToHandle()
OnBeforeCheckFillQtyToHandle(DoNotFillQtytoHandle,RequestType); // New
IF DoNotFillQtytoHandle AND (RequestType = RequestType::Receive) THEN BEGIN
  WhseReceiptLine.RESET;
  WhseReceiptLine.SETRANGE("No.",WhseReceiptHeader."No.");
  WhseReceiptLine.DeleteQtyToReceive(WhseReceiptLine);
END;

With the event definition like this:
LOCAL [IntegrationEvent] OnBeforeCheckFillQtyToHandle(VAR DoNotFillQtytoHandle: Boolean; RequestType: Option)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


dom form reset() don't reset input to default value

think below form:
m('form', [
    m('input', { value:'init value' }),
    m('input', { type:'reset' }),
    m('select', [ m('option', "A"), m('option', {selected:true}, "B") ] ),
])

Issues:

select don't have initial value set to 'B'
When click reset button, the input back to empty, instead of it's initial value.
Is this an issue related to dom render?

A form reset button changes the DOM out from under Mithril, so it doesn't know that things have changed and is (properly) not redrawing anything.

should render the dom according to standard behavior,  form should have initial value for input.

tl; dr: you can't use both Mithril and high level form controls to control state - it's one or the other. In Mithril, you should stay away from native functionality that assumes total state control and write your own model functionality.
The problem here is that whereas in plain old static HTML, the page receives a DOM and forms control the their own state according to native logic. When you use Mithril, Mithril creates and manages the DOM based on models you define. In other words: in HTML, the form is the model, the controller and the view all in one. In Mithril, it's a view representation of a model.
In HTML, a reset button remembers the initial state of the form and resets it. In Mithril, the view is stateless. You define the state of the form model and how it's controlled, and Mithril renders it. These methods of doing things are ultimately in contradiction with each-other. Forms allow a limited set of model interaction for users according to predetermined logic. In Mithril and other MVC frameworks you are writing the entire view, all possible user interactions, and their effect on the model.
Here's an example of a pattern for saving the state of objects' property assignments and reverting them at will to mimic native form behaviour.

Thank you for the detailed explain. I see, it's the direction of MVC. Will learn more from example.


Use assignment/open_posts as default value for poll/max_votes_amount when creating an assignment poll

Elections in OpenSlides have the mandatory field to set a number of open posts. This should translate to the amount of allowed "Yes" votes on the ballot and thus invalidate the ballot if the user votes "Yes" on more people than the number of open posts.
In our experiments, we were not able to identify what the value for open posts even influences in how OpenSlides handles a vote.
We think it should be at least an option to set the behavior for vote counting to invalidate votes in these cases, similar to how maxVotesPerOption is designed in the vote service.

Ah so this is possible, but only for the "Yes per candidate" method. We are using "Yes/No/Abstain" in our elections, where the max/min amount of votes fields are not available.
So we need a "min/max amount of Yes votes" setting for all voting methods. I think using assignment/open_posts to set how many yes votes are allowed, would be an easy solution.


Remove authentication token usage from the UI

Motivation and context

From what I can see, the token confers no benefits on top of the session cookie (which we are already using), and it has drawbacks:

Logging out in one session deletes the token from the DB, which effectively invalidates all other sessions too.

It's accessible from JavaScript, so it could be stolen by an XSS attack (in comparison, the session cookie is HTTP-only).

It requires custom code, whereas cookies work automatically.

The only annoying thing about using session cookies is that they require CSRF protection, but Axios handles that for us. We only need to do it manually for TUS uploads.
Move the origin concatenation to chunkUpload to make sure that it cannot be used to send our CSRF token to some other origin.
How has this been tested?

I manually checked that the UI still works, including TUS uploads.
Checklist

[x] I submit my changes into the develop branch
[x] I have added a description of my changes into the CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[x] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

CC @klakhov

One other disadvantage of the authentication token is that it lacks any lifetime mechanism, so it lasts forever. Session cookies, on the other hand, have lifetimes both on the server (implemented by Django) and on the client.


Update core.py to recognize "arc" as a soundbar

Add the value "arc" to SOUNDBARS for "soundbar product names"

Coverage remained the same at 58.541% when pulling 5e7a59914bd22852c9fdc062c6d067596683021e on KurtSanders:patch-1 into 749e403be6611d3405046aa672ec4cbdd5892873 on SoCo:master.

Thanks. Please add a comment to the release notes thread #709 about the change


What is difference between paragraph.py and paragraph2.py

It's really confusing, could someone from maintainers explain that?

Haha, that's funny. I think it's a testimony of how silly the codebase really is that no one noticed it. Just look at how long the log is!
Wasted efforts galore...
65bef69 Remove ghost file paragraph2
ad89177 Remove unused TextType constant, replace type comparing with unicode to the six.string_type
1e73fb6 Replace customer iteritems solution with provided from six package
07d22e7 compatibility with python 3.x
9de628a disabled some print statements
317cad7 Tidied up: removed all debug crap, removed commented code (This is what a VCS is for!) fixed a few obvious stupids (mutable args etc) compunded a few incrementers
b9aa574 Replaces a few items by iteritems.
5bc1328 Several cleanups and optimisations, especially in loops.
d71a619 Remove unused imports and variables.
c2b3eaa Started relinking imports internally.

Thanks for finding and reporting this!


[ci skip] adding user @conda-forge/dbt

Hi! This is the friendly automated conda-forge-webservice.
I've added user @conda-forge/dbt as instructed in #1.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #1

Thanks @rxm7706!


Output format: Can the 'code' property be null omitted?

For a valid code block, can the code property under any circumstances (now or in the future) be null or omitted? Or is it guaranteed to always be present and non-null for this block to be valid?
Context: I'm a back-end .NET developer needing to parse Editor.js documents. The readme does not explicitly guarantee that code will always be present and non-null. Back-end deserialization/parsing in strongly typed languages would be easier with some guarantees about which properties can and can not be null/omitted. (Ideally, any such guarantees should be added to the readme to ensure they are formalized and kept in the future.)

Could anyone clarify this, please? Thanks! 😊

The code property will always be in a block data. And it always be a string.


Docker Registry service connection details not specified

Docker Registry service connection details not specified

Any idea about the above issue?

Hi Mehtach,
I hope you are trying Kubernetes lab. Please verify the below points.

Make sure you have created Kubernetes Service Endpoint mentioned in Exercise 1, step 2.
Please check whether you have selected the AKS and ACR details in Exercise 2, Step 6.

Thanks
Balaji

I am still facing same issue, is there anyway to use existing SP Endpoint from Azure.
need your help.

Hi Khalid,
Try this workaround and see if it resolves
Get the id of the service principal configured for AKS
CLIENT_ID=$(az aks show --resource-group $AKS_RESOURCE_GROUP --name $AKS_CLUSTER_NAME --query "servicePrincipalProfile.clientId" --output tsv)
Get the ACR registry resource id
ACR_ID=$(az acr show --name $ACR_NAME --resource-group $ACR_RESOURCE_GROUP --query "id" --output tsv)
Create role assignment
az role assignment create --assignee $CLIENT_ID --role Reader --scope $ACR_ID
Thanks

I followed these steps but still same issue, dnt know where is gap.
kindly guide....

+1 I have the same problem and the fix didn't work

Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".
More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:

Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.

Don't select ACR variable in secret section or set ACR variable with short name instead of using long name which means you need to remove .azurecr.io from ACR variable

Maybe you have made the same issue as me - forgot to also update the settings under "Secrets".
More information at https://www.azuredevopslabs.com/labs/vstsextend/kubernetes/:

Expand the Secrets section and update the parameters for Azure subscription and Azure container registry from the dropdown.

Thanks @RicardoNiepel!

Please remove the selection of ACR in secret section.
In the secret section :
1- Set the Azure subscription
2- Use the variable $(ACR) for the container registry.

I did the same but still facing the error.

This was the issue in my case.Resolved.Thank you


(pass): Add tomb plugin

Motivation for this change
Add the pass-tomb plugin to pass.
Things done
Import tomb and add the tomb plugin

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

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

I made the tomb plugin optional using  tombPluginSupport option.
Can be enabled using: pass.override { tombPluginSupport = true; }

Thanks!


CODAIT Org permission issues

@toidi @dimon222 We had a small issue with some eager cleanup on our codait org and you guys were accidentally removed. I have noticed and readded you guys but you guys will need to accept the invitation again.

I think should be good now.


Source Control does not push or detect changes

Source Control does not push or detect changes, when I do ctrl+s it doesn't mark the saved changes, you can't commit, push or pull, I'm using a .feature files

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Is DXVK_FRAME_RATE programmed to work with Direct3D 12 (vkd3d) games?

Hi there.
I would like to know if the env. variable DXVK_FRAME_RATE is programmed to work with Direct3D 12 (vkd3d) games.
If not, could you make it work with them?
Thanks in advance for your attention.

DXVK_FRAME_RATE only works with DXVK, hence the DXVK in the name.


service server isvalid ... ⁉ ⁉

requirements

token type(one of web  padlocal) [required]
version of python-wechaty [required]

Error info

2021-11-05 08:42:32,997 - HostiePuppet - INFO - init puppet
2021-11-05 08:42:32,997 - HostiePuppet - INFO - There is no endpoint in cache, trying to fetch endpoint with token.
Traceback (most recent call last):
  File "C:\Users\Laie\AppData\Local\Programs\Python\Python39\lib\site-packages\wechaty\wechaty.py", line 422, in start
    await self.puppet.start()
  File "C:\Users\Laie\AppData\Local\Programs\Python\Python39\lib\site-packages\wechaty_puppet_service\puppet.py", line 921, in start
    self._init_puppet()
  File "C:\Users\Laie\AppData\Local\Programs\Python\Python39\lib\site-packages\wechaty_puppet_service\puppet.py", line 890, in _init_puppet
    raise WechatyPuppetGrpcError('service server is invalid ... ')
wechaty_puppet.exceptions.WechatyPuppetGrpcError: WechatyPuppetGrpcError('service server is invalid ... ', None, None)
[Python Wechaty] Ding Dong Bot started.
## Your experiments

> please tell us your experiments and ideas about this issue. It's valuable for us to help you find the solution.

一样的状况

重置一下就可以了 你试试
@Kieran-Li

@Kieran-Li anything updated?  Have your problem been solved ? Please feel free to tell us about your issue.


⚠ Bofrost.be has degraded performance

In ffc4be9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1181 ms

Resolved: Bofrost.be performance has improved in 05fc3b4 after 313 days, 3 hours, 2 minutes.


Counting Cronjobs Seems Incorrect

I'm not sure why but the php count for the task.cronjob.daily isn't shown correctly.
Can anybody help with checking the counter?
https://github.com/aljawaid/AutomaticActionUX/blob/2e3f8720f4934eac01c61bbeb217f6af4e49186b/Template/action/index.php#L19

@creecros could you kindly shed any light on this?

I'll take a look tomorrow.

thanks for the update

remove the + 1
$systemTriggerCounter = $this->text->contains($action['event_name'], 'task.cronjob.daily') ;

Also, that said: https://github.com/aljawaid/AutomaticActionUX/blob/a5ff5e7ba85646f4263e2156fccb4ddf45e361ed/Template/action/index.php#L22
This line is an issue if there are no actions. Since $systemTriggerCounter is undefined if it does not go through the for each loop.

And you also need to remove the +1 here:
https://github.com/aljawaid/AutomaticActionUX/blob/a5ff5e7ba85646f4263e2156fccb4ddf45e361ed/Template/project_header/actions.php#L18

@creecros ok perfect thanks so much for that, I will make the changes shortly.
I added you to my glancer plugin... hoping you could help with the comment id search function pretty pretty please

remove the + 1 $systemTriggerCounter = $this->text->contains($action['event_name'], 'task.cronjob.daily') ;
and it works just fine now.

I applied your changes, still doesnt work on my side.... i got 2 background jobs and it counts total as one... the final count is correct, just the user/cron split seems weird

Reopened as it still doesnt count the cronjobs right, but you can see the changes i made now in the commit

hmm, worked perfect for me, ill take another look sometime this week. too late for me now.

hmm, worked perfect for me, ill take another look sometime this week. too late for me now.

yeh cool, thanks alot...

So ya, Test project 1 is fine, but Test project 2 is off...
https://www.nachostudio.ml/dashboard

oh...duh.
$this->text->contiains is a boolean.

oh...duh.
$this->text->contains is a boolean.

ok i missed that from the countless snippets, howtos and tutorials i go through lol.... but thanks for this fix also!


[Bug]: DataContext inside Avalonia TabControl not binding correctly

Describe the bug 🐞
When using a reactive user control inside an Avalonia tab control, binding the data context breaks after switching tabs.
The first time loading a tab, the binding works. After switching to the tab again, the following expression is thrown:
[Binding] Error in binding to 'MyProject.MyView'.'DataContext': 'Null value in expression '{empty}' at ''.' (MyView #2594873)
Step to reproduce
Reproduction with reproduction repository

Run project from reproduction repository
See the two labels displayed in current tab content
Switch to tab 2
Switch back to tab 1
The label with content binding is now missing

Principle of code in reproduction repository

Create reactive user control
Set user control as content in tab control
Bind data context of reactive user control to property of parent control

Reproduction repository
https://github.com/Laurnz/AvaloniaActivatableTab
Expected behavior
Binding to work and no exceptions to be thrown.
Screenshots 🖼
No response
IDE
Visual Studio 2022, Rider Windows
Operating system
Windows, Linux
Version
Windows 11, Ubuntu 22.04
Device
No response
ReactiveUI Version
18.3.1
Additional information ℹ
Version of Avalonia: 11.0.0-preview4    and   0.10.18 have been tested

For clarification. The problem dies not occur when using a UserControl, but using ReactiveUserControl.
Things like IActivatableViewModel are also not activated. Turning on compiled binding fixes some of the problems.

I've a similar issue. I'm using a view model structure and the Tab's Items and SelectedItem properties. Navigating between the TabItems breaks the bindings. Filling the Tab manually with content (not using the Items property, but writing the content directly in XAML) works.

@Laurnz I've tested this again using the reproduction repository which you provided but I updated the code to use Avalonia 11.0.0-preview5+Avalonia.Themes.Fluent-11.0.0-preview5 and I no longer see such an issue.

As I understand this is resolved by Avalonia 11, therefore I will close. Avalonia support the Avalonia.ReactiveUI package within their support team so if this is still an issue I would recommend raising an issue there.
Many thanks


Animation initialization with THREE.Clock()

Your animation initialization in the examples looks like this:
// run the rendering loop
let lastTimeMsec = null;
requestAnimationFrame(function animate(nowMsec) {
	// keep looping
	requestAnimationFrame(animate);
	// measure time
	lastTimeMsec = lastTimeMsec || nowMsec - 1000 / 60;
	const deltaMsec = Math.min(200, nowMsec - lastTimeMsec);
	lastTimeMsec = nowMsec;
	// call each update function
	onRenderFcts.forEach((onRenderFct) => {
		onRenderFct(deltaMsec / 1000, nowMsec / 1000);
	});
});

I discovered in the Three.js docs that there is a THREE.Clock() function:
// This one defined outside functions at the top of my script
const clock = new THREE.Clock();

// This is living in an object
requestAnimationFrame(function animate() {
	requestAnimationFrame(animate);
	onRenderFcts.forEach((onRenderFct) => {
		onRenderFct(clock.getDelta() / 1000, clock.getElapsedTime() / 1000);
	});
});

The code looks much simpler, but is there any drawbacks that I missing? I haven't tested yet with animated models though.

This PR has been closed due to inactivity for over one year. Please open a new, updated issue if the problem or the question is still relevant.


Investigate reproducible build differences of using different VENDOR settings

OpenJDK build configuration takes various Vendor specific options for varying the built jdk vendor strings, eg:
--with-vendor-name="Adoptium" --with-vendor-url=https://adoptium.com/ --with-vendor-bug-url=https://github.com/adoptium/support/issues --with-vendor-vm-bug-url=https://github.com/adoptium/support/issues --with-vendor-version-string="Adoptium"

These obviously cause difference to the binary JDK.
Investigate to what extent these differences are?
Can a "difference tool" be used to exclude these specific differences?

By doing a comparison of two JDK builds using the following two configurations on the same openjdk source:
Build 1:
bash ./configure --disable-ccache --with-source-date=version --with-version-build=4 --without-version-pre --without-version-opt --with-vendor-name="Adoptium" --with-vendor-url=https://adoptium.com/ --with-vendor-bug-url=https://github.com/adoptium/support/issues --with-vendor-vm-bug-url=https://github.com/adoptium/support/issues --with-vendor-version-string="Adoptium"

Build 2:
bash ./configure --disable-ccache --with-source-date=version --with-version-build=4 --without-version-pre --without-version-opt --with-vendor-name="Red Hat" --with-vendor-url=https://redhat.com/ --with-vendor-bug-url=https://github.com/redhat/support/issues --with-vendor-vm-bug-url=https://github.com/redhat/support/issues --with-vendor-version-string="Red-Hat"

and then binary comparing the built JDKs to see the differences, I can then try and purposely patch certain known effects to drill down what the binary differences for the above different Vendor config has.

By patching just this commit: https://github.com/andrew-m-leonard/jdk/commit/14ce7bcd890dfb08239db4139c95dd1fb733bf48
I can demonstrate the JDK binary differences for different Vendors are accounted for by:

Demo jars and jrt-fs.jar, META-INF/MANIFEST: Implementation-Vendor:
src/hotspot/share/runtime/abstract_vm_version.cpp   Abstract_VM_Version::vm_vendor() static return value, which is embedded in object file abstract_vm_version.o and subsequent libjvm.so
java.base/java/lang/VersionProps.class which is the compiled class from the src/java.base/share/classes/java/lang/VersionProps.java.template containing the various Vendor constants.

The following are the differences from using the above Vendor settings:
Binary files jdk1/demo/jfc/CodePointIM/CodePointIM.jar and jdk2/demo/jfc/CodePointIM/CodePointIM.jar differ
Binary files jdk1/demo/jfc/FileChooserDemo/FileChooserDemo.jar and jdk2/demo/jfc/FileChooserDemo/FileChooserDemo.jar differ
Binary files jdk1/demo/jfc/Font2DTest/Font2DTest.jar and jdk2/demo/jfc/Font2DTest/Font2DTest.jar differ
Binary files jdk1/demo/jfc/J2Ddemo/J2Ddemo.jar and jdk2/demo/jfc/J2Ddemo/J2Ddemo.jar differ
Binary files jdk1/demo/jfc/Metalworks/Metalworks.jar and jdk2/demo/jfc/Metalworks/Metalworks.jar differ
Binary files jdk1/demo/jfc/Notepad/Notepad.jar and jdk2/demo/jfc/Notepad/Notepad.jar differ
Binary files jdk1/demo/jfc/SampleTree/SampleTree.jar and jdk2/demo/jfc/SampleTree/SampleTree.jar differ
Binary files jdk1/demo/jfc/Stylepad/Stylepad.jar and jdk2/demo/jfc/Stylepad/Stylepad.jar differ
Binary files jdk1/demo/jfc/SwingSet2/SwingSet2.jar and jdk2/demo/jfc/SwingSet2/SwingSet2.jar differ

Binary files jdk1/demo/jfc/TableExample/TableExample.jar and jdk2/demo/jfc/TableExample/TableExample.jar differ
Binary files jdk1/demo/jfc/TransparentRuler/TransparentRuler.jar and jdk2/demo/jfc/TransparentRuler/TransparentRuler.jar differ
Binary files jdk1/jmods/java.base.jmod and jdk2/jmods/java.base.jmod differ
Binary files jdk1/lib/jrt-fs.jar and jdk2/lib/jrt-fs.jar differ
Binary files jdk1/lib/modules and jdk2/lib/modules differ
Binary files jdk1/lib/server/classes.jsa and jdk2/lib/server/classes.jsa differ
Binary files jdk1/lib/server/classes_nocoops.jsa and jdk2/lib/server/classes_nocoops.jsa differ
Binary files jdk1/lib/server/libjvm.debuginfo and jdk2/lib/server/libjvm.debuginfo differ
Binary files jdk1/lib/server/libjvm.so and jdk2/lib/server/libjvm.so differ
Binary files jdk1/lib/src.zip and jdk2/lib/src.zip differ
diff -r jdk1/release jdk2/release
1,2c1,2
< IMPLEMENTOR="Adoptium"
< IMPLEMENTOR_VERSION="Adoptium"
---
> IMPLEMENTOR="Red Hat"
> IMPLEMENTOR_VERSION="Red-Hat"

Comparable build patch scripts now enable Vendor string patching: https://github.com/adoptium/temurin-build/blob/master/tooling/comparable_patch.sh


⚠ Jenkins Plugins Artifactory has degraded performance

In 1adaad8, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1158 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7575c29 after 12 minutes.


Update redirecting Picturefill URL

What's changed, or what was fixed?

global update of the picturefill polyfill link

Fixes: #issue
Target Live Date: YYYY-MM-DD

[ ] This has been reviewed and approved by (NAME)
[x] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


cgroup v1 maintenance mode

Hello @harche :wave: please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before Tuesday, July 16th, 2024 18:00 PST. Thank you!

Hi @harche, a gentle reminder that tomorrow is the deadline for having your Docs PR ready for review. Please take a look at Documenting for a release - PR Ready for Review to get your PR ready for review before tomorrow, Tuesday, July 16th, 2024 18:00 PST.

@Princesso @hacktivist123 this PR is ready for review. Thanks.

My feeling is that this content is more suitable to be a blog post. It is not a concept explanation and it is not a task showing users how to do this switching.

@tengqm in the section ## Failing on cgroup v1 Nodes at the bottom I tried to explain how to use newly added kubelet flag.

Also the section ## How to Determine the cgroup Version Used by Your Nodes explain how to use newly added kubelet metric.

@harche There are two options for this piece of information as I see it. You can create a blog page introducing the work behind this cgroup v1->v2 change. For example, what does cgroups mean, why v1 is put into maintenance mode, why v2 is better than v1, so on and so forth. You can provide suggestions how to check the version used and how to make the change in the blog.
Another option is to add a task page. The task is about switch from cgroup v1 to v2, period. The task is not about putting v1 into maintenance mode. In a task page, you are talking to the users, not the developers. You can still provide some simple English explanation about the background, but you may want to skip the developer's story.

Hello @harche if this PR is ready for review can you take it our from Draft status so other reviewers can know?

@harche There are two options for this piece of information as I see it. You can create a blog page introducing the work behind this cgroup v1->v2 change. For example, what does cgroups mean, why v1 is put into maintenance mode, why v2 is better than v1, so on and so forth. You can provide suggestions how to check the version used and how to make the change in the blog.
Another option is to add a task page. The task is about switch from cgroup v1 to v2, period. The task is not about putting v1 into maintenance mode. In a task page, you are talking to the users, not the developers. You can still provide some simple English explanation about the background, but you may want to skip the developer's story.

I agree with this @harche, thanks for your insight @tengqm! I'd say we stick to option one.
However @tengqm do you think it would make sense to have the proposed blog post linked somewhere in the docs?

Hi @harche, I see this PR is already being reviewed. Can you move it out of Drafts? Thank you!

However @tengqm do you think it would make sense to have the proposed blog post linked somewhere in the docs?

It is totally fine to have docs linked to blogs and vice versa.

@harche I notice that:

the PR doesn't build
there's no PR description

You should fix both of these details; it will help reviewers if you do.

@harche There are two options for this piece of information as I see it. You can create a blog page introducing the work behind this cgroup v1->v2 change. For example, what does cgroups mean, why v1 is put into maintenance mode, why v2 is better than v1, so on and so forth. You can provide suggestions how to check the version used and how to make the change in the blog.
Another option is to add a task page. The task is about switch from cgroup v1 to v2, period. The task is not about putting v1 into maintenance mode. In a task page, you are talking to the users, not the developers. You can still provide some simple English explanation about the background, but you may want to skip the developer's story.

@tengqm Switching from cgroup v1 to v2 is beyond the scope of Kubernetes itself; it’s something that OS administrators need to handle.
We haven't added any cgroup version-specific features; instead, we've put cgroup v1 into maintenance mode to encourage users to transition to cgroup v2.
Given the feedback I've received so far, would it be acceptable to close this PR and move all its content to a blog post (as part of this PR)?

My suggestion would be drafting a blog post for this.

My suggestion would be drafting a blog post for this.

Alright, based on the feedback so far I am closing this PR and would rather focus on a blog post PR - https://github.com/kubernetes/website/pull/47069
/close


Image data table

Shows redaction plan for images in the input directory when selected.
Screencast from 04-04-2024 04:04:58 PM.webm

Each file has its own data table of what gets redacted or kept.  Not necessarily in this PR, but is there a way to have a unified table so that all the columns line up?
We eventually want to sort the entries in the table so that it is more obvious what is being redacted (i.e., I'd like to see the things being removed to the left of the things being kept).


Suggestion: Better sorting options on the character sheet for Inventory and various lists.

I made this suggestion in the official foundry server, but I thought it might be relevant to post it here as well in case some or all of this stuff can be implemented without any changes to Foundry core.
Firstly,  The crafting section Has no way to sort by item type (bomb, elixir etc.), nor does it even allow one to drag things where you want for manual sorting (like you can for the inventory). Potions, bombs, ammo, everything is just thrown all together; it isn't even alphabetical. To start I'd like to be able to drag formulas in the crafting section around so I can at least group like items with like.
For future improvements beyond that, It might be nice to add (collapsible) sections within the crafting levels as well so one could further keep their formulas sorted and make it easier to find what they are looking for by keeping certain sections collapsed until they need them.  It is possible to have dozens and dozens of formulas of a given level and without sorting and organization options many of us are just flailing about during our daily preparations looking for that one thing while everyone else is ready to get back to the dungeon.
Secondly, the inventory. Right now inventory sections are static: weapons, armor, equipment, consumables, treasure, containers. At a minimum, I would like the various sections be collapsible and moveable (like if I want to put containers at the top of the sheet and weapons or treasure at the bottom).  For future improvements I'd like to be able to move any item into any section I want, specifically containers because I might keep my consumables in a belt pouch or a bandoleer and instead of having them listed in the container in the container section I would rather have them listed in the container in the consumables section.  Creating custom sections would be nice as well, or even sub sections.  Having my consumables section broken down into elixirs, bombs, mutagens ect would be very helpful.  Characters end up with dozens of items, alchemists especially, so better sorting options would be very helpful!
Lastly, I have some wish list improvements I doubt would ever be implemented but that I think would be interesting:  An inventory (and crafting) screen that has multiple columns (perhaps individual users could decide if they want to display their item list as one 2 or 3 columns.) An alternative way of displaying inventory, like a tile system where clicking on the tile could open up a dialogue box or expand the tile with the item description).
Each player being able to have more control over how their character sheet looks and where things are will help a lot with keeping the game running smooth.  DM's could override options they don't like, or have an option to have character sheets display to them in their preferred style (client-side display settings.)
There is no better place to play pathfinder 2, and all of you working on this are real heros in this community.  Hopefully some of my suggestions will spark some interest, if not thanks for everything you do anyway.

Duplicate of #1152


Work on The Sign-In Page

I have created empty files that will contain your html and css codes. However, you will need to make use of javascript to make API and js file is not created, so you would have to do that in the script folder.
Instructions:
For your media query, follow this strictly->max-width = 640px
You will have to work on the API yourself using js. For now, use your local host url as the endpoint for calling the login api.
The implementation should be exactly the same thing with the design provided -
https://www.figma.com/file/ZQXFCwPUyp1gA4n0AazekM/Team-56_QR-GEN?node-id=723%3A1161
Goodluck!

aiit


Take required property from environment / resource object

The code sign-off for this code change is taken using code-flow


Set up Web module using Spring

This PR adds Spring in a separate web module.
The controllers for the web application will be part of relevant modules (e.g. a module for reporting to developers can define its own endpoints).
For testing I had to switch back to JUnit, since there's no nice and stable to way to test Spring apps with Spek, see issue 50 on https://github.com/spekframework/spek.

Codecov Report

Merging #155 into master will decrease coverage by 3.73%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #155      +/-   ##
============================================
- Coverage     85.55%   81.81%   -3.74%
- Complexity      281      291      +10
============================================
  Files            31       36       +5
  Lines           630      693      +63
  Branches        131      142      +11
============================================
+ Hits            539      567      +28
- Misses           26       55      +29
- Partials         65       71       +6

Impacted Files
Coverage Δ
Complexity Δ

.../kotlin/org/cafejojo/schaapi/web/HomeController.kt
0% <0%> (ø)
0 <0> (?)

.../kotlin/org/cafejojo/schaapi/web/WebApplication.kt
0% <0%> (ø)
0 <0> (?)

...i/pipeline/miner/github/GithubProjectDownloader.kt
65.11% <0%> (ø)
10% <0%> (?)

...ojo/schaapi/pipeline/miner/github/SearchOptions.kt
0% <0%> (ø)
0% <0%> (?)

...jojo/schaapi/pipeline/miner/github/ProjectMiner.kt
0% <0%> (ø)
0% <0%> (?)

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 5ff68d5...fbebc50. Read the comment docs.


Crashing when uploading a shapefile

Mapbox Studio crashed when I uploaded a .shp file which has a .prj file of "NAD_1983_StatePlane_Massachusetts_Mainland_FIPS_2001" ( https://github.com/Firenze11/empty_public_repo )

@Firenze11 - the shapefile you posted only has a .shp and .prj but a valid shapefile also needs files ending in .shx and .dbf.

Gotcha, now it seems to work with all of the 4 files. Thanks!


The sn76489 noise is converted to the specified frequency noise of AY8910

During the conversion, I hope to add a frequency mapping option:
SN76489 noise rate0 ->AY8910 noise 31
SN76489 noise rate1 ->AY8910 noise 15
SN76489 noise rate2 ->AY8910 noise 7
I hope the numbers on the right can be customized.

The following option has been added at 0.8.16.
  -D noisePitchMap=n1,n2,n3   The noise frequency of AY8910. n1, n2 and n3 correspond to SN76489's noise frequency 0, 1 and 2 respectively. The default value is 7,15,31.


"Bonus Program" crowdsale contract add-on (Project 001)

An organizer of a crowdsale can specify an additional list of time-based bonuses, e.g.

1 hour - 30%
Next 23 hours -20 % (1st day - 20%)
2 day - 10 %

Bonus will be an add-on to any type of crowdsale contract

Can specify using Rate in Whitelist with cap contract


"IntelligentDocumentReader", "EinsteinDocReader" Features Error

Note
Before you submit your issue, make sure that:

You're using the latest version of Salesforce CLI.
You've searched both open and closed issues for related posts.
You've used the doctor command to diagnose common issues.
You understand that GitHub Issues don't adhere to any agreement or SLA.

If you require immediate assistance, use official channels such as Salesforce Customer Support.

Summary
I've been trying to create a scratch org with the ability to enable either or both Intelligent Form Reader or Intelligent Document Reader. From the list of support features (https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_def_file_config_values.htm), it appears that this should be available by adding "features": ["IntelligentDocumentReader", "EinsteinDocReader"] to the scratch org definition.
When I include this, VS Code identifies these features as problems "String does not match the pattern of "^(AddCustomApps:[0-9]+$)"." and scratch org creation fails "IntelligentDocumentReader is not a valid Features value".
Is there a way to have these available in a scratch org?
Steps To Reproduce
I'm not including a repository as this happens in a completely empty salesforce project.
project-scratch-def.json
{
"orgName": "Demo company",
"edition": "Developer",
"features": ["IntelligentDocumentReader", "EinsteinDocReader"],
"settings": {}
}
sf org create scratch --definition-file config/project-scratch-def.json --alias docs --set-default --duration-days 1 --json
Expected result
Scratch org should be created.
Actual result
{
"code": 1,
"context": "EnvCreateScratch",
"commandName": "EnvCreateScratch",
"message": "IntelligentDocumentReader is not a valid Features value.",
"name": "INVALID_INPUT",
"status": 1,
"stack": "INVALID_INPUT: IntelligentDocumentReader is not a valid Features value.\n    at SfError.wrap (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@salesforce\core\lib\sfError.js:84:25)\n    at requestScratchOrgCreation (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@salesforce\core\lib\org\scratchOrgInfoApi.js:252:33)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 0)\n    at async scratchOrgCreate (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@salesforce\core\lib\org\scratchOrgCreate.js:132:71)\n    at async EnvCreateScratch.run (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@salesforce\plugin-org\lib\commands\org\create\scratch.js:39:72)\n    at async EnvCreateScratch._run (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\command.js:117:22)\n    at async Config.runCommand (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\config\config.js:329:25)\n    at async run (C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44\node_modules\@oclif\core\lib\main.js:89:16)",
"exitCode": 1,
"warnings": []
}
System Information

powershell PSVersion 5.1.19041.3031

{
"cliVersion"<EMAIL_ADDRESS>"architecture": "win32-x64",
"nodeVersion": "node-v18.15.0",
"osVersion": "Windows_NT 10.0.19045",
"shell": "cmd.exe",
"rootPath": "C:\Users\DougKells\AppData\Local\sf\client\2.6.7-2553c44",
"pluginVersions": [
"@oclif/plugin-autocomplete 2.3.6 (core)",
"@oclif/plugin-commands 2.2.23 (core)",
"@oclif/plugin-help 5.2.17 (core)",
"@oclif/plugin-not-found 2.3.37 (core)",
"@oclif/plugin-plugins 3.2.7 (core)",
"@oclif/plugin-search 0.0.22 (core)",
"@oclif/plugin-update 3.1.32 (core)",
"@oclif/plugin-version 1.3.8 (core)",
"@oclif/plugin-warn-if-update-available 2.0.48 (core)",
"@oclif/plugin-which 2.2.31 (core)",
"@salesforce/cli 2.6.7 (core)",
"apex 2.3.11 (core)",
"auth 2.8.13 (core)",
"data 2.5.7 (core)",
"deploy-retrieve 1.17.5 (core)",
"info 2.6.39 (core)",
"limits 2.3.31 (core)",
"login 1.2.28 (core)",
"org 2.10.3 (core)",
"schema 2.3.23 (core)",
"settings 1.4.26 (core)",
"sobject 0.2.6 (core)",
"source 2.10.32 (core)",
"telemetry 2.3.1 (core)",
"templates 55.5.10 (core)",
"trust 2.6.3 (core)",
"user 2.3.29 (core)"
]
}
Additional information
Is there any combination of features and/or settings that would allow a scratch org?

Thanks for reporting, however this doesn't look like a problem with the CLI.  You mentioned the problems reported by VS Code and that is something that team can update.  The error, "IntelligentDocumentReader is not a valid Features value" is coming from the server so it's either a problem that support will have to assist with or perhaps something the org being created doesn't support due to (e.g.) API version or org edition.


Ignore keyboard event for panes on hidden pages

Changes
The keyboard show/hide event is required to shift the pane to the correct height when keyboard is shown.
This is only required if the pane is visible.
Currently, the keyboard events will be triggered for a pane, even if the pane is on page a that is not visible.
This PR will only perform keyboard event if the pane is visible.
Reason for change
I encountered a bug (but I am unable to reproduce the bug), where the pane is in the shifted "up" position.
The steps I took - NOTE Does not reproduce bug

Present a pane on the root page
Push a couple of pages into the nav stack.
In edit inputs in the pushed page (keyboard show and hide)
Then pop pages back to root page.

The pane on the root page is shown in middle of the page rather than at the bottom of page.
This can only be a result of keyboardShow event being handled, but keyboardHide was not handled successfully.

Hello @ebhsgit thank you for more additions. Patch should works, but not proper way to fix issue.
Reason here that this.inputBlured is true, because additionally we should check if focus element is pane child instance. I will fix it later, but for now this is accepted.


Incorrect implementation of "plutovg_surface_write_to_png"

void plutovg_surface_write_to_png(const plutovg_surface_t* surface, const char* filename)
{
    ...
    unsigned char* image = malloc((size_t)(stride * height));
    ...

We should clear the memory of the "image". If not, the png may get unexpected pixels as below.

Thank you for reporting this issue


UrlReservations.CreateAutomatically fails if port is 80

If uri port is 80 Nancy tries to execute the following command:
netsh http add urlacl url=http://+/ user=Everyone
which produces:
Url reservation add failed, Error: 87
The parameter is incorrect.
netsh requires the port number. instead of just using uri.ToString() which omits the port number if port is 80 one should do something like this: uri.Scheme + Uri.SchemeDelimiter + uri.Host + ":" + uri.Port + uri.PathAndQuery

Thanks for reporting! :+1: I have a fix pending at #2039 :smile:


[Question] Hardware Requirements?

I am trying to find the hardware requirements, but can't find it anywhere in the docs.
I am looking for a more lightweight read only node that doesn't need a massive server. Wondering if this fits that

@0xNineteen why is this closed? Still waiting for an answer

sorry for the late reply -- sig isnt a full validator yet: we support functionality across gossip, accounts-db, and the repair stage -- all can be run on a laptop with at least 16GB of ram and ideally 10+ cpu cores for reasonable multi-threading speed


[bug] Failed to set the http scope of plugins

Describe the bug
My tauri.conf.json file is as follows:
{
  "productName": "linyu-client",
  "version": "0.0.1",
  "identifier": "com.cershy",
  "build": {
    "beforeDevCommand": "npm run dev",
    "devUrl": "http://localhost:1420",
    "beforeBuildCommand": "npm run build",
    "frontendDist": "../dist"
  },
  "app": {
    "windows": [
      {
        "title": "linyu-client",
        "label": "login",
        "width": 360,
        "height": 510,
        "center": true,
        "transparent": true,
        "decorations": false,
        "fullscreen": false,
        "resizable": false,
        "shadow": false
      }
    ],
    "security": {
      "csp": null
    },
    "trayIcon": {
      "iconPath": "icons/icon.png",
      "iconAsTemplate": true
    }
  },
  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
<EMAIL_ADDRESS>      "icons/icon.icns",
      "icons/icon.ico"
    ]
  },
  "plugins": {
    "http": {
      "scope": ["http://my.api.host/*"]
    }
  }
}

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.22631 X64
    ✔ WebView2: 118.0.2088.76
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 16.20.0
    - yarn: 1.22.22
    - npm: 8.19.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.20
    - tauri-build [RUST]: 2.0.0-beta.16
    - wry [RUST]: 0.40.0
    - tao [RUST]: 0.28.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.12
    - @tauri-apps/cli [NPM]: 2.0.0-beta.18

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace
error while running tauri application: PluginInitialization("http", "Error deserializing 'plugins.http' within your Tauri configuration: invalid type: map, expected unit")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Additional context
No response

use this config.  Below is myself:
path: project\src-tauri\capabilities\default.json
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"permissions": [
"path:default",
"event:default",
"window:default",
"app:default",
"image:default",
"resources:default",
"menu:default",
"tray:default",
"shell:allow-open",
"window:allow-start-dragging",
"window:allow-close",
"window:allow-minimize",
"window:allow-is-maximized",
"window:allow-maximize",
"window:allow-toggle-maximize",
"window:allow-unmaximize",
"window:allow-set-size",
"window:allow-center",
"window:allow-set-always-on-top",
"window:allow-set-skip-taskbar",
"window:allow-request-user-attention",
"http:allow-fetch",
{
"identifier": "http:default",
"allow": [
{ "url": "http://localhost:8088/*" },
]
}
]
}

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

maybe should update docs https://v2.tauri.app/reference/javascript/http/ im also follow it into trap

here also opposite docs in vscode tauri plugin, it's accept all,but actually disable all

"Allows all fetch operations" is indeed poorly worded. It means that the functions themselves are available, but this does not disable the scope mechanism.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/junshi356/docs-archive-pr-fork-test12/pull/1 is merged into live branch.
Auto archive content to https://github.com/junshi356/docs-archive-pr-fork-test12.git

Docs Build status updates of commit 1fd72f5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archiveSourceFolder/TOC.yml
:white_check_mark:Succeeded

archiveSourceFolder/content/someContent.md
:white_check_mark:Succeeded

archiveSourceFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update test repositories

Update all test repositories to their most recent snapshots.

The all-customizations test config in Fedora 39 is failing because it enables the sshd.socket, which is removed:

<EMAIL_ADDRESS>https://bugzilla.redhat.com/show_bug.cgi?id=2025716


open two panels in vscode

Good morning colleagues, I have a problem and that is when I try to open two panels in the browser the editor hangs. I tried to open one with a js file and in the other I opened the information of an extension, but the editor gives me the following error message.
"Unable to open 'Extension: JavaScript Snippets': Cannot read property 'focus' of null".
After this the editor crashes and does not allow writing to the code file that I opened, even the content of the file does not appear simply the editor is blocked and does not allow anything, I have to restart to use it.
Please could you solve it because I don't know if it is an error but this happens to me, and if it were only in my case, you could help me find the solution.
I say goodbye and I appreciate the improvements that make such a wonderful editor. A greeting :)

@MarshmellowAlone Can you please provide steps to repro?

I try to open two panels in the browser
Do you mean in VS Code ?


Live Preview: 403 when attempting to view Headline Randomizer preview

Dummy data should display in live preview if no information is entered into a project. Similiarly, data entered by a user should appear in preview if it’s been added. Currently a 403 occurs when attempting to view a preview of the headline randomizer.
This occurs with and without data entered so both dummy data and actual data the user enters do not display.

Navigate to Autotune on staging
Create new headline randomizer project (http://staging.autotune.voxmedia.com/projects/sbnation-testing-this-live)
Attempt to view preview
Observe 403
Add data to project and save
Attempt to view preview
Note 403 occurs

Verified fixed. Users are now able to preview headline randomizer.


Fix footer spacing

Describe the bug
There is not enough padding at the bottom of the footer on the small screen devices.
To Reproduce
Steps to reproduce the behavior:

Open the website on the small screen devices.
Scroll down to the footer
See an error

Expected behavior
There should be enough spacing at the bottom of the footer.
Screenshots

@rishipurwar1 i would like to work on this issue

@rishipurwar1 i would like to work on this issue

assigned to you.

actually i am not be able to fix this issue, you can assign it to anyone else

May I work upon this then? I have almost completed!

Yes you can work on this issue.

Hey, @rishipurwar1 can you assign this task to me, I'm not able to push my commits.


HIVE-25054: (2.3) Drop vulnerable jodd-core dependency

What changes were proposed in this pull request?

This is an alternative to https://github.com/apache/hive/pull/4923 to address jodd CVE.
Hive uses jodd's JDateTime to handle Julian's calendar, while the calendar is tricky and bugly stuff, considering that branch-2.3 has been in maintaining mode for a long time, I prefer to copy the corresponding code to avoid involving any unexpected behavior change.
Why are the changes needed?

To address CVE-2018-21234.
Jodd CVE is listed in https://issues.apache.org/jira/browse/SPARK-44757 top 1, with a score 9.8.
Does this PR introduce any user-facing change?

No.
Is the change a dependency upgrade?

No.
How was this patch tested?

UT

cc @sunchao, this is an alternative to https://github.com/apache/hive/pull/4923, and I prefer this way for safety, please let me know what you think.

Thanks for your approval, @sunchao

Thanks @pan3793 !


updated the HMAC generation test code to optionally make a call as well

test code can now make a test call to the specified service using the generated HMAC

Tim, you need to have the disclaimer in all source code files, please add :)

Hi Mika
Thanks, I'd missed one and as the automated scanning tools that look for
this stuff are broken at the moment It didn't let me know.
Have fixed those and made some other changes. I know that the license
and other tooling checks are broken thoiugh - sadly this means manually
checking :-(
If you can have another look it'd be appreciated
Thanks, Tim
On 09/08/2023 14:33, Mika Rinne wrote:

Tim, you need to have the disclaimer in all source code files, please
add :)
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/oracle-devrel/oracle-emea-appdev-useful-stuff/pull/4*issuecomment-1671336394__;Iw!!ACWV5N9M2RV99hQ!LyMKUF-FhZTCCyM9odsbLi4Ph7wUUJqfFoS8xRD3IEdha9HsbKv4Tt03bjBWRtJ7grzatW2U6Gv6kgBIEK_hYnWFrw$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AG4VUTGTXH7LJPPSHP4Z7D3XUOGRTANCNFSM6AAAAAA3J63V5M__;!!ACWV5N9M2RV99hQ!LyMKUF-FhZTCCyM9odsbLi4Ph7wUUJqfFoS8xRD3IEdha9HsbKv4Tt03bjBWRtJ7grzatW2U6Gv6kgBIEK_m1HSH4g$.
  (Terry Pratchett, Hogfather)
========================================================================
Mobile +44 (0) 7802 212 177
Home office line +44 (0)<PHONE_NUMBER>
I am part of the EMEA Cloud Native domain specialists team. Our SR Queue name is :
EMEA SPECIALISTS APPLICATION DEVELOPMENT
ORACLE Corporation UK Ltd is a company incorporated in England & Wales | Company Reg. No. 1782505 | Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA
Oracle is committed to developing practices and products that help protect the environment
--------------S32IC9a5hi1ZePAM4AFO4kjP
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hi Mika
Thanks, I'd missed one and as the automated scanning tools that
      look for this stuff are broken at the moment It didn't let me
      know.
Have fixed those and made some other changes. I know that the
      license and other tooling checks are broken thoiugh - sadly this
      means manually checking :-(
If you can have another look it'd be appreciated
Thanks, Tim

On 09/08/2023 14:33, Mika Rinne wrote:

Tim, you need to have the disclaimer in all source
    code files, please add :)

—

    Reply to this email directly, view it on GitHub, or unsubscribe.

    You are receiving this because you authored the thread.Message
      ID: <oracle-devrel/oracle-emea-appdev-useful-stuff/pull/4/c1671336394@github.com>


yeoman dont run when I install 'yo' with NPM

Command line output
yo : The term 'yo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

yo @microsoft/sharepoint
~~

CategoryInfo          : ObjectNotFound: (yo:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Did you add your npm installed binaries inside your system PATH variable?

i solved that , install yo with yarn


Platform hook for built-in keys with slot numbers in drivers

Allow a platform to declare some built-in keys as specified in https://github.com/ARMmbed/mbedtls/pull/3878. This can be, for example, keys that are derived from a hardware unique key, or keys that are pre-provisioned in a secure element.
Unlike https://github.com/ARMmbed/mbedtls/pull/3803, opaque drivers expose built-in keys via a new entry point "get_builtin_key" which identifies the key via a slot number.
Status: work in progress. @stevew817

See include/mbedtls/config.h and include/psa/crypto_extra.h for documentation.
The implementation is untested code which I wrote only to estimate the impact and ensure that data is available where it needs to be. It will need to be heavily rewritten for openless key management.
See tests/src/helpers.c for sample usage. (This code is likely to move to a separate file.)
There are no tests.

@mpg If you're happy with the design, can you please mark https://github.com/ARMmbed/mbedtls/pull/3878 as approved? It has just the PSA specification part, and we'd like to merge that ASAP, whereas the implementation will wait until https://github.com/ARMmbed/mbedtls/pull/3547 is merged (which is why I'm not bothering to make it pass CI).

This is superseded by #4160 - closing


New package: HP v0.1.0

Registering package: HP
Repository: https://github.com/rfhklwt/HP.jl
Created by: @rfhklwt
Version: v0.1.0
Commit: bcb418a6f81d3e37743f6c9359904f053d72e575
Git reference: HEAD
Release notes:

A package for digital holographic image processing

Repo doesn't exist anymore, so I'm going to close this pull request.


IOU - System message for request edit does not show up in LHN when there is a single request

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.59-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Request money > Manual.
Create a manual request with user that has no chat history.
Go to combined IOU report.
Edit any field.
Note that the system message does not show up in LHN.
Send a message.
Note that the message shows up in LHN.

Expected Result:
In Step 5, the system message for request edit will show up in LHN.
Actual Result:
In Step 5, the system message for request edit does not show up in LHN.
Workaround:
n/a
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/b3efd5f6-6655-47b0-8971-0aca70cc4b64
View all open jobs on GitHub

We think that this bug might be related to #wave-collect - Release 1

Oh interesting, technically this is expected because those actions are occurring on the expense level (they're modifying things like the expense description and the expense amount) and the preview in the LHN is for the report level, so you'd see things like comments or actions taken by the admin on the report (approving / paying / rejecting, etc.).
We should probably update it so the LHN has the combo reportActions for the report and transactionThread, but I don't think this is a blocker for now - it's not something we discussed in the initial implementation.
@cead22 what do you think?

To clarify, this is expected as of that change you linked, right?

yes, it's definitely the result of that change

That sounds fine to me, but maybe we should take this through product or discuss with whomever was involved in the original discussion about the change, since I wasn't aware we were updating this

it's been in the works for a while and we're seeing a couple of edge cases that are bubbling up as a result of this change and the hybrid reportActions.

This can be closed out


sql WITH clause

I would like to do some folders/files relations and I would like to know if you have planned to add the WITH clause support
https://www.codeproject.com/Articles/818694/SQL-Queries-to-Manage-Hierarchical-or-Parent-child
thanks

I think you can use a raw query as a workaround for now.

Yes thats what i'm trying to do :)

Seems related to https://github.com/prisma/prisma/issues/3643, although WITH could have other users beyond recursive joins.
For now, raw query is the best way to deal with this.

@albertoperdomo I guess you linked to wrong issue. It is linked to this same issue right now.

Good catch @pantharshit00 - I was going to link to https://github.com/prisma/prisma/issues/3725.
I will update my comment.

I am closing this as a duplicate of https://github.com/prisma/prisma/issues/3725 and https://github.com/prisma/prisma/issues/4562. If there are other WITH use cases not covered by thee, please open a new issue for them. Thank you!


Trailing whitespace while marking column name

This is not really an issue and I guess im the only one who is affected by this...
How ever, if you mark an column name, there is a trailing whitespace which needs to be removed manually.

If you need to copy and paste a few columns that can be a bit annoying.
$data = [
    'ack_author ' => $this->foo,
    'ack_data ' => $this->bar
];

I am on CrateDB 2.3.2

Thank you for reporting, we will look into this and get back to you

Ok, due to the trailing space, I smashed my table:

I created a json file with the space in the column name, and it gots auto created by CrateDB

May be this is a good time to create the ALTER TABLE statusengine_service_acknowledgements DROP COLUMN "service_description "; feature request 😀

That's another issue 😄, I made a ticket to discuss having more strict column name validation.

I made a ticket to discuss having more strict column name validation

Found this:
insert into foobar("😀")values('😀');
Result:

I need to say, I'm not sure if i like this behavior or not 😀

I need to say, I'm not sure if i like this behavior or not grinning

Dynamic column creation on top-level of a table can be disabled by using create table ... with (column_policy = 'strict')  or for an existing table: alter table table_name set (column_policy = 'strict');

this issue has been fixed and will be in the next 2.3 release.


Cannot login on chrome

After pressing Authorize button, we are sent back to the login page.
Example: https://github.com/kimishidairessha/diabetes
It works just fine for linux and Android

Resolved. Closing


Suggestion to prefix input names with their types

Thanks for this nice style guide)
I suggest to add this rule of naming inputs: always prefix input names with their types.
Why?
Riot.js attaches all input fields to our tag, and they are easy to mix with all the other variables. Therefore, if we make the prefixes for all input fields (and selects,, indicating their type, it will facilitate our analysis of the tag.
How?
<!-- recommended -->
<component1>
  <input name="input_email"<EMAIL_ADDRESS>/>
  <textarea name="textarea_comment"></textarea>
  <script>
    var tag = this
    console.log(tag.input_email.value)
    console.log(tag.textarea_comment.value)
  </script>
</component1>

<!-- avoid -->
<component1>
  <input name="email"<EMAIL_ADDRESS>/>
  <textarea name="comment"></textarea>

  <script>
    var tag = this

    // its inputs or just variables? Unknown until you learn all component
    console.log(tag.email.value)
    console.log(tag.comment.value)
  </script>
</component1>

I understand your point. However I'd consider Riot's behaviour to bind form inputs to the tag instance by their name a case of Riot magic. While it may come in handy, I'd wish Riot would take it out.
By default when a form on a web page is submitted, it takes the values of the form inputs by their names as data. The endpoint to which the form is posted can then use that data:

When a form is submitted for processing, some controls have their name paired with their current value and these pairs are submitted with the form. Those controls for which name/value pairs are submitted are called successful controls.
-- W3C on forms

Since Riot tags are only responsible for the UI, they shouldn't dictate the data structure send to an endpoint. Otherwise back-ends may have to change because we want Riot to do something in a certain way. And we always try to avoid such a vendor lock.
Instead, I would attempt to just stay closer to the web standards. Inputs have always been available by name on the form they are in. You could use it like this:
<component1>
  <form onsubmit="{ onSubmit }">
    <input name="email"<EMAIL_ADDRESS>/>
    <textarea name="comment"></textarea>
  </form>

  <script>
    var tag = this;
    tag.onSubmit = onSubmit;

    function (event) {
        var form = tag.root.querySelector('form'); // or get from event
        console.log(form.email.value);
        console.log(form.comment.value);
    }
  </script>
</component1>

You are still free to use your input naming strategy, because it could save you from conflicts with other tag instance properties, but I wouldn't force it.

Thanks) Yes, its a problem - data sends to server with this prefixes. I use this approach in forms that dont send data to backend.

React handles this better, by namespacing all element references in .refs. In my opinion the way Riot handles this is a design flaw. It fits well within Riot's "write less" approach, but it can definitely cause confusion.
Since we haven't come to a rule for this guide which can always be applied, I'm closing this issue. Feel free to re-open when there are new suggestions.

Riot v3.0 supports .refs.

Yeah, this is really nice improvement, thanks to riot.js authors :) Its completely solve this problem.


Create mod crashing the game in JEI menu

Describe the Bug
I started a new modded minecraft server with some friends, and i came across a problem.
Every time a search something Create related in JEI the game crashes
i watched this report(https://github.com/Creators-of-Create/Create/issues/5453), but i cant downgrade Sodium(up 2, because Create work only with 0.4.10 sodium)
Can anyone help me with this?
Reproduction Steps
1.Open inventory
2.Search mod related thing
3.Game crashes
...
Expected Result
Just see some recipe for create mod.
Screenshots and Videos
https://github.com/Fabricators-of-Create/Create/assets/130297723/85efd91e-6a7c-4017-bbc5-4829aeabbb5e
Crash Report or Log

https://gist.github.com/Kibaraty/6e9141faccd241b2f9c44b4df19fc79f
Operating System
Windows 10
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods

Additional Context
No response

downgrade fabric api to 0.88.1

that works thanks!


BUG: TypeError: 'NoneType' object is not callable

Bug report checklist

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of shap.

[X] I have confirmed this bug exists on the master branch of shap.

[X] I'd be interested in making a PR to fix this bug

Minimal Reproducible Example
text = ["AG AC GC TG CG TG CA CC GG TT AC CC CA AA GC TG AG AC GC TG CG TG CA CC GG TT AC CC CA AA GC TG AG AC GC TG CG TG CA CC GG TT AC CC CA AA GC TG AG AC GC TG CG TG CA CC GG TT AC CC CA AA GC TG AG AC GC TG CG TG CA CC GG TT AC CC CA AA GC TG"]

inp = model.tokenizer(text, return_tensors='pt', add_special_tokens=False,
                             padding=True)["input_ids"]
explainer2 = shap.Explainer(modelIG)
shap_values2 = explainer2(inp)
shap.plots.text(shap_values2[:,:,1])

Issue Description
modelIG is a model wrapper make my model to accept input_ids as input rather than a sentence.
my model uses longformer pre-trained model as embedding layer, and then uses cnn and lstm.
how to solve it?
Expected Behavior
make the model with both transformers and pytorch modules interpretable by SHAP
Installed Versions
the latested

This is not a reproducible example. Please provide the source code required to define model.

Closing this issue for now as we do not have sufficient information to reproduce the issue.


Ordered list moves each item on line down

What do I have?
I have ordered list in my post and all items of this list are on line lower, than number of it

Expected behavior
All items of this list are right after the number of them

Reproduction
https://github.com/1alexvash/AlexCodeBlog
Steps to reproduce

Clone git repo by command git clone
Install all dependencies with command yarn
Run project with command yarn dev
Go for this post (just click this link, and you will open the right post)
Scroll to the bottom of the page

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 AMD Ryzen 5 5600X 6-Core Processor
    Memory: 20.18 GB / 31.88 GB
  Binaries:
    Node: 16.13.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Projects\React\AlexCodeBlog\node_modules\.bin\yarn.CMD
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1413.0), Chromium (112.0.1722.34)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @tinacms/cli: ^1.3.1 => 1.3.1
    tinacms: ^1.3.0 => 1.3.0

Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug.

I think this happens when the <li> tag has a ::before pseudo-class.
The html structure is <li>::before<div>..., which we leave unstyled intentionally. This might be something we could style out of the box but it might be easier for you to handle this with a custom li component 🤔 . One nice thing about <TinaMarkdown> is that it's totally unstyled.
Curious what yours and other's thoughts are there? Should this be left to the end user or should we try to tackle this with inline css?

Yeas, you are right. created custom li component with some styles, which fixed out my problem. Thank you for idea and allotted edtime!


Added new sound effect and modified main.py

@harleyjoker1 Feedback:

I appreciate your efforts to understand the code and trying to make changes.
I took a couple of opinions (not current contributors) on the sounds, and the earlier one seemed more 'grander' for a win. Let's take this to the Gitter channel for more opinions if needed.
Maybe try again but with a better sound, or focus on adding other sounds like button click sounds and in-game box click sounds etc. You could try having sounds on when you're very warm or when you're cold, or have sounds on every move if it's warmer than before or colder than before?

Just a few suggestions from my side, but try to come up with something on your own since it's very open-ended and I haven't given any specifications.


fix: InvalidOperationException thrown in DestroyAllClientObjects

If DestroyAllClientObjects throws InvalidOperationException then the rest of OnApplicationQuit stops causing the host to not close the open port.
InvalidOperationException can be cause by the user modifying NetworkIdentity.spawned during the loop

The SonarCloud Bug is the public static field in the test class, It can probably be ignored.

Not convinced this is a good idea.  ToArray snapshots the collection so we can ignore users cascading calls to Destroy via OnDisable, which they really shouldn't be doing anyway.
foreach (NetworkIdentity identity in NetworkIdentity.spawned.Values.ToArray())
DestroyAllClientObjects is only called from ClientScene.Shutdown, so the client is ending anyway, so a little allocation here is acceptable.
I'd also point out that the example given by the user that brought this up was a contrived example that was solved by using OnStopServer instead.
I'd say either leave this alone and let the user get that error for modifying the collection incorrectly, or snapshot the collection with ToArray, but don't wrap it in try-catch.

The problem is that Mirrors code breaking when the user is doing something wrong, and the way it is breaking is not clear.
Transport ports not being closed because the user manually destroyed an object is a bug with mirror that we should find a fix for.

ToArray snapshots the collection so we can ignore users cascading calls to Destroy via OnDisable

Just using ToArray would just hide the problem from the user.  ClientScene.Shutdown needs to either clear the scene 100% or tell the user something went wrong.
For example if they are spawning in  OnDestroy/OnDisable this would add extra objects to NetworkIdentity.spawned that will not be cleaned up. This would leave networkobjects in the scene after shutdown. It would be more complicated to check if objects were spawned after we do the Foreach loop.

which they really shouldn't be doing anyway

Doesn't really matter if a user they should be spawning or destroying in OnDestroy/OnDisable. The important thing is that Mirror handles it and tell the user that they are doing something wrong.

I'd also point out that the example given by the user that brought this up was a contrived example that was solved by using OnStopServer instead.

I don't think OnStopServer could be called in host mode? because the client destroys the object before the server has a chance to stop.

contrived example

I don't think it is contrived, anyone converting a single player game to Mirror could easily have code like this.

It was contrived.  He had one network object creating another in NetBehaviour OnStartServer so the logical removal would be in OnStopServer, and that worked perfectly.  It wasn't even from a real project, it was contrived to try to somewhat reproduce breaking the clearing method for the sake of breaking it.

It was contrived. He had one network object creating another in NetBehaviour OnStartServer so the logical removal would be in OnStopServer, and that worked perfectly. It wasn't even from a real project, it was contrived to try to somewhat reproduce breaking the clearing method for the sake of breaking it.

The person had the InvalidOperationException in their code, I asked them to make a simplified version so I could debug it.
I had them add a try/catch earlier to see if it fixed the port not closing problem, and it did fix it.

so while trying to make a simplified version of the project, i found the issue: im calling NetworkServer.Destroy(someObjectThatIsntGameManager) in the OnDisable() of the GameManager

They found the problem by themselves in the end, but if Mirror had a helpful error for this then they wouldn't even to ask for help.

Also doesn't matter about the example used to debug this problem, the problem exists:
ClientScene.Shutdown does not always clean up the scene

Nonetheless, I think a try-catch doesn't feel right, given that the code inside this loop reaches to a bunch of other parts of the code not obvious from here.  I'd be fine with it if that wasn't the case.
Perhaps wrapping a ToArray snapshot in a while (NetworkIdentity.spawned.Count > 0) with a sanity check might be considered, to catch the corner case where something is created as a result of the actions in this loop?

Code inside this loop goes to 1 of 3 places,

Unspawnhandler <- created by user
Destroy gameObject
Disable gameObject

Wrapping it in ToArray or using a while loop would still have the problem of not telling the user they are doing something wrong. Unless we want to say people are allowed to spawn or destroy objects in Ondisable ?

So this was merged despite my objections.  So be it, but if a cascade error comes up in this catch don't say I didn't warn about it.

I feel like I addressed your objections?

if a cascade error comes up in this catch don't say I didn't warn about it.

I dont see how this is possible since the catch is only for InvalidOperationException and also logs an error right after (is it can not be missed by the user).
All this try/catch does it make it so mirror is less likely to break the editor


Nodes resource mismatch

I have install descheduler on my cluster. kubectl top node command gives different output than descheduler.
Descheduler shows All nodes are underutilized. but when used kubectl top node command, its show many off nodes are on 100% utilization.
How to fix this bug. Please guide me.

/kind support
@19bcs2405 Per README:

LowNodeUtilization Spreads pods according to pods resource requests and node resources available

HighNodeUtilization Spreads pods according to pods resource requests and node resources available

As the description suggests, these strategies do not consider actual utilization but rather resource allocation (poor naming). kubectl top looks at actual resource utilization.
There are a few open PRs that look at utilization such as:
https://github.com/kubernetes-sigs/descheduler/pull/1092
https://github.com/kubernetes-sigs/descheduler/pull/1087
Given that they behave correctly, I am going to close this issue but feel free to reopen if you think there is a bug.

/remove-kind bug

That's what these PRs do (as new Plugins):
https://github.com/kubernetes-sigs/descheduler/pull/1092
https://github.com/kubernetes-sigs/descheduler/pull/1087


Use this library to parse/dereference/flatten JSON schema?

Hi! Great library! Is it possible to get a flattened JSON schema that has all of the $ref's replaced with their actual value? I'm writing a code generator based on my JSON schemas and I'm a heavy (ab)user of $ref. Right now I'm using this lib and doing this myself using the refs and refVal values of the compiled schema, but thought I'd post here in case there's a better approach.
Thanks,
Brett.

#22, see https://github.com/epoberezkin/ajv/issues/22#issuecomment-124921380

Creating dereferenced schemas for recursive schemas is simply not possible (short of creating objects with circular references), and recursive schemas are a very common use case.
A better approach for code generation (and actually any schema-based processing) is to use custom keywords and your own context object that will be passed to them (see passContext option) and can accumulate the results of processing or anything else.
In this case you won't have to worry about traversing the schema and interpreting keywords items, properties etc. You will only have to implement your custom processing in custom keywords and Ajv will iterate the schema for you. I used this approach in jsonscript-js.

Also #125


Breadcrumbs doesn't show when folder name is same as nginx root folder.

Directory Lister Version is v3.8.3.
PHP Version is 8.
Describe the bug
I'm looking for a simple lister program, I found DirectoryLister. So I test it, make sure it suits my needs. Here is my problem.
I have a domain name, for my privacy, just call it domain.com.
I want to visit download.domain.com, to list files under /usr/share/nginx/html/download.
My nginx config:
location / {
    root   /usr/share/nginx/html/download;
    index  index.html index.php;
}

location ~ \.php$ {
    root           /usr/share/nginx/html/download;
    fastcgi_pass   php8:9000;
    fastcgi_index  index.php;
    fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
    include        fastcgi_params;
}

I found that if mkdir /usr/share/nginx/html/download/download, then breadcrumbs in web page, did not show up. If mkdir /usr/share/nginx/html/download/download/download, same situation. Maybe I doing something wrong, or it is a bug.

Interesting. Thanks for reporting this, I will look into it.

I was able to reproduce this and in fact if you had a directory with the name of ANY of the folders in your installation's base path they would be stripped. For example, if you installed Directory Lister to the folder /var/www/downloads then any path containing a folder name of var, www or downloads would be missing the breadcrumb for that folder.
Resolved with 09a78e2

Thanks! My first github issue.
See all the possibilities in programming is impossible, most of the time just think it is so. I think this cause most of bugs.


cargo check fails oddly on binaries

Not entirely sure what's going on here....
// Cargo.toml
[package]
name = "lib"
version = "0.1.0"
authors = []

[dependencies]
rustc-serialize = "*"

// src/lib.rs
extern crate rustc_serialize;

use rustc_serialize::Decodable;

pub fn take<T: Decodable>() {}

// src/main.rs
extern crate rustc_serialize;

extern crate lib;

#[derive(RustcDecodable)]
pub struct Foo;

fn main() {
    lib::take::<Foo>();
}

With that structure:
$ cargo check
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling rustc-serialize v0.3.22
   Compiling lib v0.1.0 (file:///home/alex/code/lol)
error[E0277]: the trait bound `Foo: rustc_serialize::serialize::Decodable` is not satisfied
 --> src/main.rs:9:5
  |
9 |     lib::take::<Foo>();
  |     ^^^^^^^^^^^^^^^^ the trait `rustc_serialize::serialize::Decodable` is not implemented for `Foo`
  |
  = note: required by `lib::take`

error: aborting due to previous error

error: Could not compile `lib`.

To learn more, run the command again with --verbose.

@nrc mind taking a look?

looking into this...

This appears to be fixed by #3425. Will submit a PR with a test...


docs: update Netlify deployment steps

Update Netlify configuration instructions to improve clarity within menu options given latest UI updates by Netlify.
This is an extremely minor touch up but saves time for anyone else searching Netlify for these options, thanks to Facebook for maintaining docusaurus, much appreciated.
As per the screenshot below:

@savtrip Thanks for the PR. We would need you to sign the CLA to be able to merge this.


Improve strategy for selecting targets to be scraped for examples

What does this PR try to resolve?
After #10343, we have identified a clear set of conditions for whether a particular target should be considered by -Zrustdoc-scrape-examples. These conditions are described more clearly in #11425.
However, after some testing with complex Cargo workspaces (e.g. wasmtime), I realized that the current approach of modifying the CompileFilter did not correctly implement this new specification. For example, a target with doc = false should not be scraped by default since it is not a documented unit, but the current approach would potentially include such a target for scraping.
This PR provides a new approach which I believe correctly implements the specification:

generate_targets is called with the same parameters except the mode which becomes CompileMode::Docscrape instead of CompileMode::Doc. filter_default_targets generates the same targets for Docscrape as for Doc.
Inside generate_targets, an initial set of Proposals are created. This set of proposals is extended with further proposals based on targets identified as doc-scrape-examples = true, or Example targets where possible.

This PR subsumes #11423, and also fixes #10571.
How should we test and review this PR?
I have added another test docscrape::only_scrape_documented_targets to verify that only documented or explicitly-enabled targets are included for scraping.
r? @weihanglo

@weihanglo I share your concern that generate_targets is getting really complicated. I actually started to refactor it, but decided to wait.
If it's ok, I would like to merge this PR as-is to get the functionality into Cargo. After this is merged, I will file a second PR that refactors generate_targets into a new file cargo_compile/target_generator.rs that has a struct TargetGenerator with the mega-method factored into different documentable pieces.

@bors r+

:pushpin: Commit 968caae025c22040ddc79c1a13dbafe60bd96ba4 has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit 968caae025c22040ddc79c1a13dbafe60bd96ba4 with merge d28c9b8bc168fa41cf4663fa0a37f15232b5c5c9...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing d28c9b8bc168fa41cf4663fa0a37f15232b5c5c9 to master...