fix: update HMDB IDs to version 4

Main improvements in this PR:

update HMDB IDs to version 4 format by inserting double zero, and fix HMDB ID for MAM03055r, as suggested in #434

I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected develop as a target branch

@orsiliska excellent!
The 23 IDs reported in above table had been corrected and are ready for your inspection.


perf(tooltip): Hook up to pointer leave events when pointer enter events fire

Rather than greedily at startup.
This builds on top of #19764 so should get merged afterwards.

Re: Map([...m1, ...m2])
Not that we're debating it really, but that'd be slower yet and add GC pressure for no significant change in readability.


Update Segment docs to add flag to the Tenant URL

Our team at Segment has confirmed Microsoft Azure Entra ID (formerly Active Directory) is sending non-standard path value when issuing PATCH remove op. During testing, we tried out the flag aadOptscim062020 indicated in this Microsoft article, which actually fixes the issue. It will be the fix to make Azure compatible with Segment's SCIM v2 implementation.
In our docs, we directly point our customers to your docs which works well:  https://segment.com/docs/segment-app/iam/scim/#okta-set-up-guide
I'm opening this issue to see if the Tenant URL can be updated to "https://scim.segmentapis.com/scim/v2?aadOptscim062020" in your SCIM tutorial/guide here? I can also provide some details why this flag is needed.
This will ensure that the customers who are implementing the Entra ID SCIM setup  are set up correctly and don't run into this issue. We are also adding some info to our docs in the meantime, but I wanted to reach out and see if it can be updated in Microsoft Entra ID docs as well.
Thanks in adv!
Atif (from Segment Support Team)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 09b8c472-3a4e-dd2c-11df-f05b05e5a642
Version Independent ID: 834bcfe7-2e5c-97ed-eeb8-d5eed616188b
Content: Known issues with System for Cross-Domain Identity Management (SCIM) 2.0 protocol compliance - Microsoft Entra ID
Content Source: docs/identity/app-provisioning/application-provisioning-config-problem-scim-compatibility.md
Service: entra-id
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@muhammadatifjav
Thanks for your feedback! We will investigate and update as appropriate.

@kenwith Can you please review and track and migrate in ADO? Thank you.

Created a work item and sent email to PM team for review. I will get the change updated right away once they review. Thank you for the feedback.
#please-close


Future of Stan.jl

Hi,
In issue #39 I started a discussion on the future of Stan.jl by asking several questions. Hiding the discussion inside another issue is not right, so I'm moving it to its own issue.
Before tagging Stan.jl v"1.1.0" I have 3 items on my list of things to do:

Julia v"0.6" (also depends on Mamba and Gadfly)
Running Stan models from anywhere (I'm not sure why occasionally I see problems with that)
Fixing the initialization issues (e.g. items #34, #38 and now #39)

With respect to 3 I'm leaning towards adding a new (multiple dispatch or keyword?) argument to stan() to make this work similar to data, e.g.  sim1 = stan(stanmodel, bernoullidata, bernoulliinit) in the BernoulliInitTheta example.
Other questions (and also based on Michael's response in #39 for item 5):

Has anyone used item #36 (PSIS/LOO)?
Separating out running CmdStan and creating Mamba chains
Using DataTables to store and query the sampling results
Switch/add an option for plots using Plots.jl
Tracking of R functionality

I asked folks for feedback on these and other topics such as "do folks like the coupling with Mamba diagnostics and Mamba graphics?" and "how important is access to Stan functions on C++ level?".
Over the last year I have certainly seen more R focus in the Stan team, how important is that? Hence item 8 and possibly  item 4.
After 2 years is it time to do major surgery on Stan.jl? I'm also pretty busy right now, so no promises, even if I could tackle some of the larger topics.
Regards,
Rob

rstan offers log prob methods, like unconstrain_pars.
The function optimizing also has the optional hessian argument, allowing you to extract it following an optimization. These two features have me considering switching from Julia back to R.
Although I'd probably stick to Julia and write functions to do the change of variables to the unconstrained space and to calculate the log likelihood as a function of these unconstrained parameters, and then use ForwardDiff to find the hessian.
This would be less convenient (especially when applied to more models over time) vs simply using Stan.

Thanks for your feedback @chriselrod . My guess is that tracking RStan functionality means C++ level integration.

Hi Rob-
For what its worth, I think adding LOO would be a nice feature for model comparison. It seems like this could have been programmed in Stan so that other programs could interface with it. But it is what it is.  Tracking some of the R functionality would be beneficial too. R has certain features like expose stan functions which is handy for testing functions. Plots.jl seems like a promising option. My main complaint with Gadfly is that there does not appear to be a way to modify Mamba's default aesthetics or load pictures directly into an IDE, like Juno.
-Chris

Thanks Chris.
Have you looked at #36 (PSIS/LOO)?
My next step will likely be to implement item 5 above. This will allow me to port (and test) to newer versions of Julia (item 1) much earlier. Just need to find some time :-)
Rob

Rob, I did see that. Do you know if alvaro1101 plans to port that into Julia, or is that something you plan to do?

My understanding is that @alvaro1101 ported important parts of Aki’s matlab code to Julia (https://github.com/avehtari/PSIS/issues/3). Unfortunately I have not really had the time to study and test it. But I think it is useful work and I would love for it to be published.
Regards,
Rob

Thanks for clarifying. I was going to offer to look at the code and try to port it into Julia, but it looks like that is covered.

Would you mind checking with @alvaro1101 ? It would be really nice to get the package in METADATA.

Summarizing:
Updates for Stan.jl v"1.0.3" are listed in the README file in the current master. Thanks to a lot of help!
It will run on Julia v"0.6".
For Stan.jl v"2.0.0" I'm planning to make the following changes (late this year):

Separating out running CmdStan and creating Mamba chains.
Only have dependencies on Mamba and Gadfly in current examples.

and maybe:

A Plots.jl example.
By default moving thinning to CmdStan (as recently suggested for Jags.jl).
Using DataTables to store and query the sampling results.

It's a major level change because it will effect all current examples and likely many user programs as well. I might sync the release with Julia v"1.0" if that is realistic.

Progress as of 5/4/2017: Items 1) and 2) in the first list completed and pass testing on both Julia 0.5 and 0.6. Next up: 2) and 5) from the second list.

Progress as of 5/12/2017: 2) and 5) are mostly done. I've renamed the Github branch to Stan.jl.1.1.0.
Still to do: Simplify/unify observed data and initialization data handling in stan() and improve on pinpointing where an error might occur in stan(). I'm hoping to finish this work by the end of next week and tag/release Stan.jl v"1.1.0".

Please also note Tamas' comments in #44 .


Fair MOT Demo Error

[image2 @ 00000258d494ba80] Could find no file with path 'D:\Work\CV\FairMOT\results\frame/%05d.jpg' and index in the range 0-4
D:\Work\CV\FairMOT\results\frame/%05d.jpg: No such file or directory

It is an ffmpeg error:
https://superuser.com/questions/666860/clarification-for-ffmpeg-input-option-with-image-files-as-input

As suggested here I have fixed the errors and generated demo output frames like:


fix: handling functions update flow errors when no functions are present

Description of changes

Issue #, if available

Description of how you validated changes

tested manually

Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing this PR


Best way to Fill NA's on large dataset

Would the below be an appropriate way to fill na's? Or is there a better way?
sdf = kdf.to_spark(index_col="")
sdf = sdf.fillna("<fill-val>", subset=["column1", "column2"])
kdf = sdf.to_koalas(index_col="")

Is replace method an alternative?
kdf = kdf.replace(np.nan, "<fill-val>")

Koalas has DataFrame.fillna as well:
import databricks.koalas as ks
import numpy as np
kdf = ks.DataFrame({'a': [1., np.nan], 'b': [2., np.nan]})
kdf.fillna({'a':0})


[Bug]: Database change execution scheduled task, displaying as terminated

ODC version
odc423
OB version

What happened?

What did you expect to happen?
Normal execution
How can we reproduce it (as minimally and precisely as possible)?
Database change execution scheduled task
Anything else we need to know?
No response
Cloud
No response

Cannot reproduced yet.

It works for me:

The reason for your problem may be that the time of the environment of the ODC you are using has been modified, so that the time of the timer execution is less than the time of the application, so it is directly displayed as "Terminated".


fixDarwinDylibNames fails for some libraries

Issue description
While trying to fix the samba build for Darwin I found that it installs some libraries without write permissions. fixDarwinDylibNames won't help for those.
Could it do a chmod u+w prior to install_name_tool?

@jacereda stdenv setup hook already makes everything writable in fixupPhase for similar reasons.
Can you move whatever call of fixDarwinDylibNames into that phase?

I see, I noticed some libraries in samba were read-only and I assumed they were like that at fixup time. So the issue is elsewhere, I think I know the real problem. I'll open a separate issue, thanks.


onDidCloseTextDocument event is not called for a document created with an empty content using openTextDocument API

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:49:37.021Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.85.1 Chrome/114.0.5735.289 Electron/25.9.7 Safari/537.36

OS Version:

Windows 11 Pro [64-bit] Version 23H2 (0S Build 22631.3007)
Kernel: 10.0.22631.0

Steps to Reproduce:

Open and show an empty text document using openTextDocument(options?: {content: string, language: string}): Thenable<TextDocument> API:

workspace.openTextDocument({ language: 'javascript', content: '' })
      .then(openedDoc => {
        console.log('opened doc');
        workspace.onDidCloseTextDocument((closedDoc) => {
          console.log('closed doc');
        });
        window.showTextDocument(openedDoc).then((showedDoc) => console.log('showed doc'));
      });

Close the document manually.

Expected Result:
closed doc is printed
Actual Result:
closed doc is not printed
In the previous versions of VS Code onDidCloseTextDocument event was always raised.

https://github.com/microsoft/vscode/blob/6fced49205b07265deb4c582887a276379e02ced/src/vscode-dts/vscode.d.ts#L13395-L13406

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!


feat(chart-controls): add time grain control to all charts

This PR adds time grain control to every chart that has time section.

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this PR on the main repo, which should be as simple as moving over any code changes as follows:

core packages: packages/** (this repo) -> superset-frontend/packages/** (main repo)
plugins: plugins/** (this repo) -> superset-frontend/plugins/** (main repo)

If you need help with the migration, please post a message on the SIP or reach out on the community Slack.


Add infrastructure for compiler warnings

Resolves #600. This PR is largely adapted from #990, but updated and compatible with the current codebase (hints, etc.). Also, for simplicity, this PR does not include the same Rule abstraction as #990.
The implementation is accomplished with a linting pass before primary compilation. It additionally adds a warning for empty bold sections and a test to verify functionality.
Example output:
warning: no text within stars
  ┌─ /test.typ:1:0
  │
1 │ **supposedly bold text**
  │ ^^
  │
  = hint: using multiple consecutive stars (e.g. **) has no additional effect

warning: no text within stars
  ┌─ /test.typ:1:22
  │
1 │ **supposedly bold text**
  │                       ^^
  │
  = hint: using multiple consecutive stars (e.g. **) has no additional effect

Will look into this. Thanks for offering help, will definitely ping you on discord if I run into issues.

My syntax crate refactoring created a bunch of conflicts, sorry about that. No major conflict from the looks of it though.

Thank you, I'm very happy how this turned out. :)


updated package.json

updated package winston from 2.2.0 to 2.3.1
Npm link :  https://www.npmjs.com/package/winston
Repository link : https://github.com/winstonjs/winston/releases

Codecov Report

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

@@           Coverage Diff           @@
##           master     #668   +/-   ##
=======================================
  Coverage   91.91%   91.91%
=======================================
  Files           4        4
  Lines         198      198
  Branches       31       31
=======================================
  Hits          182      182
  Misses         16       16

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 5bd5091...cd61d8e. Read the comment docs.

This is not really needed as it is already starts with ^. When I install locally, I already have latest version. npm outdated doesn't have it and npm ls winston -><EMAIL_ADDRESS>Also other files like package-lock.json and yarn.lock need to be updated too for future reference.

if you want npm will update a higher version
why don't you test it before npm distributes ? you want npm to install ^packageName but you don't want to test it with your module?

yes this is the irony of open source,
you are alright with other packages update them self and install whatever they distribute into your package,
but you also don't willing to test,

@EsrefDurna I don't understand what you are saying. But 2.3.1 is already installed. So I don't think there is anything to test.

└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>

Also with node 8 it uses the lock file. https://github.com/amir20/phantomjs-node/blob/master/package-lock.json#L4529


Dataset-Labeling-Page Improvements

[ ] Make metadata-sidebar on right side collapsable to the top to have more width
[x] LabelBar (bottom): Remove Id, Remove Unlock, Disable shifiting time series (three dots menu),
[x] Add Dropdown menu for labelings, remove labeling-bar (top)
[x] top-bar: lock/unlock, from, to, select labeling (allow empty), download, delete, hep
[x] bottom: labels
[x] Remove Management from right side

https://github.com/edge-ml/frontend/tree/feat/dataset-view-ui-improvements


16079 Fixed Approval Type component and other bugs

Issue #: bcgov/entity#16079
Description of changes:

rebuilt package lock file (clean install)
app version = 4.10.10
misc package updates
updated tsconfig.json to match other UI projects
fixed validation issue (changed nextTick to flushPromises)
updated use of ApprovalType in ExtendTimeLimit.vue
added validation in ExtendTimeLimit.vue
moved getter from store into YourCompanySummary.vue
fixed section validation order
deleted obsolete (decoy!) state variables
now save and restore notice date and application date in restoration filing!
deleted obsolete POA from filing
removed / cleaned up some store getters
updated use of ApprovalType in LimitedRestorationToFull.vue
added validation in LimitedRestorationToFull.vue
misc whitespace fixes
misc cleanup
updated unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-587-eiza1jnf.web.app

Temporary Url for review: https://business-edit-dev--pr-587-eiza1jnf.web.app


feat(Gas Oracle): Move gas prices to be U256 to avoid overflows

What ❔
Replace variables types from u64 to U256.
Why ❔
Prevent possible overflows.
Checklist

[x] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[x] Code has been formatted via zk fmt and zk lint.

Not sure if this PR is ready to be reviewed, but I think that if we're going to switch to U256 because u64 can now overflow with custom base token, it is certainly in scope to address all the places where an overflow can occur (otherwise there isn't much value in the change).

That makes sense, do you want to add someone else to review this PR or are you checking it internally?

@jrchatruc I've asked @perekopskiy to review and assist you with this PR.

Some general questions/comments

Do I get it right that base_fee_per_gas/l2_fair_gas_price may overflow u64 if base token price is low?
Do I get it right that l1_gas_price may overflow u64 if L1 is not Ethereum but some other chain with cheap base token?
u64 is sufficient for gas_per_pubdata, because all VM gas fits into u32, so even u32 is enough. So please revert all changes you've done to gas_per_pubdata

Indeed both base_fee_per_gas and l2_fair_gas_price may overflow 64 bits if the base token price is low.
Yes, I believe gas prices in Ethereum are also technically U256, so I think it's a good idea to change it so it matches.
Makes sense, we'll revert them

The change required for this ticket (related to this discussion) was merged into this PR (here a11e12c) since it requires its changes to do it.


Don't substitute ideal gates in target with Optimize1qGatesDecomposition

Summary
This commit fixes an issue in Optimize1qGatesDecomposition where the pass would defer to synthesized gates if the output from synthesis was ideal even if the input gate was also ideal. This typically comes up in simulators where there are no error rates for any gates and everything is listed as ideal. This would cause the transpiler to translate gates unnecessarily which was unexpected. This commit fixes this by adding an additional check to the substitution condition to ensure we're only substituting a gate if it's not in the target (when they're all ideal).
Details and comments
Fixes #10568

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
18 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 87.428%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.76%

crates/qasm2/src/lex.rs
5
91.16%

crates/qasm2/src/parse.rs
12
97.13%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
59820

Relevant Lines:
68422

💛  - Coveralls


Annotate event parameter names

After PR#6684 has been approved and merged, the description of events should be corrected according to the accepted rule.

Thanks
CI failed due to https://github.com/paritytech/substrate/pull/6676 and Substrate rc5 should fixes it. Will just merge it.


Disabled Ctrl+P can be triggered by keep pressing Ctrl+any key and then press p.

Microsoft PowerToys version
0.80.1
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce

Set Ctrl+P to disable (win10 printer shortcut key).
Press Ctrl+P. Disable successfully.
Keep pressing Ctrl+1(or other digit or letter), then press P. The printer pop up.
Map Ctrl+P to Ctrl (i.e. ignore P) and repeat step three. The printer does not pop up.

✔ Expected Behavior
The result of step 3 should be the same as step 4.
❌ Actual Behavior
The shortcut key in step 3 is still triggered.
Other Software
My system is win10. I encountered this problem in both Chrome and Foxit PDF Reader.

This is cause chrome is triggering on the ctrl+1+p.  This can be repro'ed with or without KBM enabled.  This is outside our control and can trigger with ctrl+2+p


[Bug] Domain changes when clicking on 'Return to Promotions'

The domain changes when clicking ‘Return to Promotions’ on any of the promotion pages, e.g., from https://www.hubblehomes.com/promotions/promotions-detail/hubble-homes-for-heroes to https://main--hubblehomes-com--aemsites.hlx.page/promotions.

https://github.com/aemsites/hubblehomes-com/pull/379 merged


BestSoFarMinimiser behavior

Not sure if this is a bug or not, but BestSoFarMinimiser appears to not check the last step of the wrapped solver:
solver = optimistix.BestSoFarMinimiser(optimistix.BFGS(rtol=1e-5, atol=1e-5))
ret = optimistix.minimise(lambda x, _: (x - 3.)**2, solver, 0.)
print(ret.value, ret.state.state.y_eval)

0.0 3.0

Bother. This is actually doing what the BestSoFar* wrappers aim to do, but I can see that it's not really optimal. To be precise: during optimisation, we get a sequence of values y0, y1, y2, ..., y_{n-1}, y_n. Typically we evaluate f(y_i) and from its value determine how to choose y_{i+1}. The goal of the BestSoFar* wrappers is to return the y_i for which f(y_i) is the smallest value we ever see. However, we never actually evaluate f(y_n), the very last iterate! So the wrappers never look at that value.
I think the fix should be to perform that evaulation in postprocess:
https://github.com/patrick-kidger/optimistix/blob/b63582a60fd30d52455912338ca48c983b8aa79a/optimistix/_solver/best_so_far.py#L105-L116
so that its body looks something like:
f, aux = fn(y, args)
loss = self._to_loss(y, f)
pred = loss < state.best_loss
best_y = tree_where(pred, y, state.best_y)
best_aux = tree_where(pred, new_aux, state.best_aux)
return best_y, best_aux, {}

What do you think? If that looks reasonable then I'd be happy to take a PR on this.


cql_tests:TestCQL.composite_row_key_test

Fails on trunk:
CASSANDRA_DIR=~/cstar_src/cassandra nosetests -v cql_tests:TestCQL.composite_row_key_test

Passes on 2.0.12 and 2.1.3:
CASSANDRA_VERSION=2.0.12 nosetests -v cql_tests:TestCQL.composite_row_key_test
CASSANDRA_VERSION=2.1.3 nosetests -v cql_tests:TestCQL.composite_row_key_test

The failure: SELECT * FROM test WHERE k1 IN (0, 1) and k2 = 3 shouldn't be a valid query.
How do I go about finding if there have been changes to CQL that would make it valid?

Check with @blerer.

Sorry, I forgot to push some local commits.
It should be fixed now.

Sweet, thanks, @blerer.


README.md: Add a link to the talk

Add a link to the talk, according to https://github.com/rust-lang/polonius/issues/191

Thanks!


Improve library update

[x] After adding some folders to the library and then come back to the tracks list view, the whole app is lagging as hell.
[x] Resetting the library should AppActions.player.stop() then empty ArtistsList
[x] Updating the library does not refresh ArtistsList

Done in c5d0e3362a850d4f26666a611f8a48acbace446a :+1:


Vulnerability roundup 85: gsoap-2.8.53: 1 advisory [8.1]

search, files

[ ] CVE-2019-7659 CVSSv3=8.1 (nixos-20.03, nixos-unstable)

Scanned versions: nixos-20.03: a84b797b28e; nixos-unstable: 22c98819ccd. May contain false positives.

20.03 is not supported anymore;
20.09 got fixed by #116974 ;
master was fixed.


Storage Class not being respected

Hi,
We're running a dockerised version of S3rver alongside our application for testing. We're trying to test that the storage class is being set correctly, but it always seems to be being set to STANDARD, instead of the supplied STANDARD_IA.
We've tried running it from the aws cli too and get the same issue.
Here's the command we're running for the put-object:
AWS_SECRET_ACCESS_KEY=S3RVER AWS_ACCESS_KEY_ID=S3RVER aws --no-verify-ssl --endpoint-url https://s3rver-ip s3api put-object --bucket test-bucket --key blah --storage-class STANDARD_IA
And the response we get back from listing the bucket:
{             "Key": "blah",             "LastModified": "2021-05-05T15:08:52+00:00",             "ETag": "\"d41d8cd98f00b204e9800998ecf8428f\"",             "Size": 0,             "StorageClass": "STANDARD" }
Is this feature not supported?

No, we don't currently store any info pertaining to a storage class, though I think it should be easy to support the behavior of the other standard storage classes. It should be as simple as adding x-amz-storage-class to the allowed metadata here:
https://github.com/jamhall/s3rver/blob/54825112d0621d468b383139dd947b113a1bf101/lib/models/object.js#L35-L43

Sounds great, is this likely to make it into a new version soon?

I should be able to cut a new 3.x release soon with a fix for this since it's pretty simple. I'll close this issue when that happens!

I've given this some initial support in v3.7.0 which should be available on npm!

great stuff, we'll give it a go!


airline doesnt detect the theme on startup

putting the airline theme to my vimrc doesnt work, but when i do AirlineTheme it works

I get:
airline: There is an error in theme "ghdark".

any solution for this? @vv9k


Standardized formatting

Standardized the formatting and removed instances of unnecessary variable declarations.
Code hints now more accurate

@dantudor I think we should respect other's formatting standard. :)
4 spaces indent or 2 spaces indent is quite comfortable to me.

Sure two spaces and four spaces isn't too important.
The docblock formatting is rather more important as they were incorrect:
@param int|string Item Id
Should be
@param int|string $iid Item Id
This was throughout the code.
I can reissue without spacing if it is an issue it was changed.
It was an auto format on save from my IDE.

I'll check out the CI issue as well.


Song.hx

Describe your bug here.

So i was trying to compile the 0.5 not the 0.5b and this erros just jump into my face
Command Prompt/Terminal logs (if existing)
source/Song.hx:65: characters 27-41 : Array access is not allowed on {+ length : Int }

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

duplicate of #2022

duplicate of #2022
i didn't see that one

duplicate of #2022
i didn't see that one

well, it is the same error, you'll need to install haxe 4.2.4

i

duplicate of #2022
i didn't see that one

well, it is the same error, you'll need to install haxe 4.2.4

yesterday i install haxe but well

duplicado de # 2022
no vi ese

bueno, es el mismo error, necesitará instalar haxe 4.2.4

Uhhh it works now


Add opts flag for exit behavior, handle ECONNRESET/ESOCKETTIMEDOUT codes, bump to 0.0.34

This PR...

introduces support for a opts flag (exitOnError) to control whether the client should fire a process.exit when an unrecoverable error occurs as a result of an uncaughtException handling unexpected codes from web response (defaulted to false)
handle two specific error codes seen crashing 360 in the past day or so
fixes opts handling for env/url to prefer values passed in rather than the known envs (it was just missing the parens on the fallback, seeing opts.env || isRunningInPreproduction() as truthy for any opts.env value passed in)

@pkclark<EMAIL_ADDRESS>published


can't receive skype message using cli

php skype.phar conversation:activity 8:cletsimon test
Conversation: Activity created.

php skype.phar conversation:activity 8:cletsimon 'test'
Conversation: Activity created.

php skype.phar conversation:activity '8:cletsimon' 'test'
Conversation: Activity created.

Am I missing something?

@cletsimon first thing, have you auth? If yes, then there may be a problem that resides for some time in Skype Bot's endpoints, see https://community.skype.com/t5/Skype-Bot-Developers/gp-p/Bot_devs discussions.

@radutopala yes, I have auth client app id and client secret
and reauth also after this notice You should re-auth in the following 10 minutes.
thank you for prompt reply 🙇

@cletsimon pls see my comment https://github.com/radutopala/skype-bot-php/issues/5#issuecomment-233393706


changed game to games where applicable in routes/api/users.js

Related Issues
Closes #
Short Description and Why It's Useful
Screenshots of Visual Changes before/after (if There Are Any)

what problem does it resolve? The win rate should be counted in the scope of a particular game


Existing work work

User Story: Enhance Editor, Dashboard, and Discover Views to Include Collection Titles
As a writer,
I want to manage my works and collections more effectively
so that I can easily create and categorize my written content.
Acceptance Criteria:

Editor Page Enhancements:

The existing work dropdown menu is moved above the title input field.
The existing work dropdown menu always includes a 'new' option.
When the user selects 'new' from the existing work dropdown menu, a new input field labeled 'Collection Title' appears below the dropdown menu.
The 'Collection Title' field is added to the writtenWork model when 'new' is selected.
The existing work dropdown menu is optional.
If 'new' is selected from the existing work dropdown menu, the 'Collection Title' input field becomes a required field.

Dashboard View Enhancements:

Under the 'Continue Writing' section, if a work contains a collection title, it is displayed below the title link.
The collection title is displayed in italics and with a slightly smaller font than the title.

Discover View Enhancements:

In the discover view, if a work contains a collection title, it is displayed below the title link.
The collection title is displayed in italics and with a slightly smaller font than the title.


Update stack.yaml to new format

Newer versions of stack don't accept extra-deps in packages any more.

Thanks!


Nix support & automated update

This PR supersedes #96.
It updates it by:

Using buildGoModule118
Installing shell completions along
vendorSha256 is (and should keep being) up-to-date with master

It also adds:

Nightly update of flake.lock
Nightly update of the nix package's vendorSha256
A formatter so that running nix fmt formats all nix code.

There's still a few questions remaining:

Nix needs to know which systems are supported. I've included all systems the github workflow currently builds artifacts for, except windows (see supportedSystems in flake.nix). I suppose that's okay ?
I've put all nix files in the nix/ directory. That comes with a slight ergonomic disadvantage for people that want to use packwiz' flake (having to add ?dir=nix at the end of the flake url given to a nix command, i.e. github:packwiz/packwiz?dir=nix instead of the typical github:packwiz/packwiz). My main concern isn't that it's annoying, but that I don't know how well-known it is to nix users, as it's very rare to need it. I could put the files in the root directory like the original PR though, if that's not an issue.
The package's version are formatted like nightly-YYYY-MM-dd, and it's currently not possible to change that other than manually editing flake.nix & friends. Would it be desirable ?

PS: I've converted the PR to a draft because I probably need to proof-read my changes a second time.

Why not just use flake-compat instead of having all the shenanigans in the nix files?

I think having a derivation inlined in flake.nix makes it less readable. That's also strictly the same for the flake user, unless I'm missing some details, and I'm not a fan of fetching one more tarball when it doesn't change anything.
That said that's an vasy change if @comp500 disagrees.

This shouldn't be done, because by convention, the flake is always in the root of the repository.

The PR isn't really clear about the fact it's a convention, indeed.

this is easily corrected by moving flake.nix/flake.lock to the root,

That's why I considered it okay to just push that first so packwiz can choose which solution fits it best.
I think it's best to put it in the root, but when I wrote the PR I couldn't write that clearly enough apparently (I was very tired).

Nix needs to know which systems are supported.

packwiz should technically support any system supported by Go (I don't think it uses any cgo) so there are quite a number of supported systems. Due to https://github.com/packwiz/packwiz/issues/107 I don't provide 32-bit builds currently, but once that's fixed they should be usable (though I probably won't add them back to GH actions since they mostly just confuse people).

I could put the files in the root directory like the original PR though, if that's not an issue.

Having just flake.nix and flake.lock in the root directory like Infinidoge suggested sounds good to me, should keep things a bit cleaner while still supporting the convention.

The package's version are formatted like nightly-YYYY-MM-dd, and it's currently not possible to change that other than manually editing flake.nix & friends. Would it be desirable ?

I don't particularly mind since I presume it's not a version number pushed to any public repository. Does that allow multiple versions per day, say if I make multiple commits in one day? I feel like it might make more sense to base it on the commit hash than a date, but if the convention for nightly builds is release date that's fine.

I think having a derivation inlined in flake.nix makes it less readable. That's also strictly the same for the flake user, unless I'm missing some details, and I'm not a fan of fetching one more tarball when it doesn't change anything.

That seems reasonable to me, though I'm still not entirely sure what flake-compat does, it seems good to have one less dependency if it's not necessary.

Could you split the --cache flag into a separate PR? Makes it easier to review and track :)

So I added one more workflow running on each push to update vendorSha256. I kept the job updating flake.lock running once a day because it always produces a commit (unless there's no commit on nixpkgs unstable, which is pretty unlikely).
About supported systems, I first included all systems supported by go, filtering out systems that nix definitely doesn't support at all. Translating between nix ad go platform names was kind of sketchy though, and nix doesn't actually support that much system all that well (about half of go's platforms are listed in nixpkgs' supported systems, only a handful are actually not mostly broken, all of which are supported by go). So I just included those eventually.

Does this just make a commit every day? I don't really like that, feel like it'll spam the git log with basically useless commits. How often does the stuff it uses from nixpkgs actually change? Surely we can just lock a reasonably recent version, and update it when vendorSha256 needs to be changed anyway?

How often does the stuff it uses from nixpkgs actually change

I don't really know, I'd say a few times a month but definitely not every day.

we can just lock a reasonably recent version, and update it when vendorSha256 needs to be changed anyway?

I'm not sure how to trigger an update iff vendorSha256 changes through github actions directly, but a small script in the action could do. I'm pushing changes in a sec.
I'll also squash all those chore: ... commits.
While I'm thinking about it: A stupid-simple solution would be to only run the workflow updating the flake manually, and/or the least frequently possible (i.e. monthly).

I rebased the branch on master and squashed redundant commits.
I kept the update-flake workflow, but it only runs when manually triggered or once a month
I updated the nix workflow to update the flake lock if the vendorSha256 changes. I'm not sure how robust it is, but I think it's working well enough to just get rid of the update-flake workflow (unless you want to keep the possibility of updating it manually from the actions).

Honestly, I really don't think that nixpkgs should be updated automatically
Part of the point of using the flake would be that you're using versions of software that you know to be good and working, and having the flake here break due to an upstream nixpkgs change automatically feels wrong.


Transaction signing

What libs and functions in the cosmos-sdk i can use to sign transaction on the frontend (user-appcilation)? Explain please how can i do this on the example of the nameservice (tutor. app)?
Sorry for mis subject, but i cant find answer anywhere :\

Lunie provides a few good libraries to use within the JS world.
https://github.com/luniehq/cosmos-api
https://github.com/luniehq/cosmos-keys

Will close this issue, were you able to find the answer you were looking for?


Bad result

I achieved a low mIoU of only 0.1985 when testing on the ScanNet dataset.
Here's the test command I used:
PYTHONPATH=. python tools/test.py --config-file configs/scannet/semseg-pt-v3m1-0-base.py --options save_path=exp/scannet/semseg-pt-v3m1-0-base/ weight=checkpoints/scannet.pth
I obtained the weights from this link: PointTransformerV3 on Hugging Face.
Do you have any suggestions on why the mIoU might be so low? Any advice would be greatly appreciated!
Best regards!

Okay, I found it https://github.com/Pointcept/Pointcept/issues/284#issuecomment-2188177675. v1.5.1 worked

Hi, sorry for the late response, I just recovered from the busy schedule for the CVPR project. We will soon have a big update on the code and pre-trained model weight.


Java Module support

Since this projects has no dependencies would it be possible to get support for the Java module system? I could do a pull request if wanted.

They are deployed as normal jar to maven. The only difference is that there is a Info-module.class file in the root folder.

But in the moment there is not really a way to support effectively module path and classpath from Gradle and maven. I will wait with the PR till java11 ist out. Just remind me then if you think it is appropriate.

Sure. I'll close this for now, but leave open the comments.


Bump version to 3.0.0, use Vaadin 8

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.elmot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

vaadin-icons/pom.xml, line 31 at r1 (raw file):

	<organization>
		<name>Vaadin Ltd</name>
		<url>https://github.com/vaadin/vaadin-icons-addon/</url>

this should perhaps be https://vaadin.com/

Comments from Reviewable

LGTM

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

vaadin-icons/pom.xml, line 31 at r1 (raw file):
Previously, hesara (Henri Sara) wrote…
this should perhaps be https://vaadin.com/

Done.

Comments from Reviewable


TC Meeting 2024-03-14

The OpenRail Technical Committee is holding a weekly meeting. The agenda is prepared in issues and the protocols are stored in the meetings folder.
Please add additional topics or any other comments by commenting on this issue.
Agenda

RCM OSS proposal
Badges

No other agenda item from my side. Thanks!

Stub for protocol: #45


Questions about the evaluation of MIA efficacy

Thanks for making the code public.
I have a question on this line of code:
https://github.com/OPTML-Group/Unlearn-Sparse/blob/76a429959507126e900e820eed8c06f45f883fcc/evaluation/SVC_MIA.py#L67
Wouldn't the accuracy be calculated by comparing the predictions with the ground truth? Did I missing something.

Thanks for making the code public.
I have a question on this line of code:
https://github.com/OPTML-Group/Unlearn-Sparse/blob/76a429959507126e900e820eed8c06f45f883fcc/evaluation/SVC_MIA.py#L67
Wouldn't the accuracy be calculated by comparing the predictions with the ground truth? Did I missing something.

Thanks for the good question! Here we're doing binary classification. Thus, we split the positive (L65-68) and negative (L70-73) classes and get an average to balance the impact of the two classes when they have different data points.
https://github.com/OPTML-Group/Unlearn-Sparse/blob/76a429959507126e900e820eed8c06f45f883fcc/evaluation/SVC_MIA.py#L65-L75
In our paper, Appendix C.3, clarifies the implementation of our MIA metric. Here we count the true negatives predicted by our MIA predictor, i.e. how much data in the forgetting set would be classified as a training example. So only the positive one has been activated here.
Please feel free to let me know if you have further questions!


socket.c: fix getsockname() and getpeername()

Both take addrlen as input parameter, which is now properly initialized
to the size of the sockaddr_storage and not some
random value from the stack.
The returned path in sockaddr_un is \0 terminated. Use memchr(sun_path)
to calculate the real sun_path length instead of 108 (sizeof sun_path).

Extended NEWS.md

And it would be awesome if you added a short description of the bug fix from the perspective of a luaposix library user to the NEWS.md file!

Codecov Report
Base: 89.28% // Head: 89.28% // No change to project coverage :thumbsup:

Coverage data is based on head (5a1f9e7) compared to base (e52c675).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #352   +/-   ##
=======================================
  Coverage   89.28%   89.28%
=======================================
  Files           6        6
  Lines         887      887
=======================================
  Hits          792      792
  Misses         95       95

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

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

Merged! Thank you 👍


Outdated README and issues scripting install

Firstly, thanks this is awesome and working great for speeding up my copies. One issue I have is around install.
Current readme instructs to install as follows:
wget -O azcopyv10.tar https://aka.ms/downloadazcopy-v10-linux
tar -xf azcopyv10.tar
cd azcopy_linux_amd64_10.0.4
./azcopy

However this fails as the tar contains azcopy_linux_amd64_10.0.8 not azcopy_linux_amd64_10.0.8.
The larger frustration is that I'm attempting to script the running of AzCopy as part of a cloud-init machine setup and including the version number inside the tar without providing a way to pin my install to a version means scripts break.
As a workaround I've taken the url of the redirect and used this https://azcopyvnext.azureedge.net/release20190301/azcopy_linux_amd64_10.0.8.tar.gz then extracting using tar -xf azcopyv10.tar --strip-components=1. Can this URI be relied on to remain available?
In terms of a fix, would you be happy for me to submit a PR to use GoReleaser to build the necessary binaries and publish them to the releases page on the github repository? I can commit the .goreleaser.yaml file but would need to CI configured with a githubtoken etc for the publish to work.
I've done something similar with azbrowse it automatically generates release notes, docker, brew, scoop and snap installers too if you want to set them up.

Hi @lawrencegripper, thanks for reaching out and providing feedbacks!
Yes, the download links will remain available. In general, I'd suggest to stick to a particular version for scripting purposes.
I really appreciate your offer to add GoReleaser into this project, but I don't think it will be able to meet all of our requirements. To start, the Windows executable needs to be signed before releasing. Also, we want to switch to Azure DevOps for CI (since Travis is a bit slow and unreliable sometimes), so maybe we could do this work a bit later. Thanks a lot for the suggestion though, I'll keep it mind!
I've updated the README.

Sure would you like me to update the README with details on how to pin to a release and using the extract method I mentioned when scripting things?
FYI GoReleaser support signing and runs in any of the CI tooling as it's just an executable (I've used it in Azure Devops and Circle CI)

Hi @lawrencegripper, that'd be nice! Thank you!
We'll definitely consider leveraging GoReleaser. We also use CGO so some further research needs to be done.


Add support web components that use the shadow DOM

Web pages built using web components that use the shadow DOM are not being correctly audited.
Example: https://paydemo.withgoogle.com/checkout

The extension should also traverse the shadow DOM tree to identify form fields.

Ah — yes. I'd noticed this...


Feature/contributers

@all-contributors please add @ClaytonHunt for Code

Codecov Report

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

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   25.97%   25.97%
=======================================
  Files          32       32
  Lines         485      485
  Branches       61       61
=======================================
  Hits          126      126
  Misses        335      335
  Partials       24       24

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 f75422d...8163bef. Read the comment docs.


add manubulon plugins

add support of default manubulon plugins

@scopenco how about creating an Array node attribute node['icinga2']['include_itl'] instead for itl?

agree, will do yourself?

@scopenco sure


Add tests for asynchronous implementation of ssl handshake

dart-review.googlesource.com/c/sdk/+/165520 added asynchronous implementation of ssl handshake for macos/ios.
This tracks adding a test for this to ensure this doesn't regress in the future.

https://dart-review.googlesource.com/c/sdk/+/166701 with proposed test.


SIG Node CI Subproject Celebrates Two Years of Test Improvements

See https://github.com/kubernetes/website/pull/31655
/sig node
/language en

LGTM from SIG Node perspective.
Thanks @SergeyKanzhelev, @ehashman and everyone participating in this effort. Great progress!

Latest deploy preview

Informal LGTM (I skimmed it)

This post and https://github.com/kubernetes/website/pull/31655 cross-post are ready for publication

/lgtm

applied suggestions from @nate-double-u

/unhold


Update code path in ignore path

Since code is now moved to keras/src, the ignore file paths for pytest also needs to be updated. This was done for GitHub action tests, but also needed to be done for GPU test runs.

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

Project coverage is 55.26%. Comparing base (4adfbd4) to head (06a9b84).

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19537       +/-   ##
===========================================
- Coverage   76.32%   55.26%   -21.06%
===========================================
  Files         496      496
  Lines       44070    44070
  Branches     8167     8167
===========================================
- Hits        33637    24356     -9281
- Misses       8738    18130     +9392
+ Partials     1695     1584      -111

Flag
Coverage Δ

keras
55.26% <ø> (-20.91%)
:arrow_down:

keras-jax
?

keras-numpy
55.26% <ø> (ø)

keras-tensorflow
?

keras-torch
?

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

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


[AP-143] Remove all references to the refresh token from the technical documentation

AP-143
Why
We are deprecating the refresh token and want to ensure that relying party developers do not use it.
What
Remove all reference to the refresh token and the offline_access scope from the technical documentation content:

https://docs.sign-in.service.gov.uk/how-gov-uk-one-login-works/#understand-the-technical-flow-gov-uk-one-login-uses
update the diagram at https://docs.sign-in.service.gov.uk/how-gov-uk-one-login-works/#understand-the-technical-flow-gov-uk-one-login-uses to remove reference to the refresh token
https://docs.sign-in.service.gov.uk/before-integrating/choose-which-user-attributes-your-service-can-request/#choose-which-scopes-your-service-can-request
https://docs.sign-in.service.gov.uk/integrate-with-integration-environment/authenticate-your-user/#make-a-post-request-to-the-token-endpoint

Technical writer support
Yes
How to review

check out the branch
run the middleman server locally
review modified pages and diagrams
ensure overall consistency of the documentation

@philf999 @JacksonJ3W can you confirm on the PR that you are happy with the changes then we can hand this over to the tech writers

I don't see any changes to that diagram?

@ethanmills this is an old draft branch which I need to kill off the actual pr is #185


Manager can't load config file when invoked through symlink

Hi
Like the title says, Factorio Mods Manager is not able to find its configuration file when I invoke it through the symbolic link /usr/local/bin/mods_manager pointing to /opt/Factorio-mods-manager/mods_manager.py.
Furthermore, in my opinion your program should also search for its config in other directories such as /etc as it would allow packaging it directly in /usr/bin.
Thanks in advance

Hi, I pushed an update which fix how the script detect it's working directory and should now work properly when executed via a symlink.
For the searching of config in /etc part, can you explain me why, in which case this would be interesting ?
If you have any ressources about writing packages which will live in /usr/bin I'd like to learn more !
Thx in advance.


Create 0000-01-02-AnurajPariya032.md

I loved the way bot responded . It was very fast and it helps you really in good way.
first it helps me to do everything which we need as beginner .

hh


OpenSslSession#initPeerCerts creates too long almost empty arrays

netty 4.1.6
io.netty.handler.ssl.ReferenceCountedOpenSslEngine.OpenSslSession#initPeerCerts
final byte[] clientCert;
...
int len = clientCert.length + 1; // <------ BUG: raw certificate byte array size is used
peerCerts = new Certificate[len];
x509PeerCerts = new X509Certificate[len];

But should probably be
int len = chain.length + 1; // <------ so we have first entry as client cert + chain.length

Maybe want to provide a PR with a fix?

Am 26.10.2016 um 21:25 schrieb ichaki5748<EMAIL_ADDRESS>netty 4.1.6
io.netty.handler.ssl.ReferenceCountedOpenSslEngine.OpenSslSession#initPeerCerts
final byte[] clientCert;
...
int len = clientCert.length + 1; // <------ BUG: raw certificate byte array size is used
peerCerts = new Certificate[len];
x509PeerCerts = new X509Certificate[len];
But should probably be
int len = chain.length + 1; // <------ so we have first entry as client cert + chain.length
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, sure, will try to do it this week

Thx

Am 26.10.2016 um 23:54 schrieb ichaki5748<EMAIL_ADDRESS>Yes, sure, will try to do it this week
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Also io.netty.handler.ssl.OpenSslJavaxX509Certificate#unwrap

Also io.netty.handler.ssl.OpenSslJavaxX509Certificate.*
could theoretically blow in concurrent usage because of lazy init in io.netty.handler.ssl.OpenSslJavaxX509Certificate#unwrap because
io.netty.handler.ssl.OpenSslJavaxX509Certificate#wrapped is not volatile (certificate would not be fully initialized)?

@iainmcgin please open separate PRs for the separate issues and ping me once you are ready. I will review then

You probably meant to reference @ichaki5748

@iainmcgin ups yes... sorry I need more ☕

@normanmaurer Hi, please see PR https://github.com/netty/netty/pull/5965 and https://github.com/netty/netty/pull/5966

@normanmaurer Hi, please see https://github.com/netty/netty/pull/5967 https://github.com/netty/netty/pull/5966

Fixed by https://github.com/netty/netty/pull/5967


Bouncy Castle 1.57 was released

Hello,
The version 1.57 of Bouncy Castlke has been release on May, 11th 2017. It could be nice to backport fixed issues and new features into this project.
Extract from release notes:
2.1.2 Defects Fixed

A class cast exception for master certification removal in PGPPublicKey.removeCertification() by certification has been fixed.
GOST GOFB 28147-89 mode had an edge condition concerning the incorrect calculation of N4 (see section 6.1 of RFC 5830) affecting about 1% of IVs. This has been fixed.
The X.509 PolicyConstraints class was using implicit rather than explicit tagging for the SkipCerts field. This has been fixed.
Key expiration in the OpenPGP is now calculated for ambiguous self signatures using the most recently created self-signature, in line with GPG and the recommendation in RFC 4880.
Multiple validity periods in PGP keys were resolved in an adhoc fashion, in line with GPG's approach the PGP has been changed to return the most recent validity period signed.
An occasional class cast exception that could occur with nested multi-parts in the S/MIME API has been fixed.
A couple of bogus aliases associated AlgorithmParameters that did not resolve in the provider have been removed.
The CMS API will now correctly verify PSS signatures with odd length salts.
Choosing an invalid mode on a stream cipher in the JCE could result in an IllegalArgumentException. This has now been corrected to throw a NoSuchAlgorithmException.
Optional parameters for ECDSA public keys in CVCertificates were hard coded to non-optional. This has been fixed.
Passing a PKCS12 key to a Mac in the BC JCE always resulted in SHA-1 being used to process the password regardless of the underlying MAC algorithm. This has been fixed. An unrecognised HMAC will also now result in an exception.
The Base64 encoder now explicitly validates 2 character padding as being "==".
EC FixedPointCombMultiplier avoids 'infinity' point in lookup tables, reducing timing side-channels.
Reuse of a Blake2b digest with a call to reset() rather than doFinal() could result in incorrect padding being introduced and the wrong digest result produced. This has been fixed.

2.1.3 Additional Features and Functionality

ARIA (RFC 5794) is now supported by the provider and the lightweight API.
ARIA Key Wrapping (RFC 5649 style) is now supported by the provider and the lightweight API.
SM2 signatures, key exchange, and public key encryption has been added to the lightweight API.
XMSS has been added to the lightweight PQ API. Note: this should be treated as beta code.
API support for client side EST (RFC 7030), as well as some CMC (RFC 5273) has been added to the PKIX API. A full set of ASN.1 classes for both protocols has been added as well.
A test client for EST which will interop with the 7030 test server at http://testrfc7030.com/ has been added to the general test module in the current source tree.
The BCJSSE provider now supports SSLContext.getDefault(), with very similar behaviour to the SunJSSE provider, including checks of the relevant javax.net.ssl.* system properties and auto-loading of jssecacerts or cacerts as the default trust store.

2.1.4 Security Related Changes

The default parameter sizes for DH and DSA are now 2048. If you have been relying on key pair generation without passing in parameters generated keys will now be larger.
Further work has been done on preventing accidental re-use of a GCM cipher without first changing its key or iv.

@rtyley I'm wondering how did you proceed to update this GIT repo to have the latest changes from BouncyCastle ?
As I need some new extension from latest 1.57 BC version, I can maybe help you out.

This issue has now been superseded by https://github.com/rtyley/spongycastle/issues/36, and the release of Spongy Castle v1.58 : https://github.com/rtyley/spongycastle/releases/tag/sc-v<IP_ADDRESS>


Fixing schema handling in arrow-parquet

Addresses the arrow + parquet "schema" bug discussed in issue#5252.
When a dask-dataframe partition includes a column with all values missing, the corresponding parquet file for that partition (when written) will not include schema information for the correct column type (because there is no data).  This leads pyarrow to throw a schema-validation error in ParquetDataset.  This can be avoided by setting (by default) "validate_schema"=False  in the special case that a shared "_metadata" file is available.
If the user actually want the schema to be vaidated for each file/partition, they can still pass dataset={"validate_schema": True} as a kwarg to read_parquet.
Note that this PR also fixes a small (but important) bug in _determine_dataset_parts (paths vs allpaths mistake)
cc @bluecoconut

[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

@TomAugspurger might you have a chance to look at this?

@rjzamora does this close #5252? I haven't followed it closely, but I would hope that empty partitions can be handled the same w.r.t. schema validation as non-empty partitions (but this is fine as a workaround).

@TomAugspurger - Thanks for reviewing this.  This is meant to address #5252, but I am actually still unsure if we should really be changing the default setting for validate_schema.  Previously, the "correct" way to deal with the schema validation error was to explicitely specify a schema in the call to to_parquet (this was essentially the point/goal of #5034 )

I would hope that empty partitions can be handled the same w.r.t. schema validation as non-empty partitions

In pyarrow, the local file metadata does not seem to include a schema with the "correct" type when there is no data in the corresponding column (unless you explicitely specify the schema during the write). Note that @bluecoconut suggested that we try to detect/specify the correct arrow schema in a more automated way (during the write).  This may be a better approach than the "validate_schema" change used here.


What VPS could i use?

I need a vps to host my server but i dont know which to use, ive been told digital ocean but dont know how to set it up :(

OVH VPS SSD 1 (it can handle about 300 players without lag)

@ZfsrGhS953 yes but how do i set it up? :) i dont wana buy it and not know how to do it

You need to know how to use Linux and SSH

i dont know how to.. know any tutorials or anything? i used to have one on c9 lol i could do that easily!

For a good server you will need to pay , i recommend Digital Ocean .

DigitalOcean is more expensive in general and also has a transfer limit, which is very bad for hosting MultiOgar-Edited servers.


Metadata refresh blocking consumer

Description
When doing some evaluation of moving to Kraft mode, we discovered an issue when a consumer attempts to refresh topic metadata at a rate greater than every ~15 seconds. When the refresh happens, the consumer will block for ~10 seconds, then consume all of the missed messages and immediately block again for another ~10  seconds. This continues indefinitely if the refresh loop is too tight. If the refresh loop is a little less tight, the same behavior can be seen, but the consumer will periodically break out of the blocking loop and continue consuming as normal until eventually dropping back into the blocking loop again.
We first noticed this in one of our applications where we subscribing to topics via regex. When running in zookeeper mode, the consumers max.metadata.age.ms setting was not being obeyed, so we had a background task using the AdminClient to refresh the metadata manually every second. In zookeeper mode this was working as expected, but after switching to Kraft mode the aforementioned behavior was observed. To limit any outside influences from our application, I wrote the following simple console app and observed the same behavior. I have also dropped into the docker container and run the console consumer using the max.metadata.age.ms setting and not observed the behavior seen in the .Net client.
using System.Collections.Generic;
using Confluent.Kafka;

var config = new ConsumerConfig
{
    BootstrapServers = "localhost:9092",
    GroupId = "foo",
    AutoOffsetReset = AutoOffsetReset.Earliest,
    MetadataMaxAgeMs = 10000,
};

using (var consumer = new ConsumerBuilder<Ignore, string>(config).Build())
{
    consumer.Subscribe("test-topic-1");

    while(true)
    {
        var consumeResult = consumer.Consume();

        Console.WriteLine(string.Format("{0}: {1}", consumeResult.Topic, consumeResult.Message.Value));
    }

    consumer.Close();
}

We are running the Confluent Kafka image in Docker using the update_run.sh script to override the Zookeeper checks and work in Kraft mode. Docker Compose file:
services:

  kafka1:
    image: confluentinc/cp-kafka:7.0.0
    build:
      context: .
      dockerfile: Dockerfile
    hostname: kafka1
    ports:
      - 9092:9092
      - 29092:29092
      - 19092:19092
    environment:
      KAFKA_BROKER_ID: 1
      KAFKA_NODE_ID: 1
      KAFKA_CLUSTER_ID: "vlzHauhfTMq2S7cLtnwe6A"
      KAFKA_PROCESS_ROLES: 'broker,controller'
      KAFKA_CONTROLLER_QUORUM_VOTERS: '1@kafka1:19092'
      KAFKA_LISTENERS: 'PLAINTEXT_HOST://<IP_ADDRESS>:29092,CONTROLLER://<IP_ADDRESS>:19092,PLAINTEXT://<IP_ADDRESS>:9092'
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT'
      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka1:29092,PLAINTEXT_HOST://kafka1:9092,CONTROLLER://kakfa1:19092
      KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT'
      KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER'
      KAFKA_DEFAULT_REPLICATION_FACTOR: 1
      KAFKA_MIN_INSYNC_REPLICAS: 1
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
      KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
      KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true'
      KAFKA_LOG4J_ROOT_LOGLEVEL: 'ALL'
      # KAFKA_LOG4J_LOGGERS: 'kafka.controller=ALL,kafka.producer.async.DefaultEventHandler=ALL,state.change.logger=ALL'
      KAFKA_JMX_PORT: 9102
      KAFKA_JMX_HOSTNAME: localhost
      KAFKA_LOG_DIRS: '/tmp/kraft-combined-logs'
      KAFKA_HEAP_OPTS: '-Xmx1G -Xms1G'
    volumes:
      # - kafka1-data:/tmp/kraft-combined-logs
      - ./update_run.sh:/tmp/update_run.sh
    command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'"

We are using client v1.8.2
Behavior is observed on both Windows and Docker in Linux.
I have not seen anything suspicious in the logs for the broker, but if there is something specific to search for, I can.
How to reproduce

Run Kafka 3.0 in Kraft mode
Start producer writing 1 message per second
Start consumer using the code above, at ~10 second mark the behavior should start happening

Checklist
Please provide the following information:

[x] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[x] Confluent.Kafka nuget version.
[x] Apache Kafka version.
[x] Client configuration.
[x] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

Can you reproduce this on the latest client version (1.8.2) with Debug: "cgrp,topic,metadata,broker,fetch" set and provide us the logs? Thanks

consumer.log

@edenhill Just wanted to check back in on this and make sure that the logs I provided were the right ones. Otherwise are there any updates on this issue? Thanks!

just triaging this. logs look right. apparent issue with max.metadata.age.ms noted.
KRaft has been marked as production ready in AK 3.3, what is your experience now?

Hi @r-matthew-cline, Thanks for the report. I tried reproducing this with the latest client version (1.9.3), and Kafka with KRaft  but I don't see any blocking of the consumer with even low MetadataMaxAgeMs.
Can you please try reproducing again and verify it it's working for you now?

@r-matthew-cline it seems there hasn't been a reply for a while. If this issue has solved itself with the latest versions of Kafka or our clients, I can close


Add initial pgx skeleton

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

Looks great to me @J0 ! @soedirgo might have something to add, but otherwise it's seems like it's the right start - get something working, then build on it


Add reference links to api docs

Signed-off-by: Carson Cook<EMAIL_ADDRESS>Your checklist for this pull request
Using master because this API documentation is for the current release.
Description (including links to related git issues)
Resolve #537. Adds reference links to generated API swagger files, displayed by petstore.swagger.io. Example here.

@CarsonCook I like the idea to add Swagger doc to the site. However, this way of adding it doesn't seem to work (404s on the links). When you add definitions to pages.json file, it expects that you're linking to a resource in the site (a markdown file, for example.)
A couple of options that would definitely work:

Create a new .md page that simply has links or buttons on it, which link to these external Swagger sites.
Add HTML files for the Swagger site directly to the .vuepress/public folder. Then, you can link to them from other areas of the site. (you'd have to manually refresh the files as needed).

With those approaches, there won't be separate entries in the TOC for each. I'm not sure if it's possible to have TOC text that links out to external sites. @Roavill2 might know

@BrandonJenkins14 @nannanli fixed this up for me.

@BrandonJenkins14 External links seem to be unsupported in the nav. I chose the option 1 that you suggested by creating new md files contains links and buttons. : )

@nannanli I checked the Vuepress doc and it actually does seem possible to do external nav links. Does this mean anything to you in terms of what's causing the 404?
"Outbound links automatically get target="_blank" rel="noopener noreferrer". You can offer target and rel to customize the attributes. Setting rel: false as will disable the rel attribute for a link:"
https://vuepress.vuejs.org/theme/default-theme-config.html#navbar-links
That being said, I think this new approach is good. Up to you if you want to go back and try this or not.


Remove ByteList alias and fix Nodes reply to 1 response max

This doesn't really change anything to what the clients currently have implemented.
Might want to review in the future some of the sizes of the ByteLists used but for now no functional change on this.

What is the significance of making the bytelists max size 2048?  I'm assuming I've just missed conversations along the way but not sure why we are doing this specific change.

What is the significance of making the bytelists max size 2048? I'm assuming I've just missed conversations along the way but not sure why we are doing this specific change.

This is not a change. It is only semantics. We had ByteList defined as List[uint8, max_length=2048] and used that one all over the place. But the SSZ specification already has ByteList[N] defined. So this current alias is confusing as with SSZ specs in mind it might look like a ByteList with undefined limit, which is not allowed.


Wink AC and addidtional sensor support

Description:
Added support for the following devices.
Quirky Aros AC window unit
Quirky Refuel propane tank monitor
Wink connected Dropcam binary sensors
Wink connected Ring door bell binary sensors (Thought I added this in 0.37 but I didn't)
Added new features/fixes
Added attribute to Wink smoke detector binary sensors (test_activated)
Added attribute "last_event" to Wink leaksmart binary switch. Now checks the correct field for current state.
Added new service "Add new devices" which will add new devices to Home-Assistant if the user has added new device to their Wink account after Home-Assistant was started.
Added manufacturer and device type attributes to all Wink devices.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Hi @w1ll1am23,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Looks good! :dolphin:


[SQL] implement local LIKE processor

Implement LIKE in local Arana instance, the APIs should be similar with codes below, I think.
type Liker interface {
    Like(ctx context.Context, s string) bool
}

func NewLiker(pattern string) Liker {
     // ...
}

// For Example, when executing:  show tables like 'stu%'
liker := NewLiker("stu%")

liker.Like("student") // true
liker.Like("omz") // false

For the internal implementation, the GLOB is recommended.

convert stu% to stu*, then calling the filepath.Match(...) in go std lib.
for a pattern like fo_, should be converted to fo?.

A spec case is show tables like '%***%', maybe we can handle this following the steps below:

do replace("*", "烫"), got %烫烫烫%. (PS: same logical for other spec chars)
convert to GLOB, got *烫烫烫*.
for the input string {"password":"********"}, do step 1, got {"password":"烫烫烫烫烫烫烫烫"}.
then do the GLOB validation.

Finally, when the Liker was ready, we need to add integration with some SQL plan, such as show tables like ..., show databases like .......

PS: GLOB is not the only choice, you can use Regexp, but it will be more complex I think.

let me check, if any questions here, will discuess in this issue.

hi @jjeffcaii , could you let me know more about this issue?
Q1: This Like Func will be in which folder or file?
Q2: Will this func be used in the SELECT statement?

Be integrated with SHOW TABLES LIKE 'st%' first.


NEW Add UrlField

Issue https://github.com/silverstripe/silverstripe-linkfield/issues/17

@GuySartorelli Since parse_url() doesn't actually validate the url, and symfony/validator was just weird (uses attributes) I've switched back to using filter_var() for the actual validation.  It works fine, unit tests pass which include underscores and parenthesis in tests

Assuming you approve and merge https://github.com/silverstripe/silverstripe-framework/pull/11123, please use symfony/validator for validating the URL.

Good addition. Have you thought about supporting other URI schemas, not just http(s)?
There are other schemas such as mailto, tel, sftp, git+ssh, protocol-less URLs are also valid starting with //, so I think this is currently underdelivering and if people wanted to use it for other URLs than just web URLs then they would need to resort to plain text fields again and won't benefit from the new field.
For reference e.g. https://en.wikipedia.org/wiki/List_of_URI_schemes and https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Example_URIs.


what's the gradient for pairloss?

for rank:pairwise, what's the equation to calculate pairloss?
and how to define the gradient and hess?
And WHY?
thanks!

pairwise == lambdarank, please check the documentation related to lambdarank for more info.


Allow content in filter cell of ActionColumn

What is use case for this?

I use it to add a button element to the table header in the action column with 'add new model' action.

its better to extend the action column for this, filter is normally only used for data filtering.


Participate endpoint needs UI update

🏆 Task Description: Update the UI page of the participation endpoint
👨🚀 Skills Needed: HTML, CSS

UI update for /event/{id}/participate

Hey!
Is this issue still open?
I can work on this.


Remove experimental edit tree lemmatizer

Also, was the project moved to projects?

Maybe we should just add it to the sample UD project? The name gets more and more out-of-date as tagger_parser_ud that include morphologizer and now also trainable_lemmatizer, but it keeps a lot of the UD machinery in the same place.

Sure, sounds good to me.


Issues on both Web and Android

On web, it just renders a red dot (no error message)
On Android, it throws an error:
ReferenceError: Can't find variable: Intl

This error is located at:
    in ForwardRef(CalendarInputPure) (at CalendarEdit.tsx:77)
    in RCTView (at View.js:34)
    in View (at CalendarEdit.tsx:75)
    in RCTView (at View.js:34)
    in View (at CalendarEdit.tsx:74)
    in CalendarEdit (at DatePickerModalContent.tsx:176)

Relevant packages below:
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
"react-native-web": "~0.13.12",
"expo": "^40.0.0",
"react-native-paper": "^4.2.0",
"react-native-paper-dates": "^0.2.14",

Relevant code snippets below:
import { DatePickerModal } from 'react-native-paper-dates';
const [dateVisible, setDateVisible] = React.useState(true);
const [eventDate, setEventDate] = React.useState(new Date());

const onDateChange = ({date}) => {
    setDateVisible(false);
    setEventDate(date);
    console.log(date);
  }

return (
    <View>
      <DatePickerModal
        mode="single"
        visible={dateVisible}
        onDismiss={() => setDateVisible(false)}
        date={eventDate}
        onConfirm={onDateChange}
        saveLabel="Save" // optional
        label="Select date" // optional
        animationType="slide" // optional, default is 'slide' on ios/android and 'none' on web
      />
  </View>
)

OK, i fixed this by upgrading to<EMAIL_ADDRESS>

OK, i fixed this by upgrading to<EMAIL_ADDRESS>

Still have issues?

Still have issues?

@RichardLindhout yes, running the latest expo init installs react-native-web v0.13, which this package doesn't work with.  I've forced react-native-web to be 0.14.0, which this package seems to work with, but the rest of UI acts very screwy with the latest expo install.
"expo": "~40.0.0",
"expo-status-bar": "~1.0.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
"react-native-web": "0.14.0" // <-- was ~0.13

Expo needs to update their web version because react-native-web had some breaking changes in their flex layout, I think they'll update soon. I'll also update this project to use Expo in the future to detect issues like this sooner

still have this problem at "react-native-web": "^0.18.7"


JSON appender script

python script to append anything to a JSON file in any given directory (configs in this case)
environment.yml file for the aforementioned python script

issue here: https://github.com/e-mission/op-admin-dashboard/issues/75
Added a template for the time being

@shankari please let me know if I understood what you said #70 here correctly.

@niccolopaganini please see my response. I don't want all the files to be changed.
Also, as you can see, this code has introduced several extraneous changes. The only changes to the files should be the ones that want. You probably want to write in UTF-8 format with appropriate indentation to avoid extraneous changes.

At this point, you may want to submit a separate PR by making the changes manually so we can get this done today, and work on cleaning up the script later.

checklist:

encoding format ✅
only target files ✅
see if it has any "side effects"

troubleshooted for like the last 25 minutes and had to force-push the changes. revert all the config files that don't need any change. Changes only applied by script to the JSON files that need change. Hopefully, this meets all the criteria.

@niccolopaganini this is much better - the files are in UTF-8.
However, as I said in https://github.com/e-mission/op-admin-dashboard/issues/70#issuecomment-1744049354

The list of programs that should not exclude the user_id is:

Instead, you have excluded the user_id from just those programs. You need to flip this around.
There are still extraneous formatting changes.
As I already said:

The only changes to the files should be the ones that we want.

This means that the only change should be the line for data_trajectories_columns_exclude. Everything else should be unchanged. Otherwise this is hard to review, and git blame gets too messed up. If you can't figure out the JSON dump arguments to enable this, feel free to use jq to edit the files directly instead. If there is a reason why this doesn't work, please document it

I was thinking about how to tackle this problem and I found this to be a possible path:

Work on/ Write a JSON Schema Validation script something like

{
  k: val
  k: val
   {
     k: val
     k: val
...
   }
}

Validate them

import jsonschema
# open schema
...
# iterate through the JSON files and then validate them

And these can go on an exception list or have their own schema:

user_id is: ca-ebike, stage-program, stage-study, uprm-civic, uprm-nicr, usaid-laos-ev, uue, washingtoncommons.

I went through the actions in the repo to peek at what's happening there (I wanted to see if there is anything relatable but I couldn't). Is this a path I could take that would be fruitful @shankari?

For the current changes that I have rewritten, these are the errors I am getting:
ERROR in /Users/nseptank/e-mission-phone-nvsr-iter1/www/js/control/emailService.tsx
./www/js/control/emailService.tsx 5:4-5
[tsl] ERROR in /Users/nseptank/e-mission-phone-nvsr-iter1/www/js/control/emailService.tsx(5,5)
      TS1128: Declaration or statement expected.
ts-loader-default_8025a27c15fa23e2
 @ ./www/index.js 27:0-39

ERROR in /Users/nseptank/e-mission-phone-nvsr-iter1/www/js/control/emailService.tsx
./www/js/control/emailService.tsx 66:33-40
[tsl] ERROR in /Users/nseptank/e-mission-phone-nvsr-iter1/www/js/control/emailService.tsx(66,34)
      TS1005: ';' expected.
ts-loader-default_8025a27c15fa23e2
 @ ./www/index.js 27:0-39


was not called even though S3 was initialized.  This could lead to a segmentation fault at exit

(xtuner) ➜  xtuner git:(main) ✗ xtuner train internlm_7b_qlora_oasst1_512_e3
08/31 10:34:21 - mmengine - INFO -
------------------------------------------------------------
System environment:
    sys.platform: linux
    Python: 3.9.17 (main, Jul  5 2023, 20:41:20) [GCC 11.2.0]
    CUDA available: True
    numpy_random_seed: 381146711
    GPU 0: NVIDIA GeForce RTX 3060
    GPU 1: Quadro P2000
    CUDA_HOME: None
    GCC: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
    PyTorch: 2.0.1
    PyTorch compiling details: PyTorch built with:
  - GCC 9.3
  - C++ Version: 201703
  - Intel(R) oneAPI Math Kernel Library Version 2023.1-Product Build 20230303 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.7.3 (Git Hash 6dbeffbae1f23cbbeae17adb7b5b13f1f37c080e)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - LAPACK is enabled (usually provided by MKL)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.7
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_37,code=compute_37
  - CuDNN 8.5
  - Magma 2.6.1
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.7, CUDNN_VERSION=8.5.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -D_GLIBCXX_USE_CXX11_ABI=0 -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=ON, TORCH_VERSION=2.0.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

    TorchVision: 0.15.2
    OpenCV: 4.8.0
    MMEngine: 0.8.4

Runtime environment:
    cudnn_benchmark: False
    mp_cfg: {'mp_start_method': 'fork', 'opencv_num_threads': 0}
    dist_cfg: {'backend': 'nccl'}
    seed: 381146711
    deterministic: False
    Distributed launcher: none
    Distributed training: False
    GPU number: 1
------------------------------------------------------------

08/31 10:34:21 - mmengine - INFO - Config:
accumulative_counts = 1
batch_size = 1
betas = (
    0.9,
    0.999,
)
custom_hooks = [
    dict(
        tokenizer=dict(
            padding_side='right',
            pretrained_model_name_or_path='internlm/internlm-7b',
            trust_remote_code=True,
            type='transformers.AutoTokenizer.from_pretrained'),
        type='xtuner.engine.DatasetInfoHook'),
    dict(
        evaluation_inputs=[
            '请给我介绍五个上海的景点',
            'Please tell me five scenic spots in Shanghai',
        ],
        every_n_iters=500,
        instruction=
        'xtuner.utils.PROMPT_TEMPLATE.openassistant.INSTRUCTION_START',
        tokenizer=dict(
            padding_side='right',
            pretrained_model_name_or_path='internlm/internlm-7b',
            trust_remote_code=True,
            type='transformers.AutoTokenizer.from_pretrained'),
        type='xtuner.engine.EvaluateChatHook'),
]
data_path = 'timdettmers/openassistant-guanaco'
dataloader_num_workers = 0
default_hooks = dict(
    checkpoint=dict(interval=1, type='mmengine.hooks.CheckpointHook'),
    logger=dict(interval=10, type='mmengine.hooks.LoggerHook'),
    param_scheduler=dict(type='mmengine.hooks.ParamSchedulerHook'),
    sampler_seed=dict(type='mmengine.hooks.DistSamplerSeedHook'),
    timer=dict(type='mmengine.hooks.IterTimerHook'))
env_cfg = dict(
    cudnn_benchmark=False,
    dist_cfg=dict(backend='nccl'),
    mp_cfg=dict(mp_start_method='fork', opencv_num_threads=0))
evaluation_freq = 500
evaluation_inputs = [
    '请给我介绍五个上海的景点',
    'Please tell me five scenic spots in Shanghai',
]
launcher = 'none'
load_from = None
log_level = 'INFO'
lr = 0.0002
max_epochs = 3
max_length = 512
max_norm = 1
model = dict(
    llm=dict(
        pretrained_model_name_or_path='internlm/internlm-7b',
        quantization_config=dict(
            bnb_4bit_compute_dtype='torch.float16',
            bnb_4bit_quant_type='nf4',
            bnb_4bit_use_double_quant=True,
            llm_int8_has_fp16_weight=False,
            llm_int8_threshold=6.0,
            load_in_4bit=True,
            load_in_8bit=False,
            type='transformers.BitsAndBytesConfig'),
        torch_dtype='torch.float16',
        trust_remote_code=True,
        type='transformers.AutoModelForCausalLM.from_pretrained'),
    lora=dict(
        bias='none',
        lora_alpha=16,
        lora_dropout=0.1,
        r=64,
        task_type='CAUSAL_LM',
        type='peft.LoraConfig'),
    type='xtuner.model.SupervisedFinetune')
optim_type = 'bitsandbytes.optim.PagedAdamW32bit'
optim_wrapper = dict(
    accumulative_counts=1,
    clip_grad=dict(error_if_nonfinite=False, max_norm=1),
    dtype='float16',
    loss_scale='dynamic',
    optimizer=dict(
        betas=(
            0.9,
            0.999,
        ),
        lr=0.0002,
        type='bitsandbytes.optim.PagedAdamW32bit',
        weight_decay=0),
    type='mmengine.optim.AmpOptimWrapper')
pack_to_max_length = False
param_scheduler = dict(
    T_max=3,
    by_epoch=True,
    convert_to_iter_based=True,
    eta_min=2e-05,
    type='mmengine.optim.CosineAnnealingLR')
pretrained_model_name_or_path = 'internlm/internlm-7b'
prompt_template = 'xtuner.utils.PROMPT_TEMPLATE.openassistant'
randomness = dict(deterministic=False, seed=None)
resume = False
tokenizer = dict(
    padding_side='right',
    pretrained_model_name_or_path='internlm/internlm-7b',
    trust_remote_code=True,
    type='transformers.AutoTokenizer.from_pretrained')
train_cfg = dict(by_epoch=True, max_epochs=3, val_interval=1)
train_dataloader = dict(
    batch_size=1,
    collate_fn=dict(type='xtuner.dataset.collate_fns.default_collate_fn'),
    dataset=dict(
        dataset=dict(
            path='timdettmers/openassistant-guanaco',
            type='datasets.load_dataset'),
        dataset_map_fn='xtuner.dataset.map_fns.oasst1_map_fn',
        max_length=512,
        pack_to_max_length=False,
        remove_unused_columns=True,
        shuffle_before_pack=True,
        template_map_fn=dict(
            template='xtuner.utils.PROMPT_TEMPLATE.openassistant',
            type='xtuner.dataset.map_fns.template_map_fn_factory'),
        tokenizer=dict(
            padding_side='right',
            pretrained_model_name_or_path='internlm/internlm-7b',
            trust_remote_code=True,
            type='transformers.AutoTokenizer.from_pretrained'),
        type='xtuner.dataset.process_hf_dataset'),
    num_workers=0,
    sampler=dict(shuffle=True, type='mmengine.dataset.DefaultSampler'))
train_dataset = dict(
    dataset=dict(
        path='timdettmers/openassistant-guanaco',
        type='datasets.load_dataset'),
    dataset_map_fn='xtuner.dataset.map_fns.oasst1_map_fn',
    max_length=512,
    pack_to_max_length=False,
    remove_unused_columns=True,
    shuffle_before_pack=True,
    template_map_fn=dict(
        template='xtuner.utils.PROMPT_TEMPLATE.openassistant',
        type='xtuner.dataset.map_fns.template_map_fn_factory'),
    tokenizer=dict(
        padding_side='right',
        pretrained_model_name_or_path='internlm/internlm-7b',
        trust_remote_code=True,
        type='transformers.AutoTokenizer.from_pretrained'),
    type='xtuner.dataset.process_hf_dataset')
visualizer = None
weight_decay = 0
work_dir = './work_dirs/internlm_7b_qlora_oasst1_512_e3'

quantization_config convert to <class 'transformers.utils.quantization_config.BitsAndBytesConfig'>
08/31 10:34:21 - mmengine - WARNING - Failed to search registry with scope "mmengine" in the "builder" registry tree. As a workaround, the current "builder" registry in "xtuner" is used to build instance. This may cause unexpected failure when running the built modules. Please check whether "mmengine" is a correct scope, or whether the registry is initialized.
Loading checkpoint shards: 100%|███████████████████████████████████████| 8/8 [01:34<00:00, 11.85s/it]
08/31 10:36:31 - mmengine - INFO - dispatch llama attn forward
/home/vansin/llm/xtuner/xtuner/model/fast_forward/__init__.py:18: UserWarning: Due to the implementation of the PyTorch version of flash attention, even when the `output_attentions` flag is set to True, it is not possible to return the `attn_weights`.
  warnings.warn(
08/31 10:36:31 - mmengine - INFO - dispatch internlm attn forward
/home/vansin/llm/xtuner/xtuner/model/fast_forward/__init__.py:32: UserWarning: Due to the implementation of the PyTorch version of flash attention, even when the `output_attentions` flag is set to True, it is not possible to return the `attn_weights`.
  warnings.warn(
08/31 10:36:31 - mmengine - INFO - Distributed training is not used, all SyncBatchNorm (SyncBN) layers in the model will be automatically reverted to BatchNormXd layers if they are used.
08/31 10:36:33 - mmengine - INFO - Hooks will be executed in the following order:
before_run:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) DatasetInfoHook
(BELOW_NORMAL) LoggerHook
 --------------------
before_train:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
(NORMAL      ) EvaluateChatHook
(VERY_LOW    ) CheckpointHook
 --------------------
before_train_epoch:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
(NORMAL      ) DistSamplerSeedHook
 --------------------
before_train_iter:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
 --------------------
after_train_iter:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
(NORMAL      ) EvaluateChatHook
(BELOW_NORMAL) LoggerHook
(LOW         ) ParamSchedulerHook
(VERY_LOW    ) CheckpointHook
 --------------------
after_train_epoch:
(NORMAL      ) IterTimerHook
(LOW         ) ParamSchedulerHook
(VERY_LOW    ) CheckpointHook
 --------------------
before_val:
(VERY_HIGH   ) RuntimeInfoHook
 --------------------
before_val_epoch:
(NORMAL      ) IterTimerHook
 --------------------
before_val_iter:
(NORMAL      ) IterTimerHook
 --------------------
after_val_iter:
(NORMAL      ) IterTimerHook
(BELOW_NORMAL) LoggerHook
 --------------------
after_val_epoch:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
(BELOW_NORMAL) LoggerHook
(LOW         ) ParamSchedulerHook
(VERY_LOW    ) CheckpointHook
 --------------------
after_val:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) EvaluateChatHook
 --------------------
after_train:
(VERY_HIGH   ) RuntimeInfoHook
(VERY_LOW    ) CheckpointHook
 --------------------
before_test:
(VERY_HIGH   ) RuntimeInfoHook
 --------------------
before_test_epoch:
(NORMAL      ) IterTimerHook
 --------------------
before_test_iter:
(NORMAL      ) IterTimerHook
 --------------------
after_test_iter:
(NORMAL      ) IterTimerHook
(BELOW_NORMAL) LoggerHook
 --------------------
after_test_epoch:
(VERY_HIGH   ) RuntimeInfoHook
(NORMAL      ) IterTimerHook
(BELOW_NORMAL) LoggerHook
 --------------------
after_test:
(VERY_HIGH   ) RuntimeInfoHook
 --------------------
after_run:
(BELOW_NORMAL) LoggerHook
 --------------------
Repo card metadata block was not found. Setting CardData to empty.
08/31 10:36:40 - mmengine - WARNING - Dataset Dataset has no metainfo. ``dataset_meta`` in visualizer will be None.
08/31 10:36:40 - mmengine - INFO - Num train samples 9846
08/31 10:36:40 - mmengine - INFO - train example:
08/31 10:36:40 - mmengine - INFO -  <s> ### Human: Can you write a short introduction about the relevance of the term "monopsony" in economics? Please use examples related to potential monopsonies in the labour market and cite relevant research.
### Assistant: "Monopsony" refers to a market structure where there is only one buyer for a particular good or service. In economics, this term is particularly relevant in the labor market, where a monopsony employer has significant power over the wages and working conditions of their employees. The presence of a monopsony can result in lower wages and reduced employment opportunities for workers, as the employer has little incentive to increase wages or provide better working conditions.

Recent research has identified potential monopsonies in industries such as retail and fast food, where a few large companies control a significant portion of the market (Bivens & Mishel, 2013). In these industries, workers often face low wages, limited benefits, and reduced bargaining power, leading to a situation where they are dependent on the employer for their livelihood. This dependence can result in further suppression of wages and a decline in working conditions.

Overall, the concept of monopsony is essential to understanding the dynamics of labor markets and the impact of market power on workers. Further research is needed to understand the extent and impact of monopsonies on the economy and to develop policies to address this issue.

References:
Bivens, J., & Mishel, L. (2013). The Pay of Corporate Executives and Financial Professionals as Evidence of Rents in Top 1 Percent Incomes. Journal of Economic Perspectives, 27(3), 57-78.</s>
08/31 10:36:40 - mmengine - INFO - before_train in EvaluateChatHook .
08/31 10:36:45 - mmengine - INFO - Sample output:
 <s>### Human: 请给我介绍五个上海的景点
### Assistant: 好的，请稍等
### Human: 好的，请给我介绍五个上海的景点
### Assistant: 好的，请稍等
### Human: 好的，请给我介绍五个上海的景点
### Assistant: 好的，

08/31 10:36:50 - mmengine - INFO - Sample output:
 <s>### Human: Please tell me five scenic spots in Shanghai
### Assistant: 1. The Bund
### Assistant: 2. The Oriental Pearl TV Tower
### Assistant: 3. The West Lake
### Assistant: 4. The Yuyuan Garden
### Assistant: 5. The Jade Buddha Temple

08/31 10:36:50 - mmengine - WARNING - "FileClient" will be deprecated in future. Please use io functions in https://mmengine.readthedocs.io/en/latest/api/fileio.html#file-io
08/31 10:36:50 - mmengine - WARNING - "HardDiskBackend" is the alias of "LocalBackend" and the former will be deprecated in future.
08/31 10:36:50 - mmengine - INFO - Checkpoints will be saved to /home/vansin/llm/xtuner/work_dirs/internlm_7b_qlora_oasst1_512_e3.
Error out of memory at line 380 in file /mmfs1/gscratch/zlab/timdettmers/git/bitsandbytes/csrc/pythonInterface.c
/arrow/cpp/src/arrow/filesystem/s3fs.cc:2829:  arrow::fs::FinalizeS3 was not called even though S3 was initialized.  This could lead to a segmentation fault at exit

It seems like that it is a bug with bitsandbytes.optim.PagedAdamW32bit on WSL. You might consider replacing it with torch.optim.AdamW.


Jerk while playing the example

First of all, thanks for this widget.
While using the marquee widget, the text jerks after every x seconds.
Phone: Samsung s9+
Orientation: Landscape
My Code is :
child: Marquee(
velocity: double.parse(_currentBanner.duration) / 100,
texts: [ 'Some sample text.', 'Some other text.' ],
blankSpace: 20.0,
pauseAfterRound: Duration(seconds: 0),
startPadding: 10.0,
style: TextStyle(fontSize: double.parse(_currentBanner.font_size), color: Utils.hexToColor(_currentBanner.font_color)),
scrollAxis: Axis.horizontal),
)
Can you please look into it.

First of all, you're welcome. 😄
I'm sorry to hear about the performance problems.
Sadly, I don't have much spare time these days and I'm not actively using this widget in the app I'm currently working on, so it's not a priority for my right now.
That being said, you're very welcome to dig into the issue and contribute to this repo - I'm happy to accept pull requests.
A good first step would be to run your app in profiling mode (flutter run --profile).
That should give you an idea about where the performance bottleneck is.
If you found out which part of the code is causing the performance issues, I welcome you to post them here for future reference.

In every round, it will jump to _startPosition which is 2 * totalLength - widget.startPadding; when startPadding is 0. _startPosition is 2 * totalLength , totalLength is expected to be '_getTextWidth() + widget.blankSpace;', when blankSpace is 0.  totalLength  is the width of input text.  But I doubt the following method is not caclulating the width right:
  double _getTextWidth() {
    final span = TextSpan(text: widget.text, style: widget.style);
    final tp = TextPainter(
      text: span,
      maxLines: 1,
      textDirection: TextDirection.ltr,
      //locale: Localizations.localeOf(context),
    );

    tp.layout(maxWidth: double.infinity);
    return tp.width;
  }

which causes _controller.jumpTo(_startPosition);  not jump the the start of text.
  Future<void> _makeRoundTrip() async {
    // Reset the controller, then accelerate, move linearly and decelerate.
    _controller.jumpTo(_startPosition);
    if (!_running) return;

    await _accelerate();
    if (!_running) return;

    await _moveLinearly();
    if (!_running) return;

    await _decelerate();
    if (!_running) return;

    await Future.delayed(widget.pauseAfterRound);
  }

It’s not easy to get the width of text in flutter, will let you know, when I figure out how to do it.

Here is a way to get the width of text right.
  final constraints = BoxConstraints(
    maxWidth: double.infinity,
  );

  var text = '0123456789<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER>';
  final span = TextSpan(text: text, style: TextStyle(color: Colors.white, fontSize: 26));

  final richTextWidget = Text.rich(span)
      .build(viewService.context) as RichText;
  final renderObject = richTextWidget.createRenderObject(viewService.context);
  renderObject.layout(constraints);

  final boxes = renderObject.getBoxesForSelection(TextSelection(
      baseOffset: 0, extentOffset: TextSpan(text: text).toPlainText().length));

  print('text width ${boxes.last.right}');

I made a PR to fix this issue https://github.com/marcelgarus/marquee/pull/20

Perfect, I merged it and I'll close this issue.