Update README.md - Add webpack to list of 'used by' projects

You're doing yourself a disservice by not listing one of the most popular buzz-wordy tools out there at the moment.

dep tree webpack -> watchpack -> chokidar

Good point, thanks.
I wonder if we should list browserify instead of watchify. Maybe change the text while the link still goes to the watchify repo, and then the same sort of thing with webpack/watchpack.
Thoughts?

If you consider that most users will have heard of browserify and webpack - but perhaps not their sub-deps or sister projects, I would suggest it would be clear to just list the main project names for max exposure.

And have the links point to where?

The main project pages for each... ?

Seems slightly confusing since chokidar isn't a dep there. Maybe I'm overthinking it.
But still, I'm kinda leaning toward the text listing the main project: webpack/browserify/gulp(eventually), while the link points to the repo that actually uses chokidar: watchify/watchpack/glob-watcher

^ seems like the perfect compromise :+1:

Well I kind of changed my mind since all these projects have nice websites I decided to use those rather than repo links (other than PM2 since their website is about the commercial service rather than the open source project). Should be clear enough - anyone motivated to understand how these projects use chokidar should be able to figure it out.


community[minor]: Add indexes module

For #4064

cc @jacoblee93 part 1 of the indexing PR

A few comments but I think otherwise good!


RaggedTensorToVariant abort

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
tf 2.10
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
`tf.raw_ops.RaggedTensorToVariant` crash with abort with `batched_input=True`.

Standalone code to reproduce the issue
import tensorflow as tf
input_splits = [[0, 2, 3, 5, 6], [0, 1, 2], [0, 1, 2, 3, 4, 5]]
input_values = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
output_tensor = tf.raw_ops.RaggedTensorToVariant(rt_nested_splits=input_splits, rt_dense_values=input_values, batched_input=True)

Relevant log output
F tensorflow/core/framework/tensor_shape.cc:186] Non-OK-status: InitDims(dim_sizes) status: INVALID_ARGUMENT: Expected shape dimensions to be non-negative, got -1
abort (core dumped)

and there's a related CVE

@creakseek,
In tf-nightly no crash observed and displaying only Invalid Argument error as the arguments you provided are not valid. Hence the session crash problem was taken care in tf-nightly version. Kindly find the gist of it here. Thank you!

It was already protected in the upcoming release !pip install tensorflow-cpu==2.11.0rc1 so I think we could close it.


Validator monitoring service Update Milestones

During the development of Milestone 1, we decided to slightly change the order of tasks. The reason lies in the development process during which we decided to more focus on tg bot updates because all the following tasks (that we moved to Milestone 2) require a fully working tg bot.  The overall number of deliverables remains unchanged.    As suggested by evaluator @dsm-w3f in the evolution: https://github.com/w3f/Grant-Milestone-Delivery/blob/master/evaluations/validator_monitoring_service_1_dsm-w3f.md we open an amendment request.
Project Abstract

Please replace these instructions with a brief description of your project summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x ] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


More specific enums

I was just reading this, and found this. And I realized it would be a good idea to replace the string-only enums by this, to avoid the generic Enum class.
We also get some benefits, such as:

auto(), to reduce boilerplate
implicit string conversion, to avoid appending .value suffix every-time

I opened this issue to remind myself to open a PR for this. So I want to be "assigned" (in the GitHub context) to this issue.
I'll implement this later. I'm busy right now

NVM, it requires Py v3.11 at minimum

I am sorry that this is a very late reply. Thank you for all of your contributions, and I recently also went back to work on this project, therefore I fixed numerous bugs and added a little more features to the parser.  Don't worry about the readme, we can change it ;)
So continue working on this! 👍👍👍

I'm sorry for the wait. I'll implement this soon. I was (and still am) busy


Merge main into f/storage-class

Merging PF5 changes into the branch (and the latest main). Will look to get it into tmp-incubation for us to rebuild the incubation branch with PF5 from the ground up.

Left over from my other PR that I made to main...
/override delete-pr-quay-image


Rac 269 FIT Vagrant automation for Jenkins

This PR 'vagrantizes' FIT testing for Jenkins automation which enables Jenkins to execute RackHD deployment and test in a Vagrant/Virtualbox environment and report results.
7 files are included in this PR.
2 new files:
test/fit_tests/deploy/run_vagrant_installer.py - Jenkins deploy and install only
test/fit_tests/deploy/run_vagrant_smoke_test.py - Jenkins deploy and run Smoke Test
Revisions -
test/fit_tests/HWIMO-BUILD:
This is the test runner required by Jenkins. Removed all OnRack related entries, added a config parameter.
test/fit_tests/Vagrantfile:
Added required parameters to the 'template' section which is used as the RackHD server OS template. Note the port assignments.
Fixed a minor bug in the 'dev' section where Vagrant will stop processing if it receives a non-zero exit code in any script command. Lines 37-38 have ';echo' at the end of the line to ensure that the line always returns a zero exit code.
test/fit_tests/common/fit_common.py:
Vagrant requires that ssh access port for the host be something other that 22. Wish I didn't have to do this but needed to make a special branch in 'remote_shell()' to set ssh port to 2222 when running a Vagrant deployment.
test/fit_tests/config/stack_config.json:
Added 'vagrant_remote' stack for running Jenkins vagrant automation. Removed all MN Lab stack references.
test/fit_tests/deploy/README.md:
Updated deployment README and removed all references to OnRack.
Jenkins 'Vagrant Smoke Test' is running in MN here:
https://roebling.hwimo.lab.emc.com/jenkins/job/Running-Tests/job/RackHD_Vagrant_Smoke_Test
Reviewers:
@RackHD/corecommitters
@hohene
@diontje
@johren

+1

Closing this PR, re-submitting to CIT integration branch


Fix cache key id

Questions
Answers

Description?
The current cache strategy "getCacheId()" does not use all the variables that affect the price, proving that incorrect values are shown in the price to many customers. PrestaShop/Prestashop#17111

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#17111

How to test?
-

I know there is an issue in https://github.com/PrestaShop/PrestaShop/issues/17111 but it's a generic issue, I would like a scenario involving this module 😉

https://user-images.githubusercontent.com/194784/132044777-e6432430-4765-407b-b36f-a916e059c5ec.mov

this fix for ps_specials https://github.com/PrestaShop/ps_specials/pull/4


fix reservation creation

reservation creation list looks like this
config, scopegroup_id, address_id, reservation_id=None, options=None, mac=None
but in the following places it was used like that
config, scopegroup_id, address_id, dhcp_options, mac

had to fix linting errors unrelated to my changes because ci won't let me merge without fixing it


Start deploying NPM packages of the hotels

add explanation how to use them (use RN from your dependencies and require only this NPM package)

✅


Add support for --sass-convert option

Upcoming in SassDoc 1.7.0

Can I ask why you set this to wontfix? Would be really useful for our team...

I thought I targeted this at version 2.0 of the plugin actually.
Anyway, SassDoc 2.0 is in RC and currently in testing phase. .sass to .scss conversion is intrinsic now so you don't even have to set an option.
So I would advise you to start using 2.0 now. The Grunt plugin is ready as well.
Just npm i grunt-sassdoc@beta -D
If for some reasons you really need to stick to 1.0 I will implement it.

We'll upgrade to 2.0 and try it out. Thanks!


Improve notification and stopwatch styles

Add dot-style indicators to notification and time tracker
Slightly reduce whitespace between right-aligned icons
Move notification icon to right on mobile
Switch menu icon to SVG

notification_count should be still red?

notification_count should be still red?

I prefer it not to be red because red should generally only indicate errors.

Will rebase soon.

Please resolve the conflicts.

LG-TM work

Thanks for resolving :)

I see that zero notifications and non-active stopwatch currently render while they should not, maybe something has gone wrong during rebase, will check later.


support symfony 5

Can you tell me how long it will take to be compatable with symfony 5?

:+1:  I would appreciate this too, thanks

I don't think so. https://github.com/KnpLabs/DoctrineBehaviors has different approach, especially for Tree and Translatable.

@gregquat that may be so, but if this is no longer maintained then it's still better for people to be directed to https://github.com/KnpLabs/DoctrineBehaviors. They can even contribute new features they need there.

@yakobe The 2 philosophies aren't the same so I just think it's not a real solution to redirect to KNP.
The real solution now is to use the fork mentioned above by kl3sk and use https://github.com/antishov/StofDoctrineExtensionsBundle
This is a fork that supports symfony5. But of course, everybody does whatever he wants.

Just in case this might help anyone here.
I take care of DoctrineBehaviors since December 2019 and it has major release 2.0 with Symfony 5 support. These 2 bundles have 95 % overlapping features, so in case you use want to use Symfony 5, there is a way.
You can read more about it:

Doctrine Behaviors 2.0 - Reloaded
Migrate Gedmo to KnpLabs - the migration is fully automated in PHP with @rectorphp, so don't worry about extra work

1.4.0 is now released.


retire scala-swing Google Group and remove from readme

no traffic in a long time — I don't think the library needs a dedicated group

@benhutchison wdyt?

Oops, missed this. Agree.

as for actually shutting down the group, I used https://groups.google.com/forum/#!contactowner/scala-swing to send an email to whoever owns the group, I don't know who that is, and I don't see any other way to find out

keeping the issue open until we can actually get the group shut down

@fsalvi @cunei are you perhaps managers or owners of the group?

@SethTisue Google tells me: "There is no group named scala-swing". I've never been subscribed, so I don't know where it lived. Did you delete the group, and if so, did you download an archive before deleting it?

interesting. I didn't delete it, but it's gone. not sure what happened there. I don't have an archive, no. but there wasn't much to save, anyway.
so, we're done, then.


Fix WebDatasets KeyError for user-defined Features when a field is missing in an example

Fixes: https://github.com/huggingface/datasets/issues/6900
Not sure if this needs any addition stuff before merging

@lhoestq Thank you!


AttributeError: mro

fieldz version: 0.0.2
Python version: 3.10.13
Operating System: MacOS 12.6

Description
I was trying to use griffe-fieldz on my codebase, which uses a lot of type annotations. I noticed the below error, which I've now simplified into an MRE.
What I Did
import fieldz
from pydantic import BaseModel
from typing import Any

class Foo(BaseModel):
    foo: Any

fieldz.fields(Foo)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/anaconda3/envs/napari2/lib/python3.10/site-packages/fieldz/_functions.py", line 28, in fields
    fields = get_adapter(obj).fields(obj)
  File "/opt/anaconda3/envs/napari2/lib/python3.10/site-packages/fieldz/adapters/_pydantic.py", line 173, in fields
    return tuple(_fields_v1(obj))
  File "/opt/anaconda3/envs/napari2/lib/python3.10/site-packages/fieldz/adapters/_pydantic.py", line 100, in _fields_v1
    constraints=_constraints_v1(modelfield),
  File "/opt/anaconda3/envs/napari2/lib/python3.10/site-packages/fieldz/adapters/_pydantic.py", line 107, in _constraints_v1
    for subt in modelfield.type_.__mro__:
  File "/opt/anaconda3/envs/napari2/lib/python3.10/typing.py", line 375, in __getattr__
    raise AttributeError(item)
AttributeError: __mro__. Did you mean: '__or__'?

Okay this is confused by the fact that Python 3.11 fixed this in the core language:

Changed in version 3.11: Any can now be used as a base class. This can be useful for avoiding type checker errors with classes that can duck type anywhere or are highly dynamic.

Source

A workaround is to use typing_extensions.Any instead of typing.Any in those old versions.

On the other hand, Union and various other types like this are not wrapper by typing_extensions, so I can't see how to avoid this issue:
import fieldz
from pydantic import BaseModel
from typing import Union

class Foo(BaseModel):
    foo: Union[int, float]

fieldz.fields(Foo)

Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "/Users/milton.m/Programming/fieldz/src/fieldz/_functions.py", line 28, in fields
    fields = get_adapter(obj).fields(obj)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milton.m/Programming/fieldz/src/fieldz/adapters/_pydantic.py", line 177, in fields
    return tuple(_fields_v1(obj))
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milton.m/Programming/fieldz/src/fieldz/adapters/_pydantic.py", line 104, in _fields_v1
    constraints=_constraints_v1(modelfield),
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/milton.m/Programming/fieldz/src/fieldz/adapters/_pydantic.py", line 111, in _constraints_v1
    for subt in modelfield.type_.__mro__:
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1318, in __getattr__
    raise AttributeError(attr)
AttributeError: __mro__


Implementation of the first clients api test.

This is really cool! Clojure looks to be pretty expressive. Definitely not easy to read for a noob, but I think I understand most of what's going on here. I've asked a few questions to satisfy my own curiosity, but this is your impl, not mine, so feel free to tell me to just shut up and merge it. :) As long as the test suite is green, you can do whatever you want in here.
I think my favorite part of this is how you havent needed to mention the actual field names of the clients table once!

OK.  I'm pretty happy with this implementation at this point (probably in the "ignorance is bliss" world right now, but that's ok for a beginner).  Go ahead and merge when :green_heart:

BTW, we should have a slack setup for the api shootout.

The thing that is most cool to me about clojure is the persistent data structures [gah, I wish it weren't lisp...:( ]  If you don't know about persistent data structures, I recommend spending a few minutes googling and reading.  https://en.wikipedia.org/wiki/Persistent_data_structure is a good starting point.  Rich Hickey (the guy who initiated clojure) has some good talks about it, as well.

Paul had to explain to me what slack is. :) Sounds like a good idea for general discussion unrelated to any specific PR or commit. He and I will set it up tomorrow!

Yeah, I watched a few talks by Rick Hickey when I first started to get intrigued by Clojure a few years ago. Super smart dude. I remember him describing the persistent data structures' implementation. Using tries or something to be memory efficient, but I don't remember much more than that. I'll need to brush up!

I'm not so excited by Slack.  But we can try it if you like.
What the world needs is about 15 more messaging systems, all alike. It would solve that pressing problem of "how do I send a small hunk of text and maybe a picture to a few people?" that is so difficult now.

So, @BartMassey, what chat system would you suggest for discussion of implementations? Email? Github pull requests?

Email is good. If we want a more chatty chat system, there's always Google Hangouts and IRC, both of which are cross-platform and seem to work fine. I prefer Hangouts because it handles media and formatting and is easier to work with, but meh. Github has an issue tracker that's pretty good, and yes the pull requests.
Like I say, I'm willing to give Slack a shot, but I haven't figured out what it does that these other things don't do... Maybe I missed something when I used it before?

Well, this project is mostly about trying new things, so I just set up a
slack account and invited folks. Looks pretty neat. Most notably, it has
GitHub integration, but then again, so does GitHub. ;)
On Fri, Oct 23, 2015 at 9:09 AM Bart Massey<EMAIL_ADDRESS>wrote:

Email is good. If we want a more chatty chat system, there's always Google
Hangouts and IRC, both of which are cross-platform and seem to work fine. I
prefer Hangouts because it handles media and formatting and is easier to
work with, but meh. Github has an issue tracker that's pretty good, and yes
the pull requests.
Like I say, I'm willing to give Slack a shot, but I haven't figured out
what it does that these other things don't do... Maybe I missed something
when I used it before?
—
Reply to this email directly or view it on GitHub
https://github.com/botandrose/eboshi_api_shootout/pull/76#issuecomment-150620697
.


Fix data search for fieldType = OBJECT for non-string fields

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[x] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@david-leifker  Can you please review the PR? Thanks!

@udbhav-hbk - seeing some linting errors. Please run ./gradlew spotlessApply --rerun-tasks to make sure it gets re-run on all modules. Then commit those formatting changes. Thank you!

@udbhav-hbk - seeing some linting errors. Please run ./gradlew spotlessApply --rerun-tasks to make sure it gets re-run on all modules. Then commit those formatting changes. Thank you!

@david-leifker  Fixed linting issues, please have a look

@udbhav-hbk still getting test failures on linting
369 actionable tasks: 315 executed, 47 from cache, 7 up-to-date
           ··@Test
           ··public·void·testGetQueryBuilderForObjectFields()·{
           ····final·Criterion·singleValueCriterion·=
          -············new·Criterion()
          -····················.setField("testObjectField.numericField")
          -····················.setCondition(Condition.EQUAL)
          -····················.setValues(new·StringArray(ImmutableList.of("10")));
          +········new·Criterion()
          +············.setField("testObjectField.numericField")
          +············.setCondition(Condition.EQUAL)
          +············.setValues(new·StringArray(ImmutableList.of("10")));

           ····Map<String,·Set<SearchableAnnotation.FieldType>>·searchableFieldTypes·=·new·HashMap<>();
           ····searchableFieldTypes.put("testObjectField",·Set.of(SearchableAnnotation.FieldType.DOUBLE));

           ····QueryBuilder·result·=
          -············ESUtils.getQueryBuilderFromCriterion(
          -····················singleValueCriterion,
          -····················false,
          -····················searchableFieldTypes,
          -····················mock(OperationContext.class),
          -····················QueryFilterRewriteChain.EMPTY);
          +········ESUtils.getQueryBuilderFromCriterion(
          +············singleValueCriterion,
          +············false,
          +············searchableFieldTypes,
          +············mock(OperationContext.class),
          +············QueryFilterRewriteChain.EMPTY);
           ····String·expected·=
          -············"{\n"
          -····················+·"··\"terms\"·:·{\n"
          -····················+·"····\"testObjectField.numericField\"·:·[\n"
          -····················+·"······10.0\n"
          -····················+·"····],\n"
          -····················+·"····\"boost\"·:·1.0,\n"
          -····················+·"····\"_name\"·:·\"testObjectField.numericField\"\n"
          -····················+·"··}\n"
          -····················+·"}";
          +········"{\n"
          +············+·"··\"terms\"·:·{\n"
          +············+·"····\"testObjectField.numericField\"·:·[\n"
          +············+·"······10.0\n"
          +············+·"····],\n"
          +············+·"····\"boost\"·:·1.0,\n"
          +············+·"····\"_name\"·:·\"testObjectField.numericField\"\n"
          +············+·"··}\n"
          +············+·"}";
           ····Assert.assertEquals(result.toString(),·expected);
      ... (48 more lines that didn't fit)
  Run './gradlew :metadata-io:spotlessApply' to fix these violations.

@david-leifker Since this PR has been merged, could you please let us know in which upcoming release we can expect it to be included? Additionally, could you share the roadmap or any planned updates for future DataHub releases?

@Nbagga14 - v0.14.2 is the next release, I do not have a timeline for it at the moment.


Geonode map save error

When saving a map in geonode it responds with a network error, but the map is saved after a while.

Is this still an issue, @knl88 ? (I haven't tried saving maps yet).

This should be fixed now:)


184752108 Buyer should be able to view their cart

What does this PR do?
A buyer should be able to view products on the cart
Description of Task to be completed?

The cart should be retrieved from the buyer's session
The product details (name, price, image) should be retrieved from the database for each item in the cart
The cart total should be calculated by summing the prices of the items in the cart
The cart should be sent to the frontend to be displayed to the buyer

How should this be manually tested?

Clone the repository using git clone link

Install node packages that the application depends on: npm i

Checkout to the branch using git checkout <branch-name>

Create a .env file in the root directory and add all environment variables required to run the application. The required variables are listed in the .env.example file available in root directory of the application.

Start the application development server: npm run dev

What are the relevant pivotal tracker/Trello stories?
184752108
Screenshots (if appropriate)

I suggest that you rename the class addProductController  to cartController for clarity so that other CRUD operations like update cart can be included in this class. Otherwise well done!


Module 4 answer boxes overlap

Fixed a small issue where the answer boxes for exercises 2a, 2b, 2c overlapped in a funny way.

Thanks.


Sparse simulator does not support initial_state typecasting

circuit = cirq.testing.random_circuit(2, 4, 0.9)
inititial_state = np.array([1, 0, 0, 0], dtype=np.complex128)
cirq.Simulator().simulate(circuit, inititial_state=initial_state)

throws the error
ValueError: State has invalid dtype. Expected <class 'numpy.complex64'> but was complex128

This might be duplicate of  #871 but its worth clarifying the docstring in the meantime. From Simulator:

    If the initial state is an int, the state is set to the computational
    basis state corresponding to this state. Otherwise  if the initial
    state is a np.ndarray it is the full initial state. In this case it
    must be the correct size, be normalized (an L2 norm of 1), and
    be safely castable to an appropriate dtype for the simulator.

But np.float32 (which throws the same error) should safely cast to np.complex64 no?

This is fixed.


Howto Compose Authorized Services

Let's say I'm using an RBAC and i have several roles:
Role.user, Role.customer, Role.vendor
And I'm using an SecuredRequestHandler , I want to do something like like
handler.authorized(Role.user, Role.customer) { } <+> // can access
handler.authorized(Role.customer, Role.vendor) { } <+> // 404
handler { } // 404

requests to the right of the first authorized will 404 due to: https://github.com/http4s/http4s/pull/1530
Is there a way to compose routes that require different authorization?

There is an authorization monoid see https://jmcardon.github.io/tsec/docs/http4s/authorization.html .
Can you post a complete example, I can try to help here :+1:

Let me know if you need something fully compilable:
val authenticator: StatelessJWTAuthenticator[Eff[S, ?], UUID, User, HMACSHA256] =
  JWTAuthenticator.stateless(
    expiry = 1.hours,
    maxIdle = None,
    identityStore = new SomeBackingStore[S](),
    signingKey = signingKey)

val secured: SecuredRequestHandler[Eff[S, ?], UUID, User, AugmentedJWT[HMACSHA256, UUID]] =
  SecuredRequestHandler(authenticator)

val vendorOnly = BasicRBAC[Eff[S, ?], Role, User, AugmentedJWT[HMACSHA256, UUID]](Role.Vendor)
val customerOrVendor = BasicRBAC[Eff[S,?], Role, User, AugmentedJWT[HMACSHA256, UUID]](Role.Vendor, Role.Customer)

val api: HttpService[Eff[S, ?]] = {
  secured.authorized(vendorOnly) {
    {
      case GET -> Root / "path1" asAuthed user =>
        for {
          response <- Ok(user.asJson)
        } yield response
    }
  } <+>
  secured.authorized(customerOrVendor) {
    {
      case GET -> Root / "path2" asAuthed user =>
        for {
          response <- Ok(user.asJson)
        } yield response
    }
  }
}

https://github.com/parsnips/tsec/commit/02fe55ae154669719624bde827e63e9836b21397

Added a test case demonstrating the issue showing you cannot use role base auth for different verb on same resource.
It was pointed out in gitter that you could use a router.. but at that point roles begin polluting the url structure. Given a non-trivial amount of roles, combination explosion becomes a serious problem for someone using this library.

@parsnips Thank you for pointing out the issues.
Documenting for the sake of this issue, on gitter, there was a discussion about this.
So currently, there is a way of composing these, but it's quite manual. I do agree we need more helpers here.


Install MUI and create basic frontend routes

Pages that we need:

Login
Leaders list
Single leader
Projects list
Single project
Statistics
Handbook
Tags
Users
Settings

Storypoints: 0.75 (45 mins)

Done!


Add Software Engineering Daily podcast

Add the great Software Engineering Daily podcast (https://softwareengineeringdaily.com)

Sorry for that, it's corrected


Test the 2Dshock-droplet with "sigma"

When I tested 2Dshock-droplet with "sigma", the number of cfl was more than 1.Then I changed the code to adaptive dt.
But when I changed to adaptive dt, the delta t is too small.Why does this problem arise? How do I deal with this problem?

Closed in lieu of the discussion topic.


Notifier: added code to allow receiving data without handshakes

I'm not doing a thumbs down on this yet. @yannick-polius  please put in a description for this pull request to explain the use case and why it needs to be changed.  Some pseudo-code to show case the improvement will not hurt the case, I am sure.
So far what I have seen does not look like something I will merge. It is thread unsafe.

I will review this again tomorrow.

NOT A MULTITHREADED SCENARIO
i made this method so that i can call the notifier's ReadData within my DeepIO class. if you read the PR for Research it shows how I use the class.

I have no access to VPN so I cannot see your Research PR. It should be evident here and in unit tests here how it is to be used.

hold for merge with craig's update

updated with craig's changes, please review.

@yannick-polius and @craig-cogdill I will reach out to you guys from my gmail.  I need an explanation on the "why" for this pull request.
Originally Notifier is sending a notification that something has changed. It also received confirmation from the subscribers that the notification was received.
Now we have a new function ReceiveData(...)  that doesn't really feel like it belongs here. To be honest if feels like functionality is being crammed into the notifier class due to that it is being convenient but it doesn't feel like it follows the original use-case.  It feels like a completely new use-case.
Remember S.R.P!


Create detailed outline to brainstorm blog for federal sales

Detailed outline will help the team determine how to partition the blog posts.

Completed the detailed outline, which can be found in this document.


Add llama.cpp backend

Adds a llama.cpp backend to run queries locally, plus an embedding provider using all-roberta-large-v1.
I've attempted to refactor the code in models/ to match the general API style in use for memory and embeddings. There were some other miscellaneous changes necessary to propagate a different model through the pipeline.
Initializing an agent as below, I'm able to run the headphone research example successfully (albeit with slow, wonky results):
agent = loopgpt.Agent(
    model = LlamaCppModel(model="ggml-vicuna-7b-1.1-q4_0.bin", prompt_style="vicuna"),
    embedding_provider=RobertaLargeEmbeddingProvider()
)

If someone is able to test the OpenAI backend with these changes that would be appreciated - the changes aren't big but I can't be 100% sure I didn't fumble anything.

@cg123 this is great! Will test this out and get back to you soon!

@cg123 We have requested to get the Llama model weights so it could take atleast a few more days before we can test. Have you done any testing on your end? Thanks again for the work!


adding build number to pro

adding build number to ArcGIS Pro add-in

@topowright @ACueva Now that the build number is working we may want to do something similar with the addin build date.


Get all players

Hi, is there an endpoint to get a list of ALL existing players ? Meaning, all Bundesliga players and not only from transfermarket or your own team. I checked out your page [https://kevinskyba.github.io/kickbase-api-doc/index.html] to find an endpoint but unfortunatelly it wasn't part of the list. I even tried looking for https://api.kickbase.com/players/ or similar endpoints hoping that it would return all players but still no luck.
Thanks for your amazing api, very helpful and well coded!

Hi Nicolai, you can get all players through the team_players(team_id) endpoint. Simply iterate over all teams and append every player to a list. The team_id is a random integer. I just figured them out, here's the list of team_ids:
team_ids = [2,3,4,5,7,9,11,13,14,15,18,19,20,22,24,28,40,43]
playerlist = []

for x in team_ids:     if kickbase.team_players(x):         for player in kickbase.team_players(x):             playerlist.append(player)

24/25 [2, 3, 4, 5, 7, 9, 10, 11, 13, 14, 15, 18, 24, 39, 40, 43, 50, 51]


After greetings , this issue is intended to request the improvement of the project documentation in the following aspects:

After greetings , this issue is intended to request the improvement of the project documentation in the following aspects :
1-getmonero.org admin privileges contributors identification
2-Creating a blog section related to all legal cases , regulations,KYCs in the most stable crypto exchange platforms
3-Raising the public situational awareness when it comes to monero's security policies , bug bounty programs
4-you have to find a way to get monero out of the blackbox which is always matching monero with the dark markets
Finally you have to keep an eye on ciphertrace and binance and what is happening to them recently , and provide monero's community with these updates ,
regards.
Originally posted by @AAH20 in https://github.com/monero-project/monero/issues/7909
Originally posted by @AAH20 in https://github.com/monero-project/meta/issues/605

1-getmonero.org admin privileges contributors identification

This most likely will not happen

2-Creating a blog section related to all legal cases , regulations,KYCs in the most stable crypto exchange platforms

This is best covered by outside woekgroups, eg: https://moneropolicy.org. Some more prevalent link to the MPWG / ComplyFirst / Perkins Coie whitepaper could be found useful though.

3-Raising the public situational awareness when it comes to monero's security policies , bug bounty programs

How do you suppose we do this? Do you suggest a blog post on the VRP? That is probably warranted.

4-you have to find a way to get monero out of the blackbox which is always matching monero with the dark markets

Again, this is probably best addressed as a part of a workgroup project, like Monero Policy or Monero Space. Relevant changes to the website can be addressed on a per-issue (per-change) basis.

@SamsungGalaxyPlayer thanks for your detailed response , anyway somethings here dependent on the core team seem to be outdated and not clear which affects the reputation and the adoption.


Mac OSX app Packages printed in version 10.15 and above crashed in system 10.14 and below, so far the problem has not been located

WVJB Bug Report
Thanks for reporting an issue with WebViewJavascriptBridge.
Do these 4 things and I will fix your problem!

Go to https://github.com/marcuswestin/WebViewJavascriptBridge and click Fork.
Clone your fork, cd into it and run make test. All tests should pass!
Edit Tests/WebViewJavascriptBridgeTests/BridgeTests.m and create a new, failing test which demostrates your issue.
Create a pull request for https://github.com/marcuswestin/WebViewJavascriptBridge

That's it!
I will take it from there and promise that I'll fix your problem ASAP.
If you don't do this then I can't help you!
And I probably won't :)
Cheers,
@marcuswestin

pod引入导致高版本编译出来的APP在低版本上崩溃 直接拖入程序中问题解决


Database ORM needed to setup our own database for users

In order to set up the database, we need to set up some ORM like SQLAlchemy
SQL Alchemy docs

Done pull request #54


Java Symbol solver does not resolve bindings of parameters if the classes refers third party library

I am using JavaSymbolSolver  to infer the parameter type, using binding information.
I do not have the jars, of the project or the library referenced.What I have is the the source code.
In the combined type solver i added the reflectionsolver and provided path to the source code of the project.
I am able to do this using eclipse JDT, but not using javasymbolsolver. I really want to use javasymbol solver since it integrates with javaparser. Here is the link to my implemetatiomn using eclipseJDT:
https://github.com/ameyaKetkar/MethodPArserEclipseJDT
In this repo, in App.java, I first try to get list of all functionalInterfaces declared in the project and then try to look for methodDeclarations which use these functional interfaces by getting the binding information. (This is the requirement of my research)
how can i use javasymbolsolver to address my requirements/

This is something supported now


Rate is wrong for cUSDC and cWBTC

https://github.com/AlphaWallet/TokenScript-Examples/commit/fd476dea3fec50e13bcf4cead48271854a180756


Offset markers when dragging them on touchscreens

Points and vertices are rendered relatively small in iD, meaning a finger can obscure the entire marker while dragging it around on touchscreens. Some other touch apps compensate by offsetting the marker out from under the touch location. We could try the same in iD.

What about placing an object in the centre of the screen? Like: „Adjust position“ –> node/object sticks to the centre of the screen –> I align/move the map –> tap to place.

What about placing an object in the centre of the screen? Like: „Adjust position“ –> node/object sticks to the centre of the screen –> I align/move the map –> tap to place.

@tomasokol Hmm that workflow is fine for phone-only apps, but iD also has to work seamlessly on tablets and touchscreen laptops. I think simply dragging nodes around with your finger is intuitive if you can see where the node will be placed. But let's see how it works in practice!

Seems like this issue is trickier than it first seems, since iD relies on SVG hit-testing to determine the target data of events like node drags. I don't think there's an easy way to offset this test from the touch point.
An alternative solution would be to show a magnifying glass of the space under the finger, but this is more abstract and also sounds complicated.


Lab 2 Part 3

Deliverables for Lab 2 Part 3

I used 1e-4 as the error threshold / tolerance, lmk if I should lower it


Update GitHub language breakdown

Currently, the language breakdown of this repo indicates that it's mostly Visual Basic .Net. That's because the last change made to the repo was done before VBA was added to GitHub in December 2019 (via Github-Linguist v7.7).

Normally, any changes (even a space added to the README) would be enough to trigger a new analysis of the languages in the repo.
It would be nice to push a fictitious change to this project so that it can appear correctly labelled as a VBA project when people search on GitHub.
I can always create a PR for this, but I don't think this is worth adding me as a contributor 😅.

Did you get a chance to look at this? It should really take 30 sec.


Error with "click" when mass searching

Getting an error with attempting to use the mass search function, using python 2.7.8 and click 7:
from dimedbpy import mass_search
search = mass_search(100)

Traceback (most recent call last):
  File "test.py", line 23, in <module>
    search = mass_search(100)
  File "/Users/nunen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/nunen/.pyenv/versions/2.7.8/lib/python2.7/site-packages/click/core.py", line 703, in main
    args = list(args)
TypeError: 'int' object is not iterable

Putting it in as a string or a float doesn't help either. When I leave the function empty (just mass_search()) it works fine.
I've temporarily resolved it by simply removing the 4 lines about Click above the function in init.py.

Hey there,
Apologies about the lack of response. I'm currently working on getting the final release of DIMEdb out, so time is a little scarce. I will attempt to resolve this issue this evening.
Hardly anybody uses the click interface, so I'm probably going to depreciate that.
Regards,
Keiron

So, I finally go around to doing this.
The new release should fix any issues related to this. I know a lot of people didn't have them, but I was able to reproduce today so I got around to fixing it.


SNOW-650150: Add some indication to DataFrame.show()  that it isn't all the results

What is the current behavior?
No indication that show is only printing top results, which could mislead users that aren't aware.
>>> df = session.range(1,12).to_df('col1') # create 11 element sequence
>>> df.show()
----------
|"COL1"  |
----------
|1       |
|2       |
|3       |
|4       |
|5       |
|6       |
|7       |
|8       |
|9       |
|10      |
----------
>>> df.show(n=11)
----------
|"COL1"  |
----------
|1       |
|2       |
|3       |
|4       |
|5       |
|6       |
|7       |
|8       |
|9       |
|10      |
|11      |
----------

What is the desired behavior?
Option 1:
Some indication that this is a paged result. Like 1/n, or 15 out of # rows (if that is efficient to do).
Option 2:
Create a DataFrame.head() function that replicates pandas behavior, making it more obvious that this is a preview.
How would this improve snowflake-snowpark-python?
Users will not accidentally realize that they are omitting results when results sets are right around the threshold of show
References, Other Background

Hey @mbkupfer thanks for your suggestion. I think option 1 is better that we will add one line saying how many rows are displayed, but probably will not count the total rows in this dataframe since it needs another call to count(), which might not be efficient. Option 2 might make users confused because pandas' head is to return n rows, instead of print n rows.


linux: disable NTFS_FS, enable NTFS3_LZX_XPRESS and NTFS3_FS_POSIX_ACL

Description of changes
Disables the old read-only NTFS driver, and enable the recommended options for the new NTFS3 driver.
Arch and Fedora use the same configuration.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Please target the staging branch.

Please target the staging branch.

You don't need staging for changes to the kernel.

Is there anything else to do for this to be merged?

Other than the rebase, no, I can merge it once it's done.

Closing to avoid spamming everyone. Please reopen this PR targeting master, and not staging, as is customary for kernel work.


Added emscripten Toolchain

Reopened the pull request from: https://github.com/ruslo/polly/pull/93
I'm not sure I understood your comments here: https://github.com/ruslo/polly/pull/93#discussion_r73873153 - isn't this script loaded by polly? I didn't really understand what you meant by " pollute your current space", if you were referring to the test to $ENV{EMSCRIPTEN}, I prefer to have in CMake and not in polly.py because of IDE integration
It works with original CMake without needed to be patched [ emscripten doesn't really suffer from: https://cmake.org/Bug/view.php?id=15826 as these are not compilation flags as described in the issue, but linker flags, however it seems to be a real bug elsewhere: https://gitlab.kitware.com/cmake/cmake/issues/15826 ]
Added package emulation into compiler/emscripten [ I guess in this case it is tied to the toolchain, so I would think it made sense to have these in polly ]

I'm not sure I understood your comments here

If you will have several versions of SDK you have to do export EMSCRIPTEN=/path/to/sdk/A before build. Alternatively you can set in your .bashrc:
export EMSCRIPTEN_A=/path/to/sdk/A
export EMSCRIPTEN_B=/path/to/sdk/B

and load the correct version in toolchain (I probably was wrong about polly.py, toolchain should works fine for your case):
string(COMPARE EQUAL "$ENV{EMSCRIPTEN_${EMSCRIPTED_SDK_VERSION}}" "" _no_env)
if(_no_env)
  # check ENV{EMSCRIPTEN}, report error if not found
else()
  set(ENV{EMSCRIPTEN} "$ENV{EMSCRIPTEN_${EMSCRIPTED_SDK_VERSION}}")
endif()

This is how iOS/OSX toolchains load different version of Xcode, this is how Android toolchains switched between several NDKs, Ninja/NMake toolchains do work a little bit different but with the similar idea - read VC<visual-studio-version>COMNTOOLS environment variable.
It's not a problem if you have only one version, just an idea for the future.


Discard doesn't do anything

Type: Bug
The in line editor just won't go away. I don't want to accept the changes, I just want it gone.  Clicking discard does nothing.  If discard is clicked first, I can't even click Accept then Ctrl Z to backout changes, neither button will work. The highighted proposed change remains on screen, This has happened multiple times. I have to close and reopen VS Code to resolve.
Extension version: 0.23.2024102903
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.26120
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) Ultra 7 155H (22 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
63.46GB (24.42GB free)

Process Argv
--crash-reporter-id 5a266760-f041-4517-840f-8c14c5e3458b

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31185841
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

/duplicate of https://github.com/microsoft/vscode-copilot-release/issues/1625 but we still need repro steps...


Tapping "Whatup" breaks the framed kitchen sink demo.

In Lists with icons, tapping Whatup breaks the app:
Refused to display 'https://www.google.com/?gws_rd=ssl' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
6main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/modals' cannot be created in a document with origin 'null'.
8main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/popovers' cannot be created in a document with origin 'null'.
2main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/modals' cannot be created in a document with origin 'null'.
2main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/lists' cannot be created in a document with origin 'null'.
4main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/forms' cannot be created in a document with origin 'null'.
2main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/popovers' cannot be created in a document with origin 'null'.
main.js:27273 Uncaught SecurityError: Failed to execute 'pushState' on 'History': A history state object with URL 'http://kitchen.reapp.io/buttons' cannot be created in a document with origin 'null'.

Ah yes, need to remove the links to external sources for the demo :+1: thanks dude.

Should be fixed.


Small refactoring in JLoadTest

Please merge it as soon as possible.

to keep existing naming logics of in your case it is necessary to add new method(s):
addListener(s)

Ok now problems

@dlatnikov please look at it again

@dlatnikov @gd-jagger-jenkins-robot please look at it again


how notifications are composed for a given user?

@l3r8yJ
Assuming that we have n users that are using bot, they all provide their GitHub token and then we need to stream the notifications.
So, we need to store token somehow to determine which notifications will go to which user
WDYT?

@h1alexbel I think we should send a stream of something like this.
{
  "gh-token": "blah-blah-blah",
  "chat": "chat-id"
}

then it goes to the hub -> auth -> notification service and notifications start streaming notifications with chat and text to the bot
wdyt, I am not so well versed in the architecture of microservices

A bit later I will create a pull request with a skeleton and a bunch of POC code, which we will discuss, wdyt

@l3r8yJ let's say user 1 subscribed to the notifications with his token.
when a new notification happens it goes from GitHub Server to notifications service, then to the hub.
In hub we need to decide to which user(basically just conversation id or chat id) we need to send a message.
WDYT?

resolved


Bump dependencies to get a single version of rand

This removes a few duplicate crates in the dependencies, and a few exceptions (at
the price of a new one) in the cargo-deny configuration.

Nice!


Unknown iOS platform: 'macosx' - Compose 1.5

Describe the bug
I have created a macOS target in my Compose Multiplatform project.
When I build my app for that macOS target, I have an error: Unknown iOS platform: 'macosx'. It works well when I build for the default iOS target.
It worked well when I was using Compose 1.4 but after upgrading to 1.5, the error happened.
Affected platforms
macOS
Versions

Kotlin version*: 1.9.0
Compose Multiplatform version*: 1.5.0
OS version(s)* (required for Desktop and iOS issues): macOS 13.5
OS architecture (x86 or arm64): Apple M1 Pro
JDK (for desktop issues): no, native macOS using Xcode

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Create a Compose Multiplatform project using this template with Compose 1.5
Go to Xcode and open the iosApp.xcodeproj of the project.
Create a new macOS target.
Copy the content of iOSApp.swift and paste it in the macOS.swift file.
Select the new macOS target, select your device in the top Xcode selector and try to launch it.
Error happened.

Expected behavior
Should work like with Compose 1.4
Screenshots

Additional context
Here is the log of the error:
Run custom shell script 'Compile Kotlin' 38.9 seconds

> Configure project :shared
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:73:13: Variable 'commonTest' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:98:13: Variable 'androidMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:120:13: Variable 'appleMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:135:13: Variable 'macosMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:143:13: Variable 'desktopMain' is never used
Configuration 'kspKotlinMacosArm64ProcessorClasspath' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.

> Task :shared:generateAppleMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateGeneratedByKspKotlinMacosArm64NonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateMacosArm64MainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateMacosMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateNativeMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateNonAndroidBuildConfig UP-TO-DATE

> Task :shared:kspKotlinMacosArm64
note: [ksp] loaded provider(s): [com.rickclephas.kmp.nativecoroutines.ksp.KmpNativeCoroutinesSymbolProcessorProvider]

> Task :shared:compileKotlinMacosArm64
warning: Opt-in requirement marker androidx.compose.material3.ExperimentalMaterial3Api is unresolved. Please make sure it's present in the module dependencies
warning: Opt-in requirement marker com.google.accompanist.permissions.ExperimentalPermissionsApi is unresolved. Please make sure it's present in the module dependencies

> Task :shared:linkDebugFrameworkMacosArm64
warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: shared. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.

> Task :shared:assembleDebugAppleFrameworkForXcodeMacosArm64
> Task :shared:syncComposeResourcesForIos FAILED
error: Unknown iOS platform: 'macosx'

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:syncComposeResourcesForIos'.
> Unknown iOS platform: 'macosx'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 39s
11 actionable tasks: 5 executed, 6 up-to-date

> Configure project :shared
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:73:13: Variable 'commonTest' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:98:13: Variable 'androidMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:120:13: Variable 'appleMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:135:13: Variable 'macosMain' is never used
w: file:///Users/vincent/AndroidStudioProjects/Teleport/shared/build.gradle.kts:143:13: Variable 'desktopMain' is never used
Configuration 'kspKotlinMacosArm64ProcessorClasspath' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.

> Task :shared:generateAppleMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateGeneratedByKspKotlinMacosArm64NonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateMacosArm64MainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateMacosMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateNativeMainNonAndroidBuildConfig UP-TO-DATE
> Task :shared:generateNonAndroidBuildConfig UP-TO-DATE
> Task :shared:kspKotlinMacosArm64
> Task :shared:compileKotlinMacosArm64
[ksp] loaded provider(s): [com.rickclephas.kmp.nativecoroutines.ksp.KmpNativeCoroutinesSymbolProcessorProvider]
Opt-in requirement marker androidx.compose.material3.ExperimentalMaterial3Api is unresolved. Please make sure it's present in the module dependencies

> Task :shared:linkDebugFrameworkMacosArm64
Opt-in requirement marker com.google.accompanist.permissions.ExperimentalPermissionsApi is unresolved. Please make sure it's present in the module dependencies

> Task :shared:assembleDebugAppleFrameworkForXcodeMacosArm64
> Task :shared:syncComposeResourcesForIos FAILED
Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: shared. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':shared:syncComposeResourcesForIos'.
> Unknown iOS platform: 'macosx'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 39s
11 actionable tasks: 5 executed, 6 up-to-date
Unknown iOS platform: 'macosx'

Hi. Can you be more specific about the reproduction steps, or share a complete reproducer project?
I was able to run a macOS target in Compose 1.5.0 by:

Check out the template project and following the instructions from: https://github.com/JetBrains/compose-multiplatform-ios-android-template/
Open XCode and open the iosApp project in it.
Duplicate and rename the iosApp target in XCode:

Rename the bundle identifier to match my team id.
Select "macosApp -> My Mac (designed for iPad)" target at the top in XCode.
Press the "play" button in XCode

The result is:

Sure! I found an easier setup to reproduce the problem:

Check out the template project and following the instructions from: https://github.com/JetBrains/compose-multiplatform-ios-android-template/
Open XCode and open the iosApp project in it.
Open the iosApp Target and go to "Supported Destinations"
Remove "Mac (Designed for iPad)" from the list and add "Mac"
Select "iosApp -> My Mac" target at the top in XCode.
Press the "play" button in XCode

Here is a reproducer project if you want, you just need to press play on XCode:
https://github.com/EBfVince/compose-multiplatform-macosx-bug
I want to target the macOS SDK to be able to access MenuBarExtra.

Are you sure this (SDK=macOS) worked before with Compose 1.4?

@EBfVince
I'm not sure how that could work in the first place.
iOSApp.swift is using UIViewControllerRepresentable transitively, which doesn't exist in macOS SDK.

Yes, you're right: using the compose plugin with macOS SDK should not work at all.
After some investigation, I realized that I had managed to get the compose plugin working with macOS SDK and Compose 1.4 using a dubious workaround. With Compose 1.5, this solution no longer works. I thought it was a bug, but it is just the expected behavior.
Thank you for your time. I close the issue.

@m-sasha, @elijah-semyonov
If you are curious to reproduce the behavior I was talking about:

Clone this repository: https://github.com/joreilly/Confetti
Open the project in Xcode
Try to launch "ConfettiMac" on your Mac.

@vinceglb Did you eventually find a way to use MenuBarExtra with Compose Multiplatform?

Unfortunately I did not continue my investigations. But it seems doable using JNA to call native macOS API from Kotlin. I've done something similar to access native macOS file picker with Kotlin : here is an example


Enable basic Maintainer token role UI inputs

Description
Adds UI to collect input to enable Maintainer role on tokens being used for integration. The additional inputs include - group name, webhook ID and webhook's secret token. The non-Owner route will involve some manual setup from users due to lack of privileges, which will be then setup using these inputs.
All changes are behind a FF preserving existing flow + Owner token usage. The subsequent PRs will setup updated UI text / guidance for usage besides updated functionality.
Checklist
Please ensure that each of these items has been addressed:

[x] I have tested these changes in my local environment
[x] I have added/modified tests as applicable to cover these changes
[x] (Atlassian contributors only) I have removed any Atlassian-internal changes including internal modules, references to internal tickets, and internal wiki links

Test screenshots

Has Shu looked at this UI yet?


Error:(15, 32) error: package com.thin.downloadmanager does not exist

I have tried many ways to use .jar file in Android Studio 1.4 but it always end up with following error when using:
import com.thin.downloadmanager.DownloadRequest;
Error:(15, 32) error: package com.thin.downloadmanager does not exist

Please try now. I have updated the jar file.

Please use this in your build.gradle file and use jcenter for repositories.
compile 'com.mani:ThinDownloadManager:1.1.0'


Question: can I enable client query evaluate for ef core 3.0?

can I enable client query evaluate?
As the docs said here https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-3.0/breaking-changes#linq-queries-are-no-longer-evaluated-on-the-client
LINQ queries are no longer evaluated on the client

@WeihanLi - You can enable client evaluation by explicitly calling AsEnumerable method. Everything after that method would be evaluated in memory and will be outside of EF. EF does not have a mode to do this implicitly for you.


Add support for right click event type

Chart.js does not provide a way for right click events now.
Feature Proposal
add a new event type:
        events: ['contextmenu']

that will fire onClick
Feature Use Case
Adding support for context menus to charts that will allow filter, drill down etc..

For anyone else looking for this, here is a workaround: https://codepen.io/elizzk/pen/xxZjQvJ

A work around for this is to leave "mouseup" in the events. That will still fire onClick for a right click and you can use event.button to determine which button was clicked. https://codepen.io/etimberg/pen/LYNKVzO

I don't think this would work, because the idea of capturing the right click is to replace the context menu. However, event.preventDefault() won't work since the system context menu fires before mouseup event.

i would like to implement the right click event for group barchart i unable to get the datasetindex of the barline when we rightclick on the particular barline in groupchart can you let me out from this issue


fix error UnicodeEncode

Why do we need emoticons checkmarks in the log? On vds they generate an error:
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2705' in position 25: ordinal not in range(256)

A ok 👌


Apache Licence

The package.json states that the licence is Apache 2.0. However, the licence is not included in the repo.

Resolved by #12.


[Flaky CI][Serial]VirtualMachineRestore Tests rook-ceph With a more complicated VM should restore a vm that boots from a PVC

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug
/triage build-watcher

/kind enhancement

What happened:
tests/restore_test.go:612
Unexpected error:
    <*kubecli.AsyncSubresourceError | 0xc001da4f60>: {
        err: "Can't connect to websocket (500): websocket: bad handshake\n",
        StatusCode: 500,
    }
    Can't connect to websocket (500): websocket: bad handshake

occurred
tests/restore_test.go:433

Found here.
What you expected to happen:
Test should pass.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/close
"Fixed" in #4522. It takes sometimes unusually long until the kubelet updates the certificate secrets.


Vm options for executable added to configuration

I have added vm options for executable to come closer to configuration options of javafx-maven-plugin. It's needed for example when --add-opens needs to be used.

Hi @hraada,
Do you still want to take this PR forward. If yes, please add proper documentation for this change.

Hi, I already use my fork, but I would like to finish this - I will add the documentation.

I have added documentation and I have also refactored the naming a little bit to make it clear, what it is actually doing.

Now that documentation is added, I can see this PR adds JVM args to JavaExec task. The JavaExec is derived from the application plugin whose run{..} can be overloaded to provide the jvmArgs. As a general rule, we do not wish to duplicate the parameters that is already provided by the application plugin.
In javafx-maven-plugin , it made sense to add the jvmArgs because the execution is handled by the plugin via javafx:run goal.
Having said that, this change can provide the user with an easy way to overload jvmArgs inside javafx{..}without the need to introduce a run{..}.
Although I think this change is not required, I would request @tiainen and @jperedadnr to share their thoughts.

I agree that this doesn't add much value. Configuring these options via the run configuration block is more straightforward. The only reason I can think of for adding this option, is that the arguments could be added to the java command in a very specific location, in case order matters.
However, I do note that the docs should mention somewhere that the exec task is basically running the exec task of the application plugin. And that all configuration can be done in the usual way by using the run block.


[vcpkg baseline] [qtbase] Update the hash of qtinterfaceframework

Related to https://github.com/microsoft/vcpkg/pull/20439
qtinterfaceframework:x64-windows failed in CI testing.
Failures:
error: Server does not allow request for unadvertised object 118fa138186144cf2d802405255f08662ed76d43

cc @Neumann-A

I think this won't work. you need to pass FETCH_REF to vcpkg_from_git for the qt ports without tags. The shallow fetch is not working.

I tried this locally, it works.
Starting package 1/1: qtinterfaceframework:x64-windows
Building package qtinterfaceframework[core]:x64-windows...
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" -DALL_FEATURES= -DCURRENT_PORT_DIR=E:/vcpkg/src/vcpkg/ports/qtinterfaceframework -D_HOST_TRIPLET=x64-windows -DFEATURES=core -DPORT=qtinterfaceframework -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_DOWNLOAD_TOOL=BUILT_IN -D_VCPKG_EDITABLE=0 -D_VCPKG_NO_DOWNLOADS=0 -DCMD=BUILD -DDOWNLOADS=E:/vcpkg/src/vcpkg/downloads -DTARGET_TRIPLET=x64-windows -DTARGET_TRIPLET_FILE=E:/vcpkg/src/vcpkg/triplets/x64-windows.cmake -DVCPKG_BASE_VERSION=2021-11-24 -DVCPKG_CONCURRENCY=9 -DVCPKG_PLATFORM_TOOLSET=v142 -DGIT=E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe -DVCPKG_ROOT_DIR=E:/vcpkg/src/vcpkg -DPACKAGES_DIR=E:/vcpkg/src/vcpkg/packages -DBUILDTREES_DIR=E:/vcpkg/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=E:/vcpkg/src/vcpkg/installed -DDOWNLOADS=E:/vcpkg/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "E:\vcpkg\src\vcpkg\scripts\ports.cmake")
-- Fetching https://code.qt.io/qt/qtinterfaceframework.git c39926232ee04ded0ebbe971aeb047b6d92ee4d8...
-- Extracting source E:/vcpkg/src/vcpkg/downloads/qtinterfaceframework-c39926232ee04ded0ebbe971aeb047b6d92ee4d8.tar.gz
-- Applying patch fix-taglib-search.patch
-- Using source at E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/src/b6d92ee4d8-fe0ad2c164.clean
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-2-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>06.c9a21571-1-any.pkg.tar.zst.
-- Using msys root at E:/vcpkg/src/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Downloading https://github.com/pypa/get-pip/archive/309a56c5fd94bd1134053a541cb4657a4e47e09d.tar.gz -> pypa-get-pip-309a56c5fd94bd1134053a541cb4657a4e47e09d.tar.gz...
-- Extracting source E:/vcpkg/src/vcpkg/downloads/pypa-get-pip-309a56c5fd94bd1134053a541cb4657a4e47e09d.tar.gz
-- Using source at E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/src/7a4e47e09d-f4730c06c6.clean
Collecting pip
  Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
Collecting setuptools
  Downloading https://files.pythonhosted.org/packages/40/a9/7deac76c58fa47c95360116a06b53b9b62f6db11336fe61b6ab53784d98b/setuptools-59.5.0-py3-none-any.whl (952kB)
Collecting wheel
  Downloading https://files.pythonhosted.org/packages/04/80/cad93b40262f5d09f6de82adbee452fd43cdff60830b56a74c5930f7e277/wheel-0.37.0-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-21.3.1 setuptools-59.5.0 wheel-0.37.0
Collecting virtualenv
  Downloading virtualenv-20.10.0-py2.py3-none-any.whl (5.6 MB)
Collecting platformdirs<3,>=2
  Downloading platformdirs-2.4.0-py3-none-any.whl (14 kB)
Collecting six<2,>=1.9.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.3-py2.py3-none-any.whl (496 kB)
Collecting backports.entry-points-selectable>=1.0.4
  Downloading backports.entry_points_selectable-1.1.1-py2.py3-none-any.whl (6.2 kB)
Collecting filelock<4,>=3.2
  Downloading filelock-3.4.0-py3-none-any.whl (9.8 kB)
Installing collected packages: six, platformdirs, filelock, distlib, backports.entry-points-selectable, virtualenv
Successfully installed backports.entry-points-selectable-1.1.1 distlib-0.3.3 filelock-3.4.0 platformdirs-2.4.0 six-1.16.0 virtualenv-20.10.0
Collecting qface
  Downloading qface-2.0.5-2-py3-none-any.whl (41 kB)
Collecting path.py>=11.0.1
  Downloading path.py-12.5.0-py3-none-any.whl (2.3 kB)
Collecting click>=6.7
  Downloading click-8.0.3-py3-none-any.whl (97 kB)
Collecting typing>=3.6.4
  Downloading typing-<IP_ADDRESS>.tar.gz (78 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting jinja2>=2.10.3
  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
Collecting antlr4-python3-runtime>=4.7.1
  Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting coloredlogs>=10.0
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Requirement already satisfied: six>=1.11.0 in e:\vcpkg\src\vcpkg\downloads\tools\python\python-3.10.0-x64\lib\site-packages (from qface) (1.16.0)
Collecting watchdog>=0.8.3
  Downloading watchdog-2.1.6-py3-none-win_amd64.whl (76 kB)
Collecting pyyaml>=5.1
  Downloading PyYAML-6.0-cp310-cp310-win_amd64.whl (151 kB)
Collecting colorama
  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting humanfriendly>=9.1
  Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl (15 kB)
Collecting path
  Downloading path-16.2.0-py3-none-any.whl (21 kB)
Collecting pyreadline3
  Downloading pyreadline3-3.3-py3-none-any.whl (95 kB)
Building wheels for collected packages: antlr4-python3-runtime, typing
  Building wheel for antlr4-python3-runtime (setup.py): started
  Building wheel for antlr4-python3-runtime (setup.py): finished with status 'done'
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144575 sha256=62b79df6277932e26163e5b30e7ef60eca3dc37e868483e360c09bca84c11f22
  Stored in directory: c:\users\v-phma.fareast\appdata\local\pip\cache\wheels\12\93\dd\1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88
  Building wheel for typing (setup.py): started
  Building wheel for typing (setup.py): finished with status 'done'
  Created wheel for typing: filename=typing-<IP_ADDRESS>-py3-none-any.whl size=26324 sha256=fc0909db91fd77868407f8e6748030c671244d11d923750090e2d82f3f4a8e76
  Stored in directory: c:\users\v-phma.fareast\appdata\local\pip\cache\wheels\7c\d0\9e\1f26ebb66d9e1732e4098bc5a6c2d91f6c9a529838f0284890
Successfully built antlr4-python3-runtime typing
Installing collected packages: pyreadline3, path, MarkupSafe, humanfriendly, colorama, watchdog, typing, pyyaml, path.py, jinja2, coloredlogs, click, antlr4-python3-runtime, qface
Successfully installed MarkupSafe-2.0.1 antlr4-python3-runtime-4.9.3 click-8.0.3 colorama-0.4.4 coloredlogs-15.0.1 humanfriendly-10.0 jinja2-3.0.3 path-16.2.0 path.py-12.5.0 pyreadline3-3.3 pyyaml-6.0 qface-2.0.5 typing-<IP_ADDRESS> watchdog-2.1.6
-- Configuring x64-windows
CMake Warning at scripts/cmake/vcpkg_configure_cmake.cmake:410 (message):
  The following variables are not used in CMakeLists.txt:

      INPUT_debug
      INSTALL_TRANSLATIONSDIR
      QT_NO_MAKE_EXAMPLES
      QT_NO_MAKE_TESTS

  Please recheck them and remove the unnecessary options from the
  `vcpkg_configure_cmake` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  installed/x64-windows/share/qtbase/qt_install_submodule.cmake:87 (vcpkg_configure_cmake)
  ports/qtinterfaceframework/portfile.cmake:80 (qt_cmake_configure)
  scripts/ports.cmake:142 (include)

-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: E:/vcpkg/src/vcpkg/packages/qtinterfaceframework_x64-windows/share/qtinterfaceframework/copyright
[DEBUG] cmd_execute_and_stream_data() returned 0 after 264076452 us
-- Performing post-build validation
...
-- Performing post-build validation done
...
Stored binary cache: C:\Users\phoebe\AppData\Local\vcpkg\archives\02\024b1740c45662b081a592cb8279cf6206e00ad34bb77e3239e68e2aec4072f4.zip
Installing package qtinterfaceframework[core]:x64-windows...
Elapsed time for package qtinterfaceframework:x64-windows: 4.533 min

Total elapsed time: 4.642 min

The package qtinterfaceframework provides CMake targets:

    find_package(QmlPlugins CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Qt6::qtifmediaplugin Qt6::qtifvehiclefunctionsplugin Qt6::qtinterfaceframeworkplugin)

    find_package(Qt6 CONFIG REQUIRED)
    target_link_libraries(main PRIVATE WrapSystemTagLib::WrapSystemTagLib)

    find_package(Qt6IfMedia CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Qt::IfMedia Qt6::IfMedia Qt::IfMediaPrivate Qt6::IfMediaPrivate)

    find_package(Qt6IfRemoteObjectsHelperPrivate CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Qt::IfRemoteObjectsHelperPrivate Qt6::IfRemoteObjectsHelperPrivate)

    find_package(Qt6IfVehicleFunctions CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Qt::IfVehicleFunctions Qt6::IfVehicleFunctions Qt::IfVehicleFunctionsPrivate Qt6::IfVehicleFunctionsPrivate)

    find_package(Qt6InterfaceFramework CONFIG REQUIRED)
    # Note: 5 target(s) were omitted.
    target_link_libraries(main PRIVATE Qt6::MediaPlugin Qt6::TunerPlugin Qt6::MediaQtROPlugin Qt6::VehicleQtROPlugin)

@PhoebeHui the update of the ref will work until the branch is pushed to again. Looking at the history this might happend within the next 7 days.

I added 'FETCH_REF 6.2.2' to https://github.com/microsoft/vcpkg/blob/master/ports/qtbase/cmake/qt_install_submodule.cmake#L35, and test it, it fails with 'fatal: not a tree object: 118fa138186144cf2d802405255f08662ed76d43'

@PhoebeHui:
FETCH_REF only needs to be added to the ports mentioned here:
https://github.com/microsoft/vcpkg/blob/7bb175eafedb203f19b18cf211666ec728c7461a/ports/qtbase/cmake/qt_port_details.cmake#L11

@Neumann-A, I also tried 8b036f1626d0a0fccdebe9548606dfcd1242fe76, it failed with 'fatal: not a tree object: 8b036f1626d0a0fccdebe9548606dfcd1242fe76'

vcpkg install with --x-cmake-args=--trace-expand and post the vcpkg log for it. Maybe the scripts are not doing what they should.

See trace.log

vcpkg_execute_required_process(ALLOW_IN_DOWNLOAD_MODE COMMAND E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe fetch https://code.qt.io/qt/qtinterfaceframework.git 118fa138186144cf2d802405255f08662ed76d43 --depth;1 -n WORKING_DIRECTORY E:/vcpkg/src/vcpkg/downloads/git-tmp LOGNAME git-fetch-x64-windows )
still tries to do a shallow checkout which won't work.
E:/vcpkg/src/vcpkg/scripts/cmake/vcpkg_from_git.cmake(97):  if(DEFINED arg_FETCH_REF )
E:/vcpkg/src/vcpkg/installed/x64-windows/share/qtbase/qt_install_submodule.cmake(100):  else()
E:/vcpkg/src/vcpkg/scripts/cmake/vcpkg_from_git.cmake(101):  set(ref_to_use 118fa138186144cf2d802405255f08662ed76d43 )

seems like FETCH_REF is not set. Did you modify the installed/share/qtbase script or the script in ports/? Modifying the installed script is necessary if you want to have the effect without reinstallation of qtbase

I modified the installed/share/qtbase/qt_port_details.cmake and share/qtbase/qt_install_submodule.cmake.

I modified the installed/share/qtbase/qt_port_details.cmake and share/qtbase/qt_install_submodule.cmake.

I think you will need to manually run the git steps in a folder and figure out whats wrong with vcpkg_from_git or to be more precise with the archiving step. It seems like the checkout just worked.  Maybe @strega-nil can help here.

Also If i run
git init
git fetch https://code.qt.io/qt/qtinterfaceframework.git 6.2.2  -n
git archive 118fa138186144cf2d802405255f08662ed76d43 -o qtinterfaceframework-6.2.2.tar.gz

in my git bash it just works.
This should be equivalent to vcpkg doing:
execute_process(COMMAND;E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe;init;E:/vcpkg/src/vcpkg/downloads/git-tmp;OUTPUT_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-init-x64-windows-out.log;ERROR_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-init-x64-windows-err.log;WORKING_DIRECTORY;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework   RESULT_VARIABLE;result_var  )
execute_process(COMMAND;E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe;fetch;https://code.qt.io/qt/qtinterfaceframework.git;6.2.2;-n;OUTPUT_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-fetch-x64-windows-out.log;ERROR_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-fetch-x64-windows-err.log;WORKING_DIRECTORY;E:/vcpkg/src/vcpkg/downloads/git-tmp   RESULT_VARIABLE;result_var  )
execute_process(COMMAND;E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe;rev-parse;118fa138186144cf2d802405255f08662ed76d43;WORKING_DIRECTORY;E:/vcpkg/src/vcpkg/downloads/git-tmp OUTPUT_VARIABLE;out_err_var ERROR_VARIABLE;out_err_var RESULT_VARIABLE;result_var  )
execute_process(COMMAND;E:/vcpkg/src/vcpkg/downloads/tools/git-<IP_ADDRESS>-windows/mingw32/bin/git.exe;archive;118fa138186144cf2d802405255f08662ed76d43;-o;E:/vcpkg/src/vcpkg/downloads/temp/qtinterfaceframework-6.2.2.tar.gz;OUTPUT_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-archive-out.log;ERROR_FILE;E:/vcpkg/src/vcpkg/buildtrees/qtinterfaceframework/git-archive-err.log;WORKING_DIRECTORY;E:/vcpkg/src/vcpkg/downloads/git-tmp   RESULT_VARIABLE;result_var  )

cc @BillyONeal

seems like #21925 works.

Closing in favor of https://github.com/microsoft/vcpkg/pull/21925.

repr


chore: pull issue templates from github.com:copier-org/.github

I've pulled the issue templates from https://github.com/copier-org/.github/tree/main/.github/ISSUE_TEMPLATE as we discussed (https://github.com/copier-org/.github/issues/3). I've preserved the history and intend the commits to be squashed, just in case you're wondering about the number of commits in this PR, @yajo.

Thanks! I'll squash them because otherwise these commits would pollute the changelog.

Yes, that's what I intended you to do. :+1:


User preferences

Current Behavior

User preferences get request override any preferences set by meshery cloud. (/api/user/prefs)
Expected Behavior

Update user preferences without affect to existing items.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Can you elaborate on this issue @senali-d

Hey @ritiksaxena124, I'd really like to work on this, can you please assign this to me


Content pages to be used with mdx

Description
Move content pages to use MDX plugin
Testing instructions
http://localhost:3000/privacy-policy
http://localhost:3000/terms-of-use
http://localhost:3000/about

@ficolo what do you think of this new md page approach?


Retrieve password from the PersistentDataStore when creating the User objects

Broke up adding a password to the User object between the work needed in the DataStore and User object itself.

This change is missing tests for the code that you've added. Please add some tests.

My  apologies! Thank you for the heads up.


[Feature Request] Add a toggle to activate/deactivate tablet ui instead of using smallest width

Why/User Benefit/User Problem
This helps users like me with smallest width below 720dp who want tablet ui, and it also helps users above 720dp smallest width who don't want tablet ui
What/Requirements
A toggle in settings which overrides the 720dp check for tablet ui. If it's on, switch to tablet ui regardless of smallest width and vice versa

I wont be messing with the tablet ui, this is all on main tachi

You don't need to mess with the ui/layout of app for this. Just add a bypass for this check
https://github.com/jobobby04/TachiyomiSY/blob/4f9eb19eada7222a1bebe3d390fba98507479793/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt#L277
So something like
if (bypass condition)
    return true
else
    current line 277


Make generateModelBuilder generate deep builders (instead of shallow)

Making the generated builders deep would make modifying nested data much easier.
See https://github.com/apollographql/apollo-android/pull/622

Something that just crossed my mind: not sure how to represent Nullable nested fields if we make everything a builder
If data().toBuilder().video().channel() returns a Channel.Builder then it's impossible to set channel to null. Unless we make Channel.Builder.build() return null that seems a bit strange

Also I believe the current (shallow) implementation does not work for lists as it just copies the list instead of cloning them.

The way how I see this is make a deep copy of builders, so for instance Data has a Hero field, then data.toBuilder() will return a new builder with deep copied hero builder (it will call toBuilder recursively for all nested objects). Then we have smth like this:
data.toBuilder()
  .hero(new Hero()) // this way we can assign completely a new instance of Hero or null
  .hero() // will return the Hero.Builder if it's not null
  .name("test")
  .friends()[0] // will return the first item of list of Friend.Builder
  .name("friend1")
  .etc

The main drawback of this approach is that we switching the context in chain whenever we call for example hero() as after this call we switching to Hero.Builder instead of Data.Builder
Let me know what do you think

Looks good to me. The overloaded .hero() method is a nice way to assign null indeed

I guess this is would be even better:
public Builder hero(@Nonnull Consumer<Hero.Builder> mutator) {
    Hero.Builder builder = hero != null ? hero.toBuilder() : Hero.builder();

    mutator.accept(builder);

    this.hero = builder.build();
    return this;
  }

public Builder friends(@Nonnull Consumer<List<Hero.Builder>> mutator) {
    List<Friend.Builder> builders = new ArrayList<>();
    if (this.friends != null) {
        for (Friend item : friends) {
            builders.add(item != null ? item.toBuilder() : null);
        }
    }

    mutator.accept(builders);

    List<Friend> friends = new ArrayList();
    for (Friend item : builders) {
        friends.add(item != null ? item.build() : null);
    }
    this.friends = friends;
    return this;
}


Zephyr CMake configuration is slow on Windows

The CMake configure-time is approximately 6 times slower on Windows than on Linux.
It should first be understood why Zephyr builds slower on Windows, and then depending on what is discovered we should make the performance comparable, e.g. half as fast as Linux would be acceptable.
Benchmarking and analysis:
We need both benchmarking and analysis to be able to resolve this issue. Benchmarking should
include relevant platform information (CPU, OS version, git revision, VM tech if not native).
The benchmarking should be done with a command that is equivalent to:
time cmake -H$ZEPHYR_BASE/samples/hello_world -GNinja -DBOARD=nrf52_pca10040 -Bbuild
and should be done with warm caches (run the command twice and delete the build folder inbetween).

Benchmarking done so far ...
Windows 7, VMWare, git ?, i7-4770: about 3 seconds
Ubuntu 16, native, 542f10de7, i7-4770: 0.6 seconds.

Git: 198b358
HW<EMAIL_ADDRESS>Command ~= time cmake -H$ZEPHYR_BASE/samples/hello_world -GNinja -DBOARD=nrf52_pca10040 -Bbuild
Win10: 3.4 seconds
Arch (4.16.3-1) (under Virtualbox): 1 second

This implies that it is not related to VM-tech.
It would be interesting to know what parts of Configure run slower on Windows.
E.g. is it processing of CMakeLists.txt code or is it a particular external program that is executed by CMake.

What I am hoping for, is that the slowdown is isolated to one or two external programs that run poorly on Windows, but can be easily modified to run as fast as Linux.

I think we can close this now @SebastianBoe, as this is no longer the case.

Really? That is good news, I would appreciate it if someone could post a benchmarking result to confirm this.
time cmake -H$ZEPHYR_BASE/samples/hello_world -GNinja -DBOARD=nrf52_pca10040 -Bbuild

Oh sorry, I thought you meant the total time. The configure time is still around the same for your example (3.4s) but the total times are now comparable on my machine (21s vs 24s).

nrf52_pca10040

Doesn't seem to exist anymore.
Performed for nucleo_h743zi :
time cmake -H$ZEPHYR_BASE/samples/hello_world -GNinja -DBOARD=nucleo_h743zi -Bbuild
Outcome:
real    0m46.832s
user    0m1.250s
sys     0m1.327s

Zephyr 577c678df603798a32aad50918f7683e98eb7f0e
CMake 3.24.2
Executed on SSD, Windows 10 22H2

Windows is a different OS with a different kernel, it also has an inbuilt virus scanner enabled globally which is well known to cause compilation to be slow, thus it is not right to compare them equally and it is expected that windows will be slower to compile on the same hardware than linux. If this is still an issue and it can be shown that the difference is big when the host windows OS has been configured to e.g. not have antivirus running then it can be re-opened


Provide a custom TranslogDeletionPolicy for translog pruning based on…

… retention leases.
Signed-off-by: Rabi Panda<EMAIL_ADDRESS>Description
This commit overrides the new getCustomTranslogDeletionPolicyFactory method of the EnginePlugin to provide a custom TranslogDeletionPolicy. The extension is added as part of OpenSearch 1.2 (https://github.com/opensearch-project/OpenSearch/pull/1404).  This PR uses the work originally done by @mch2 in a draft PR #145
As part of https://github.com/opensearch-project/OpenSearch/issues/1100, the changes for translog pruning based on retention leases were added to the OpenSearch core which have been deprecated and being removed in https://github.com/opensearch-project/OpenSearch/pull/1416.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I would love to get some eyes on this as I'm not sure if I'm missing things here.


Table cell type error

I'm getting the following error on the table component.
ERROR in src/components/Elements/Table/Table.tsx:57:25 TS2322: Type 'Element | Entry[keyof Entry]' is not assignable to type 'ReactNode'.   Type 'Entry[keyof Entry]' is not assignable to type 'ReactNode'.     Type 'Entry[string] | Entry[number] | Entry[symbol]' is not assignable to type 'ReactNode'.       Type 'Entry[string]' is not assignable to type 'ReactNode'.         Type 'Entry[string]' is not assignable to type 'ReactPortal'.           Type 'Entry[keyof Entry]' is not assignable to type 'ReactPortal'.             Type 'Entry[string] | Entry[number] | Entry[symbol]' is not assignable to type 'ReactPortal'.               Type 'Entry[string]' is not assignable to type 'ReactPortal'.
I presume there is a problem with the TableColumn type definition.
type TableColumn<Entry> = {   title: string;   field: keyof Entry;   Cell?({ entry }: { entry: Entry }): React.ReactElement; };
I'm only just learning TS and haven't been able to figure out what the Cell type definition is doing. An explanation on this would be greatly appreciated!

Actually I think this issue is caused because I upgraded to React 18. My solution specify the type of entry[field] as any.
 //Table.tsx Line 55  {Cell ? <Cell entry={entry} /> : entry[field] as any}

Yeah, I'm a TS newbie as well, and I was facing the same issue, I managed to fix/hack it by changing, this:
  export const Table = <Entry extends { id: string }>({ data, columns }: TableProps<Entry>) => {

To this:
  export const Table = <Entry extends Record<string, any> & { id: string }>({ data, columns }: TableProps<Entry>) => {

Another possible solutions-
{Cell ? <Cell entry={entry} /> : entry[field] as React.ReactNode}


Designate attributes as required

@ov7a asked me to make a new issue, so here it is.
Expected Behavior
I can designate attributes as required
 val myPluginResourcesResolver by configurations.registering {
   resolvable()
   extendsFrom(myPluginResources.get())
   attributes {
-    attribute(MyPluginResources, "foo-resources")
+    attribute(MyPluginResources, "foo-resources", required = true)
   }
 }

Current Behavior (optional)
I cannot designate attributes as required.
Context
I have a plugin. It has a custom setup of Configurations for sharing some resources between subprojects
// buildSrc/src/main/kotlin/my-plugin.gradle.kts

val MyPluginResources = Attribute.of("my-plugin", String::class.java)

val myPluginResources by configurations.registering {
  declarable()
}

val myPluginResourcesResolver by configurations.registering {
  resolvable()
  extendsFrom(myPluginResources.get())
  attributes {
    attribute(MyPluginResources, "foo-resources")
  }
}

val myPluginResourcesConsumable by configurations.registering {
  consumable()
  extendsFrom(myPluginResources.get())
  attributes {
    attribute(MyPluginResources, "foo-resources")
  }
}

fun Configuration.resolvable() { isCanBeResolved = true;  isCanBeConsumed = false; isCanBeDeclared = false; }
fun Configuration.consumable() { isCanBeResolved = false; isCanBeConsumed = true;  isCanBeDeclared = false; }
fun Configuration.declarable() { isCanBeResolved = false; isCanBeConsumed = false; isCanBeDeclared = true;  }

Resources are dynamically added to the Configuration in :library
// library/build.gradle.kts

plugins {
  id("my-plugin")
}

if (someCondition == true) {
  myPluginResources.configure {
    dependencies.add(project.dependencies.create("org.example:blah:1.2.3"))
  }
}

:application depends on :library
// application/build.gradle.kts

plugins {
  id("my-plugin")
}

dependencies {
  myPluginResources(project(":library"))
}

What happens is extremely bizarre behaviour.

If someCondition == true then :application's myPluginResourcesResolver will correctly retrieve the defined files. This is expected.

But if someCondition ==false then application's myPluginResourcesResolver will contain random files, depending on whatever other plugins :library has or hasn't defined. This is unexpected, confusing, and undesired.
There's no reasonable way for :application to determine whether the resolved files are correct.
Additionally, if another subproject :ultra-application depends on :application and resolves myPluginResourcesResolver then those random files from :library will be forwarded again, further exacerbating the problem while obscuring the cause.

Artifact View
Using artifactView and filtering based on the resolved artifacts is insufficient for a few reasons

The Javadoc for artifactView {} says that it will "only" use the defined attributes, but it doesn't, and it will forget about attributes that have been defined (related: https://github.com/gradle/gradle/issues/26007)
it requires setting lenient(true) which hides other errors
it can trigger tasks in the other projects that provide the unwanted files, which can be slow and wasteful
it's verbose and tedious and boilerplatey

Closing as a duplicate of

https://github.com/gradle/gradle/issues/28076

@ov7a Why did you ask me to make a new issue? Why do you think this issue is duplicating itself?

That was a typo.
It is a duplicate of:

#27991

See for an additional answer there.


Research note not actually being added to inventory [<IP_ADDRESS>]

Description: When attempting to unlock the research note for the Thaumium Hammer, it states that it added the research note to my inventory, however there is not one to be found. (As shown in the gif linked below)
https://gyazo.com/290add36e24e74a20a291a9dc4f3cb5b
Version: <IP_ADDRESS>
Forge Version: <IP_ADDRESS>4
:)

Thanks for the bug submission, I am fairly new to using the api and Thaumcraft itself, and just learned the commands for testing out researches and the like. I found out what I was doing wrong, I was setting up the research to have no aspectlist which apparently you need. So now there is an aspect list to the research, and it works.
Pushing a fixed build after some finishing touches.

That makes sense, thanks for the quick reply and no problem =)


Release/v4.20.2

Description

Remove id do body da chamada subscriptions.findTransactions
Adicionar visitor id header na request de login nas estratégias de jwt, session e login

PR's

#340
#339

There are some issues with your commit and our naming convention

Commit: 48268d3f4b6ee50bd64fb86eefa8f07fe080e46a
Good titles doesn't exceed 50 characters. To add more details use the body!

The complete commit style guide is available at https://github.com/pagarme/git-style-guide

This message was auto-generated by https://gitcop.com

There are some issues with your commit and our naming convention

Commit: 48268d3f4b6ee50bd64fb86eefa8f07fe080e46a
Good titles doesn't exceed 50 characters. To add more details use the body!

The complete commit style guide is available at https://github.com/pagarme/git-style-guide

This message was auto-generated by https://gitcop.com


Crash on [img] BBCode

The problem
Describe the bug
When I insert image inside a question, plugin is crashed
To Reproduce
Steps to reproduce the behavior:

Go to Timelines
Add a new timeline
Input question with text: Question [img=10x10]res://assets/any_icon_asset.png[/img]?
Start dialog and test, you should see an error

Expected behavior
Image is displayed inside the box
Screenshots

System (please complete the following information):

OS: Mac OS 12.0.1
Godot Version: 3.4.2
Dialogic Version: 1.3

Solutions
Possible fixes
I edited plugin myself to check the boundaries of a string in text label, it may be that [img] code produces zero length character or something.
At TextBubble.gd after line 199  I had to add boundary check text_label.text.length() > text_label.visible_characters-1 and
Please let me know if I am doing something wrong. If it is indeed a bug I can prepare pull-request

It does not seem to be happening anymore on 1.4 WIP, so I'm going to close this. If you want to try it out yourself, please use version control or make a backup version, as 1.4 is still WorkInProgress.

My bad. Moments after writing it happened again. Damn'it! I will investigate.


Too many docker volumes?

Running docker-compose up starts a total of 5 docker volumes, where two are unnamed. It seems they are used for uploads and storage-uploads, whilst dockerbookstack_storage-uploads and dockerbookstack_uploads remain empty when uploading images in Bookstack.
git clone https://github.com/solidnerd/docker-bookstack.git
cd docker-bookstack/
docker-compose up -d
docker volume ls

returns
DRIVER              VOLUME NAME
local               a6b65c0d08570639759ee0b4ed4dec7356dd41391de7f234e436b9f25e808f52
local               de5deb5b13d07c70f23a52a20737f806950b10c4c33ada5e533e053a4c26da33
local               dockerbookstack_mysql-data
local               dockerbookstack_storage-uploads
local               dockerbookstack_uploads

I would also like this bug to be fixed.

@amchelmer Alex, I have managed get rid of one unnamed volume. In docker-compose.yml file you need to change following rows:
volumes:     - uploads:/var/www/BookStack/public/uploads     - storage-uploads:/var/www/BookStack/storage/uploads
to
 volumes:     - uploads:/var/www/bookstack/public/uploads     - storage-uploads:/var/www/bookstack/storage/uploads

Good call @vladime. Managed to find the other typo as well. Have submitted a PR.

Hey,
it will be available in the next release. (0.17.3)


mime type application/octet-stream is set on every file

Hello,
I'm using this task to copy build artifacts of angular app to blob storage, from where its accessed on web server, so those are essentially css and JS files. Problem is with Angular Material, which gets confused, because every file is application/octet-stream mime type and not corresponding mime type. When I download build artifacts and upload them again using  Azure Storage Explorer windows app it works.
Can anyone point me to either better task which sets also mime type, or some arguments for VSO task, which wold do that?

What task are you using?

I think its https://aka.ms/azurefilecopyreadme

I found this https://docs.microsoft.com/en-in/azure/storage/storage-use-azcopy and there is paragraph regarding content type, so if you specify /SetContentType without a value, then AzCopy will set each blob or file's content type according to its file extension. I can confirm it works. Those mime types are rather weird like application/x-javascript and it doesn't know svg, woff and ttf, but thats okay, work now.