Included: resources accessible via multiple paths

In an include query parameter, some resources can be matched more than once, possibly with different relationships listed (example below).
The natural thing to do is to take the union of those for the output. However, this (kinda cornerish) case may incur a performance drop, in the sense that, for an implementer, the assumption "this resource has already been seen and does not need to be serialized again" does not stand anymore, and should be replaced by "this resource with this path from the base resource(s) has been seen and does not need to be serialized again".
Can we do something at the spec level to avoid that?
Example: GET /users/3?include=achievements,friends.friends.posts - the user 3 may very well be a friend of its friends, so the document should contain its posts. Granted, this example is not the best, but you see what I mean.

One possible solution:

if a given resource is accessible via more than one (non-empty) include prefix, and the corresponding sets of included relationships mismatch, then it is undefined behavior, maybe even an error (422 - invalid include directive);
an exception is made for primary resources that can also be matched via a non-empty include prefix: in that case, the primary included relationships are used, and the rest is ignored.

Thoughts?


Added missing [internal_type] and [internal_type_desc] values for "sys.internal_tables"

Found (and formatted) the missing items using the following query (executed in SQL Server 2019, CTP 2.3):
;WITH cte AS
(
    SELECT DISTINCT -- NOT IN list populated with IDs on current doc page
           IIF(tab.[internal_type] NOT IN (201, 202, 203, 205, 206, 207, 208, 209, 210, 236),
               '*',
               ' ') AS [Missing],
           tab.[internal_type],
           tab.[internal_type_desc]
    FROM  msdb.sys.internal_tables tab -- [msdb] has more internal table types than [master]
)
SELECT *,
       IIF(cte.[Missing] = '*',
           CONCAT(N'

 ', cte.[internal_type], N' = **',
                          LOWER(REPLACE(cte.[internal_type_desc], N'_', N'\_')), N'**'),
           N'') AS [TypeFormattedForDoc],
       IIF(cte.[Missing] = '*',
           CONCAT(N'

 ', REPLACE(cte.[internal_type_desc], N'_', N'\_')),
           N'') AS [TypeDescFormattedForDoc]
FROM   cte
ORDER BY cte.[internal_type];

which returned the following (first 3 columns only):
Missing     internal_type     internal_type_desc
*           3                 QUERY_DISK_STORE_QUERY_HINTS
*           4                 QUERY_DISK_STORE_QUERY_TEMPLATE_PARAMETERIZATION
*           6                 QUERY_DISK_STORE_WAIT_STATS
            201               QUEUE_MESSAGES
            208               FILESTREAM_TOMBSTONE
            210               TRACKED_COMMITTED_TRANSACTIONS
*           220               CONTAINED_FEATURES
*           225               FILETABLE_UPDATES
*           240               QUERY_DISK_STORE_QUERY_TEXT
*           241               QUERY_DISK_STORE_QUERY
*           242               QUERY_DISK_STORE_PLAN
*           243               QUERY_DISK_STORE_RUNTIME_STATS
*           244               QUERY_DISK_STORE_RUNTIME_STATS_INTERVAL
*           245               QUERY_CONTEXT_SETTINGS

Also properly escaped underscores in values (but just for these two table cells; I did not review the rest of the page for unescaped underscores).

@srutzky : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@srutzky - thanks for updating this. We're not typically escaping underscores unless they're causing problems with rendering (for example, an underscore with whitespace to the left or right of it).
If you can update so this PR only contains the missing types that would bve great.
Thanks!

@stevestein I can, but can't non-escaped underscores cause formatting problems? Doesn't that increase the chances of unexpected formatting by leaving it up to the parser? That's why I have been added them. But I can stop doing that if it's not necessary.

If the formatting looks incorrect when viewing the file then escape the underscore, but if it renders ok we're leaving as is. So not necessary unless you actually see formatting issues.

@srutzky : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@stevestein The changes you requested have been made. Please review.

@srutzky - looks good. Thanks for updating!
#sign-off


Aborting Picture upload from Page#edit redirects to /admin/pictures

Clicking the abort button in the uploader-overlay redirects to /admin/pictures, even if the upload-overlay was opened in the Page#edit context.
I think the redirect should depend on the current controller and action.

I should not redirect anyway. It should stop the upload, nothing more.

I tested it a few times more, yesterday and today.
Only at my first try I was redirected to /admin/pictures.
I dont know why, but it is not redirecting so somewhere anymore.
But when clicking the abort button and the spinner is showing, it will never hide again.

Is fixed. Push an update today.


use Applicative not Monad for Dynamic

should fix #1057

@xplat
Thanks for the pull request and the debugging.  I definitely imagined that something much smarter was going on with managing subscriptions here.
It looks like you need to do some paperwork before I can accept this pull request.  If you don't want to do this, then I can take the results of your debugging and reimplement the fix myself.  Let me know what your preference is.


[Bug] Main content page does not display latest video from YouTube.

When going to the main content page https://www.wearedotnet.io/content I can not find the latest video from the YouTube page. Previous video was shown there last time I posted it however the new one can not be found.
The video however can be found on the details page of the profile.
Creator name : [Oleinic Vasilii] (https://www.wearedotnet.io/ByteRain0)
Name of the video : .NET Minimal API part 9 - Pragmatic Endpoint Registry
Update #2 Video cannot be found in the search as well as far as I can see.

The /content page is kinda random, as long as you find a video on your profile it can be found. This part of the page is still undergoing quite am update.
Also the landing page and /content page only shows 1 video/blog entry by an author at the time.

I'll be closing this issue in such case.


"runtime thread cancelled: TimedOut"

I get a "runtime thread cancelled: TimedOut" on a very busy machine (edit: the machine is 50% idle) that is using reqwest from 16 threads. This is a new problem after I upgraded reqwest.
I appear to be able to cause the issue by strace -fffp <pid> 2>&1 | less and exiting the command 2 or 3 times.
relevant change: https://github.com/seanmonstar/reqwest/commit/a82232f0eef7d7b2766fa0cbb69f49f64594e6b6 (but not bisected).

I'm also getting this, but it's happening as soon as I try to build the client using the client builder.
        println!("Building client");
        let client = reqwest::Client::builder()
            .default_headers(headers)
            .build()
            .unwrap();
        println!("Built client: {:?}", client);

This code is executed in a a thread I've spawned. The second println! is never executed, and i just get the runtime thread cancelled: TimedOut panic.

I am also hit this problem under heavy load.
The bad thing that it just panics and crash my application:
  wait::timeout(spawn_rx, Some(Duration::from_secs(5)))
            .expect("runtime thread cancelled")?;

Is it possible just return error, and not crash all world?

There is no way to actually check if the error is this specific error, which means I can't add retry logic.

@njaard I've just pushed https://github.com/seanmonstar/reqwest/commit/3877e8729c416cbfd4bda95b60a1e83587cf4b4e, which adds Error::is_runtime_startup().

This is really annoying. A program should not fail just because you hit ctrl-z on it. And I shouldn't have to personally add retry logic.

@njaard

program should not fail just because you hit ctrl-z on

But what the difference between this timeout for you and network timeout?
Even without problem described in this issue you still get network timeout error after "ctrl+z",
or I missed something?
May be after resolution of #316 it would be possible to globally setup retry strategy,
but it is separate issue.

A network timeout is at least under my control, and it's something I would test explicitly for if I feel the need to.

Also, it's the request that fails in a network timeout, as opposed to the client builder.

Fair enough, I figured putting a timeout on waiting for the other thread to start would be useful in cases where that thread hangs, but perhaps not. I'll remove the timeout entirely.


Renaming LDM to MD

rename last existing LDM occurrences
remove file name suffix from refresh-md script

JIRA: RAIL-3250

The code coverage is the same after your change 🤟
This is a good thing if you are not sure ;)
Report (compared to build #221)
Covered lines: 23.39%, change: 0%
Covered branches: 38.46%, change: 0%
Coverage report
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/222/artifact/ci/results/coverage/lcov-report/index.html

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/222/ : SUCCESS in 1m 01s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-oss-check/186/ : SUCCESS in 7s

Build in pipeline check aborted.

The code coverage is the same after your change 🤟
This is a good thing if you are not sure ;)
Report (compared to build #221)
Covered lines: 23.39%, change: 0%
Covered branches: 38.46%, change: 0%
Coverage report
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/224/artifact/ci/results/coverage/lcov-report/index.html

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-merge-compliance-check/81/ : SUCCESS in 21s
https://checklist.intgdc.com/job/client-libs/job/gooddata-create-gooddata-react-app-unit-tests-zuul-docker-el7/224/ : SUCCESS in 1m 13s
https://checklist.intgdc.com/job/compliance/job/gooddata-create-gooddata-react-app-fossa-scanning-zuul-el7/46/ : FAILURE in 4m 44s (non-voting)


Access Denied Problem with SPAppCatalog : proposal solution

Description
To solve the access denied problem with SPAppCatalog and setup account need execute code with high privileges. Using farm account not always resolve problem if need remote connection and farm account is not local admin.
Proposed properties
fix code with high privileges:
[Microsoft.SharePoint.SPSecurity]::RunWithElevatedPrivileges({
Update-SPAppCatalogConfiguration -Site $params.SiteUrl -Confirm:$false
})

Since v2.5 the resource requires the InstallAccount or PsDscRunAsCredential NOT to be the farm account. It then retrieves the farm account, temporarily adds it to the local administrators group, runs Update-SPAppCatalogConfiguration and then removes the account from the local administrators group again. This should solve the issue you are describing.
Can you please test using v2.5 if the issue you are running into is resolved?

@paololec Were you able to test v2.5 yet?

None, but I resolved with custom script :
$webApp.GrantAccessToProcessIdentity("$env:USERDOMAIN$env:USERNAME")
because I found that the setup account missing permission for appcatalog configuration and other things related to sites.

Ok, in that case closing issue since issue should be resolved with v2.5


support nullable bool

Codecov Report

Merging #40 (2b47036) into develop (0d9d148) will decrease coverage by 0.08%.
The diff coverage is 78.57%.

@@             Coverage Diff             @@
##           develop      #40      +/-   ##
===========================================
- Coverage    72.25%   72.16%   -0.09%
===========================================
  Files            1        1
  Lines          382      388       +6
  Branches        19       19
===========================================
+ Hits           276      280       +4
- Misses          93       95       +2
  Partials        13       13

Impacted Files
Coverage Δ

src/avrotool.c
72.16% <78.57%> (-0.09%)
:arrow_down:

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 0d9d148...2b47036. Read the comment docs.


How to specify a filename to save incoming audio to?

Hello.
Sorry for this question, I just cannot find any related info.
I know that I can uncomment sndfile.so module in the config file and then incoming audio will be written to dump-2019-09-11-09-04-44-dec.wav files but the problem is I have multiple baresip agents running simultaneously and I need to distincguish their incoming audio threads.

you can use the config option snd_path to set the path to the audio files:
snd_path    /tmp

Here is the example:
https://github.com/alfredh/baresip/blob/master/docs/examples/config#L195

Thanks for the info but this is not what I'm asking of..
Imagine, I have several baresip processes running sumultaneously:
baresip1
baresip2
baresip3
Each of them creates its own file with recorded audio, say
dump-2019-09-12-07-32-45-dec.wav
dump-2019-09-12-07-32-47-dec.wav
dump-2019-09-12-07-32-46-dec.wav
The problem is I don't understend which of these wav files was created by baresip1, which was created by baresip2 etc.
So the question is how can I make a certain baresip process to record audio to a custom file name, say, baresip1.wav for baresip1, baresip2.wav for baresip2 etc.


Move Skill tags on Metric page to be beneath the Skill title instead of their own column

PR #2042

:+1:


Support for ARM machine

Describe the bug
The spark script and the quarto script fails in pipeline since i'm running docker-compose on my M1 mac
To Reproduce

Run the make up command
Run the airflow pipeline
If everything goes well the spark script will fail saying "no such file or directly"
If you change the Java to arm instead of amd in tar, it fixes it
Then the quarto fails. Similarly updating the bash script to arm fixes it

Expected behavior
Spark should run without any issues
Screenshots
Desktop (please complete the following information):

OS: Mac M1 Sonoma
Browser [e.g. chrome, safari]
Version [e.g. 22]

I am facing the same error here: the airflow DAG fails on the spark script with the following error logs:
[2024-09-18, 20:00:18 UTC] {subprocess.py:75} INFO - Running command: ['/usr/bin/bash', '-c', 'python /opt/***/dags/scripts/spark/random_text_classification.py']
[2024-09-18, 20:00:18 UTC] {subprocess.py:86} INFO - Output:
[2024-09-18, 20:00:18 UTC] {subprocess.py:93} INFO - /opt/spark/bin/load-spark-env.sh: line 68: ps: command not found
[2024-09-18, 20:00:18 UTC] {subprocess.py:93} INFO - /opt/spark/bin/spark-class: line 71: /usr/lib/jvm/java-17-openjdk-amd64/bin/java: No such file or directory

@bhavaniravi what exactly did you have to change to make it work on ARM machine?


missing rosdep key

cannot execute setup_workspace because rosdep install fails...

its missing keys, but you should switch to librealsense not librealsense2

never mind, I wanted to push to our own fork...


Need an easy way to provide enterprise level-authentication

The default authentication mechanism for kubernetes uses a CSV file in /root/cdk/known_tokens.csv.
Almost every enterprise customer will require: LDAP, Kerberos, OAUTH (or another mechanism) for user authentication. Making it easier to integrate with these protocols/technologies will be a big win for CDK as almost every enterprise customer will want it.
My suggestion is we either containerize/charm DEX or do something with an existing tool to make it easier to deploy/run/use. Documentation should also be updated to reflect this. Feel free to ask questions.

We now support LDAP via Keystone, see https://www.ubuntu.com/kubernetes/docs/ldap.


fix: infinite loop in reverseSequelizeColType

Fixes infinite loop in reverseSequelizeColType when using ARRAY and RANGE types like that:
  @Column(DataType.ARRAY(DataType.STRING))
  dataFormats: ExportDataFormat[];

@mmRoshani Please check and release ASAP.

Hi, did you run the example and test if everything were okay?

Hi,
check the MR page i requested sth, after that we can release the code.
mmroshani.ir

From: Alexandr Cherednichenko @.>
Sent: Friday, January 20, 2023 12:42:52 PM
To: mmRoshani/sequelize-typescript-migration @.>
Cc: Mohammad Mojtaba Roshani-TOMaaR @.>; Mention @.>
Subject: Re: [mmRoshani/sequelize-typescript-migration] fix: infinite loop in reverseSequelizeColType (PR #7)
@mmRoshanihttps://github.com/mmRoshani Please check and release ASAP.
—
Reply to this email directly, view it on GitHubhttps://github.com/mmRoshani/sequelize-typescript-migration/pull/7#issuecomment-1398109990, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVDZMEPMPZWAUL5OKRVDJDWTJJJJANCNFSM6AAAAAAUBJJNEE.
You are receiving this because you were mentioned.Message ID: @.***>

@mmRoshani
Here is the output:
sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l took 2s
➜ npm run db:create

> db:create
> sequelize db:create

Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]

Loaded configuration file "db/config.json".
Using environment "development".
Database STM created.

sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l
➜ npm run practice

> practice
> ts-node -T -r tsconfig-paths/register practice.ts

[
  DiffNew {
    kind: 'N',
    path: [ 'CarBrands' ],
    rhs: { tableName: 'CarBrands', schema: [Object], indexes: {} }
  },
  DiffNew {
    kind: 'N',
    path: [ 'Cars' ],
    rhs: { tableName: 'Cars', schema: [Object], indexes: {} }
  }
]
[
  DiffDeleted {
    kind: 'D',
    path: [ 'CarBrands' ],
    lhs: { tableName: 'CarBrands', schema: [Object], indexes: {} }
  },
  DiffDeleted {
    kind: 'D',
    path: [ 'Cars' ],
    lhs: { tableName: 'Cars', schema: [Object], indexes: {} }
  }
]
[Actions] createTable "CarBrands", deps: []
[Actions] createTable "Cars", deps: [CarBrands]
New migration to revision 1 has been saved to file '/Users/acherednichenko/projects/open-source/sequelize-typescript-migration/example/db/migrations/00000001-init.js'
Use sequelize CLI:
  npx sequelize db:migrate --to 00000001-init.js --migrations-path=/Users/acherednichenko/projects/open-source/sequelize-typescript-migration/example/db/migrations
{ msg: 'success' }

sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l took 13s
➜ npm run db:migrate

> db:migrate
> sequelize db:migrate

Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]

Loaded configuration file "db/config.json".
Using environment "development".
== 00000001-init: migrating =======
[#0] execute: createTable
[#1] execute: bulkDelete
[#2] execute: bulkInsert
[#3] execute: createTable
[#4] execute: createTable
== 00000001-init: migrated (0.031s)

sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l
➜ npx sequelize-cli db:migrate:undo

Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]

Loaded configuration file "db/config.json".
Using environment "development".
== 00000001-init: reverting =======
[#0] execute: bulkDelete
[#1] execute: dropTable
[#2] execute: dropTable
== 00000001-init: reverted (0.018s)

Looks ok to me.
Also, I tried to use the library with the proposed fixes on our large project, and it worked fine too.
Actually, on that large project, I discovered the infinite loop bug in the first place

tnx

It’s very good that you used the library in large scale project, you are welcome to contributing on the library any time.
mmRoshani.https://github.com/mmRoshani
From: Alexandr @.>
Sent: Friday, January 20, 2023 10:41 PM
To: @.>
Cc: Mohammad Mojtaba @.>; @.>
Subject: Re: [mmRoshani/sequelize-typescript-migration] fix: infinite loop in reverseSequelizeColType (PR #7)
@mmRoshanihttps://github.com/mmRoshani
Here is the output:
sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l took 2s
➜ npm run db:create

db:create

sequelize db:create

Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]
Loaded configuration file "db/config.json".
Using environment "development".
Database STM created.
sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l
➜ npm run practice

practice

ts-node -T -r tsconfig-paths/register practice.ts

[
DiffNew {
kind: 'N',

path: [ 'CarBrands' ],

rhs: { tableName: 'CarBrands', schema: [Object], indexes: {} }

},
DiffNew {
kind: 'N',

path: [ 'Cars' ],

rhs: { tableName: 'Cars', schema: [Object], indexes: {} }

}
]
[
DiffDeleted {
kind: 'D',

path: [ 'CarBrands' ],

lhs: { tableName: 'CarBrands', schema: [Object], indexes: {} }

},
DiffDeleted {
kind: 'D',

path: [ 'Cars' ],

lhs: { tableName: 'Cars', schema: [Object], indexes: {} }

}
]
[Actions] createTable "CarBrands", deps: []
[Actions] createTable "Cars", deps: [CarBrands]
New migration to revision 1 has been saved to file '/Users/acherednichenko/projects/open-source/sequelize-typescript-migration/example/db/migrations/00000001-init.js'
Use sequelize CLI:
npx sequelize db:migrate --to 00000001-init.js --migrations-path=/Users/acherednichenko/projects/open-source/sequelize-typescript-migration/example/db/migrations
{ msg: 'success' }
sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l took 13s
➜ npm run db:migrate

db:migrate

sequelize db:migrate

Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]
Loaded configuration file "db/config.json".
Using environment "development".
== 00000001-init: migrating =======
[#0] execute: createTable
[#1] execute: bulkDelete
[#2] execute: bulkInsert
[#3] execute: createTable
[#4] execute: createTable
== 00000001-init: migrated (0.031s)
sequelize-typescript-migration/example on  fix/infinite-recursion-in-reverse-sequelize-col-types [!] via ⬢ v16.13.0 using ☁ a4l
➜ npx sequelize-cli db:migrate:undo
Sequelize CLI [Node: 16.13.0, CLI: 6.5.1, ORM: 6.23.2]
Loaded configuration file "db/config.json".
Using environment "development".
== 00000001-init: reverting =======
[#0] execute: bulkDelete
[#1] execute: dropTable
[#2] execute: dropTable
== 00000001-init: reverted (0.018s)
Looks ok to me.
Also, I tried to use the library with the proposed fixes on our large project, and it worked fine too.
Actually, on that large project, I discovered the infinite loop bug in the first place
—
Reply to this email directly, view it on GitHubhttps://github.com/mmRoshani/sequelize-typescript-migration/pull/7#issuecomment-1398821439, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKVDZMDYDTOL3CPRH2CHNCLWTLPOXANCNFSM6AAAAAAUBJJNEE.
You are receiving this because you were mentioned.Message ID: @.***>


Add timestamp to scan results cache

Fixes: #27

@davidallendj Could you take a look at this when you have a moment?

Looks good. Has this already been tested?

Its been tested on my machine, but we probably want another data point on another machine.


Update GitHub Actions workflow to use latest macOS version

Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Documentation

Access-centered content checklist
Text styling

[ ] The content is written with plain language (where relevant).
[ ] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[ ] All links describe where they link to (for example, check the Nebari website).
[ ] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

It won't work now, but merging as at least the value of runs-on is correct. We'll fix the CI in a follow up PR.


Sort the Serach result by last sean.

I think it would be good to sort the search result. Most of the older results can't be ordered any more.
If you like, you can add that code, only the bold line is added:
function init(hasTiles)
...
if (_input.length >= 2) {
if (searchInputTimeout) clearTimeout(searchInputTimeout);
searchInputTimeout = setTimeout(() => {
database.query(_input.split(' ')).then((_objArr) => {
if (SETTINGS.DebugLevel > 10) console.log(Found ${_objArr.length} Items with this Search);
_objArr = sort_by_key(_objArr, 'ts_lastSeen');
createNewSite(PAGETYPE.SEARCH_RESULT, _objArr);
searchInputTimeout = null;
})
}, ev.key === 'Enter' ? 1 : SETTINGS.SearchBarInputDelay);
}
Somewhere at the end:
function sort_by_key(array, key, order) {     return array.sort(function(a, b) {         var x = a[key]; var y = b[key];         const multiplier = order === "asc" ? 1 : -1;         return ((x < y) ? -1 : ((x > y) ? 1 : 0))*multiplier;     }); }

It's line number 2758 in the latest version where _objArr = sort_by_key(_objArr, 'ts_lastSeen'); needs to be added.
Very useful! Adding a switch for it to the AVE settings would be appreciated.
BTW: I miss the "Maximum items per page" settings in AVE as shown on some of your screenshots. NP Beta feature?

I updated to 0.11.2 some minutes ago - but the new buttons "Show first seen instead of last seen" are missing. Same like "max items" as described above.
Maybe there's some initialization code missing for enabling these functions?


Expand beta process to perform all actions - compile, publish

Closes https://github.com/checkdigit/github-actions/issues/12
Implements:

All in one command instead of stages
drop the use of publish and rely on tsc only
copy all non-typescript files to dist
Get source maps working
require the files property in package.json

Example usage over in ping PR https://github.com/checkdigit/ping/pull/29

Bunch of fixes

Removed command file completely
src folder is now included in package (I also parse the package.json files property and add /src/ there if it doesn't exist
src folder is cleaned so only .ts files and swagger.yml files exist (exclusing everything else including .test.ts and .spec.ts files)

Ready for another look.

Yup! Done - ready for another look


Use guest identity instead of nulls

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔

Overall the change looks OK. Need a CHANGELOG for it.
Also, it's is backwards compatibility breaking one.

It shouldn't be merged yet because it cause bugs in authentication.


Style user forms

Overview

Add sign up button on navbar (homepage only, it is not displayed if user is logged in)
Add some basic design to sign up, login and edit profile page
Fix backend to edit profile page
Fix backend to sign up page
Add avatar placeholder for when there is not an attached avatar photo

Notes
Design needs to be improved (backend works)

 Style user forms and review validation messages


Add YUView

Added YUView: https://github.com/IENT/YUView
Cross platform tool for analyzing video, playback, bitstream analysis, comparisons and much much more.

@ChristianFeldmann just the other day I was messing around with QT things and was going to ask around if anyone knew of a good QT based player...will merge in a few, appreciate your contribution~

Now thats a coincidence. Give it a try. This is a little bit my baby and a lot of people in the standardization scope are using it.


model saved after wait_for_everyone could not be loaded

System Info
- `Accelerate` version: 0.24.1
- Platform: Linux-5.4.0-167-generic-x86_64-with-glibc2.31
- Python version: 3.10.9
- Numpy version: 1.23.5
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- PyTorch XPU available: False
- PyTorch NPU available: False
- System RAM: 251.55 GB
- GPU type: NVIDIA GeForce RTX 4090
- `Accelerate` default config:
        - compute_environment: LOCAL_MACHINE
        - distributed_type: MULTI_GPU
        - mixed_precision: bf16
        - use_cpu: False
        - debug: True
        - num_processes: 2
        - machine_rank: 0
        - num_machines: 1
        - gpu_ids: all
        - rdzv_backend: static
        - same_network: True
        - main_training_function: main
        - downcast_bf16: no
        - tpu_use_cluster: False
        - tpu_use_sudo: False
        - tpu_env: []

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
I came up with the error below when I use torch.load(args.wc_model_path, map_location='cpu'):
Traceback (most recent call last):
  File "/home/wrl/DewarpNet-master/infer.py", line 148, in <module>
    read(args)
  File "/home/wrl/DewarpNet-master/infer.py", line 26, in read
    para = torch.load(args.wc_model_path, map_location='cpu')
  File "/home/wrl/anaconda3/lib/python3.10/site-packages/torch/serialization.py", line 809, in load
    return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
  File "/home/wrl/anaconda3/lib/python3.10/site-packages/torch/serialization.py", line 1172, in _load
    result = unpickler.load()
  File "/home/wrl/anaconda3/lib/python3.10/site-packages/torch/nn/parallel/distributed.py", line 881, in __setstate__
    self.process_group = _get_default_group()
  File "/home/wrl/anaconda3/lib/python3.10/site-packages/torch/distributed/distributed_c10d.py", line 707, in _get_default_group
    raise RuntimeError(
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.

I save model after wait_for_everyone:
accelerator.wait_for_everyone()
accelerator.save(model, args.logdir+"{}_{}_{}_{}_{}_best_model.pkl".format(args.arch, epoch+1,val_mse,train_mse,experiment_name))

Expected behavior
the state dict be loaded successfully

When saving your model please use accelerator.save_model, as we generally need to remove and unwrap all of the parts used during DDP (and hence your issue)

Thank you very much! I have changed the function to "save_model" and load the trained .pth file successfully, but I still wonder if there are any methods to unwarp the state_dict from the .pth file I saved by "save" function.

Thank you for your reply!


new admin scenarios added and implemented, some refactoring and some house keeping

Still to be added: user deactivation and invitation
Added new pdf file for upload in edit documents scenario.
Accounted for change in the admin pages.
NOTE: Second commit with same title was just a change to a scenario name.

Looks good!


Paginated response should include cursors in json

According to https://opensource.zalando.com/restful-api-guidelines/#pagination, the cursors should be included in the json response. Would be nice not to have to parse out a header.

https://github.com/typicode/json-server/pull/1121
with this pr you can include a middleware which receives the "db" in the last parameter and then add an after process to modify response and include pagination

It seems it is not available now, right?


Stablize test_big_o with a new dummy function on Python 3.10+

Attempt to continue the work at #49

Thank you @felixonmars  I'll have a look ASAP

Changes look good, please set n_repeats=1 and I'll merge


Feature Request: WordCount cog reacts to input.

Much like ObiWan's counting cog i would like the wordcount cog to react to the input whether it is correct or incorrect. Ofcourse that makes it clear that correct input gets reacted with a ✔ and wrong input gets reacted with a ❌. There should be a setting for guild to enable/disable this too if they want. Also if possible (and deemed worthy) if this frature is enabled in a server, the bot automatically puts a 3-4s cooldown on the channel so that it doesnt get ratelimited while reacting (although i highly doubt any server would be counting that fast in words). I could make a pull request for this if u want.

oh wait nvm i didnt notice it already does react. However the ability to enable/disable this feature would still eb highly useful :)

You can enable/disable the cog

No i meant, enabling/disabling the react feature where the bot reacts if the count is correct.

I'll think about it


edited pawn class, refactored

@shmartin @hukashi added pawn methods, still need to work on up and down movements for pawn depending on color

@shmartin @hukashi  added rook please merge


Complete removal of the new operator from Visual/VisualModel/etc

I worked through to change the vector<VisualModel*> into a vector<unique_ptr>, but there's still some work to do for VisualModel::texts

Sorted with 4cf8f93


⚠ Bofrost.at has degraded performance

In e519928, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1693 ms

Resolved: Bofrost.at performance has improved in 52bd87a.


Node-Health-Check and Self-Node-Remediation operators deployment

Type of change
Note: Fill x in []

[ ] bug
[X] enhancement
[ ] documentation
[ ] dependencies

Description

Deployment of Node Health Check and Self Node Remediation Operators.
These operators are intended to assist in tracking VM migration during OCP upgrades and chaos testing
For security reasons, all pull requests need to be approved first before running any automated CI

@RobertKrawitz ,any more comments ?


Filters on API operations

Resolves #703
Resolves #819
Resolves #1006
TODO:

[ ] Deprecation docs
[ ] Deprecate passing filters to loaders
[ ] Deprecate passing filters to parametrize
[ ] Deprecate using CLI arguments for filtration
[ ] Make CLI use include / exclude
[ ] CLI support for custom filters. It could be some simple jq-like filter - --include-by="x-foo == 42", where the expression is of form "JSONPath Operator Value"
[ ] CLI support for new filters - --include-method, --exclude-method, etc.
[ ] Implement exclude
[ ] Add include / exclude for GraphQL schemas
[ ] Add relevant methods on "lazy" schemas
[ ] Docs (CLI & Python) & comments

In Schemathesis 4.0 it will be nice to remove those arguments & attributes

Codecov Report

Merging #1256 (58497bc) into master (df14316) will decrease coverage by 0.30%.
The diff coverage is 91.46%.

@@            Coverage Diff             @@
##           master    #1256      +/-   ##
==========================================
- Coverage   99.40%   99.10%   -0.31%
==========================================
  Files          81       82       +1
  Lines        6097     6123      +26
  Branches     1007     1027      +20
==========================================
+ Hits         6061     6068       +7
- Misses         18       30      +12
- Partials       18       25       +7

Flag
Coverage Δ

unittests
99.10% <91.46%> (-0.28%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/schemathesis/filters.py
87.80% <87.80%> (ø)

src/schemathesis/schemas.py
98.32% <88.23%> (-1.07%)
:arrow_down:

src/schemathesis/specs/openapi/loaders.py
100.00% <100.00%> (ø)

src/schemathesis/specs/openapi/schemas.py
100.00% <100.00%> (ø)

src/schemathesis/specs/openapi/filters.py
74.19% <0.00%> (-25.81%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
98.21% <0.00%> (-1.79%)
:arrow_down:

src/schemathesis/cli/callbacks.py
98.27% <0.00%> (-1.73%)
:arrow_down:

src/schemathesis/runner/serialization.py
97.82% <0.00%> (-0.12%)
:arrow_down:

src/schemathesis/serializers.py
98.18% <0.00%> (-0.11%)
:arrow_down:

src/schemathesis/lazy.py
95.28% <0.00%> (-0.05%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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


Revert "drivrs/mtd/filemtd.c: add block device MTD interface.  Block …

Summary
…MTD interface allows using block device directly as MTD instead of having to use file-system in between.  NOTE that this provides the opposite capability of FTL which will let you use an MTD interface directly as a block device."
since filemtd can handle not only char device, but also block device. This reverts commit 5ef548677a7f93f18503105c2d9d0a42d155181c.
Impact
remove blockmtd_xxx function
Testing
CI

Why the original patch was created in the first place? Didn't filemtd at that time had support to block devices?

Why the original patch was created in the first place? Didn't filemtd at that time had support to block devices?

Not sure, but *blockmtd_xxx is almost same as *filemtd_xxx, exposing two interface just confuse the user, or complex the general code like: https://github.com/apache/nuttx/pull/8573/files#diff-5a2b597a6e7cdd493863d4d4837cae4dd51f83948f7b0777b0a52463982701c1R541


Add tooltip for Casual, Need ID, Research Grade observations

Adding a tooltip / HTML title to the element that renders the badge at the top of an observation page would greatly help visitors who are not familiar with iNat's data quality terminology, e.g.
Casual

It's kind of hard to do it concisely without introducing more jargon. FWIW, I'd prefer a tooltip so we can link to a more detailed explanation, e.g.
Research Grade:
"Research Grade" observations have media, location, a date, and a community consensus
on a precise identification (usually at species-level).
Learn more about quality grades

Needs ID:
"Needs ID" observations have media, location, and a date, but still require community
consensus on a precise identification.
Learn more about quality grades

Research Grade:
"Casual" observations are missing media, location, or a date, or do not meet the
requirements of the "Research" or "Needs ID" quality grades for other reasons.
Learn more about quality grades


Track EOS for each connected receiver to the NetworkPublication

Disconnect if all have responded with an EOS.

LGTM


run unit tests  against Trusty

Overview
This PR updates pycsw's Travis-CI testing to run against Ubuntu Trusty (as opposed to default precise).
Related Issue / Discussion
Per discussion w/ @kalxas on irc.
Additional Information
https://docs.travis-ci.com/user/trusty-ci-environment/
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
[x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

Hi Tom,
It seems that Travis is working fine, with no test errors.
I am trying to figure out why I get 13 errors locally.

@tomkralidis I have cherry-picked your last commit to #406
Perhaps we should just close this PR here.


Flutter multiple toast messages - Design

Author the user story for this feature
As a user, I want to be able to see multiple toast messages at one time so I can make sure that I have enough time/ability to see them all/analyze.
Is your feature request related to a problem? Please describe.
Currently, only 1 toast message can be displayed.
Describe the solution you'd like
Create a Design document (class diagram/API samples, etc..) highlighting key concepts of the solution to show how this feature should work and used.

Max 2 toasts displayed at the time, all other move to the queue and displayed once currently displayed are moving out of the screen. Need to get more visuals: animations, max lines per toast (any limits here).


Hotfixes & Docs

update / clarify docs
fix typo
hotfix building mapped docker-compose command

self-merging just because.


Document how tasks should be assigned

Problem
Developers don't know what task to work on next. People in CiviForm are unsure how to assign and prioritize work.
Exit criteria
The process for assigning development tasks (e.g. GitHub issues) is documented.

From Danielle:
You could:

go to https://github.com/orgs/civiform/projects/1/views/68
look for unassigned issues in the "Ready for deveolpment" column
ping eng chat asking if it's OK to pick up

@ssandbekkhaug, I think another good step would be to ask @isabelcshaw, @shreyachatterjee00 or Nick @nb1701 for some good next-priority issues.  Isabel, Shreya or Nick, do you agree?
Don, I'm also wondering if it might be helpful to add these suggestions to the Getting Started wiki page.


Update freetype to 2.10.3

it's updated at 2020-10-10 :smile:

Needs a rebase to fix CI (temporary issue on master, not linked with this PR).

Could you update directly to 2.10.4 released today? Security fix.
https://www.phoronix.com/scan.php?page=news_item&px=FreeType-2.10.4-Released

it's updated to 2.10.4

Thanks!

Cherry-picked for 3.2.4.


[BUG]Strange error message that only happens in headless mode

This bug happens whenever i run the software normally, but when i attempted to run it after commenting out headless mode to hopefully find the bug it runs flawlessly. I've commented and uncommented the headless mode code 2-3 times and run it with consistent results

Seems the script is having issues passing the security check because it does not fully log in.
To troubleshoot, I would recommend placing the code located below to stop the code until you press a key.
print('[TEST] Press any key to continue 1')
input()

Place the code under anywhere else you are looking to test to try to pinpoint where the error occurs. I would start after the security check is trying to pass:
print('[LOGIN]', 'Passing security checks...')

Make sure to change the number at the end of the print statement so you know which print statement you see last before the error. Some 'ID" and 'XPATH' change depending on region.
Let me know your results. Good Luck.

Fixed with v3.0 #188


Add lmdeploy tis python backend model

Motivation
Propose evaluation code for LMDeploy TIS Python backend.
Modification
Add evaluation model and config files.
Use cases
python run.py configs/eval_internlm_chat_lmdeploy_tis.py -w outputs

Checklist
Before PR:

[x] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

@lvhan028 @Leymore Could you help review?

Hi @lvhan028, this is the evaluation code for TIS python backend. Shall we add it here?

Hi @lvhan028, this is the evaluation code for TIS python backend. Shall we add it here?

yes. I'll review it tomorrow. Thanks a lot

Hi @lvhan028, this is the evaluation code for TIS python backend. Shall we add it here?

yes. I'll review it tomorrow. Thanks a lot

@lvhan028 Can we merge this PR currently?

Oh, sorry.
My bad. I am going to review it right now


WFLY-5604 Attempt to perform Weld container cleanup if deployment fails

Actually, I'm not really sure whether WeldBootstrapService.stop(StopContext) is always called after WeldStartService.stop(StopContext), i.e. what's the service's "shutdown" lifecycle. Note that WeldBootstrapService is a dependency of WeldStartService.


Bottom tabs and main menu

This is our new design for the overall navigation of the app. It replaces the current placeholder home page. In this design:

There is a bottom tab bar (aka "navigation bar", in Material 3 terms). It has 6 buttons: Inbox, Combined feed, Mentions, Direct messages, Channels, Menu.

All of those buttons except Menu go to screens we already have implemented. Menu is described below.
The navigation bar appears only on the screens that it leads directly to. In particular it does not appear on message lists.
Changes vs. RN legacy app: Search and Starred move from the top bar into the menu. There's no top bar.
For detailed design of the navigation bar, see Figma: here, and further details here. Screenshot:

The screen with the bottom tab bar is the root of the navigation stack; there's no navigating "back" or "up" from there. For how the user reaches the choose-account page (which we currently put at the root of the navigation stack), see below.

The menu is a modal bottom sheet. It has the same options as the navigation bar (except Menu itself), plus "Starred messages".

In the future the menu will gain more options as we implement them:

Settings: #97
Notifications screen: #661
"My profile"
Search (but that's a post-launch feature): #252
and doubtless others.

For now the menu will also have a "Switch account" option at the bottom, which just leads to the choose-account page.

As a follow-up, we'll put the current organization's name and icon at the top of the menu, paired with an "Organizations" option that does the job of "Switch account": #1037
As a further, post-launch follow-up, we'll replace the choose-account page with a new modal menu: #1038

For detailed design of the menu, see Figma: here, and further details here.

For this issue, leave out menu options that are in the design in Figma but aren't mentioned above, or are left as follow-ups.
Screenshot:

Background
This design balances two things we want:

It's low-risk in terms of UX, staying fairly close to what the legacy app has. We don't want to get slowed down by having to iterate a bunch.
Where possible consistent with point 1, it borrows straight from more-ambitious designs we've discussed. This means it won't require scrapping a bunch of work later on as we add more features, or if we implement something more fully like those more-ambitious designs.

Discussion in chat thread.
Previous issue, which this one supersedes:

#311

This is a complex issue, so we'll want someone on the Zulip core team to handle it.

A previous draft PR implemented the navigation bar (roughly point 1 from the description above):

#578

So that may be a helpful starting point.

Just to clarify, because we have a button for the @-mentions page, I believe that the bottom tabs should be at least available for a MessageListPage of MentionsNarrow, where a compose box is not available.
Also questions:

In landscape mode, what would the bottom tabs look like? Do we start centering them at a certain width, or do we stretch them to fit the width of the screen.
This is a follow-up to 2 from the issue description. Do we want to switch between pages without navigation change? In this case, we might want to refactor InboxPage, SubscriptioinListPage, etc. so that they share the same scaffold, and the body functions like a multiplexer depending on the selected page.

Just to clarify, because we have a button for the @-mentions page, I believe that the bottom tabs should be at least available for a MessageListPage of MentionsNarrow, where a compose box is not available.

Hmm, yeah, that part will be a bit awkward — either having that one anomalous message list with bottom tabs, or having that one anomalous tab that leads to a page without the bottom tabs.
I think both kinds of anomaly are things I've seen repeatedly in other published apps. Let's start with whichever one seems easier to implement.
(And then potentially this makes a reason to relegate @-mentions to the menu, instead of also being in the bottom tab bar.)

In landscape mode, what would the bottom tabs look like? Do we start centering them at a certain width, or do we stretch them to fit the width of the screen?

Answered in chat the other day (after the comment above): https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/UI.20redesign.3A.20root.20level.20nav/near/1982007

This is a follow-up to 2 from the issue description. Do we want to switch between pages without navigation change? In this case, we might want to refactor InboxPage, SubscriptioinListPage, etc. so that they share the same scaffold, and the body functions like a multiplexer depending on the selected page.

I'm not sure offhand what the right way is to organize the code, or to handle the navigation APIs to manage this.
Looking at the NavigationBar doc, that API seems to clearly want something much like you said: one page, a stateful widget, which provides the Scaffold and its NavigationBar.
Given that, I think the approach I'd try first (because it's my best guess for the right way) is:

Those page widgets get refactored to be page bodies instead. This should be a small change: basically just return the thing that would have been passed to Scaffold.body, instead of returning the Scaffold itself.

Probably can have an NFC prep commit that splits page from body: e.g. make an InboxBody that's what the later steps will need, and a new InboxPage that wraps that. A later step will drop InboxPage.

This is probably a reason to favor having @-mentions as its own page (so it's an anomalous tab, instead of an anomalous message list). That'd be a messier refactor for that one, because it's just a particular case of MessageListPage.

Probably a chat thread would be a good place for further discussion. I'll more reliably see it sooner and reply, and it's a more interactive medium.


Home page

Description:

Complete the home page html layout and add styling.

Changes Made:

Complete the html code for the home page from where we stop before the task was reshared.
Add css styling to the html.
Add images and link redirection for the interactiveness..
Add responsiveness styling to make it presentable on mobile.
Left the nav bar styling for mobile as it as been concluded that that from the event page will be implemented.

Related Issue:

Fixes #43

Screenshots (if applicable):

Attach screenshots, if applicable, to showcase the newly implemented feature or bug fix.

Thank you @Mubarak1A @rodgersxy @NanaAba08 @Maryanemwende @TechDanny @flexywork327 @khairatAA for your hard work and relentless effort on the home page. PR merged.


JBPM-5249: fixed typo errors

Build successful! See generated HTML docs (may take a while till they are available):
http://ci.kiegroup.org/job/kie-docs-pullrequests/158/artifact/drools-docs/target/generated-docs/html_single/index.html
http://ci.kiegroup.org/job/kie-docs-pullrequests/158/artifact/jbpm-docs/target/generated-docs/html_single/index.html
http://ci.kiegroup.org/job/kie-docs-pullrequests/158/artifact/optaplanner-wb-es-docs//target/generated-docs/html_single/index.html

+1


Add vision module supporting libraries

tbb
openblas
Technically these aren't vision libraries but they're used primarily by vision software components.

https://www.theimpossiblecode.com/blog/intel-tbb-on-raspberry-pi/
Also add ability to create standalone packages for tbb

Ref: https://github.com/goodrobots/maverick/issues/233

Add OpenBLAS and TBB profile scripts and linker config


[BUG] Head stacking issue - Tracking progress

Information
This is a self-opened issue to help me keep track of one of the biggest issues in the plugin, of which is heads not stacking after restarts.
Issue combatted for:

[x] Mob drops with owners
[x] Mob drops with custom textures
[x] Crafting with owners
[x] Crafting with custom textures
[ ] Heads retreived from /myhead and /head
[x] Heads retreived from /heads

System environment

Server version: 1.14.4
HeadsPlus version: v6.5.4
Whether or not the plugin uses MySQL: false
Server type (e.g Spigot, Paper): Spigot
Uses Vault: true
Any other pieces of information that may be required: Java 11

It's super likely that this issue may not be fixable after looking closer at it. For context, here's a small overview as to why:

When using players to create mob skulls, there is a specific method that is used. (SkullMeta#setOwner(String ownerName) or SkullMeta#setOwner(OfflinePlayer player))
Unlike custom textures, it creates all the parameters for the texture value itself.
Inside of a player's skin texture value, the decoded contents look like this: {"timestamp":1564210865613,"profileId":"7091cdbcebdc4eaca6b225dd8acd3a0e","profileName":"Thatsmusic99","signatureRequired":true,"textures":{"SKIN":{"url":"http://textures.minecraft.net/texture/55d0287db2ea512dbadae1ba070a0d3f7eb9862d732ca89a1516c4f0f9c940ea","metadata":{"model":"slim"}}}}
The timestamp is used to check when the skin was last retrieved, which is different every server restart.
This therefore stops heads from stacking.

Best I can do is make a temporary workaround so that all mob heads use custom textures..

Deemed unsolvable as of currently and not a major issue, but has instead been provided with a workaround; closing this for the time being.


React Native Web

Ask your Question
I have a react native project that support ios and android. it uses react-native-keychain, push-notification and ... .
Now I want to add web support. I followed this steps :
https://medium.com/@aureliomerenda/create-a-native-web-app-with-react-native-web-419acac86b82
but it returns errors like this for several of my modules:
node_modules/react-native-animatable/createAnimatableComponent.js: Support for the experimental syntax 'classProperties' isn't currently enabled (133:24):
then I understand that I must use webpack so follow these steps:
https://callstack.github.io/react-native-paper/using-on-the-web.html
but compiler can not transpile react jsx code in start of my code:
ERROR in ./src/app/index.js 20:6
Module parse failed: Unexpected token (20:6)
You may need an appropriate loader to handle this file type
|   render() {
|     return (

 <View>

I searched a lot but did not find any solution.
Is this library help me? and how?
Thank you very much in advance.

For react-native-web you need Webpack to bundle your code. Usually you want to use Create React App or similar. In that case react-native-webpack-toolkit won't help you.
If you want to bundle your JS for mobile React Native apps (iOS, Android) with Webpack, then you should use react-native-webpack-toolkit.
So in other words, react-native-webpack-toolkit is not suitable nor was it designed for react-native-web.

Closing due to inactivity.


Update French translations

Update French translations
Thank for the amazing work that you did to make this integration works with the new Toyota API 🙏

Thank you very much 😊


有中文语言包吗？

Hi @RuitaoShu,
SCM supports Chinese language, you can select it from the Settings Dialog by a System Tray icon.


"Couldn't get popover #a-popover-content-3 within 2000ms"

When I run the docker container for amazon (as well business and private), round about half of the invoices won't be downloaded as it seems to run into a timeout.
[0] [info] [2024-08-08 13:08:52] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:54] [scrape:amazon]:      Couldn't get popover #a-popover-content-1 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:54] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Processing "51" orders
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Order date: *******
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       1 invoices found 📃
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Processing "52" orders
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Checking if folder exists. If not, create: data
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Writing file: /home/node/docudigger/data/null_AMZ_*******.pdf
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:57] [scrape:amazon]:      Couldn't get popover #a-popover-content-3 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Processing "53" orders
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Order date: *******
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.

System: Win 11 23H2
Docker Version: 27.1.1
TLD: de
I've seen some a issue with exact the same error, but maybe in the meantime there is a solution for that?

Do you always have this errors? If not, please check if these orders are some sort of medias like purchased games or audible content. Please verify if they have an invoice too. Sometimes amazon (or mostly vendors from the marketplace) doesn't make them available instead thei send them with the article in the package physically.

This error comes in some orders (round about 50%). They all have invoices and they're all physical orders and no medias.
The only difference is that some of these orders have multiple documents, like one order confirmation, one delivery confirmation or/and the actual invoice.
Also what I've found is that in some orders there are 2 invoices. One from Amazon and another one from the seller.

The only difference is that some of these orders have multiple documents, like one order confirmation, one delivery confirmation or/and the actual invoice.
Also what I've found is that in some orders there are 2 invoices. One from Amazon and another one from the seller.

That should be a problem though because I select all links in the popover with *.pdf in the src tag. I got this error too on an old order but if I open the specific order popup the invoice is there. It seems that can be a race condition too, like in #1135. Need to investigate this.


Use explicit CX namelist for global surface observations

opsinputs/pull/152 introduces the CX namelist for global surface observations. @ctgh suggested that it would be clearer to explicitly list the CX fields requested rather than using the add/remove option.
This should be a straightforward change to address with no change to the result.

Hi @ldhawknesssmith, @JoanneAWaller, @ReubenHill,
I think it might be good to modify the namelist as mentioned above. It will make it much easier to see what CX columns are actually used in the surface processing. For example, it will be clear that the surface columns differ from the screen ones.
Maybe we could discuss that in an upcoming meeting?


fix(context): edit method doesn't properly works after send

About
This pull request is about Fixing edit after slash cmd
@testbot1.command(name="test3", scope=scope, description="Super Test")
async def test3(ctx: CommandContext):
    await ctx.defer(ephemeral=True)
    await ctx.send("Test Start")
    # await testbot1._logout()
    await asyncio.sleep(10)
    await ctx.edit(
        "Test Done", components=Button(custom_id="Baka", label="Boo", style=ButtonStyle.PRIMARY)
    )

Checklist

[x] The pre-commit code linter has been run over all edited files to ensure the code is linted.
[x] I've ensured the change(s) work on 3.8.6 and higher.
[ ] I have added the versionadded, versionchanged and deprecated to any new or changed user-facing function I committed.

Pull-Request specification
I've made this pull request: (check all that apply)

[ ] For the documentation
[ ] To add a new feature
[ ] As a general enhancement
[ ] As a refactor of the library/the library's code
[ ] To fix an existing bug
[ ] To resolve #ISSUENUMBER

This is:

[ ] A breaking change

Add more information in your pr (code for example) why edit doesn't work

I'm gonna merge it


https://raw.githubusercontent.com/MicrosoftLearning/SC-100-Microsoft-Cybersecurity-Architect/master/Instructions/Labs/LAB_SC_100_Lab3_Ex4_Sensitivity_labels.md

Module: 0?
Lab/Demo: 03
Exercise 4
Part 2
Task: 01
Step: 06
Description of issue
Lack of a space between the 1. and the rest of the text in this step breaks numbering:

Recommend adding a space here to match the other steps:

Fixed in new PR


Worlds delete themselves then having to import back! Please help!!

Hey, I run a small server with a couple of worlds (World, World_nether, parkour, minigames, lobby and plotworld) and whenever i log off for a few hours or restart server, the worlds parkour, minigames, plotworld and lobby delete themselves which leaves me having to import them except lobby because i have a lobby plugin but when i try and import lobby back it says internal error occured.
Please help this is really annoying!

You need to remove it from the worlds.yml.

That solved nothing apart from now permanently deleting my lobby world, internal error trying to import it and the lobby plugin can't take me there anymore...

The worlds will come back if they're in the worlds.yml or is the main world.
Error upon using import command? Versions of server software and multiverse?

Always make backups before just deleting files. I would suggest shutting down your server and backing up the MV-Core plugin folder. Then delete that folder. Then restart your server. It will automatically import your default worlds (the ones specified in server.properties). Next use the mv import command to import all your additional worlds.

Thanks everyone, I'm pretty sure everything is fine now


Wunderground reported an error: 204/null

Error in log with debug output:

Versions:

Adapter version: 3.3.0
JS-Controller version: 3.2.8
Node version: v10.17.0
Operating system: Debian GNU/Linux 10 (buster)

This error means that WU do not have current data. Happens sometimes and fixes itself as soon as PWS reports new data

This error means that WU do not have current data. Happens sometimes and fixes itself as soon as PWS reports new data


IGAPP-1117: Readded FocusTrap to feedback

Added the FocusTrap to the feedback dialog without locking the focus after closing the dialog.
Note: As the options already states, it the focus lock is removed through a mouse click. Therefore the user can not navigate wiith tab immeadiately after closing the feedback dialog. Is this a problem?
This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

I don't know why the iOS e2e tests failed. Can someone just rerun them please?


Upgrade cycle-restart to 0.0.9

Hopefully fixes the bug @staltz reported in #15

I'll of course merge this. If it still doesn't work, we can iterate.

@Widdershin IMO it's working all fine! I just put it in master in this repo. I think after a few more trials with cycle-restart, we could move it to @cycle/restart and bump version to 1.0.0. :)


Raspberry Pi Pico (RP2040) support

This PR includes a number of changes and additions.
Major changes:

RP2040 targets: rp2040_core0, rp2040_core1, rp2040 (alias for core 0). Only one core can be accessed at a time for now, pending full multi-drop SWD support.
picoprobe support thanks to @newbrain.

Other changes:

The CMSIS-DAP protocol version is read.
Added jtag_sequence() debug probe API.
Added swd_sequence() debug probe API.
Refactored the SWJSequenceSender class to allow sending fragments of sequences and perform any single step of the SWD <—> dormant <—> JTAG transitions.
Flash algo generation improvements, used to generate the RP2040 flash algo from  https://github.com/rp-rs/flash-algo.

Ah, nice to see it all coming together.
I have unfortunately found a problem on Linux with Picoprobe, see my comment above.


Features/builders as inner classes

Adds support for using the https://en.wikipedia.org/wiki/Builder_pattern instead of just chainable setters. This commit maintains full backwards compatibility with existing capabilities, but enables the selection of a more robust builder pattern if desired (for example if you want to have immutable objects).
This pull request also includes multiple refactoring changes to avoid duplicate code wherever possible. Specifically, when implementing the builder mechanisms several capabilities which were already implemented in the code needed to be migrated into more accessible places.

Integration tests have been added. Let me know how things look.

I've merged and will release in the next version. Thanks Duane, this is an excellent change implemented very carefully and well!


Multiple devices

Hello,
I have 3 modbus devices (RTU) and I want to read all of them on each iteration.
what is the best approach for this?
should I client.SetUnitId(ID) before every call?
Thanks!

Sure, use SetUnitId() to change the target slave before calling ReadRegisters() like so:
	// select the first sensor at address 0x10
	client.SetUnitId(0x10)

	// read two 16-bit holding registers at address 0x4000
	regs, err = client.ReadRegisters(0x4000, 2, modbus.HOLDING_REGISTER)
	if err != nil {
		fmt.Printf("failed to read registers 0x4000 and 0x4001: %v\n", err)
	} else {
		fmt.Printf("register 0x4000: 0x%04x\n", regs[0])
		fmt.Printf("register 0x4001: 0x%04x\n", regs[1])
	}

	// select the 2nd sensor at address 0x20
	client.SetUnitId(0x20)

	// read two 16-bit holding registers at address 0x4000
	regs, err = client.ReadRegisters(0x4000, 2, modbus.HOLDING_REGISTER)
	if err != nil {
		fmt.Printf("failed to read registers 0x4000 and 0x4001: %v\n", err)
	} else {
		fmt.Printf("register 0x4000: 0x%04x\n", regs[0])
		fmt.Printf("register 0x4001: 0x%04x\n", regs[1])
	}

If the sensors are all the same you might as well do it in a loop.


Trying to use FastImage produces an Invariant violation on iOS after installing with CocoaPods

Error:
"Invariant Violation: Element type is invalid: expected a string( for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in"
My use is as follows:
import FastImage from 'react-native-fast-image';
...
        return <FastImage
            source={{ uri: 'http://website.com/image.gif' }}
        />;
...

Using version: 5.2.0, React Native version: 0.51
If that helps, console.log of FastImage produces this:
{ '$$typeof': {},   render: [Function],   displayName: 'FastImage',   resizeMode:     { contain: 'contain',      cover: 'cover',      stretch: 'stretch',      center: 'center' },   priority: { low: 'low', normal: 'normal', high: 'high' },   cacheControl: { immutable: 'immutable', web: 'web', cacheOnly: 'cacheOnly' },   preload: [Function],   defaultProps: { resizeMode: 'cover' },   propTypes:     { accessible: { [Function: bound checkType] isRequired: [Function: bound checkType] },      accessibilityLabel: { [Function: bound checkType] isRequired: [Function: bound checkType] },      accessibilityComponentType: { [Function: bound checkType] isRequired: [Function: bound checkType] },      accessibilityLiveRegion: { [Function: bound checkType] isRequired: [Function: bound checkType] },      importantForAccessibility: { [Function: bound checkType] isRequired: [Function: bound checkType] },      accessibilityTraits: { [Function: bound checkType] isRequired: [Function: bound checkType] },      accessibilityViewIsModal: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onAccessibilityTap: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onMagicTap: { [Function: bound checkType] isRequired: [Function: bound checkType] },      testID: { [Function: bound checkType] isRequired: [Function: bound checkType] },      nativeID: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderGrant: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderMove: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderReject: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderRelease: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderTerminate: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onResponderTerminationRequest: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onStartShouldSetResponder: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onStartShouldSetResponderCapture: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onMoveShouldSetResponder: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onMoveShouldSetResponderCapture: { [Function: bound checkType] isRequired: [Function: bound checkType] },      hitSlop: { [Function: chainedCheckType] isRequired: [Function: bound checkType] },      onLayout: { [Function: bound checkType] isRequired: [Function: bound checkType] },      pointerEvents: { [Function: bound checkType] isRequired: [Function: bound checkType] },      style: [Function],      removeClippedSubviews: { [Function: bound checkType] isRequired: [Function: bound checkType] },      renderToHardwareTextureAndroid: { [Function: bound checkType] isRequired: [Function: bound checkType] },      shouldRasterizeIOS: { [Function: bound checkType] isRequired: [Function: bound checkType] },      collapsable: { [Function: bound checkType] isRequired: [Function: bound checkType] },      needsOffscreenAlphaCompositing: { [Function: bound checkType] isRequired: [Function: bound checkType] },      source: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onLoadStart: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onProgress: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onLoad: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onError: { [Function: bound checkType] isRequired: [Function: bound checkType] },      onLoadEnd: { [Function: bound checkType] isRequired: [Function: bound checkType] },      fallback: { [Function: bound checkType] isRequired: [Function: bound checkType] } } }
Which indeed looks like an object
Edit - Downgrading to 4.0.14 fixed it.

@nadav2051 Have you tried to update your React Native ?
react-native-fast-image is meant to be compatible with the latest version of React Native.
RN 0.51 is a lot behind the scope of the latest release 0.59.
I would have suggest you to try updating your version of RN. A lot has changed since 0.51, you would benefit from those change I think.


Create Binary_Tree.cpp

This file contains the Implementation of a Binary Tree Data Structure and Functions related to this Data Structure.

That class is already implemented here. If you want to add some functions, add there. Dont create new file.

Okay, thanks I will do so.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/om2804/ioBroker.vis-material-webfont

[ ] [E117] Licenses in package.json and in io-package.json are different
[ ] [E118] Versions in package.json and in io-package.json are different
[ ] [E145] No news found for actual version 0.0.2
[ ] [E150] No common.connectionType found in io-package.json
[ ] [E152] No common.dataSource found in io-package.json
[ ] [E300] Not found on travis. Please setup travis
[ ] [E801] No repository about text found. Please go to "https://github.com/om2804/ioBroker.vis-material-webfont", press the settings button beside the about title and add the description.
[ ] [E802] No topics found in the repository. Please go to "https://github.com/om2804/ioBroker.vis-material-webfont", press the settings button beside the about title and add some topics.
[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2021 om2804<EMAIL_ADDRESS>at the end of README.md
[ ] [E816] file tsconfig.json found in repository, but not found in .npmignore

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Do you need help fixing the bugs?

Do you need help fixing the bugs?


Fail rust build if openssl found in Cargo.lock

Add a check in the workflow to fail the build if openssl is found in the Cargo.lock as a dependency.  We need to avoid having openssl as a dependency.

@sbtaylor15 I took a bash at it. Can we discuss (when convenient)?
$ if [[ $(find . -name "Cargo.lock" -exec grep -i openssl {} \; | wc -l) != 0 ]]; then
echo fail
fi
$ cargo add openssl
    Updating crates.io index
      Adding openssl v0.10.45 to dependencies.
             Features:
             - bindgen
             - unstable_boringssl
             - v101
             - v102
             - v110
             - v111
             - vendored
$ if [[ $(find . -name "Cargo.lock" -exec grep -i openssl {} \; | wc -l) != 0 ]]; then
echo fail
fi
fail
$ cargo remove openssl
    Removing openssl from dependencies
$ if [[ $(find . -name "Cargo.lock" -exec grep -i openssl {} \; | wc -l) != 0 ]]; then
echo fail
fi
$


⚠ Bofrost.es has degraded performance

In 141f02a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1741 ms

Resolved: Bofrost.es performance has improved in 00a1eb0 after 7 minutes.


Fixed funcName call in callRPC

It wasn't passed as a value but string.
closes #45

Thanks for reporting!


Upgrade to sodar core v1

We need to upgrade to SODAR core latest version following the documentation and PR
https://sodar-core.readthedocs.io/en/latest/major_changes.html#v1-0-0-2024-07-19
https://github.com/bihealth/sodar-server/commit/1ccc56a47ec34463d85ab63e8f32d24e81cc29e9

Update is prepared, waiting for @mikkonie


Option for larger board sizes?

I did just see this in CONTRIBUTING.md

Changes that might not be accepted

Changes to the grid size

/shrug


Feature Daily Quote / Inspiration

It's nice to have feature that generate some nice picture with verse quote.
Also need to be shareable to social media or image should be downloadable.

Reference:

Demo: https://www.postyposter.com/#/
Gh: https://github.com/ezhmd/posty-poster

Hello mas @mazipan. I interested to take this issue. Can I be a assignee at this issue? Thanks

Sure 🙌

Do you think this can be done in same projects, or you need to create another project for this?
Since this repository is very opinionated.
Let me know if you want to create your own implementation from scratch yan@argaghulamahmad

I will start with fork the project and read the source codes. Then, start planning in implement the feature.
Maybe, I will create the POC of the feature at separate nuxt project. And, start to implement the POC in this project, after the POC is working.
If mas @mazipan dont mind, I will work at this issue on the weekend.

Cool, just let me know if you need any help.
I don't have any requirement or design for this feature request.
Just play with your idea.

Okay noted mas @mazipan

Sample, share feature in Tokopedia:
https://www.tokopedia.com/s/quran/al-fatihah


Publish privately first

This updates the publish.sh script with two features.
Make publishing closer to atomic
Never publish to the 'latest' tag directly (to avoid NPM snafus like we saw last night). This will instead always publish to a 'private' tag on NPM, and only once all the packages have been successfully published (and successfully readable!), it will assign the final tag to those versions (i.e. the given tag, or latest). Lastly, when all of that succeeded, it will clean up the 'private' tag from those packages. Hopefully this makes publishing the family of packages a bit more atomic.
(This new 'private' tag setup means that we cannot and should not run multiple publish.sh scripts simultaneously.)
Reduce OTP prompts
Secondly, while I was at it, I realized that these steps will require many extra moments where we'd have to paste in the OTP token. (One for npm publish, one for npm dist-tag add, and one for npm dist-tag rm) × 5 packages = 15 OTP tokens to paste 😬
That's why I changed the OTP prompting set-up a bit to only ask for the OTP once, and to keep it in memory to use everywhere.

Just ran a test. Both the tagging parts and the only-prompting-once for the OTP token work! 🙌


Implement transactions

If there are multiple clients accessing/editing the same file, we need a way of ensuring atomicity such that file corruption / unexpected behaviour does not occur.
Dependency on #8

Some thoughts:

Retry logic?
How will this interact with streaming of large files (#7 ),  do we want to hold locks until streaming of a large file is complete?


adding retry for kourier install

Changes

:bug: adds retries for kourier install

/kind bug

Based on discussion in #58 , adding retries for kourier install. See also discussion in #23

Release Note

Fixes a bug that caused installing Kourier to fail

/assign @csantanapr

/lgtm
/approve

/cherry-pick release-0.1


Does not work with latest pyOpenSSL

See https://github.com/bellingcat/auto-archiver/issues/155 for more info.
Here's the stack trace, when using pyOpenSSL==24.3.0
  File "/.virtualenvs/autoarchiver/lib/python3.11/site-packages/auto_archiver/enrichers/timestamping_enricher.py", line 3, in <module>
    from tsp_client import TSPSigner, SigningSettings, TSPVerifier
  File "/.virtualenvs/autoarchiver/lib/python3.11/site-packages/tsp_client/__init__.py", line 2, in <module>
    from .signer import SigningSettings, TSPSigner
  File "/.virtualenvs/autoarchiver/lib/python3.11/site-packages/tsp_client/signer.py", line 12, in <module>
    from .verifier import TSPVerifier, VerifyResult
  File "/.virtualenvs/autoarchiver/lib/python3.11/site-packages/tsp_client/verifier.py", line 40, in <module>
    from OpenSSL.crypto import verify as openssl_verify
ImportError: cannot import name 'verify' from 'OpenSSL.crypto' (unknown location)

From pyOpenSSL docs, the crypto package is deprecated: https://www.pyopenssl.org/en/24.3.0/api/crypto.html

But I can't seem to see any better solution as to how to do this. The recommended pyca/cryptography doesn't seem to make it any easier either. Submitting here to keep a record on this

Thanks for reporting! I will publish a new version shortly that restricts the PyOpenSSL dependency version range so that only versions that contain the required functionality are installed.
The certificate validation (verification) function is indeed deprecated in PyOpenSSL. Migrating it to Cryptography is possible but requires some effort (I have successfully completed this work in another package I maintain, SignXML, but not in tsp-client yet) and the validation criteria in Cryptography are much stricter and less flexible than in PyOpenSSL, so I'm not sure yet if they will work with all TSP applications.

OK, I have released tsp-client v0.2.1 which works around this issue. I will post another update here when I've made progress on migrating certificate validation to Cryptography.

Great, thanks for the quick update! Note that I've tested and confirms it still works with pyopenssl==24.2.1, so perhaps the package should be kept to this?
"pyOpenSSL >= 21.0.0, < 24.2.1"


GraphQL schema language

Is it possible to use this module with GraphQL schema language? If so would it be possible to extend the docs o demonstrate such a usage? Thank you in advance :)

Right now this is not possible and would have to be added. There are a few questions that would have to be solved, specifically how do you want to add a JS function that dynamically calculates the complexity based on input arguments via the GraphQL SDL? I am not sure if the SDL Document would be the best place for that... depending on the amount of logic in the complexity function this could quickly get out of hand.
I am open to ideas and adding support for something like that if we find a clean approach to add it.

Hey, I forgot that I raised this question, please excuse my late response. As I wanted to proceed with my experiments I made some research, went through your code and decided to use so called directives (it is an undocumented schema language part (found somewhere in github issues/discussions), but already used e.g. by apollo for cache control). What I ended up with is something like:
On type declaration:
type Query {
    hello:String @complexity(val:100)
}

some code that I added to consume directives declarations:
const complexityDirective = field.astNode
         .directives
         .filter(directive => directive.name.value === 'complexity')[0]; // or use find
   if (complexityDirective) {
        const valArg = complexityDirective.arguments
            .filter(arg => arg.name.value === 'val')[0]; // or use find
            if (valArg) {
                nodeComplexity = +valArg.value.value + childComplexity;
            }
   }

I hope it gives you the idea how it worked for me.

I am not sure if the SDL Document would be the best place for that... depending on the amount of logic in the complexity function this could quickly get out of hand.

I also do not know yet how "pure" and flexible is this approach but till now it works fine for me and allowed me to stick to schema language. I hope it helps you/this library in any way . If you would like to have a pull request then just let me know - I will try to deliver something.
Cheers

Hi @dumbNickname
In this Github comment, @leebyron does not seem to recommend the custom directive approach.
@leebyron is saying that adding custom directive makes your Graphql Schema "not standard" which is not something desirable.
I still don't have my own opinion on this question. I just wanted to point it out.

Hi @GabrielDelepine
Thanks for your response. The comment pointed by you was one of hints I found when looking for a solution working with GraphQL SDL. This is also why I wrote it is an undocumented feature, which rises all the risks mentioned and possible compatibility problems. In general I thought any solution is better than no solution, but will not try to force anybody to pick it up. Anyway, thanks for pointing out those thoughts explicitly, now this thread is more complete.

For anyone else with this problem, we circumvented it by modifying the "generated" schema directly. With a combination of getType and getFields you can get a reference to the individual fields within the schema, then simply add the complexity property to them.

With the release of version 0.2.0 the new feature of configurable estimators was introduced. The directiveEstimator lets you configure the complexity and multipliers via GraphQL directives which can be set via schema definition language.
The solution described by @Piefayth can also be simplified since the estimator is passed the current type and field automatically. You could simply create a custom estimator and let it calculate the value in any way.
Estimators can also be combined now. We can set a default complexity and customize only certain fields via directive, field config etc.


Update task-set-5.md: Self-assign topic number 9

@Abdulkadir98 Again same issue. Also, why are you removing a previous assignment of a topic?


Flutter 3.7.0: Missing whatsapp icon

In Flutter 3.7.0 is no more present the whatsapp icon.
The following instruction:
Icon(Icons.whatsapp)
now gives error "The getter 'whatsapp' isn't defined for the type 'Icons'".
In previous version the whatsapp icon was present.
Thank you.

Duplicate of https://github.com/flutter/flutter/issues/111667


[Back End] Make sure API keys/secrets/etc. are protected with env files

Add JWT "secret" to env/config vars


Minor fixes

Visual Studio updated the TOC area :/
I added instructions to show how to log in from shell as the vidulum service user.
Fixed a section that was highlighting the wrong line for what needs to be changed in the maintenance section.

Latest update is important to note:
I have changed the interval for the snapshots.  This now only happens every 375K blocks.  This will help to reduce state sync abuse and ensure that validators have more than the 21 days unbonding period worth of blocks.
Also changed the recommended min-retain-blocks to 375K as well.


qrcode issuer coding fix

这个 PR 实现什么功能/修复什么问题:

qrcode 支持中文编码

是否需要 backport 到之前的 release 分支:

release/2.11
release/2.12

/area apigateway
/cc @swordqiu @yousong

Codecov Report

Merging #2846 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2846      +/-   ##
=========================================
+ Coverage    7.17%   7.18%   +<.01%
=========================================
  Files         474     474
  Lines       75092   75026      -66
=========================================
  Hits         5388    5388
+ Misses      69252   69186      -66
  Partials      452     452

Flag
Coverage Δ

#aFlag
7.18% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/keystone/models/credentials.go
6.92% <0%> (-0.34%)
:arrow_down:

pkg/hostman/guestfs/fsdriver/windows.go
0% <0%> (ø)
:arrow_up:

pkg/util/fileutils2/fileutils.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/esxi/virtualmachine.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/tokens/auth.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/models/id_mappings.go
10.22% <0%> (ø)
:arrow_up:

pkg/hostman/guestfs/fsdriver/linux.go
0% <0%> (ø)
:arrow_up:

pkg/multicloud/esxi/storage.go
0% <0%> (ø)
:arrow_up:

pkg/keystone/models/identity_provider.go
1.8% <0%> (+0.01%)
:arrow_up:

pkg/hostman/guestfs/fsdriver/base.go
13.72% <0%> (+0.26%)
:arrow_up:

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 f41a0e8...2192a1b. Read the comment docs.

/approve
/lgtm


[C#] OAuth authentication: MessageExtension

Code and sample has been merged; pending link

https://github.com/microsoft/teams-ai/pull/992
https://github.com/microsoft/teams-ai/pull/1003


Feature Request: Continue previous session when reconnecting

It is my impression that when - as it happens occasionally - the browser locks up or one closes the localhost:8080 tab and reconnects the entire previous session is lost. I assume this is due to all vital data being stored in st.session_state. It would be desirable if there was a way to reconnect to the previous session and continue with the ongoing thread. Maybe there is a way in loop.py to continuously store the session information in a local file and on request restore that data?

It would be nice to have a dump of the conversation json into a logfile as a stopgap/quickfix. Then we could at least feed an old convo in as an initial message (maybe after some rudimentary pruning). maybe a tools/ folder with an inspect_logs.sh and an extract_convo_text.py. Maybe a build_image.sh and run_image.sh too?)

In my customized system I have implemented that feature already and yes it is a possibility. In the end you can always ask claude to improve itself - the only difficulty is that when it starts changing loop.py and streamlit.py it tends to temporarily break things which is exactly where being able to restore the session would come in handy.

As @p-i- mentions, this should be thought of in the context of keeping a full history of sessions and interactions.
I vote for a file per session since the amount of data is quite large.
I'm ambivalent about JSON vs markdown. JSON would let us replay the exact history, but I'm not convinced that that's what we want. In ways markdown summaries seem like a better way to feed the LLM, but we'd need to experiment.

YAML > Markdown >> JSON
(IMO)

Crosslinking https://github.com/anthropics/anthropic-quickstarts/issues/137

It would be nice to have a dump of the conversation json into a logfile as a stopgap/quickfix. Then we could at least feed an old convo in as an initial message (maybe after some rudimentary pruning). maybe a tools/ folder with an inspect_logs.sh and an extract_convo_text.py. Maybe a build_image.sh and run_image.sh too?)

good idea, it should be possible to let claude add that to the computer use demo and submit that as a pull request so that we all have it. I am trying to do self improvement but when there is a bug it is also self crashing haha, it needs a computer demo in a computer demo to work on self. Anyways I am trying to set it up like that as we speak, not quite there yet.

@dikkietrom That's what I've done. If you search the issues for author:p-i- you'll get fixes for the main blockers. Last one only took 20 mins(!).

If you are looking for some code that can push PRs as autonomously to a
repo you can check out this prototype (written with Claude):
https://github.com/Quasimondo/OpenMender
On Sun, Nov 3, 2024, 12:58 AM Pi @.***> wrote:

@dikkietrom https://github.com/dikkietrom That's what I've done. If you
search the issues for author:p-i- you'll get fixes for the main blockers.
Last one only took 20 mins(!).
—
Reply to this email directly, view it on GitHub
https://github.com/anthropics/anthropic-quickstarts/issues/142#issuecomment-2453229743,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMOUXBUI3PUUJ74NG2FZ3Z6VRK5AVCNFSM6AAAAABQ55GLTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGIZDSNZUGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@dikkietrom That's what I've done. If you search the issues for author:p-i- you'll get fixes for the main blockers. Last one only took 20 mins(!).

thanks, impressive not this stuff? i mapped a host folder to the container so it can work on things on my mac without controlling it and removed the computer tool because it does not work ok and takes all my credits. my head explodes thinking over the potential implications of this. it is already at a high level of usefulness to me in this initial state

If you are looking for some code that can push PRs as autonomously to a repo you can check out this prototype (written with Claude): https://github.com/Quasimondo/OpenMender
…
On Sun, Nov 3, 2024, 12:58 AM Pi @.> wrote: @dikkietrom https://github.com/dikkietrom That's what I've done. If you search the issues for author:p-i- you'll get fixes for the main blockers. Last one only took 20 mins(!). — Reply to this email directly, view it on GitHub <#142 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMOUXBUI3PUUJ74NG2FZ3Z6VRK5AVCNFSM6AAAAABQ55GLTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGIZDSNZUGM . You are receiving this because you authored the thread.Message ID: @.>

I would want a fork of computer use that is managed by AI so that we can do PRs that are immediately reviewed/tested and deployed. Just as an experiment to see what happens.


nightly, after restore a backup with tiflash replica to tidb cluster, query from tiflash report "remote reader meets error: Region epoch not match after retries: Region {10365,6,701} not in region cache."

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

use br to restore a backup with tiflash replica to tidb cluster with tiflash
set tidb_isolation_read_engines='tiflash
select count(*) from tiflash_replica_table.t1;

2. What did you expect to see? (Required)
response 2
3. What did you see instead (Required)
[2022/11/23 20:52:40.321 +00:00] [ERROR] [] ["coprocessor meets error : "] [source=pingcap/coprocessor] [thread_id=50]
[2022/11/23 20:52:40.321 +00:00] [WARN] [TiRemoteBlockInputStream.h:129] ["remote reader meets error: Region epoch not match after retries: Region {10365,6,701} not in region cache."] [source="TiRemote(CoprocessorReader) BatchCoprocessorHandler TableFullScan_25"] [thread_id=49]
[2022/11/23 20:52:40.408 +00:00] [ERROR] [DAGDriver.cpp:198] ["DB Exception: Region epoch not match after retries: Region {10365,6,701} not in region cache.\n\n       0x160d1de\tDB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int) [tiflash+23122398]\n                \tdbms/src/Common/Exception.h:46\n       0x6187d0f\tDB::TiRemoteBlockInputStreamDB::CoprocessorReader::readImpl() [tiflash+102268175]\n                \tdbms/src/DataStreams/TiRemoteBlockInputStream.h:202\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x5576f85\tDB::IProfilingBlockInputStream::read() [tiflash+89616261]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:43\n       0x5824b0f\tDB::ExpressionBlockInputStream::readImpl() [tiflash+92424975]\n                \tdbms/src/DataStreams/ExpressionBlockInputStream.cpp:50\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x581c3f7\tDB::ConcatBlockInputStream::readImpl(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+92390391]\n                \tdbms/src/DataStreams/ConcatBlockInputStream.h:54\n       0x581c364\tDB::ConcatBlockInputStream::readImpl() [tiflash+92390244]\n                \tdbms/src/DataStreams/ConcatBlockInputStream.h:45\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x5576f85\tDB::IProfilingBlockInputStream::read() [tiflash+89616261]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:43\n       0x58a43c6\tDB::Aggregator::execute(std::__1::shared_ptrDB::IBlockInputStream const&, DB::AggregatedDataVariants&, std::__1::shared_ptrDB::FileProvider const&) [tiflash+92947398]\n                \tdbms/src/Interpreters/Aggregator.cpp:1037\n       0x5967bb5\tDB::AggregatingBlockInputStream::readImpl() [tiflash+93748149]\n                \tdbms/src/DataStreams/AggregatingBlockInputStream.cpp:38\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x5576f85\tDB::IProfilingBlockInputStream::read() [tiflash+89616261]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:43\n       0x5824b0f\tDB::ExpressionBlockInputStream::readImpl() [tiflash+92424975]\n                \tdbms/src/DataStreams/ExpressionBlockInputStream.cpp:50\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x5576f85\tDB::IProfilingBlockInputStream::read() [tiflash+89616261]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:43\n       0x5824b0f\tDB::ExpressionBlockInputStream::readImpl() [tiflash+92424975]\n                \tdbms/src/DataStreams/ExpressionBlockInputStream.cpp:50\n       0x5577295\tDB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>&, bool) [tiflash+89617045]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:75\n       0x5576f85\tDB::IProfilingBlockInputStream::read() [tiflash+89616261]\n                \tdbms/src/DataStreams/IProfilingBlockInputStream.cpp:43\n       0x5801eea\tDB::copyData(DB::IBlockInputStream&, DB::IBlockOutputStream&, std::__1::atomic) [tiflash+92282602]\n                \tdbms/src/DataStreams/copyData.cpp:78\n       0x61295d5\tDB::DAGDriver::execute() [tiflash+101881301]\n                \tdbms/src/Flash/Coprocessor/DAGDriver.cpp:138\n       0x6104bdc\tDB::BatchCoprocessorHandler::execute() [tiflash+101731292]\n                \tdbms/src/Flash/BatchCoprocessorHandler.cpp:78\n       0x610197e\tstd::__1::__function::__func<DB::FlashService::BatchCoprocessor(grpc::ServerContext*, coprocessor::BatchRequest const*, grpc::ServerWritercoprocessor::BatchResponse)::$_20, std::__1::allocator<DB::FlashService::BatchCoprocessor(grpc::ServerContext, coprocessor::BatchRequest const*, grpc::ServerWritercoprocessor::BatchResponse)::$_20>, grpc::Status ()>::operator()() [tiflash+101718398]\n                \t/usr/local/bin/../include/c++/v1/__functional/function.h:345\n       0x6100d78\tstd::__1::__packaged_task_func<std::__1::function<grpc::Status ()>, std::__1::allocator<std::__1::function<grpc::Status ()> >, grpc::Status ()>::operator()() [tiflash+101715320]\n                \t/usr/local/bin/../include/c++/v1/future:1687\n       0x6100f35\tstd::__1::packaged_task<grpc::Status ()>::operator()() [tiflash+101715765]\n                \t/usr/local/bin/../include/c++/v1/future:1960\n       0x63109e4\tvoid std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, ThreadPool::ThreadPool(unsigned long, std::__1::function<void ()>)::$_0> >(void*) [tiflash+103877092]\n                \t/usr/local/bin/../include/c++/v1/thread:291\n  0x7fd97779aea5\tstart_thread [libpthread.so.0+32421]\n  0x7fd976b9f96d\t__clone [libc.so.6+1042797]"] [source=DAGDriver] [thread_id=49]
4. What is your TiFlash version? (Required)
[2022/11/23 17:44:23.091 +00:00] [INFO] [] ["Welcome to TiFlash"] [thread_id=1]
[2022/11/23 17:44:23.091 +00:00] [INFO] [] ["Starting daemon with revision 54381"] [thread_id=1]
[2022/11/23 17:44:23.091 +00:00] [INFO] [] ["TiFlash build info: TiFlash\nRelease Version: v6.5.0-alpha\nEdition:         Community\nGit Commit Hash: e7be8e7f06af59a0359287b9849bdd436666e3b4\nGit Branch:      heads/refs/tags/v6.5.0-alpha\nUTC Build Time:  2022-11-23 11:07:52\nEnable Features: jemalloc sm4(GmSSL) avx2 avx512 unwind thinlto\nProfile:         RELWITHDEBINFO\n"] [thread_id=1]

the data restored from minio is in :{"storage":"s3://nfs/tools_test_data/tiflash_replica_table?access-key=minioadmin&secret-access-key=minioadmin&endpoint=http%3a%2f%2fminio.pingcap.net%3a9000&force-path-style=true","timeout":"10m","crc32-checksum":2567524794,"database":"clustered", "restore-full-options": ["--check-requirements=false"]}

/type bug

/severity major

Did you check the TiFlash replica progress by SELECT * FROM information_schema.tiflash_replica;?

Expected behavior