Align reactivity support for Collection interfaces.

Depends on droolsjbpm/drools#1033 .

Test Result (1 failure / +1)
org.kie.server.integrationtests.common.rest.RestMalformedRequestIntegrationTest.testCreateContainerNonExistingGAV2[JAXB]

Jenkins, test again :8ball:

IMO we really should not merge PRs until they are "green". Without successful build, we can't be sure if the PR won't break the build.

+1 for this, without build results we can't asses the impact as well.

I agree but in this case the modification of all commits in the PR are affecting just the kie-maven-plugin
for bytecode instrumentation (with optional parameter to be set in order to "trigger" the feature) while the failed test:
org.kie.server.integrationtests.common.rest.RestMalformedRequestIntegrationTest.testCreateContainerNonExistingGAV2[JAXB]

is about the kie server.
The earlier commit a8f7ee3 is ticked green and subsequent d9688d1 is just a micro optimization pertaining the same scope (of the kie-maven-plugin) hence we agreed with @mariofusco to just merge anyway.

I disagree. If the test is failing, then it needs to be fixed regardless if this PR is causing the fail or not. If you don't know how to fix it, then contact someone who can. If it is randomly failing then it needs to be stabilized. If wee keep doing this, the tests will never get stabilized.


Enable compose

Made first attempt at making HTTPS be optional.
App appears to work but cookies are for sure not working.
Refreshes of page log the user out.
Updated webpack according to notes here: sass-loader.  I know nothing about sass or webpack so maybe more effort is needed.

these changes have each made their way in


feat: Cover some cases in abi tests

Greetings again, team. I have created the following pull request aiming to enhance the code coverage of the abi tests.
In this case it is not 100%, but other few lines remaining.

coverage: 92.381% (+1.1%) from 91.293% when pulling 7ead32a5ff6785fb43ca0a176a852f0dafd9938e on rodolfopietro97:increase-code-coverage-abi into b35914b5da547628895c627ab6b3abc72264ffef on vechain:master.


Refactoring redundant path

Summary
So, I refactored the WPF section and removed redundant URLs.
Contributes to #10653
cc @mairaw

@mairaw Should I continue refactoring other sections as well?

Can you make this an actual PR and not a draft PR so we can merge this? I think you can continue to refactor other sections too, but it's just better if we start a separate PR for them.


update benchmarks

Rename benchmark directory to benchmarks.
Use sample_two_positions_without_replacement in SingleRoomUndirected instead of sample_empty_position.
Update benchmarks.jl to add info about number of episodes and steps run for the random policy.
Update benchmarks.md.

Codecov Report

Merging #179 (cae1430) into master (98981d3) will decrease coverage by 0.64%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #179      +/-   ##
==========================================
- Coverage   62.08%   61.43%   -0.65%
==========================================
  Files          27       27
  Lines        2624     2624
==========================================
- Hits         1629     1612      -17
- Misses        995     1012      +17

Impacted Files
Coverage Δ

src/envs/single_room_undirected.jl
65.21% <100.00%> (ø)

src/envs/snake.jl
62.60% <0.00%> (-9.76%)
:arrow_down:

src/envs/catcher.jl
74.44% <0.00%> (-3.34%)
:arrow_down:

src/envs/dynamic_obstacles_undirected.jl
71.18% <0.00%> (-1.70%)
:arrow_down:

Continue to review full report at Codecov.

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


Better request retry strategy

Do not retry on non-network errors
Better retry strategy, extracted into reusable function
Include event loop retrying too

Working on it, no worries, bot.

Hello @borisyankov, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for a week. Are you still working on this issue?
If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 3 days.
If you've decided to work on something else, simply comment @zulipbot abandon so that someone else can claim it and continue from where you left off.
Thank you for your valuable contributions to Zulip!

The critical part of it is done. Moving to M6 for the rest.

We have a retry loop which has gone through several iterations since this was filed. Closing this issue, in favor of specific threads for any specific issues we identify with it.


Use new live watch module

From @joehand on January 24, 2017 20:3
mafintosh made a new module: https://github.com/mafintosh/recursive-watch. This module is better because it only uses one fd to watch all files in a recursive dir. The old module uses one per file.
The API and event types in recursive-watch are slightly different from https://github.com/paulmillr/chokidar. Live watching happens in https://github.com/juliangruber/hyperdrive-import-files.
TODO:

[ ] Update https://github.com/juliangruber/hyperdrive-import-files to use new live watch module.
[ ] Update dat-next with event changes

Copied from original issue: joehand/dat-next#96

From @karissa on January 24, 2017 23:29
https://github.com/juliangruber/hyperdrive-import-files/pull/44

Seeing some other issues trying to use recursive watch in OSX too.
I'm gonna ship with chokidar for now since it is well tested. A bit late in the process for me to spend a day debugging an untested file watching module.

From @karissa on January 25, 2017 18:47
+1!

Added in v13!


clean up and add ckpt tests

what this pr do:

clean up model/opt hash logging
add ckpt test using the hash logging
remove useless memory arguments

Nice! Why are we killing GPU memory monitor though?

the profiler is enough I think

yea never used it either haha


Feat/extract timespan

continuation of https://github.com/HelloChatterbox/lingua-nostra/pull/27

@coderabbitai review


CLI: proto: duplicate proto type registered: PluginSpec/PluginPrivilege

Not sure where else to report this issue, but I am getting this output on every command I run using the CLI on a fresh installation using the official Docker image.
0 shane@jammy [/home/shane]$ drone info
2023/07/25 22:52:12 proto: duplicate proto type registered: PluginSpec
2023/07/25 22:52:12 proto: duplicate proto type registered: PluginPrivilege
User: smashedr

If this is an invalid configuration on my part, I don't see anywhere in the setup docs on how to resolve it. Is there a solution to fix this?

Same here.

I also am seeing the same messages with a fresh install using the Docker image.

same here.


Evaulation of online requesting service

We want to know if the following change has improved the user experience
Online requesting
Definition of success is

Ability to request items online
Ability to obtain library membership sign in as a library member online

We'll know if we're succeeding if we measure the following metric and this happens
High percentage of:-

Successful requests/holds collected
Membership applications/confirmed memberships
Successful library member logins
3. Item now being held email/holds collected

Definition of failure is
Users unable to complete journey ending in picking up holds
Users unable to log into library accounts
We'll know if we're failing if we measure the following metric and this happens
Large numbers of:-

Users trying to log in but not getting to library account page
Users not understanding they need to confirm request
Requests/holds not collected without deleting requests

@DominiqueMarshall is this user journey still current? From discussions with @davidpmccormick ages ago, my understanding was that there would be no screen that announces to the user that their request has been successful. How will users know they are finished?

When a user makes a request, there should be a confirmation screen to tell them that it's been successful. Not having that confirmation message wouldn't make sense as, like you said, they wouldn't know whether the request has gone through or not. The last design I did for that is on zeplin here

Fab. Thank you!

@DominiqueMarshall success "funnel" duly updated.

Notion page documenting requesting and registration

Conversion metrics required:

User applies for library membership (pre-registration)
Pre-registration confirmed
Full library membership confirmed
User logs in successfully
User requests item
Request confirmed
Request successful
Item unavailable
Email sent, "Item ready for collection"
User collects request
Overdue notice

An important thing to note on this, with "> 9. Email sent, "Item ready for collection", this currently doesn't happen and is out of scope for now. They only know an item is available to collect if they check their library account or contact the library team to ask about it.

@DominiqueMarshall thanks for this. I am going to amend the metrics required with this in mind. Also @alicerichmond, as we do not want to aim to increase library membership, the metrics are going to start at 4.

Error messaging could definitely be included although a funnel works better if it is sequential. Numbers of error messages could still be tracked as separate metrics.
Here's a mock up of the Data Studio report:

Events that can be monitored by tagging as GA Event Category/Action/Label or by GA page view:

request item (button click on works page)
confirm request (button click on modal)
book ticket (button click on modal)
view library account (link click on different pages)
sign in (button on sign in page)
send password reset (button on reset-password page)

Evaluation

Question
Metrics

How many people are requesting items?
count of userId when request item button clicked

How many people are requesting items who are already library members?
sign in button on works page, create new account page

Evaluating login/account

Question
Metrics (in bold) and data (italics indicate data not included in above listing)

How many people are logging in initially (using header link) vs. being driven from works pages?
Number of sign ins: Kibana dashboard metric and time series - 1) view library account button after search (maybe source:works page?) and 2) view library account button after search (maybe source:non-works page?)

How is having login functionality / requesting increasing the number of memberships requested?
Kibana metric and time series: total number of new memberships, source:works page, cardinality by userId

What errors are people encountering and where are they struggling in the journey?

How many people are trying to cancel items they have reserved?

How often are people logging into their accounts?


Warn when a page uses a layout but no <NuxtLayout> is created

Following nuxt/nuxt#19388
It happens to me as well, since we have the app.vue, people can easily forget to add the <NuxtLayout>.
What if we have a variable to track if the NuxtLayout is instanciated (default to false and we set to true once created) and check if the project has layouts (including layers).

Hello, I'd love to have a go at this. Where would be the best place for this variable, does Nuxt have an internal store of some kind? Also, I presume we'd only like this warning to be during development, and excluded from a production build?

Yes, I think this should be a dev-only warning.
I think we could have a property we set on the nuxtApp itself in development, when a layout is loaded. And maybe a plugin which is added in dev mode, if there are layouts, which uses a hook (maybe page:finish or in onNuxtReady callback?) to check whether a layout was instantiated...

I've made a start in #24116. I still need to create the logic to detect the layouts, but the plugin and surrounding work is there.
I've placed the variable in nuxtApp.payload.isNuxtLayoutUsed, if there is a better place please let me know.
I got a warning about not being able to use import.meta.env outside of a module, but isDevelopment from 'std-env' worked and should have the same effect, so I've opted to use that instead. I hope that's ok?
Lastly, I attempted to use the consola logger from @nuxt/kit, rather than console.log but got a warning: "This module cannot be imported in the Vue part of your app."


Additional citation on the quasi-Monte Carlo method

You can cite this paper on the quasi-Monte Carlo method you used.
https://github.com/acerbilab/pybads/blob/1bee482a7b53526aa3acc177c10707c28490b7ea/pybads/init_functions/init_sobol.py#L2

Thank you, I just added the citation in the code.


TOSS-04-010000 - banner requirement update

The current requirement requires a node to have a login banner before a user is logged into it. This would not work for HPC systems because non-interactive login output needs to be clean; otherwise, services for users and admins will break. Could this be updated or should an exception be placed?

Just add the "not applicable" text from 010120

More discussion here - https://mattermost.energy.gov/lc-llnl/pl/qj4z3g6tcfyk7cyia9o3kimhdy


added boolean optional argument support

Improved the toml parsing so it supports BooleanOptionalAction arguments in it.
(also added tests for it ...)
[tool.pydocstringformatter]
write = false
style = ["numpydoc"]
strip-whitespaces = true  # <<<<<- previously unsupported
split-summary-body = false # <<<<<- previously unsupported
no-numpydoc-section-hyphen-length = true # <<<<<- previously unsupported

.... where should I document this?

This is the full doc on configuration: https://pydocstringformatter.readthedocs.io/en/latest/?badge=latest#configuration

Maybe we could autogenerate the full list of possible options with default values ?

I like that idea but it would not exemplify the use of 'no-xxxxx = true' style configs. ... Maybe also have comments showing the equivalent config on the negative form ??

I think the no-x style is only used in CLI (or should) this is given by the --help command so we don't need to document it imo'

The no- options are needed to disable default checks. I think they should indeed be shown as a comment in the example config.
For pylint we use tomlkit. This is one of the few parsers for toml that saves comments and style.
A solution where we initialise all options and then write a file with tomlkit would be nice.
Perhaps it would be even better if we could create a --create-config command so that we can also offer it as a cli
tool?

The no- options are needed to disable default checks

Isn't it possible to do x=false or no-x=true ?

The no- options are needed to disable default checks

Isn't it possible to do x=false or no-x=true ?

It depends on how we handle that in this PR. We could just disallow them completely as well?
What do you think makes most sense @jspaezp?

Hello there!
I thought about it for a while...
and I think the most consistent behavior would be to allow "--no" version. I really like the idea of the config being as close as possible to copy/pasting the command line arguments.
regarding: https://github.com/DanielNoord/pydocstringformatter/pull/166#issuecomment-1244981369

Isn't it possible to do x=false or no-x=true ?

its easy but not SUUUUPER EASY, just having to consider it robust to arguments that in the future might start with --no- but are not of the same "optional boolean" type.
I will add the mods to the readme in the meantime

I meant it's possible to do it as a user (so you should always be able to use simply 'x' which is simpler both for the user and for us). Imo we should not permit to use no-x in configuration, there's very little benefit and a lot of headaches to expect.

Alright, I added the enforcement of the positive form of the arguments (+testing, +updated readme, +informative error message).

Thanks once again @jspaezp 🎉 😄


Fix Swagger gen and update swagger

Background
Swagger gen has been broken for a while and current swagger that is being used has been outdated for a while. We should fix swagger gen as well as update swagger itself before v16.
Acceptance Criteria

Fix swagger gen command
Update swagger to follow most recent state

This has been finished


Bug ver 1.1.5 - Console spam and all lights off

Hello, with both 1.1.4 and 1.1.5 versions I'm getting the same bug apparently. All lights are off when I join the world, and console starts spamming this error:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
NoSmokeStayLit.NoSmokeStayLit+FireplaceIsBurning_Patch.Postfix (Fireplace __instance, System.Boolean& __result, UnityEngine.GameObject& ___m_enabledObjectHigh, ZNetView& ___m_nview) (at <e1b58e842ac54a7cab6b1a8702a204a6>:0)
(wrapper dynamic-method) Fireplace.DMD<Fireplace::IsBurning>(Fireplace)
(wrapper dynamic-method) Fireplace.DMD<Fireplace::UpdateFireplace>(Fireplace)

LogOutput.log

Let me take a look.  I don't personally use that portion of the mod but will run it tonight and see what I  can find.  Thanks for letting me know.

Honestly I worked with this for about an hour in every configuration and could not replicate the problem.  Try deleting the config file and letting the mod recreate the file.  This is clearly coming from the new code that take away the smoke for braziers but I cannot recreate the error on my side.  If deleting the file doesn't work for you let me know.  I will add and error catch that fix the problem permanently and post a new version this weekend.

NoSmokeStayLit.zip
Try this and see if it fixed your issue.  Unzip it and put the file in your plugin directory for BepInex

Hey! I tried what you first said (deleting the config file) and it actually worked, bruh, now I feel kinda bad for coming here when it was just that. I always thought that when I update a mod it recreates the config file automatically, so this thought didn't even cross my mind... But thank you for your time! Idk if it's still needed to test this new dll you sent, but if you want me to test it I will :)

Hey it's fine.  I am glad you got it fixed.  You don't have to test the dll.  I just added an error catch which should have been in there anyways.  I will probably update it soon with that change.  Thanks again and glad you are using my mod.


command not found when running pearai-submodule as Contributor

Describe the bug
I followed https://github.com/trypear/pearai-app/blob/main/CONTRIBUTING.md
When I run the pearai-submodule with Extension (VS Code)
And do CMD + L  I get error.

How to reproduce

Open pearai-app directory
./scripts/pearai/setup-environment.sh
./scripts/pearai/install-dependencies.sh
Open pearai-submodule in separate directory

Expected behavior
I expected PearAI to work perfectly, and CMD+L would open chat.
Screenshots

Additional information
I have Macbook Apple M3
Use Node v20.18.0
Python 3.11.1
Yarn 1.22.22
Have Git, Rust
And Xcode and Command Line Tools installed

On my windows it works for me.

Hey @Jaswir , on Macbook you must download the non-notarized version to run the submodule debugger: https://trypear.ai/docs/contributors


feat(dialog): implement <rh-dialog>

What I did

import and extend PfeModal
Add variant=video attribute
Add open boolean attr
Position and style close button per https://ux.redhat.com/components/modal/

Testing Instructions

deploy preview is available at https://deploy-preview-288--red-hat-design-system.netlify.app/components/dialog/
there are no regression tests or unit tests - yet

Notes to Reviewers

max-width of the dialog is set to min(90%, 1140px). the 1140px part is taken from the XD, the 90% part, I made up 🙈

specs on ux-dot say the dialog should have an overlay that is

black solid with opacity

Checking the provided graphic for video, the final rendered colour for the overlay was #898989 for a video dialog on a white background. Setting the video dialog overlay background colour to this got me to #8f8f8f, which was as close as I came
:host([variant=video][open]) [part=overlay] {
  background-color: rgba(0, 0, 0, .45);
}

is variant the right attr?

What's the correct hover-state colour for the video dialog close button?

Closes #283

@RedHat-UX/designers searching the rh-repo design tokens spreadsheet, I couldn't find #6a6e73 as specified on ux.redhat.com/components/modal, but that colour was specified for the close button for a standard dialog. Should I use --rh-color-text-secondary-on-light, #6c6c6c instead?

Ok I bumped this back down to draft for 2 reasons:

We need @coreyvickery 's review once he gets back from PTO
I did some work in pfe-modal to make it more pf1:1, so I'd like to merge that first.
I'll link to the PR in PFE shortly

@RedHat-UX/designers searching the rh-repo design tokens spreadsheet, I couldn't find #6a6e73 as specified on ux.redhat.com/components/modal, but that colour was specified for the close button for a standard dialog. Should I use --rh-color-text-secondary-on-light, #6c6c6c instead?

Sorry I missed this yesterday! @coreyvickery had adjusted the grays while making the design tokens spreadsheet, so that's likely why it's used in the component but is missing from the tokens. I think that's the closest gray, but it's probably best to check with Corey.

@coreyvickery @marionnegp @ronniemcbride do we have tokens for grid column / gutter widths? The spec defines widths in terms of number of columns, not e.g. container %.

I added a comment in the tokens spreadsheet about adding grid column and gutter widths. I'm not sure if the size tokens will work here.

Rebased just now

Some outstanding API questions:

[ ] Should we have type="video" or would we rather <rh-video-dialog>.
[ ] Should we remove the trigger slot (and if so, in PFE or here?) see https://github.com/patternfly/patternfly-elements/pull/2036#issuecomment-1134460631

[ ]  Should we have type="video" or would we rather <rh-video-dialog>.

I think the video type makes sense to me.  It's close enough to dialog.

[ ]  Should we remove the trigger slot (and if so, in PFE or here?) see feat(modal): PF1:1 patternfly/patternfly-elements#2036 (comment)

This is removed in the next release of PFE.

@bennypowers There is a z-index issue on the first dialog demo on the demo site I believe.

Rebased just now. @heyMP I couldn't reproduce your issue, probably it was fixed with the new dependencies? 🤷

Hey @bennypowers, here are some layout issues I found.

[ ] In Chrome, scrollbar is always present in the dialog

[ ] Video Iframe doesn't expand the full width and height of the dialog

blocked by patternfly/patternfly-elements#2039

PFE issue merged. Waiting on release.

@heyMP video dialog should be fixed in docs pages now. the scroll thing will require some more work

@bennypowers everything looks good.  The only think I noticed was that the video doesn't stop playing on dialog close.  What I've typically done before is "the video dialog option supports <video> tags and youtube iframes. If you need to support additional video players, use the dialog close event hook."  I kinda like that option as it limits the amount of custom JS sites would have to implement and maintain.

@heyMP seems a reasonable approach to me


[Bug]: Login passwordless on Android no NFC accepted

Preflight Checklist

[X] I could not find a solution in the documentation, the existing issues or discussions
[ ] I have joined the ZITADEL chat

Environment
Self-hosted
Version
2.44.2
Database
CockroachDB
Database Version
23.2
Describe the problem caused by this bug
Login passwordless login doesn't show NFC, only USB on Android. So no passwordless login with NFC is possible on Android.
2FA auth with NFC on Android works....
To reproduce
Go to Login Page
Test with passwordless login on Android over NFC.
Screenshots
No response
Expected behavior
No response
Operating System
No response
Relevant Configuration
No response
Additional Context
No response

Hi, can you share us some details.
What OS and Browser type/version are you using?

Android v14 with Google Play-Systemupdate 1.November 2023
Chrome v 121.0.6167.164 from 6.2.2024
@ Samsung A34

Thanks for sharing this. I have not yet been able to reproduce this 😓
Can anybody with android give this a spin and see if NFC as passwordless auth works?
Calling my fellow android users to help 😁 @peintnermax @hifabienne @mffap

Thanks for sharing this. I have not yet been able to reproduce this 😓
Can anybody with android give this a spin and see if NFC as passwordless auth works?
Calling my fellow android users to help 😁 @peintnermax @hifabienne @mffap

Are we discussing U2F?
Works on Pixel 6 / Android 14 it seems

Are we discussing U2F?

I think it was about FIDO2 / Passkeys / CTAP 2

I tested both and can reproduce.

Ok so it is a bug 😁

@muhlemmer will check again. It could be that U2F works since this is a single factor. In case of Passekeys / CTAP2 it will be jandled as a MFA and therefore requires user verification / PIN. In case the platform does not support this it will not provide the NFC option.

Doesn't seem to be a zitadel bug, but rather a platform of browser bug. I've set up a yubikey 5 NFC passkey with github and it doesn't show the option there either:

As an alternative I've tried Firefox for android. The option shows, but the action fails without ever asking for the yubikey PIN:

Same goes for trying it with zitadel on firefox for android, again the yubikey PIN was never requested:

Don't know if both situations are caused by the same bug (that means the android platform or yubikey has the fault) or seperate bugs for each browser.
At least after some googling, I found an open issue at chromium:
https://issues.chromium.org/issues/328710551

As we are convinced this is a problem with the Android OS or Chrome/ium browser, we will close this bug.
We have verified passkeys with NFC and PIN work on iPhone.


Options for plotResiduals and plotFit does appear when using code completion

Options for plotResiduals and plotFit does appear when using code completion. The only option that appears if figSize. This is problem because the number of cols and rows doesn't appear which means a user has to look up the example.

I don't understand this exactly. All plot options are specified as keyword, value pairs.

When I hit tab I don’t see the argument options,  other than figsize that I
added, all it shows is **kwargs
H
On Mon, Jul 27, 2020 at 11:11 AM Joseph Hellerstein <
<EMAIL_ADDRESS>wrote:

I don't understand this exactly. All plot options are specified as
keyword, value pairs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/teUtils/issues/5#issuecomment-664554799, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIBSDRL4UFVLNBNTIPCK5LR5W7LDANCNFSM4PIBG5GA
.

--
Herbert Sauro, Professor
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org
<EMAIL_ADDRESS>Books: http://books.analogmachine.org/


GPL-nnn Investigate yarn PNP

Description
Yarn plug and play is a newer way of handling dependency loading of js files. It has a few advantages:

Faster - although I'm not 100% sure how true this is for webpacker based stuff
No node_modules folder in the application directory

The latter should have an impact on any process that enumerates all files in the directory, such as editors which haven't been configured to ignore the directory, and processes like bootsnap.

Can enable pnp with yarn 1, but it recommends yarn 2. Also had issues building with webpacker:
15:12 $ bundle exec rake assets:precompile
...
yarn install v1.22.4
info Plug'n'Play support has been greatly improved on the Yarn v2 development branch.
info Please give it a try and tell us what you think! - https://next.yarnpkg.com/getting-started/install
[1/5] 🔍  Resolving packages...
[2/5] 🚚  Fetching packages...
[3/5] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
warning "webpack-dev-server ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>[5/5] 🔨  Building fresh packages...
✨  Done in 2.39s.
Compiling...
Compilation failed:
yarn run v1.22.4
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

error Command "webpack" not found.

Briefly tried yarn 2, but webpacker complained:
$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds]
Webpacker requires Yarn ">=1 <2" and you are using 2.1.1
This version of Webpacker does not support Yarn 2.1.1
. Please downgrade to a supported version of Yarn https://yarnpkg.com/lang/en/docs/install/
For information on using Webpacker with Yarn 2.0, see https://github.com/rails/webpacker/issues/2112
Exiting!

Didn't look much further, as was just checking if it was a cheap win before I played around with JS stuff.


Add usage example

Here's where it's used originally in Blockbuilder https://github.com/enjalot/blockbuilder/blob/master/public/js/components/renderer.js#L80

It's available now at<EMAIL_ADDRESS>

Usage example is in index.html


Form.Autosuggest error states and freeform text

originally posted on slack

when handling the error state, it's not quite clear what the intended behavior is
if you click into a control and immediately click/tab out, you will get the "Error, no selected value" text
however, if text is entered and then deleted there is no error message
there is also no error message if text is entered that doesn't match anything in the dropdown (for example, typing "foo" in any of the sample boxes)
i didn't see any issue reported on github, so i wasn't sure if this was working as intended or not

while investigating this, i noticed an oddity with handleClickOutside
https://github.com/openedx/paragon/blob/81f746f104b873802ae7655747ac6f4b3c1a7c5f/src/Form/FormAutosuggest.jsx#L111-L121
being called even when clicking inside the control, which makes sense because it's added as a listener here
https://github.com/openedx/paragon/blob/81f746f104b873802ae7655747ac6f4b3c1a7c5f/src/Form/FormAutosuggest.jsx#L137-L145
i also looked into how other autosuggest components handle error states
with https://mui.com/material-ui/react-autocomplete/ there are ways to configure the component to allow/prevent arbitrary text (see https://mui.com/material-ui/react-autocomplete/#controlled-states and https://mui.com/material-ui/react-autocomplete/#controlled-states)
it's not clear how much of this functionality is desired, and what the scope of this component should be
### Tasks
- [ ] Autosuggest component can be configured to allow/disallow freeform text
- [ ] Error state appropriately updates based on if the component allows freeform text
- [ ] Interactive docs example for allowing/not allowing freeform text

after discussion in the paragon working group meeting, moving forward we should:

allow configuring the component to allow freeform text or not
display error state based on if freeform text is allowed or not

It seems this is mostly well enough defined for work, but it'd be good to get a little extra clarification on how to handle error states. We have noted

display error state based on if freeform text is allowed or not

and

[A11y] A form field with nothing in it is not an error, but yes on blur.

so if I'm understanding this correctly, once the user has left the control

allows freeform
entered value
error state?

yes
nothing
? (do we need/want to allow blank values for freeform?)

yes
freeform
no error

yes
selected
no error

no
nothing
error

no
freeform
error (should we allow freeform text to stay entered? should it blank out on blur if nothing has been selected?)

no
selected
no error

Discussed in the Paragon WG https://openedx.atlassian.net/wiki/spaces/BPL/pages/3819765775/2023-07-19+Meeting+notes
Implement different error states when no options match the entered text vs when there are options that match the entered text but none were selected.
In the context of the field not being required, the suggestion was to recommend clearing the input when no options match, and choosing a selection when there are valid options.

re:

there is also no error message if text is entered that doesn't match anything in the dropdown (for example, typing "foo" in any of the sample boxes)

it seems this is happening because of state.dropDownItems.length > 0 in
https://github.com/openedx/paragon/blob/13b7488f495dfe260811fe3a8d0565929713b10b/src/Form/FormAutosuggest.jsx#L115
if state.dropDownItems.length > 0 is removed and the line is changed to
if (parentRef.current && !parentRef.current.contains(e.target)) {

error states appear on all 3 autosuggest components on the docs page. This implies that state.dropDownItems.length > 0 is being used to mean "this is the autosuggest compoent the user is interacting with right now." In the case where we have entered text that filters the dropdownitems down to zero, the component behaves as if it is not the one the user is interacting with, and doesn't show an error.


should support bazel startup option

https://github.com/envoyproxy/envoy/blob/4787e0a9b6810ff4cc0dd3f8d78cb8a1d7c2d73a/ci/do_ci.sh#L77
should add an option  for bazel startup， just like this
bazel ${BAZEL_STARTUP_OPTIONS}  build ${BAZEL_BUILD_OPTIONS} -c "${COMPILE_TYPE}"
I am using http proxy. I need to change the bazel javabase to solve cacerts problem. so BAZEL_STARTUP_OPTIONS can use to add --server_javabase=${JAVA_HOME}

Just have that in your local user.bazelrc file.

OK . I got it. Thanks!


prevent redundant migrations for py3 and #399

Fixes #399
Hello, django-celery constantly trying to create new migration each time.
operations = [
    migrations.AlterField(
        model_name='taskmeta',
        name='status',
        field=models.CharField(
            default='PENDING',
            choices=[
                ('SUCCESS', 'SUCCESS'),
                ('RETRY', 'RETRY'),
                ('STARTED', 'STARTED'),
                ('REVOKED', 'REVOKED'),
                ('RECEIVED', 'RECEIVED'),
                ('PENDING', 'PENDING'),
                ('FAILURE', 'FAILURE')
            ],
            max_length=50,
            verbose_name='state'
        ),
    ),
]

operations = [
    migrations.AlterField(
        model_name='taskmeta',
        name='status',
        field=models.CharField(
            choices=[
                ('RETRY', 'RETRY'),
                ('RECEIVED', 'RECEIVED'),
                ('PENDING', 'PENDING'),
                ('FAILURE', 'FAILURE'),
                ('SUCCESS', 'SUCCESS'),
                ('REVOKED', 'REVOKED'),
                ('STARTED', 'STARTED')
            ],
            verbose_name='state',
            max_length=50,
            default='PENDING'
        ),
    ),
]

operations = [
    migrations.AlterField(
        model_name='taskmeta',
        name='status',
        field=models.CharField(
            max_length=50,
            choices=[
                ('SUCCESS', 'SUCCESS'),
                ('FAILURE', 'FAILURE'),
                ('RETRY', 'RETRY'),
                ('REVOKED', 'REVOKED'),
                ('STARTED', 'STARTED'),
                ('RECEIVED', 'RECEIVED'),
                ('PENDING', 'PENDING')
            ],
            default='PENDING',
            verbose_name='state'
        ),
    ),
]

And so on...

+1 for merging this. I actually have the same problem and new migrations are generating all the time.

+1 It's weird but problem is only on postgresql, not sqlite or mysql o_O

Any update on this? just had a very uncomfortable afternoon trying to make the migrations work
@firemark, I  can confirm the issue is also present using mysqk

@luiscastillocr I had lost hope and just added<EMAIL_ADDRESS>to my requirements file. You may have to re-create initial migrations, because it dependencies could be wrong.
I think words "THIS PROJECT IS NO LONGER REQUIRED" really mean "THIS PROJECT IS NO LONGER MAINTAINED",

Please merge this. I got the same issue.


Detach MARK-V from the validator

MARK-V codec was previously dependent on the validation state.
Now it doesn't need the validator to function, but can still optionally
create it and validate every instruction once it's decoded.

Rebased and pushed into master as 976e4218d59


Multiple issues for links in FAQ #mask_rules

Where to find the issue
Links in

https://www.coronawarn.app/en/faq/results/#mask_rules "Mask Feature"
https://www.coronawarn.app/de/faq/results/#mask_rules "Maskenpflicht / Maskenpflichtbefreiung"

specifically:

https://www.bundesregierung.de/breg-de/themen/coronavirus/infektionsschutzgesetz-2068856
https://www.bundesgesundheitsministerium.de/coronavirus.html#c23063
https://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s1454.pdf#__bgbl__%2F%2F*%5B%40attr_id%3D%27bgbl122s1454.pdf%27%5D__1663765059187

Describe the issues
Link relevance

The content of the link https://www.bundesgesundheitsministerium.de/coronavirus.html#c23063 has changed since the #mask_rules FAQ was published on Sep 23, 2022. https://web.archive.org/web/20220925053332/https://www.bundesgesundheitsministerium.de/coronavirus.html#c23063 shows that the contents were previously relevant, however this link contains dynamic content and today the link points to "Aktuelles / 14.10.2022 / Lauterbach startet Corona-Kampagne „Ich schütze mich“" which is about ensuring vaccination protection, not primarily about mask wearing. The link no longer helps to understand the FAQ article.

https://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s1454.pdf#__bgbl__%2F%2F*%5B%40attr_id%3D%27bgbl122s1454.pdf%27%5D__1663765059187 points to "Gesetz zur Stärkung des Schutzes der Bevölkerung und insbesondere vulnerabler Personengruppen vor COVID-19". Most of the text concerns changes to the Infektionsschutzgesetzt (IfSG), so citing this law is redundant to the link https://www.bundesregierung.de/breg-de/themen/coronavirus/infektionsschutzgesetz-2068856 which already covers the changes to IfSG relating to masks in a readable way. The actual text changes are covered in IfSG § 28a, § 28b & § 28c. The link to Bundesgesetzblatt Teil I, 2022, Nr. 32 vom 16.09.2022 Seite 1454 is factually correct, however it is very unhelpful for a lay-reader, since the relevant information is buried in other irrelevant legal text.

Link presentation

Other lists of links on the FAQ page are presented as an HTML unordered list, so that a bullet point shows before each entry. This has not been done for this list of links, instead the links are separated only by a new line <br>.

The page URLs are used as the link description. Link best practice in https://web.dev/link-text/#link-text-best-practices says:"Don't use the page's URL as the link description unless you have a good reason to do so, such as referencing a site's new address."

Link security
Each of the links is using the target='_blank' attribute without specifying a rel attribute.
Links on FAQ pages says:
"External links should use the HTML hyperlink attribute rel='noopener noreferrer' to avoid a cross-domain security issue in older browsers when the link also contains target='_blank'."
Suggestion
Review the links.
Possibly the links:

https://www.bundesgesundheitsministerium.de/coronavirus.html#c23063
https://www.bgbl.de/xaver/bgbl/start.xav?startbk=Bundesanzeiger_BGBl&jumpTo=bgbl122s1454.pdf#__bgbl__%2F%2F*%5B%40attr_id%3D%27bgbl122s1454.pdf%27%5D__1663765059187
could be removed without loss of understanding for the FAQ article.

For

https://www.bundesregierung.de/breg-de/themen/coronavirus/infektionsschutzgesetz-2068856
change the link description to "Corona-Schutzmaßnahmen – was ab Oktober 2022 gilt", add rel='noopener noreferrer'

Similarly if the other links are kept then add an appropriate link description and the rel attribute.
If multiple links are kept, then change the presentation to an unordered list.

There may be different opinions about what changes should be made, so in the first step I will leave it to the Open Source Team to respond.

@MikeMcC399 Thanks for opening this issue; we will have a look at this. Internal Tracking ID: EXPOSUREAPP-14165

PR #3157 is addressing this issue.


WIREFRAME: Behavior for resize of the current Planner page

Need to review what happens to this view when it is resized and how this will impact mobile.
VC:

A resize solution that works on DT and Mobile has been finalized to meet users needs and dev is able to implement. This should take into consideration, any current behaviors + implementation.

@Mgranfie is this a Story or a Draft of a Story? There are individual labels for each, so that the Backlog and Issue list can be sorted correctly for Sprint Planning.

@Mgranfie @Essjaysee @bdellasc Here is the wireframe for the Planner on smaller screens (iPhone 6 to start): https://redhat.invisionapp.com/share/F6A55SUEJ. It is a bit rough right now, as I've first tried to make sure the everything is readable (thanks, Brian, for the help with sizing). I know that the Quick Add has been a big part from the beginning, but wow - it is kind of hard to work with on a touchscreen device, without taking up the entire screen.


Signature verification failed for sku [ ] -1003 purchase signature

purchase in  cafebazaars payment gateway is successful. but in app i get this error and cant consume my product
error : Signature Verification failed for sku [...] -1003 purchase signature verification failed

Double check your cafebazaar public key.
Try signing your app and test purchase with the signed apk.
Clear bazaar application's data.


trying out fig2 batch

Hello @sgosline! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file mRNAData/getAllDatasets.py:

Line 7:80: E501 line too long (80 > 79 characters)


update load-data/load-s3/basic-sql/show-account docs

What type of PR is this?

[ ] Enhancement
[ ] Displaying
[ ] Typo
[x] Doc Request

Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:

@XuPeng-SH   why the check failed?


[release-1.1] UPSTREAM : DOWNSTREAN_OWNERS - add NetworkEdge team

Add the whole NetworkEdge team as approvers, remove old owners.

/approve
/lgtm

/lgtm

/label docs-approved
/label qe-approved
/label px-approved


Use Array.isEmpty instead of checking account property

According to the Xcode documentation, we should use isEmpty property to check whether your collection is empty.
https://developer.apple.com/documentation/swift/array/1688398-isempty

When you need to check whether your collection is empty, use the isEmpty property instead of checking that the count property is equal to zero. For collections that don’t conform to RandomAccessCollection, accessing the count property iterates through the elements of the collection.

@swift-ci test and merge


Helm: Make all images configurable values

What would you like to be added:
Add configuration values to the SPO Helm Chart to configure all deployable images.
Why is this needed:
This enables users to have better control over what images/tags they deploy when using the official SPO helm chart, instead of having to create their own.
User story covered
As an infrastructure SRE, Kirsti would like to deploy the SPO using the official Helm chart, whilst still having the power to define what version of each image to be deployed.

@rahulroshank currently there is no-one working on this. Would you be willing to give it a try? Our chart is located at /deploy/helm.


[Feature] XML Configuration Parsing

Just an idea. I'm working on a project that's dealing with XML (We're being forced, I swear!), and I already use Configurate for pretty much everything, nowadays. Would it be possible to add XML parsing?

I would definitely agree with this. This also probably warrants the use of a new interface, PropertiedConfigurationNode (to go with XML's attributes).

@pie-flavor This would probably end up being required. Thankfully, it wouldn't necessarily need to live in configurate-core. Though, I'm not sure how @zml2008 handles issues like this.


[RFC] nimble/ll: Allow to update resolving list

So far, when host was trying to add keys for already existing entry,
controller rejected it.
Since it is not really specified how the Controller should handle it
and because we saw some host was doing it in order to update keys,
Controller will be nicer now and will allow to update keys
Note: This is RFC and I need to run certification test cases as I'm not sure if there is any covering that scenario.

@sjanc good point and yes this is back to network and I should put it in the comment.
I also think this is what we want.
As you know this is already undefined behavior and error code we are sending now is not great as it does not really say nothing valuable to the host what is wrong.
I think the assumption that the only issue on the host side is that they forget to remove old key is good enough. So the controller will just drop old entry and create new one with a new keys. Host need to configure privacy mode


Integrate TPV

Bjoern is taking over this issue and things we should integrate TPV into the Galaxy deployment.

It would be nice if we had default destination properties (runtime, memory, and cores) for all iuc, devteam, and other commonly used tools - along with a way to scale it for the laptop running docker-galaxy-stable at startup time.
Perhaps even categorizing everything into a runtime (fast, normal, long), a core count (single, few, many), and memory (small, normal, large) would get us a long ways down the road toward good scaling on a laptop and in like a vanilla cloud setting. We could provide additional refinements as they come up.

Is this is a good Galaxy hackathon project?
Should we provide a table or something we can give to projects and then allow that to be scraped dynamically and aggregated somewhere like ansible-galaxy-extras.

Or should we not bother until we have a data-based approach probably involving the GRT?

Ha, see my comment on gitter ;)
@erasche and me talked about a project we would like to start as soon as he is here, which involves GRT, some smart prediction of resources, tools etc.
If someone is faster and would like to work on it even better!

GRT is a good project - I told Anton when I started I wanted to do something like that and I have never gotten around to it. I'm wondering if there won't be cases where there is insufficient data or perhaps overfitting by automated approaches - perhaps coming up with some initial categories now and figure out how to map them to various machines would be good and then we could rely on GRT to correct or tweak the categorical assignments... I don't know though.
I was just thinking about this problem because https://github.com/galaxyproject/ansible-galaxy-extras/pull/150 is very cool - but we aren't assigning destinations very well without this data :D. I maybe don't have time to work on this - and should just wait and see what y'all come up with.

We have a master thesis for this, which tries to involve machine learning stuff on this data, maybe even on tools, kind of recommendation system. ping @anatskiy :)

Change the title and take over the issue. I guess we should deploy TPV by default.


[R-package] Use type argument to control prediction types

The predict function for lightgbm model objects has three mutually-exclusive parameters (rawscore, predcontrib, predleaf) which control the type of output to produce in the predictions.
The convention in R is to make these types controllable through a type parameter, as done in base R's predict.glm and in many core packages for decision trees such as rpart, randomForest, gbm, and other popular decision tree packages such as ranger, C50, etc.
Some popular packages do take booleans, but mostly when they output more than one prediction type per function call, which lightgbm doesn't do.
In order to make the R interface more similar to base R and to other packages, this PR replaces those boolean arguments with a type argument.
Additionally, it adds a "response" type which will output the predicted class in classification objectives (something that's present in the Python interface but missing from the R interface).

Thanks very much for this proposal!
I'm open to considering this breaking change, but since the goal is just consistency with other projects, I need some more information.
Can you please tell me specifically which packages you're referring to in this statement?

Some popular packages do take booleans

Amonf others, randomForest works like that.

Cross-reference: https://github.com/dmlc/xgboost/pull/7947.

@jameslamb : the proposal is as it should have been from the beginning. Unfortunately, now it seems too late to change key arguments of a key function. It will break multiple R packages (SHAPforxgboost, fastshap, plus one I am currently writing) and a lot of existing code, especially in the field of XAI. For what Version is the change planned?

Updated.

@jameslamb

what do you think?

I think we can omit deprecation cycle in the upcoming v4.0.0 release.

now it seems too late
For what Version is the change planned?

@mayer79 thanks very much for your feedback! Hearing you say that this is "how it should have been from the beginning" echoes how I was feeling and I think what @david-cortes is thinking as well.
I understand that the breaking change will cause some pain, but I think it is necessary to get the package to the state we that we want. The reality we're facing in LightGBM right now is a significant lack of maintainer attention in this project + the fact that it has been almost 8 months since the previous substantial release (v3.3.1, in October 2021). We simply don't have the development velocity in this project to do deprecation cycles the way that healthier projects like scikit-learn can.
These changes are planned for a v4.0.0 major release (#5153), after which we will be much more skeptical of breaking changes anywhere in the project.

break multiple R packages (SHAPforxgboost, fastshap, plus one I am currently writing)

I'm willing to go submit PRs to all of those projects listed as reverse dependencies of {lightgbm} (https://cran.r-project.org/web/packages/lightgbm/index.html) to make the forward- and backward-compatible so the new release won't break them. For example, this PR is not changing the public method Booster$predict() at all, so it's possible for {SHAPforxgboost}, {fastshap}, etc. to switch to using that method and not be broken by a new {lightgbm} release. I will go open issues on those projects and any other you'd like to point me to.

Sure. I'll add my review tomorrow

now it seems too late
For what Version is the change planned?

@mayer79 thanks very much for your feedback! Hearing you say that this is "how it should have been from the beginning" echoes how I was feeling and I think what @david-cortes is thinking as well.
I understand that the breaking change will cause some pain, but I think it is necessary to get the package to the state we that we want. The reality we're facing in LightGBM right now is a significant lack of maintainer attention in this project + the fact that it has been almost 8 months since the previous substantial release (v3.3.1, in October 2021). We simply don't have the development velocity in this project to do deprecation cycles the way that healthier projects like scikit-learn can.
These changes are planned for a v4.0.0 major release (#5153), after which we will be much more skeptical of breaking changes anywhere in the project.

break multiple R packages (SHAPforxgboost, fastshap, plus one I am currently writing)

I'm willing to go submit PRs to all of those projects listed as reverse dependencies of {lightgbm} (https://cran.r-project.org/web/packages/lightgbm/index.html) to make the forward- and backward-compatible so the new release won't break them. For example, this PR is not changing the public method Booster$predict() at all, so it's possible for {SHAPforxgboost}, {fastshap}, etc. to switch to using that method and not be broken by a new {lightgbm} release. I will go open issues on those projects and any other you'd like to point me to.

Thanks for your detailed answer, James. The packages I have mentioned use predcontrib = TRUE, so they will be affected. As soon as this PR is merged, I can fix SHAPforxgboost (I already drafted a fix) and shapviz (a package that does not load LGB but still works with it...) plus ping Brandon from fastshap. I think we only need a little bit of time (3-4 weeks) between this PR and switching to LGB 4 on CRAN.

@mayer79 Thanks for spotting the mismatch w.r.t. base R. I've updated it by changing the names to "response" for what's obtained after applying the link function and "class" for the type that predicts class in classification objectives.

The linter check doesn't say what exactly failed, don't know what it is complaining about: https://github.com/microsoft/LightGBM/runs/6887268528?check_suite_focus=true

@david-cortes that error you're facing comes from {lintr}.
Linting R code
[1] 52 R files need linting
Error in match.arg(semicolon, several.ok = TRUE) :
  'arg' must be NULL or a character vector
Calls: <Anonymous> ... flatten_list -> assign_item -> linter_fun -> match.arg
In addition: There were 25 warnings (use warnings() to see them)
Execution halted

There was a new major release of {lintr} to CRAN today. I suspect rebuilding will fix this, since I just merged #5290. I'll re-trigger this job.

Updated.


c/validation: clean up GTest matchers, utilities

Add test helper to execute a statement and get back Result<int64_t> (for DDL)
Reorganize and document the quirks
Add test helper to execute a statement and get back a single batch (tests assume they will always be a single batch but that isn't necessarily true)
Create or use utilities for iterating over streams (https://github.com/apache/arrow-nanoarrow/issues/403)

Create utilities for asserting on values, preferably using native C++ types for clarity, and so that we can use the native GTest matchers
Remove the StreamReader class
Consolidate the Handle class

Create utilities for asserting on schemas more effectively (particularly for parameterized/nested types). Possibly something like the standard GTest ElementsAre.

Deferring this to see what the upstream utilities look like


Can the Helm installation run Analytics

Can the Helm installation run Analytics

I will close the issue, please do not hesitate to reopen if you want to continue discussion.


DAT-8203: allow supplying a current value when prompting using UIService

Allow specifying a currentValue when using the prompt method in the UIService. If a non-null currentValue is provided, it will be shown instead of the defaultValue. If the input handler allows empty inputs, and the user strikes enter at the prompt when a currentValue is shown, that value will be returned.

In the end, the change is so that there can be a difference in prompts between a "default" and a "current" value?
I worry about the complexity of the implementation requirement (when to return defaultValue vs. currentValue) and the fact that it is a breaking API change.
Is there a prompt we can use besides default/current that would work for either use case? Or, would it make sense to have prompt configuration on the InputHandler?

In the end, this is to support sometimes having a "default" prompt and sometimes a "current" one?
I worry about the complexity of implementation and use (correctly using/passing the currentValue vs. defaultValue) as well as the fact that it is a breaking API change.
Is there a different wording we can use in the prompt to avoid needing to deal with default vs. current prompts? (From an end-user standpoint, what is that distinction trying to get across to them?)
Or, would it make sense to have the prompt configuration logic part of the InputHandler?

I considered putting the prompt configuration logic inside the InputHandler, but I felt that would make it more confusing.
The distinction that we are trying to get across to a user is that pressing the "enter" key selects the current value of a parameter for a quality check, not the default value.
Ultimately, this code complexity is not necessary. The issue here is that product does not like the word "default" showing up in the prompt when the value being shown to the user is not a default value.


[tool_crash] ProcessException: The command failedStdout:Stderr:unzip:  cannot find or open /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip, /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip.zip or /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip.ZIP. Command: unzip, OS error code: 9

Command
flutter --no-color --no-version-check precache

Steps to Reproduce

...
...
...

Logs
ProcessException: The command failed
Stdout:
Stderr:
unzip:  cannot find or open /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip, /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip.zip or /Users/admin/flutterProject/flutter/bin/cache/downloads/storage.googleapis.com/flutter_infra/flutter/fonts/75d35d37aa818c40ffb521a8165dbe7d3c1cb8c4/fonts.zip.ZIP.
Command: unzip, OS error code: 9
#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:172:5)
#1      _DefaultProcessUtils.runSync (package:flutter_tools/src/base/process.dart:459:17)
#2      _PosixUtils.unzip (package:flutter_tools/src/base/os.dart:226:19)
#3      CachedArtifact._downloadArchive.<anonymous closure> (package:flutter_tools/src/cache.dart:648:16)
#4      _rootRunUnary (dart:async/zone.dart:1198:47)
#5      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#9      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#10     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#11     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#12     Cache.downloadFile (package:flutter_tools/src/cache.dart)
#13     _rootRunUnary (dart:async/zone.dart:1198:47)
#14     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#19     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
#20     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
#21     Net.fetchUrl (package:flutter_tools/src/base/net.dart)
#22     _rootRunUnary (dart:async/zone.dart:1198:47)
#23     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#24     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)

[✓] Flutter (Channel master, 1.21.0-8.0.pre.177, on Mac OS X 10.15.5 19F101, locale en-ZA)
    • Flutter version 1.21.0-8.0.pre.177 at /Users/admin/flutterProject/flutter
    • Framework revision 54f21ec7aa (6 hours ago), 2020-08-12 08:01:03 -0400
    • Engine revision ccfc7e5179
    • Dart version 2.10.0 (build 2.10.0-11.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/admin/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.1

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

Flutter Application Metadata
No pubspec in working directory.

Hi @harguilar,
There's similar open issue describing your case, 52437.
Please follow-up there for updates.
Closing this as duplicate.


NControl crashes on Windows Phone

Hi,
NControl is great and i like it, but now, it crashes on WindowsPhone.
Even if i only call
var view = new NControlView();
The App runs into (App.xaml.cs)
// Code to execute if a navigation fails
private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
{
    if (Debugger.IsAttached)
    {
        // A navigation has failed; break into the debugger

STOPPED HERE Debugger.Break();
}
}
It works fine on Android and iOS
What happens ??
I'm using XF <IP_ADDRESS>92 and NControl 0.5.981

A new version (0.6.18) has been uploaded to NuGet that should be working on Windows Phone.


Fix parameters for writeFIle

Hi, I was trying to use writeFile and noticed it wasn't passing in the right number of parameters.... this PR fixes that

Thanks for the fix 👏


Add auth

Hello @iru- !
Is it possible to contact you via email?

Hello @iru- !
Is it possible to contact you via email?


[FLINK-3664] Create method to easily summarize a DataSet of Tuples

Adding summarize() method in DataSetUtils that will supply a number of single pass statistics for DataSets of Tuples.
Summary statistics depend on the type being summarized:

Numeric types (Integer, IntValue, Float, Double, etc): min, max, mean, variance, standard deviation, NaN count, Infinity count, totalCount, etc.
String, StringValue: minLength, maxLength, meanLength, emptyCount, totalCount
Boolean, BooleanValue: trueCount, falseCount, totalCount.

Example usage:
Dataset<Tuple3<Double, String, Boolean>> input = // [...]
Tuple3<NumericColumnSummary,StringColumnSummary, BooleanColumnSummary> summary = DataSetUtils.summarize(input)
summary.f0.getStandardDeviation()
summary.f1.getMaxLength()
Uses the Kahan summation algorithm to avoid numeric instability.  The algorithm is described in: "Scalable and Numerically Stable Descriptive Statistics in SystemML", Tian et al, International Conference on Data Engineering 2012.

All of the builds are passing except for one, there is a failure in what seems like a flaky Kafka test.
Does anyone have suggestions on how to get past this?
Thanks.

It is indeed a flaky kafka test.
You don't have to worry about it, the majority of build passed we're good on that front.

Looks good to me, +1 to merge this
BTW: I am pushing a set of fixes to the Kafka Consumers. Hope that fixes the flakyness of the test here as well...

Merging.


No default ReputationSystem class

The distribution app refers to a class ReputationSystem with two static methods, and the URLs will not deploy without it. While there is a sample for a model (which is necessary to store reputation) in outline-reputation, new users (such as myself) will struggle to get up and running if there is not a no-op implementation that at least returns a constant for each method within the distribution project.
Specifically, distribution/serializers.py includes references to ReputationSystem.

In addition, it would be hard to see how you'd integrate a django model like the one in outline-reputation for a novice user. Perhaps a simple example would help.

In addition, it would be hard to see how you'd integrate a django model like the one in outline-reputation for a novice user. Perhaps a simple example would help.


config url http vs https

Issue Summary
If config.production.json starts with
 "url": "http://www.example.com"
everything works fine
But let's say I want SSL-only connections so I setup my nginx to always redirect http requests to https address. It will still work just fine. However it appears that the "url" parameter (with "http" instead of "https") is used at least in two more places:

under "home" links on blog page

in email sent from ghost

I tried to change URL in config.production.json from "http" to "https", but even though ghost starts it's not possible to open page due to errot ERR_TOO_MANY_REDIRECTS.

Ghost Version: beta2
Node Version: 6
Browser/OS: Chrome / Centos 7 + nginx + SSL
Database: MariaDB

This is an nginx configuration error and a duplicate of https://github.com/TryGhost/Ghost/issues/4370.
You must use the correct proxy settings.
This is a large part of the reason why ghost-cli does this stuff for you 😉

@ErisDS thanks! I have fixed my nginx settings and it seems to work for blog. The email still shows http address but that's minor issue.


SW-5874 Remove rounding helper text

Remove the "rounded to the nearest thousandth" message from number
variable inputs. Not only does it add visual noise, but it's usually not
correct since we ask for a lot of integer values.

#3042  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite


[FBcode->GH] Handle images with AV_PIX_FMT_PAL8 pixel format in decoder callback

Summary: provider callback uses video sampler to copy/scale input frames using sws_scale function, added option to use av_image_copy to copy image planes in case if sws_getContext fails (required to support AV_PIX_FMT_PAL8 pixel format)
Reviewed By: ovoietsa
Differential Revision: D36466749
fbshipit-source-id: 1674f98a362db835d147800c24bdda6f82d2f8ff

This is going to break the linter unfortunately. I propose to merge and break main temporarily and bring a new PR to fix the linter afterwards. This will make syncing the changes back to FBcode easier.


[T3A3][W09-A2] Jasmine Ang

Ready for review

Good work @jasminish
Some comments added. Please close the PR after reading comments.


how to decrease broker memory

our rocketmq cluster contains 3 group brokers, each group contains 1 master 2 slaves.  we have 5 producer client and 5 consumer client. total produce qps is 5k/s, and consumer qps is the same. every msg size is 1KB.
using "top" command, we found some broker's memory cost 48G * 70% = 33G.
my java option is "-Xms8g -Xmx8g -Xmn4g   -XX:MaxDirectMemorySize=12g ...", so Xmx + MaxDirectMemorySize is just 20G
my question is:

why broker's memory  exceed "Xms + MaxDirectMemorySize", is this java option have no effect  ?
how to decrease broker memory ?

sincerely hope  for your answer,  thx very much ~

after dump memory,   i found commit log cost much memory.  there are 20+ map file, each size is 1G.
when does the map file release memory ?

log使用的是MappedByteBuffer，不受MaxDirectMemorySize的限制

@finalcola 那java中有没有办法限制MappedByteBuffer的内存 ？

不知道，估计只能把日志过期时间(默认是72小时)设置得小些，避免加载的日志文件过多

@finalcola 好的，谢谢了！ ps.  我尝试了使用cgroup来限制， 对于二进制可执行程序，cgroup可以限制回收mmap内存，但对java，cgroup就无效了

@finalcola
Does this cause any problem?

MappedByteBuffer creates Virtual-memory mapping with JVM memory thus READ/WRITE operations do not need System-Call. And it does not occupy the JVM heap but virtual memory space only.

When you use top to diagnose the memory usage, a large RES may be displayed. Just feel free, you could use free -m or free -g to check the actual memory usage by used.  You may also find an amount of memory used by buff/cache, you could treat this part of memory as free.

@ahuazhu thanks.  ：）

@reachfish the release  process of pagecache is managed by os, or you can use echo 3 > /proc/sys/vm/drop_caches to release, but not recommend to do this. and issue only used be bug report and feature request, so, it would be nice if we can discuss these question in our mailing list(https://rocketmq.apache.org/about/contact/)


fix: use US color spelling

:tada: This PR is included in version 1.0.5-dev.3 :tada:
The release is available on:

npm package (@dev dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[CMake] Fix condition of cmake_dependent_option macro for BOOTSTRAPPING_MODE

Trying to build with --xcode, more specifically SKIP_XCODE_VERSION_CHECK=1 ./swift/utils/build-script --xcode --debug --debug-swift --skip-build-benchmarks  --swift-darwin-supported-archs "$(uname -m)" --sccache  --skip-ios --skip-tvos --skip-watchos and was getting an error:
    /bin/sh -c ${BUILD_DIR}/Xcode-DebugAssert/swift-macosx-arm64/tools/driver/Swift.build/Debug/swift-frontend-bootstrapping0.build/Script-86289F9744663899789BE6CE.sh
${BUILD_DIR}/Xcode-DebugAssert/swift-macosx-arm64/tools/driver/Swift.build/Debug/swift-frontend-bootstrapping0.build/Script-86289F9744663899789BE6CE.sh: line 4: cd: ${BUILD_DIR}/Xcode-DebugAssert/swift-macosx-arm64/bootstrapping0/bin: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

All the logs were printing
--   Bootstrapping:  BOOTSTRAPPING-WITH-HOSTLIBS
After looking into the documentation found that Full Condition Syntax is only supported after 3.22.
My version is 3.21.1, so after this change build is fine.
I think it makes sense to make this change because this is basically the same thing and since minimum required version of cmake on the documentation is 3.19.6 this should work out of the box for all versions from that on.

@swift-ci Please smoke test


[AIRFLOW-682] Bump MAX_PERIODS to make mark_success work for large DAGs

Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-682

@artwr @mistercrunch @plypaul
It is not possible to mark success on some large DAGs due to the MAX_PERIODS being set to 1000. We should temporarily bump it up until work can be done to scale the mark success endpoint much higher.
Original PR is by @artwr
Testing Done:

Has been running in Airbnb prod for many months now

LGTM +1 ;p


which i need install to your dotifles work?

hi man, i wanna know what i need install to your config work properly,because i'm getting a lot of errors.

The things is, I modified quit a lot plugins code directly in my lazy directory to erase delay, may I ask why you want to try my config? I can upload all the modified version if you want then

just for research, i like to rewrite cfgs and use the best on them to improve mine.

I’m afraid only my computer works no error, there are many globle variables interacting for simplicity. If you still want to try I can upload entire lazy directory🤭

I’m afraid only my computer works no error, there are many globle variables interacting for simplicity. If you still want to try I can upload entire lazy directory🤭

oh, if not gonna take your time i will appreciate it

That made me think I should keep modifed version as fork in github, it took me quit a lot tome to optimize them someone may feel useful. btw how did you find my repo?

in a post on reddit where leave your dotfiles link.
reddit

@Miguerfi I have created a repro_ts.lua you can use to see the cmp highlighting, just past the file and run nvim  -u ~/.config/nvim/repro_ts.lua ~/.config/nvim/repro_ts.lua

i will do after work.
thx man!
:)


Type Implementations on CilTypeDefinitions: System.Reflection.Metadata.Cil

Missing type implementations IEnumerable Property on CilTypeDefinitions.
Probably a CilTypeImplementation class should be create them to represent them and visit them with CilToStringVisitor.
implements Interface on type definition on CilToStringVisitor missing when type signature being dumped to writer.
cc @AlexGhiondea

cc @safern


SentencePiece is not supported by Android

Description
I'm trying to use SentencePiece lib in Android platform, but I get the following exception, saying SentencePiece is not supported in this platform:
    java.lang.UnsupportedOperationException: SentencePiece is not supported by this platform
        at ai.djl.sentencepiece.jni.LibUtils.copyJniLibraryFromClasspath(LibUtils.java:77)
        at ai.djl.sentencepiece.jni.LibUtils.loadLibrary(LibUtils.java:51)
        at ai.djl.sentencepiece.SpProcessor.<clinit>(SpProcessor.java:26)
        at ai.djl.sentencepiece.SpProcessor.newInstance(SpProcessor.java:37)
        at ai.djl.sentencepiece.SpTokenizer.<init>(SpTokenizer.java:49)
        at ai.djl.sentencepiece.SpTokenizer.<init>(SpTokenizer.java:38)
        at com.example.myapplication.nmt.NmtMarian.predict(NmtMarian.java:97)
        at com.example.myapplication.nmt.NmtClient.predict(NmtClient.java:126)
        at com.example.myapplication.MainActivity.Translate(MainActivity.java:70)
        at com.example.myapplication.TopSectionFragment.buttonClicked(TopSectionFragment.java:57)
        at com.example.myapplication.TopSectionFragment$1.onClick(TopSectionFragment.java:47)
        at android.view.View.performClick(View.java:7448)
        at android.view.View.performClickInternal(View.java:7425)
        at android.view.View.access$3600(View.java:810)
        at android.view.View$PerformClick.run(View.java:28305)
        at android.os.Handler.handleCallback(Handler.java:938)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Any solutions? I was wondering what causes SentencePiece not to be callable in Android.

@Arman-IMRSV DJL currently doesn't support android for SentencePiece.
Currently DJL doesn't have CI to build arm based binary. We only release Android binaries for PyTorch for the time being. We hope community contributors can help support arm base releases.
You can manually build SentencePiece using Android NDK, and make some changes to LibUtils.java to load the library.

For reference, someone was able to build SentencePiece for Android (not with DJL) at https://github.com/google/sentencepiece/issues/346


Streamr Integration/Partner.

Streamr is an open source decentralized data network.  You can think of it as BitTorrent for live data feeds, or decentralized CDN.  https://streamr.network/
It would be a win/win for both LiveKit and Streamr to leverage each others tech.

streamr is great! though it's not clear how it fits into livekit agents.


Seemingly unable to detect playing audio - crashes when run as root

no matter what i do i cant seem to get swyh-rs to detect any playing audio on my linux (kubuntu 22.04) machine as detected by the RMS monitor option.
the only time i got it working was when I had a usb mic plugged in and saw a little movement of the RMS monitor and was able to get it to play on my sonos speaker (it was quiet and delayed due to the audio path being my laptop -> speakers -> usb mic -> my laptop/swyh-rs -> sonos).
since unplugging that mic nothing is being detected by swyh-rs. have tried multiple apps that produce audio, such as freetube (youtube client) and clementine.
the available audio sources listed in swyh are: default, samplerate, pulse, and four options named "hw:CARD=PCH,DEV=#" where # is 3,7,8,and 9 respectively.
i saw https://github.com/dheijl/swyh-rs/issues/31#issuecomment-781558672 while searching and that made me think to try running as root. when running as root it seems to encounter some (presumably minor) issues before detecting the four hw:CARD... devices from earlier and then crashing. I suspect it found a device that is not being handled right so i'll see if i can make it not crash but wanted to reach out in case i cant make it work.
heres the log that i get when trying to run as root:
log.txt

I don't have access to my development environment now, but is it possible that audio monitoring is not enabled?
I use pavucontrol to enable monitoring of input devices on my Linux machines (Mint).

can confirm that audio monitoring was the reason for the no audio. Problem resolved by opening pavucontrol, running swyh-rs, opening the recording tab, and setting the "from" dropdown to "monitor of < my BT headphones that were currently playing something>"
the root thing may technically be a different issue that i just happened to encounter while trying to chase this down (at the time i thought it may be some kind of permissions thing). happy to make a new issue for that if you want!

I cannot reproduce the crash when running as root here, Linux Mint 21.1 Vera Cinnamon version (Ubuntu 22.04 based).

Well i was about to send a message saying the issue is no longer happening for me, but then it started happening briefly. I Still haven't found a reliable way to reproduce it, but I suspect it has to do with my headphones (Skullcandy Hesh 2 Wireless) going to sleep or something (i.e. after a little while of no audio being sent over bluetooth) while still being connected and maybe getting into some weird state.
that said i was also playing with settings like the "add virtual output device for simultaneous output on all sound cards" in Kubuntu Audio settings as well as unplugging and plugging in my Fifine K050 usb microphone, so its really not a great scenario

I don't have any experience with bluetooth audio devices, but I suppose that losing the connection with a battery powered device that goes to sleep can cause problems in the CPAL internal audio device state that gets out of sync with the actual device state in the kernel on reconnection. I have no idea if it is possible to detect these device changes in CPAL or if it is possible to handle this situation (without restarting the app).

For the moment CPAL does not support device disconnection/connection events:
https://github.com/RustAudio/cpal/issues/373
So I'll leave this open and come back to it when CPAL implements this.


F-Droid can't build

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7203177694#L1144
diff log: food3.log
you are sure the APK in https://github.com/NielsLee/FoodRecords/releases/tag/v1.2 was built from https://github.com/NielsLee/FoodRecords/commit/dc03e0ae94fcd81bc6c715bd69e7d4ea21c3d967 ?
maybe clean up the caches and retry?
/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/58d8ee416158662acc06f7f1bf70efa94f97d126

Rebuild APK and upload again, if still any problem please let me know, thank you!
发件人: Licaon_Kter @.>
日期: 星期四, 2024年6月27日 23:02
收件人: NielsLee/FoodRecords @.>
抄送: Subscribed @.***>
主题: [NielsLee/FoodRecords] F-Droid can't build (Issue #9)
ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7203177694#L1144
diff log: food3.loghttps://github.com/user-attachments/files/16016042/food3.log
you are sure the APK in https://github.com/NielsLee/FoodRecords/releases/tag/v1.2 was built from dc03e0ahttps://github.com/NielsLee/FoodRecords/commit/dc03e0ae94fcd81bc6c715bd69e7d4ea21c3d967 ?
maybe clean up the caches and retry?
―
Reply to this email directly, view it on GitHubhttps://github.com/NielsLee/FoodRecords/issues/9, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKASIT5QOHMRAFVNSTKQADZJQSOTAVCNFSM6AAAAABKAD3A7CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TQNBQG44TENA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Nope, same diff log :crying_cat_face:

sry, uploaded again, please helping double check

Which jdk do you use?

Terminal JDK version:
java version "21.0.2" 2024-01-16 LTS
Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
JDK version in app build.gradle:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
    jvmTarget = '1.8'

}
Are these settings related to this issue? I use the same settings in the past two app versions.
发件人: linsui @.>
日期: 星期六, 2024年6月29日 15:42
收件人: NielsLee/FoodRecords @.>
抄送: NielsLee @.>, Comment @.>
主题: Re: [NielsLee/FoodRecords] F-Droid can't build (Issue #9)
Which jdk do you use?
―
Reply to this email directly, view it on GitHubhttps://github.com/NielsLee/FoodRecords/issues/9#issuecomment-2198030526, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKASIWPSAHKT76YNSA35RTZJZQPZAVCNFSM6AAAAABKAD3A7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGAZTANJSGY.
You are receiving this because you commented.Message ID: @.***>

Can you rebuild the apk with jdk 17? Currently jdk 21 is only available in debian unstable channel.

Ok, I have changed my JAVA_HOME to JDK17 and rebuilt (cache cleaned), new app uploaded.
It's a little strange, why didn't I meet this issue in the previous version
发件人: linsui @.>
日期: 星期六, 2024年6月29日 17:11
收件人: NielsLee/FoodRecords @.>
抄送: NielsLee @.>, Comment @.>
主题: Re: [NielsLee/FoodRecords] F-Droid can't build (Issue #9)
Can you rebuild the apk with jdk 17? Currently jdk 21 is only available in debian unstable channel.
―
Reply to this email directly, view it on GitHubhttps://github.com/NielsLee/FoodRecords/issues/9#issuecomment-2198057690, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKASIRKXW2T7EXHDM3CQR3ZJZ24XAVCNFSM6AAAAABKAD3A7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGA2TONRZGA.
You are receiving this because you commented.Message ID: @.***>

Hmmm, still the same diff. This is weird. I just tested 1.1 and it's still reproducible. Can you also check if you can still build 1.1 reproducibly?

v1.1-app-release.apk.zip
Ok, this is the release apk built from tag v1.1, thanks for your helping

I removed JDK21 and rebuild release v1.2, please helping check, if still don’t work, maybe I will take time checking the diff log to find out the true reason, thanks!
发件人: linsui @.>
日期: 星期六, 2024年6月29日 22:06
收件人: NielsLee/FoodRecords @.>
抄送: NielsLee @.>, Comment @.>
主题: Re: [NielsLee/FoodRecords] F-Droid can't build (Issue #9)
There is similiar diff between your new build of 1.1 and the old apk in release. So there is something changed in your environment.
I'm not sure if changing JAVA_HOME is enough though. Maybe you need to remove jdk 21 completely.
―
Reply to this email directly, view it on GitHubhttps://github.com/NielsLee/FoodRecords/issues/9#issuecomment-2198205987, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKASISBZRME3Y6Q725TUYDZJ25PRAVCNFSM6AAAAABKAD3A7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGIYDKOJYG4.
You are receiving this because you commented.Message ID: @.***>

Still the same diff...

I just remembered that I changed my Android Tool chain version several days before… sry for I only remembered this now. I will change it back and have another try 😢
发件人: linsui @.>
日期: 星期六, 2024年6月29日 22:25
收件人: NielsLee/FoodRecords @.>
抄送: NielsLee @.>, Comment @.>
主题: Re: [NielsLee/FoodRecords] F-Droid can't build (Issue #9)
Still the same diff...
—
Reply to this email directly, view it on GitHubhttps://github.com/NielsLee/FoodRecords/issues/9#issuecomment-2198212739, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYKASIX2FCMLKE2JIE2IME3ZJ27ULAVCNFSM6AAAAABKAD3A7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGIYTENZTHE.
You are receiving this because you commented.Message ID: @.***>

Sorry I can't remember if I made any modifications to my build environment or what changes I might have made (I'm even wondering if updating my macOS version caused the issue, but there's no way to verify this). Are there any other methods to resolve this problem?

Generally the jdk is the most likely reason. F-Droid uses openjdk 17. If you didn't change the jdk then maybe something else is changed. But I can't help you debug your macOS... A workaround is building the apk with GitHub Action.

Thank you, I rebuilt v1.2 by Github Action and uploaded, please helping check if there is still same issue

It works, thanks! It would be better if you can reproduce the apk on your local machine though. :)


Aperture should be in f-stops instead of units of radius.

Would be more intuitive if it took f-stops and converted those to c-ray aperture radii.

Resolved by ad456b3c58e889722f98c7fd91096a586fcc4195


Fix typo

Typo: __ -> \_\_. Same as #18853.

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


Update BestPractices.md

fixed minor typo in code example

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thanks!


Docs?

How do I build this and use it? What versions of grails etc. is it intended for?

Is the Apache 2.0 license the least restrictive?  I'll add that as the license example for this project if that is the case.  I do not like a GPL for that is too restrictive.  I would like to have a license that allows one to use in proprietary solutions as well

Readme file added


CLI Beautification

CLI Beautification
note: This demo is slightly out of date. I will update it very soon.

Summary:
CLI has been improved to provide a better user experience.
Description:
These changes do not introduce new functionality and are backward compatible. Commands that worked before will continue working. CLI output has been improved to be visually exciting and informative. Vastly improved help command makes CLI easier to use without referencing the documentation.
Areas of concerns:
I made a few necessary changes where the original intent was not clear to me. I believe that these were bugs but it would be great if @adamwathan could share his perspective.

Autoprefixer
It seems that autoprefixer was used when generating distribution files but not when building Tailwind via the CLI. I have added autoprefixer to the CLI build process.

defaultConfig
let defaultConfig = require('tailwindcss/defaultConfig')()
The code suggests that this line should be uncommented when the configuration file is created. It did not work as such. I have corrected this.

Out of scope changes
I renamed customConfig.js test fixture to match other fixture names. This is an OCD change.
Note on stdout, stderr, and backward compatibility
The current version of the CLI tool allows for the compiled CSS to be sent to stdout when --output option is not specified. To makes things easier, all other output is sent to stderr. I don't think this is a good idea as it may lead to unexpected behavior. The new version of the CLI tool prints all normal output to stdout and errors to stderr. If the --output flag is not specified, all normal output is suppressed and the compiled CSS is sent to stdout.
This achieves backward compatibility.
In the next major version I would love to deprecate this behavior but still, allow for compiled CSS to be sent to stdout. It could be done via --pipe option.
The idea is that new users can use simpler syntax that would write to default output file.
tailwind build in.css

More advanced users that require piping can use the --pipe option.
tailwind build in.css --pipe

Currently, the beginner users need to use the more complicated syntax.
tailwind build in.css --output out.css

FAQ:

Why no commander?
Commander is great but it is not flexible enough to provide the great user experience. I just could not get the right "feel".

Future:
I wanted to add a bunch of new features but I did not want any of them to potentially block this.
In the future I would like to add:

Minimization option
PurgeCSS option
Source maps option
Ability to watch for changes and rebuild as needed
Ability to generate the configuration file without comments #543

Party trick:
Did you know that you can get help for any command, even for help?

Just taking another look at this!
Am I right that this removes the ability to pipe the output from the tailwind build command into other CLI tools? I noticed there's a default output.css that's used instead of writing the output to stdout.
I know there's at least a handful of people who use that functionality so we should probably continue to support it if we can.

@adamwathan You are correct. I will get that back in tomorrow. I, incorrectly, assumed that it was used for testing only.

Amazing, thanks dude!


Parallelized inference for a batch across multiple GPUs?

Is there a way to use any of the existing generators to distribute a batch of string completions to multiple available GPUs, each with the same small LLM loaded independently on each?
Apologies if I've missed the documentation, I can of course load a larger LLM across multiple GPUs and see them both crank up memory and GPU usage when making an inference. But I have a simpler case where I just want to divide an conquer a batch inference with the same small LLM loaded on each card individually. When I expose multiple GPUs, the small model and inference only ever perform on just one.

There is no support for this in the existing generators. Each generator can only reference a single model instance. But what you want in this case is probably multiprocessing. You'll want each model in its own process to avoid having to run each generator in turn (or GIL-related inefficiencies, not that multithreading is really supported either).
Maybe something like this, to get you started.
import torch.multiprocessing as mp

def worker(index):

    # Get GPU split from index
    gs = [0, 0, 0, 0]
    gs[index] = 24

    # Alternatively:
    # gs = None
    # os.environ["CUDA_VISIBLE_DEVICES"] = ["0", "1", "2", "3"][index]

    # Import exllamav2 within each worker
    from exllamav2 import ExLlamaV2, ExLlamaV2Config, ExLlamaV2Cache, ExLlamaV2Tokenizer, Timer
    from exllamav2.generator import ExLlamaV2DynamicGenerator

    # Load model etc.
    print("Loading:", index)
    model_dir = "/mnt/str/models/llama3-8b"
    config = ExLlamaV2Config(model_dir)
    model = ExLlamaV2(config)
    model.load(gpu_split = gs)
    cache = ExLlamaV2Cache(model, max_seq_len = 1024*45)
    tokenizer = ExLlamaV2Tokenizer(config)
    print("Loaded:", index)

    # Do a single test generation in each process
    generator = ExLlamaV2DynamicGenerator(
        model = model,
        cache = cache,
        tokenizer = tokenizer,
    )
    prompt = "Once upon a time,"
    output = generator.generate(prompt = prompt, max_new_tokens = 150, add_bos = True)
    print("----------->", index)
    print(output)

if __name__ == "__main__":

    # Required
    mp.set_start_method("spawn")

    # Launch processes
    processes = []
    num_workers = 4
    for i in range(0, num_workers):
        p = mp.Process(target = worker, args = (i,))
        processes.append(p)
        p.start()

    # Wait for all processes to end
    for p in processes:
        p.join()

You'll then want to have some mechanism in the main process to split batches, distribute them into the subprocesses and collect the outputs.

Excellent. Thank you for the quick and thorough response (and for the awesome library).


Requirements Will not Install

Using python310 trying to install requirements in the venv produces several version mismatch errors including inability to install triton==2.0.0
Collecting clip@ git+https://github.com/openai/CLIP.git
  Cloning https://github.com/openai/CLIP.git to c:\users\ryan palmer\appdata\local\temp\pip-install-vcl2lhqs\clip_83a03121548e499f8d4b5d346b56e55d
  Running command git clone --filter=blob:none --quiet https://github.com/openai/CLIP.git 'C:\Users\Ryan Palmer\AppData\Local\Temp\pip-install-vcl2lhqs\clip_83a03121548e499f8d4b5d346b56e55d'
  Resolved https://github.com/openai/CLIP.git to commit a1d071733d7111c9c014f024669f959182114e33
  Preparing metadata (setup.py) ... done
Collecting black==23.7.0
  Using cached black-23.7.0-cp310-cp310-win_amd64.whl (1.3 MB)
Collecting chardet==5.1.0
  Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting einops>=0.6.1
  Using cached einops-0.7.0-py3-none-any.whl (44 kB)
Collecting fairscale>=0.4.13
  Using cached fairscale-0.4.13-py3-none-any.whl
Collecting fire>=0.5.0
  Using cached fire-0.5.0-py2.py3-none-any.whl
Collecting fsspec>=2023.6.0
  Using cached fsspec-2023.10.0-py3-none-any.whl (166 kB)
Collecting invisible-watermark>=0.2.0
  Using cached invisible_watermark-0.2.0-py3-none-any.whl (1.6 MB)
Collecting kornia==0.6.9
  Using cached kornia-0.6.9-py2.py3-none-any.whl (569 kB)
Collecting matplotlib>=3.7.2
  Using cached matplotlib-3.8.2-cp310-cp310-win_amd64.whl (7.6 MB)
Collecting natsort>=8.4.0
  Using cached natsort-8.4.0-py3-none-any.whl (38 kB)
Collecting ninja>=1.11.1
  Using cached ninja-<IP_ADDRESS>-py2.py3-none-win_amd64.whl (312 kB)
Collecting numpy>=1.24.4
  Using cached numpy-1.26.2-cp310-cp310-win_amd64.whl (15.8 MB)
Collecting omegaconf>=2.3.0
  Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
Collecting open-clip-torch>=2.20.0
  Using cached open_clip_torch-2.23.0-py3-none-any.whl (1.5 MB)
Collecting opencv-python==<IP_ADDRESS>
  Using cached opencv_python-<IP_ADDRESS>-cp36-abi3-win_amd64.whl (35.6 MB)
Collecting pandas>=2.0.3
  Using cached pandas-2.1.3-cp310-cp310-win_amd64.whl (10.7 MB)
Collecting pillow>=9.5.0
  Using cached Pillow-10.1.0-cp310-cp310-win_amd64.whl (2.6 MB)
Collecting pudb>=2022.1.3
  Using cached pudb-2023.1.tar.gz (224 kB)
  Preparing metadata (setup.py) ... done
Collecting pytorch-lightning==2.0.1
  Using cached pytorch_lightning-2.0.1-py3-none-any.whl (716 kB)
Collecting pyyaml>=6.0.1
  Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
Collecting scipy>=1.10.1
  Using cached scipy-1.11.4-cp310-cp310-win_amd64.whl (44.1 MB)
Collecting streamlit>=0.73.1
  Using cached streamlit-1.28.2-py2.py3-none-any.whl (8.4 MB)
Collecting tensorboardx==2.6
  Using cached tensorboardX-2.6-py2.py3-none-any.whl (114 kB)
Collecting timm>=0.9.2
  Using cached timm-0.9.11-py3-none-any.whl (2.2 MB)
Collecting tokenizers==0.12.1
  Using cached tokenizers-0.12.1-cp310-cp310-win_amd64.whl (3.3 MB)
Collecting torch>=2.0.1
  Using cached torch-2.1.1-cp310-cp310-win_amd64.whl (192.3 MB)
Collecting torchaudio>=2.0.2
  Using cached torchaudio-2.1.1-cp310-cp310-win_amd64.whl (2.3 MB)
Collecting torchdata==0.6.1
  Using cached torchdata-0.6.1-cp310-cp310-win_amd64.whl (1.3 MB)
Collecting torchmetrics>=1.0.1
  Using cached torchmetrics-1.2.0-py3-none-any.whl (805 kB)
Collecting torchvision>=0.15.2
  Using cached torchvision-0.16.1-cp310-cp310-win_amd64.whl (1.1 MB)
Collecting tqdm>=4.65.0
  Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting transformers==4.19.1
  Using cached transformers-4.19.1-py3-none-any.whl (4.2 MB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10
ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from versions: none)
ERROR: No matching distribution found for triton==2.0.0```

Duplicate of #41
sorry haha


Earth

Hi,
I reupdated the C files from pyx, and put earth as a submodule as sklearn.additive in this module.

Thanks for this PR! sorry for the delay.

Thanks for the PR ! sorry for the delay.


Streaks Broken?

It should be 7 day streak right on both right?

hello @Jorgixhallo
This is a duplicate of #1075 and is current being fixed.
Happy Coding!