Alignment of bullet and numbered lists without breaking their layout

Description
Say we want to place a bullet list centered in a paragraph or a table cell.
Current (by #align(center)) and desired behaviors (approximately simulated by indent) can be seen on a screenshot produced by the code
= List alignment

== Current behaviour

#align(center)[
  - Short item
  - A longer item
  - Another very long item
]

== Desired behaviour

#set list(indent: 15.4em)

- Short item
- A longer item
- Another very long item

I believe both ways can be useful and my "desired" variant seems more natural as a default.
At the moment I haven't found a way to achieve the second variant. Applying #block to the list doesn't change anything.
Use Case
It will allow placing lists in a desired location on the page, while keeping their natural established look.

use  this code
= List alignment
#align(center)[
  #box[
    #align(left)[
    - Short item
    - A longer item
    - Another very long item
    ]
  ]
]

Result:

@mojtaba82 Thank you for the advice. I thought that it should be possible, but couldn't find a way.
I think this case still needs to be considered by the devs, so I'll keep the issue open.


Position of disadopt tree button.

Good evening.
I water trees with amounts that proceed 50 litres regularly. The max volume with GdK is 50 litres. So I have to click the 'Water tree' button multiple times and wait until all the data and the diagram is updated. The 'last watered' list gets longer and pushes the buttons below it one line further. Thus, the 'Disadopt tree' button gets in position of the 'Water tree' button.
I would recommend to change the order of the buttons to avoid disadopting trees accidently.
Greetings
panketaucher

Hi @panketaucher,
we currently updated the order the buttons so that now the "Ich habe gegossen" button is above the "Adoption aufheben" button. Furthermore, latest waterings are now shown at the very top of the list. Please see the code changes here https://github.com/technologiestiftung/giessdenkiez-de/commit/f57c1f43aa596f83db396e8aa4fcec4328df4fc3
Thank you very much for reporting.


Running code on Windows

I am new to golang, and I need your help to let me know how do I run your project on windows asap. If you give commands step by step that would be great. Thank You!

You would run exactly as any other executable. All of the details are explained in the readme file. You might check also the Golang documentation.


Endpoint for fetching safes with a given module enabled.

What is needed?
An endpoint to the transaction service that is similar to /owners/{address}/safes/, but is for modules, something like /modules/{address}/safes/. So that you can query for all of the safes that have enabled a given module.
Background
There are many cases where a given module might be enabled on many safes. For example, some modules (like the spending limits module) are deployed as singletons to be used by many safes or a DAO framework might be enabled as a module to multiple safes it controls.
Endpoint
Described above.
URL
GET /api/v1/modules/{address}/safes/
Response
{
  "safes": [
    "0xdead...beef",
    "0x1234...5678"
  ]
}

This would be very useful for us at Daohaus building on Zodiac. This would be for a use case where a DAO may have multiple treasury vaults, separated for organization or sand boxing.
Being able to easily query all safes with the same module would help with a UI that lists all available 'vaults' for a DAO.
our initial exploration:
https://hackmd.io/@daohaus/HkmijuJY9


Codings in site persistence

https://github.com/uwcirg/true_nth_usa_portal/pull/1645

Hello @pbugni! Thanks for submitting the PR.

In the file tests/test_model_persistence.py, following are the PEP8 issues :

Line 66:23: E222 multiple spaces after operator


Rules for array

I have following schema:
params do
  required(:response_id).value(:string)
  required(:answers).array(:hash) do
    required(:question_id).value(:string)
    required(:value).hash do
      optional(:possible_answer_ids).value(:array)
      optional(:content).value([:hash, :string])
    end
  end
end

I'd like to be able define rules like:
rule(answers: :question_id)
But I get:
Dry::Validation::InvalidKeysError:
       Responses::Schema.rule specifies keys that are not defined by the schema: [{:answers=>:question_id}]

When I call schema.key_map I get:
#<Dry::Schema::KeyMap["response_id", ["answers", ["question_id", {"value"=>["possible_answer_ids", "content"]}]]]>
I was looking for a similar example in specs, but I didn't find.
Is it possible to define rules like that?

Try with:
  rule(:answers).each do
     value[:question_id]
  end

It works, thanks!

Hello again, I have the additional issue related with this question.
I want to get response with errors in this way (like another default validations):
{
  answers: {
    0 => {
      question_id: [
        "error message"
      ]
    }
  }
}

I was trying in this way:
rule(:answers).each do
   key(:question_id).failure("error message")
end

But I get:
stages => ["error message"]

Please don't use Github for asking questions, see https://github.com/dry-rb/dry-validation/blob/master/CONTRIBUTING.md for links to our forum and chat.

It would have been nice if this was answered..


Docstring updates, guide improvements.

Adds some meager docstrings for the distributions we have, and tacks them onto the API page. I've also changed the name from Library to API for the page that shows off our docstrings.
It doesn't really seem like the docs are being built automatically -- @KDr2 do you know what's up with that?

Hi @cpfiffer, the document will only be automatically built on the master branch or on a commit tagged with a v* tag.  After the building, the docs will be pushed to the gh-pages branch.
Only allowing master-branch or release tag building could prevent docs in a not-yet-approved commit being published. If you want to preview the update, you can build it on the local machine by run julia ./docs/make.jl, then start a simple web server which treats the docs directory as its root dir:
$cd docs
$ python -mSimpleHTTPServer
Serving HTTP on <IP_ADDRESS> port 8000 ...

The point the browser to http://localhost:8080/dev/ to preview the updates.
After the docs being merged into the master branch, it will be automatically built and published.

The CI job is triggered, but there's an error. I will check it ASAP.
https://travis-ci.org/TuringLang/Turing.jl/jobs/590813375

It doesn't seem that the update of the webpage actually worked, e.g. Library is still called Library instead of API as changed by Cameron through this PR. I suppose something went wrong.

Side question: Why do we need DynamicHMC to build the docs? This seem strange to me.

For reference:
https://github.com/TuringLang/Turing.jl/blob/4dbb817e1d1484e9b9763c899dd7e0c7d8d23809/.travis.yml#L116
and
https://github.com/TuringLang/Turing.jl/blob/4dbb817e1d1484e9b9763c899dd7e0c7d8d23809/docs/make.jl#L1

Which docstring requires this? Would it make sense to get rid of it? It feels wrong that our documentation build depends on DynamicHMC. But maybe thats just me.

Well, ignore me, I guess. I was referring to this docstring
https://github.com/TuringLang/Turing.jl/blob/4dbb817e1d1484e9b9763c899dd7e0c7d8d23809/src/contrib/inference/dynamichmc.jl#L9
but we don't appear to be exporting it to the website, so the documentation build step probably doesn't need to include DynamicHMC. Unless we want to export the docstring.


ListedColormap: don't pass N colors

[ ] Closes #xxxx
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

matplotlib/matplotlib#29135 deprecated passing N to ListedColormap. This PR avoids the deprecation warnings once the new matplotlib version is released.

That's actually also mentioned in #9810 (maybe because internal warnings now error?)

Thanks for taking this on!


fix: cases of perpetual "out of sync" apps

This PR fixes a few cases where the ArgoCD apps would perpetually show as "out of sync", even after they were just synced.

dkf-dep--istio:

The new Istio 1.22 added a new ValidatingWebhookConfiguration called istio-validator-istio-system, so we need to also ignore diffs in its failurePolicy (as Istio updates this to Fail after Istio is successfully running).
We now just ignore the failurePolicy of all validation webhooks in the istio app.

kf-tools--pipelines:

If the MySQL secret was changed, Kyverno would restart the KFP pods that use it by updating the deploykf.org/restart-trigger annotation of the Pod template. However, because two of the deployments did not have spec.template.metadata.annotations at all, our ArgoCD ignoreDifferences did not work properly, ArgoCD wanted to remove the annotations field entirely.
We have resolved this by adding a dummy annotation to these Deployments Pod templates:

Deployment/cache-server (in kubeflow namespace)
Deployment/metadata-grpc-deployment (in kubeflow namespace)
Deployment/ml-pipeline-ui-artifact (in each profile namespace).

dkf-opt--deploykf-minio:

To avoid issues with restart triggers (from OIDC secret and ObjectStore credentials), we have added a dummy annotation to the Deployment/deploykf-minio Pod template.

WARNING: while testing this, I found a another issue, which is that even Kyverno 1.10.0 seems to display this upstream error (where if the source secret name is too long, the mutate rule will fail): https://github.com/kyverno/kyverno/issues/9134 We need to update the default Kyverno to one that has this fixed (or replace it if there are other issues in the newest version).

generator/templates/argocd/applications/deploykf-dependencies/istio.yaml

@amin1419 can you clarify what you are trying to say here?


bot doesn't work on windows & linux (same problem in the 2 system's)

Traceback (most recent call last):
File "run.py", line 345, in main
m = MusicBot()
File "C:\Users\user\MusicBot\musicbot\bot.py", line 61, in init
self.config = Config(config_file)
File "C:\Users\user\MusicBot\musicbot\config.py", line 17, in init
self.find_config()
File "C:\Users\user\MusicBot\musicbot\config.py", line 226, in find_config
if not config.read(self.config_file, encoding='utf-8'):
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\configparser.py", line 697, in read
self._read(fp, filename)
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 3326: invalid start byte
[INFO] launcher: All done.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000001DE35315518>
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000001DE35315B70>

Please provide your logs/musicbot.log file.

If you're still having this issue, ask for help on our Discord server: http://discord.gg/bots


Support function parameters when bypassing LibCo cores

Some Libretro cores that use LibCo (C coprocessing library) don't work well with Go multithreading model. The current implementation with the hard serialization on the C side doesn't take into account external function calls that have non-void parameters. So these function calls will crash emulators during concurrent memory access.
    In the meantime I tried a super ugly hack in order to test my theory and it seems I was right. Now I know what problem is, but not sure how to fix it properly (C is not my strong suit and I'm not the author of the N64 support here). Maybe, I will fix it some time later.

https://user-images.githubusercontent.com/846874/206714612-6f68ec84-1237-438b-aff3-735fa6f18866.mp4
Originally posted by @sergystepanov in https://github.com/giongto35/cloud-game/issues/384#issuecomment-1344322888

Fixed in 853c7a6.


Queue worker stops working when _state is indexed

Firebase Queue stops working on queues that have a few tasks sitting in the queue, and the worker function is asynchronous, and the tasks node's _state node is indexed. For example, I have the following example queue worker (taken from the README) using firebase version 2.4.0 and firebase-queue version 1.2.1:
var Queue = require('firebase-queue'),
    Firebase = require('firebase');

var ref = new Firebase('https://<your-firebase>.firebaseio.com/queue');
var queue = new Queue(ref, function(data, progress, resolve, reject) {
  // Read and process task data
  console.log(data);

  // Do some work
  progress(50);

  // Finish the task asynchronously
  setTimeout(function() {
    resolve();
  }, 1000);
});

The queue worker's function works fine when a single task is added, but when multiple are added the queue processes one or two of them then stops, although there are still a few in the queue. The same issue happens when 3 or more tasks are already in the queue before the worker is launched.
For example, if I have the following queue set up in my Firebase db:
"queue": {
  "tasks": {
    "keyName": {
      "fileName" : "images.zip"
    },
    "keyName2": {
      "fileName" : "database.db"
    },
    "keyName3": {
      "fileName" : "otherFile.txt"
    },
    "keyName4": {
      "fileName" : "config.xml"
    }
  }
}

With the following security rules:
{
  "rules": {
    "queue": {
      ".read": "true",
      "tasks": {
        ".indexOn": "_state",
        ".write": "true"
      }
    }
  }
}

When I start the worker, it will process 2 tasks, then sit idle. Even if I kill and restart the worker process, it won't process any more, as if there are no tasks to process. But it isn't frozen, because if I add a new task to the queue, it'll process 2 of the oldest tasks (not necessarily the most-recently added one), then idle again.  After a few minutes of sitting it may eventually process the rest of the queue, but it seems inconsistent.
This behavior is only seen when the worker's callback function does something asynchronous. If I comment out the progress() or setTimeout() functions above, it'll churn through any number of tasks (I tested about 70 at once) without hanging.
Also, this behavior appears to be caused by having an index on the queue. If I remove ".indexOn": "_state" from the queue's security rules, the worker immediately continues processing the remaining items in the queue.
For now I've removed the index, and everything works fine. Except for the fact that I'm always warned that I should have an index on my queue whenever I launch the application.

Can you try again - yesterday we deployed a patch to the realtime database to fix what we think was causing this issue (this repro was increadibly helpful, thank you). Things should be working correctly now

The issue is still there. I uncommented my ".indexOn": "_state", rule, saved, then filled the queue with about 70 tasks and it processed 3 of them. Commenting out the index once again resulted in clearing out the rest of the queue.
I was thinking - is it a problem that the default spec for a queue has a default _state of null? I imagine that trying to index tasks by _state, where most tasks don't have a _state value, wouldn't make for a useful index. For my purposes, the queue is used fairly infrequently so the index is not a priority. The main issue is that the Firebase Queue library warns you if you don't have it indexed, so you index it thinking it can't hurt, but then it does. Maybe the library shouldn't warn users to index if they're using the default spec?

firebase-queue used to work perfectly with _state on null, but now it is failing, I don't know why. I have the same problem: https://github.com/firebase/firebase-queue/issues/42.
As a work arround you can use a custom spect with start_state set to 'queued' for example, it should work perfectly.

We have exactly the same issue - only one item is picked up from queue when the worker is busy. Workaround by commenting out  ".indexOn": "_state" helps. @tsemerad  - thanks!

The database was updated again on Friday last week which fixed the underlying issue. If you're still having issues, please reopen

I've tried both with and without the index, but my queues are still going idle after a while.
Here's my worker implementation:
const notificationsRef = ref.child('notifications');
notificationsRef.child('specs').set({
  format: {
    in_progress_state: 'formatting',
    finished_state: 'formatted',
  },

  send: {
    start_state: 'formatted',
    in_progress_state: 'sending',
  },
});

const queues = [
  new FirebaseQueue(notificationsRef, { specId: 'format' }, format),
  new FirebaseQueue(notificationsRef, { specId: 'send' }, send),
];

After a while noe of the queues are picking up
The worker is running on Heroku in a hobby (always on) dyno. I've also started logging .info/connected but I'm not seeing anything that would indicate the connection being dropped.

I think this is separate - if either the format or send function don't call resolve or reject in every scenario, the worker might get stuck in a busy state and not ever pull new tasks off the queue

I was under the impression that the task would timeout and thus reject after 5 minutes even if a worker failed to resolve/reject the current task?

The task will timeout and another worker will take the original task, but the original worker will not take on any more jobs until the current processingFunction either resolves or rejects

I see. Guess I'll have to take a closer look at what not being resolved/rejected. Is there any built-in debugging I can use?

I'm having the same problem: Only the first queue item is processed when I use "tasks": {  ".indexOn": "_state"}  If I remove the index, the problem goes away. I am using version 1.5.0. Is there any work around to this?

@urcapital Since this issue has been closed for over 4 months, please start by creating a new issue. Feel free to link to this one for context if you feel they are the same problem.
Be sure to include a minimal repro of the problem or failing test case. You will also want to include complete version info (which version of the SDK were you able to reproduce this against? What happens if you update to the latest?), sample data, and steps to run your example.


Added more documentation to world read / write methods.

Whilst there was already documentation explaining component / resource
IDs, it was easy to skim over and no reference was made by the
read_with_id and write_with_id methods. This made it seem like it
expected an entity ID to search for a component, whereas in reality it's
used for more complex component / resource setups.
This is meant to address #310 .

This change is

Thank you!
bors r+


Plugin tree - possible?

I work with django-cms, and like the ability to have nested plugins. Simple use case, have a gallery plugin, place picture plugins in it. Or even picture AND video plugins, mixed, if the frontend allows.
Is this somehow possible, with django-content-editor? Or is it not, by design, and will never be? I guess the later, but hope not.

Hi @benzkji
Right now it's not possible. What we do instead is use subregions to automatically group related plugins (e.g. a list of images is automatically grouped into a gallery) https://feincms3.readthedocs.io/en/latest/guides/rendering.html#grouping-plugins-into-subregions
You could add a GalleryPlugin, (for example having a title field or something) and register it with the renderer as follows:
renderer.register(models.GalleryPlugin, "", subregion="gallery")
renderer.register(models.Image, template_renderer("plugins/image.html"), marks={"default", "gallery"})
renderer.register(models.Video, template_renderer("plugins/video.html"), marks={"default", "gallery"})

In the renderer implementation, you'd have something like this:
def handle_gallery(self, plugins, context):
    gallery = plugins.popleft()
    yield render_in_context(
        context,
        "subregions/gallery.html",
       {"gallery": gallery, "slides": [self.render_plugin(plugin, context) for plugin in self.takewhile_mark(plugins, "gallery")]},
    )

So, the content model is powerful enough to do what you want, even though the editor interface doesn't support nesting at this time.
Or what we're doing more recently is adding configurable sections, something like this:
CLOSE_SECTION = "close"

class Section(JSONPluginBase, PagePlugin):
   class Meta:
       verbose_name = _("section")
       verbose_name_plural = _("sections")

   def __str__(self):
       return self.type

class SectionInline(JSONPluginInline):
   color = "#1aa4c5"

DidYouKnowBox = Section.proxy(
   "did_you_know",
   verbose_name=_("did you know box"),
   schema={
       "type": "object",
       "properties": {
           "title": {"type": "string", "title": _("title")},
       },
   },
)
KeepInMindStrategiesBox = Section.proxy(
   "keep_in_mind",
   verbose_name=_("keep in mind / strategies box"),
   schema={
       "type": "object",
       "properties": {
           "title": {"type": "string", "title": _("title")},
       },
   },
)

And then customize the renderer to automatically add plugins to those sections.
I want to clean up the code and add section nesting to the CMS for those more advanced use cases.

Thank you @matthiask !
With the first solution, I could add one gallery per region, as all images and videos would be rendered in there, is that correct? And the visual appearance would not be correct, in the admin, as images and videos would be on the same level as the gallery plugin?
I don't really understand the second example. But if you say "I want to clean up the code and add section nesting to the CMS for those more advanced use cases", does it mean a real tree (with django-tree-inline ;), or something different?
IMHO, hierarchical plugins would be a benefit for this library. It' way more simple (from my developer view), quite a few workarounds would be obsolete, and you just know that you can have hierarchical plugins if you need, or not, if you don't. But yea, it would add complexity.

ah, just now realized the gallery = plugins.popleft(). Thanks again for the insights.

I don't really understand the second example. But if you say "I want to clean up the code and add section nesting to the CMS for those more advanced use cases", does it mean a real tree (with django-tree-inline ;), or something different?

It wouldn't be a "real" tree in the sense of django-tree-queries or something, but would still be a tree with nodes and leaves and everything.

IMHO, hierarchical plugins would be a benefit for this library. It' way more simple (from my developer view), quite a few workarounds would be obsolete, and you just know that you can have hierarchical plugins if you need, or not, if you don't. But yea, it would add complexity.

Yeah, that's the thing. It's always a trade off. The main benefit of using django-content-editor is that you have very little additional code -- almost everything is handled by the Django admin interface's inlines/formsets. Once you leave that path you need much more code to handle all the new cases you get. So, it's either simple in the way how the data structure directly represents the tree or simple in the way how it's implemented. You cannot have both.

ah, just now realized the gallery = plugins.popleft(). Thanks again for the insights.

Yes, you just need to add a plugin with different marks in-between, or add the GalleryPlugin itself (since it doesn't have the gallery mark in my example!) to start another gallery.

It wouldn't be a "real" tree in the sense of django-tree-queries or something, but would still be a tree with nodes and leaves and everything.

yes, nodes and leaves, no need for left, right and other such things ;) is this feature in the development pipeline, or is it more of a nice to have, for you?

I'm not 100% certain it will happen but it's definitely something I want to do. Automatic grouping of plugins is nice, but a more explicit way to present it would be better.

In cases like that I tend to use a normal model of its own e.g. Gallery, which may be a PluginBase or not depending of it having mixed content. And for the Page a GalleryPlugin, which is just a foreign key to Gallery. So editing is two steps: editing a gallery and adding it to the page via the GalleryPlugin. Bonus: you can add the plugin multiple times if needed and when you have say hundreds of images in one gallery sorting them may be easier in its own model.

Yes, I like that approach as well!

@gradel yep, know this, that's my default with forms.

By the way, nested sections are now possible: https://406.ch/writing/django-content-editor-now-supports-nested-sections/

Played around and built an accordion app with "chained" foreign keys to mimic a plugin tree.
https://github.com/gradel/feincms3-accordion


Obtain log-likelihood given parameters

Dear lifelines team,
Is it possible to use your build-in fcts to obtain the log-likelihood given some data and a set of parameters?
For example, suppose I have a data set and some scale/shape parameters obtained from another model, would it be possible to get the log-likelihood of the Weibull parametric model?
The further I got for now is to re-fit the the data
# create Weibull fit instance
aft = WeibullAFTFitter()
aft.fit(df, duration_col='duration', event_col='event', fit_intercept = False)

then overwrite the parametera
# overwrite parameters
aft.params_.lambda_ = np.log(params['scale'])
aft.params_.rho_ = np.log(params['concentration'])

and then get the average log-likelihood
# get average log-likelihood
print(aft.score(df.drop(['id'], axis=1), scoring_method="log_likelihood"))

Is there any smarter way to do this?
Many thanks

Hi @melodiemonod,
There is a function _log_likelihood_right_censoring on the models you could use:
https://github.com/CamDavidsonPilon/lifelines/blob/master/lifelines/fitters/__init__.py#L1412
Due to my lack-of-wisdom, I didn't annotate what the function accepts, so lets do that here:
params: a dict, with keys representing parameters (ex: "lambda_") and values are numpy arrays.
Ts: a tuple of representing the time bounds we have: (numpy array or none, numpy array or none). For right censoring data, the 0th position contains the T data.
 The input to this object is a dataframe, but that dataframe needs to be have a multi-dimension column such that df['lambda_'] returns a dataframe of the covariates needed in the linear model for lambda

Cameron, thank you so much for your quick and helpful response!
Here's my update code to find the log likelihood of the Weibull survival model given observation-specific param $lambda_i$ and fixed concentration param $rho = 1$.
def WeibullLogLikelihood(
        self,
        params,
        status,
        time,
 ):

    # number of observations
    n_samples = len(status)

    # Define response inputs for log_likelihood function
    Ts = (np.int_(time), None)  # No left-censoring, so the second element is None
    E = np.copy(status) # Boolean indicating whether event happened
    W = np.ones(n_samples)   # Assuming equal weights
    entries = np.zeros(n_samples)  # No late entries

    # Define covariate inputs for log_likelihood function
    x = pd.DataFrame(np.eye(n_samples, dtype=int), columns=[f'x_{i+1}' for i in range(n_samples)]) # diagonal matrix for patient-specific lambda
    ones_column = pd.DataFrame(np.ones((n_samples, 1)), columns=['Intercept'])  # Intercept column for rho
    Xs = pd.concat([x, ones_column], axis=1, keys=['lambda_', 'rho_']) # concatenate

    # Define parameteter inputs for log_likelihood function
    log_lambda_ = pd.DataFrame({'covariate':  {'x_' + str(i + 1): np.float64(params[i]) for i in range(0, n_samples)}},
                                                index=pd.Index(['x_' + str(i + 1) for i in range(n_samples)])).squeeze() # scale parameter
    log_rho_ = pd.DataFrame({'covariate': {'Intercept': np.float64(0)}}).iloc[0, 0].reshape((1,)) # shape parameter fixed to 1 (=exp(0))
    params_ = {'lambda_': log_lambda_, 'rho_':log_rho_}

    # log likelihood
    wbf = WeibullAFTFitter()
    ll_right_censoring_average = wbf._log_likelihood_right_censoring(params_, Ts, E, W, entries, DataframeSlicer(Xs))
    ll_right_censoring = ll_right_censoring_average * n_samples

return ll_right_censoring

Incredible! You took my scrappy and vague internal code and used it perfectly!


980130 FP PL1 - Matching data in a session cookie (cisession)

Description
Request is being blocked due to harmless text in a session cookie:
--8c0cfa65-A--
[05/Dec/2023:11:32:21 +0000] ZW8KRWMQQ2UgU3p9-SwBFAAAAUw x.x.x.x 60923 x.x.x.x 443

--8c0cfa65-B--
GET /favicon.ico HTTP/1.1
Host: X
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua: "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
sec-ch-ua-platform: "Windows"
Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: no-cors
Sec-Fetch-Dest: image
Referer: https://X/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,la;q=0.7
Cookie: _ga=GA1.1.XXXXXXX.XXXXXXXX; seen-disclaimer=1; cisession=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; _ga_XXXXXXXXXXXX=GSXXXXXXXXXXXX.16.0.XXXXXXXXXXXX.0.0.0

--8c0cfa65-F--
HTTP/1.1 403 Forbidden
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'; upgrade-insecure-requests
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=16070400;
Last-Modified: Wed, 20 Sep 2023 19:34:34 GMT
Accept-Ranges: bytes
Content-Length: 1319
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

--8c0cfa65-H--
Message: Warning. Pattern match "(?i)[\\s\"'`;\\/0-9=\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]on[a-zA-Z]+[\\s\\x0B\\x09\\x0C\\x3B\\x2C\\x28\\x3B]*?=" at REQUEST_COOKIES:cisession. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "109"] [id "941120"] [msg "XSS Filter - Category 2: Event Handler Vector"] [data "Matched Data: 2ONBILkwyDIZg= found within REQUEST_COOKIES:cisession: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.5"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "paranoia-
Message: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:anomaly_score. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "94"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.5"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"]
Message: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf"] [line "92"] [id "980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=5,RFI=0,LFI=0,RCE=0,PHPI=0,HTTP=0,SESS=0): individual paranoia level scores: 5, 0, 0, 0"] [ver "OWASP_CRS/3.3.5"] [tag "event-correlation"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client x.x.x.x] ModSecurity: Warning. Pattern match "(?i)[\\\\\\\\s\\\\"'`;\\\\\\\\/0-9=\\\\\\\\x0B\\\\\\\\x09\\\\\\\\x0C\\\\\\\\x3B\\\\\\\\x2C\\\\\\\\x28\\\\\\\\x3B]on[a-zA-Z]+[\\\\\\\\s\\\\\\\\x0B\\\\\\\\x09\\\\\\\\x0C\\\\\\\\x3B\\\\\\\\x2C\\\\\\\\x28\\\\\\\\x3B]*?=" at REQUEST_COOKIES:cisession. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf"] [line "109"] [id "941120"] [msg "XSS Filter - Category 2: Event Handler Vector"] [data "Matched Data: 2ONBILkwyDIZg= found within REQUEST_COOKIES:cisession: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.5"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-xss"] [tag "paranoia- [hostname "X"] [uri "/favicon.ico"] [unique_id "ZW8KRWMQQ2UgU3p9-SwBFAAAAUw"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client x.x.x.x] ModSecurity: Access denied with code 403 (phase 2). Operator GE matched 5 at TX:anomaly_score. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "94"] [id "949110"] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.5"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "X"] [uri "/favicon.ico"] [unique_id "ZW8KRWMQQ2UgU3p9-SwBFAAAAUw"]
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client x.x.x.x] ModSecurity: Warning. Operator GE matched 5 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf"] [line "92"] [id "980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=5,RFI=0,LFI=0,RCE=0,PHPI=0,HTTP=0,SESS=0): individual paranoia level scores: 5, 0, 0, 0"] [ver "OWASP_CRS/3.3.5"] [tag "event-correlation"] [hostname "X"] [uri "/error_docs/forbidden.html"] [unique_id "ZW8KRWMQQ2UgU3p9-SwBFAAAAUw"]
Action: Intercepted (phase 2)
Stopwatch:<PHONE_NUMBER>216027 4815 (- - -)
Stopwatch2:<PHONE_NUMBER>216027 4815; combined=4090, p1=524, p2=2611, p3=0, p4=0, p5=576, sr=83, sw=0, l=0, gc=379
Producer: ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/); OWASP_CRS/3.3.5.
Server: Apache
Engine-Mode: "ENABLED"

--8c0cfa65-Z--

Your Environment

CRS version (e.g., v3.3.4):  3.3.5
Paranoia level setting (e.g. PL1) : PL1
ModSecurity version (e.g., 2.9.6): 2.9.2-1.el7
Web Server and version or cloud provider / CDN (e.g., Apache httpd 2.4.54): Apache 2.4.6-99.el7.centos
Operating System and version: CentOS Linux 7 (Core)

Confirmation
[X] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Hi @jamieburchell. Thanks for the report.
I can confirm that I was able to reproduce this false positive on CRS v3.3.5 by using the snippet of the cookie provided in your audit log sample.
I can also confirm that this false positive has been fixed in CRS v4.0.0.
The rule in question, 941120, has been moved from paranoia level 1 up to paranoia level 2, specifically because it's known to cause problems by triggering erroneously on random input, exactly like in your example. The rule's regular expression was also amended to reduce false positives (payloads merely ending in an equals sign = cannot trigger the rule any more, making Base64 encoded content significantly less prone to causing false positives with this rule.)
If you cannot wait for the full release of CRS v4.0.0 to resolve this issue then your simplest solution would be to tune away this false positive here and now by using a rule exclusion. Full documentation for this, with examples, can be found in the official CRS documentation. Please shout if you'd like any help with this and I'd be happy to suggest some full rule exclusions for you to try :slightly_smiling_face:
Alternatively, you could also try backporting the amended regular expression of rule 941120 from CRS v4.0.0, which is a solution you could try if you're not happy with using a rule exclusion and you're confident to amend a rule in this way.

I'm going to close this off now, but feel free to re-open or post below if you have any further questions or comments. Thanks!

I'm guessing version 4 isn't ready yet?

We're closer. You can keep an eye on it by searching for the number of issues with the "v4" label: https://github.com/coreruleset/coreruleset/issues?q=is%3Aissue+is%3Aopen+label%3Av4


Migrates _pywrap_tf_optimizer to cc_shared_library.

Adds _pywrap_tensorflow_internal and libtensorflow_framework using dynamic_deps and removes duplicated statically linked targets.

Good


Feature Request: Index for field

It would be nice to be able to create an index on a specific field in the dashboard view. For example, if you rely heavily on a field when filtering or searching. An index would provide a performance boost in this situation.

This is already in the roadmap and was previously discussed in https://github.com/pocketbase/pocketbase/discussions/84. I'll use this issue and will link it to the roadmap for better visibility and tracking.
Currently this is planned only for simple single field indexes and it is a low priority since there are already workarounds if you really need indexes:

use the sqlte3 cli tool to add the index manually
OR create the index inside a DB migration:package migrations

import (
    "github.com/pocketbase/dbx"
    m "github.com/pocketbase/pocketbase/migrations"
)

func init() {
    m.Register(func(db dbx.Builder) error {
        // up
        _, err := db.CreateIndex("COLLECTION_NAME", "INDEX_NAME", "FIELD_NAME").Execute();
        return err
    }, func(db dbx.Builder) error {
        // down
        _, err := db.DropIndex("COLLECTION_NAME", "INDEX_NAME").Execute();
        return err
    })
}

@andre-gitdev  Thanks, but it is better to wait #376.


It work?

Cuz web can detect bot and reset poin to 0

not work, no points earned using this bot

Cuz web can detect bot and reset poin to 0

No issues on my side.

not work, no points earned using this bot

If you can't use it or if your proxy isn't working well, that doesn't mean this bot doesn't work. Come to my channel to see how many people are successfully using it. You can find the link in the bot repository's about section.

Its work

Cuz web can detect bot and reset poin to 0

Same error here :)

Hmm... it's work...

Cuz web can detect bot and reset poin to 0

No issues on my side.

not work, no points earned using this bot

If you can't use it or if your proxy isn't working well, that doesn't mean this bot doesn't work. Come to my channel to see how many people are successfully using it. You can find the link in the bot repository's about section.

which server have good proxies pro?

Cuz web can detect bot and reset poin to 0

It works but the points not updated immediately, need to wait since there is glitch on the dashboard.


Ubuntu Image 18.04 no longer valid

Hello,
the code samples for output variables still use
vmImage: 'ubuntu-18.04'
as this image is no longer available this lead to a job simply not starting without any error message for me.
Please update the samples to use current or maybe latest vm-images.
Thank you!
Best regards,
Sven

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

ID: dd7e0bd3-1f7d-d7b6-cc72-5ef63c31b46a
Version Independent ID: dae87abd-b73d-9120-bcdb-6097d4b40f2a
Content: Define variables - Azure Pipelines
Content Source: docs/pipelines/process/variables.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@svaenn -- Svaen, thank you for your feedback.  I am updating this article to use ubuntu-latest.


Make it easier to extend and customise Hypha for other implementors

Let us discuss how to make it easier for other implementors to extend and customise Hypha.
Goals is to allow adding and modifying things without touching existing code as far as possible. This is to avoid merge conflicts and similar issues when keeping up to date with core Hypha releases.

See also related Zulip conversation: Make it easier to extend and customise Hypha.

@frjo That sounds like a good path forward.  We're still booting up the process of getting entry points.  Two to start your thinking off are:

Extending the form widgets.  Two instances that we'd want to be able to write ourselves are:

Complex datatypes - kind of like the Location widget, but allowing multiple ones
More complex branching logic

Different registration process.  This will be submitted as an issue for you guys to thumbs up/down, but one of our needs that we've implemented is having an applicant register before filling out the full application.

More to come!

I wanted to follow up here, even though I know this is a general issue that anyone might join.  For the ardc project where we've diverged some, we're moving on the following steps:

Create Issues/PRs here for legacy, already complete items after a thorough audit (the code is good, it's not already fixed in production, that it's a good candidate for general use, etc).
Analyze the diff between upstream main and our main
Create PRs for things we didn't necessarily have an issue for.  Because it may not have been client driven, the issue may have less context than the ones from the previous step
Create extension points for things not deemed good to incorporate into mainline, or things that seem too specific to our clients use.  This is the main push having to do with this issue
For any new feature requests from the client, if they are of general use, we'll create the feature request/bug issue in our system, and also here.  Then we'll create a PR here with the changes.  If not deemed good for upstream, we'll move the commits to our mainline.  If it is, we'll just merge in as soon as the merge is done here.

The idea is to iterate on this until we hit a stable point.
If this comment is more appropriate somewhere else, I can put it there and delete it here :)


[FEATURE] IDEA StatiCa RCS: edit table values in ConcreteSetup

Is your feature request related to a problem? Please describe.
I would like to update values of certain tables that are defined in the concrete setup, specifically "6.8.4 Table 6.3N". Without being able to update these values, I cannot perform correct fatigue calculations.
Describe the solution you'd like
Being able to use SetupValueTable in the xml definition:
<SetupValue xsi:type="SetupValueTable">
    <Id>127</Id>
    <Value>
        <Exp0>123</Exp0>
        ...
    </Value>
</SetupValue>

Hi! Is there any progress made on this feature request?

Table values are not available in the API.

Hi @mcihal and @vojtech-chalupa , any idea if a solution to this issue will make it to the IOM this year? We would really like to implement this on our products. Thanks !


[Datumaro] Add model info and source info commands

Motivation and context

Added model info and source info commands to print corresponding configurations

How has this been tested?

Manual test
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6715

4 of 34 (11.76%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 68.927%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datumaro/datumaro/cli/contexts/model/init.py
2
17
11.76%

datumaro/datumaro/cli/contexts/source/init.py
2
17
11.76%

Files with Coverage Reduction
New Missed Lines
%

datumaro/datumaro/components/extractor.py
1
90.43%

Totals

Change from base Build 6698:
-0.1%

Covered Lines:
11185

Relevant Lines:
15707

💛  - Coveralls


Correction for raw affiliation Neurology department, University Hospital of Rennes, CIC1414 INSERM, CRC-SEP, EMPENN research unit (U 1228, université de Rennes 1, INSERM, CNRS, INRIA), Rennes, France

Correction needed for raw affiliation Neurology department, University Hospital of Rennes, CIC1414 INSERM, CRC-SEP, EMPENN research unit (U 1228, université de Rennes 1, INSERM, CNRS, INRIA), Rennes, France
raw_affiliation_name: Neurology department, University Hospital of Rennes, CIC1414 INSERM, CRC-SEP, EMPENN research unit (U 1228, université de Rennes 1, INSERM, CNRS, INRIA), Rennes, France
new_rors: 015m7wh34;02vjkv261;02kvxyf05;02feahw73;05qec5a53;02hp31992;02baj6743
previous_rors: 015m7wh34;02vjkv261;02kvxyf05;02feahw73;05qec5a53
works_examples: W4353050189
contact: 9a188cbadebf29225561ed4e3373338a:b4a029fd19bfb666d2973541389ffd66 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Log SendNotice errors

Currently any errors that occur when sending notices, via NotifyOnPanic, are being swallowed, making it difficult to debug why notices are not being sent to Airbrake. To help with this, we are suggesting to log the error.

Hi all,
Could I receive a review on this PR?
Thank you.

Thanks @oliver-hohn, this was replaced by https://github.com/airbrake/gobrake/pull/133.


Fragment tangents/basis generates incorrect tangents.

Hit 8 to switch to sphere shape
Hit 6 switch to viewing tangent shape channel
Hit T to toggle between vertex tangents/basis and fragment tangents/basis

Vertex Tangents - are nice and smooth with a seam down the middle
Fragment Tangents - no seam, and only the same in the middle of the sphere
I had to negate T in the shader to generate right-handed tangents.
It looks like the z slope and the vertical falloff throw off the calculations
Interpolated world pos, world vertex normal, and uv are passed into the call
Original shader passed -V = (worldPos - cameraPos), but with deltas the cameraPos drops out.
So passing worldPos should be the same.
The bitangents are almost identical with small banding at the top/bottom.
Vertex Tangents

Fragment Tangents

The tangents are flipping sign on each triangle in the upper/lower hemispheres causing the discontinuity.  The peak of the triangle seems to throw off the calculations, since he wide edges are smooth.

I made a change to compute B, and then do an orthogonal cross of that with the Normal.  So now tangents and bitangents have ridges, but the result is more continuous around the sphere

I think the issue is that dpx/y are the flat planar polygon uses along with the interpolated vertex normal.  dNx/y would be the interpolated plane, but could be zero if all normals point the same direction.

Not totally sure if it's relevant, but have you seen the mikktspace algorithm? It seems to be the standard way of generating vertex tangents.

I do, and that’s what most dcc apps use on the cpu side to generate a basis.  This was more about looking at ways to compress and reconstruct the vertex data fed to the gpu. the original algorithm didn’t deal with any edge cases, and I consider normal + du/dv too costly.
I could also reconstruct normals from tan/bitan which supports uv skew.  Emil Perrson recommended that for JC3.


Upload GHA test results to wacklig

Summary of the changes / Why this improves CrateDB
Should help give us a better overview over whether there are some tests
that exclusively fail on Windows.
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Hi @mfussenegger,
thanks for aiming to use wacklig to find out about more details about any tests which would occasionally and exclusively fail on Windows. With f0760bf, 1d6ec40 and https://github.com/pipifein/wacklig-uploader/commit/dedd122e7b, I made some adjustments to make its invocation actually work on Windows.
With kind regards,
Andreas.


checkov: 2.0.1067 -> 2.0.1068

Description of changes
https://github.com/bridgecrewio/checkov/releases/tag/2.0.1068

Things done

Built on platform(s)

[x] 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.05 Release Notes (or backporting 21.11 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.

Result of nixpkgs-review pr 169287 run on x86_64-linux 1

1 package built:

checkov


Adds a property string to ase_to_tensormap

Code looks fine. Lint should get fixed by tox -e format. The documentation error seems to be related to read the docs @PicoCentauri  can you have a look at it? Or give me access to the readthedoc page of equisolve?

The stress of an ASE atoms object will be most likely found in the atoms.info dict.
The stress is a 3x3 matrix and ase can only write ie. extxyz files to disk if the .arrays entry has the same number of samples as the number of atoms in the frame

Fair argument. I think we do not have yet an example using stress


Consolidate RPM identification process

Unify the reading of rpm database information from container.
Some containers might not contain the rpm tool to read it in the image
itself, so we will always fetch the rpm database to the buildroot itself
where we will process this.
CLOUDBLD-4337
Signed-off-by: mkosiarc<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Ports #1594

this is a cherry pick to master

rn added


[Bug]: Builds are not cancelled when a new commit comes just after it

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Did 4 commits at once and pushed hem all at the same time.


Question: Quarter View of SinglePlanningCalendar

OpenUI5 version: Above 1.71.x
Hello Colleagues,
Are there some possible ways to customize a SinglePlanningCalendarView which could display as a quarter (or 90 days)?
My team is developing apps on Audit Management and appointments usually have a long term, so it would be nice for us to have custom calendar views with more than 30 days. However, I find that the grid SinglePlanningCalendarMonthView is somehow different from other views and there's no extension possibilities on similar view. So is it possible to achieve this requirement?
Thanks and Best Regards,
Kevinz

Since there is no response from the author for 4 weeks I'm closing the ticket.

Hello @kevinzwithu,
I am sorry. for the delayed update on the topic. I was wondering is the request still needed? More over I have developed a sample showcasing one possible solution. Is it applicable in your case? If not - could you please explain what is the expected resuly from your point of view?
Thanks in advance, Tereza

@terezamch Your sample seems to be not available anymore. Do you mind sharing it again. I also want to use the GridView of the default Month view to show more than 30 days.
Thank you!


Ability to sync data via cloud

Just writing to a configured path in the local filesystem and letting people bring their own sync/backup tech would be ideal...but extensions can't do that
Following this example it should be possible and pretty quick to implement a way to auto-backup the spaces JSON export to dropbox periodically: https://github.com/vmi/dropbox-js-for-chrome-extension
It would be nice to support a noncommercial destination though. Maybe via webpacking js-git, writing to a private git repo could be supported.
My ultimate dream would be being able to connect the extension to an arbitrary private git repo that would store spaces in an easily diffed/merged loose tree format that could support auto-merging from multiple clients.

My thinking on this has evolved a bit, I really want sync too now that I use the extension regularly on two computers. There's a proprietary service called Workona now that kinda does this but I don't like how it works or its model (it excludes pinned tabs from saved space and moves tabs between windows when you switch workspaces rather than switching windows)
Keybase.io offers free private git repos. If we could provide an easy flow for someone to link the extension to a git repo like one hosted by keybase, and model workspaces as trees being pushed/pulled between clients, we'd have really powerful backup and cross-computer workspaces. Merges could just use an always-take-newest policy to automatically resolve conflicts so if you did open the same workspace and change them on multiple computers at the same time one would overwrite changes to the other, but that's not really a big deal since you could pull up the git repo and find whatever link you lost if the client itself didn't show a history. Plus if the extension pushed and pulled in close to real time as tabs were opened and closed, and attempted to mirror tab changes that come in from remote on already-open windows, conflicts would never really happen much in practice and it would be pretty straightforward to get used to what happens when you open a workspace in parallel

@themightychris i'd like to reply to you properly when i have the time, but for now i'll just say that i'm totally on the same page as you. i've put a lot of thought into workspace syncing - probably too much actually and it will result in something over engineered.
when i saw workona, i thought i might be able to just switch to that, but i totally agree that there's some messed up things with their implementation. i really don't understand why they've done it that way. but perhaps they might address that soon?
for now, i like the idea of some simple synching. but not sure about using git repos? i'd probably prefer dropbox and/or google drive integration. why are you against this? purely because they are commercial entities? i feel like it's a better price to pay than going with something more technical / less user-friendly.

I'm not against them, but if we're going to start with and possibly only support one mode, git is the most universal. I personally like that it gives me a usable way to access history effectively right out of the box before any special UI is built. Dropbox and drive don't really give practical access to past versions, esp of things that aren't in their in-house doc formats. I want the freedom of knowing I can always go back to anything.
If the data model is one text file per space with one URL per line or something simple like that, a big advantage with git is that we get synchronization and really good bidirectional conflict resolution for free. With the full usable history you can bias the merge to always resolve automatically and not bother the user, knowing they can always go look at what got erased. Git has been implemented purely is JS several times over and brings a lot of free plumbing to the table over just storage.
Keybase and github are just as commercial as dropbox/drive, and I don't think using Git as a backend needs to be any more tehcnical or less user-friendly than drive/dropbox. For one the UIs for syncing stuff to dropbox/drive and picking a storage location on both ends is a potential trap for users, and I there's potential for the workflow via keybase or github to be very simple

Is there really no way to write to a simple file from an extension?  I would love to use Syncthing if at all possible.

Possibly one of these two issues should be closed: #5 or #9

That is another fine option.  I think my preference would still be to have the spaces saved to a simple text file (or collection of them).  It's transparent, very flexible, and would allow me to back up easily and use Syncthing which is secure, distributed, massively cross-platform.  With a file (or collection of them) one could still sync to a Nextcloud instance or similar.

It's more unix-y but only weirdos like me care about that.

Ideally both are options, I'm a fan of the WebDAV approach because it's less moving pieces, you don't need some active process running and working to know your notes are synced. The extension could give direct feedback about sync status that way.
Running your own webdav server is easy, but I am having trouble finding any cheap clean SaaS option people could use that would make this path comparably easy to using Dropbox in the way you suggest for those who don't want to self-host

chrome.storage.sync should work, no?

chrome.storage.sync would be the most natural and easy way to do implement this. Since the extension can already serialize the state of spaces, syncing the state via chrome.storage.sync is likely just a small amount of code.
Would there be interest in a community contributed PR that would enable cloud sync via chrome.storage.sync API?

Probably, but there's a contingent that won't make use of that because we don't sign in to our browsers.

I think the chrome storage would be ideal, most users log into their browsers with their Google accounts
If it solves 80% of the use cases there's no reason not to add it.
You could always add support for more sync options later


Use ArSvgies package + cache images in localStorage for wallets and contacts

This PR replaces the dynamic generative script with the @7i7o/arsvgies package to generate fallback avatars for wallets and contacts
This package includes an update to generate colors from a hash to clearly distinguish wallets that create a similar shape
It also stores the generated images in localStorage for wallets and contacts to avoid processing the generative art everytime a contact or wallet component in mounted in the UI
The PR unifies all the images shapes for wallets into squircles, removing the rounded images that were used in some places for contacts

I think previously added contacts/wallets aren't getting svgies passed to them

You are right! I'm only generating the cached image for the ones being added 🤦
I'll get to this after I finish with my other tasks 😊


test flake: private key does not match public key

https://prow.istio.io/view/gs/istio-prow/logs/integ-ambient_istio_postsubmit/1763283647529488384 weird

more https://prow.istio.io/view/gs/istio-prow/logs/integ-k8s-126_istio_postsubmit/1763304825484742656

similar with #49650?

i think it's different, that one didn't have istiod crashlooping. but maybe same

So the istiod is restarting many times. Its not failign with this on the initial install.
So probably its crashing. And then fails to come up -- two separate bugs.

I think I get it. We have 2 files, but we do not read them atomically. I can reproduce by flipping between two cacerts.
https://ahmet.im/blog/kubernetes-inotify/ touches on this but doesn't suggest a fix.
I don't understand why we seem to be permanently in that state though. I would expect TestIntermediateCertificateRefresh triggers it and only happens if istiod happens to crash around that time. Maybe there is something more nefarious going on.

Oh I think its simpler, the test is just broken:
$ openssl s_server -accept 9999 -cert ca-cert-alt-2.pem -key ca-key-alt-2.pem
Using default temp DH parameters
error setting private key
40F7FA89237D0000:error:05800074:x509 certificate routines:ossl_x509_check_private_key:key values mismatch:crypto/x509/x509_cmp.c:416:

vs
$ openssl s_server -accept 9999 -cert ca-cert-alt.pem -key ca-key-alt.pem
Using default temp DH parameters
ACCEPT
^C

And its not documented how it is generated... yay.
I don't know how the test works at all. Oh, actually looks like it doesn't actually assert anything :grimacing:

I put up an initial PR in https://github.com/istio/istio/pull/50130/files but cannot figure it out; someone else will need to take it over

Not stale

@MorrisLaw do I remember you looking into this?

@MorrisLaw do I remember you looking into this?

Might have looked into this briefly when debugging PR related test failures at the time but my memory is a little fuzzy. I merged a PR not long after the creation of this issue to add retrying logic for cert refresh though: https://github.com/istio/ztunnel/pull/835/files


Add test for $setOnInsert not setting fields

Description
Refs #3224.

Readiness checklist

[ ] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[ ] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

The test passes now! :party:


Feature: Field with copy button

It would be beneficial to have a component that exposes a text that can be copied by clicking a button. The copy functionality should work cross-browser and have some kind of interaction to know you clicked.
Example:

FYI, GitHub (the org) has a <clipboard-copy> standalone web component. If it helps?
https://github.com/github/clipboard-copy-element
I found this on the Awesome Standalones repo, (for framework-agnostic standalone web components).

@nielslyngsoe To clarify, should the copy button be an additional property on the UUI-input that will also set readonly when enabled or should the copy button be visible when readonly is enabled? I'll have a go and look at this.


auto-fixing UP006 yield in errors for python 3.9 and 3.10

not sure how much it is a bug or just bad user expectations.
We are performing a bump of min Python version from Python 3.8 to 3.9 so we have updated the Ruff configuration target-version = "py39" and running auto fixing which does not fix almost any List or Dict annotation and suggests enabling --unsafe-fixes... which I did but that covers annotation which is not runnable for example List[torch.Tensor] converts to list[torch.Tensor] which crashes in runtime with
ann = list[torch.Tensor], loc =

    def ann_to_type(ann, loc):
        the_type = try_ann_to_type(ann, loc)
        if the_type is not None:
            return the_type
>       raise ValueError(f"Unknown type annotation: '{ann}' at {loc.highlight()}")
E       ValueError: Unknown type annotation: 'list[torch.Tensor]' at

see the full CI log in https://github.com/Lightning-AI/torchmetrics/actions/runs/11685262564/job/32538417524?pr=2827
I understand that "unsafe fixes" could be unstable but on either hand I guess that some trivial fixes shall be made with the default config like converting List[Dict] to list[dict]

strange, can't reproduce it again, so closing for now and eventually will reopen later...

Ok, so it is probably torch issue,the run is: https://github.com/Lightning-AI/torchmetrics/actions/runs/11727000215/job/32667138807?pr=2827


Add Exceptions & Error messages

Add Try-Catch block to prevent errors, if the api parameter aren't set correctly.

I additionally added an error message, to catch the case if a user didn't select a correct start or end date.


Add ONNX legacy inpainting pipeline

Note that this currently is broken in Diffusers, needing a monkey patch to fix a type issue, but that should be fixable with a PR to add the same fix they use for the other ONNX pipelines... or with one in PatchDiffusersIfNeeded for the purposes of the GUI.

Implemented manually


StorageUI with SwiftUI

StorageUI with SwiftUI
Description
I have been browsing to find SwiftUI Image Compatibility with FirebaseUI Storage and did not find anything that suited my need so I built a little helper class. This class syncs it's cache with UIKit existing StorageUI cache in order to avoid doubling the data consumption and cache size.
This work is heavily inspired from Ben McMahen's great article : https://benmcmahen.com/firebase-image-in-swiftui/
Feel free to reuse this !
Code
import Foundation
import SwiftUI
import FirebaseStorage
import SDWebImage
import FirebaseStorageUI

// TODO - Replace placeholder string to asset from your project
let placeholder = UIImage(named: "placeholder")!

/// SwiftUI View that will display placeholder, then Firebase Storage Image
struct StorageUIImage : View {

  /// Init
  /// - Parameter path: firebase path of the image (ex.: "storageFolder/subfolder/filename.jpg")
  init(path: String) {
      self.imageLoader = LiveLoader(path)
  }

  /// Image Loader observed object that will trigger image changes.
  @ObservedObject private var imageLoader: LiveLoader

  var body: some View {
      Image(uiImage: imageLoader.image ?? placeholder)
  }
}

/// LiveLoader class that will try to return image from memory cache, then disk cache, then network.
final class LiveLoader : ObservableObject {
  /// Published image object to be observed
  @Published var image: UIImage? = nil

  init(_ path: String){
      let storage = Storage.storage()
      let ref = storage.reference().child(path)
      let url = NSURL.sd_URL(with: ref) as? URL
      if let image = SDImageCache.shared.imageFromCache(forKey: SDWebImageManager.shared.cacheKey(for: url)) {
          // If image was present form memory cache, we display it
          print("Image loaded from memory cache")
          self.image = image
      } else if let image = SDImageCache.shared.imageFromDiskCache(forKey: SDWebImageManager.shared.cacheKey(for: url)) {
          // Else if image was present form disk cache, we cache it in memory again and display it
          print("Image loaded from disk cache")
          SDImageCache.shared.store(self.image, forKey: SDWebImageManager.shared.cacheKey(for: url), toDisk: false) {
              self.image = image
          }
      } else {
          // Else we fetch it from network, cache it in memory and disk, then display it
          print("Image downloaded")
          // maxSize can be set as parameter if needed
          ref.getData(maxSize: 1 * 1024 * 1024) { data, error in
              if let error = error {
                  print("\(error)")
              }
              guard let data = data else { return }
              SDImageCache.shared.store(self.image, forKey: SDWebImageManager.shared.cacheKey(for: url)) {
                  DispatchQueue.main.async {
                      self.image = UIImage.init(data: data)
                  }
              }
          }
      }
  }
}

Open points

Usage of @StateObject instead of @ObservableObject
Real testing of the load from disk without cache present was not done
Operators like .resizable()don't work on StorageUIImage view

Linked to #811 that covers other FirebaseUI's parts in SwiftUI

Thanks @micheau-bastien! Would you like to contribute this as a PR?


python310Packages.css-inlline: 0.9.0 -> 0.10.0

https://github.com/Stranger6667/css-inline/releases/tag/python-v0.10.0
Description of changes

Things done

Built on platform(s)

[x] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 238286 run on x86_64-linux 1

4 packages built:

python310Packages.css-inline
python310Packages.css-inline.dist
python311Packages.css-inline
python311Packages.css-inline.dist

Also updates python 3.11 packages obviously so title and commit msg are a bit off, but I guess that's fine for python packages?

Yeah, that would get messy fast.

@ofborg build python311.pkgs.css-inline


Fix session always assign even when not flash is not set

This fix make sure that session.flash is only get assign when setting a flash. Session will not be set if using req.flash('name') just to get flash's data

+1 for this pull request


Playing Multiple Track

Hi All,
I am facing one issue, I am trying to create one simple app with multiple tracks. So I have files like
Vocal.mp3, Drums.mp3, Claps, Guitar etc... So whenever we press the play button all these files should play without any delay. Is it possible or not ?

Hi @sabynamboo
Yes, this sould be possible, as it is possible to play multiple sounds at the same time (the readme says: "You can play multiple sound files at the same time.") and also preload the sound effects so you can play them without any delay.

But when I play some times the tracks are not syncing , like when I pause then I have to run the loop and pause it but when it play backs its not syncing. So do you have any idea how to do that ?

Without knowing in detail how you have coded this I would just suggest to make sure all tracks are loaded (see Sound.prototype.isLoaded) and then just play them all together.

@sabynamboo I was also facing the same issue. Then I have cached the urls in locally with rn-fetch-blob plugin without downloading files it's not possible to smooth play pause.
I have faced it before.
I am now facing after doing this that. Play button doing a for loop and play() method for all songs suppose 3 songs. And pause() method has a another loop for 3 songs. The issue arrises in delaying few seconds after pause and play after 10 seconds.
My code is similar to @sabynamboo code. I am also using for loop on play and pause.
Can anybody suggest. It's obvious that multiple time play pause may cause 1-3 seconds delay on playing and pausing the song instance.
My application is like multiple songs playing at once (ex- vocals.mp3, drum.mp3, clap.mp3)

@prashen Loops do hit the performance a lot, do try and see if you can work out an alternative for that.
Also even files written to the local bundle has sync issues - and this happens after I load the files beforehand to reduce the delay. Might be a bug in the MediaPlayer.

was this solved ? Im trying to do the same thing I have 8 audios  files and they should be played at the same time ,it seems like it works only for 4 audio files which plays perfect at the same time but with more there some delay .
I´m loading all audios before playing and it doesnt work (delay is more remarkable in ios than in android)
Any suggestion ?

Same issue here. As @JosePatricio said I can load a few sounds and play at same time with no issue, the tracks are in sync. But I noticed that if I pause and play them all at once they go out of sync (tested with 2 sounds). Even tried to set position of sound 2 to that of sound 1 with
            soundOne.getCurrentTime((seconds) => {
              soundTwo.setCurrentTime(seconds);
            });

on play or pause but not working.

any update on this please , I have the same issue


Tooltip/Popover trigger property parameters are different from TWBS

$tooltip supports following triggers:
mouseenter: mouseleave
click: click
focus: blur

TWBS supports
click | hover | focus | manual

mouseenter vs hover
As per your contribution guide:

we are aiming at rebuilding bootstrap directives...
directives should be html-agnostic...

To avoid BC break, maybe it is possible to just add hover and mark mouseenter as deprecated?

@Im0rtality Any news on this?

I am not sure how wise it would be to mimic Bootstrap in this regard - this moves the consumer away from the standard JS events, for a bit of added complexity in the library code. The gain does not seem worth it IMO, but I don't feel too strongly either way.

Closing as per #590, the user can now programmatically decide when to show and hide the tooltips/popovers.  This feature will be available in the 0.13.4 release and is available now on the master branch.


Refreshing Service Workers doesn't work in Firefox

When releasing a new version of the app the "Refresh to load page." does not work in Firefox. Figure out how to force skipWait

Unregistering service workers as suggested does not work. This works in Chrome though.
Get back to this when a solution arises.


conver v2 to v3 have problem

I want to convert a gitub project to v3 from v2:  bypass-paywalls-chrome
and I do with cmd:
(base) ➜  extension-manifest-converter git:(main) python emc.py ../bypass-paywalls-chrome/
../bypass-paywalls-chrome/
Changing manifest_version to 3
Changing to background.service_worker in manifest.json
Changed to chrome.action in manifest.json
Changing CSP (content_security_policy) in manifest.json
Valid CSP directives for {script,object,worker}-src are {self,none,localhost,<IP_ADDRESS>}.
Converted extension into: ../bypass-paywalls-chrome/_delete

seem the results are not ok right now.


Problems with rewards

https://www.icloud.com/numbers/0e33TbtGZdojkyL0S52HV4Ehw#red Users sustain the network because of rewards. I think that I will not do it no more coz in the last month I did not get not one reward! Consuming my computer energy for nothing, pls advice.

Duplicate #123

closing


[BUG] Naming issue in resource component

Describe the bug
I have added a resouce called name: "syllabus". Given it label label: "Syllabus" but in title I can see the resource name is changed to Syllabi
Label

List title

List button

Steps To Reproduce

Add a resource called syllabus
Point it to valid API (Oviously)

Thats all. Now go to list endpoint or list endpoint, You wil see the wrong title
Expected behavior
I expect the title shown as Syllabus instead of Syllabi
Packages

@refinedev/mantine

Additional Context
No response

Hello @JRudransh,
Refine uses pluralize package to transform resource name and this issue comes from this package but you can easily change any text in Refine in the following ways:

customizing text transformers https://refine.dev/docs/core/refine-component/#texttransformers
giving a label to resource https://refine.dev/docs/core/refine-component/#label
use i18n to translate text any value https://refine.dev/docs/guides-concepts/i18n/


Move all repos to a LuteOrg GitHub org (parent issue, contains many sub-issues)

Currently, Lute and the Lute manual are in my personal GitHub account.
For sanity and the idea of "community ownership", this should be moved to a separate org.
This is similar to Anki, which has the org Ankitects (pretty sharp name -- after wasting way too much time trying to think of a name, the boring but totally fine name "LuteOrg" seems good enough. :-) )
To be included in the org:

Lute
the lute manual
the epub parsing library that was written for Lute
Lute Lemma (even though that's deprecated)

To-do:
Initial test:

[x] create LuteOrg
[x] #383
[x] try transfer of dummy repo to org: see if issue links are copied correctly, stars copied correctly, see if cloned user can fetch from repo, check links in #383
[x] #384

Transfer Lute manual

[x] Commit all assets (images, gifs?) used by the manual to the manual's repo, in /assets directory.  Ref https://github.com/jzohrab/lute-manual/issues/9
[x] Ensure local repo and gh pages repo has correct images when built
[x] Reclone my fork to lute-manual-redirect (so I don't screw it up)
[x] Create new lute-manual repo in LuteOrg
[x] Change local remote to new repo
[x] Push the current repo commits to LuteOrg, get the LuteOrg repo building and deploying to GH Pages
[x] update book.toml in luteorg repo
[x] fix any jzohrab/lute-manual links in LuteOrg
[x] In jzohrab/lute-manual, remove all pages, put in redirection code, update README.  ref https://github.com/jzohrab/test-transfer-manual for pages, fix the javascript
[x] Launch pages with redirection stuff, test it out, ensure redirections work, let it bake for a while
[x] Archive the jzohrab/lute-manual repo, ensure things still work
[x] change any links in the code to point to the new manual
[x] change all youtube video links to point to new manual

Transfer Lute repos

[x] transfer lute-v3 repo
[x] update manual if needed
[x] ensure CI jobs run
[x] transfer issues from my repo to the new one (maybe will be handled when the repo moves, see initial test)
[x] change current PyPi to point to the new org, current Docker to point to new org

Moved main repos (code and manual).  Moving PyPi and DockerHub things to separate issues.

Launched in 3.3.2.


blank login page on dev app when it is used in China

Everything works fine when I was in the US a month ago. But I can't login any more after I moved to China mainland. When I tap the login button, a blank view appears instead of a Github login form.
I am guessing this is due to the fact that China blocks all Google stuff, including any javascripts tabris may use in login process. I can login smoothly into Github from China. So I am thinking the login problem is caused by Google stuff.
I can't find any stable and free VPN service provider. So I am asking here for helps. Thank you.

phew. A few month ago someone reported a similar problem. We removed all google.com stuff and do self host it now.
Anyway, maybe it has something to do with the google analytics tracking inside the app. We need to investigate. @ifurnadjiev do you takeover?

Today I tried 3 different China proxies on my phone and the result is blocked tabrisjs.com web site. Both developer app and Android browser return "page not found" error.

The github login form on dev app does not show. I don't understand how this problem relates to tabrisjs.com?
Hao Liu

在 2015年6月8日，下午3:29，Ivan Furnadjiev<EMAIL_ADDRESS>写道：
Today I tried 3 different China proxies on my phone and the result is blocked tabrisjs.com web site. Both developer app and Android browser return "page not found" error.
—
Reply to this email directly or view it on GitHub.

@newhow As @ifurnadjiev already said, http://tabrisjs.com seems not to be reachable from within China. The Tabris.js developer app make extensive use of web services provided by http://tabrisjs.com an OAuth login with GitHub, so everything that requires to be logged into (i.e. identified by) a GitHub account does not work if http://tabrisjs.com is not reachable for you.
What exactly do you want to achive? Can you access http://tabrisjs.com from within your browser? Can you log into http://tabrisjs.com from within your browser e.g. to use our build service?


Increase Character Limit of Social Account Username

Increase the character limit of the social account username to 250, or a similarly large number that can accommodate URLs, since we're using that field for URLs.

Maybe it should be a different field then because name and URL link are different things.


New endpoint for league schedule

Add new endpoint that returns entire league schedule for current season.
Added new file to ./nba_api/live/nba/endpoints/scheduleLeagueV2.py
It looks at this link https://cdn.nba.com/static/json/staticData/scheduleLeagueV2.json to get current season's schedule.
I have not added a corresponding test to this because results will change depending on the season.
Perhaps this link http://data.nba.com/data/10s/v2015/json/mobile_teams/nba/2015/league/00_full_schedule.json might be better as we can specify what season's schedule we want.

Doing a pull request instead on the repo /swar/nba_api directly.


Add ami_regions to packer templates for aws

adding ami_regions to aws packer json can copy ami to all the other regions. Having bosh-lite in all other regions would be amazing! Do you guys mind doing this? I can make PR for it if so

Do you know if packer's vagrant post processor deals properly with multiple AMIs?

I can confirm that vagrant puts all the region's ami into vagrant file

I ran it myself

https://github.com/cloudfoundry/bosh-lite/pull/292 done here

merged in PR

In 9000.54.0+.

xoxo thanks!
On Sun, Sep 13, 2015 at 7:45 PM, Dmitriy Kalinin<EMAIL_ADDRESS>wrote:

In 9000.54.0+.
Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry/bosh-lite/issues/290#issuecomment-139946094


Updated Styled Components version

So when I included this library in my app, everything blew up and my styles stopped working. It appears that what was happening is, because I had a newer version or styled-components, yarn was including both of them and this triggered this issue:
https://github.com/styled-components/styled-components/issues/1032
I think it's possible that styled-components should actually just be a peer dependency, but for the sake of simplicity I opted for just updating the existing dependency to be a fairly lenient pattern. Incidentally, the more recent version include a warning message if multiple styled-components instances are on the page - which would have saved me some digging.

@AdamPflug In that case, I think we should make it peerDependency.

Ok, updated it to be a peerDependency.


improve dead/redundant store elimination

At some point we were considering to allocate objects uninitialized - however this is not the case at the moment so any store of null into newly allocated object is in fact dead. This issues consists of two several items:

[x] Initializing stores of null can simply be dropped (e.g. in the canonicalization pass)
[x] LoadOptimizer can be taught to remove redundant stores (e.g. storing value into a field which already has this value is redundant). This would remove non-initializing stores of null into newly allocated objects.
[ ] StoreOptimizer::CanEliminateStore should be revisited because it currently does not eliminate initializing stores - which seems wrong.
[ ] Context objects can be allocated uninitialized as a performance optimization (all initializing stores are inlined into he caller, which allocates the context). Investigate if this can be changed to align with normal Dart objects for code size reasons.

/cc @mkustermann

/cc @mkustermann

Simple removal of redundant initialising stores have landed and has the following effect
flutter_gallery_instructions_size	-1.05 %	CodeSize	flutter-profile	Moto G4	android-armv7
flutter_gallery_instructions_size	-1.29 %	CodeSize	flutter-release	Moto G4	android-armv7
flutter_gallery_instructions_size	-1.23 %	CodeSize	flutter-release	Pixel 2	android-armv8

Given the guaranteed clearing semantics of allocation, I am looking into DSE improvements that will eliminate both a = nullptr statements from code like this (currently we only remove one, solely based on kill sets). There may be some other low hanging fruits.
class Bar {
  Bar() { a = null; }
  Object a;
}

@pragma("vm:never-inline")
Bar foo() {
  Bar bar = new Bar();
  bar.a = null;
  return bar;
}

I am looking into DSE improvements

I have been actually  pondering on this topic a bit - which made me wonder if our DSE should be merged in the LoadOptimizer which can be made to compute all the necessary information that DSE needs. Additionally LoadOptimizer already computes information about the state of the object fields (for load forwarding) and this is exactly the information that you need to discover redundant stores (i.e. store that stores a value which is already in the field). So it seems natural that this should be handled in the same pass.

Given the guaranteed clearing semantics of allocation

I wonder if item nr 4 on the list (null-initialized context allocations - and potentially uninlining context cloning) might yield better size savings then more sophisticated DSE. (at least it looks easier to crunch some numbers on this).

@mraleph I have implemented the redundant store removal in the LoadOptimizer, and agree that DSE is almost a special case of this optimization now. We can do that refactoring as a follow-up.

Modest saving of 13K bytes.
+---------------------------+---------------------------+--------------+
| Library                   | Method                    | Diff (Bytes) |
+---------------------------+---------------------------+--------------+
| dart:collection           | MapMixin.entries          |          -64 |
| package:flutter/src/wid.. | _AnimatedPhysicalModelS.. |          -64 |
| package:flutter_gallery.. | FullScreenDialogDemoSta.. |          -64 |
| package:flutter_gallery.. | ContactsDemoState.build   |          -80 |
| package:flutter_gallery.. | _ChipDemoState.build.<a.. |          -80 |
| package:flutter_gallery.. | _DataTableDemoState.build |          -80 |
| package:flutter_gallery.. | _ExpansionPanelsDemoSta.. |          -96 |
| package:flutter/src/wid.. | GestureDetector.build     |         -112 |
| package:flutter/src/wid.. | _AnimatedContainerState.. |         -112 |
| package:flutter_gallery.. | _DataTableDemoState.bui.. |         -128 |
+---------------------------+---------------------------+--------------+
Comparing ./old.json (old) to ./sizes.json (new)
Old   : 6964496 bytes.
New   : 6950816 bytes.
Change: -13680 bytes.

All four points have been addressed.

Should this issue be opened again due to https://github.com/dart-lang/sdk/commit/c4a7f1c6bfb8735e392d105ba29eca9dab00d394?

We have relanded the reverted change in: https://dart-review.googlesource.com/c/sdk/+/121982
I forgot to connect it to this issue though.


Exception thrown when running USB to WIFI

I have installed the plugin from the repository inside the Android Studio.
Version installed is 1.0.1
I am running AS 1.4
ANDROID_HOME is created and added to my path
I have restarted AS and adb several times and I get the same exception when trying to do USB to WIFI

The first connection must be connected with the USB？？

Yes. My device was connected

Thanks!If you don't have to connect with USB, it's perfect. Look forward to

Hey @yyloveruancaipu I meant that my device was connected to USB when I got the exception.

Hey @danlegion I've released the version 1.2. Can you review if your still have this problem with the plugin?
You can download it from the official IntelliJ Plugin Store: https://plugins.jetbrains.com/plugin/7983

Hey @pedrovgs it works phenomenally well! Thanks for the plugin.

You are welcome @danlegion I'll close this issue :)


Delete unnecessary special case handling for test_view_with_content_types

Closes N/A
What's Changed

Followup to https://github.com/nautobot/nautobot/pull/5488, addressing one of the review feedback I did not resolve in that PR.
Screenshots

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example App Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Shoot - this should really have gone into develop, not next. I missed that!


Fix typo

Http://, Https:// -> http://, https://

@JanSchietse
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


WIP Support custom volume snapshots & restores

The main Ark code was hard-coding specific support for AWS, GCE, and Azure volume snapshots and restores, and anything else was considered unsupported. This PR adds GetVolumeID and SetVolumeID to the BlockStore interface, to allow block store plugins to handle volume snapshots and restores.
I also simplified the pv restorer so it is more lenient when the VolumeInfo in the backup status is missing. Do you think this is ok @skriss?
Fixes #214
Note, I'll fix tests once the primary changes are LGTM'd.
Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>cc @stevesloka

The plugin change definitely makes sense - thanks for catching that.
I think the PV restorer change is OK, although maybe we still want to return a warning if there is a VolumeBackups map but the current PV isn't in it? It's certainly not an expected case -- likely either the snapshot failed during backup, or someone manually deleted it - so probably worth explicitly recording in the log.

@skriss

I think the PV restorer change is OK, although maybe we still want to return a warning if there is a VolumeBackups map but the current PV isn't in it? It's certainly not an expected case -- likely either the snapshot failed during backup, or someone manually deleted it - so probably worth explicitly recording in the log.

I'll continue to have it return an error.

Just the one unit test Q, otherwise LGTM

LGTM


SemiDefinitePositiveCholeskyDecomposition wrong output?

I was comparing the decomposition of sigma points of MerweUnscentedTransform.java with my own implementation using Matlab, and the sigma points 7 and 13 were exactly the same for the Hipparchus implementation. I have tracked it down to the cholesky descomposition in the unscentedTransform method of AbstractUnscentedTransform.java, where the last column is all zeros.
I leave here the example of matrix that I am decomposing:
example_matrix = equicCov.getMatrix.getData

example_matrix =

   0.002617121548164  -0.000000001368900   0.000000006200114  -0.000000000938743   0.000000001649951  -0.000000046381356
  -0.000000001368900   0.000000000000035   0.000000000000008   0.000000000000003  -0.000000000000012  -0.000000000000023
   0.000000006200114   0.000000000000008   0.000000000000033   0.000000000000007  -0.000000000000003  -0.000000000000120
  -0.000000000938743   0.000000000000003   0.000000000000007   0.000000000000223  -0.000000000000116   0.000000000000256
   0.000000001649951  -0.000000000000012  -0.000000000000003  -0.000000000000116   0.000000000000122  -0.000000000000165
  -0.000000046381356  -0.000000000000023  -0.000000000000120   0.000000000000256  -0.000000000000165   0.000000000001166

And the code in matlab to test Hipparchus decomposition against Matlab's:
% Set tuning parameters
alpha   = 1/sqrt(6);
kappa   = 0;
beta    = 2;

n_x = 6;
% Obtain scaling factors and weights for means
lambda = alpha^2*(n_x+kappa) - n_x;
factor = n_x + lambda;

cov                     = equicCov.getMatrix.scalarMultiply(factor);
descp_orekit      = SemiDefinitePositiveCholeskyDecomposition(cov).getL().getData()

descp_matlab    = chol(factor*equicCov.getMatrix.getData(),'lower')

These are my outputs:
descp_orekit =

   0.051157810236213                   0                   0                   0                   0                   0
  -0.000000026758383   0.000000183878808                   0                   0                   0                   0
   0.000000121195853   0.000000058920215   0.000000122227742                   0                   0                   0
  -0.000000018349943   0.000000012429491   0.000000065605215   0.000000467137920                   0                   0
   0.000000032252183  -0.000000062846295  -0.000000025892626  -0.000000241376570   0.000000241208261                   0
  -0.000000906632940  -0.000000259075206   0.000000042993360   0.000000512286272  -0.000000111560863                   0

descp_matlab =

   0.051157810236213                   0                   0                   0                   0                   0
  -0.000000026758383   0.000000183878808                   0                   0                   0                   0
   0.000000121195853   0.000000058920215   0.000000122227742                   0                   0                   0
  -0.000000018349943   0.000000012429491   0.000000065605215   0.000000467137920                   0                   0
   0.000000032252183  -0.000000062846295  -0.000000025892626  -0.000000241376570   0.000000241208261                   0
  -0.000000906632940  -0.000000259075206   0.000000042993360   0.000000512286272  -0.000000111560863   0.000000005912609

I can work with my implementation for the UT, but I open this issue just in case there is a bug. It could also be a numerical limitation for this particular matrix.

Hi!
I've some difficulties to reproduce your issue. Could you give us the exact value of cov
Thank you,
Bryan

Indeed, using you current input matrix I have a value for the (6,6) element of the output matrix


Implement map() as a non-async version of flatMap()

For initial implementation, we can wrap the function around with Promise.resolve().

93edace523b5dc33a59008f96911080c402d2c78


Update links in release template to new documentation

What?
The release issue template has links to the old documentation location.
Why?
Links should not be broken.
How?
Acceptance Criteria
No broken links in template.
Related Issues

This is a duplicate of 1056

@tsande16 Good catch.


Function catalog repo has links to old site

The function catalog repo (https://github.com/GoogleContainerTools/kpt-functions-catalog) contains links to the old site (https://googlecontainertools.github.io/kpt/guides/consumer/function/) instead of the new site (https://catalog.kpt.dev/)

This has been fixed


Updating readme with npm and storybook badges

Description
Adding npm package version and storybook badges to readme for quick discovery of published package version number and storybook github page
Screenshots

Testing criteria

npm badge should go to npm package
storybook badge should go to storybook github page

Hmm not sure if we need to merge before the version shows up? Not sure why it's not working when viewing raw file.


Creating Pull Request in Visual Studio

Currently there is only a link to the pullrequest-gitea-website, when clicking on Pull Request.
It would be great to create a new Pull Request and see already existing Pull Request directly in visual studio.
Just like the Github Visual Studio Extension

I'm busy with my work, and maybe later.


Feature: Support selecting a range of items from the list

It would be nice to be able to select a range of items, like in plain select.
Using click .. shift + click and/or dragging a range while keeping mouse button pressed.

@kurkle this feature has been implemented in the release v1.0.18

This could be extended with the ability to de-select a range.

if the shift-clicked item is already selected, remove selection from the range.

I'm not certain this would be a behavior everyone expects though.
A default <select multiple> stores the non-shift clicked option as a reference and shift-clicks after that replace the whole selection with the new range. IMO that would not be as good.


[Bug] No go to top button in Lab Test page

Is there an existing issue for this?

[X] I have searched the existing issues

Bug Description?
No go to top button in Lab Test page, and there is a double chat icon there.
Add Screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC contributor
[X] I want to work on this issue (Optional)
[X] I'm willing to provide further clarification or assistance if needed.

Hey @Luson045  i want to work on this can you assign this to me


Crash on Windows 7 x64

I've reinstalled a new clean Windows 7 x64 (ISO from Microsoft website), and then did nothing else than installing rai-10.0.1-win64.exe from GitHub's last release.
Then it gets stuck at ~ 3.5M blocks downloaded, and after a few minutes it crashes:

Did you experience the same problem?

You you attach the logs to this issue next time it happens?

@cryptocode I just edited the issue to include the log.

Can you give me more information about your system?


uCR -> uAD official exchange rate contract "DebtClock"

Resolves #115

@0xcodercrane can you take a look at this today?

Can we get this merged?

Due to extreme circumstances we can release payment for this bounty before we can test and consider it completed officially.
We're still blocked because our deploy scripts aren't finished.
Please post your wallet address and I can send asap. Thanks @ethernomad !

To help you out and to preserve the commit history if you have difficulties rebasing, I can override and force the merge. Keep me posted!

Sorry for missing this - merging now due to the approvals!


Docker file for GPU (CUDA)

Hi, dear developers!
Thank you very much for code sharing!
Could you help me by making Docker file for GPU run

Hello,
I can provide you an example that was used for x86_64, Linux Ubuntu 20.04, CUDA 11.7, NVIDIA A100, that you will need to adapt to your setup.

Download cudnn-linux-x86_64-<IP_ADDRESS>_cuda11-archive.tar.xz from NVIDIA and place it at the root of the repository.


Wronge registry value

Ind the document:
https://docs.microsoft.com/en-us/troubleshoot/windows-server/user-profiles-and-logon/turn-on-automatic-logon
The Registry value DefaultDomain should be DefaultDomainName
Regards
Henning

@Deland-Han Can you take a look at this?


Login/register pages theming

The theming goes on keycloak. Copy the main theme and take inspiration from https://github.com/OpenSourceBrain/OSBv2/tree/master/applications/accounts/themes/custom/login

Duplicated by #60


Update token bindings to work with Osmosis

Published as v0.11.0 on cargo

Tests fail, pushing commit.


Update stable releases

Coverage increased (+0.01%) to 45.436% when pulling e96ff41a38502d9f63fe7f5da7ad6ea8eb3875d7 on joestringer:submit/bump-release into cc023f1a65a3572777cfbe123495605194f48dc6 on cilium:master.

Is this ready to be merged as is?

Yeah, there's no automated testing on the Readme.


[vcpkg] Add manual_link to PKG_CONFIG_PATH

Describe the pull request

What does your PR fix? Fixes #13127

Currently, vcpkg_fixup_pkgconfig only detects .pc files that are located in lib/pkgconfig. Those .pc files in lib/manua_link/pkgconfig will not be discovered by pkgconfig. since manua_link is not added to the PKG_CONFIG_PATH.

@Neumann-A Could you please help review this PR?
Thanks.

Closing this PR since there are still some work needed to be done.


Use contains_url filter for navigating files and showing a file index for a room

fixed in https://github.com/vector-im/vector-android/commit/bc7e3b1cea83a665b1c93816a955fc80a1a309e5


libdefs: add typings for missing v8 methods (serialize, deserialize, writeHeapSnapshot)

Derived from Node's v8 documentation.

This has been added in the meantime:
https://github.com/facebook/flow/blob/932985b2b2d69c83c4c66b08b320418dbeaef6b0/lib/node.js#L2916
https://github.com/facebook/flow/blob/932985b2b2d69c83c4c66b08b320418dbeaef6b0/lib/node.js#L3036-L3044

thanks @mischnic! Closing this PR since it's been addressed.