Fix coordinator->overlord proxy auth failure

Fixes #5038
This sets "authorization checked=true"  on the original client request for coordinator->overlord proxied requests.

just want to confirm: will overlord receive credentials of original client that sent the request to coordinator or that of coordinator's http client (e.g. the credentials used by coordinator to talk to overlord in general ) ?

@himanshug It gets the credentials sent by the original client

:+1:

Travis IT is failing

@drcrallen IT passed, previous run failed because of the travis job time limit

Hmmm, https://github.com/druid-io/druid/pull/5029 is having timeout problems on the integration Tests also.

@jon-wei can you do the backport please?

@drcrallen made the backport: https://github.com/druid-io/druid/pull/5042


Trying to speed up the detection

I tried to speed up the serving program and found three solutions :
-1 Replace dlib.get_frontal_face_detector with Face Detection from Yeephycho's SSD Mobilenet (https://github.com/yeephycho/tensorflow-face-detection)
-2 Using tensorflow.keras rather than Keras for age and gender classification.
-3 Using imutils.video.WebcamVideoStream in order to have a Thread dedicated to VideoCapture (https://www.pyimagesearch.com/2015/12/21/increasing-webcam-fps-with-python-and-opencv/).
I didn't benchmark my updates but (1) allows me to jump from 5fps to 25fps (with a 1080Ti), (2) jump from 260ms by age/gender classification to 220ms (PC with no GPU) and (3) ... I don't know but it looks better !
If someone is interested, I can share my updates.

Sorry for the late response. I will test the memory impact as soon as I can !

Regarding  jump from 5fps to 25fps (with a 1080Ti).
https://github.com/yeephycho/tensorflow-face-detection works on GPU but dlib.get_frontal_face_detector works only on CPU. So you transferred some load from CPU to GPU and improve the performance.
If you use GPU i suggest to use dlib CNN model cnn_face_detection_model_v1.


[Audius] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Add an extractor for Audius, a music streaming and sharing platform (like SoundCloud). Also this was requested in #24216

Read coding conventions.

I fixed all the code style issues I could see.
But i need help. Since first commit Audius changed a little bit. Audius is decentralized platform and they has multiple API hosts the list of which can be obtained using a special REST endpoint. Point is that before this list looked something like this:
https://discoveryprovider1.audius.co
https://discoveryprovider2.audius.co
...

But now it's looks something like this:
https://audius-metadata-2.figment.io
https://discoveryprovider.audius2.prod-us-west-2.staked.cloud
https://audius-dp.johannesburg.creatorseed.com
https://discovery-au-01.audius.openplayer.org
https://dn-jpn.audius.metadata.fyi
https://audius-disco.ams-x01.nl.supercache.org
https://audius-discovery.nz.modulational.com
...

The problem is that I have no idea how handle all of this different hosts with regexp. For now, as a temporary solution, i used .+/v1/tracks regexp, but then this extractor will triggered to links like https://super-random-host.com/v1/tracks/trackID. For now such links do not overlap with other extractors, but who knows what will happen next.

I fixed all the code style issues I could see.
But i need help. Since first commit Audius changed a little bit. Audius is decentralized platform and they has multiple API hosts the list of which can be obtained using a special REST endpoint. Point is that before this list looked something like this:
https://discoveryprovider1.audius.co
https://discoveryprovider2.audius.co
...

But now it's looks something like this:
https://audius-metadata-2.figment.io
https://discoveryprovider.audius2.prod-us-west-2.staked.cloud
https://audius-dp.johannesburg.creatorseed.com
https://discovery-au-01.audius.openplayer.org
https://dn-jpn.audius.metadata.fyi
https://audius-disco.ams-x01.nl.supercache.org
https://audius-discovery.nz.modulational.com
...

The problem is that I have no idea how handle all of this different hosts with regexp. For now, as a temporary solution, i used .+/v1/tracks regexp, but then this extractor will triggered to links like https://super-random-host.com/v1/tracks/trackID. For now such links do not overlap with other extractors, but who knows what will happen next.


Fix linting errors for golangci-lint v1.62

Summary
Fixes the linting issues raised by v1.62
Change Type
Mark the type of change your PR introduces:

[x] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 54.754% (+0.007%) from 54.747%
when pulling 0deca938c290eff87d59e902fe1006947f1ce60d on fix-lint
into fee774bfa0a231521965c40dbd0dd571598a5d69 on main.


Add Dev.to

Some time ago dev.to implemented a callback URL to create posts, see this blog post for more information.
As dev.to is growing, I think we should add a"Share to DEV" button.
I'd like to do this task, so please assign me to this issue 🙂

I tried to add their logo, but I think it's to large (it's the word DEV).

What do you think, should I still add it?


Add identitywallet function for getting tx status

requires: https://github.com/trustlines-protocol/relay/pull/426

This should be mergeable but it requires new version of the relay so I'll wait for it

Codecov Report

Merging #312 into master will increase coverage by 0.11%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #312      +/-   ##
==========================================
+ Coverage   63.05%   63.16%   +0.11%
==========================================
  Files          20       20
  Lines        1226     1238      +12
  Branches      230      232       +2
==========================================
+ Hits          773      782       +9
- Misses        391      394       +3
  Partials       62       62

Flag
Coverage Δ

#integration
34.16% <47.61%> (+0.31%)
:arrow_up:

#unit
63.16% <57.14%> (+0.11%)
:arrow_up:

Impacted Files
Coverage Δ

src/typings.ts
100% <100%> (ø)
:arrow_up:

src/wallets/IdentityWallet.ts
62.31% <42.85%> (-0.09%)
:arrow_down:

src/providers/RelayProvider.ts
61.76% <50%> (-0.74%)
:arrow_down:

Continue to review full report at Codecov.

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

Merged as part of other PR


Updates Tests

Updates tests so that they can be properly run for the new language structure. Also attempted to hook up code coverage in the CI but found current libraries to be outdated or ineffective at doing so.

Additionally, the idea here is that whatever comes into the master next can incorporate the new testing approach. I can handle merging that in personally.


the playground browser tab freezes when left open for a while

Description
I see this happens more often recently. where I minimize the browser for while or leave the laptop idle then when I come back all tabs functioning properly except the play.dev.grid.tf tab it freezes and even if I click refresh it won't reload instead I have to close the tab and reopen the site in a different tab. again this happens only to the play.dev.grid.tf tab. all other tabs in the same browser window have no issues.

Seems to be resolved now. Anyone still experiencing this issue? @waleedhammam @sameh-farouk

weblets are removed from the sdk and this issue became irrelevant.


train model acc and test acc gap is very large

epoch: 0, train_loss: 6.847220252882614, acc: 0.28600405679513186
epoch: 0, test_loss: 1.719438068297228, test_acc: 0.059837728194726165
epoch: 10, train_loss: 1.8927386342755212, acc: 0.2748478701825558
epoch: 10, test_loss: 0.5072576126106355, test_acc: 0.06490872210953347
epoch: 20, train_loss: 1.1933289462255563, acc: 0.4077079107505071
epoch: 20, test_loss: 0.30588787504535936, test_acc: 0.0922920892494929
epoch: 30, train_loss: 0.9264058188388222, acc: 0.7261663286004056
epoch: 30, test_loss: 0.2350183322362089, test_acc: 0.1724137931034483
epoch: 40, train_loss: 0.6766643664132246, acc: 0.7870182555780934
epoch: 40, test_loss: 0.16959500415363776, test_acc: 0.1876267748478702
epoch: 50, train_loss: 0.4851083510709919, acc: 0.8681541582150102
epoch: 50, test_loss: 0.11013727963181884, test_acc: 0.20588235294117646
epoch: 60, train_loss: 0.4282051429778398, acc: 0.8945233265720081
epoch: 60, test_loss: 0.08342219629232595, test_acc: 0.22210953346855983
epoch: 70, train_loss: 0.4014547500337063, acc: 0.920892494929006
epoch: 70, test_loss: 0.07419358513954634, test_acc: 0.22718052738336714

`    model = nf_resnet50()
optimizer = SGD_AGC(model.parameters(), 1e-3)
# model.compile(loss='categorical_crossentropy', optimizer=optimizer, metrics=["accuracy"])
train_transform = transforms.Compose([
    transforms.ToPILImage(),  # 将图像转换格式，数据转换为tensfroms格式。只有转换为tensfroms格式才能进行后面的处理。
    transforms.Resize(256),
    # transforms.RandomResizedCrop(224,scale=(0.5,1.0)),
    transforms.RandomHorizontalFlip(),
    transforms.ToTensor()])
val_transform = transforms.Compose([
    transforms.ToPILImage(),  # 将图像转换格式，数据转换为tensfroms格式。只有转换为tensfroms格式才能进行后面的处理。
    transforms.Resize(256),
    transforms.ToTensor()])

dataset = generate_dataset(batch_size, data_path, img_size=256,transform=train_transform)
dataset_val = generate_dataset(batch_size, data_path, img_size=256, training=False, transform=val_transform)

model.to(device)
for epoch in range(nb_epoch):
    model.train()
    for step, inputs in enumerate(dataset):
        imgs_tensor, label_tensor = inputs
        imgs_tensor = imgs_tensor.to(device)
        label_tensor = label_tensor.to(device)
        output = model(imgs_tensor)
        optimizer.zero_grad()
        loss = F.cross_entropy(output, label_tensor)  # 函数自带softmax，模型最后一层不需要加softmax层
        loss.backward()
        optimizer.step()`

This is loss and acc log and train code segment, as you can see, we can easily found train and test acc is inconformity. Is this case is normal? if not, what I can do to deal with this condition?
By the way, I found compare with other model, nf_resnet model convergence is  slower than others, such as resnext and densenet. Do you have found this condition?

Unfortunately, I don't have enough compute on me to run such experiments, so I don't really have a deep understanding on improving its performance and can vary from dataset to dataset.


oauth mailCore support

Does mailcore support oauth for gmail?

It needs to be merged into master, but you can find a branch with OAuth support: https://github.com/MailCore/MailCore/commits/oauth https://github.com/MailCore/MailCore/commits/oauth

On May 20, 2015, at 3:34 AM, dwijsoft-dipen<EMAIL_ADDRESS>wrote:
Does mailcore support oauth for gmail?
—
Reply to this email directly or view it on GitHub https://github.com/MailCore/MailCore/issues/145.

I am able to connect to SMTP connection. There is oauth2 option under CTSMTPAuthType but i still not getting how to retrieve emails. I am using success = [ctAccount connectToServer:@"server"
port:imapPort
connectionType:connectionType
authType:CTImapAuthTypePlain
login:imapUsername
password:imapPassword];
So to using oauth i think i don't need above function.

I have tried to connect using oauth as you can see from below.
mImap = mailimap_new(0, NULL);
if (mImap->imap_connection_info != NULL) {
if (mImap->imap_connection_info->imap_capability != NULL) {
mailimap_capability_data_free(mImap->imap_connection_info->imap_capability);
mImap->imap_connection_info->imap_capability = NULL;
}
}
//    mailimap_set_timeout(mImap, timeout());
//    mailimap_set_progress_callback(mImap, body_progress, IMAPSession::items_progress, this);
//    mailimap_set_logger(mImap, logger, this);
const char* auth_type_to_pass = NULL;
if(authType == IMAP_AUTH_TYPE_SASL_CRAM_MD5) {
    auth_type_to_pass = "CRAM-MD5";
}
err = mailimap_oauth2_authenticate(mImap, [login UTF8String], [password UTF8String]);


Missing translation strings in Playnite 10.16 (GOG and itch.io library extensions)

The following settings and descriptions are currently untranslated in the GOG library configuration window:

Automatically initiate the install process when installing games on GOG Galaxy
If enabled, the install process will be automatically started without  needing user interaction to the configured default install location. / If disabled, the game page will be opened to manually start the install process.
Metadata language:

The following import filters are currently untranslated in the itch.io library configuration window:

Games
Tools
Assets
Mods
Physical games
Soundtracks
Others
Comics
Books

GOG issue will be fixed in next plugin update.
As far as those itch strings, I pushed them to Crowdin, they should appear there now.

Fixed in GOG update 2.16


Finer topic handling for SUB/SYNC_SUB

I still need to squash lots of commits and refactor a bit (maybe some parameter names and method signatures).

As of now, internally, all handlers for SUB sockets are stored as a dictionary, of the form {topic: handler, ...}
For the special SUB case, we have to set the socket to listen to that topic, and also store the handler internally so we know what must be called when a message with that topic is received. In bb7e5a8, a bug occurs in which by overriding the handlers, we lose the first topic.
A real life example of that would be osmarkets, in which we might connect to different pairs at any point in time.
See #159

I'm wondering if it would be a good idea to make _set_handler a non private method. That way, the user could easily modify the handlers for other communication patterns other than PUB/SUB and SYNC_PUB/SYNC_SUB. What do you think @Peque ?

I have improved the tests a bit so as to improve their consistency and readability.

I pushed various commits with the following changes:

Remove specifying the topics as bytes. You are right, it makes more sense to use strings plus the use of bytes is undocumented.
I changed the tests to implement the new functionality you proposed, checking the tail of the messages.
From the last point, I refactored the server agents to share the same timer for their publications, so as to try to guarantee that the tails are always ...1, 2], or at least for most of the time, because it gave me problems keeping the timers separated.
I also changed some strings from the test. I feel many of them are still meaningless, I feel like I should try to make the tests more readable for future maintenance, but I'm not sure if the proper way is with in-line comments or in the docstring of the test.

Let me know what you think @Peque so we can keep working on this PR 😄

Uhh, I don't know why it's crashing on Travis (at least I'm able to reproduce the crashes in my Ubuntu VM). In Windows all tests are passing OK. I will investigate and come back when I find something.

@Flood1993 I just suggested you exactly that (it looked suspicious). :joy:

@Flood1993 Pushed one commit here to avoid setting the channel's UUID with a non-unique identifier (it kind of violates the whole purpose of a unique identifier :joy:).
Two tests fail due to the "shutdown many agents test". That was expected after the last shutdown modification. See #208.
Apart from that there are only a couple of minor comments from yesterday and this should be ready for merge. :blush:

@Flood1993 A fix for the "shutdown many agents test" is read in #209. Seems to work fine.

@Peque I did the changes to the documentation and also added a test for multiple unsubscriptions in the same call. I removed the option to pass the topics as a dictionary since it seems counter intuitive to me. Do you think I should leave it there?

@Flood1993 Seems test_agent_sync_publications.py coverage was reduced. You can correct those lambdas. Try with:
addr = server.bind(..., lambda agent, message: None)

Or maybe even better, use an existing handler:
addr = server.bind(..., handler=append_receive)

@Flood1993 There are also two lines not branch-covered in agent.py:

Could you have a look at that? I would prefer to merge only code that either keeps or improves code coverage, but never decreases it (unless very special circumstances).


Added requisite for new numbers request.

Added requisite to include area code, country or region for new numbers request

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@tonysmit could you help us push this forward?

@tonysmit ping


Update dep to QXTns from QXTn

Summary
QXTn has changed to QXTns so we must update the references to it. Also removing dependency on ITensors and NDTensors as these are included from QXTns and can be used via this.
Check before merging:

[ ] All discussions are resolved
[ ] New code is covered by appropriate tests
[ ] Tests are passing locally and on CI
[ ] The documentation is consistent with changes
[ ] Any code that was copied from other sources has the paper/url in a comment and is compatible with the MIT licence
[ ] Notebooks/examples not covered by unittests have been tested and updated as required
[ ] The feature branch is up-to-date with the master branch (rebase if behind)
[ ] Incremented the version string in Project.toml file

Codecov Report

Merging #4 (96df146) into master (bb87a4b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   97.78%   97.77%   -0.02%
==========================================
  Files           7        6       -1
  Lines         406      404       -2
==========================================
- Hits          397      395       -2
  Misses          9        9

Impacted Files
Coverage Δ

src/tn_conversion.jl
100.00% <ø> (ø)

src/contraction_planning.jl
100.00% <100.00%> (ø)

src/dsl/dsl.jl
99.23% <100.00%> (ø)

src/circuits/circuits.jl
77.77% <0.00%> (-0.80%)
:arrow_down:

src/QXSim.jl

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 bb87a4b...96df146. Read the comment docs.


Error Connect WITH SSL

Hi,
When i connection to server with ssl show me below error:
OpenSSL.crypto.Error: [('asn1 encoding routines', 'asn1_d2i_read_bio', 'not enough data')]

What certs do you provide and how do you provide them?
Can you show your document_store init code?

CERTIFICATE_LOG_SERVER = {"pfx": "./raven.pfx", "password": "Mveyma6303$kabinet95"}
 with document_store.DocumentStore(
            urls=[LOG_SERVER_URL],
            database="OrderAppLog",
            certificate=CERTIFICATE_LOG_SERVER) as store:
        store.initialize()
        with store.open_session() as session:
            session.store(log)
            session.save_changes()

Does the file exists on the current directory?
Are you running on Windows / Linux here?

yes file is exists and i run on linux

Can you run this with strace and put the output here?

/home/mohammad/anaconda3/bin/python3.8 /snap/pycharm-professional/252/plugins/python/helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support=auto --client <IP_ADDRESS> --port 43285 --file /home/mohammad/MySourceCodes/PYTHON/nooran_moghayrat/main.py
Connected to pydev debugger (build 212.4746.96)

Serving Flask app "ecap_old_app" (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: on
Traceback (most recent call last):
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 1953, in full_dispatch_request
return self.finalize_request(rv)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 1970, in finalize_request
response = self.process_response(response)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/flask/app.py", line 2267, in process_response
response = handler(response)
File "/home/mohammad/MySourceCodes/PYTHON/nooran_moghayrat/main.py", line 93, in log_request
with store.open_session() as session:
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/pyravendb/store/document_store.py", line 135, in open_session
requests_executor = request_executor if request_executor is not None else self.get_request_executor(database)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/pyravendb/store/document_store.py", line 113, in get_request_executor
RequestsExecutor.create(self.urls, db_name, self._certificate,
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/pyravendb/connection/requests_executor.py", line 76, in create
executor = RequestsExecutor(database_name, certificate, conventions)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/pyravendb/connection/requests_executor.py", line 47, in init
(self._certificate, self._adapter) = self.initialize_certificate(certificate)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/pyravendb/connection/requests_executor.py", line 42, in initialize_certificate
adapter = Pkcs12Adapter(pkcs12_data=pfx, pkcs12_password=password)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/requests_pkcs12.py", line 98, in init
self.ssl_context = create_pyopenssl_sslcontext(pkcs12_data, pkcs12_password_bytes, ssl_protocol)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/requests_pkcs12.py", line 40, in create_pyopenssl_sslcontext
p12 = load_pkcs12(pkcs12_data, pkcs12_password_bytes)
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3177, in load_pkcs12
_raise_current_error()
File "/home/mohammad/anaconda3/lib/python3.8/site-packages/OpenSSL/_util.py", line 57, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.crypto.Error: [('asn1 encoding routines', 'asn1_d2i_read_bio', 'not enough data')]

This looks like the file is empty

OS: Ubuntu 21.04
OpenSSL Version: 1.1.1k
Python: 3.8

sample files: https://mega.nz/folder/Sw4QBbyY#y8Vpp8Xx7q3ykiK0JWApuw
password: Mveyma6303$Kabinet95

file is not empty

This looks like the file is empty

I'm sure, file is not empty

Hi,
The link no longer works?
On Tue, Aug 3, 2021 at 6:04 PM Mohammad Mehrnia @.***>
wrote:

sample files: https://mega.nz/folder/Sw4QBbyY#y8Vpp8Xx7q3ykiK0JWApuw
password: Mveyma6303$Kabinet95
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ravendb/ravendb-python-client/issues/96#issuecomment-891923034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA4RM3KS5ZNVD6DXSQCLYDT3AARBANCNFSM5BOXETUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
https://ravendb.net/ Oren Eini
CEO   /   Hibernating Rhinos LTD https://hibernatingrhinos.com/
Mobile:  972-52-548-6969
Sales:  @.***
Skype:  ayenderahien
Support:  @.***
https://www.facebook.com/pages/RavenDB/265907650186374
https://twitter.com/ravendb
https://www.linkedin.com/company/hibernating-rhinos-ltd-/
https://ravendb.net/emailsignature/displayeventpage

Hi,
The link no longer works?
On Tue, Aug 3, 2021 at 6:04 PM Mohammad Mehrnia @.***>
wrote:

sample files: https://mega.nz/folder/Sw4QBbyY#y8Vpp8Xx7q3ykiK0JWApuw
password: Mveyma6303$Kabinet95
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ravendb/ravendb-python-client/issues/96#issuecomment-891923034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA4RM3KS5ZNVD6DXSQCLYDT3AARBANCNFSM5BOXETUA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
https://ravendb.net/ Oren Eini
CEO   /   Hibernating Rhinos LTD https://hibernatingrhinos.com/
Mobile:  972-52-548-6969
Sales:  @.***
Skype:  ayenderahien
Support:  @.***
https://www.facebook.com/pages/RavenDB/265907650186374
https://twitter.com/ravendb
https://www.linkedin.com/company/hibernating-rhinos-ltd-/
https://ravendb.net/emailsignature/displayeventpage

https://mega.nz/folder/T04UFBKC#BVgiMTMlxFvNJijJNs05wg

https://mega.nz/folder/T04UFBKC#BVgiMTMlxFvNJijJNs05wg

My problem is exists, I think your package is a little bug

Hi, you are correct, there is a bug there.
Here is the workaround, we'll fix this soon.
LOG_SERVER_URL = "https://rnbw:4343"
cert = None
with open("./raven.pfx", "rb") as f:
    cert = f.read()
CERTIFICATE_LOG_SERVER = {"pfx": cert, "password": "********"}

And the rest of the code as you have before

The issue is here:
https://github.com/ravendb/ravendb-python-client/blob/v5.0/pyravendb/connection/requests_executor.py#L42
We are sending the data as pfx12_data, but if it is a file, we need to send as pfx12_file, instead.
Need to do a check and write it.

We have opened a ticket for that: https://issues.hibernatingrhinos.com/issue/RDBC-469

Fixed in <IP_ADDRESS>


Getting 500 error when accessing running services

I am getting a 500 error when I try to access running services. The ones that are stopped can be accessed and managed.

Steps to replicate:

go to dashboard
click on the Service that is running

I did try to restart the coolify server instance and the issue is persistent.
Automatic update is turned on.
Didn't have this problem in the past.

I've started having the same issue after installing Coolify on a new server. Docker containers bound to a service disappear resulting in the service returning 500. This doesn't happen immediately and not all containers vanish (for example my Plausible-service just has the Clickhouse-container running).

Same here, the issue appears after a restart of the server on my side.

Is there a way to manually fix this? I need to amend details on the services.

@andrasbacsai What do you think. I think me and some other people need those services up again but it is not working at the moment. Is there a way to get the containers back up?
Thanks

Same here, happened after restarting coolify from commandline.
Any ways to fix? Appreciate your prompt attention on this matter @andrasbacsai
Thanks

I have the same issue since I tried to update to the latest version, do you know if there is a possibility to run services from command line ?

Hey, this problem could be solved with the followings.
Unfortunately, if anything created after the database backup date (see the docs in the link above) will be lost, due that they are encrypted with a wrong key.
If you need help, contact me.

This could be solved by following this docs.
Note: Anything created between the database backup and now will be lost, due that the encryption key made some values unreadable.
If you need help, you can contact me.

Thank you, my services are back … but when I run a service and I try to access it via its URL, it gives me a 404 error, even if I change the sub-domain name to a new one.

Due to inactivity, I'm closing this issue. However, if the problem persists, please reopen the issue. Thanks!


Add Basic Footer Structure

Create a basic structure for the footer section of the website. The footer should include placeholders for links, contact information, social media icons, and any necessary copyright information.
Requirements:

Add placeholder links for "About Us," "Contact," "Privacy Policy," and "Terms of Service."
Include space for social media icons (GitHub, Twitter, LinkedIn, etc.).
Add basic copyright text (e.g., "© 2024 DevUnity. All rights reserved.").

Add Footer Component
Hey team! I've been working on a footer to match our nav bar - keeping it clean and consistent with our current look.
What's in it:

Clean, dark transparent background (like our nav)
4 sections that stack nicely on mobile:
About DevUnity
Quick links
Legal stuff
Social links
Copyright bar at bottom

Tech side:

Built with TypeScript & Next.js
Uses our existing color scheme
Same Lucide icons we're using up top
Hooks into our routing system
Tailwind classes matching our patterns

The footer uses the same transparent dark style and hover effects as the nav, with that nice lime green accent we have (#9CE630). Everything's responsive and matches our current mobile breakpoints.
Let me know if you want me to tweak anything or if something doesn't align with what you had in mind!
Tests and screenshots coming in the comments.

It looks superb Asad! Great work👍

Hello, I would like to help :)!

@kittyy6969 Yeah sure you can help in any other feature


提交残差网络作业

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


Different barChart view of 0

Pivot (barChart based on) in Analyzer show 0 in each cel

barChart 1st PC

barChart 2nd PC

It needs the same view for all PC, users, browsers, etc.

@gnibeda update highchart version and we will see if that will help.

Highcharts updated in 3.1.47


Use .NET 4.5.2 target framework when deploying test sites

follow-up to 8ae481c
sites are also built for .NET 4.5.2 in desktop runs

Similar to aspnet/ServerTests#56 pull

55f31a8 checked in because this fixed build break


laxes and extent_cyl

This PR adds two small functions that estimate the angular extent of a patch, and the corresponding SHT multipole moments of the Fourier transform in the flat-sky approximation.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e02ec4c) 87.48% compared to head (0c9c33a) 87.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
+ Coverage   87.48%   87.70%   +0.21%
==========================================
  Files          11       11
  Lines         983     1000      +17
==========================================
+ Hits          860      877      +17
  Misses        123      123

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e02ec4c) 87.48% compared to head (0c9c33a) 87.70%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
+ Coverage   87.48%   87.70%   +0.21%
==========================================
  Files          11       11
  Lines         983     1000      +17
==========================================
+ Hits          860      877      +17
  Misses        123      123

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


[XGBoost] Updates XGBoost to 2.0.3

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Attention: 1333 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (e464fc1) 72.20%.
Report is 946 commits behind head on master.

Files
Patch %
Lines

...va/ai/djl/modality/nlp/generate/TextGenerator.java
2.81%
276 Missing :warning:

.../java/ai/djl/modality/nlp/generate/SeqBatcher.java
0.75%
132 Missing :warning:

...ity/nlp/generate/ContrastiveSeqBatchScheduler.java
2.97%
98 Missing :warning:

...i/djl/modality/nlp/generate/SeqBatchScheduler.java
9.83%
55 Missing :warning:

.../java/ai/djl/modality/cv/BufferedImageFactory.java
40.96%
47 Missing and 2 partials :warning:

...a/ai/djl/modality/nlp/generate/StepGeneration.java
2.04%
48 Missing :warning:

api/src/main/java/ai/djl/ndarray/NDArray.java
43.42%
39 Missing and 4 partials :warning:

...n/java/ai/djl/modality/cv/output/CategoryMask.java
22.00%
39 Missing :warning:

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
71.21%
31 Missing and 7 partials :warning:

.../cv/translator/SemanticSegmentationTranslator.java
37.50%
35 Missing :warning:

... and 75 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2915      +/-   ##
============================================
+ Coverage     72.08%   72.20%   +0.11%
- Complexity     5126     7263    +2137
============================================
  Files           473      721     +248
  Lines         21970    32449   +10479
  Branches       2351     3380    +1029
============================================
+ Hits          15838    23430    +7592
- Misses         4925     7410    +2485
- Partials       1207     1609     +402

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


Attempt to pattern-match “Alpha Plus Test Booster”

Codecov Report

Merging #622 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #622   +/-   ##
=======================================
  Coverage   61.12%   61.12%
=======================================
  Files           5        5
  Lines        1047     1047
=======================================
  Hits          640      640
  Misses        407      407

Impacted Files
Coverage Δ

findspam.py
81.1% <100%> (ø)
: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 0a65d80...c94d604. Read the comment docs.


Docs: Comparison to Existing zsh vi-mode Plugins

I'm interested in this project as a longtime zsh user. I've noticed a lot of different "vi-mode" plugins over the years, and have used several:

https://github.com/sharat87/zsh-vim-mode/blob/master/zsh-vim-mode.plugin.zsh
https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/vi-mode/vi-mode.plugin.zsh
https://github.com/Nyquase/vi-mode/blob/master/vi-mode.zsh

I'm currently using sharat87/zsh-vim-mode, which I picked for its small implementation. I also have b4b4r07/zsh-vimode-visual installed.
This project stands out to me, but I don't have a clear understanding of how it differs from other similar plugins. While the feature section is well documented (thank you!), I'm interested in an explicit comparison between this plugin and others.
Sometimes I see this presented with a feature matrix:

https://github.com/vmchale/command-line-tweeter#comparison-to-other-command-line-clients

Another great example comparison I refer to sometimes:

https://github.com/raxod502/straight.el#comparison-to-other-package-managers

As an example of a feature I'd like to see highlighted, it looks like this plugin provides a way to run commands when transitioning between states:
zvm_before_init_commands=()
zvm_after_init_commands=()
zvm_before_select_vi_mode_commands=()
zvm_after_select_vi_mode_commands=()
zvm_before_lazy_keybindings_commands=()
zvm_after_lazy_keybindings_commands=()

That's certainly a compelling reason for me to use it, but I had to read through almost all of the README to know.
Providing this information as quickly as possible helps zsh users who already have a vi-mode plugin installed, so they can make an informed choice about whether to switch.

Separately: thank you for your development and contributions! I'll be installing this morning to give the plugin a try myself.

Hi @djanatyn
First of all, thank you very much for describing the issue carefully.
What I must say is that I haven't compared the other vi-mode plugins you mentioned very seriously. This plugin was born to solve the various problems of zsh's default vi mode. It pursues closer to native vim's behavior, it allows users to have a better user experience, so the object of comparison is the original default vi mode.
I have listed all the main features, but since there are many differences in specific details, I did not mention them. Here I can roughly explain some specific differences:

You can get better cursor behavior, such as the cursor will become an underscore for pending operato (e.g. ciw, ci -> pending 3 seconds -> w)
You can get better surrond behavior, such as surrounds will be highlight when you select surronds (e.g. content is "test" and you put cursor at e and type cs")
You can get better replace mode behavior, such as you have multi-line content and you type R to replace some characters.
You can get better highlight behavior, such as you have multi-line content and you put the cursor at the beginning of second line, then type shift-v to enter visual line mode, check the highlight behavior.
You can get better escape behavior, such as you type ESC to escape insert mode to normal mode, check the speed.
You can get better vi mode status, such as REPALCE, VISUAL, VISUAL LINE and show the current mode perfectly.

...

You can have a further try on this plugin. Also you are very welcome to do some contributions on the documentation. : D
Thanks and regards

Hi, could you let me know how to change the status prompt to the clear colorful look in your screen capture?
I didn’t seem to find it in README or after some searching in zsh-vi-mode.zsh

Hi, could you let me know how to change the status prompt to the clear colorful look in your screen capture?
I didn’t seem to find it in README or after some searching in zsh-vi-mode.zsh

@stutterrrrer  You should check how to change prompt of your theme, the screenshot is a demo from a custom theme. You can refer to here, this plugin provides you some aspects to change your prompt of your theme on vi mode changed.


added schemas for transformableobject and mesh generation pipeline

added schemas for transformableobject
updated schemas of image and morphology to accommodate transformableobject
added schemas for mesh generation pipeline

Please address all comments on this PR.


Explore a way to store fraud scores for collectives

As part of https://github.com/opencollective/opencollective/issues/6674, we want to cache some stats on fraudulent contributions hitting a collective. That information will be used to generate expense security check warnings, but it will also be helpful for us to build a dashboard that we can monitor.
During the call, we discuss having multiple fraud scores like overallFraudScore, monthlyFraudScore, weeklyFraudScore and dailyFraudScore` to provide more granular information.
This issue still needs further research and discussion before we can act on it.

Specifications:

[ ] Write a query that calculates error rates for different time windows.
[ ] Create a materialized view based on that query.
[ ] Refresh the query every hour.


[Bug]: Unify signing mechanisms

What happened?
gittuf currently has two different signing workflows based on what's being signed. We use the user's default git configuration to sign commits / RSL entries etc, but a custom workflow for the policy metadata (where signatures are embedded in DSSE documents). The signerverifier package along with go-securesystemslib implements this at the moment.
The issues with having these be separate are as follows:

metadata signing uses non standard keys right now, the custom sslib format (which is also being retired upstream)
rules that authorize a user by their GPG or sigstore identity (for git commit signatures) cannot trivially be converted into a delegation because those signing methods currently can't be used to sign delegated policy metadata

I propose we unify the policy signing around git signing, because we want to preserve standard git signing workflows for compatibility with existing user workflows. So, we want to get to a place where the same gpg key / ssh key / sigstore identity from a user's git config can be used to sign gittuf policy metadata. FWIW, an ssh key used with git signing will likely align with upstream securesystemslib changes that retire the custom on-disk formats (solving point 1 above). We currently don't have prior art on signing DSSE with GPG but sigstore tools do sign in-toto attestations embedded in DSSE using OIDC. I think we can plug into those for sigstore and implement GPG + DSSE ourselves with some input from other securesystemslib / DSSE users.
cc @datosh
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is a laudable goal.
I'm curious what a git user will see in this case if we have multiple signatures or signatures using a key type unsupported by git.

This one's come up a couple times in conversations because people are confused between the two types of keys. It also doesn't help that the metadata signing keys currently use a custom format, it's not obvious how to even create those test keys. https://github.com/secure-systems-lab/go-securesystemslib/pull/67 is a starting point upstream to fixing this. Once that's merged, that should also unblock SSH git signing. Separately, we can discuss in go-securesystemslib how to sign DSSE with GPG, which should get us most of the way to unification.


Fix measure text width of some special invisible characters is zero

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Codecov Report
Base: 36.57% // Head: 43.01% // Increases project coverage by +6.44% :tada:

Coverage data is based on head (be562b5) compared to base (765befb).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1326      +/-   ##
==========================================
+ Coverage   36.57%   43.01%   +6.44%
==========================================
  Files         349      349
  Lines       16721    18790    +2069
  Branches     2618     2636      +18
==========================================
+ Hits         6115     8083    +1968
- Misses      10052    10066      +14
- Partials      554      641      +87

Impacted Files
Coverage Δ

packages/core/src/2d/text/TextUtils.ts
6.35% <0.00%> (+5.74%)
:arrow_up:

packages/core/src/physics/StaticCollider.ts
83.33% <0.00%> (-16.67%)
:arrow_down:

packages/core/src/material/PBRMaterial.ts
94.73% <0.00%> (-5.27%)
:arrow_down:

packages/rhi-webgl/src/WebGLEngine.ts
75.00% <0.00%> (-5.00%)
:arrow_down:

packages/core/src/material/PBRSpecularMaterial.ts
90.47% <0.00%> (-3.97%)
:arrow_down:

packages/core/src/material/UnlitMaterial.ts
88.46% <0.00%> (-2.45%)
:arrow_down:

packages/core/src/graphic/VertexElement.ts
82.60% <0.00%> (-2.40%)
:arrow_down:

packages/math/src/SphericalHarmonics3.ts
97.80% <0.00%> (-2.20%)
:arrow_down:

packages/core/src/texture/Texture2DArray.ts
51.21% <0.00%> (-1.91%)
:arrow_down:

packages/core/src/material/BlinnPhongMaterial.ts
91.22% <0.00%> (-1.37%)
:arrow_down:

... and 253 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


have firmware for a camera with ble

have firmware for a camera with ble

Hi there, If you are still searching for one with ble-support: Here the new API

这是来自QQ邮箱的假期自动回复邮件！
    您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，第一时间给您回复。


"unexpected align in text segment" error

Hi I am trying to run this piece of code on VS code.
It runs fine on venus web(https://thaumicmekanism.github.io/venus/).
Unfortunately it doesn't work on vs code.
Seems like it works fine when ".align 2" is removed.
But isn't align allowed in text?

Assembly code
.text
.align 2
.globl main

main:
lui t0, 1       # t0 points to 0x1000
lw  t1, 0(t0)   # Load a into t1
lw  t2, 4(t0)   # Load b into t2
add t3, t1, t2  # t3 <- t1 + t2
sw  t3, 8(t0)   # Store t3 into c

Error message

AssemblerError: start.s:2: unexpected align in text segment
.align 2

Stop program execution!

===== VS code info=====
Version: 1.90.2 (user setup)
Commit: 5437499feb04f7a586f677b155b039bc2b3669eb
Date: 2024-06-18T22:34:26.404Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

I suspect, we need to pull in a newer version of venus. Let me check


Support interval type in PostgreSQL

Required Functionality
Attempting to use synth import on a PostgreSQL database with an interval column yields:
Error: We haven't implemented a converter for interval

Proposed Solution
Add a converter for the interval type (or allow skipping unsupported types #306)
Use case
Our database uses intervals for durations

I have the same use case.


Fixed the error in score in FoodChain Activity

Fixes issue #1404
Made the score to zero in FoodChain Activity, after clicking the home button once a game is finished, so that it doesn't get added up
No error in console
@llaske, could you please review it

It's a partial fix. It works when the user go back to home but it doesn't works when the user stop the activity during the game.

@llaske, I mean if the user pauses during the game and plays the score shouldn't be set to reset there
Other than that, after pausing if the user clicks onto home icon, then it reset's the score
https://github.com/llaske/sugarizer/assets/116670999/d7574a0d-a1ef-4f58-bc5d-ac7b1a64208b

@llaske, I mean if the user pauses during the game and plays the score shouldn't be set to reset there
Other than that, after pausing if the user clicks onto home icon, then it reset's the score

Yes you're right but the score should be reset when the activity is close then reopen.

Now useless, see https://github.com/llaske/sugarizer/issues/1404#issuecomment-1811316149


Left View Of Binary Tree

@mission-peace plz review and add

Can you squash the commits into into commit


feat: add std.game.load

load the game anyway.

function
string
module
file
iterator

solved in 3338a68bd4b09c0c2101b9f5a01a4dc386faa64f


TypeError: tv.setup is not a function

Hello :)
Are you still maintaining this library?
I would love to contribute.
After recent update, I'm getting:
TypeError: tv.setup is not a function
const { TradingViewAPI } = require("tradingview-scraper");

const bitcoinSymbol = "BTCUSD";
const tv = new TradingViewAPI();

process.stdout.write("Loading...");

tv.setup().then(() => {
  tv.getTicker(bitcoinSymbol).then(ticker => {
    let last = 0;
    ticker.on("update", data => {
      if (data.lp && data.lp !== last) {
        process.stdout.clearLine();
        process.stdout.cursorTo(0);
        process.stdout.write(
          "[" +
            bitcoinSymbol +
            "] " +
            (last > data.lp ? "-" : "+") +
            " " +
            data.lp.toFixed(2) +
            " "
        );
        last = data.lp;
      }
    });
  });
});

Hey @slashvortal,
thanks for your message. I suppose that you are talking about the examples on develop branch, where I started working on a new version of the library, and it is not yet documented.
If you are using the library from npm, please stick to the README on master branch. I'll try to find a while soon to finish the new version.
Best regards,
Piotr Adamczyk

Oh sorry my bad, I mistakenly pulled the master. Yes I'm on develop branch and works perfectly.
BTW, I had to build locally to get the dist folder. With npm/yarn install, the dependency gets no src folder and therefore it doesn't build to dist.

I will be happy to give a bounty to maintain the documentation of develop branch so I don't need to build locally. How do I give this bounty?


Agario Bot Problems

Hello I am sure you know about some of these problems but I have a list of them. The first problem is the main menu always keeps popping up every 2 seconds for me and it is pretty annoying that you have to keep pressing play. Another issue is the game freezing I know you think that it just may be agario but I turned off the mod and the issue stopped. Another issue is sometimes in the middle of a game the whole screens turns a random color like green. It is like a huge green blob ate me but I am still playing. Another problem is when I press play sometimes my blob does not spawn nothing is moving and it goes back to the main menu screen. So yes this mod is very very glitchy. Other than these problems the mod is great and not to be mean or anything with this paragraph but these are the issues.

Please refer to your own issue for the answer to this problem...
#549


How to receive the latest messages?

How to get the latest messages in Rust?
like the telethon's client.add_event_handler function. this is the link
Then use add_event_handler, will receive the latest message in Group or Channels or Users.

Hi, this is not an issue with the library but rather a question. The issues section in GitHub is only to report bugs or enhancements in the library itself. If you have usage questions, you should ask those in the @gramme_rs group.


[WIP] systemd: enable timedated, hostnamed, localed.

WIP because this depends on a patch to our systemd fork: nixos/systemd#2
Right now, we disable the timedated, hostnamed, and localed services because they can modify the system configuration.  But this also disables the useful timedatectl, hostnamectl, and localectl utilities.
The systemd patch disables the problematic dbus methods in these services and makes them return error messages instead.  This PR then enables the services.
With this PR, timedatectl, hostnamectl, and localectl work fine if you use them read-only; as soon as you try to change the system configuration you get a useful error message:
# timedatectl set-ntp true
Failed to set ntp: Changing system settings via systemd is not supported on NixOS.

Fixes nixos/nixos#82

Where's the systemd patch?

Where's the systemd patch?

This PR: nixos/systemd#2

Applied, thanks!


Fix issues with Mutagen file detection

Closes #162, where Mutagen overweights file extension in guessing filetypes. With this we can finally retire the ugly_info_fix branch.
There are basically three solutions to this problem that I can think of.

Solve the problem upstream in Mutagen. The most morally righteous, but would may require navigating some pushback and take time to get merged and released
Detect better file extension (with magic/guessing/using default ext with no hints), symlink using that extension, and pass the symlink to mutagen. Variants for doing this every time, only if reading fails, etc etc.  FFMPEG should have no issue determining file formats without an extension and Mutagen seems not to either in my testing, though if this is merged it would be good to test all past busts to be sure.

IMO 3 is the best solution because it seems like something we could have reasonably done intentionally as a design decision in the first place instead of to circumvent a bug. Let me know your thoughts.
This PR also contains very minor formatting changes in song_utils.py that don't change any logic, just 'cause.

We may just want to look over the filetypes that mutagen accepts and see if this will affect their score values negatively in any way.

This looks true at least for the main formats MP3, OGG, FLAC, WAV. It also seems true for most others. The only weird case I see skimming is that it seems AAC is based only on filename cues. This seems fine to me, but lmk how you feel about it @anoadragon453.


Updated .pre-commit-config.yaml to self-update its dependencies

Description
Pre-commit will ensure its dependencies stay up to date. It will now automatically also run on any raised PRs. This will ensure committed code will always stay consistent.
Checklist:

[X] I've made sure that tests/test_cookiecutter_generation.py is updated accordingly (especially if adding or updating a template option)
[X] I've updated the documentation or confirm that my change doesn't require any updates

Rationale
One does no longer need to run pre-commit autoupdate to make its pre-commit's dependencies stay up to date.

@arnav13081994 thank you. Merged. 🚢

Anytime!


"avx": true, Does It Disable The In-Game AVX?

Does "avx": true, mean AVX is enabled or AVX CPU fix is active and/or AVX is disabled?

Google says  "avx": true, means AVX fix is on, but does it disable AVX as well?

Google says  "avx": true, means AVX fix is on, but does it disable AVX as well?

Option does nothing for 1.05+
They removed AVX instructions in that patch.
It was only effective in 1.04.
And yes, it was meant to patch those instructions out so effecfively disabling them.
But as said, no use on newer game versions.

Option does nothing for 1.05+
They removed AVX instructions in that patch.
It was only effective in 1.04.
And yes, it was meant to patch those instructions out so effecfively disabling them.
But as said, no use on newer game versions.

@yamashi can be closed I believe.

@yamashi can be closed I believe.


Can I define XSIMD_INSTR_SET_NOT_AVAILABLE to a useful value?

This is really a minor issue. I like to build code with very pedantic build settings. A very helpful flag for gcc and clang is -Werror=undef that helps identify cases where a macro is used in a preprocessor condition but the macro is actually undefined (and would evaluate to zero). Such cases can indicate an very tricky error in case the macro is just not in the current include path.
This warning creates a small hickup in xsimd, in the following line:
https://github.com/xtensor-stack/xsimd/blob/8382ff1858704b4e4bcfe943710800c094ad0c02/include/xsimd/memory/xsimd_load_store.hpp#L670
It seems XSIMD_INSTR_SET_NOT_AVAILABLE is undefined and not used anywhere else in the whole project. Is that intentional or a bug? If its intentional, can I define XSIMD_INSTR_SET_NOT_AVAILABLE to a useful value?

I think it is a bug, the correct condition should be
#if XSIMD_X86_INSTR_SET > XSIMD_VERSION_NUMBER_NOT_AVAILABLE

Thanks! I can make a PR!


Transfer facilities amongst operations

As an External User, I can transfer facilities between my own operations
Note: solution for this is still pending

Closed because Business Area confirmed we do not want to allow this functionality. In the case that someone wants to shift a facility to their subsidiary, etc., they can report a transfer of control and direction, using the Event Reporting functionality.


How to use Selenium Driver using XrmApp

Hi
I am using the latest version of API, with Selenium and Spcflow framework.
How can i call Browser/Driver using XrmApp?.
I am Initiating the xrmApp in the "Hooks.cs" as below :
        _BrowserOptions options = BrowserSettings.Options;

        client = new WebClient(options);
        xrmapp = new XrmApp(client);
        _container.RegisterInstanceAs(xrmapp);_

I login to D365 using
_XrmApp.OnlineLogin.Login(_url, _username, _password, mfaSecrectKey);
As part of specflow feture files, for my next steps i use different classes and functions.
But if i have to use selenium Driver to capture some text Or to identify some objects, how do i do?
If i use "client.Browser.Driver" it is opening a different window.
Please help..

Are you sure you are using the same instance of the 'XrmApp? in your code you initialize 'xrmapp' variable and then in your comment the name of the variable is '_XrmApp'.

Hi mVermaat,
Thanks for your reply.
"_" just came up here when i tried to make the below line as Italic. :)
_XrmApp.OnlineLogin.Login(_url, _username, _password, mfaSecrectKey);
Any how this issue is solved bu using this in Hooks.cs.
container.RegisterInstanceAs(client);
Thanks

@dynamicsk Good to hear it is solved :) You should close this issue then.


Update keepass238

keepass: from 2.37 to 2.38
Deletion of unnecessary patch files.
Apologies, changes to all-packages.nix are also in PR https://github.com/NixOS/nixpkgs/pull/34358.  I'm not sure why it's in this PR given it's not in this commit (into a now branch).  I am not experienced enough with Git, so I don't know why this occurred or how to resolve.
Motivation for this change
Update to Keepass latest version.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks!

Why that deleted patches are considered unnecessary? In the comments in package definition file it is clearly stated that without them Keepass won't find any installed plugins defined by plugins option.

@svsdep - I received an error during build and asked what the error meant.  I was advised it meant the patch was no longer valid, so I removed the patch.  I'll confess to not being experienced at the language in question, or at NixOS derivations.  Clearly my actions caused a problem and for that I apologise.

@joncojonathan no problem, I fixed it as I know C#. Just asked you about it cause I wanted to know the reason behind it. Patches became outdated as in 2.38 the code for loading plugins was changed a bit.


syncing with the master branch

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/patterns-practices, working directory: W:\0ocp-s, target branch: master, target branch commit: 6160d983ca3b3c3732d1c875405fe24d9fbb95f4, source branch: 12a286cfaabd487d2111fe8c07988e04/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514441.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514444.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514447.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514449.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514451.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514453.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514454.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514455.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514456.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514458.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514460.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514463.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514467.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514476.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514493.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514498.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514500.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514501.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514506.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514511.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514512.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514513.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514515.md
:white_check_mark:Succeeded

patterns-practices/guide-Prism-4-201011_pandp_40/guide-Prism-4-201011_pandp_40_33514516.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Diagnose convective precipitation

As the product owner I want IMPROVER to be able to distinguish between regions with convective precipitation and those with stratiform precipitation.
Related issues: #I, #J
Documentation of the 3 steps (3 tasks below) is in
gradients_for_conv_rain.pdf
Sub tasks:

[x] Apply thresholding to fields of grid-to grid gradients (or direct from precipitation rates) to find the occurrences of exceeding a low threshold (typically any non-zero gradient threshold) and a higher gradient threshold (e.g. 5 mm/hr) for each grid square.
[x] Find the sum of grid squares exceeding the non-zero gradient threshold and a higher gradient threshold within a square neighbourhood around each grid square. This should link the output from task 1 to the existing 2-step square neighbourhood code #104 .
[x] Obtain a ratio of neighbourhood sums to diagnose whether precipitation is convective or stratiform or mixed and create an array output.

Future work will be needed to create a classification based on the ratio values to give convective, mixed, stratiform, dry. This will initially have to be an educated first stab based on work by Nigel Roberts and will need refining in future based on case studies.
Acceptance criteria:

Check that the output values at each grid square in array from task 1 must be 0,1,2,3 or 4 only (if using double counting of gradients) or 0,2 or 2 (if using single counting of gradients). See gradients_for_conv_rain.pdf about double or single counting.
Make sure that the final ratios can only lie between 0 and 1.
Make sure that the divide by zero possibility is accounted for so that neighbourhoods with zero non-zero gradients can be classed ad "dry"
Unit tests
Plug-ins for the tasks that need them

As part of this ticket, I noted the misuse of units according to the CF conventions for precipitation_amount. This has been fixed in #182.
My current understanding of this issue is that it involves:

If requested, calculate the differences between adjacent grid squares.
Apply a lower and higher threshold to the input cube.
Apply neighbourhood processing to the lower and higher threshold cubes.
Calculate higher_threshold_cube/lower_threshold_cube to determine the convective ratio.

The convective ratio gives an indication for where sharp changes in precipitation rate occurs between adjacent grid squares.
This functionality has been implemented so far as a plugin, which in turn calls other plugins.

Possible follow-on work:
Note that the metadata deficiencies with the threshold plugin are already recorded in #130.

The threshold plugin has an unexpected check to raise an error if the threshold is equal to zero. This check might make sense if the input cube contains probabilities but for other applications it would be reasonable for the threshold to be zero, for example, temperatures in Celsius at zero. In summary, make sure that the BasicThreshold plugin works for cubes that don't contain probabilities.

Just a general note for this issue, it might be worth investigating some time whether there might be alternative solutions for solving this problem, for example making use of the OpenCV library e.g. https://stackoverflow.com/questions/7765810/is-there-a-way-to-detect-if-an-image-is-blurry/7768918#7768918.

Slide added. Good work, thanks.

Although this issue is now closed, @fionaRust has a few queries regarding the handling of the convective ratio.
Concerns from @fionaRust:

Potential for the neighbourhooding of the difference between adjacent grid squares resulting in a non-zero convective ratio being calculated where there was no precipitation within the original precipitation rate cube.
Differentiation between an area of no precipitation and an area with a constant precipitation rate (i.e. 0 difference) between adjacent grid squares, and whether there was any requirement to handle these differently. Currently, both these situations will return NaN for the convective ratio, as they will both result in 0/0 calculations.


2024-11-27_01-35-53_master-next_aws-cli-v2

Automatically created.

Backport failed for kirkstone-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin kirkstone-next
git worktree add -d .worktree/backport-10534-to-kirkstone-next origin/kirkstone-next
cd .worktree/backport-10534-to-kirkstone-next
git switch --create backport-10534-to-kirkstone-next
git cherry-pick -x f66b77e41d50a4a9535d1f881b95fe1954b2ec0c

Backport failed for scarthgap-next, because it was unable to cherry-pick the commit(s).
Please cherry-pick the changes locally and resolve any conflicts.
git fetch origin scarthgap-next
git worktree add -d .worktree/backport-10534-to-scarthgap-next origin/scarthgap-next
cd .worktree/backport-10534-to-scarthgap-next
git switch --create backport-10534-to-scarthgap-next
git cherry-pick -x f66b77e41d50a4a9535d1f881b95fe1954b2ec0c

Successfully created backport PR for styhead-next:

#10538


Fixed wrong encoded value of claim attribute in “Issue a Credential” …

…How-To for Java, and added a comment how encoded value is actually computed.
Signed-off-by: Vladan Divac<EMAIL_ADDRESS>

This is temporary PR to experiments about DCO check


.bootstrap import path leak for pkg_resources in pex

with the default sys.path construction in pex, the .bootstrap dir ends up at the tip of sys.path which causes the baked-in pkg_resources module to be used in place of any composed setuptools dep:
>>> import sys, pkg_resources
>>> pkg_resources.__file__
'/Users/kwilson/.pants.d/bin/pants.pex/1.2.0dev8-tw3/pants.pex/.bootstrap/pkg_resources.py'

to avoid this, we should either scrub the .bootstrap path from sys.path or move it to the end and reload:
>>> sys.path = sys.path[1:]
>>> reload(pkg_resources)
<module 'pkg_resources' from '/Users/kwilson/.pex/install/setuptools-5.4.1-py2.py3-none-any.whl.77dd06420042734134bc9f929de0433f5c64ec67/setuptools-5.4.1-py2.py3-none-any.whl/pkg_resources.pyc'>
>>> pkg_resources.__file__
'/Users/kwilson/.pex/install/setuptools-5.4.1-py2.py3-none-any.whl.77dd06420042734134bc9f929de0433f5c64ec67/setuptools-5.4.1-py2.py3-none-any.whl/pkg_resources.pyc'

I vote to scrub it! I've definitely had scenarios where I needed to scrub it due to the baked in pkg_resources loading prior to any pex'd libraries, causing entry_points to not be discoverable except after reload, you may recall from your other project https://github.com/kwlzn/pyuwsgi_pex/pull/2

As demonstrated by issues like #949 this has since been fixed. Pex has vendored its dependencies since 1.6.0 under the pex.third_party package prefix and Pex now also scrubs all pex modules prior to handing control over to application code.


Bump flutter version and update dependencies

This pull request updates the flutter version to 1.4.0 and updates the dependencies in the slack_notifier package. The flutter version is now set to ">=3.1.0 <4.0.0" and the http dependency is updated to "^1.1.0". Additionally, the dev_dependency lints is updated to "^3.0.0" and the test dependency is updated to "^1.24.1". This ensures that the package is using the latest versions of the dependencies.
Fixes #4

Hi, thanks for your interest in updating the package, the latest version includes updated dependencies ✅


One flipped over at a time

Is it possible to have one object flipped at a time? When one object is flipped, any other objects that were flipped, gets unflipped. Thanks

Yes this should be possible. Easiest would probably be to set trigger to 'manual' and take matters into your own hands. You can detect whether a node is flipped or not by reading $('#your-element').data('flipped')

Cool, I got it to work, thanks. Although my javascript is rusty, here's what I did.
$(".element").on('flip:done', function() {
	var isFlipped = $(this).data('flipped');
	if (isFlipped) {
		$(this).parent().siblings().children().flip(false);
	}
});

Great that you solved it and thanks for posting your solution!

@JemarJones Your events being set to good use  :)

This looks great! Though one thing here that I'm sort of wary of is relying on the data-flipped attribute in client code. This is sort of part of the internal representation rather than the API and is (in my mind) something that could be changed. I guess I hadn't really considered that data attributes are of course, public.

I suppose we could just consider those attributes as part of the API and make sure not to change them whilst moving forward.

Or we could implement something like:
var isFlipped = $(this).flip('flipped');

The question is how much better that really is... Personally I think it's fine the way it is now.

I'm fine with leaving it the way it is (people may already be relying on it), and just making sure not to change it.


fix: add kenhorlador

resolve #1003
Checklist for profile addition

[x] Name the PR fix: add <your-username>.
[x] You've added file named your-username.json in the profiles directory.
[x] You've linked the PR to the correct issue.

Other additions/changes

[x] Changes made in this PR are mentioned below
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.
[x] I've read the contributing guidelines

This PR adds/fixes

Notes

Done.
Sorry, I forgot.


stop option enable shutting down now

After finished the installing, I run the test.sh.But after building successfully, the service did not start running.

What should I do?

We now check for availability of RDRAND and RDSEED instructions and terminate if they are not available. Which platform are you using? The boot script should have handled this for you, so this may be a bug.

Thanks for your replying.
I run ubuntu18.04 on vmware workstation 14 and installed the IncludeOS successfully.

My classmate installed the IncludeOS14.0 and run test.sh successfully.

Hm, if you have rdrand or rdseed you should see it in /proc/cpuinfo. What's the output of cat /proc/cpuinfo | grep flags inside the ubuntu VM?

There's an option to disable this feature here:
https://github.com/includeos/IncludeOS/blob/master/cmake/post.service.cmake#L297

If you enable nested virtualisation for the VM in vmware and pass inn -cpu kvm64,+rdrand,+rdseed as a parameter to qemu we were able to make it work in VMware fusion. This is not a great solution though, it may be easier to just disable this feature using @alfred-bratterud's suggestion above until we can make this easier.

Thanks for your help. I've solved the problem through @alfred-bratterud 's suggestion.

Hm, if you have rdrand or rdseed you should see it in /proc/cpuinfo. What's the output of cat /proc/cpuinfo | grep flags inside the ubuntu VM?

ubuntu 18.04 reports the following for cpuinfo:
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase avx2 invpcid rdseed clflushopt flush_l1d

@alfred-bratterud looks the link is down. could you please repost a valid one?
Thanks!

Yeah master got updated yesterday - it's now here: https://github.com/includeos/IncludeOS/blob/master/cmake/os.cmake#L112
The CMake option is named FOR_PRODUCTION. So what you want to do is either call cmake with that: cmake <path> -DFOR_PRODUCTION=OFF, or use ccmake <path> to turn it off from there.


Migrate wiki docs to rtd format

Another important step after #1688

My main question for this PR is how/where we're going to maintain the theme screenshots. At the moment, they're in the Wiki, and the .rst file references the files hosted on GitHub's wiki location. Do we want to keep doing that? That means we'll still have to upload new screenshots to the Wiki and then refer to them in the .rst file.
What I would like to avoid is adding screenshots to the Git repo as part of the main branches, since that will blow up the size of the repo unnecessarily. The Wiki works well for that, but it introduces the above dependency and makes the process more difficult.
Thoughts?

This is tough. screenshots are the eyecandy that draw most users in to start, but I too dislike them. I think my vote is to trash them...

I think we should recommend new contributors to store their image on some free image hosting service and link, this is not ideal, but I do not want people to add big files to the repo. We can update the instructions to add a theme with that information

Maybe we could store them the project's gh-pages (github pages) branch, (under a folder path like /docs/images) then they would be accessible via the project's page url (i.e it would likely be bash-it.github.io/bash-it/docs/images)  -- From there we could reference them from within the RST documents.
Thoughts?

This is a viable solution, we need to see if it's easy for people to upload content to there/ create a PR or something.
If it's easier than uploading to some image sharing website then I'm all for it

@nwinkler @cornfeedhobo @davidpfarrell I am continuing with this PR and with #1704
After it is all set and done, we can create more PRs which update our docs to include more information about how to create a theme, how to run pre-commit (like #1702) and so on

Maybe we could store them the project's gh-pages (github pages) branch, (under a folder path like /docs/images) then they would be accessible via the project's page url (i.e it would likely be bash-it.github.io/bash-it/docs/images) -- From there we could reference them from within the RST documents.
Thoughts?

I like this idea.

I am continuing with this PR and with #1704
After it is all set and done, we can create more PRs which update our docs to include more information about how to create a theme, how to run pre-commit (like #1702) and so on

@NoahGorny Is the idea to delete the wiki pages after this is merged?

I think I will delete most of the wiki, and redirect users to our readthedocs. I think I will keep the theme screenshots page, just to save the pictures, and maybe make the wiki read-only if this is possible

I have migrated our screenshots to gh-pages branch, and updated the docs to look at the gh-pages source instead of the wiki. I will edit the wiki to notify users that it is deprecated, and that they should use readthedocs instead


Add backend API support for "vng" input

Repro is with Zed commit 723a6e9.
VNG can currently be loaded via -i vng with the Zed CLI tooling. However, the Zed CLI tooling currently handles all input by first turning it into ZNG within the client and posting it to the backend as ZNG. Meanwhile, the Brim app and lake API both post data in native formats and rely on the backend to read in that format. Therefore to have feature parity between our different clients & API it would be ideal to add VNG load support in the backend as well.
How things look at the moment in Zed commit 723a6e9 and the attached test data sample.vng.gz (after uncompressing):
$ zed -version
Version: v1.3.0-15-g723a6e9c

$ curl http://localhost:9867/version
{"version":"v1.3.0-15-g723a6e9c"}

$ zed create foo
pool created: foo 2IYRIdBFRfKc5p393fLfne5ZqXS

$ zed use foo
Switched to branch "main" on pool "foo"

$ curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/x-vng' -d @sample.vng http://localhost:9867/pool/foo/branch/main
Warning: Couldn't read data from file "sample.vng", this makes an empty POST.
{"type":"Error","kind":"invalid operation","error":"unsupported MIME type: application/x-vng"}

In addition to adding the MIME type, @nwt is aware of what else is needed:

zio/vngio needs some rejiggering to make it work. I have the changes and just need to put up a PR.

Verified in Zed commit 743eebd using the attached sample.vng.gz.
$ zed -version
Version: v1.5.0-15-g743eebda

$ curl http://localhost:9867/version
{"version":"v1.5.0-15-g743eebda"}

$ zed create foo
pool created: foo 2LFAmQ2WKwq53ZGKcBVpJlmkbRW

$ curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/x-vng' --data-binary @sample.vng.gz http://localhost:9867/pool/foo/branch/main
{"commit":"0x106b22ca09a250b84af5ad9481074ff884e57c7c","warnings":[]}

Thanks @nwt!


Gracefully Handle a wrapped QueryProvider (Delegate Decompiler support during Batch operations)

The DelegateDecompiler library ends up wrapping the EntityQueryProvider in its own instance.
The reflection behavior of looking up the private _queryCompiler field fails in this case.
This PR aims to add graceful handling of a wrapped EntityQueryProvider instance for this use case.
DelegateDecompiler does the same pattern for all of its flavors of EF (EF6, EFCore, EFCore5+) so testing against DelegateDecompiler.EFCore5 is probably sufficient in this scenario.

As of EF 7 there is now ExecuteUpdate and ExecuteDelete so Batch-Update/Delete will probably become Deprecated.

Still the fix is added into repo, commit note: Batch DelegateDecompiler support, PR 982
Thx for contrib.

@borisdj thank you!


Issues in getKerningPairsFromOTF.py

cc @justvanrossum
I read the code and noticed a few issues.  Most of them don't affect well-constructed font, but one issue I think is rather serious.  Though I have not debugged code to confirm.  Hre it goes:
In the following code:
    lg = myLeftClass()
    lg.class1Record = class1Record
    leftClasses.setdefault(class1Record, lg).glyphs.append(leftGlyph)
    self.allLeftClasses.setdefault("class_%s_%s" % (loop, lg.class1Record), lg.glyphs)

(same is repeated for right glyph as well)
The problem is, in my understanding, that if class1Record was already in leftClasses, then leftClasses.setdefault(class1Record, lg) returns the existing leftClasses.setdefault[class1Record], which is different from lg.  Then leftGlyph is corrected appended to .glyphs of that object.  However, the next line, uses lg.glyphs, which is not outdated!  To correct, you should also update lg:
    lg = myLeftClass()
    lg.class1Record = class1Record
    lg = leftClasses.setdefault(class1Record, lg)
    lg.glyphs.append(leftGlyph)
    self.allLeftClasses.setdefault("class_%s_%s" % (loop, lg.class1Record), lg.glyphs)

I don't know; if my assessment is correct, then this should be broken for every font.  But apparently that's not the case.  I haven't debugged it.
Issues that only show up in badly-constructed fonts:

The code reads glyph- and class-based subtables separately. This is a problem if a class-based subtable processes a left-glyph that also shows up in a glyph-based subtable that comes later.

If two subtables of the same kind both cover the same glyph pair, the first one should win, but the way the code is written, the last one wins.  That's easy to fix, just reverse the subtable order at the end of getPairPos().

In getClassPairs(), the code iterates over all glyphs defined in ClassDef1.  However, if there's a glyph in ClassDef1 that is NOT in Coverage, that glyph should not be processed.  So, better to intersect the classes with coverage first.  This function from varLib might come handy (copy it; I'll move it somewhere proper later):

https://github.com/fonttools/fonttools/blob/86549315fdab659cfc536d0af7f2d2a56da176d5/Lib/fontTools/varLib/merger.py#L295
Now I noticed that I should intersect classes with allGlyphs in that function as well.

Thanks @behdad! I will have a look.

Fixed _ClassDef_invert(): https://github.com/fonttools/fonttools/issues/939


[REQ] _PlaceFilter support

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
Support for _PlaceFilter. Don't say no cause roblox will be removing clientsettings loading. It hasnt happened in a while so why not add this.
Something like a textbox near the enable/disable button where you can enter placeid's of games you want it to work on.

Just add it in yourself

Just add it in yourself

buddy what

if i could do it myself i wouldnt be asking for support


2.0

There are 3 changes (all breaking):

Make winston a peer dependency, ensuring that the user and module are always using the same version of winston. As a side benefit, users get a newer winston module on their own timeline.
Fix #86. Default output of expressFormat has no color. Add colorize: true to express-winston  options to enable the previous colorized output. The colorize option on express-winston is not related to the option of the same name on some winston transports. (Thank you to @brunolemos for pointing the way forward in #109).
Drop support for inherited properties on the object provided to the baseMeta option. Users probably didn't rely on this functionality, and it could've actually been surprising in a bad way. Also allows us to use ES2015 Object.assign in the (very bright) future.

Commits are left un-squashed for the moment to see the thinking process. I'll squash to 3 commits before merge.
Feedback welcome!

One other thing I missed. The commit by @brunolemos also (rightly) removed the colorStatus option, which did absolutely nothing at this point.


Make menu button brighter

Menu button was very difficult to see. Changed stroke opacity from 0.5 to 0.8.

Seams reasonable 🦊


inbloom.c compilation error

Great job with this cross-platform implementation.
Therefore, I when I try to install it via pip (and pip3) I got the following compilation error:
Running setup.py install for inbloom
Running command /usr/bin/python3 -c "import setuptools, tokenize;file='/tmp/pip_build_root/inbloom/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-e5h0ko0c-record/install-record.txt --single-version-externally-managed --compile
running install
running build
running build_ext
building 'inbloom' extension
creating build
creating build/temp.linux-x86_64-3.4
creating build/temp.linux-x86_64-3.4/inbloom
creating build/temp.linux-x86_64-3.4/vendor
creating build/temp.linux-x86_64-3.4/vendor/libbloom
creating build/temp.linux-x86_64-3.4/vendor/libbloom/murmur2
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Ivendor/libbloom/murmur2 -I/usr/include/python3.4m -c inbloom/inbloom.c -o build/temp.linux-x86_64-3.4/inbloom/inbloom.o
inbloom/inbloom.c:186:9: error: ‘Filter’ has no member named ‘ob_type’
self->ob_type->tp_free((PyObject*)self);
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Is there any other installation requirement?

Hi,
The issue is that we lack support for Python 3.
I don't think I'll be able to add Python 3 support soon. So your best options are either working with Python 2 (if that's possible) or provide a PR for Python 3 support.

Thanks for the quick answer. I tried to port the C extension following this guide (http://python3porting.com/cextensions.html) and could compile and install via pip, but when I import inbloom in Python 3 I end up stuck with the error "Segmentation fault", with no reference of the line causing the exception. Maybe I will try a pure Python Bloom Filter, and maybe make it compatible with your Java implementation, for portability.

Can you send us the ported diff, I'll try to debug it and see what happened.

@gabrielspmoreira I have submitted a PR to support Python3. It works in my local env. You can have a try if you want ^_^


Add host_openstack model

Adding host_openstack model for inventory collection purposes in
openstack_infra provider.

Should it be HostOpenstackInfra to make the model names consistent?

Interesting, "openstack" was already in the DEFAULT_PLATFORMS array in host.rb.  Probably residual from when openstack was originally added before cloud-infra split.
I'm not sure how these are used, but I'm guessing these need to match the ems name.  So, I guess:
  VENDOR_TYPES = {
    ...
    "openstack_infra" => "OpenStack"
    ...
  }

And, I guess the host subclass name should probably match the ems as well.  It's a little funny looking (HostOpenstackInfra).  However, it's possible that when we move to the new Provider/Manager class layout, this naming might get cleaned up a bit with namespacing?
So, HostOpenstackInfra may be fine for the immediate future.

I think HostOpenstack should not depend on provider.
You can have the same Ironic in Openstack provider and OpenStack infra provider.
I infer this from other models, e.g. we will be using FlavorOpenstack, not FlavorOpenstackInfra .
Or should we subclass all the models for infra usage? We are still using OpenStack, so I guess there should be no need.

I was thinking subclass all models for Infra usage to keep them siloed.  One reason is that operations like, say, creating a flavor may be different when created via infra vs created via cloud.
It's kind of misnamed, but I think the term Openstack (as in EmsOpenstack, HostOpenstack, etc) really should be OpenstackCloud.

Hm I would expect that model layer should be always the same, but I haven't checked how it is done in ManageIQ.
E.g. infra is sending usually more parameters when creating flavor, but that should not change the model implementation. Also creating infra flavor needs more api calls for adding extra specs
/v2/{tenant_id}/flavors/{flavor_id}/os-extra_specs
But I suspect that should be done somewhere in form handler/controller rather then model. Or am I wrong?
Somehow, it feels wrong to do different model implementations while working with the same remote proxy. :-) But I'll submit to the ManageIQ way, so we are consistent with the rest of the code. :-)

Also creating infra flavor needs more api calls for adding extra specs
/v2/{tenant_id}/flavors/{flavor_id}/os-extra_specs
But I suspect that should be done somewhere in form handler/controller rather then model. Or am I wrong?

I don't think we actually create any flavors in OpenStack today.  We only pick up what's already in OpenStack.  Unless you mean that we should be querying for existing flavors in a different way...

Right. Yeah I guess any example is good. :-) My point was, that we still talk to the same OpenStack, so enhancing one set of models could be better. Providers should just send different parameters. Otherwise we might end up having two models doing the same thing different way.
But we are starting very small, so we can look back and refactor later, if needed. :-)

@Ladas I've been thinking a lot about this and I agree with you.  Ultimately, the API of the cloud and infra are identical (right?), so the tables/models should be the same.
However, we may still need the provider specific subclasses, to appease other parts of the system.  For example, the VMs you end up creating would have to derive from VmInfra, not VmCloud, so you couldn't use VmOpenstack.  I'm really wondering if that Infra/Cloud middle layer in the middle should be done differently.
Also, I realized we're going to run into a lot of trouble in other areas.  For example, Infra stuff has no idea about things like Flavors and AvailabilityZones, but I assume those will be in OpenStack infra.  That will make things tricky, especially in the UI.
We might want to get together to see if we can 1) pin down these various sticking points 2) figiure out how to resolve them.
cc @blomquisg


Fix unused variable

Checklist

[ ] Closing issues:
[ ] Tests have been added or updated if necessary
[ ] Documentation has been updated

Description

Fix "variable ‘height’ set but not used" warning.

Thanks!

Thanks!


HDDS-8514. Improve ozone admin cert list subcommand count limits

What changes were proposed in this pull request?
Add a warning to the user when the list subcommand lists too few certificates that they should increase the batch size.
What is the link to the Apache JIRA
HDDS-8514
How was this patch tested?
Github actions show no test failures and tried out the command on a local cluster.

As discussed in DM, the method for the number of certs in the RocksDB column family has 2 problems: it's only giving back an estimated count and for OM certs it will cause problems. It's not worth trying to use it this way.

Yes, we agreed that it might cause more trouble than it solves. Thank you for updating the patch.
+1, pending CI.

Thanks @Galsza improving the message, and @fapifta for the code review.


Build process tries to overwrite openocd stub binaries in the esp-idf installation

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.4-dev-3602-ga97a7b0962
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Building a project doesn't try to modify part of the esp-idf installation
What is the actual behavior?
Build process tries to overwrite /opt/esp/idf/components/esp_system/openocd_stub_bins/... that the user has no access to
Steps to reproduce.
Using the espressif/idf:latest docker image, build https://github.com/nomis/candle-dribbler/releases/tag/0.7.3 with idf.py for either ESP32-C6 or ESP32-H2 as a non-root user.
The build will fail when it tries to overwrite part of the esp-idf installation at /opt/esp/idf/components/esp_system/openocd_stub_bins/stub_flash_idf_image.h
Build or installation Logs.
[2024-10-17T10:11:20.514Z] Activating ESP-IDF 5.4
[2024-10-17T10:11:20.514Z] * Checking python version ... 3.12.3
[2024-10-17T10:11:20.886Z] * Checking python dependencies ... OK
[2024-10-17T10:11:20.886Z] * Deactivating the current ESP-IDF environment (if any) ... OK
[2024-10-17T10:11:20.886Z] * Establishing a new ESP-IDF environment ... OK
[2024-10-17T10:11:21.259Z] * Identifying shell ... sh
[2024-10-17T10:11:21.259Z] * Detecting outdated tools in system ... OK - no outdated tools found
[2024-10-17T10:11:21.259Z]
[2024-10-17T10:11:21.259Z] Done! You can now compile ESP-IDF projects.
[2024-10-17T10:11:21.259Z] Go to the project directory and run:
[2024-10-17T10:11:21.259Z]
[2024-10-17T10:11:21.259Z]   idf.py build
[2024-10-17T10:11:21.259Z] + idf.py --version
[2024-10-17T10:11:23.746Z] ESP-IDF v5.4-dev-3602-ga97a7b0962
[2024-10-17T10:11:23.746Z] + idf.py set-target esp32c6
[2024-10-17T10:11:24.547Z] Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
[2024-10-17T10:11:24.547Z] Executing action: fullclean
[2024-10-17T10:11:24.547Z] Build directory '/home/jenkins/agent/workspace/candle-dribbler_main/build' not found. Nothing to clean.
[2024-10-17T10:11:24.547Z] Executing action: set-target
[2024-10-17T10:11:24.547Z] Set Target to: esp32c6, new sdkconfig will be created.
[2024-10-17T10:11:24.547Z] Running cmake in directory /home/jenkins/agent/workspace/candle-dribbler_main/build
[2024-10-17T10:11:24.547Z] Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/opt/esp/python_env/idf5.4_py3.12_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32c6 -DCCACHE_ENABLE=1 /home/jenkins/agent/workspace/candle-dribbler_main"...
[2024-10-17T10:11:24.547Z] -- Found Git: /usr/bin/git (found version "2.43.0")
[2024-10-17T10:11:26.627Z] -- ccache will be used for faster recompilation
[2024-10-17T10:11:26.627Z] -- The C compiler identification is GNU 14.2.0
[2024-10-17T10:11:26.627Z] -- The CXX compiler identification is GNU 14.2.0
[2024-10-17T10:11:26.627Z] -- The ASM compiler identification is GNU
[2024-10-17T10:11:26.627Z] -- Found assembler: /opt/esp/tools/riscv32-esp-elf/esp-14.2.0_20240906/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
[2024-10-17T10:11:27.029Z] -- Detecting C compiler ABI info
[2024-10-17T10:11:27.029Z] -- Detecting C compiler ABI info - done
[2024-10-17T10:11:27.029Z] -- Check for working C compiler: /opt/esp/tools/riscv32-esp-elf/esp-14.2.0_20240906/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
[2024-10-17T10:11:27.029Z] -- Detecting C compile features
[2024-10-17T10:11:27.029Z] -- Detecting C compile features - done
[2024-10-17T10:11:27.029Z] -- Detecting CXX compiler ABI info
[2024-10-17T10:11:27.029Z] -- Detecting CXX compiler ABI info - done
[2024-10-17T10:11:27.029Z] -- Check for working CXX compiler: /opt/esp/tools/riscv32-esp-elf/esp-14.2.0_20240906/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
[2024-10-17T10:11:27.029Z] -- Detecting CXX compile features
[2024-10-17T10:11:27.029Z] -- Detecting CXX compile features - done
[2024-10-17T10:11:27.029Z] -- Building ESP-IDF components for target esp32c6
[2024-10-17T10:11:27.428Z] NOTICE: Current idf-component-manager default lock file version is 2.0.0, but found 1.0.0 in /home/jenkins/agent/workspace/candle-dribbler_main/dependencies.lock.esp32c6.  Contents:
[2024-10-17T10:11:36.528Z] *******************************************************************************
[2024-10-17T10:11:36.528Z] # ESP-IDF Partition Table
[2024-10-17T10:11:36.528Z] # Name, Type, SubType, Offset, Size, Flags
[2024-10-17T10:11:36.528Z] phy_init,data,phy,0x9000,4K,
[2024-10-17T10:11:36.528Z] zb_fct,data,fat,0xa000,4K,
[2024-10-17T10:11:36.528Z] otadata,data,ota,0xc000,8K,
[2024-10-17T10:11:36.528Z] nvs,data,nvs,0xe000,48K,
[2024-10-17T10:11:36.528Z] zb_storage,data,fat,0x1a000,152K,
[2024-10-17T10:11:36.528Z] coredump,data,coredump,0x40000,256K,
[2024-10-17T10:11:36.528Z] spiffs,data,spiffs,0x80000,1536K,
[2024-10-17T10:11:36.528Z] factory,app,factory,0x200000,2M,
[2024-10-17T10:11:36.528Z] app0,app,ota_0,0x400000,2M,
[2024-10-17T10:11:36.528Z] app1,app,ota_1,0x600000,2M,
[2024-10-17T10:11:36.528Z] *******************************************************************************
[2024-10-17T10:11:36.528Z] ninja: build stopped: subcommand failed.
[2024-10-17T10:11:36.927Z] ninja failed with exit code 1, output of the command is in the /home/jenkins/agent/workspace/candle-dribbler_main/build/log/idf_py_stderr_output_527 and /home/jenkins/agent/workspace/candle-dribbler_main/build/log/idf_py_stdout_output_527
[2024-10-17T10:11:36.927Z] + exit 1

More Information.
The last successful build was with v5.4-dev-3489-g6e5a178b31 and it looks like f4eec4da48502ce725d6e74f5b5d9c8237aa7abf is the change that broke it.

We have merged the fix for this yesterday, it should appear on GitHub upon next sync. Sorry for the inconvenience.

Fix is merged.


Color correction scene map focus

Zoom into area around the scene (using footprint)
Raise Z order

Closed by #792


Fix all code warnings

Fixed all coding warnings when running mvn clean package appassembler:assemble
No more coding warnings now!

@borislin #332 has been merged. This one next!

@lintool any more comments?


Store terms for amenities into the database

To enable searching, we need to know search terms for each amenity. That way it would be faster to search.

Subtask of #75, no need to track separately.