bundle_version_short_string doesn't match metadata.xml

Started getting this error recently
bundle_version_short_string doesn't match metadata.xml
And couldn't find metadata.xml anywhere in the project, and also found very little on google anywhere, so I thought I'd add it here as a note anyway. Don't know if it's a bug or some configuration error on my side.
My Info.plist had among other values
        <key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>

and I usually set the version in App.xcodeproj/project.pbxproj, the field MARKETING_VERSION (or by going App → General and setting the version there in Xcode.
  MARKETING_VERSION = 1.6.53;

My workaround for fastlane to successfully build and upload was to set the string CFBundleShortVersionString and CFBundleVersion statically. However, it also works (without setting strings statically in Info.plist) building with Xcode and Archiving.

Just ran into this as well!

Facing similar issue. But when I tried uploading same .ipa file with Transporter app

So I am using Xcode 13.4.1. A coworker of mine already had Xcode 14.1 and I was able to get the publishing process set up on his machine. While doing that, we noticed that Bitcode is deprecated starting with Xcode 14.1 https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
Therefore we disabled Bitcode everywhere, after doing so and using the exact same fastlane set up (just using XCode 14.1 instead of 13.4.1 & disabling bitcode instead of enabling it), we were able to successfully upload a binary using fastlane 🥳  (all the while using $(MARKETING_VERSION)!)

I tried setting Bitcode to No on All, @vanniktech - still a prodlem here (Xcode13.4.1)

anyone know where that metadata.xml file is? Seems to be generated on the fly and packed into the ipa maybe? Cause I can't find it on disk

after looking throgh the entire disk I found a couple promising files like this one, looks like todays date, some random chars and also included my app id.
Seems there is one xml file per fastlane run:
./System/Volumes/Data/private/var/folders/qz/j44_6gld7cz19sb1lnrf42yh0000gn/T/d20221118-98552-1fkucpa/<THE_APP_ID>-7875958a-2112-4b61-af3d-8541526d9f3b.itmsp/metadata.xml
Containing things like (I see no reference to a bundle id here though):
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://apple.com/itunes/importer" version="software5.4">
  <software_assets apple_id="<THE_APP_ID>" app_platform="ios">
    <asset type="bundle">
      <data_file>
        <size>11021974</size>
        <file_name>47d695a998659abdee31cbf4b2876de55b9f3a1d8911f1d28cd778ae96355ce7.ipa</file_name>
        <checksum type="md5">d0bea74da6360aeae6ce300fcad67ec3</checksum>
      </data_file>
    </asset>
  </software_assets>
</package>

@arnotixe I succeeded with no bitcode & xcode 14.1

We have experienced the same issue and the way we were able to resolve it was by upgrading our MacOS and XCode Version so that we are on XCode v14.1

I have the same problem with the exception that I'm already in Xcode 14.1 and bitcode is disabled on my app. I have no idea what to do except delivering the app trough the Transporter app

facing same issue. please fix it as soon as possible

Happened to me because MARKETING_VERSION in xcode was not the same as the one in my Info.plist

@arnotixe I succeeded with no bitcode & xcode 14.1

I just updated my mac and can also confirm fastlane started working after xcode upgrade to 14.1. I didn't run any manual builds in xcode first, just updated and ran fastlane => instant success.

1 - Build with fastlane.
2 - Take the ipa file from fastlane ipa file path.
3 - Set the new ipa file in Transporter app.
4 - Upload the app with Transporter manually.
After that i was able to use fastlane to build and deploy to testflight without any issues.


Unexpected behavior for .map_over_subtree

I want to apply a weighted mean over every dataset in a tree but cannot map a function as expected.
Take this simple example:
import xarray as xr
import numpy as np
a = xr.DataArray(np.random.rand(3,4, 10), dims=['x','y', 'time'], coords={'area':(['x','y'],np.random.rand(3,4))}).to_dataset(name='data')
b = xr.DataArray(np.random.rand(2,6, 14), dims=['x','y', 'time'], coords={'area':(['x','y'],np.random.rand(2,6))}).to_dataset(name='data')

dt = datatree.DataTree.from_dict({'a':a, 'b':b})
dt

DataTree('None', parent=None)
├── DataTree('a')
│       Dimensions:  (x: 3, y: 4, time: 10)
│       Coordinates:
│           area     (x, y) float64 0.5258 0.4488 0.9383 0.7907 ... 0.7133 0.2833 0.5557
│       Dimensions without coordinates: x, y, time
│       Data variables:
│           data     (x, y, time) float64 0.4141 0.06808 0.1853 ... 0.5805 0.0713 0.6484
└── DataTree('b')
        Dimensions:  (x: 2, y: 6, time: 14)
        Coordinates:
            area     (x, y) float64 0.9447 0.6305 0.7047 0.687 ... 0.916 0.732 0.6114
        Dimensions without coordinates: x, y, time
        Data variables:
            data     (x, y, time) float64 0.1824 0.3305 0.1357 ... 0.9851 0.09906 0.8442

I am defining a very simple weighted mean function:
def weighted_mean(ds):
    return ds.weighted(ds.area).mean(['x', 'y'])

which works as expected on a single dataset:
weighted_mean(a)

But when I try to map this over the tree
dt_mapped = dt.map_over_subtree(weighted_mean)

I get this:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[61], line 1
----> 1 dt_mapped = dt.map_over_subtree(weighted_mean)

File /srv/conda/envs/notebook/lib/python3.10/site-packages/datatree/datatree.py:992, in DataTree.map_over_subtree(self, func, *args, **kwargs)
    964 """
    965 Apply a function to every dataset in this subtree, returning a new tree which stores the results.
    966
   (...)
    987     One or more subtrees containing results from applying ``func`` to the data at each node.
    988 """
    989 # TODO this signature means that func has no way to know which node it is being called upon - change?
    990
    991 # TODO fix this typing error
--> 992 return map_over_subtree(func)(self, *args, **kwargs)

File /srv/conda/envs/notebook/lib/python3.10/site-packages/datatree/mapping.py:207, in map_over_subtree.<locals>._map_over_subtree(*args, **kwargs)
    195 node_kwargs_as_datasetviews = dict(
    196     zip(
    197         [k for k in kwargs_as_tree_length_iterables.keys()],
   (...)
    202     )
    203 )
    205 # Now we can call func on the data in this particular set of corresponding nodes
    206 results = (
--> 207     func(*node_args_as_datasetviews, **node_kwargs_as_datasetviews)
    208     if not node_of_first_tree.is_empty
    209     else None
    210 )
    212 # TODO implement mapping over multiple trees in-place using if conditions from here on?
    213 out_data_objects[node_of_first_tree.path] = results

Cell In[57], line 11, in weighted_mean(ds)
     10 def weighted_mean(ds):
---> 11     return ds.weighted(ds.area).mean(['x', 'y'])

File /srv/conda/envs/notebook/lib/python3.10/site-packages/xarray/core/weighted.py:488, in Weighted.mean(self, dim, skipna, keep_attrs)
    481 def mean(
    482     self,
    483     dim: Dims = None,
    484     skipna: bool | None = None,
    485     keep_attrs: bool | None = None,
    486 ) -> T_Xarray:
--> 488     return self._implementation(
    489         self._weighted_mean, dim=dim, skipna=skipna, keep_attrs=keep_attrs
    490     )

File /srv/conda/envs/notebook/lib/python3.10/site-packages/xarray/core/weighted.py:550, in DatasetWeighted._implementation(self, func, dim, **kwargs)
    546 def _implementation(self, func, dim, **kwargs) -> Dataset:
    548     self._check_dim(dim)
--> 550     return self.obj.map(func, dim=dim, **kwargs)

File /srv/conda/envs/notebook/lib/python3.10/site-packages/xarray/core/dataset.py:5957, in Dataset.map(self, func, keep_attrs, args, **kwargs)
   5955         v._copy_attrs_from(self.data_vars[k])
   5956 attrs = self.attrs if keep_attrs else None
-> 5957 return type(self)(variables, attrs=attrs)

File /srv/conda/envs/notebook/lib/python3.10/site-packages/datatree/datatree.py:121, in DatasetView.__init__(self, data_vars, coords, attrs)
    115 def __init__(
    116     self,
    117     data_vars: Optional[Mapping[Any, Any]] = None,
    118     coords: Optional[Mapping[Any, Any]] = None,
    119     attrs: Optional[Mapping[Any, Any]] = None,
    120 ):
--> 121     raise AttributeError("DatasetView objects are not to be initialized directly")

AttributeError: DatasetView objects are not to be initialized directly

strangely if I modify the function to return a dataarray and map it
def weighted_mean_da(ds):
    return ds.data.weighted(ds.area).mean(['x', 'y'])

dt_mapped_da = dt.map_over_subtree(weighted_mean_da)
dt_mapped_da

It gives me the desired result, but I am not sure if this is intended behavior (the return dataarray is converted back to a dataset?)

I was using v0.0.10 for the record

This bug is something to do with not properly copying node.ds (or not converting it to a Dataset instead of DatasetView) before it gets passed to the user function in map_over_subtree

I am not sure if this is intended behavior (the return dataarray is converted back to a dataset?)

Yes that's intended - nodes of a tree can't hold just one DataArray, they actually extract all the underlying variable objects and reorganise them into something which makes the node look like it is a Dataset. So you should expect DataArrays to be promoted to sigle-variable Datasets.

You can actually reproduce this with just
dt = datatree.DataTree(data=a)
weighted_mean(dt.ds)

It's because dt.ds returns an immutable DatasetView object, which is like Dataset except you can't change it or create one yourself directly. That latter restriction prevents the type() call in xarray.weighted from working though.
I should be able to fix it either by:

Not passing the DatasetView in map_over_subtree
Removing the restriction on instantiating a DatasetView.

Actually a better solution here might have been to re-implement .map on DatasetView, as that would get around the problematic type(self) call in Dataset.map. This would be useful because it probably better to be passing immutable DatasetView objects to map_over_subtree if we can (see #266 for one motivation).


EF7 not supporting Oracle

I would like to use ASP.Net 5 MVC 6 App with EF7 and the Asp.Net Identity is using EF7, which is right for me.  However, my destination database is an Oracle DB and I can't change it.  So, I read many hours about this point and it seems there is no connector to use EF7 with Oracle.  Is it plan for soon?
I saw some workaround on the web, but it is not usable, because my EF is an IdentityDbContext, not a DbContext.  All seems to be link and if I try to change something like go backward with EF6, Identity system is no more working.
Thank you for your help

See #4293

Thank you for your quick answer.  If I understand correctly, I need to wait that oracle develop the connector for EF7?  Just in case, do you know where are issues on Asp.Net Identity?  I will like to search if there is an easy way to downgrade to Asp.Net Identity 2 instead of 3.
Thank you very much for your help
.

Identity repo : https://github.com/aspnet/Identity

Thank you.  I close this issue because there is another one covering this point.

Issue #4293 is talking about this behavior.


profile component is missing a non-canonical properties form

Featured is a snipped from a loot table:

Fixed by https://github.com/SpyglassMC/vanilla-mcdoc/commit/bbc08029a5bbf9ba57adfd9fd84b1859d835dc74


[release-v1.14] Use v2 specific label to avoid matching previous deployment-based dispatchers

This ensures that our consumergroup controller as well as replication controller only match v2-specific pods and won't try to reconcile pods that belong to the previous deployment.

/retest

Uploading finished
The ImageStreamTag "ubi-minimal:latest" is invalid: from: Error resolving ImageStreamTag ubi-minimal:latest in namespace openshift-marketplace: unable to find latest tagged image


TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not an element of this graph.

Rasa Core version : 0.7.0
Operating system: OSX 10.11.6
Issue:
Using rasa_core as part of Django app while requesting for training to be done with provided data everything goes smooth but if i try to re train without changing anything from data or any any other related file am getting TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not an element of this graph.
Traceback:
Internal Server Error: /3/process_training/
Traceback (most recent call last):
File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 930, in _run
    allow_operation=False)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2414, in as_graph_element
    return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2493, in _as_graph_element_locked
    raise ValueError("Tensor %s is not an element of this graph." % obj)
ValueError: Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not an element of this graph.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/rayman/Sites/rasa_trainer/thumbcrowdai/webapps/version_3.0/core/rasa_trainer/views.py", line 407, in process_training
    train_dm.train()
  File "/Users/rayman/Sites/rasa_trainer/thumbcrowdai/webapps/version_3.0/modules/rasa_dm/bots/weather/train_dm.py", line 28, in train
    validation_split=0.2
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/rasa_dm-0.7.0a1-py3.6.egg/rasa_dm/agent.py", line 101, in train
    trainer.train(filename, **kwargs)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/rasa_dm-0.7.0a1-py3.6.egg/rasa_dm/policies/trainer.py", line 44, in train
    self.ensemble.train(X, y, self.domain, self.featurizer, **kwargs)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/rasa_dm-0.7.0a1-py3.6.egg/rasa_dm/policies/ensemble.py", line 29, in train
    policy.train(X, y, domain, **kwargs)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/rasa_dm-0.7.0a1-py3.6.egg/rasa_dm/policies/keras_policy.py", line 92, in train
    self.model.fit(shuffled_X, shuffled_y, **kwargs)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/keras/models.py", line 856, in fit
    initial_epoch=initial_epoch)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/keras/engine/training.py", line 1498, in fit
    initial_epoch=initial_epoch)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/keras/engine/training.py", line 1152, in _fit_loop
    outs = f(ins_batch)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2229, in __call__
    feed_dict=feed_dict)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 778, in run
    run_metadata_ptr)
  File "/Users/rayman/virtualenvs/RT/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 933, in _run
    + e.args[0])
TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not an element of this graph.
[08/Nov/2017 09:03:30] "GET /3/process_training/ HTTP/1.1" 500 175964

P.S : Raising issue in rasa_core after closing in rasa_nlu because it felt more relevant to core.

@npx @benshippee @normanrz @tmbo @eliseboyd guys any help would be appreciated.

@ray-man you specified that you are using 0.7.0 mind trying the latest release (0.7.4)? Please let me know how that goes and please also note your tensorflow / keras version.

@tmbo I've tried using latest 0.7.4  no luck with it too, I was on Tensor-flow 1.1.0 which i tried upgrading to 1.4.0 and Keras 2.0.8 to 2.1.0 but no success...

Using 1.10 locally as well. This sounds a bit like an issue with the tensorflow session. Is that using multiple processes?

@tmbo  No it is not using multiple processes, and i have tried clearing any existing session through keras.backend.clear_session() but no luck so far.

I tried to reproduce this but I can't.
Can you provide a list of the installed python dependencies so I can have a look if something looks off the usual setup?

 I am up to the keras.backend.clear_session() step as well with no luck. I can provide dependencies also if needed.

@ray-man : I'm not sure how related our issues our (mine was for model.load_weights() and not training) but one solution that worked for me was to switch from a TensorFlow backend to a Theano backend (directions here: ). I'm also unsure of whether this is a Django issue or a TensorFlow issue (who's at fault). Hopefully this helps.

@tmbo Error still appears for me with rasa_core 0.8.1 and tensorflow 1.1.0 as well as 1.4.1.

I'd love to help on this one, but I couldn't reproduce this yet.
@bitraten which command are you running?

I'm trying to use Django and Tensorflow (not using RasaHQ) and have exactly the same issue. If I restart django server, the first training goes ok. But when try to retrain even creating a new empty keras model this error appears.
Although if I access the same method using manage.py shell it works perfectly.
Weird.

Can you post a minimal non working django app? That would be great and i could use it for debugging.

I'm having the same issue with Keras and Tensorflow. Although I'm using Flask instead of Django. I expose a training model service: the first request goes smoothly, but if I send another request I get the "Cannot interpret feed_dict key as Tensor" error

hi, I have experienced the same error if we apply following code to release the model session from memory keras.backend.clear_session()  and you can load it again to get the model back on the consecutive request.

same issue

u can solve the issue by doing the above command

@PvsManiyan as mentioned above it doesn't help.

same issue

I was using flask,
This worked for me
from keras import backend as K
and after predicting my data i inserted this part of code then i had again loaded the model.
K.clear_session()

I got the same error when I upgraded my Flask from 0.12.0 to 1.0.2. It's strange.
But keras.backend.clear_session() works for me.

same error!
TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("inputTensor:0", shape=(?, 88), dtype=int32) is not an element of this graph.

same error...can someone help out please..
Tensor Tensor("Placeholder:0", shape=(3, 3, 3, 64), dtype=float32) is not an element of this graph.
App runs fine for the first time, but second run and it gives this error.
I have tried default graph and clear session, nothing working for me.
Help please

@asharsid  check the input size you are providing in your app script
 classifier.inputSize =  __;

I am getting same error

TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("Placeholder:0", shape=(7, 7, 3, 64), dtype=float32) is not an element of this graph.

I am using socket and multiple threading and it gives good result to first client connected only for every another client it throws this error

@bibhu107  .. Hi Bibhu, I forgot to mention that I am using Keras on top of tensorflow...and passing images for CNN, for which I am fixing the input size. However, I was able to fix my problem using your answer as a hint :)
@aggarwalaakash007  ..  In my case, I was using loop while calling in CNN multiple times, I fixed my problem by doing the following:
#Declare this as global:
global graph
graph = tf.get_default_graph()
Then just before you call in your model, use this
with graph.as_default():
#call you models here
Hope that helps.

Estaré ausente de la oficina hasta el 19/09/2018.
Responderé a su mensaje cuando regrese.
Nota: Esta es una respuesta automática a su mensaje  "[EXT] Re:
[RasaHQ/rasa_core] TypeError: Cannot interpret feed_dict key as Tensor:
Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not
an element of this graph. (#80)" enviado el: 18/09/2018 8:17:46.
Esta es la única notificación que recibirá mientras esta persona está
ausente.

Estaré ausente de la oficina hasta el 19/09/2018.
Responderé a su mensaje cuando regrese.
Nota: Esta es una respuesta automática a su mensaje  "[EXT] Re:
[RasaHQ/rasa_core] TypeError: Cannot interpret feed_dict key as Tensor:
Tensor Tensor("masking_1_input:0", shape=(?, 3, 24), dtype=float32) is not
an element of this graph. (#80)" enviado el: 18/09/2018 9:36:12.
Esta es la única notificación que recibirá mientras esta persona está
ausente.


tour: [Example step mismatch]

Context: http://tour.golang.org/moretypes/20
Left and righ sides seems mismatch for many steps
See these two screenshots
https://i.imgur.com/b81M7MO.png ( http://tour.golang.org/moretypes/19 )
https://i.imgur.com/b81M7MO.png ( http://tour.golang.org/moretypes/20 )
Issues seems after the side swap.

I just visited http://tour.golang.org/moretypes/20,
and I didn't see the problem.
Could you please try again? (with incognito mode
to make sure it's not a client side thing)

Yes. works well for me in other browsers.
Its an issue, even if its a client side issue.
I was just making lot of changes to example and running and now I have this mismatch.
Thanks


Make it easier to use the PHP built-in web server.

After looking at the requirements for Apache in the htaccess file, we discovered that it would be pretty easy to just run with PHP's built-in web server for development.

Looks good! Thanks @simensen.


chore(localize): updated translation from Crowdin

:tada: This PR is included in version 2.24.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support for ninny json

I added support for https://github.com/kag0/ninny-json, if you'll have it.
Some things shamelessly copied from the other implementations.
Sorry for the whitespace changes, my editor picked up the scalafmt config and reformatted all the files I touched. I can get rid of them if you want.

Cool stuff, will definitely add the nanny, eh ninny.
Could you please rebase against the latest master (if not already) and then run sbt test:scalafmt to make sure these formatting changes (hopefully) go away? Do not simply get rid of them, I would like to understand where they come from.

sbt test:scalafmt passes and changes no files.
Perhaps that command doesn't format build.sbt itself, but intellij does?

@kag0 I had to remove support for ninny from the build, because it did not pass CI, because there is no published version for Scala 2.12.

I haven't used SBT in a while, is there a way (that's not too much trouble) to have some projects support different scala versions than others?
Failing that, I've been meaning to add 2.12 support anyway...

I have tried to set crossScalaVersions to Scala 2.13 only for the ninny support, but it did not work. I might have missed something, but I had to give up. Supporting 2.12 should be a requirement anyway ;-)

I think it's because akka-http-json has 2.12 in crossScalaVersions, and aggregates akka-http-ninny so it probably either overrode the crossScalaVersions for ninny, or couldn't find 2.12 and got mad.
anyway :shrug: 2.12 support wasn't hard, just needed to litter imports for immutable Seq everywhere.


Readme uses deprecated methods

E.g. setImageWithURL instead of sd_setImageWithURL

closing this...the readme was updated recently


SQL wont import users

Hi,
I'm trying to move some of my servers over to use a MySQL backend as our file is growing rather large & laggy. I've followed the steps listed & connected PEX to my DB, then I run
/pex import file
The server freezes up for a bit, and SOME users get converted, and the majority of users do not appear in the database.
As well as this, the users who WERE converted lose all their permissions when they join the server.
Any idea how I can fix this?

Disable any sort of server watchdog that will stop the server if it doesn't advance -- because of how PEX1.x works, the conversion will freeze up the server. You'll have to let it run until it's done. Then things should work.

Nothing is stopping the conversion, I tried it again today on a blank server with nothing configured/installed.
I should be in the owner group, but again its only converting some users.
http://i.imgur.com/3ByEjsc.png
The conversion finishes, but doesnt show everyone.

Any info on this? Kinda needing  a working mysql db soon :( Would a lot of users being in the file prevent it from working? I've been able to convert an almost-empty file fine, but this big one is refusing.

Not sure, but id use  the almost empty file (is this for PVP)

The smaller file is a test file..

Oh, ill check my My SQL db

Is it ported properly mike?

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.


OCMock 3.8 does not compile via CocoaPods

XCTest was added as a dependency with #420 but was not added to the podspec as a required framework. This results in the consuming project being unable to compile due to XCTest not being added to the linker and the framework search paths not being updated. This can be fixed by adding
s.ios.framework = 'XCTest'
s.osx.framework = 'XCTest'
s.tvos.framework = 'XCTest'

to the podspec.

Thank you. I will fix this before officially releasing via Cocoa Pods. (I'm not a user of Cocoa Pods so I've made a habit of waiting a few days between the release and the pod release. Looks like this made sense this time.)

No problem, thanks Erik.

Fixed.


Strange Output In Disassembled Binary

Hello,
I've been working on trying out Rust on the MSP430 Launchpad. I'm currently working through a bug and so I've been looking through the disassembly. Among the output from objdump on a release build I found this, related to this crate:
0000c0d8 <msp430_rt::reset_handler::h8b2ffb16adfdf523>:
    c0d8:	3c 40 02 02 	mov	#514,	r12	;#0x0202
    c0dc:	3d 40 00 02 	mov	#512,	r13	;#0x0200
    c0e0:	0d 9c       	cmp	r12,	r13	;
    c0e2:	05 2c       	jc	$+12     	;abs 0xc0ee

0000c0e4 <.LBB6_1>:
    c0e4:	8d 43 00 00 	mov	#0,	0(r13)	;r3 As==00
    c0e8:	2d 53       	incd	r13		;
    c0ea:	0d 9c       	cmp	r12,	r13	;
    c0ec:	fb 2b       	jnc	$-8      	;abs 0xc0e4

0000c0ee <.LBB6_2>:
    c0ee:	3c 40 02 02 	mov	#514,	r12	;#0x0202
    c0f2:	3d 40 02 02 	mov	#514,	r13	;#0x0202
    c0f6:	0d 9c       	cmp	r12,	r13	;
    c0f8:	08 2c       	jc	$+18     	;abs 0xc10a
    c0fa:	3e 40 14 c1 	mov	#49428,	r14	;#0xc114

0000c0fe <.LBB6_4>:
    c0fe:	3f 4e       	mov	@r14+,	r15	;
    c100:	8d 4f 00 00 	mov	r15,	0(r13)	;
    c104:	2d 53       	incd	r13		;
    c106:	0d 9c       	cmp	r12,	r13	;
    c108:	fa 2b       	jnc	$-10     	;abs 0xc0fe

0000c10a <.LBB6_5>:
    c10a:	b0 12 d2 c0 	call	#49362		;#0xc0d2

There are a number of sections that look closer to some obfuscated code than I'd expect of a typical program. Especially lines c0ee through c0f8. Do I have something wrong with my toolchain perhaps or do sections of this crate commonly output instructions like this? I don't generally use LLVM for MSP430 so I'm not really sure what to expect.
My Rust source for my application is here if it helps: https://github.com/ssnover95/rust-up-lab11

@ssnover95 What is the exact version of rust nightly you are using?
I just checked the listing from the last time I built my own AT2XT application on Nov 16, 2018, and I found something similar to you:
0000fe2e <msp430_rt::reset_handler::h74527b2206cf5871>:
    fe2e:	3c 40 2a 02 	mov	#554,	r12	;#0x022a
    fe32:	3d 40 00 02 	mov	#512,	r13	;#0x0200
    fe36:	03 3c       	jmp	$+8      	;abs 0xfe3e

0000fe38 <.LBB19_1>:
    fe38:	8d 43 00 00 	mov	#0,	0(r13)	;r3 As==00
    fe3c:	2d 53       	incd	r13		;

0000fe3e <.LBB19_2>:
    fe3e:	0d 9c       	cmp	r12,	r13	;
    fe40:	fb 2b       	jnc	$-8      	;abs 0xfe38
    fe42:	3c 40 2e 02 	mov	#558,	r12	;#0x022e
    fe46:	3d 40 2a 02 	mov	#554,	r13	;#0x022a
    fe4a:	0d 9c       	cmp	r12,	r13	;
    fe4c:	08 2c       	jc	$+18     	;abs 0xfe5e
    fe4e:	3e 40 fe fe 	mov	#65278,	r14	;#0xfefe

0000fe52 <.LBB19_5>:
    fe52:	3f 4e       	mov	@r14+,	r15	;
    fe54:	8d 4f 00 00 	mov	r15,	0(r13)	;
    fe58:	2d 53       	incd	r13		;
    fe5a:	0d 9c       	cmp	r12,	r13	;
    fe5c:	fa 2b       	jnc	$-10     	;abs 0xfe52

0000fe5e <.LBB19_6>:
    fe5e:	b0 12 1e fe 	call	#65054		;#0xfe1e

All this code is related to clearing .bss and copying the .data section. The jumping around appears normal in order to reduce code size. Looks like the initial compares1 before running memset/memcpy aren't being optimized away though.
The jcs in both my and your code bugs me though. In your code, address 0x0202 should correspond to _ebss, which should point to the first address not assigned to the .bss section. Looks like in both the memset/memcpy case r13 has to be strictly greater than _ebss or _edata before the copy loop terminates?

c0e2, c0f8 in your code, and fe4c in my code- fe36 in my code was optimized though!

active toolchain
----------------
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.32.0-nightly (6f93e93af 2018-11-14)


Prepare release<EMAIL_ADDRESS>

[0.12.1] - 2021-05-28
Fixed 🐛

Multiline TextField did not follow rowsMax rules on initial render (#1367)
Multiline TextField resized on input when having a fixed height (#1375)
Wrong spacing in Button when an icon was used  (#1364)

Changed

Clarified Radio story (#1382)

Since we changed reduced line-height for typography tokens, this also means we "changed" Typography component. Should be worth mentioning I think @pomfrida


[Bug]: Shopify theme push fails in @shopify/theme v3.40 with "The above error occurred in the  component..."

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
The shopify theme push command should work without errors.
Actual behavior
The shopify theme push command fails with an error (all output is pasted in the Stack trace section of this issue). Note that although it says The above error, nothing was output above that, so I'm unclear as to the actual error happening.
I'm fairly certain that this bug was introduced in the 3.40 version of @shopify/theme, because when I pin that package to version 3.39, shopify theme push works as expected.
Stack trace
The above error occurred in the <BoxWithTopBottomLines> component:

    at BoxWithTopBottomLines (file:///home/circleci/.local/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/private/node/ui/components/Banner.js:20:34)
    at Banner (file:///home/circleci/.local/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/private/node/ui/components/Banner.js:32:19)
    at FatalError (file:///home/circleci/.local/lib/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/dist/private/node/ui/components/FatalError.js:9:23)
    at App (/home/circleci/.local/lib/node_modules/@shopify/theme/node_modules/ink/build/components/App.js:42:9)

React will try to recreate this component tree from scratch using the error boundary you provided, InternalApp.

Exited with code exit status 1

Reproduction steps

Install latest version of Shopify CLI (3.40)
Run shopify theme push from a valid theme folder

Operating System
Ubuntu 22.04
Shopify CLI version (check your project's package.json if you're not sure)
3.40.1
Shell
bash
Node version (run node -v if you're not sure)
v18.13.0
What language and version are you using in your application?
Ruby 3.0.2p107

Hi @natebennett21, could you test with the latest version (3.44.1). We've done some improvements on that part and this should not happen again. Let me know!

Hi @isaacroldan, I just tried this again with 3.44.1 and it worked as expected. Thanks so much!


Fix canonical

had to add Head to the index js to override the canonical being set by config. This seemed the only way to do this.

Changes seem good to me, but I'd like someone else to double-check and approve


License please

Hey, thanks for open sourcing your code on this! Could we add a license so that others could include it in their projects safely?
Thanks again! :)

Apache 2.0 License added.

Much thanks!


Write a Python program to convert hours to minutes

Description
Write a Python program to convert hours to minutes
1 hour = 60 minutes
Input  : 5
Output : 300

How to contribute

Save the solution in program/convert-hours-to-minutes.py file
Add convert-hours-to-minutes.py file in convert-hours-to-minutes folder

!assign


Add cursor: pointer to buttons

This is likely intentional left out, but I added cursor: pointer by default to button components in case not.
If this is intentional, maybe Rebass should allow the setting of the cursor on the buttons through a component specific prop.

@mjsisley snapshot tests are failing, update the snapshots and CI should pass.

@mjsisley The W3C UI guidelines, Apple + Microsoft HIG, macOS, etc don't use hand cursors for buttons (unless they're links). Read more: https://medium.com/simple-human/buttons-shouldnt-have-a-hand-cursor-b11e99ca374b

Interesting, thanks @lachlanjc.
Then definitely seems it shouldn't be the default. May still be nice to be able to set the cursor as a component specific prop for convenience (as button links are a fairly common use case)... though having to modify through the styled-components API also isn't the biggest deal.
I'll close this.

@mjsisley Cool, I agree!


Pvp performance tracker: Add new statistic, various improvements

This update was in collaboration with Mazhar, @maz_rs on twitter, @voiderman1337 on github. He implemented the core code of the newly tracked statistic: Deserved damage. This checks your gear as well as the opponent's, calculates accuracy, max hit, and gets an estimated hit based on that data. This is added to a total counter, to help see if you performed better than your opponent. This really adds to the off-pray hit tracker, since it will heavily penalize you for doing things like barraging in d'hide, or getting ranged/melee'd in mystic too often (even if you are better with the prays, this can severely reduce your overall performance). The off-pray hits alone wouldn't detect cases like this. This doesn't involve hitsplats in any way, it really just calculates your 'average' damage you should've gotten based on you and your opponent's gear.
The deserved damage also isn't perfect, there is a lot of hardcoding involved, but it should work in the vast majority of cases. In the end, any inaccuracies the plugin has will be passed on to both fighters, but they are rare.
There are many other various improvements. Fights are now saved across restarts using a simple json encoded string, with a config limit. Default limit (1000 fights) should result in about 500kb storage. Storage isn't a problem, but at ridiculously high numbers (10k+) the ram usage is significant (but useable). I doubt you could get to that amount of fights realistically though. Also fixed some odd behaviour where following or trading others would show the overlay right away. This shouldn't happen anymore until actually in a fight. The UI code was optimized a lot, saving re-used elements and updating their text rather than re-creating the components on every update. Shouldn't be too noticeable, but why not be as robust as possible.
README is very detailed if you would like more info.

This looks like it needs rebasing. This PR should be changing the existing pvp-performance-plugin file's commit, not trying to re-add the file.

I tried to fix it, not sure if I did that right. I don't understand how it behaved that way since I'm just changing the line in one file, which should be the only difference between my branch & main repo.


Can't install Microsoft Visual Studio Build Tools

Brief description of your issue
Although Visual Studio Build Tools are listed on the registry, I wasn't able to download it with the winget install -e --id Microsoft.VisualStudio.BuildTools command. It can't find the package & throws this error message:
No package found matching input criteria.

Steps to reproduce
Run either of this two commands:
winget install -e --id Microsoft.VisualStudio.BuildTools

or,
winget search Microsoft.VisualStudio.BuildTools

Expected behavior
Visual Studio Build Tools should install automatically without any issues.
Actual behavior
winget can't find Microsoft.VisualStudio.BuildTools
Environment
Windows: Windows.Desktop v10.0.19043.1165
Package: Microsoft.DesktopAppInstaller v1.12.11692.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Do you mean: winget install -e --id Microsoft.VisualStudio.2019.BuildTools?

You can find the application you want by doing winget search <applicationName> or <packageIdentifier> and then install it using winget install <applicationName> or <packageIdentifier>.
https://winget.run is on an old version of the manifests way back in March 2021 which was using the 0.1.0 schema and hasn't been updated in ages.

@ItzLevvie @quhxl Got it! winget.run appears quite outdated. But running winget install -e --id Microsoft.VisualStudio.2019.BuildTools did work!
Closing the thread as a non-issue.


RCTExceptionsManager.reportFatalException error?

Completely no idea what this means? Thank you.

This looks like an issue caused by the libraries react-native dependency clashing with the applications.
Should be fixed by #24
You may need to do an npm prune after install


Allow org owner adding oneself to a group

Fixes #5655 and #5658
Refactored the collections to have a simpler setup (composition over adding a mixin' onto the collections). The query string handling is a solved problem by Backbone actually, while one adheres to .fetch({ data: {…} }) convention.
@xavijam can you review please?

:clap: (that means -> thanks), now I have to review it ;).

:es:


MCO-392: Start using rhel-coreos image rather than machine-os-content

The machine-os-content is deprecated and we'd like to stop shipping it entirely in the release payload. Point the DTK imagestream to the rhel-coreos image instead.
Closes: #101

This would go at the same time as https://github.com/openshift/os/pull/1374.
We need to make sure DTK, ART, and RHCOS teams are aligned before doing this change.

Thanks for this PR @jlebon.
Is https://github.com/openshift/os/pull/1374 adding the "io.openshift.build.versions": "machine-os=.." label to the rhel-coreos container?
Do we need anything else to make it propagate into the payload or it is happening automatically.
If that's all we need I am good with merging.

/approve

This will require stopping driver-toolkit image mirroring first, as the release controller will otherwise barf when there's an unknown image (rhel-coreos does not exist in OKD imagestreams): https://github.com/openshift/release/pull/43816

Also note that the machine-os-content ref is also still used by the installer: https://github.com/openshift/installer/blob/c723ac80b519bb33b8e2c9c46883c9d5d7284857/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template#L46

Also note that the machine-os-content ref is also still used by the installer<EMAIL_ADDRESS>
Opened https://github.com/openshift/installer/pull/7636!

@LorbusChris Do we need anything else before undrafting this PR and merging it?

Great.
Please undraft the PR so we make sure CI passes.
/hold
In order to sync the merge with other PRs required.

OK as expected, CI is failing with:
 error: failed to push image registry.build05.ci.openshift.org/ci-op-1p5hwli8/release:latest: unable to upload new layer (0): Patch "https://registry.build05.ci.openshift.org/v2/ci-op-1p5hwli8/release/blobs/uploads/c58b18af-367c-4f7e-9749-17e89f6f1635?_state=Hj3H_lI5ysPOLpl-oZTVM9_QqDZM8oTjQv0x9aPIvLl7Ik5hbWUiOiJjaS1vcC0xcDVod2xpOC9yZWxlYXNlIiwiVVVJRCI6ImM1OGIxOGFmLTM2N2MtNGY3ZS05NzQ5LTE3ZTg5ZjZmMTYzNSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyMy0xMS0wOFQxNDoyOToxMy42NDcxMDI0ODZaIn0%3D": unknown version reference "machine-os"

So I think we're ready here to merge them all together!
https://github.com/openshift/os/pull/1374 is ready to merge, so if you agree and override the CI failures to get this in, I'll get that one in too.

Actually, we went ahead and merged https://github.com/openshift/os/pull/1374. This should be good to go too now!

ART bits are merged too

/retest

/unhold

Will we actually be able to achieve green CI here or do we have to force merge it?
I do see we have an RHCOS build now with https://github.com/openshift/os/pull/1374 (415.92.202311082221-0). It was pushed as quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:12ff620fd1eebe68c006cbe0b971ed570a0d304c5992048b898c6be176dad6eb. But I'm not familiar enough with OpenShift CI internals to know if that'll end up in the right place on its own for CI to pick it up here or if e.g. it'll fail to get there anyway until this PR is forced in.

I do see we have an RHCOS build now with openshift/os#1374 (415.92.202311082221-0). It was pushed as quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:12ff620fd1eebe68c006cbe0b971ed570a0d304c5992048b898c6be176dad6eb.

BTW, I can confirm that image has the expected labels:
$ skopeo inspect -n docker://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:12ff620fd1eebe68c006cbe0b971ed570a0d304c5992048b898c6be176dad6eb  | grep io.openshift.build
        "io.openshift.build.version-display-names": "machine-os=Red Hat Enterprise Linux CoreOS",
        "io.openshift.build.versions": "machine-os=415.92.202311082221-0",

/retest
after removing machine-os-content

/override ci/prow/e2e-aws
/override ci/prow/e2e-aws-driver-toolkit-presubmi
/override ci/prow/e2e-upgrade
/override ci/prow/images
https://redhat-internal.slack.com/archives/CB95J6R4N/p1699558337383699?thread_ts=1699386359.814909&cid=CB95J6R4N

/override ci/prow/images

/override ci/prow/e2e-aws
/override ci/prow/e2e-aws-driver-toolkit-presubmit
/override ci/prow/e2e-upgrade


Definition of "non-stateful" nodes

Are saved activations considered "non-stateful" nodes of the training graph so that techniques like recomputation of the node state instead of saving the state are permitted in the closed division ?

Victor -
This doesn’t seem to address the definition of a “non-stateful” vs. a “stateful” node.
Are the only “stateful” nodes of the training graph the weights?
Will the wording be modified to be “mathematically equivalent” rather than “changes to non-stateful”.
Yes, the tradeoff enables a reduction in activation storage at the cost of more compute.
Gary Lauterbach
gary<EMAIL_ADDRESS>CTO and Co-Founder
Cerebras Systems
On Aug 2, 2018, at 11:50 AM, Victor Bittorf <notifications<EMAIL_ADDRESS>wrote:
SWG:
Our general recommendation is that if provably mathematically equivalent, you can do it. Our understanding is that this is a systems trade-off between compute and memory. Please confirm that our understanding is correct.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mlperf/policies/issues/43#issuecomment-410030442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATCb4oP7ZY2oLKIvGvLJx-dCG5EkT4Qcks5uM0nwgaJpZM4VhG-t.

Sending back to WG to confirm, but presumably yes, only the weights.

SWG:
If it is mathematically correct, it is fine to do.


Upgrade to Ruby 2.4.1 (after others have checked it out)

We should upgrade from Ruby 2.4.0 -> 2.4.1 after others have checked it out a little further.
This seems to a minor improvement, mostly bugfixes in areas that don't seem to affect us.  More info:

https://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/
https://medium.com/rubyinside/ruby-2-4-1-released-whats-changed-fa83346c93f3

Already done. Thanks @dankohn !


can this project using online database

Hi Mr MCarlomagno, can this app using online database like MYSQL, etc. using Rest API ?

I am also interested in that option


htop reports incorrect values on WSL 2

Environment
Windows build number: Microsoft Windows [Version 10.0.19041.388]
Your Distribution version: Debian       Release:        stable-updates
Whether the issue is on WSL 2 and/or WSL 1: Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020

Steps to reproduce

Have Debian distro and WSL 1. htop works correctly.

Update to WSL 2.

Update Debian distribution to WSL 2:
wsl --set-version Debian 2

Open Debian distro.

Run htop.

Compare htop output with Task Manager:

Expected behavior
htop displays numbers similar to the ones reported by Task Manager.
Actual behavior

htop only displays RAM and CPU usage of Linux subsystem (?), rendering it useless.
htop shows wrong amount of total system RAM (12.4 GB vs actual 16 GB).

WSL2 limits the amount of RAM it consumes and reports that value by design. Cannot repro the CPU usage part. If you've got really low CPU usage (0.2%) on vmmem that wouldn't be too surprising since the virtual CPU resources consumed inside the VM isn't necessarily the same as the hypervisor itself is consuming in Windows. There are two problems reported here; if the CPU is really off under load that could be filed under a different (new) cover.

I don't know why this is marked as complete. I am encountering the same issue. I want a configuration for htop that matches what's happening on Windows and not just within the VM. Behavior was what I expected in WSL 1, but it changed in WSL 2.

Agree with the previous comment, I still have the same issue on WSL2.

What windows show is the default memory reserved for Wsl and is by default 2Gb you can change it on Wsl settings.
No relation between what is running inside the virtual machine that count only the running processes and the host that count the hole processe of virtualitation (hyperV, reserved memory...)
Remember WSL is a virtual machine not a container. A great virtual machine, but still a virtual machine.


[ENHANCEMENT] Conformance Profiles: An easy way for implementations to report conformance tests results

Is your enhancement request related to a problem? Please describe.
This issue aims to track the conformance profiles effort around network-policy-api. Adapted with love from https://github.com/kubernetes-sigs/gateway-api/blob/main/geps/gep-1709.md
Describe the solution you'd like
We already have conformance tests for ANP&BANP API - basics being doneand we have two implementations OVNK and Antrea which have adopted this downstream in their repos and are running it there. I'd like to take this one step further and add support for Conformance Profiles which will help report the results of these tests back upstream that will let implementations get the "conformant" badges..
Describe alternatives you've considered
Alternatives are for us to start running implementation specific e2e's in net-pol-api repo here which is not recommended. This NPEP will help share the responsibility of maintaining the test suites to the implementors and the API designers
Additional context
Output will look like this: https://github.com/kubernetes-sigs/gateway-api/pull/1967#pullrequestreview-1408166850
### Tasks
- [ ] Create NPEP for conformance profiles
- [ ] Implement conformance profiles
- [ ] Create repo to maitain reports of results from implementations
- [ ] Document Conformance Profiles for implemenations

/assign @tssurya

/area conformance

/remove-lifecycle stale
This work is done now, all cards are merged already.
Only thing remaining was docs part which @astoycos already did when he made the NPEP part of the website


Code coverage plugin does not support Java 1.8

Seems cobertura we are using fails to deal with lambda expressions in Java 1.8

switched to Jacoco.


Support for ansible .yml

Hello
I'ld like a beautifier for ansible file / .yml extension. Here's what Atom told me
Atom Beautify could not determine a supported beautifier to handle this file with grammar "Ansible" and extension "yml". If you would like to request support for this file and its language, please create an issue for Atom Beautify at https://github.com/Glavin001/atom-beautify/issue

Best regards,

Would you mind providing a location where I can find a specification for ansible and file extensions?

I dunno about a full formal specification. The docs here may be the best
one I found :
http://docs.ansible.com/ansible/playbooks_intro.html#playbook-language-example
Which include several examples and a link to
http://docs.ansible.com/ansible/YAMLSyntax.html
They do state ansible try to stick to raw yaml
Here is a real life example, with variables, the part between double
bracket {{ }} :
https://github.com/ansible/ansible-examples/blob/master/lamp_haproxy/roles/db/tasks/main.yml
And another one with line break for a bloc line 33 to 36 :
https://github.com/ansible/ansible-examples/blob/master/language_features/cloudformation.yaml
I hope that's enought
2017-01-21 23:00 GMT+01:00 Austin Cheney<EMAIL_ADDRESS>
Would you mind providing a location where I can find a specification for
ansible and file extensions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Glavin001/atom-beautify/issues/1479#issuecomment-274291065,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByQn4hNhpAlhW-MzruADddRX701SSIaks5rUoAJgaJpZM4LqIjq
.

Great.  This is exactly the kind of information I was looking for.  I will have to see if one of the current yaml beautifiers can be extended to support the {{ delimiters.

Duplicate of https://github.com/Glavin001/atom-beautify/issues/312 ?
Implemented with PR https://github.com/Glavin001/atom-beautify/pull/1600


Add ppc64le architecture for Java 21

The linux/ppc64le architecture is missing for eclipse-temurin:21-jdk (and 20-jdk). It was last available for 19-jdk.

see https://github.com/adoptium/temurin/issues/8 for progress


train error cv2.error

i trained using python3 train.py
all went well until this happened
Processing image 63 of 100 (train/158225.png)
Processing image 64 of 100 (train/158232.png)
Processing image 65 of 100 (train/158389.png)
Processing image 66 of 100 (train/158111.png)
Processing image 67 of 100 (train/158395.png)
Processing image 68 of 100 (train/158253.png)
Processing image 69 of 100 (train/158125.png)
Processing image 70 of 100 (train/158332.png)
Processing image 71 of 100 (train/158051.png)
Processing image 72 of 100 (train/158220.png)
Processing image 73 of 100 (train/158410.png)
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /io/opencv/modules/imgproc/src/color.cpp, line 11144
Traceback (most recent call last):
  File "train.py", line 54, in <module>
    grayorigin = cv2.cvtColor(origin, cv2.COLOR_BGR2YCrCb)[:,:,0]
cv2.error: /io/opencv/modules/imgproc/src/color.cpp:11144: error: (-215) scn == 3 || scn == 4 in function cvtColor

kindly advise

Can you send me the image that generates the error, if possible. Thanks!


Finishing up VMLA executable loading and implementing interfaces.

λ build\iree\tools\iree-run-mlir.exe -iree-hal-target-backends=vmla test/e2e/xla/abs.mlir
I ..\iree\tools\run_mlir_main.cc:184] Compiling for target backend 'vmla*'...
I ..\iree\tools\run_mlir_main.cc:290] Evaluating all functions in module for driver 'vmla'...
I ..\iree\tools\vm_util.cc:266] Creating driver and device for 'vmla'...
EXEC @tensor
I ..\iree\tools\vm_util.cc:178] result[0]: Buffer<float32[4]>
I ..\iree\tools\run_mlir_main.cc:184] Compiling for target backend 'vmla*'...
I ..\iree\tools\run_mlir_main.cc:290] Evaluating all functions in module for driver 'vmla'...
I ..\iree\tools\vm_util.cc:266] Creating driver and device for 'vmla'...
4xf32=1 2 3 4
EXEC @scalar
I ..\iree\tools\vm_util.cc:178] result[0]: Buffer<float32[]>
f32=4
The program '[32304] iree-run-mlir.exe' has exited with code 0 (0x0).

Future changes will refactor reduction regions and lower them, completing the VMLA implementation.

Is VMLA ready to be added to https://github.com/google/iree/tree/master/iree/hal/cts ? I was hoping the tests there would make it easier to bring up new HAL implementations (e.g. Dawn), but now we have VMLA and LLVMJIT not included there, and the tests in that directory are still very thin.

That CTS doesn't really do anything so I haven't been touching it. Of what it does do the same code is shared between the old interpreter and vmla (all of the host/ command buffer and allocator implementations), so as part of the deletion of the old interpreter I'll just be switching all tests that dep on it to vmla.

Is VMLA ready to be added to https://github.com/google/iree/tree/master/iree/hal/cts ? I was hoping the tests there would make it easier to bring up new HAL implementations (e.g. Dawn), but now we have VMLA and LLVMJIT not included there, and the tests in that directory are still very thin.

That CTS doesn't really do anything so I haven't been touching it. Of what it does do the same code is shared between the old interpreter and vmla (all of the host/ command buffer and allocator implementations), so as part of the deletion of the old interpreter I'll just be switching all tests that dep on it to vmla.

Ah, yeah :/. I want the CTS (tests across HAL implementations that are at a lower level than MLIR LIT tests) to be useful, but we would need to expand on what's in there now.


feat: remove joi schema validation

We still need to decide on if we want to do this for sure, but I got the PR ready just in case.
We do not really need runtime joi schema validation - this is what TypeScript is for. If people are ignoring TypeScript errors in your schema, or JavaScript errors, that is their fault and does not warrant an extra dependency (joi), lots of code to maintain, as well as slower startups.
If we wanna keep runtime schema validation, we should switch to zod so that we can generate TypeScript types based on the schema and do not have to manually maintain config properties in 2 different places (types & schema).

More code to maintain. For every schema change we'll have to change the types AND the joi schema

This is a huge plus for DX

Would you also merge this into Payload 2?
We have some collections with blocks fields using a lot of (nested) blocks. The validation of these collections takes about 20s each.

👎🏼 on this PR.

yarn install && sed 's@        config = await (0, _validate.default)(config, localLogger);@// &@' -i node_modules/payload/dist/config/load.js && yarn dev
:nerd_face:


In mu4e-view, message lines are sometimes truncated

What did you expect to happen?
When viewing a non-HTML message in mu4e that contains message lines longer than the window, they should be wrapped appropriately.
What actually happened?
On occasion, these long lines will instead be truncated, with an arrow at the far right edge of the screen.  100% of the time when that happens, I can get a correct display by pressing C-j C-k (that is, go to the next message, then back to the one that was causing the problem).
This problem occurs most frequently when I am beginning an mu4e session (that doesn't necessarily mean recently launched mu4e, but perhaps having returned to mu4e after awhile).  I usually see it a few times a day, but I cannot readily reproduce it at will.
One time that it occurred, keybindings in mu4e-view also had failed to be set, but I haven't seen that behavior again.
There may be some sort of a race here -- not sure.
Additional details:
mu4e never exhibited this behavior for me before I switched to Doom Emacs.
I don't believe I have set anything relevant, but in case:
(setq mu4e-maildir "~/Maildir")
(setq mu4e-use-fancy-chars nil)
(setq message-send-mail-function 'message-send-mail-with-sendmail)

; Work around a bug.  https://github.com/hlissner/doom-emacs/issues/3294
(setq mu4e-attachment-dir "/home/jgoerzen")

; Automatically apply marks when leaving folder.
(setq mu4e-headers-leave-behavior 'apply)

; In mu4e 1.0, started to want to suppress duplicates and include
; related from other folders.  Stop that nonsense.
(setq mu4e-headers-skip-duplicates nil)
(setq mu4e-headers-include-related nil)
(add-hook 'mu4e-view-mode-hook
          (lambda () (map! :map 'mu4e-view-mode-map :n "p" 'mu4e-view-headers-prev)))

(require 'org-mu4e)
  ; Store link to message if in header view, not to header query
  (setq org-mu4e-link-query-in-headers-mode nil)
...


[Automation] Generate SDK based on TypeSpec 0.16.2

[Automation] Generate SDK based on TypeSpec 0.16.2

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-ai-documentintelligence


Add instructions for how to run pg_listen in docker

See https://gitter.im/begriffs/postgrest?at=5ca55d9c5a83c30a46083a92

Probably not much demand for this. I'll close.


Add warp_single_lane op to VectorExt dialect

Add a new op that will be useful to do vector programming targeting GPU
warps.

Ok, made a pass on the design and I think this is promising. I made suggestions on improving the doc to convey a little more fleshed out e2e path.
Digging a bit deeper, I think this is still quite close to what we used to talk about in the past with the following differences / design improvements:

vector.transfer would not be in tensor land but rather in buffer land. Phase ordering means it would happen after vectorization and after bufferization.

Yes

your new op seems to remove all the weirdness of a "fake distributed loop" by introducing sequential execution, which makes a lot of sense.

Yes

we will need some explicit packing/unpacking ops that actually seem very close to the vector.insert/extract_map
these packing/unpacking ops must not fold away anymore but lower through memory.

I don't think we need the explicit packing/unpacking. My idea was to have it being done at the region boundary. The behavior would still be exactly like vector.insert/extract_map. I added some example of things would be lowered to memory in the op description. Let me know if i makes sense to you. I don't a use for extra packing/unpacking ops at the time.

Does the above mental model make sense to you?

Yes, thanks for summarizing! Overall what you described matches what I had in mind. I haven't introduced the affine map to try to keep things simple at the beginning but as you pointed out it will help making the distribution more explicit.


Dataset downloading problem

Hi,
Thank you so much for creating such an awesome resource! :)
But I have some problem downloading the dataset:
"urllib.error.HTTPError: HTTP Error 409: Public access is not permitted on this storage account."
I would be very grateful if you could help me with this problem.
Regards,
woojoo

Hi @woojoo520 ,
Thanks for your interest in this project and following up via email.
Some time ago I had to take down the dataset from public access due to some internal policies.
Now I will only be sharing the dataset on per request basis.

Hi @karolzak,
I am a Data Science student, I found this project is very interesting, I wanted to learn by working on this project. Since the dataset is not accessible I couldn't explore this project. So could you please give access to the dataset.
Regards
Arsalan


Clarify transmission of directory listings?

Thank you for this fantastic piece of software!
I appreciated seeing the thoughtful note in your README about sensitive information. I saw this line:

If you are concerned about the potential for sensitive information to be sent to OpenAI, we recommend not using these flags [i.e. --alias, --git, --history, etc.].

This made me think that no sensitive information would be transmitted to OpenAI if I avoided those flags. However, when I run terminal-copilot with the -v flag, I can see that it transmits a listing of the current directory as part of the prompt. You could clarify that this transmission will happen, even if no special flags are used. It might also be useful to let users disable this transmission. Another reason it is sometimes useful to disable this feature is that if the directory listing is very long, it can lead to an unexpected openai.error.InvalidRequestError.

Good point, we should probably make this optional as some form of config setting.

For what it's worth, for now I'm using terminal-copilot via a script that always runs it from an empty directory in /tmp.
It's a very useful command. Thank you again.

@rafpaf Want to try to make a small PR to make it more like you would prefer it to be? Eg. making the directory listing  optional? or asking the user the first time to include it or not?

@rafpaf Any other thoughts on how we can make the tool even better?

@rafpaf Could you test for me if your script use-case works with #43 ?


steps_per_bar should be stored with the graph so it can be loaded by the generator from a bundle

It might be considered for future versions of releases.


Apache Storm's storm.py doesn't support Python 3

sparse run is not executable with Python 3 since print is a function, not a statement.
>>> sparse quickstart wordcount
>>> cd wordcount
>>> sparse run

File "/storm/bin/storm.py", line 94
    print "ERROR:  JAVA_HOME is invalid.  Could not find bin/java at %s." % JAVA_HOME
                                                                        ^
SyntaxError: Missing parentheses in call to 'print'

It is problem of Apache Storm, not streamparse.
sudo find / -iname "storm.py"
/opt/apache-storm-1.0.1/bin/storm.py

I agree that this should be fixed (it is single print statement without parentheses).
For temporary fix, please change your local file ( enclose the line 94 print statement with parantheses )

Created pull request https://github.com/apache/storm/pull/1452

Sorry for that mistake - I didn't dig deeper yet - and thank you for creating the pull request.

Its not mistake at all, thank you for creating issue. Result for users are "streamparse is not running". Which should be definitely fixed (even though in different project).

Sorry for the long delay. next bugfix release (1.0.2) will include patch on @Darkless012 .

@macheins @Darkless012
Could you check it's resolved with Storm 1.0.2?

Seems to work now. Thank you @HeartSaVioR


4.2.1版本中toolbox渲染有问题，同样的配置4.1.0版本是正常的

Version
4.2.1
Steps to reproduce
option = "{"series":[{"name":"cb","data":[{"name":"Amaretto","itemStyle":{},"value":89},{"name":"Caffe Mocha","itemStyle":{},"value":191},{"name":"Columbian","itemStyle":{},"value":83},{"name":"Darjeeling","itemStyle":{},"value":45},{"name":"Decaf Irish Cream","itemStyle":{},"value":95},{"name":"Green Tea","itemStyle":{},"value":102}],"type":"bar"}],"yAxis":[{"type":"value"}],"toolbox":{"show":true,"feature":{"magicType":{"title":{"line":"折线图","bar":"柱状图"},"show":true,"type":["line","bar"]},"dataView":{"title":"数据视图","optionToContent":"$$$function(){ return '<table style="width:100%;text-align:center">productNamecbAmaretto89Caffe Mocha191Columbian83Darjeeling45Decaf Irish Cream95Green Tea102'}$$$","readOnly":false,"show":true,"lang":["数据视图","关闭","刷新"]},"myrefresh":{"show":true,"icon":"path://M18.233,81.666l-0.016,0.003c0.006,0.012,0.01,0.022,0.016,0.036c0.008,0.101,0.026,0.195,0.04,0.293   c0.002,0.017,0,0.029,0.002,0.045l3.929,25.514c0.476,3.098,3.374,5.221,6.47,4.743c3.098-0.476,5.222-3.372,4.746-6.471   l-0.611-3.965c0.712,0.587,1.43,1.169,2.175,1.714c10.106,7.42,23.111,10.987,36.486,8.926c13.372-2.056,24.702-9.37,32.109-19.487   c3.662-4.988,6.353-10.695,7.922-16.793l-15.479-4.262c-1.044,4.191-2.882,8.109-5.405,11.552   c-5.012,6.824-12.566,11.713-21.593,13.105c-9.027,1.388-17.705-1.002-24.536-6.004c-0.841-0.616-1.645-1.282-2.424-1.976   l4.488,0.435c2.872,0.276,5.445-2.025,5.748-5.144c0.3-3.12-1.783-5.873-4.655-6.15l-23.659-2.291   c-2.568-0.248-4.884,1.572-5.564,4.188c-0.05,0.185-0.076,0.374-0.109,0.565c-0.021,0.132-0.061,0.255-0.074,0.39   c-0.004,0.041,0.002,0.077-0.001,0.114c-0.013,0.174-0.004,0.351-0.002,0.528C18.235,81.406,18.224,81.539,18.233,81.666z" fill="#232323"/><path d="M109.767,46.334l0.015-0.002c-0.006-0.013-0.01-0.024-0.016-0.037c-0.008-0.1-0.027-0.195-0.04-0.293   c-0.002-0.015,0-0.029-0.002-0.044l-3.928-25.513c-0.477-3.097-3.373-5.221-6.472-4.744c-3.097,0.477-5.221,3.373-4.744,6.47   l0.612,3.967c-0.715-0.587-1.433-1.169-2.177-1.715c-10.106-7.419-23.112-10.989-36.484-8.926   c-13.374,2.055-24.703,9.371-32.109,19.487c-3.664,4.989-6.355,10.696-7.922,16.794l15.479,4.26   c1.042-4.19,2.882-8.108,5.403-11.551c5.012-6.824,12.569-11.712,21.595-13.105c9.027-1.386,17.703,1.002,24.536,6.002   c0.841,0.618,1.645,1.284,2.423,1.976l-4.487-0.434c-2.872-0.278-5.445,2.026-5.747,5.144c-0.303,3.119,1.782,5.873,4.653,6.15   l23.659,2.291c2.568,0.248,4.884-1.572,5.564-4.188c0.05-0.184,0.076-0.374,0.107-0.565c0.022-0.132,0.063-0.255,0.075-0.391   c0.006-0.038-0.003-0.075,0-0.112c0.014-0.175,0.007-0.353,0.003-0.53C109.764,46.595,109.774,46.462,109.767,46.334z","title":"还原"}},"right":25},"legend":{"data":["cb"]},"xAxis":[{"position":"bottom","data":["Amaretto","Caffe Mocha","Columbian","Darjeeling","Decaf Irish Cream","Green Tea"],"type":"category"}],"tooltip":{"formatter":"{b}{a0}: {c0}","trigger":"axis"},"title":{"show":false,"text":"","left":"5%","top":"0","textStyle":{"color":"#333","fontFamily":"sans-serif","fontSize":"18"}},"color":["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"]}"
对该option进行渲染非正常显示,如果将option中的myrefresh对象去掉或去掉其icon可以正常显示
What is expected?
toolbox靠右正常显示

What is actually happening?
toolbox左上角显示且被容易边缘覆盖显示

What is actually happening?
toolbox左上角显示且被容易边缘覆盖显示

option = {"yAxis":[{"type":"value"}],"xAxis":[{"data":["Amaretto","Caffe Mocha","Columbian","Darjeeling","Decaf Irish Cream","Green Tea"],"type":"category"}],"legend":{"data":["cb"]},"series":[{"data":[{"name":"Amaretto","itemStyle":{},"value":89},{"name":"Caffe Mocha","itemStyle":{},"value":191},{"name":"Columbian","itemStyle":{},"value":83},{"name":"Darjeeling","itemStyle":{},"value":45},{"name":"Decaf Irish Cream","itemStyle":{},"value":95},{"name":"Green Tea","itemStyle":{},"value":102}],"name":"cb","type":"bar"}],"toolbox":{"feature":{"magicType":{"show":true,"title":{"bar":"柱状图","line":"折线图"},"type":["line","bar"]},"myrefresh":{"show":true,"icon":"path://M18.233,81.666l-0.016,0.003c0.006,0.012,0.01,0.022,0.016,0.036c0.008,0.101,0.026,0.195,0.04,0.293   c0.002,0.017,0,0.029,0.002,0.045l3.929,25.514c0.476,3.098,3.374,5.221,6.47,4.743c3.098-0.476,5.222-3.372,4.746-6.471   l-0.611-3.965c0.712,0.587,1.43,1.169,2.175,1.714c10.106,7.42,23.111,10.987,36.486,8.926c13.372-2.056,24.702-9.37,32.109-19.487   c3.662-4.988,6.353-10.695,7.922-16.793l-15.479-4.262c-1.044,4.191-2.882,8.109-5.405,11.552   c-5.012,6.824-12.566,11.713-21.593,13.105c-9.027,1.388-17.705-1.002-24.536-6.004c-0.841-0.616-1.645-1.282-2.424-1.976   l4.488,0.435c2.872,0.276,5.445-2.025,5.748-5.144c0.3-3.12-1.783-5.873-4.655-6.15l-23.659-2.291   c-2.568-0.248-4.884,1.572-5.564,4.188c-0.05,0.185-0.076,0.374-0.109,0.565c-0.021,0.132-0.061,0.255-0.074,0.39   c-0.004,0.041,0.002,0.077-0.001,0.114c-0.013,0.174-0.004,0.351-0.002,0.528C18.235,81.406,18.224,81.539,18.233,81.666z" fill="#232323"/><path d="M109.767,46.334l0.015-0.002c-0.006-0.013-0.01-0.024-0.016-0.037c-0.008-0.1-0.027-0.195-0.04-0.293   c-0.002-0.015,0-0.029-0.002-0.044l-3.928-25.513c-0.477-3.097-3.373-5.221-6.472-4.744c-3.097,0.477-5.221,3.373-4.744,6.47   l0.612,3.967c-0.715-0.587-1.433-1.169-2.177-1.715c-10.106-7.419-23.112-10.989-36.484-8.926   c-13.374,2.055-24.703,9.371-32.109,19.487c-3.664,4.989-6.355,10.696-7.922,16.794l15.479,4.26   c1.042-4.19,2.882-8.108,5.403-11.551c5.012-6.824,12.569-11.712,21.595-13.105c9.027-1.386,17.703,1.002,24.536,6.002   c0.841,0.618,1.645,1.284,2.423,1.976l-4.487-0.434c-2.872-0.278-5.445,2.026-5.747,5.144c-0.303,3.119,1.782,5.873,4.653,6.15   l23.659,2.291c2.568,0.248,4.884-1.572,5.564-4.188c0.05-0.184,0.076-0.374,0.107-0.565c0.022-0.132,0.063-0.255,0.075-0.391   c0.006-0.038-0.003-0.075,0-0.112c0.014-0.175,0.007-0.353,0.003-0.53C109.764,46.595,109.774,46.462,109.767,46.334z","title":"还原"}},"show":true,"right":25},"tooltip":{"formatter":"{b}{a0}: {c0}","trigger":"axis","confine":"true"},"title":{"show":false,"text":"","left":"5%","top":"0","textStyle":{"color":"#333","fontFamily":"sans-serif","fontSize":"18"}},"color":["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"]};

https://gallery.echartsjs.com/editor.html 提供一下可复现的 demo

https://gallery.echartsjs.com/editor.html 提供一下可复现的 demo

https://gallery.echartsjs.com/editor.html?c=xxXL_iJCM9&v=1

红框内是渲染有问题的toolbox

https://gallery.echartsjs.com/editor.html 提供一下可复现的 demo

我今天调试了下，发现是toolbox中我们自定义的myrefresh的icon有问题，去掉
 红框中的代码，4.2.1版本是可以正常渲染的

所以现在没问题了？


Services: first build: abs added

Linter check found the following problems:
The following problems have been found:
ERROR: clone/recipe/meta.yaml:34: remove_python_pinning: On arch specific packages, python deps should not be constrained.
ERROR: clone/recipe/meta.yaml:36: remove_python_pinning: On arch specific packages, python deps should not be constrained.
ERROR: clone/recipe/meta.yaml:44: incorrect_license: The recipe's about/license key is not an SPDX compliant license or license exception, reference https://spdx.org/licenses/
ERROR: clone/recipe/meta.yaml:46: missing_dev_url: The recipe is missing a dev_url
WARNING: clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
ERROR: clone/recipe/meta.yaml:46: missing_license_family: The recipe is missing the about/license_family key.
ERROR: clone/recipe/meta.yaml:46: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Add your contribution here!

@all-contributors add mybearworld for infra, code, bug

@all-contributors add @OneShot-Niko, @NotFenixio, @mybearworld and @OregSamSas  for translation

@all-contributors add @OneShot-Niko @NotFenixio @mybearworld and @OregSamSas for translation

@all-contributors add @NotFenixio for translation
@all-contributors add @mybearworld for translation
@all-contributors add @OregSamSas for translation
(Sorry, for the ping spam...)

https://github.com/all-contributors add @OregSamSas for translation

@allcontributors add @OregSamSas for translation

@allcontributors add @mybearworld for translation

what

@allcontributors add @mybearworld for translation

@allcontributors remove @mybearworld for translation

@allcontributors add @mybearworld for translation, bug

what

#31 (which is merged)

what

#31 (which is merged)

didn't add it to translations though

@allcontributors add @OneShot-Niko for ideas

didn't add it to translations though

oh, thats odd then

@allcontributors add @OneShot-Niko for ideas

@allcontributors add @mybearworld for translation


Add hyperparameter search and other minor features

Changes Unknown when pulling 63a7068c8c6ba7af3fdb98eba606e9701115a15b on hyperparameters into ** on master**.

Changes Unknown when pulling 63a7068c8c6ba7af3fdb98eba606e9701115a15b on hyperparameters into ** on master**.


[WIP] Move the metadata-pattern header into the type context descriptor

The goal here is to make the pattern a private implementation detail
while also allowing the runtime to have more visibility into the
allocation and caching of generic types.  This is a waypoint.

@swift-ci Please test.

Build failed
Swift Test OS X Platform
Git Sha - 7a467e90d5ed38d9dbcb25169450830b1c7446b2

@swift-ci Please test.

Build failed
Swift Test Linux Platform
Git Sha - 7a467e90d5ed38d9dbcb25169450830b1c7446b2

Build failed
Swift Test OS X Platform
Git Sha - 7a467e90d5ed38d9dbcb25169450830b1c7446b2

Never make one last innocuous change without building before pushing out for testing, folks.

@swift-ci Please test OS X.

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - d7c0418f5d3dea1de20acc90afadc7035a367d8f

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - d7c0418f5d3dea1de20acc90afadc7035a367d8f

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - 8e91427286f90ec3b392ac516d2500d322fc5e28

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - 9ed40016c475ee8a1e85c8d111f9e19471e644cb

@swift-ci Please test OS X.

Build failed
Swift Test OS X Platform
Git Sha - c8920d0745c63e1475dc289ad6c0dd0a425f4fe6

@swift-ci Please test and merge.

@swift-ci Please test and merge.

@swift-ci Please test and merge.

Of course I forget to take [WIP] out of the PR name before merging.


General questions about SemanticCodeSearch

I am curious about SemanticCodeSearchTool.
db = Chroma(persist_directory=db_path, embedding_function=OpenAIEmbeddings(disallowed_special=()))

Can we plugin any embedding model instead of OpenAIEmbeddings? For example, use of HuggingFaceEmbeddings.
I have a few questions regarding the use of SemanticCodeSearch for RepoPilot.

Does current implementation use SemanticCodeSearch? I have gone through the code and it seems like semantic search is not used/explored yet. If it is used, can you provide some detail how repositories are indexed or stored in DB (whole files or they are segmented)?
Which part of RepoPilot uses semantic search? Planning, Analysis, or Navigation? I am guessing it is the navigator because it takes tools where we can include the SemanticCodeSearchTool.

Hi, you can use any embedding model beside OpenAIEmbeddings.

We observed that current implementation of Semantic Code Search tool causes the pilot using this tool too frequently, so currently, I disabled it. But in the future, we will try to integrate this tool in the flow. The files are iteratively segmented with language-specific parser (you can find it in the codebase), then indexed.
Currently, Navigator is using the semantic code search tool.


The evaluation result of llama-2-7b-chat-M2 in HotpotQA

Hi, I have reproduced the whole process using llama-2-7b-chat. When I get the M2 model, the one in HotpotQA-easy only gets an evaluation result of 30.28. May I ask if this result is close to what you have tested using M2? How many more iterations of the training process do I need to repeat to get the results in the paper?

Could you share the reward and accuracy values corresponding to your test results?

Average reward : 0.3027777777777778
Average success : 0.24

Hahaha, sorry, it was caused by my bing api reaching its maximum number of uses!


add webpack config for Embed static view

add Embed to webpack workflow to generate static HTML

unassigning and moving to TO-DO, re-prioritizing public maps

Blocked until #12867 is merged.


Extra values are not present in callback payload

New Issue Checklist

[x] I am not disclosing a vulnerability.
[x] I am not just asking a question.
[x] I have searched through existing issues.
[x] I can reproduce the issue with the latest version.

Issue Description

When additional properties are defined in sendMail(options), they aren't present in the payload of the callback.
Steps to reproduce

Parse.Cloud.sendEmail({
      templateName: 'testTemplate',
      placeholders: {
        name: 'Test',
      },
      recipient<EMAIL_ADDRESS>      extra: {
        testKey: 'testValue'
      }
})

Actual Outcome

config.emailAdapter = {
    module: 'parse-server-api-mail-adapter',
    options: {
      sender: '..',
      templates: { ... },
      apiCallback: async ({ payload, locale }) => {
        console.log(payload)
      })
  }
}

output:
{
  from: '...',
  to: '...',
  subject: 'Test\n',
  text: '...',
  html: '\n' +
    '  \n' +
    '
Test
\n' +
    '  \n' +
    '\n'
}

Expected Outcome

The properties set in extra should be present somehow.
Failing Test Case / Pull Request

Environment

API Mail Adapter version: 3.1.1
Parse Server version: 6.4.0

Logs

Isn't there a test case for this?


Caching strategy for dynamic data

Context of the issue/feature
Circuit breaker mechanism allows to implement a custom fallback mechanism. In many situations when the data source is not available we can provide some cached value (if it is not stale). This cache mechanism / strategy should integrate with such key-value stores like Redis itp. It should be used in Knot.x Data Bridge and Http Repository.

Implemented in CB and Cache behaviours.


MRG: Add compare_fiff

Useful little utility to do e.g. mne compare_fiff test_raw.fif test_raw_sss.fif.

This one is ready to go. We might need to go old-school and have someone do make test on these PRs until the mysterious conda bug is fixed.

thanks @Eric89GXL


SCTask Errors in Visual Studio 2017

If you are still using Saltaralle and get some errors on SCTask.dll in Visual Studio 2017, open an administrative command prompt:
> cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
> "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe" /i Microsoft.Build.dll
> "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe" /i Microsoft.Build.Framework.dll

This works for community version default install location, change your folder if you are using Professional, Enterprise etc.
This made me lose a few hours to resolve...

Hi @volkanceylan,
I have an old Saltarelle based app which requires a small change and I am getting the following error:
The "SCTask" task failed unexpectedly.

2>C:\ngs-projects\LCBudgetsProduct\packages\Saltarelle.Compiler.2.7.0\tools\Saltarelle.Compiler.targets(32,3): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I tried following your tip adjusting it to Visual Studio 2019 CE but I get the error:

Failure adding assembly to the cache:   The system cannot find the file specified.

I have no files in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\15.0\Bin folder except for one folder named Roslyn. Where do I find those 2 missing assemblies? Many thanks in advance.

For VS19, these assemblies are actually located in: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
However, still getting the following error (even though the project appears to be running fine):

Running transformation: System.IO.FileNotFoundException: Could not find file 'C:\ngs-projects\LCBudgetsProduct\LCBudgets\LCBudgets.Script\bin\debug\Serenity.Script.Imports.dll'.File name: 'C:\ngs-projects\LCBudgetsProduct\LCBudgets\LCBudgets.Script\bin\debug\Serenity.Script.Imports.dll'   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)   at Mono.Cecil.ModuleDefinition.GetFileStream(String fileName, FileMode mode, FileAccess access, FileShare share)   at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)   at Microsoft.VisualStudio.TextTemplating5FC9B993D1F2E2E20B16792E1E7686911D099565B7370833B723E6DF22378E8F4EE0086DD2EAF86153FD9B8772FD9144297567C857B07FA69A33B3F0765CA025.GeneratedTextTransformation.SSTypeLister..ctor(String[] assemblies)   at Microsoft.VisualStudio.TextTemplating5FC9B993D1F2E2E20B16792E1E7686911D099565B7370833B723E6DF22378E8F4EE0086DD2EAF86153FD9B8772FD9144297567C857B07FA69A33B3F0765CA025.GeneratedTextTransformation.TransformText() | Solution 'LCBudgets' (2 of 5 projects) | C:\ngs-projects\LCBudgetsProduct\LCBudgets\LCBudgets.Web\Modules\Common\Imports\ServerTypings\ServerTypings.tt | 1 |


Remove WhereUnique constraint from single object lookups

Problem
Single object lookups are constrained to unique fields. This affects the methods create(), update() and findOne(). It is not possible to include non-unique fields in the lookup expression. Example:prisma.Post.delete({where: {id: 1, nonUniqueField: false}}) // this is not allowed. This is a constraint that Prisma adds. This constraint does not exist in the underlying SQL. The ability to only include unique fields is a significant limitation for many professional use cases and bloats up the required code for many applications while only providing marginal benefits.
Example: Most professional apps use a soft-delete feature. When retrieving an instance it is very common to check, if the instance was soft deleted. Desired syntax prisma.Post.findUnique({where: {id: postId, isDeleted: false}}).
Current workarounds

Use *Many operations, which don't return the instance and are far more dangerous to use. Imagine forgetting to put in the id for an update call prisma.Post.updateMany({where: category: "basic" }) (we now have to restore the database).
Adding multi-field indexes, which creates a lot of overhead and changes the DB just to get around this limitation
Writing raw SQL.

This problem was discussed here and here. But no good argument was brought up as to why this limitation exists other than marginally better typings.
Suggested solution
Option 1: Single object lookups should accept unique and non-unique input. Single object lookups should throw an exception if more than one object is found which sufficiently guarantees correct behavior.
Option2: Add new methods findOne, createOne ... that accept non-unique input and return one instance.

This is an important feature for code health, and seems like it would be entirely reverse-compatible with the existing API.
In terms of implementation and reverse-compatibility, whether you are running .findUnique(), .update(), or .delete(), it is sufficient that at least one of the parameters in the where clause is unique.  Additional filters will never add more records to the result.
In terms of code health, a common bug is one where any user knowing the ID of an object owned by another user is able to modify that other user's object.  For instance:
logged_in_check();

prisma.post.update({
    where: {id: req.body.postId},
    data: {...}
});

would potentially cause an issue where any user knowing the post's ID would be able to modify it.
What I'd like to do is something like this:
user_id = logged_in_check();

prisma.post.update({
    where: {id: req.body.postId, ownerId: user_id},
    data: {...}
});

Right now, I have to do this:
user_id = logged_in_check();

the_post = prisma.post.find({
    where: {id: req.body.postId},
    data: {...}
});

if (the_post.ownerId === user_id) {
  prisma.post.update({
      where: {id: req.body.postId},
      data: {...}
  });
}

Clearly, the "make sure this user can edit this post" pattern that I have to use within Prisma now is less optimal because of more back-and-forth with the database and also is less concise and readable.  Allowing at least one unique field and any number of other fields in the where clause would make my code more readable overall.

I'm facing the same. WhereUniqueInput should enforce the unique fields, but allow any other field as well. This is crucial for the permission management and scope limiting purposes. This would be a major improvement to Prisma.

This is an important feature for code health, and seems like it would be entirely reverse-compatible with the existing API.

@theGOTOguy I actually think that it would be fully backwards compatible improvement: The unique fields could still be enforced, but the rest could still be allowed. The api would only be extended, but would not affect existing queries.

Hey folks,
A solution was implemented by https://github.com/prisma/prisma-engines/pull/3281. It will be available in the next release under a new preview flag called extendedWhereUnique.
If you have any feedback you'd like to give about this feature, please post it here https://github.com/prisma/prisma/issues/15837#event-7600630285
Thanks for your patience, closing now 🙏.


Task 961-966: Open Subtitles, QA_zre Dataset

Name  : Yammanuru Abhilash Reddy (row number 123 in excel file)(Task: 961-966)
ASUID :<PHONE_NUMBER>
Tasks Created :
4 tasks on QA_zre dataset
2 tasks on Open Subtitles

Update: Reviews discussed in detail during the office hours.

Hey @swarooprm.

I have made the suggested changes.
Read and corrected datasets thoroughly for any grammatical, spelling mistakes, or inconsistencies.
Added 2 more datasets.
Converted the Language Translation Tasks data from Unicode to a readable format.

@abhilashreddyy, can you address reviewer comments so that I can evaluate your HW?

@abhilashreddyy, can you address reviewer comments so that I can evaluate your HW?

A gentle reminder! @abhilashreddyy

I have added categories to the relation generation task and converted it to a classification task
There is only one question per instance in the question generation task and the output of the question generation instance us in list format
NOTE : Apologies for the delayed commit, I was using this git repository on an old email address which is heavily spammed. Hence I lost the suggestion messages. I would be really grateful if can still consider my assignment

Yes, I would like to contribute these tasks to the research. Will submit the pull request tomorrow after the NLP test.


Import Error on M1 Mac Python 3.10

Hello, I'm getting an import error similar to the other one reported here - but different enough that I'll make it a separate issue.
After pip install pywfa
>>> from pywfa.align import WavefrontAligner
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/homebrew/Caskroom/miniconda/base/envs/py-3.10/lib/python3.10/site-packages/pywfa/__init__.py", line 2, in <module>
    from .align import WavefrontAligner, clip_cigartuples, cigartuples_to_str, elide_mismatches_from_cigar
ImportError: dlopen(/opt/homebrew/Caskroom/miniconda/base/envs/py-3.10/lib/python3.10/site-packages/pywfa/align.cpython-310-darwin.so, 0x0002): symbol not found in flat namespace (_cigar_print_pretty)
>>>

Hi @KyleStiers, are you able to try the conda install route?

Alternatively, it may work by cloning the repo and using python setup.py install.

Hi @KyleStiers, are you able to try the conda install route?

I did try the conda route, and haven't gotten that to work either unfortunately. Working to solve that part, though as it seems to be an issue on my end due to proxies.

Alternatively, it may work by cloning the repo and using python setup.py install.

I also tried this and get errors regarding the path it expects (from distutils it appears) for clang, but haven't had luck forcing it quite yet.

Tried conda install and pip install on WSL2 with python 3.11 as well just out of curiosity... both say they worked but:
pip:
>>> import pywfa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/redacted/miniconda3/envs/py-3.11/lib/python3.11/site-packages/pywfa/__init__.py", line 2, in <module>
    from .align import WavefrontAligner, clip_cigartuples, cigartuples_to_str, elide_mismatches_from_cigar
ImportError: /home/redacted/miniconda3/envs/py-3.11/lib/python3.11/site-packages/pywfa/align.cpython-311-x86_64-linux-gnu.so: undefined symbol: wavefront_align
>>>

Conda says it successfully installs on linux but:
>>> from pywfa.align import WavefrontAligner
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pywfa'

Ok thanks for trying with this. I can have a go on an M1 later in the week and report back. Sorry about the error
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg

From: Kyle Stiers @.>
Sent: Tuesday, March 28, 2023 10:33:20 PM
To: kcleal/pywfa @.>
Cc: Kez Cleal @.>; Comment @.>
Subject: Re: [kcleal/pywfa] Import Error on M1 Mac Python 3.10 (Issue #6)
External email to Cardiff University - Take care when replying/opening attachments or links.
Nid ebost mewnol o Brifysgol Caerdydd yw hwn - Cymerwch ofal wrth ateb/agor atodiadau neu ddolenni.
Tried conda install and pip install on WSL2 with python 3.11 as well just out of curiosity... both say they worked but:
pip:

import pywfa
Traceback (most recent call last):
File "", line 1, in
File "/home/redacted/miniconda3/envs/py-3.11/lib/python3.11/site-packages/pywfa/init.py", line 2, in
from .align import WavefrontAligner, clip_cigartuples, cigartuples_to_str, elide_mismatches_from_cigar
ImportError: /home/redacted/miniconda3/envs/py-3.11/lib/python3.11/site-packages/pywfa/align.cpython-311-x86_64-linux-gnu.so: undefined symbol: wavefront_align

Conda says it successfully installs on linux but:

from pywfa.align import WavefrontAligner
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pywfa'

—
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkcleal%2Fpywfa%2Fissues%2F6%23issuecomment-1487622686&data=05|01|clealk%40cardiff.ac.uk|197e9e8cca4d482ee5c808db2fd40da3|bdb74b3095684856bdbf06759778fcbc|1|0|638156360021530957|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=it4Gjm%2FiS%2FA5HECUcJ%2BxTIuq%2FbnvF9GT8SRgDYjRVs4%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKIBQHIHHCTF36MU664B7W3W6NKKBANCNFSM6AAAAAAWLCCTV4&data=05|01|clealk%40cardiff.ac.uk|197e9e8cca4d482ee5c808db2fd40da3|bdb74b3095684856bdbf06759778fcbc|1|0|638156360021530957|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=f902D8EkXUls44qFauNOlBMIhhUgCfzgtLkzc8ukzQQ%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>