Some http requests works, but some https requests does not

I'm running a hobby dyno on Heroku (just one dyno and no environment variables).
Some pages work like this one:

http://mgmco-prerender.herokuapp.com/https://www.google.nl
https://mgmco-prerender.herokuapp.com/http://jikkyll.adriaan.io (on CloudFlare and Heroku)

But these page won't work:

https://mgmco-prerender.herokuapp.com/https://jikkyll.adriaan.io (on CloudFlare and Heroku)

The same happens when I run it local on my Mac.
Running<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Looks like PhantomJS is having trouble rendering the page. I'll have to look into this more and get back to you.

Related to SSL/TLS, I've found some sites that won't render and the prerender server log shows a 504 error. From what I can tell, prerender/phantom is using TLSv1. However, some sites apparently require a newer version. How can I configure prerender/phantom to use, for example, TLSv1.2?
For example, the site https://www.xscapers.com/ seems to require the latest TLS version.
Thanks!

I can't find anything showing that PhantomJS supports anything higher than v1.0 yet:
http://phantomjs.org/api/command-line.html
https://github.com/ariya/phantomjs/issues/12524

Is there a nightly build (2.0.1) available that suuports tlsv1.2?

There are no 2.x builds available. You currently have to build them yourself from compiling the PhantomJS source.

If I follow correctly, once the phantomjs2 branch is merged then TLS1.2 is possible?

That is correct.

Please upgrade to our latest version of Prerender (v4.0.3). It has support for PhantomJS 2.1 with TLS 1.2.

Thanks, that solved the issue.

Hi @thoop,  is this ported to prerender-node?, don't know if my question makes any sense, but asking since I'm using it, and while you recomend v4.0.3, prerender-node latest version is 2.2.1, thanks.

prerender-node is different. prerender-node is just middleware while the prerender repo is the actual prerender server. Feel free to send us an email if you are having issues and using our hosted service.


enable coverage collection for nested packages in a monorepo

Use case
I have a monorepo with several flutter / dart packages.
some of the tests are written in a client package as that helps to test more use cases.
the problem is that when running tests in a client package, code coverage does not collect code that runs in nested packages.
i could for example write additional tests in nested packages and merge their coverage into a single report. but running tests in a nested package does not always give enough context for the test.
consider an app with two packages: app1, app2, flutter_commons
now some of the tests in app1 use (indirectly) code that is located in "flutter_commons". but, when running with --coverage, that code is not covered and therefore is considered as not used.
the ability to collect code from flutter_commons when running tests in app1 would help...
Proposal
it should be possible to specify in the command line which nested packages should be collected.
thanks

now some of the tests in app1 use (indirectly) code that is located in "flutter_commons". but, when running with --coverage, that code is not covered and therefore is considered as not used.

This seems to be related to --coverage flag which comes from dart package and maintained in dedicated repo: https://github.com/dart-lang/coverage/issues. I suggest you to file this issue there.
Or are you looking to add a flag / paramter to flutter test command to include nested packages ?

Thanks for the update. Labeling this as a proposal.


Misc3

Changes

Checkboxes now look like checkboxes :)
Added Block/follow/about buttons when hovering a listing within the discover > listings page
Added View listing button when hovering a listing on another node's store
Added Edit/delete buttons when hovering a listing on your own store
Flipped order of Following and Follower tabs on user page
Removed border from sideBar
Added "My page" button to Transactions section
Fixed address bar placeholder text issue
Updated 4 of the standard themes (dark, white, green and orange)

Bugs

New Follow/Unfollow buttons are not wired up in discover
New Delete button not working on your page
Block buttons need to be wired to API

@jjeffryes misc3 is ready for merge whenever you get a chance.


Authentication Failed?

Hello, i have installed the App in my Android smartphone and try to connect it to my LRS (instance of ADL's LRS ). I ve put the LRS (..../xAPI/) in the corresponding field but it is not evident where i put the Authorization credentials (USER name and password) of my LRS.
My LRS is up and the msg i get from the APP is that "Authentication failed, please verify your username and password". My LRS also shows POST and GET actions that fail with error code 401, so they indeed try to communicate but fail to authenticate.
Any clues?!

Hello,
The first field in the settings is for your actor name, the next one is your account name, followed by the account homePage. It sounds liek you have the LRS endpoint correct, so that is followed by your LRS account name then your LRS account password. There's an active PR out where we'll try to make it more user-friendly. Thanks!

I added a screenshot so it's easier to view. The bottom two field are the LRS auth fields that need to be correct in order to communicate with the LRS properly. The top fields are values inside of the statement.

Thanks. The last field was not visible in my screen no matter what.
It communicates with my LRS !!! (an error code 500 is displayed, but statements are sent)

Thanks a lot for the immediate response!!!


Global configuration is not working

Your checklist for this issue

[ 2.176.4] Jenkins version

[2.34 ] Plugin version

[ Ubuntu 16.04 ] OS (Jenkins Docker)

Description
After adding the required details in the Slack Notifier configuration, Test Connection still fails. Below is the log output
Oct 03, 2019 5:47:06 AM jenkins.plugins.slack.StandardSlackService correctMisconfigurationOfBaseUrl
WARNING: Overriding base url to team domain 'xxxx' this is due to mis-configuration, you don't need to set base url unless you're using a slack compatible app like mattermost
Oct 03, 2019 5:47:06 AM jenkins.plugins.slack.StandardSlackService publish
WARNING: Slack post may have failed. Response: null
Oct 03, 2019 5:47:06 AM jenkins.plugins.slack.StandardSlackService publish
WARNING: Response Code: 400

Could you share your global config?

Sounds like Override url is not empty. Can you please try and delete any content in that field and save again?

No luck even after setting override url as empty. Not sure if I'm missing any field.
In fact, the form doesn't contain override url. Test Connection is a pre-save action isn't it? So it should consider only the fields populated in the form

anything in the logs?

What is saved in the slack plugin XML file on disk?

I didn't troubleshoot it further. I just cleared the jenkins data volume and recreated it. It works fine now. However, wouldn't a 400 Bad Request from Slack contain some error? It can actually be shown in the logs. Ex: Auth error, default channel doesn't exist etc

400 bad request can also come from the Java Library 😉

Closing as the issue is fixed


error: unknown option '--subscription'

Before filing this issue, please ensure you're using the latest CLI by running swa --version and comparing to the latest version on npm.
Are you accessing the CLI from the default port :4280 ?
N/A

Make sure you are accessing the URL printed in the console when running swa start!

ℹ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly
Describe the bug
When I run swa login --subscription <subscription-id> I get this error: error: unknown option '--subscription', but swa login --help says it should be subscription
To Reproduce
Steps to reproduce the behavior:

Run swa login --help and see how the help says the parameter is --subscription
Run swa login --subscription <subscription-id>
See how it says  error: unknown option '--subscription'

Expected behavior
Either the help should say its subscription-id or the option should be changed from subscription-id to subscription.
Desktop (please complete the following information):

OS: Windows
Version: 10

Additional context
N/A

Hey @adriancuadrado,
Thanks for bringing this to our attention. Looks like we made a small typo. Will fix it ASAP!


feat(ui): support base64 encoded images in markdown rendering

Description

Fixes WB-22155

What does the PR do? Include a concise description of the PR contents.
Resolves issues with base64-encoded PNG images not rendering correctly in dataset descriptions when using markdown format. The SanitizationSchema restricted src protocols that were not http or https. Included data as a valid protocol since that is used to render base64 encoded images.
Testing
How was this PR tested?

Local invoker_fe_prod.ini
Tested on Dataset cards, artifact descriptions and Reports

Before
Dataset Card

Report

After
Dataset Card

Report

I have read the CLA Document and I hereby sign the CLA


Dynamic Client Creation Sample

How to use spring authorization server for dynamic client registration ?

@dilipdhankecha07 This will be documented in gh-672. Closing this as duplicate.
In the meantime, see the integration tests in OidcClientRegistrationTests for usage.


GTK4 windows cannot resize with wayland backend

Environment
Windows build number: [10.0.22621.1]]
Distribution version: [Ubuntu 22.04]
WSLg version: [<IP_ADDRESS>]

Steps to reproduce
In Ubuntu-22.04 do following to install gtk4-demo:
$ sudo apt install gtk4-examples

Run the gtk4-demo:
$ gtk4-demo

The window cannot be resized. Also, the windows decoration doesn't have minimize/maximize button on the titlebar.
But if run gtk4-demo with X11 backend:
$ GDK_BACKEND=x11 gtk4-demo

Resize and minimize/maximize all work.
Expected behavior
Expect the gtk4 window should be rendered correctly, and can be resized/minimized/maximized as GTK3 windows.
Actual behavior
GTK3 windows work perfectly.  But as upper shows, GTK4 with wayland backend doesn't work well.

Turns out if place mouse cursor on the small shadow corner, it's actually resizable.  Using gnome-tweaks utility,  we can add minimized/maximize button back to title bar.


Passing build properties to NuGetPackager task

The nuget pack command allows to set properties for the build. With the current implementation of the NuGetPackager task they cannot be used, since the task already fix sets the configuration property and a passing a second properties parameter in the NuGet arguments results in invalid command line arguments for nuget.exe.
To handle this case, I would suggest to introduce a new input in the advanced section of the task for build properties which in the PowerShell script can be added to the existing Configuation property.
Would this make sense? If so I can provide a PR for the necessary changes.

@chrisrpatterson Any opinion about this?

Yes that would make sense, pretty much all of the tasks we have that drive a command line have this sort of ripcord parameter where you can just pass additional command line parameters.

@chrisrpatterson Thanks, I've submitted a PR. Any chance to have this merged (and the other NuGet related PRs I've submitted: #491, #492)?


Inline Callbacks: Base Web Resource

This change adds support for returning a Deferred instance from a web resource.  This is required to support inlineCallbacks in other views but shouldn't break anything that already exists either.  This change was pulled out of #193.

@guidow, PTAL

I have tried running this branch, and it leads to errors when fetching a jobtype:
2015-02-02 19:41:42 DEBUG    - HTTPChannel,2,<IP_ADDRESS> - Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f187835acb0>
2015-02-02 19:41:42 ERROR    - root            - Unhandled Error
Traceback (most recent call last):
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
    return self._dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/protocols/basic.py", line 578, in dataReceived
    why = self.rawDataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1737, in rawDataReceived
    self._transferDecoder.dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1439, in dataReceived
    finishCallback(data[contentLength:])
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1668, in _finishRequestBody
    self.allContentReceived()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1731, in allContentReceived
    req.requestReceived(command, path, version)
  File "/home/guido/git/pyfarm/pyfarm-agent/pyfarm/agent/http/core/server.py", line 61, in requestReceived
    _Request.requestReceived(self, command, path, version)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 827, in requestReceived
    self.process()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 191, in process
    self.processingFailed(failure.Failure())
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 329, in processingFailed
    self.write(body)
  File "/home/guido/git/pyfarm/pyfarm-agent/pyfarm/agent/http/core/server.py", line 71, in write
    _Request.write(self, data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 217, in write
    http.Request.write(self, data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 962, in write
    raise RuntimeError('Request.write called on a request after '
exceptions.RuntimeError: Request.write called on a request after Request.finish was called.
Traceback (most recent call last):
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
    return self._dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/protocols/basic.py", line 578, in dataReceived
    why = self.rawDataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1737, in rawDataReceived
    self._transferDecoder.dataReceived(data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1439, in dataReceived
    finishCallback(data[contentLength:])
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1668, in _finishRequestBody
    self.allContentReceived()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 1731, in allContentReceived
    req.requestReceived(command, path, version)
  File "/home/guido/git/pyfarm/pyfarm-agent/pyfarm/agent/http/core/server.py", line 61, in requestReceived
    _Request.requestReceived(self, command, path, version)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 827, in requestReceived
    self.process()
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 191, in process
    self.processingFailed(failure.Failure())
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 329, in processingFailed
    self.write(body)
  File "/home/guido/git/pyfarm/pyfarm-agent/pyfarm/agent/http/core/server.py", line 71, in write
    _Request.write(self, data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/server.py", line 217, in write
    http.Request.write(self, data)
  File "/var/tmp/virtualenv/pyfarm-agent-python2/lib/python2.7/site-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/web/http.py", line 962, in write
    raise RuntimeError('Request.write called on a request after '
RuntimeError: Request.write called on a request after Request.finish was called.

Interesting that this happens when pulling a job type, I'll have to look into this further.  Right now though I'm going to work on other changes which can be made before this has to merge.


OPRUN-3081: UPSTREAM: : Drop commitchecker

error: unable to access the source layer sha256:3555044d29cdab884bb8a97f02c74f78dfa2fe21ac2728f0dd8e222fdb54204f: received unexpected HTTP status: 503 Service Unavailable
{"component":"entrypoint","error":"wrapped process failed: exit status 1","file":"k8s.io/test-infra/prow/entrypoint/run.go:84","func":"k8s.io/test-infra/prow/entrypoint.Options.internalRun","level":"error","msg":"Error executing test process","severity":"error","time":"2023-11-03T17:24:39Z"}

Service error
/retest


which means annotation_id?

thanks for your amazing work!
about the annotations(tifa_v1.0_question_answers.json),I want to ask:
1.Did you annotate DSG　from coco2014 or 2017? "coco_val_id"?but I cannot find the according number in val_instance2017.json or train_instance2017.json
2.which number means coco anno_id?
{
"id": "coco_435097",
"caption": "Some very big furry brown bears in a big grass field.",
"question": "is this a grass field?",
"choices": [
"yes",
"no"
],
"answer": "yes",
"element_type": "location",
"element": "grass field",
"coco_val_id": "471450"
},

Can you open DSG-1k dataset images?

Hi @mazhengyu8282, the tifa_v1.0_question_answers.json is the same file from TIFA GitHub - https://github.com/Yushi-Hu/tifa/blob/main/tifa_v1.0/tifa_v1.0_question_answers.json. @Yushi-Hu, do you have the answer to this question?

Regarding the 2nd question, Can you open DSG-1k dataset images?, the DSG-1k dataset only consists of text prompts; you need to generate images with your T2I model.


Add an fh init command

This will start out pretty modest and use Handlebars templating to produce flakes, which we'll likely want to replace with someone more robust.

How does this compare to existing Nix templates (those you can initialize with nix flake init).
For eg., my Haskell module https://flakehub.com/flake/srid/haskell-flake provides a nix flake template here. How can I provide this as part of fh init to the users of fh?

@srid This will be an interactive builder that uses a combination of CLI prompts and the contents of your repo to provide a custom flake.nix.

@figsoda This is a very early and rough draft that I just wanted to share with colleagues. I'd love to get feedback at a later stage and will let you know when it's ready, but for now I'm still mostly in the "put something together that kinda works and play with it" phase 😄

No worries then, have a nice day!


[FLOC-3140] Coalesce redundant cluster parameter updates to agents

Fixes https://clusterhq.atlassian.net/browse/FLOC-3140
The general idea here is that because many different things trigger a full update of cluster parameters (state and configuration) to agents, it is often the case that several full updates will be sent to an agent before it has even had a chance to process the first update.  In these cases, the first update is unavoidable and the last update is useful but the intermediate updates are useless and we can avoid sending them.  So, do.
Since we only have manual, ad hoc benchmarking in place at the moment, here are some results from my manual, ad hoc benchmarks:
Without this change, it takes longer than 10 minutes (I didn't wait to see much much longer) for flocker-control to finish processing all of the events generated on the startup of a 40 node cluster.
With this change, it takes about 3 minutes.
With this change, on an empty 40 node cluster it takes slightly less than 6 minutes to configure 593 containers (out of an attempted 800, the difference is accounted for by errors from the API server).  Measuring from when the first container is configured, it takes a little less than 9 minutes to converge on this configuration.  While convergence is underway, it takes a little under 2 minutes for the control service to respond to a read-only API request.  Once the cluster has converged, it takes 14 seconds to add one more container to the configuration and an additional 16 seconds to converge on that configuration.
As a follow-up to this, I've made an additional change which cuts down the cost of some Eliot logging near the code changed by this PR.  That involved some refactoring which somewhat improves the readability of this code.  I didn't have a chance this evening to push that refactoring into this PR so what's here is a bit of a mess.  Please have a look at https://github.com/ClusterHQ/flocker/compare/coalesce-calls-probably-even-better-FLOC-3140...send_cluster_state_logging-FLOC-3151?expand=1 to see the improved factoring and don't count the mess in this PR as a reason not to accept this change (since it is required before send_cluster_state_logging-FLOC-3151 can be merged).
As far as I know, send_cluster_state_logging-FLOC-3151 is also ready for a PR but since it's stacked on this branch github will make a mess of the diff - so I'm aiming for this to be merged before creating that PR.

There are lint errors in the branch coming from test_protocol.py

Thanks @exarkun and @jml
This looks great.

It took me a while to work out the situations that lead to each of send now, schedule send, already scheduled cases. I thought they could do with some extra comments....I suggested some, but feel free to discard those.

You should probably explain the new behaviour of _send_cluster_state in its docstring.

I added a few other comments which you can address if you agree.

Please merge when you've fixed the lint errors and got a green build.

Ah, I see that you've cleaned up / refactored the code in the follow up branch  (send_cluster_state_logging-FLOC-3151) and  added the explanatory comments there.

Ah, I see that you've cleaned up / refactored the code in the follow up branch (send_cluster_state_logging-FLOC-3151) and added the explanatory comments there.

Indeed.  Sorry about that.  I realize it's not ideal to have the cleaner factoring / improved documentation in the follow-up branch instead of here.  If I hadn't been rushing to deliver something for today then I definitely wouldn't have done this.


Hungarian Translation for Getting-Started + Config

Added pages for Quick Start and Installation
Fixed links to parts of documentation that are not yet translated
Fixed typos in Getting Started page
Fixed wrong line breaks in Getting Started, especially where they break code snippets

Sorry, all I could really do to review this was check a bunch of the links, and Google Translate it to English to see whether anything jumped out at me. Not nearly the kind of review that your work deserves! But nothing stood out as not working or wrong to me from what little I could check.

Thank you! Both of you :) I shall try to get a few more pages down tonight or over the weekend so expect some more PRs in the near future! To the moon!


file locksmith result empty

Microsoft PowerToys version
0.65.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
File Locksmith
Steps to reproduce
Start-BitsTransfer -Source source -Destination destination
✔ Expected Behavior
result not empty
❌ Actual Behavior

Other Software
No response

What happen if you check again as administrator (top-right button)?
/needinfo

I have a similar problem.
I am writing a library on Kotlin. And sometimes Kotlin compiler daemon does not let go of some files produced by the compiler. (It's a bug in Kotlin compiler that is hardd to reproduce). Unfortunately, File Locksmith (even with administrator rights) always does not find anything including the Java VM that does not let go of files.
Here is a screenshot of the "crime":


Use composer libraries for import/export

CSVParser and GridFieldExportButton have CSV import/export code that has likely been in SilverStripe for eons.
Libraries https://github.com/thephpleague/csv or https://github.com/goodby/csv will do a much better job of importing and exporting, and they could be exposed through CSVBulkLoader and GridFieldExportButton for fined-grained control.
A few issues:

https://github.com/thephpleague/csv requires PHP 5.4 - which is above SilverStripe's minimum PHP5.3 requirement.
https://github.com/goodby/csv works with PHP 5.3, but is not as feature rich as https://github.com/thephpleague/csv

Introduced goodby in 3f319fd9387820cfb2065633bfa3367dc6838fb9


Add release note about lacking Citadel Helm

The Helm Citadel implementation will not make the 1.0 release.  We
can resolve this in later revisions.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @frankbu


Get unit tests up and running

Would appreciate someone checking they can run this.

Running the test command gradle mlUnitTest, failed for me with:

I have already run gradle mlDeploy (and also am running gradle mlWatch -i) Also failed after running again after running gradle mlGenerateUnitTestSuite
Am I missing a step?

Ah, my preexisting docker container doesnt expose 8012, so I need to do that!


Added update protocol action

Codecov Report
Attention: Patch coverage is 93.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 98.41%. Comparing base (fa409f9) to head (6b7fcdc).

Files
Patch %
Lines

src/interfaces/records-write.ts
80.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #701      +/-   ##
==========================================
- Coverage   98.41%   98.41%   -0.01%
==========================================
  Files          74       74
  Lines        9936     9942       +6
  Branches     1448     1451       +3
==========================================
+ Hits         9779     9784       +5
  Misses        151      151
- Partials        6        7       +1

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


Add explicit CRLF to IMAP commands

On Windows, the current version of the script works as-is for me when using client credentials auth flow.
On Ubuntu (and presumably similar distros) I encountered "hanging" commands.
The fix was to explicitly emit CRLF EOL when writing to the stream writer.
This allowed the script to execute properly on Windows and Ubuntu with the MSAL.PS module installed.
Tested using PowerShell v7.3.0.
References:

https://stackoverflow.com/a/26802133/903870
https://datatracker.ietf.org/doc/html/rfc9051

Specifically:

All interactions transmitted by client and server are in
the form of lines, that is, strings that end with a CRLF.

refs https://github.com/DanijelkMSFT/ThisandThat/issues/2

thanks for testing and bringing this up.


eslint is defined but never used

Describe the bug
eslint is defined in the webpack config but never used in the file. There are other require('eslint') usages in the file but the root level definition remains unused.
https://github.com/facebook/create-react-app/blob/c0b4173d1bba37fde2d699fe9914d16f823bcbe5/packages/react-scripts/config/webpack.config.js#L36

It’s used here:

https://github.com/facebook/create-react-app/blob/c0b4173d1bba37fde2d699fe9914d16f823bcbe5/packages/react-scripts/config/webpack.config.js#L342

Yep, conor is right.

Hmm, I think when the project ejects, this declaration is still left in.


API Composition and TypeScript

Hi !
First of all : awesome project !
Do you have any tips to include vuex-orm-next with api composition and typescript ?
I saw an old issue :
`import { useRepo } from '@vuex-orm/core'
import User from '@/models/User'
export default {
setup() {
const useRepo = useRepo(User)
}
}`
Any news about this ?
Thank you !

I just came looking at the same thing. I am wanting TypeScript support.

I just came looking at the same thing. I am wanting TypeScript support.

If you are on Nuxt you can try the nuxtjs/composition-api and then :
const { store } = useContext()
const accessesRepo = ref(store.$repo(Access))

If you are on Nuxt you can try the nuxtjs/composition-api and then :
const { store } = useContext()
const accessesRepo = ref(store.$repo(Access))

Essentially, migrating from Vue 2 to Vue 3 would probably make it possible to stitch the whole vuex dependency, since Vue's Composition API is powerful enough.

If you are on Nuxt you can try the nuxtjs/composition-api and then :
const { store } = useContext()
const accessesRepo = ref(store.$repo(Access))

Never use ref. Always use computed.
const accessRepo = store.$repo(Access)

const items = computed(() => accessRepo.all())

And yes the library has TS support, considering it's built using TS.
There will be a VCA example repo soon. 👍

I guess the question is solved 👀  Closing it for now!


[FEATURE] Respond to api requests when YAML validation fails

When I submit invalid YAML to wadm, I get timeout errors from the client, but in the wadm logs we have:
14:01:31.917 [error] Gnat.Server encountered an error while handling a request: %Protocol.UndefinedError{description: "", protocol: String.Chars, value: %YamlElixir.ParsingError{column: 9, line: 104, message: "Invalid sequence", type: :not_a_sequence}}
14:02:27.411 [error] Gnat.Server encountered an error while handling a request: %Protocol.UndefinedError{description: "", protocol: String.Chars, value: %YamlElixir.ParsingError{column: 9, line: 104, message: "Invalid sequence", type: :not_a_sequence}}
14:03:00.468 [error] Gnat.Server encountered an error while handling a request: %Protocol.UndefinedError{description: "", protocol: String.Chars, value: %YamlElixir.ParsingError{column: 19, line: 105, message: "Block mapping value not allowed here", type: :block_mapping_value_not_allowed}}

These happen quickly and should result in a YAML parsing error and not a timeout, this could just be modifying the API server flow for model put https://github.com/wasmCloud/wadm/blob/main/wadm/lib/wadm/api/api_server.ex#L121 so that requests that fail validation return an error instead of panicking

Closing as this is no longer applicable


Increase sleep time when 429 error occurs

Purpose of your issue?

[ ] Bug report (encountered problems/errors)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Describe your issue
When we hit a 429 error because something went to wrong and we got soft banned. A 5 minute sleep will be initiated. After 5 minutes it will be tried again. If we are still soft banned, we have another 5 minutes of sleep.
What I want to do but I am unable to make myself is that if a second time this sleep occurs, add 5 minutes to it so the timer creeps up. First time it is 5 minutes, second time it is 10 minutes etc...
I tried to change this line:
https://github.com/instagrambot/instabot/blob/master/instabot/api/api.py#L491
To: (added the + sign)
sleep_minutes += 5

but that didn't work.

@bruvv One thing you could do is add an argument in the function definition of send_request() that passes the current sleep_minutes to the recursively called send_request().
Something like this:
Function Definition
def send_request(  # noqa: C901
        self,
        endpoint,
        post=None,
        login=False,
        with_signature=True,
        headers=None,
        extra_sig=None,
        sleep_minutes=None,
    ):

Since the first time that the function is called, sleep_minutes will most likely be None. Therefore:
Somewhere Here
if sleep_minutes is None:
        sleep_minutes = 0

sleep_minutes = sleep_minutes + 5

In the where the function is recursively called,
Recursive Call
return self.send_request(
                    endpoint, post, login, with_signature, headers, extra_sig, sleep_minutes
                )

That is a very good one. I will make a PR thanks.


Question regarding SimpleAxisValueFormatter()

Hi,
At first, thank you for the great library.
I am trying to implement a columnchart by following the sample app. While using the SimpleAxisValueFormatter to give value to column names at bottom axis, the class is not recognized by Android Studio. Is it deprecated or what?
The codes i am following : https://github.com/lecho/hellocharts-android/blob/master/hellocharts-samples/src/lecho/lib/hellocharts/samples/TempoChartActivity.java#L116
Also "lecho.lib.hellocharts.util.ChartUtils" is not recognized.
https://github.com/lecho/hellocharts-android/blob/master/hellocharts-samples/src/lecho/lib/hellocharts/samples/ColumnChartActivity.java#L172

Hi, there should be no problems with SimpleAxisValueFormatter if you have up-to-date sources, I'm unable to reproduce any problems. Does Android Studio have option to import class when you press Alt+Enter?

Thanks for the quick reply, I have downloaded the latest Jar file. No option for Alt+Enter, i tried a manuel import but get error. Here you can see SS : http://tinypic.com/r/2uer6l0/8

Ok, I've made some changes that are not released as jar yet and are not compatible with 1.3 so try to use samples from tag v1.3 https://github.com/lecho/hellocharts-android/tree/v1.3

Great, thanks again !! ;-)


[Request] - Mod Continuation.

I have been looking for a mod that implements the 3x3 crafting matrix into the inventory, much like this mod does, but for 1.12.2. There are a few other mods that provide this functionality but generally include many features outside the concept of the pack I'm designing. I had initiated contact with the developer of CraftingTweaks and CraftingCraft to see if this was something they were interested in doing. The response highlighted a few issues I hadn't considered, and conveyed that such project wasn't within the scope of the CraftingCraft project and would be an independent mod if they were to work on it at some point. As well as directing me to this project, which I hope that interest in this mod may sway you to continue on with it.
Possible considerations if you do feel up to updating;
Outside of the Vanilla Recipe Book there are other mods which adds a button of their own in the gui space around the 2x2 matrix.
There is also the addition of the shield slot limiting the available space.
A separate gui within the inventory is possible solution to the space issues and to reduce potential conflicts with other mods. A discrete, relocatable, button near the player model that opens to a different gui, similar to baubles interface, could be functional and stylish solution.
I thank you for your time and consideration, keep up the great work.

It is now out for modern versions, including 1.15.2
Currently it is not a seperate GUI, right now it replaces the existing inventory, and is compatible with Curios and JEI


Highlight current position on the page with the buttons on the left

Currently we have buttons on the side to jump to the different sections. The one you are currently on should be the one with colors while the other ones are in gray scale

Done


Remove installation from source for Diffusers in CI

What does this PR do?

This PR removes the line in the CI where Diffusers main is installed as it is leading to an issue in the ControlNet test (see here).
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


npm install doesn't support 32bit/x86 Ubuntu 14.04

Please update the install instructions to be more clearly explicit about what machine types are supported. That would (have) save(d) people (like, say, me :-) a lot of wasted time and frustration.

voting for this issue; although I'd just prefer to have support for x86

Concerning npm, the install instructions point to https://www.npmjs.com/package/elm. So that is the place where it should be noted which machines are supported. The way to get something noted there is to change the README.md at https://github.com/kevva/elm-bin. So open an issue for this at https://github.com/kevva/elm-bin/issues? (Also the desire to add more supported machine types is an issue for there, not here.)


Respect precendence rules when nesting if statements

Closes #740
Fixing for Logical OR, Conditional and Coalescing.

Coverage increased (+0.003%) to 91.138% when pulling f18dfe8d56af89ae52ffb19d6ec54110ad7b9de6 on giggio:gb/fix740 into 4d0bac116d4055288b0632b53bbf6b7fc62f98ef on code-cracker:master.


⚠ API Next - load whole book has degraded performance

In 6dd22c3, API Next - load whole book (https://h-edu.cz/content.api/book/book-a/chaptersContent) experienced degraded performance:

HTTP code: 200
Response time: 22110 ms

Resolved: API Next - load whole book performance has improved in 2ee138a after 28 minutes.


pdm: 2.4.6 -> 2.5.1

Description of changes
https://github.com/pdm-project/pdm/releases/tag/2.5.0
https://github.com/pdm-project/pdm/releases/tag/2.5.1
supersedes #224324
cc @natsukium

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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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

[x] Fits CONTRIBUTING.md.

The release notes should go into the commit message, as per https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md?rgh-link-date=2023-04-09T11%3A40%3A35Z.

The release notes should go into the commit message, as per https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md?rgh-link-date=2023-04-09T11%3A40%3A35Z.

done.
never knew about that requirement

I don't know why you need another new PR just a few hours after the PDM release.
It seems to me that the installer should not be removed as it will be updated with poetry and might break the package again.

@natsukium i didnt mean to offend anybody. i just had the time and thought that might help.
regarding installer: i believe the potential for future breakage should not be the reason for having those individual dependencies.

@betaboon
I apologize for the aggressive tone.
It is important that the package is updated properly, so let's continue with this PR.
Since pdm is an application and installer is not yet a major release, I think it would be good to keep the explicit version pinning.
However, since the installer does not seem to be updated frequently, I feel that pinning is unnecessary now.


[zh] update /glossary/toleration.md

Nits:

remove extra spaces
keep consistent with taint, an adjacent term in the glossary list

content/zh-cn/docs/reference/glossary/toleration.md

/lgtm
/approve


How to get loading of firstTime ? while not loading more state

state loading is useful for pagination. but also the loading first time state is important to set skeleton UI . hope you get what I mean

You can use selectLoading and paginatorRef.isLoading$.


Same video displayed after using back button

Currently after the back button is pressed, clicking on a different videos takes the user to the video previously played

No longer an issue.Back functionality is no longer needed.


Get start time API

This should work but I have not been able to test it in swagger as it keeps on saying anonymous objects do not have a account_set field

Can you record a Loom video for a demo? Can be really helpful for others to see how your API will work.

https://share.vidyard.com/watch/UokNwGCscPiQtmdSNpX8cL?

LGTM!


chore: bump SDK version to osmosis-main

Changelog

Bump SDK version to osmosis-main (latest HEAD commit), which includes all the ABCI changes and Tendermint v0.37.x

TODO

[ ] Verify https://github.com/osmosis-labs/cosmos-sdk/commit/8757a61551aa1ea993c85a523e18094ab555b1d7 commit exists

Hi @alexanderbez , I can confirm about the protobuf issue, I faced it upstream, too.
I'm very happy to help out with either a 47 or 46 compatible osmosis.  Is there any document on the intention of the changes to osmosis-main?
If the only changes to osmosis-main so far are abci++ / tendermint related, it is likely that further changes will be needed to osmosis-main to be able to support a 46 compatible or 47 ibc-go.
AFAIK, the only 47-compatible ibc-go is here:

https://github.com/cosmos/ibc-go/pull/2672

And the 47-compatible cosmwasm code is here:

https://github.com/CosmWasm/wasmd/tree/sdk047_start

As for SDK 46, Notional has written code for wasmd support for 46:

v0.30.0: https://github.com/CosmWasm/wasmd/pull/1126
v0.29.2: https://github.com/CosmWasm/wasmd/pull/938

@faddat tysm for the willingness to help out. So to give you some context:

Osmosis SDK fork now includes TM v0.37.x on osmosis-main
osmosis-main is STILL based on core SDK v0.45.x semantics BUT now uses cosmos/gogo instead of gogoproto
In order to have this PR work and to be pinned against osmosis-main as intended, we need to ensure all downstream deps also use cosmos/gogo instead of gogoproto. AFAIK, only WASM and IBC are the deps that need to be updated. I believe there is an IBC PR that updates it to use cosmos/gogo. I cannot speak for WASM though.

In the meantime, I will:

[ ] Fix merge conflicts
[ ] Start on integration and implementation from https://github.com/osmosis-labs/osmosis/issues/3668 (based on this branch)


Adds other versions of Whereabouts

Added support for Velero 1.12.1 and 1.9.5. Added rockcraft.yaml files based on their Dockerfiles.

Please resolve conflict

Done

Only image upload to ghcr fails because of external contributor - merging.


Problem about modifying vl_fisher.c

I want to modify the vl_fisher.c, fisher.c and fisher.h for my research requirement, when I directly modify the original files and compile them to mex file, it goes well, however, when I change the file names to another things (say vl_fisher2.c, fisher2.h, fisher2.c), it cannot be compiled successfully due to a problem related to dillimport things (in Windows 7 and VS 2013).  Is there anything I missed in this process?
Thank you in advance！

@vedaldi @bfulkers


Melee/Ranged weapons should not default to strength/dex more than once

This might be controversial, but I think that melee/ranged attacks/features should not default to strength resp. dexterity more than once. Reason: due to the bug with empty values and defaults that roll20 won't fix, it means that you cannot change the attributes to none for these attacks.
This not only causes problems for two-weapon fighting without the fighting style (where you do not add the attribute modifier to damage), it also breaks Divine Smite damage as long as Divine Smite is of type melee.

It's only supposed to set it once. That is the issue. Fixing that should solve the not being able to switch issue. Though divine smite and improved divine smite should be labeled as other, not melee.

Fixed in 6.0.0


Add csharp httpclient

Feedback and comments welcome. #141

Closing my PR, as PR #149 looks to be more complete.


Update to Quickstart App?

Hey guys,
Any chance of an update to the quickstart app?

we fixed the example project now


[cpprestsdk] build failure

Host Environment

OS: Windows 10 1903
Compiler: vcpkg version 2019.09.12-nohash

To Reproduce
Steps to reproduce the behavior:
./vcpkg install cpprestsdk cpprestsdk:x64-windows
Failure logs
The following packages will be built and installed:

boost-algorithm[core]:x86-windows

boost-algorithm[core]:x64-windows

boost-array[core]:x86-windows

boost-array[core]:x64-windows

boost-asio[core]:x86-windows

boost-asio[core]:x64-windows

boost-assert[core]:x64-windows

boost-assert[core]:x86-windows

boost-atomic[core]:x86-windows

boost-atomic[core]:x64-windows

boost-bind[core]:x64-windows

boost-bind[core]:x86-windows

boost-build[core]:x86-windows

boost-build[core]:x64-windows

boost-chrono[core]:x64-windows

boost-chrono[core]:x86-windows

boost-compatibility[core]:x64-windows

boost-compatibility[core]:x86-windows

boost-concept-check[core]:x64-windows

boost-concept-check[core]:x86-windows

boost-config[core]:x64-windows

boost-config[core]:x86-windows

boost-container[core]:x64-windows

boost-container[core]:x86-windows

boost-container-hash[core]:x86-windows

boost-container-hash[core]:x64-windows

boost-context[core]:x64-windows

boost-context[core]:x86-windows

boost-conversion[core]:x64-windows

boost-conversion[core]:x86-windows

boost-core[core]:x64-windows

boost-core[core]:x86-windows

boost-coroutine[core]:x64-windows

boost-coroutine[core]:x86-windows

boost-date-time[core]:x86-windows

boost-date-time[core]:x64-windows

boost-detail[core]:x64-windows

boost-detail[core]:x86-windows

boost-exception[core]:x64-windows

boost-exception[core]:x86-windows

boost-function[core]:x86-windows

boost-function[core]:x64-windows

boost-function-types[core]:x86-windows

boost-function-types[core]:x64-windows

boost-functional[core]:x86-windows

boost-functional[core]:x64-windows

boost-fusion[core]:x86-windows

boost-fusion[core]:x64-windows

boost-integer[core]:x86-windows

boost-integer[core]:x64-windows

boost-intrusive[core]:x86-windows

boost-intrusive[core]:x64-windows

boost-io[core]:x86-windows

boost-io[core]:x64-windows

boost-iterator[core]:x64-windows

boost-iterator[core]:x86-windows

boost-lambda[core]:x64-windows

boost-lambda[core]:x86-windows

boost-lexical-cast[core]:x64-windows

boost-lexical-cast[core]:x86-windows

boost-math[core]:x64-windows

boost-math[core]:x86-windows

boost-modular-build-helper[core]:x86-windows

boost-modular-build-helper[core]:x64-windows

boost-move[core]:x86-windows

boost-move[core]:x64-windows

boost-mp11[core]:x86-windows

boost-mp11[core]:x64-windows

boost-mpl[core]:x64-windows

boost-mpl[core]:x86-windows

boost-multiprecision[core]:x86-windows

boost-multiprecision[core]:x64-windows

boost-numeric-conversion[core]:x86-windows

boost-numeric-conversion[core]:x64-windows

boost-optional[core]:x64-windows

boost-optional[core]:x86-windows

boost-pool[core]:x64-windows

boost-pool[core]:x86-windows

boost-predef[core]:x86-windows

boost-predef[core]:x64-windows

boost-preprocessor[core]:x64-windows

boost-preprocessor[core]:x86-windows

boost-range[core]:x64-windows

boost-range[core]:x86-windows

boost-ratio[core]:x86-windows

boost-ratio[core]:x64-windows

boost-rational[core]:x86-windows

boost-rational[core]:x64-windows

boost-regex[core]:x86-windows

boost-regex[core]:x64-windows

boost-smart-ptr[core]:x64-windows

boost-smart-ptr[core]:x86-windows

boost-static-assert[core]:x86-windows

boost-static-assert[core]:x64-windows

boost-system[core]:x64-windows

boost-system[core]:x86-windows

boost-thread[core]:x86-windows

boost-thread[core]:x64-windows

boost-throw-exception[core]:x64-windows

boost-throw-exception[core]:x86-windows

boost-tokenizer[core]:x86-windows

boost-tokenizer[core]:x64-windows

boost-tuple[core]:x64-windows

boost-tuple[core]:x86-windows

boost-type-index[core]:x64-windows

boost-type-index[core]:x86-windows

boost-type-traits[core]:x86-windows

boost-type-traits[core]:x64-windows

boost-typeof[core]:x64-windows

boost-typeof[core]:x86-windows

boost-unordered[core]:x64-windows

boost-unordered[core]:x86-windows

boost-utility[core]:x64-windows

boost-utility[core]:x86-windows

boost-vcpkg-helpers[core]:x86-windows

boost-winapi[core]:x64-windows

boost-winapi[core]:x86-windows

brotli[core]:x86-windows

brotli[core]:x64-windows
cpprestsdk[brotli,compression,core,default-features,websockets]:x86-windows
cpprestsdk[brotli,compression,core,default-features,websockets]:x64-windows

openssl[core]:x86-windows

openssl[core]:x64-windows

openssl-windows[core]:x86-windows

openssl-windows[core]:x64-windows

websocketpp[core]:x86-windows

websocketpp[core]:x64-windows

zlib[core]:x64-windows

zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/129: boost-preprocessor:x64-windows
Building package boost-preprocessor[core]:x64-windows...
-- Downloading https://github.com/boostorg/preprocessor/archive/boost-1.71.0.tar.gz...
-- Downloading https://github.com/boostorg/preprocessor/archive/boost-1.71.0.tar.gz... Failed. Status: 35;"SSL connect error"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:175 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
scripts/cmake/vcpkg_from_github.cmake:108 (vcpkg_download_distfile)
ports/boost-preprocessor/portfile.cmake:5 (vcpkg_from_github)
scripts/ports.cmake:94 (include)
Error: Building package boost-preprocessor:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-preprocessor:x64-windows
Vcpkg version: 2019.09.12-nohash
Additionally, attach any relevant sections from the log files above.
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
I'm using proxy. And I tried to set HTTP_PROXY and HTTPS_PROXY to my proxy server, got same error.
I also tried to install 32 bit cpprestsdk by running vcpkg install cpprestsdk, also got error.

Previously I was using command line. Now I got this issue resolved by using PowerShell, and set proxy by $env:HTTP_PROXY=proxyserver:port, $env:HTTPS_PROXY=proxyserver:port.


New Cart Ajax doesn't update cart fragment in page header

The cart ajax triggers a xhr request that returns a full html page, after which a separate fragment update request should be trigger. This second request is blocked by this plugin.

Fixed in development branch: targeted for v1.0.0


[BUG]Autotrain dgx not working for DPO and ORPO

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Hugging Face Space/Endpoints
Interface Used
UI
CLI Command
No response
UI Screenshots & Parameters

Error Logs
error_dgx.txt
Additional Information
this is my second issue thread about dgx finetuning not working for alignment.
Initially, it was only ORPO, now It is not working either for DPO
Please help, AutoTrain DGX is awesome but not working recently

could you please paste the error

the error logs are attached in a txt file.
however check it here:
INFO     | 2024-11-26 07:10:01 | autotrain.trainers.clm.train_clm_dpo:train:82 - model dtype: torch.float16
INFO     | 2024-11-26 07:10:01 | autotrain.trainers.clm.train_clm_dpo:train:99 - creating trainer
ERROR    | 2024-11-26 07:10:01 | autotrain.trainers.common:wrapper:215 - train has failed due to an exception: Traceback (most recent call last):
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 406, in hf_raise_for_status
    response.raise_for_status()
  File "/app/env/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://huggingface.co/api/repos/create
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/src/autotrain/trainers/common.py", line 212, in wrapper
    return func(*args, **kwargs)
  File "/app/src/autotrain/trainers/clm/__main__.py", line 38, in train
    train_dpo(config)
  File "/app/src/autotrain/trainers/clm/train_clm_dpo.py", line 100, in train
    callbacks = utils.get_callbacks(config)
  File "/app/src/autotrain/trainers/clm/utils.py", line 816, in get_callbacks
    callbacks = [UploadLogs(config=config), LossLoggingCallback(), TrainStartCallback()]
  File "/app/src/autotrain/trainers/common.py", line 314, in __init__
    self.api.create_repo(
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
    return fn(*args, **kwargs)
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 3531, in create_repo
    hf_raise_for_status(r)
  File "/app/env/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status
    raise _format(HfHubHTTPError, str(e), response) from e
huggingface_hub.errors.HfHubHTTPError: 409 Client Error: Conflict for url: https://huggingface.co/api/repos/create (Request ID: Root=1-67457449-19b50db2252aed4622c8b06a;42883cd8-6a5e-414d-b965-e18158e72060)
You already created this model repo
ERROR    | 2024-11-26 07:10:01 | autotrain.trainers.common:wrapper:216 - 409 Client Error: Conflict for url: https://huggingface.co/api/repos/create (Request ID: Root=1-67457449-19b50db2252aed4622c8b06a;42883cd8-6a5e-414d-b965-e18158e72060)
You already created this model repo
[rank3]:[W1126 07:19:58.100088970 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank2]:[W1126 07:20:01.283553003 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank5]:[W1126 07:20:01.486946432 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank7]:[W1126 07:20:01.504053966 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank6]:[W1126 07:20:01.519639703 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank4]:[W1126 07:20:01.524438380 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
[rank1]:[W1126 07:20:01.568074344 socket.cpp:428] [c10d] While waitForInput, poolFD failed with (errno: 0 - Success).
INFO     | 2024-11-26 07:20:24 | autotrain.app.utils:get_running_jobs:40 - Killing PID: 126
INFO     | 2024-11-26 07:20:24 | autotrain.app.utils:kill_process_by_pid:90 - Sent SIGTERM to process with PID 126
INFO     | 2024-11-26 07:20:24 | autotrain.app.training_api:run_main:56 - No running jobs found. Shutting down the server.
INFO     | 2024-11-26 07:20:24 | autotrain.app.training_api:graceful_exit:35 - SIGTERM received. Performing cleanup...
ERROR:    Traceback (most recent call last):
  File "/app/env/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/app/env/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/src/autotrain/app/training_api.py", line 57, in run_main
    kill_process_by_pid(os.getpid())
  File "/app/src/autotrain/app/utils.py", line 89, in kill_process_by_pid
    os.kill(pid, signal.SIGTERM)
  File "/app/src/autotrain/app/training_api.py", line 36, in graceful_exit
    sys.exit(0)
SystemExit: 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/app/env/lib/python3.10/site-packages/starlette/routing.py", line 700, in lifespan
    await receive()
  File "/app/env/lib/python3.10/site-packages/uvicorn/lifespan/on.py", line 137, in receive
    return await self.receive_queue.get()
  File "/app/env/lib/python3.10/asyncio/queues.py", line 159, in get
    await getter
asyncio.exceptions.CancelledError
Task exception was never retrieved
future: <Task finished name='Task-3' coro=<BackgroundRunner.run_main() done, defined at /app/src/autotrain/app/training_api.py:52> exception=SystemExit(0)>
Traceback (most recent call last):
  File "/app/env/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/app/env/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/app/env/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/app/env/lib/python3.10/site-packages/uvicorn/main.py", line 412, in main
    run(
  File "/app/env/lib/python3.10/site-packages/uvicorn/main.py", line 579, in run
    server.run()
  File "/app/env/lib/python3.10/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/app/env/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/app/env/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/app/env/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/src/autotrain/app/training_api.py", line 57, in run_main
    kill_process_by_pid(os.getpid())
  File "/app/src/autotrain/app/utils.py", line 89, in kill_process_by_pid
    os.kill(pid, signal.SIGTERM)
  File "/app/src/autotrain/app/training_api.py", line 36, in graceful_exit
    sys.exit(0)
SystemExit: 0```

the error says you are creating a project with a name that matches a repo in your hf account. please use a unique name :)

yes I know but that is not the case, the repo name was completely new.
The training was doing right but suddenly it breaks, here the commit history

I tested it multiple times, and the same error happened no matter how i named the repo

yes, I know it says that... but it doesnt reflect the reality,
Check the txt file with the complete log history.
it starts with project name dpolong22
it starts training but suddenly it breaks and the error message is that repo already exists. That is the reason why I creating the issue, because I cant understand why it is happening, it doesnt make sense.
1-26 07:08:51 | autotrain.app.training_api:<module>:95 - AUTOTRAIN_USERNAME: growth-cadet
INFO     | 2024-11-26 07:08:54 | autotrain.app.training_api:<module>:96 - PROJECT_NAME: dpolong22
INFO     | 2024-11-26 07:08:54 | autotrain.app.training_api:<module>:97 - TASK_ID: 9
INFO     | 2024-11-26 07:08:54 | autotrain.app.training_api:<module>:98 - DATA_PATH: growth-cadet/jobpost-2-signals_orpo_alignment_completion
INFO     | 2024-11-26 07:08:54 | autotrain.app.training_api:<module>:99 - MODEL: growth-cadet/qwen2-7b-signals-department-TO-JSON07-2
INFO:     Started server process [60]
INFO:     Waiting for application startup.
INFO     | 2024-11-26 07:08:54 | autotrain.commands:launch_command:523 - ['accelerate', 'launch', '--multi_gpu', '--num_machines', '1', '--num_processes', '8', '--mixed_precision', 'bf16', '-m', 'autotrain.trainers.clm', '--training_config', 'dpolong22/training_params.json']
INFO     | 2024-11-26 07:08:54 | autotrain.commands:launch_command:524 - {'model': 'growth-cadet/qwen2-7b-signals-department-TO-JSON07-2', 'project_name': 'dpolong22', 'data_path': 'growth-cadet/jobpost-2-signals_orpo_alignment_completion', 'train_split': 'train', 'valid_split': None, 'add_eos_token': True, 'block_size': 2048, 'model_max_length': 8192, 'padding': 'right', 'trainer': 'dpo', 'use_flash_attention_2': True, 'log': 'tensorboard', 'disable_gradient_checkpointing': False, 'logging_steps': -1, 'eval_strategy': 'epoch', 'save_total_limit': 1, 'auto_find_batch_size': False, 'mixed_precision': 'bf16', 'lr': 3e-05, 'epochs': 10, 'batch_size': 4, 'warmup_ratio': 0.05, 'gradient_accumulation': 2, 'optimizer': 'adamw_bnb_8bit', 'scheduler': 'linear', 'weight_decay': 0.05, 'max_grad_norm': 1.0, 'seed': 42, 'chat_template': "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", 'quantization': 'int4', 'target_modules': 'q_proj, o_proj, k_proj,v_proj', 'merge_adapter': True, 'peft': True, 'lora_r': 8, 'lora_alpha': 32, 'lora_dropout': 0.05, 'model_ref': None, 'dpo_beta': 0.1, 'max_prompt_length': 8192, 'max_completion_length': 4096, 'prompt_text_column': 'prompt', 'text_column': 'chosen', 'rejected_text_column': 'rejected', 'push_to_hub': True, 'username': 'growth-cadet', 'token': '*****', 'unsloth': True, 'distributed_backend': None}
INFO     | 2024-11-26 07:08:54 | autotrain.app.training_api:lifespan:82 - Started training with PID 126
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:7860 (Press CTRL+C to quit)```

I can create a new training with a new name and would happend again.
as I mentioned, I tested it multiple times before creating the issue

ohkay. let me take a look and come back to you.

hi @abhishekkrthakur
any update on this issue? I noticed that there have been a couple of updates on autotrain versions.
But the problem keeps happening.
The finetuning always starts well and after some commits it breaks.
I have tested like 15 or 20 times and only one have completed (it was with 1 epoch)
The error message is the same always (huggingface_hub.errors.HfHubHTTPError: 409 Client Error: Conflict for url: https://huggingface.co/api/repos/create (Request ID: Root=1-6749c7c9-5d23398514fc94d343d3929c;793eafad-5bea-4aaa-b337-3f078eaee34a) You already created this model repo ERROR    | 2024-11-29 13:55:21 | autotrain.trainers.common:wrapper:216 - 409 Client Error: Conflict for url: https://huggingface.co/api/repos/create (Request ID: Root=1-6749c7c9-5d23398514fc94d343d3929c;793eafad-5bea-4aaa-b337-3f078eaee34a) You already created this model repo)
but it doesn't make sense since the autotrain UI creates a brand-new repo.
I think the problem is within the code that is triggering to create the repo again during the middle of the finetuning process.

ive asked nvidia team for the logs. still waiting for their response.

you could also use space hardware instead of dgx cloud to make sure its a dgx cloud issue.


Performance: std::transform vs xsimd::transform

I ran some simple tests using xsimd::transform and std::transform. It seems that xsimd::transform did not "significantly accelerate code execution" as introduced in documentation, even much worse than std::transform on some operations. Because I am not an expert of vectorization nor assembly, did I make something wrong or misunderstand something?
code:
#include  "xsimd/xsimd.hpp"

#include <cstdio>
#include <cstdlib>
#include <cstdint>
#include <cmath>
#include <ctime>

#include <vector>
#include <iostream>
#include <algorithm>

template<typename T>
using xsimd_vector = std::vector<T, xsimd::aligned_allocator<T, XSIMD_DEFAULT_ALIGNMENT>>;

template<typename T, typename OP>
void benchmark(const char* type_name, const char* op_name, OP&& op) {
  constexpr size_t xsimd_size = xsimd::simd_traits<T>::size;
  constexpr size_t len = 64000000;
  xsimd_vector<T> a(len), b(len), c_std(len), c_xsimd(len);
  for (size_t i = 0; i < len; ++i) {
    a[i] = rand() + 1;
    b[i] = rand() + 1;
  }
  auto start = clock();
  std::transform(a.begin(), a.end(), b.begin(), c_std.begin(), op);
  auto std_cost = clock() - start;
  xsimd::transform(a.begin(), a.end(), b.begin(), c_xsimd.begin(), op);
  auto xsimd_cost = clock() - start - std_cost;
  printf("%s\t%s\t%zu\t%zu\t%.6fsec\t%.6fsec\t%.3fx\n",
      op_name, type_name, xsimd_size, len,
      1.0 * std_cost / CLOCKS_PER_SEC,
      1.0 * xsimd_cost / CLOCKS_PER_SEC,
      1.0 * xsimd_cost / std_cost);

  // check the result and make sure that the calculation is not optimized out.
  constexpr double eps = 1e-6;
  for (size_t i = 0; i < a.size(); ++i) {
    auto diff = fabs(c_std[i] - c_xsimd[i]);
    if (diff < eps || diff / std::max(c_std[i], c_xsimd[i]) < eps) continue;
    std::cout << "error: " << a[i] << " " << b[i] << " "
      << c_std[i] << " " << c_xsimd[i] << " "
      << (fabs(c_std[i] - c_xsimd[i])) << std::endl;
    exit(1);
  }
}

#define BENCHMARK(TYPE, OP) benchmark<TYPE>(#TYPE, #OP, [](const auto& a, const auto& b) { return (OP); })

int main() {
  printf("op\ttype\tsimd_size\tarray_len\tstd_cost\txsimd_cost\trate\n");
  BENCHMARK(uint32_t, (a + b) / 2);
  BENCHMARK(uint64_t, (a + b) / 2);
  BENCHMARK(float, (a + b) / 2);
  BENCHMARK(double, (a + b) / 2);
  BENCHMARK(float, sqrt(a * a + b * b));
  BENCHMARK(double, sqrt(a * a + b * b));
  BENCHMARK(float, sin(a) + cos(b));
  BENCHMARK(double, sin(a) + cos(b));
  return 0;
}

compiled with g++ 7.5.0, run on WSL's Ubuntu18.08 TLS, Windows10, Intel i7-6700K, 16GB Memory:
g++ main.cpp -o main -std=c++17 -Wall -Wextra -Werror -O3 -march=native -mavx2 -ffast-math -Ixsimd/include
./main | column -t -s '	'

result:
op                   type      simd_size  array_len  std_cost     xsimd_cost    rate
(a + b) / 2          uint32_t  8          64000000   0.031250sec  0.109375sec   3.500x
(a + b) / 2          uint64_t  4          64000000   0.078125sec  0.359375sec   4.600x
(a + b) / 2          float     8          64000000   0.046875sec  0.031250sec   0.667x
(a + b) / 2          double    4          64000000   0.078125sec  0.078125sec   1.000x
sqrt(a * a + b * b)  float     8          64000000   0.062500sec  0.031250sec   0.500x
sqrt(a * a + b * b)  double    4          64000000   0.078125sec  0.078125sec   1.000x
sin(a) + cos(b)      float     8          64000000   3.968750sec  12.703125sec  3.201x
sin(a) + cos(b)      double    4          64000000   3.921875sec  11.906250sec  3.036x

For possible future readers:
After further searching, I found that common compilers(eg. gcc, clang, msvc) can do auto-vectorization for a known architecture(eg. clang/gcc with -march=). Higher optimization level(eg. -O2) may be required and some math-strategy(eg. -ffast-math, -fno-math-errno) may be used for better performance. More information can be obtained from compiler's documentation or just googling <your compiler> auto vectorization.
Writing hand-optimized code can get the best performance for experienced programmers. However, relying on auto-vectorization can result in significant portability and engineering complexity costs.


Add Traffic Monitor Loadavg Health Param time (1min,5min,15min)

Currently, the param for loadavg is health.threshold.loadavg, hard-coded to be 1 minute.
We should change this to health.threshold.loadavg.1min, .5min, .15min, to allow configuring the loadavg threshold.
Correspondingly, thresholds are set by CacheStats. We should also change CacheStats (code: Result.Vitals.LoadAvg) to include 1min,5min,15min.
For backwards compatibility, CacheStats and parameters should still include loadavg which uses 1min.

Code is currently in health/cache.go GetVitals https://github.com/apache/incubator-trafficcontrol/blob/0bef412fac339ccca672e525486bf3cc5b1dd2b6/traffic_monitor/health/cache.go#L47


Disable topology event logger in test mode

We're enabling topology event logger by default, because it is required for runtime event sampling.
Given that we're logging all the events manually in test mode, event logger is not needed at all.
We could just disable topology event logger in test mode to avoid any unnecessary related issue.

#1116


double underscore and double hyphen in image names

I'm not sure if this is a bug or a deliberate decision, as I can't find any documentation on the change to the name regex (other than the generic v2 api docs), but somewhere ~1.7/8 double hyphens and double underscores are no longer allowed in image names.
The commit with the regex is here: https://github.com/docker/docker/commit/f011d722ce2ec7ef00654130f7f4ff8d295f025f#diff-0e119052c1201c5ded2882bad626640cR30
The fix would be something like:
var RepositoryNameComponentRegexp = regexp.MustCompile(`[a-z0-9]+(?:[._-a-z0-9]+)*`)

The reason we use double underscore and hyphen is an internal naming convention to make our image names easily scannable visually, and easily parsable with regex, whilst allowing a single hyphen in the sub parts: e.g. business-area__project-name--app-name, this is the same convention we use with our jenkins jobs and also relates back to our stash repos.
If there is a better way to do this now/this was introduced deliberately I'm happy to go away and look in to other solutions, or if this was an accident I'm happy to submit a PR to update the regex!
Thanks

docker version:

Docker version 1.8.1, build d12ea79

docker info:

Containers: 0
Images: 33
Storage Driver: devicemapper
 Pool Name: docker-253:2-528198-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 1.491 GB
 Data Space Total: 107.4 GB
 Data Space Available: 39.2 GB
 Metadata Space Used: 2.621 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.145 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93 (2015-01-30)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.6-200.fc22.x86_64
Operating System: Fedora 22 (Twenty Two)
CPUs: 4
Total Memory: 15.55 GiB
Name: hq-lap-2946
ID: YP2I:32WY:4PUE:XPO2:IYJU:NMG4:4QLM:TASV:CJ6R:GHOF:RNYD:JPCM

uname -a:

Linux hq-lap-2946 4.1.6-200.fc22.x86_64 #1 SMP Mon Aug 17 19:54:31 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:

Any valid dockerfile
docker build -t test__one--two .

Describe the results you received:
repository name component must match "[a-z0-9]+(?:[._-][a-z0-9]+)*"
Describe the results you expected:
image built and tagged
Provide additional info you think is important:
as above

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I have this problem too :(

I think this was kinda deliberated to avoid things like this-----------is--------my-------docker-------image. But I agree with you that it's not very ideal.
This code comes from https://github.comdocker/distribution. Please, feel free to open an issue there, or better if it's a pull request with the suggested change. Any changes will be vendor back in docker.

Defining a strict regex to define a name component is deliberate. We recognized it is next to impossible to go from a very loosely defined format to something that is strongly defined without breaking any image names. The strict definition follows the idea that names are collection of components with separators. Just as a repository name is separated by '/', individual parts of a name (a-z0-9) can be separated by (._-) to create meaningful and parse-able names. Using that idea business-area__project-name--app-name would become something like business-area_project-name.app-name.
If you feel this is still breaking a use case then feel free to open an issue in distribution to discuss further.

We have hundreds of images with double underscores in their names, it would be a challenge to rename them.
Anyway before opening an issue, I have to think about possible solutions.
Thanks for the answer.

@noxiouz @adambrett Allowing less restricted image names is more of a security issue than anything else. Our initial goal in unifying these was to ensure that these worked across a wide variety of systems without much effort (DNS, filesystems, databases, etc.). The other goal is to reduce the likelihood of fracturing registry support. By having the same naming conventions across all registries and docker daemons, we ensure that images can be transitioned between systems (obviously, your use case has run afoul of this goal, but this is more about the future).
I know this is quite the request, but if you could help us to vet this change from that angle, it would go along way in allowing this.

@adambrett Any reason for the close? I think we are still open to this.

Yep, this isn't the place for it, the new work in https://github.com/docker/distribution/pull/963 will supersede it and I need to spend some time looking at how those changes work, and how this change will affect it.

@adambrett https://github.com/docker/distribution/pull/963 only provides a type that has full compatibility. It will merge the work we've done identifying these discrepancies. We won't be making changes to the accepted name set.

@stevvooe what I meant was: Any changes I make to the existing name set will either need to be after the changes in https://github.com/docker/distribution/pull/963 are integrated or be made first and then rebased in to https://github.com/docker/distribution/pull/963.
When I was looking at the original change to the regex before I was aware of https://github.com/docker/distribution/pull/963 I saw that the tests were failing because the same regex was being used to validate all parts of the "Name" by splitting on "/". I considered adding a new regex(s) to validate the different parts by different rules, or creating one single (much larger) regex to validate it all in one go, which would stop invalid hostnames (e.g. zx--y.com), but allow images named zx--y.
On my brief look over https://github.com/docker/distribution/pull/963 it seems that has already been done, so actually integrating the image name changes would be easier and more reliable/safer if I build on the work done there, but I need to spend some time reading and understanding the changes there to know what impact it will have.
Either way, the issue is in https://github.com/docker/distribution and not https://github.com/docker/docker, so any new issues/PRs I create will be there!

@adambrett feel free to comment #963 with any tests you feel should be included. Not the zx--y.com support does not extend to the full image name, just the hostname.


deregister BESM-2-9 source_id entry

From: "Durack, Paul J."
Date: Tuesday, June 21, 2022 at 10:44 AM
To: "andre.lanfer@inpe", "nobrepaulo@gmail", "paulo.nobre@inpe"
Subject: Re: CMIP6 data licensing update
Hello again gents, just looping around. I assume you are both busy with post-CMIP6 projects.
We have managed to work through several the loose ends and have now deregistered 7 of the 11 remaining unpublished models.
To finish up this cleanup, I plan to deregister BESM-2-9 next week (Thursday 30th June 2022) unless I hear back from you.
Cheers,
P
From: "Durack, Paul J."
Date: Wednesday, June 15, 2022 at 7:33 PM
To: "andre.lanfer@inpe", "nobrepaulo@gmail", "paulo.nobre@inpe"
Subject: Re: CMIP6 data licensing update
Hi gents, I hope all is well in Brazil and you are negotiating your new normal well.
Just circling around on the query below. The BESM-2-9 model is one of the registered entries with no currently published data (e.g. https://esgf-node.llnl.gov/search/cmip6/?source_id=BESM-2-9). Additionally, this was omitted in the AR6 Annex II (https://www.ipcc.ch/report/ar6/wg1/downloads/report/IPCC_AR6_WGI_AnnexII.pdf#Page=15), and so for both these reasons will not be included in the IPCC DDC AR6 data archive.
We are curious about the status of your contribution, and whether we should deregister the entry if no data is planned for publication.
Cheers,
P
@matthew-mizielinski @MartinaST ping

ping @andrelanfer @@besm-inpe

@andrelanfer, @besm-inpe those changes are now in place, with both CMIP6_institution_id.html and CMIP6_source_id.html updated


Replace unused out arguments with discards

Description: C# 7.0 added support for discards, such that if an out variable is not used after the call to a method that sets it, it can be replaced with _ to discard to value. There are around 90 instances of this in the codebase, and they are very easy to remove. As far as I can tell this makes no semantic difference to the code, but does clean up the code a bit and bring it up to a more modern standard.
The only real argument I could see against making this quick cleanup change is that it reduces the understanding of what the code aims to do. I feel this change is fairly neutral, but please feel free to disagree as necessary.
Testing: Projects still build so it should be good 👍

@roji @cheenamalhotra I did a sweep of all the typed discards and removed all the ones I could. This likely touched some files that were untouched before this, but it's verified at compilation. There was one locations that couldn't be changed and that was due to it being ambiguous call if the type was omitted.


Missing reaction / KeyError rebuild_rxn method

Package version: 2.1.2 (pyhd8ed1ab_0)
Executing...
rebuild_rxn(
    rxn_rule_id="RR-02-2b23b4fdef31df55-12-F",
    transfo="CMPD_0000000005=CMPD_0000000028+CMPD_0000000022",
    # tmpl_rxn_id="MNXR101763"
)

... returns
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/var/folders/_4/1rd7r9d57nl35yy6w9cc_kb40000gn/T/ipykernel_65799/3226665774.py in <module>
      1 from rxn_rebuild import rebuild_rxn
      2
----> 3 rebuild_rxn(
      4     rxn_rule_id="RR-02-2b23b4fdef31df55-12-F",
      5     transfo="CMPD_0000000005=CMPD_0000000028+CMPD_0000000022",

~/anaconda3/envs/rp2biosensor-dev/lib/python3.9/site-packages/rxn_rebuild/rxn_rebuild.py in rebuild_rxn(rxn_rule_id, transfo, direction, tmpl_rxn_id, cache, logger)
     58                 direction=direction,
     59                 rxn_rule=rxn_rule,
---> 60                 tmpl_rxn=cache.get('template_reactions')[tpl_rxn_id],
     61                 tmpl_rxn_id=tpl_rxn_id,
     62                 compounds=cache.get('cid_strc'),

KeyError: 'MNXR101763'

Issue reproduced, after a couple of tests I think this is not a bug and the behavior is probably due to the fact that MNXR101763 did not exist in the METANETX database version 3.2 (the version we use for rr_cache on which rxn_rebuild relies on).

re-opened

fixed in 3.0.3


Inconsistent fallback time formats

The fallback for 'short' uses 24 hour format, the rest use 12 hour format.
https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseFormatConverter.php#L31

Also, 'long' and 'full' have no space before AM/PM, medium has. The ICU default for en-US has a space before AM/PM in all three.

not sure where I got these from but I think it was part of an ICU version that I had installed when I implemented this. A change will break BC so I set the milestone to be 2.1.
Created a test case for this, need to match that against multiple ICU versions later.


About me - name fix

Update repo
Fix name
Experiment with social media icons

Merge - About me - name fix


Split terminal when using a compound debug configuration

When using a compound debug configuration, each task gets its own terminal. I can split these terminals manually, but I don't think there is a way to get these terminals side-by-side. And I don't think this is doable with an extension either. There is a split terminal API proposal in #45407 but applying that to both of the task terminals would just give me two extra empty terminals. I am looking for a way to get the two task terminals side-by-side in one integrated terminal pane so there is no need to switch between them. The way I'd like to see this done is an extra field in the debugger configuration which says whether the terminals should start standalone or split. I am not sure how this would deal with 3+ configurations, but that seems to be niche enough to not have to worry about it until an issue is raised.

@vscodebot you try but as usual you don't help.

#62815 deal with two different panes, output and integrated terminal, I care about two terminals within the single integrated terminal pane
#67704 is a completely unrelated integrated terminal error
#45444 is interesting, nice tip, but still completely unrelated
#45422 is kind of related as it also deals with splitting terminals by default, but in a different context (window open versus compound debugging started)
#47265 is actually close, I am impressed - this seems to have been implemented, so maybe if the individual tasks of the compound configuration both defined a task group, they will open in a splt terminal? Who knows, I'll try that and see.

Okay so @vscodebot mentioned #47265 which according to my reading of it should make it so that setting a group field on both tasks, in this case prelaunch tasks, should make them open split side by side.
This has not been something that I was able to demonstrate, and also this field seems to not be free form, but a closed set of values instead.
My repro here: https://github.com/TomasHubelbauer/vscode-compound-debug-split-terminal

Actually I think I might have duplicated #68123 which I did not find when searching. @markfinlabs do you feel like your issues covers this use case as well? If yes, I'll be happy to close mine.

Yes I believe so. My use case is multiple (in my case more than 2) launch configs in integrated terminals and I am keen to see them side-by-side in a split terminal following starting a compound launch configuration. Which I believe covers your use case as well.


Use of GPU

SPFEAS install I have doesn't seem to be making full use of the GPU hardware. Is this a capability we can add to ingest a larger amount of imagery?

SpFeas currently doesn't use the GPU at all.
There are some GPU Python interfaces for read/write and other basic array operations. However, getting things like HoG and PanTex to run on a GPU would be more complicated.
Probably worth looking into, though...


Prevent accidental shutdown via Run

Description of the new feature / enhancement
The amount of times I typed something in and just pressed enter and the first result was either shutdown or restart makes me wanna explode.
Add something like having to double click or hold down enter to execute the action.
ofc toggleable in the settings.
Scenario when this would be used?
When you don't want to shutdown your PC.
For example I wanted to open Arc Browser, I type in Ar, press enter too early and it just happens that "Restart" was before that.

Supporting information
I know that I could just disabled shutting down in the settings but I like those options, but I trigger them too much on accident xD.

Hi, does the option highlighted below helps?

I think this should be on by default.
/needinfo

Was using an older version, but this wasnt on by default


Spectator cursor goes wild in Autopilot

I went into spectator mode to see how they were doing,
The autopilot player's cursor went insane, then stabilized randomly, then I reloaded spectator and it resumed glitching,
https://user-images.githubusercontent.com/40531871/132273306-241b1142-bcbc-4b75-8405-be0c43a96338.mp4
Lazer v2021.828.0

Not only this is in the wrong repo (should be in ppy/osu), this is also a duplicate of https://github.com/ppy/osu/issues/14420.


chore: release main

:robot: I have created a release beep boop
nest-utils: 1.1.3
1.1.3 (2024-10-08)
Bug Fixes

auth: Improve AuthGuard's verbose logging (c7f6985)
auth: Update user role detection to support the common 'groups' claim (def2ada)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

nest-utils-v1.1.3
:sunflower:


Roll Flutter Engine from dc14649e1a51 to ce987d4cb138 (2 revisions)

https://github.com/flutter/engine/compare/dc14649e1a51...ce987d4cb138
2022-08-24<EMAIL_ADDRESS>Roll Dart SDK from 859e9bbe6f0a to 691aa6246705 (1 revision) (flutter/engine#35672)
2022-08-24<EMAIL_ADDRESS>Zip FlutterMacOS.framework. (flutter/engine#35623)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Allow configuration of libs and include with config.exs

This allows a library author that uses Zigler the flexability of not hard-coding external libraries into their library. Thsi way users of the published elixir library can configure via config.exs to point to their locally installed .so files and include directories.

@ityonemo what do you think of this - I'd love to get it merged into main if you approve!

I don't think in general the include libs is useful.  You probably shouldn't generally expect to be including multiple so libraries into multiple modules.  Also I generally have some trepidation about .so since there's likely to be strange platform dependencies on that, so in the long run I would like to figure out how to generalize that (e.g. if you are cross compiling and you need a different architecture for the .so file).  The include directories is probably fine, though I would still encourage doing it at the point of use Zig.  If you remove the libs parts and add documentation on the global include stuff I will accept the PR.


Add lock pool metrics

Add Inode lockPool size and edge lockPool size metrics, so that we can monitor the lock pool size.

Can one of the admins verify this patch?

Hi @gpang , this is a minor improvement, but add an important metrics to us, would you please take a look at this? Thank you.


[now-cli] Do not handle cert errors for deployments

Domain related things for deployments will now happen async.

Codecov Report

Merging #3409 into master will increase coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3409      +/-   ##
==========================================
+ Coverage   11.67%   11.82%   +0.14%
==========================================
  Files         267      267
  Lines       10172    10172
  Branches     1356     1348       -8
==========================================
+ Hits         1188     1203      +15
+ Misses       8887     8874      -13
+ Partials       97       95       -2

Impacted Files
Coverage Δ

src/util/get-dist-tag.ts
77.77% <0%> (ø)
:arrow_up:

src/commands/deploy/latest.js
0% <0%> (ø)
:arrow_up:

src/commands/deploy/legacy.ts
0% <0%> (ø)
:arrow_up:

src/util/dev/server.ts
58.84% <0%> (+0.59%)
:arrow_up:

src/util/dev/builder-cache.ts
81.94% <0%> (+2.77%)
:arrow_up:

src/util/dev/router.ts
73.68% <0%> (+4.29%)
:arrow_up:

Continue to review full report at Codecov.

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


Does the new speech-to-text api offer support?

Describe the feature or improvement you're requesting
https://platform.openai.com/docs/guides/text-to-speech
Additional context
No response

in OpenAi.php add
`
/**
 * @param $opts
 * @return bool|string
 * @deprecated
 */
public function speech($opts)
{
    $url = Url::speechUrl();
    $this->baseUrl($url);

    return $this->sendRequest($url, 'POST', $opts);
}

`
in Url.php add
`
/**
 * @param
 * @return string
 */
public static function speechUrl(): string
{
    return self::OPEN_AI_URL . "/audio/speech";
}

`


Unexpected hint behavior with $form->inlineLabel(true)

Package
filament/forms
Package Version
v3.2.128
Laravel Version
v11.33.2
Livewire Version
v3.5.12
PHP Version
PHP 8.3.6
Problem description
I assume the hint should be displayed below the label, not to the right of it.
Current display appearance

Expected behavior

Steps to reproduce

Populate the database: php artisan migrate:fresh --seed
Log in at /admin. Login<EMAIL_ADDRESS>Password: testuser
Navigate to the "Test" page

app/Filament/Pages/Test.php:
public function form(Form $form): Form
{
    return $form
        ->inlineLabel()
        ->columns(1)
        ->schema([
            Section::make()
                ->schema([
                    Fieldset::make()
                        ->columns(1)
                        ->schema([
                            TextInput::make('main_phone_number')
                                ->label('Основной номер телефона')
                                ->mask('+7 999 999 99 99')
                                ->required(),

                            Textarea::make('descriptor')
                                ->autosize()
                                ->label('Дескриптор')
                                ->hint('Отображается в шапке сайта, возле логотипа')
                        ]),
                ]),

        ]);
}

Reproduction repository (issue will be closed if this is not valid)
https://github.com/tlegenbayangali/filament-form-inlinelabel-issue
Relevant log output
No response

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

The hint is always aside from the label and not below, so this is not going to change in v3.
In v4 we have added more slots to add content below the label etc.


Update mill-mima to 0.0.19

About this PR
📦 Updates com.github.lolgab:mill-mima from 0.0.13 to 0.0.19
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.lolgab", artifactId = "mill-mima" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.lolgab", artifactId = "mill-mima" }
}]

labels: library-update, early-semver-major, semver-spec-patch, commit-count:1

Superseded by #98.


Refactor report feature tests

Refactor allocation_spec.rb, csv_export_spec.rb and progress_spec.rb to use the page object model and a declarative style.
Add data-test attributes to allow for easy identification of elements in tests
Add page objects using the site-prism gem for AuditContentPage and AuditReportPage

 (3) Use declarative style for feature tests related to Reporting


Database.createIndex does not work for "text" index type

The createIndex method allows specifying a type, but it doesn't seem like it supports "text" type.
productDb.createIndex(
"testing",
"testing",
"text",
new IndexField[] { new IndexField("name", IndexField.SortOrder.asc) });
I get the following when I use the code above -
Exception in thread "main" com.cloudant.client.org.lightcouch.CouchDbException: 400 Bad Request at https://stephenrobertson.cloudant.com:443/productdata_dev/_index. Error: invalid_index_fields_definition. Reason: Text Index field definitions must be of the form
{"name": "non-empty fieldname", "type":
"boolean,number, or string"}. Def: [{[{<<"name">>,
<<"asc">>}]}].
at com.cloudant.client.org.lightcouch.CouchDbClient.execute(CouchDbClient.java:528)
at com.cloudant.client.org.lightcouch.CouchDbClient.executeToInputStream(CouchDbClient.java:579)
at com.cloudant.client.api.Database.createIndex(Database.java:305)
at com.cloudant.client.api.Database.createIndex(Database.java:288)
Using CloudantClient 2.8.0

Thanks for raising this. Unfortunately we don't support the use of text indexes in Cloudant Query. We're using #166 to track this feature enhancement. Apologies for the inconvenience caused.

@stephenir Until the resolution of #166 you should be able to create the index with the other createIndex(String indexDefinition) method by providing the JSON string of the index definition. Following your example above for a text index named testing in a design document called testing that is indexing the name field of your documents the call would look like:
productDb.createIndex("{\"name\":\"testing\",\"ddoc\":\"testing\",\"type\":\"text\", \"index\":{\"fields\": [{\"name\":\"name\", \"type\":\"string\"}]}}");


Flay reports

Captures flay output using a StringIO object instead of reporting directly to $stdout
Splits out flay results in to Flay::Result and Flay::Result::Unit

I whipped this together a while ago after extracting the flay task.  I need to review the work myself again.

I'm not quite sure why the CI seems to hang on one mutation. Doesn't happen locally :/


Empty paths vs null

vuex-persistedstate version: 2.7.0
node version: 12.11.1
npm (or yarn) version: npm 6.13.3

Relevant code or config
createPersistedState({
  paths: [
    // 'editor'
  ]
})(store)

What you did:
I had the editor Vuex module stored in localstorage. Since I temporarily disabled the module I commented it out in the persisted state config.
What happened:
I expected the library to not persist anything, but instead it persisted everything.
Reproduction sandbox:

This isn't really a bug. I'll leave this one out.

Problem description:
It makes it a bit confusing in a case like mine, especially if you haven't had a look at the documentation in a while. It took me a while to realize that it might be the store that was persisted.
Suggested solution:
The library should only persist the whole store if paths == null. The default should therefore also be null.

I'd be happy to raise a pull request if this is a feature that'd be appreciated.

I agree with you that the paths option can be improved by allowing null. Could you create a PR for that?

Solved by a34163fd75e48c08efe804e66896c8d59ffa2138


month-overlay-value not work with month-picker

Describe the bug
Using month-overlay-value with month-picker mode, it's not working as expected.
To Reproduce
https://stackblitz.com/edit/vuepic-vue-datepicker-gkejiv?file=src%2Fcomponents%2FPlayground.vue
Expected behavior
custom value for every month

While this behaviour would be very good, this is not a bug because the month-overlay-value is a slot available only in the date-picker mode.
I will look if it is possible to add some slots for the month-picker mode

yes, thank you!

PR #823 adds the slot needed for the month-picker mode.