Support additonal Maven repositories for kamel local build

it seems that kamel local build is not supporting additional Maven repositories.
I tried:

modifying local .m2/settings.xml
modifying camel-k-maven-settings config map
providing --maven.repository parameter on command-line

see https://camel.zulipchat.com/#narrow/stream/257299-camel-k/topic/Additional.20Maven.20repositories.20with.20kamel.20local.20build
it is preventing from using snapshot versions of Camel K.

I've been able to run kamel local build with the Apache snapshots repository using the --maven-repository option, e.g.:
$ kamel local build --maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots --integration-directory=test examples/rest/routes-rest.js

Mind that it's  --maven-repository, not  --maven.repository, and that the repository must be declared with @snapshots, as documented in https://camel.apache.org/camel-k/latest/configuration/maven.html#_maven_settings.

still not working for me:
(base) [apupier@linux camel-k]$ ./kamel local build --maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots --integration-directory "/home/apupier/.config/Code/User/globalStorage/redhat.vscode-camelk/java-dependencies-3.7.0" "/home/apupier/ws/camelk-test/Routing.java"
Modeline options have been loaded from source files
Full command: kamel local build --maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots --integration-directory /home/apupier/.config/Code/User/globalStorage/redhat.vscode-camelk/java-dependencies-3.7.0 /home/apupier/ws/camelk-test/Routing.java --dependency=mvn:com.github.camel-tooling/camel-lsp-server
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.apache.camel.k:camel-k-loader-java:jar is missing. @ line 36, column 17
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.camel.k.integration:camel-k-integration:1.4.0-SNAPSHOT (/tmp/maven-751781982/pom.xml) has 1 error
[ERROR]     'dependencies.dependency.version' for org.apache.camel.k:camel-k-loader-java:jar is missing. @ line 36, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
failure while building project: exit status 1

but we can notice that there is one less dependency which is not found
'dependencies.dependency.version' for org.apache.camel.k:camel-k-runtime:jar is missing. @ line 44, column 17 compared to what i reported initially

failing also when using a js file

another try and it worked...
(base) [apupier@linux camel-k]$ ./kamel local build --maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots --integration-directory "/home/apupier/.config/Code/User/globalStorage/redhat.vscode-camelk/java-dependencies-3.7.0" "/home/apupier/ws/camelk-test/Routing.java"

@apupier Did you get any other issues, or is it ok to close this?

still in progress (issue on VS Code side currently) but the specific issue that I reported is solved so I'm closing it. Thanks for the help!


remove compiler pins as these are no longer needed

Checklist before submitting

[ ] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Requires - open-ce/open-ce#501
Remove compiler pins as these are no longer required now, since we are moving to GCC 7.5 on x86.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Closing this one, as this is covered in https://github.com/open-ce/grpc-cpp-feedstock/pull/6


fix master CI of sqllogicaltest

Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

duplicated #7083


fix error pages

Pull Request for Linkarooie
Summary
Provide a brief description of the changes made in this PR. Include the purpose and key points.
Changes

What was added/changed?
Why is this necessary?

Testing

How did you test your changes?
Any specific instructions for testing?

Checklist

[ ] Code follows project guidelines.
[ ] Changes have been tested.
[ ] Relevant documentation has been updated.

Additional Notes
Anything else reviewers should know? Mention here.

https://github.com/loftwah/linkarooie/issues/110


Vsync doesn't work on macOS 12

https://github.com/glfw/glfw/issues/1990

I found a temporary solution: don't use presentsWithTransaction.


Cannot set Unity3D installation on Jenkins 2.15

Is this plugin compatible with Jenkins 2? When I try to configure a "Permanent Agent" in Jenkins 2.15, there is no Unity3d configuration option to be found. In Manage Jenkins>Configure System, the only Unity3d configuration option is "Global argLine"

Configuration is now under "Global Tool Configuration"
https://issues.jenkins-ci.org/browse/JENKINS-35241


Send DM to user as link?

I'm sending dm to user with this library. Normally when we send link from instagram app, its clickable and has link title and image etc. But when I send linkl from this library, link is sent as plain text.
This is my code:
const { IgApiClient } = require('instagram-private-api');

(async () => {
  var username = "username";
  var password = "password";
  const ig = new IgApiClient();
  ig.state.generateDevice(username);
  await ig.simulate.preLoginFlow();
  const auth = await ig.account.login(username, password);
  const userId = await ig.user.getIdByUsername(otherUserUsername');
  const thread = ig.entity.directThread([userId.toString()]);
  await thread.broadcastText('some link like https://www.example.com/');
})();

How can I send link as link and not as plain text?

Ok. Receiver has to accept message request in order to see link as link.


Get SQLite manifest

Search through JUMP data on Cell Painting gallery (https://cellpainting-gallery.s3.amazonaws.com/index.html#cpg0016-jump/) to obtain full paths to SQLite files

going to merge! thanks again @d33bs


Updates from rspec-dev (2020-12-25)

These are some updates, generated from rspec-dev's rake tasks.

(Wrong command)


infected files

I think the MetaHookSv-windows-x86.zip is infected with a virus, when I download the file, my windows defender blocks the download and says it is a trojan. this happens with all versions. please check it out

I think the MetaHookSv-windows-x86.zip is infected with a virus, when I download the file, my windows defender blocks the download and says it is a trojan. this happens with all versions. please check it out

false positive from the retard Micro$oft defender.


Calling a ShedLocked method from another method in the same Class

Hi
My Class looks like this:
@EnableSchedulerLock(mode = PROXY_METHOD)
Class a {

    @SchedulerLock
    public void method1() {
        // work
    }
    public void method2() {
         method1();
    }
}

Calling method1 from outside will lock method1 But calling method2 will not lock method1. Is this correct behaviour?
I'm using Spring Boot 2.1.3.
Thanks

Hi, you can say it's intentional. It's using Spring AOP proxy mechanism that works like this. Just out of curiosity, why are you using PROXY_METHOD?

Scheduled method can be called manually so I want to ensure there is not conflict. Anyway thank you for your great job.

I have similar scenario Calling updateSession() from outside will lock , But calling getToken() will not lock updateSession().
@EnableSchedulerLock()
class SessionService {
Session session;
@SchedulerLock(name = "token-generation", lockAtLeastFor = "${configuration.getTokenSchedLockAtLeastFor}", lockAtMostFor = "${configuration.getTokenSchedLockAtMostFor}")
public void updateSession() {
//  work to get new session id db
}
public session getToken() {
if (Sessiontoken expired){
updateSession();
return session;
}
}
}
updateSession() method will create or update session record in DB . Session expires at every 60 seconds. So when updateSession() is called during session expire only one instance of service should create/update/delete session record otherwise throwing up duplicateKeyException. I need this schedlock to work.
Because its intentional as locking working not  when called updateSession()  from  same class method updateSession() via getToken() , I have provided work around as below
@EnableSchedulerLock()
class SessionService {
Session session;
@SchedulerLock(name = "token-generation", lockAtLeastFor = "${configuration.getTokenSchedLockAtLeastFor}", l ockAtMostFor="${configuration.getTokenSchedLockAtMostFor}")
public void updateSession() {
// work to get new session id db
}
}
class SessionManager {
priavte SessionService;
sessionService;
public void getToken() {
if (Sessiontoken expired ){
sessionService.updateSession();
}
}
}
This workaround works , hoever team is rejecting this workaround as we are only exposing updateSession in Class SessionService , and adding one more class SessionManager ,  by design classes of its wrong.
How do I go ahead and fix this solution with SchedulerLock here ? Please suggest if its possible to achieve this via SchedulerLock or any other approach.


Quickstart procedure fails in official python:3.7 container

The installation procedure and the basic usage example[0] are incompatible with environment of the official python:3.7 container image[1] pulled from docker hub.
The guide misses crucial step, installation of the chatterbot-corpus.
Without it the example fails, on the very first line.
Trace:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/site-packages/chatterbot/init.py", line 4, in
from .chatterbot import ChatBot
File "/usr/local/lib/python3.7/site-packages/chatterbot/chatterbot.py", line 2, in
from chatterbot.storage import StorageAdapter
File "/usr/local/lib/python3.7/site-packages/chatterbot/storage/init.py", line 1, in
from chatterbot.storage.storage_adapter import StorageAdapter
File "/usr/local/lib/python3.7/site-packages/chatterbot/storage/storage_adapter.py", line 3, in
from chatterbot.tagging import PosLemmaTagger
File "/usr/local/lib/python3.7/site-packages/chatterbot/tagging.py", line 3, in
import spacy
ModuleNotFoundError: No module named 'spacy'
Different error, although with presumably the same cause, is present if the example is initiated in fresh Python 3.8.10 venv.
Trace:
Traceback (most recent call last):
File "", line 1, in
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/init.py", line 4, in
from .chatterbot import ChatBot
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/chatterbot.py", line 2, in
from chatterbot.storage import StorageAdapter
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/storage/init.py", line 1, in
from chatterbot.storage.storage_adapter import StorageAdapter
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/storage/storage_adapter.py", line 3, in
from chatterbot.tagging import PosHypernymTagger
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/tagging.py", line 4, in
from chatterbot.tokenizers import get_sentence_tokenizer
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/tokenizers.py", line 4, in
from chatterbot.corpus import load_corpus, list_corpus_files
File "/home/user/tmp/chatbot/lib/python3.8/site-packages/chatterbot/corpus.py", line 5, in
from chatterbot_corpus.corpus import DATA_DIRECTORY
ModuleNotFoundError: No module named 'chatterbot_corpus'
The procedure outlined in the Quickstart guide[2], when conducted in the aforementioned environments, fails with the same errors. Both Quickstart guide and the example in the README, are compromised by this issue, and require additional effort to be successfully completed.
As these are, presumably, the most simple and straightforward demonstrations of the engine usage, they most likely represent the first experience of new users and developers. As of now, however, that experience is hardly ideal, and is in fact confusing.
While the ideal situation would be the engine pulling all of it's dependencies at install time, various reasons exist why that can not be done. The next best thing however, specifying how to exactly fulfill those requirements, is feasible, and should be implemented.
[0]https://github.com/gunthercox/ChatterBot#basic-usage
[1]https://hub.docker.com/layers/python/library/python/3.7/images/sha256-b6423e4fb45ba152885b613a01fad92b6b3aa40d6e8906e27d9055eda8bcfc3b
[2]https://chatterbot.readthedocs.io/en/stable/quickstart.html

Do you have spacy and chatterbot-corpus modules installed? If not, do pip install chatterbot-corpus and pip install spacy in CMD. Spacy should be automatically installed though.

That might solve your issue, but this should be included in the requirements file.


sideEffect: false, stops webpack importing css

Describe the issue/behavior that seems buggy

In 11.5.0, sideEffects: false was added to the package.json. This has stopped the styles being imported by webpack which now sees it as an unused zero side effect file. See https://github.com/webpack-contrib/mini-css-extract-plugin/issues/102#issuecomment-384947142.

History #3396. @shakyShane Any thoughts?  Do we instead need something like sideEffects: ["*.css"]?  I'm not really familiar with this in detail.

could I get a 11.5.1 release just with this change please? everyone who uses webpack (the most popular build tool) for their website that upgrades highlight.js will brake their site.

Pushing 11.5.1 now.

Confirming that the fix is working 🎉


Latency calculations are missing info / incorrect?

I've been investigating ALVR w/ my Oculus Quest and trying to reduce latency. However, one issue I've found is the total latency reported isn't the same as adding up the individual latencies. Some typical numbers for me are: Encode latency is around 8.3ms, Transport Latency is 5.7ms, and decode latency is 18.9ms for a total of 32.9ms. However, the total latency is 66.5ms, meaning there's a missing 33.6ms. Does anyone know where that is coming from? Does the transport latency include all Wifi latency, or is that where the missing lag is coming from?
If I switch to a really low 25% resolution, then the encode/transport/decode latencies only add up to about 12ms, yet the total latency is around triple that at 33ms. It would be very useful to understand if there is simply missing latency not accounted for or if this is a bug.

Here is my take on the different latency measure, @polygraphene should be able to confirm/complete.
Latency is computed in client (AlvrClient).
TotalLatency
Each time tracking information are sent (ovrContext.fetchTrackingInfo), there is a FrameIndex which is incremented. This will be the key for all latency computation, and ovrContext.fetchTrackingInfo will also mark the beginning of the TotalLatency.
So TotalLatency = Submit - Tracking, where submit is after vrapi_SubmitFrame (i.e. after rendering)
EncodeLatency
? (I didn't dig a lot in the alvr server side).
TransportLatency
TransportLatency = ReceivedLast - EstimatedSent
We can't timestamp server side just before sending packets and use this timeStamp client side to determine how much time we spent in the network. The clock isn't synchronized enough between client and server (i think NTP exists and is used on Android, but we can have several ms of difference between pc clock and android).
So transport latency has to be adjusted. This is done I think with a (pingpong time)/2 with the ALVR_PACKET_TYPE_TIME_SYNC packets.
EstimatedSent is the send estimation of the first packet of the frame.
ReceivedLast is after we have been able to reconstruct frame (so after we received the last udp packet for a NAL).
DecodeLatency
DecodeLatency = DecoderOutput - DecoderInput
DecoderInput is when NAL is pushed to MediaCodec, and DecoderOutput is when MediaCoder has finished :)
Summary
So what is the difference between the TotalLatency and the sum(DecodeLatency, EncodeLatency, TransportLatency) :

Server-side: Capture latency
Server-side: FEC encoding ?
Client-side: copy of NAL from c++ to java
Client-side: Part of rendering latency
?

Is remaining latency mostly in client side or in server side ? No clue right now.

I'm sorry I didn't reply.
@GregGodin Thank you for good explanation! That is totally correct.
Encoding means video encoding by NvEnc or AMD VCE. It is measured on server.
Following steps are taken.

Client: fetchTrackingInfo
Client: Send it to server
Server: Send it to SteamVR
Server: Get rendered image from game
Server: Encoding it --- start EncodeLatency
Server: Encode end --- end EncodeLatency
Server: Send encoded packets --- start TransportLatency
Client: Receive all packets --- end TransportLatency
Client: Decode start --- start DecodeLatency
Client: Decode end --- end DecodeLatency
Client: Buffering
Client: Submit(Wait VSync)

Missing latency is from 1-5 and 11-12.
TotalLatency is since get your head position until image is rendered.
It still has missing latency, but you can assume TotalLatency is nearly close to your perceptual latency.

FEC encoding time was negligible, so I ignored it.
My estimation about missing latencies:
1-5: 10~20ms?
11-12: 0~24ms (at most 2frame)

Thank you @GregGodin and @polygraphene. It is interesting that the latencies of steps 1-5 and 11-12 can exceed the latencies of 5-10. I'm completely estimating here, but let's take my scenario on my RTX2070:
We know:
Encode latency = 8.3ms
Transport Latency is 5.7ms,
Decode latency is 18.9ms
Total latency is 66.5ms
Estimates:
Client: fetchTrackingInfo  ~1-2ms
Client: Send it to server - 1/2 the transport latency (~3ms)
Server: Send it to SteamVR - <1ms
Server: Get rendered image from game - possibly significant based on frame timing, i.e., up to 14ms?
Server: Encoding it --- start EncodeLatency
Server: Encode end --- end EncodeLatency - 8.3ms
Server: Send encoded packets --- start TransportLatency
Client: Receive all packets --- end TransportLatency - 5.7ms
Client: Decode start --- start DecodeLatency
Client: Decode end --- end DecodeLatency - 18.9ms
Client: Buffering
Client: Submit(Wait VSync) - 14-28ms
Total adds up to: 50 - 81ms (lower and upper bounds)
Based on these numbers I see the refresh rate of the headset significantly increases perceived latency over wifi. On something like a Valve index @144hz you could potentially cut 10-20ms off total latency just due to the faster refresh (assuming your graphics card could pump out the FPS and you don't saturate the bandwidth).

Thanks for the details.
There is one thing that bug me off with the total latency.
Tracking is on its own thread/timer, ticking every frame (1/75s), and I think that's receiving tracking is not a trigger on the server for the rendering which has its own timer and will use the last knwon tracking.
So am i right to say that in the worst case, we can end-up using tracking informations that are one frame late.
Wouldn't it make more sense to update tracking very frequently (every ms for instance) ?

@GregGodin In Quest alpha5, I used 200Hz for tracking frequency.
https://github.com/polygraphene/ALVRClient/blob/v2.4.0-alpha5/app/src/main/java/com/polygraphene/alvr/TrackingThread.java#L11
And I will change it to display refresh rate * 3 in next release.
For example, When on 72Hz, use 72*3=216Hz (every 4~5ms).


1 add a web framework

The branch as it currently stands gets the web framework going with login flow.
Improvements such as doing some tests will come in the next feature


Wrap test in an errand

https://github.com/logsearch/logsearch-boshrelease#testing references a command to run to run some tests.
Could this be packaged into the bosh release (which would have the dependencies & configuration) as an errand?

Great idea - I think it probably could. I'm currently working on setting up some Concourse pipelines for this repo and this sort of errand might be very useful there, too.
I'll be sure to comment here if/when I make progress - unless you magically beat me to it with a PR :)

I tried running the task manually but got a DNS error or something. Do I just place in the IPs of the API & ingestor? (Which didn't work) or how do I reference them?
On Thu, Jun 4, 2015 at 2:37 PM, Danny Berger<EMAIL_ADDRESS>wrote:

Great idea - I think it probably could. I'm currently working on setting up some Concourse pipelines for this repo and this sort of errand might be very useful there, too.
I'll be sure to comment here if/when I make progress - unless you magically beat me to it with a PR :)
Reply to this email directly or view it on GitHub:
https://github.com/logsearch/logsearch-boshrelease/issues/132#issuecomment-109061476

Erm, so I think that command is referring to the spec directory which is more than a year old and I've never actually used, so I'm going to guess that command, at least, is broken and out of date. It's one reason we're trying to get a pipeline setup properly.
For what it's worth, when making changes I've simply been manually testing the basic pipeline against a bosh-lite deploy using my system's log files and manually checking they end up at <IP_ADDRESS>. I use the following steps to ship those logs:
$ cd examples/certificates/ingestor-20141217a
$ ../../../spec/bin/mac/logstash-forwarder -config ../../bosh-lite/logstash-forwarder.json

@mrdavidlaing, I think you've worked with these particular spec tests more if you have any other ideas.

@drnic, @dpb587 - I wrote these tests way back in the beginning of time when I did the logsearch-boshrelease POC.
Since we never got a build pipeline in place they fell out of use; and should definately be considered as
(a) broken and (b) probably not worth resurrecting.
I think a bosh errand to run some tests is an excellent idea; and propose that we remove these old specs in favour of that approach.
@dpb587 - FWIW, logstash-forwarder is about to be depreciated by Elastic in favour of a file "beat"; I propose that we should rather base the tests on the rsyslog included with BOSH stemcells.

I've created [my first] errand for a simple end to end test which ships, parses, and queries. I updated the README with usage information, but with bosh-lite it looks like:
$ bosh -d examples/bosh-lite.yml run errand test_e2e_errand
...snip...
==> Validating results...
SUCCESS

Feel free to critique/improve/discuss it further here or in a new issue. And thanks for the motivation.


Event "web_app_set_background_color" works incorrectly

Describe the bug
It seems like web_app_set_background_color works incorrectly on Android. In case, you call this method, visually, nothing happens. But if you close this Web App and open again, you will see set color unless application is loaded.
Firstly, set color should probably be dropped when application was closed. Secondly, could we make WebView background transparent to make it work as expected? I mean, we would like HTML body to be transparent to see previously specified color, is it possible?
To Reproduce
Steps to reproduce the behavior:

Open Web Apps polygon bot (source code)
Open developers tools
Call Web Apps method:

bridge.postEvent('web_app_set_background_color', {color: '#ffffff'});

See no changes in background even when body has no color specified
Close application
Open application again. See white background color when application is loading
When application is loaded, specified color disappears

Expected behavior
Background color is being set with color specified in method. Specified color is dropped when application was closed.

Reported this issue in https://t.me/BugReports as long as could not find any other compatible source.


Refresh sensor status

Too slow. Is any option to change that ? Sensor state is changing only when Homekit app re-read accessories.

Please post your config here.

just simple config - for experiments.
"accessories": [
{
"accessory": "GPIODevice",
"name": "Front Door",
"inverted": true,
"type": "ContactSensor",
"pin": 4
}
physically NO-sensor with magnet(physical Pin on one side and 3.3V other side). Sensor in Homebridge - changing status only when i refresh current sensor states. i.e. homescreen HomeApp, move out magnet, contact is open - status not changed until i go for room section - status changed.

Can you try to define "postpone" option to 1
It's a timer to avoid bouncing actually set to 100ms but it's quite low and should not be responsible of slowness.
And pin changes must be notified immediately. Did you activate notification in Home for this device ?

Try. Status refreshed faster but not automatically. I use GUI for Homebridge - https://github.com/oznu/homebridge-config-ui-x so you can repeat that. When i toggle contacts - nothing is changed until i go to any section(status instead, and back to accessory again)

Repeat issue in ios HomekitApp. Status is changing when you close app and open it again.

There was an issue with push updates since the unbouncing feature. That's fix in the last release. Can you update and test please.

Works fine. Romain, thanks!

Hi,
Be carefull in the next release 0.3.2 input sensor are now pulled-up. So you will need to change the wiring to plug it to GND instead of 3.3V.
I made this modification to avoid errors as pull-up logic is more common.


[HUDI-1883] Support Truncate Table For Hoodie

What is the purpose of the pull request
Support truncate table for hoodie
Brief change log

Add TruncateHoodieTableCommand to re init hoodie table after truncate.

Verify this pull request

Add TestTruncateTable

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #3098 (7f74a44) into master (8b0a502) will decrease coverage by 42.57%.
The diff coverage is n/a.

:exclamation: Current head 7f74a44 differs from pull request most recent head 741b3ee. Consider uploading reports for the commit 741b3ee to get more accurate results

@@             Coverage Diff              @@
##             master   #3098       +/-   ##
============================================
- Coverage     45.76%   3.18%   -42.58%
+ Complexity     5263      82     -5181
============================================
  Files           909     272      -637
  Lines         39357   10500    -28857
  Branches       4239    1070     -3169
============================================
- Hits          18010     334    -17676
+ Misses        19504   10140     -9364
+ Partials       1843      26     -1817

Flag
Coverage Δ

hudicli
?

hudiclient
0.00% <ø> (-30.40%)
:arrow_down:

hudicommon
?

hudiflink
?

hudihadoopmr
?

hudisparkdatasource
?

hudisync
6.79% <ø> (-44.66%)
:arrow_down:

huditimelineservice
?

hudiutilities
10.00% <ø> (-46.68%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Unexpected failed check for negative left shift operand

Apologies in advance if this is intended behavior! I couldn't find any previous discussion of this.
I was playing around with Kani and the chrono crate when I encountered "Failed Checks: shift operand is negative". It seems chono's internals use a packed representation for dates that involves left shifting i32 years.
I tried this code in a blank project:
fn main() {}

#[cfg(kani)]
#[kani::proof]
fn proof() {
    let n: i32 = -16;
    let s: u8 = kani::any();
    kani::assume(s == 1);
    let _ = n << s;
}

using the following command line invocation: cargo kani
with Kani version: 0.25.0
I expected to see this happen: My understanding is that left shifting a negative integer is well-defined safe behavior in Rust. I wouldn't expect there to be any failed checks (at least not without an overflow).
Instead, this happened: "Failed Checks: shift operand is negative"

Hi @reisnera, thank you for reporting this issue. I believe you are correct, and that is not a UB in Rust, not even for the unsafe version (https://doc.rust-lang.org/std/primitive.i8.html#method.unchecked_shl):

This results in undefined behavior if rhs is larger than or equal to the number of bits in self, i.e. when checked_shl would return None.

or the intrinsic (https://doc.rust-lang.org/std/intrinsics/fn.unchecked_shl.html):

resulting in undefined behavior when y < 0 or y >= N, where N is the width of T in bits.

Just to double check, the Rust compiler emits a shl instruction without nuw (No Unsigned Wrap), so the UB definition is only for overflow:
unsafe { n.unchecked_shl(s) }

Becomes:
start:
  %_6 = icmp ult i32 %s, 128
  %_8 = trunc i32 %s to i8
  tail call void @llvm.assume(i1 %_6)
  %0 = shl i8 %n, %_8
  ret i8 %0
}

Note: We should probably disable the CBMC flag --undefined-shift-check  and implement the intrinsic safety check.

@celinval I'd love to take a crack at fixing this if someone could point me in the right direction! I can see where the CBMC flag comes into play, but I took a look and wasn't able to figure out where an intrinsic safety check would be implemented. I don't know if someone would be willing to mentor me on this a bit?

Hi @reisnera. Apparently, this no longer fails starting Kani version 0.28.0 (most likely due to the rust toolchain update).
Can you confirm, and if so close the issue?

This is the output with latest Kani version:
$ kani --version
kani 0.32.0
$ kani iss2374.rs
warning: function `main` is never used
 --> iss2374.rs:1:4
  |
1 | fn main() {}
  |    ^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: 1 warning emitted

Checking harness proof...
CBMC 5.88.0 (cbmc-5.88.0)
CBMC version 5.88.0 (cbmc-5.88.0) 64-bit x86_64 linux
Reading GOTO program from file /home/ubuntu/examples/iss2374/iss2374__RNvCsdGhiXr5gtK7_7iss23745proof.out
Generating GOTO Program
Adding CPROVER library (x86_64)
Removal of function pointers and virtual functions
Generic Property Instrumentation
Running with 16 object bits, 48 offset bits (user-specified)
Starting Bounded Model Checking
Runtime Symex: 0.000965481s
size of program expression: 53 steps
slicing removed 21 assignments
Generated 2 VCC(s), 2 remaining after simplification
Runtime Postprocess Equation: 2.5081e-05s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.000101063s
Running propositional reduction
Post-processing
Runtime Post-process: 5.56e-06s
Solving with MiniSAT 2.2.1 with simplifier
20 variables, 34 clauses
SAT checker: instance is SATISFIABLE
Runtime Solver: 5.7251e-05s
Runtime decision procedure: 0.000201634s
Running propositional reduction
Solving with MiniSAT 2.2.1 with simplifier
20 variables, 0 clauses
SAT checker inconsistent: instance is UNSATISFIABLE
Runtime Solver: 1.015e-05s
Runtime decision procedure: 2.0421e-05s

RESULTS:
Check 1: proof.assertion.1
         - Status: SUCCESS
         - Description: "attempt to shift left with overflow"
         - Location: iss2374.rs:9:13 in function proof

SUMMARY:
 ** 0 of 1 failed

VERIFICATION:- SUCCESSFUL
Verification Time: 0.018046124s

Complete - 1 successfully verified harnesses, 0 failures, 1 total.

Never mind: naming the variable brings back the issue:
$ diff iss2374.rs iss2374_mod.rs
9c9
<     let _ = n << s;
---
>     let x = n << s;

$ kani iss2374_mod.rs
...
RESULTS:
Check 1: proof.assertion.1
         - Status: SUCCESS
         - Description: "attempt to shift left with overflow"
         - Location: iss2374_mod.rs:9:13 in function proof

Check 2: proof.undefined-shift.1
         - Status: SUCCESS
         - Description: "shift distance too large"
         - Location: iss2374_mod.rs:9:13 in function proof

Check 3: proof.undefined-shift.2
         - Status: FAILURE
         - Description: "shift operand is negative"
         - Location: iss2374_mod.rs:9:13 in function proof

SUMMARY:
 ** 1 of 3 failed
Failed Checks: shift operand is negative
 File: "/home/ubuntu/examples/iss2374/iss2374_mod.rs", line 9, in proof

VERIFICATION:- FAILED
Verification Time: 0.020628411s

With that said, if you'd like to try implementing this (thanks for offering!), the entry point should be this line of code:
https://github.com/model-checking/kani/blob/a27905f2e275ea7fb929d7567c2c62d7fefd02d7/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs#L349
The overflow checks should be implemented there. You can take a look at how other overflow checks are implemented, e.g.
https://github.com/model-checking/kani/blob/a27905f2e275ea7fb929d7567c2c62d7fefd02d7/kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs#L416

@celinval I'd love to take a crack at fixing this if someone could point me in the right direction! I can see where the CBMC flag comes into play, but I took a look and wasn't able to figure out where an intrinsic safety check would be implemented. I don't know if someone would be willing to mentor me on this a bit?

Sweet! I can help you. As @adpaco-aws

So I've been working on this and I think I've accomplished it. I did have to also implement checks for the simd shift intrinsics as well because that broke when I removed the CBMC flag. I'm just updating/adding some tests now but should have a pull request ready in the near future. I do have a couple random questions:

I'm using PropertyClass::ArithmeticOverflow for the excessive shift distance checks, but should the check for negative shift distance use that or PropertyClass::SafetyCheck?
Should I be using codegen_assert_assume for all these checks? That's what I did but I also know that codegen_assert is an option.

I feel pretty good about the binop but I'm curious if the way I implemented the simd shift intrinsic checks is correct.

1. I'm using PropertyClass::ArithmeticOverflow for the excessive shift distance checks, but should the check for negative shift distance use that or PropertyClass::SafetyCheck?

Tbh, both would be correct. ArithmeticOverflow is the most precise, so I would also use that.

2. Should I be using codegen_assert_assume for all these checks? That's what I did but I also know that codegen_assert is an option.

Yes!

I feel pretty good about the binop but I'm curious if the way I implemented the simd shift intrinsic checks is correct.

It's probably easier to discuss this once you have a PR out. If you are not confident, maybe add a few tests to ensure it behaves as expected.

Ok actually another question related to tests: there's a fixme test related to SIMD, however the kani-fixme folder appears to just symlink to the kani subfolder of tests so now I'm confused...
Edit: actually nevermind, I think the fixme testing only depends on the filename, but correct me if I'm wrong!

Yes, the fixme tests only depend on the name of the rust file. :)

@reisnera you might want to check if your changes will also fix: https://github.com/model-checking/kani/issues/1963
Thanks!


fix #312 and add spaces to some list printing

closes #312
adds spaces to list printing when vy_str and vy_repr is called.

this should be followed by a PR of main into prod btw


Automatically retry failed objects

This checks if weaviate returns errors for any object in a batch and retries to add them.
You can give error messages that should be retried (and all others ignored) or errors that should be ignored (and all others retried). You can either give errors to ignore or to retry.
The client will check if the given error message is part of the message returned by weaviate, eg "Super long error message with cryptic content dgDg4wf" will be matched by "cryptic content".
How to use:
retry all errors:
    with client.batch(
        weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3]),
    ) as batch:

exclude some errors:
    with client.batch(
        weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3, errors_to_exclude=["Ignore me", "other error to ignore"]),
    ) as batch:

include some errors:
    with client.batch(
        weaviate_error_retries=WeaviateErrorRetryConf(number_retries=3, errors_to_include=["error to retry", "other error to test again"]),
    ) as batch:

Codecov Report
Base: 96.93% // Head: 97.00% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (444266b) compared to base (92c3872).
Patch coverage: 98.87% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
+ Coverage   96.93%   97.00%   +0.07%
==========================================
  Files          67       69       +2
  Lines        6818     6980     +162
==========================================
+ Hits         6609     6771     +162
  Misses        209      209

Flag
Coverage Δ

unittests
97.00% <98.87%> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

weaviate/util.py
97.98% <87.50%> (+0.68%)
:arrow_up:

weaviate/batch/crud_batch.py
91.20% <98.33%> (+1.03%)
:arrow_up:

mock_tests/conftest.py
100.00% <100.00%> (ø)

mock_tests/test_automatic_retries.py
100.00% <100.00%> (ø)

weaviate/exceptions.py
96.00% <100.00%> (+0.76%)
:arrow_up:

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.

@dirkkul I think that all of this could be solved on Weaviate side if we can provide additional config to batches like replace_if_exists. So something like this:
#batch payload for objects
{
   "replace_if_exists": True, # True will be the current behaviour and False will skip the ones that already exist (maybe will return a message)
   "fields": ["ALL"],
   "objects": [...]
}

Something similar for references.

@dirkkul I think that all of this could be solved on Weaviate side if we can provide additional config to batches like replace_if_exists. So something like this

But then users (or us) would have to create a callback that resends the complete batch? I don't think that would be that much less work on the client side, but would need changes to weaviate and its public API
It would also be a lot more IO


[Snyk] Fix for 1 vulnerabilities

Snyk has created this PR to fix one or more vulnerable packages in the `rubygems` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

Gemfile

⚠ Warning
Failed to update the Gemfile.lock, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

461/1000  Why? Recently disclosed, Has a fix available, CVSS 3.3
Improper Input Validation SNYK-RUBY-REXML-1244518
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

          2 Warnings

:warning:
The Pull Request summary does not contain the commit message convention

:warning:
The Pull Request title does not follow the convention [ACCSEC-0000] PR Title text

  Generated by :no_entry_sign: Danger


Repeated text in answer

Any idea why this is happening? I'm running locally. Azure Studio webapp works fine and the response is generated as expected - "Hello! How can I assist you today?" . Running locally generates the response seen below in the screenshot.
Screenshot:

Hi @membersubs are you using the latest code from main? Make sure you have the latest including the static files.

Hi @sarah-widder , latest pull fixed the issue. Thank you!


Typo: sel.fModel instead self.Model

https://github.com/slundberg/shap/blob/cde70feb211443cfbd9f599fcded8fe00b9d6a3d/shap/explainers/deep/deep_tf.py#L153

Not an issue anymore, the code has been commented out.


Bug in coil examples and docs: missing "max" argument

Yikes, discussing with Antoine Cerfon just now, we realized there was an important error with all the simsopt stage-2 coil optimization examples and documentation. All the QuadraticPenalty terms were missing the "max" argument. The default for QuadraticPenalty was "min", meaning that coil length and mean-squared-curvature were penalized only if they were below the target rather than above. I don't know how this error made it in. This problem is fixed in the examples and tutorial in this PR.
In this PR the default for QuadraticPenalty is also changed from "min" to "identity". We only ever use "max" or "identity" in the examples, never "min". Also "identity" seems like a safer and more intuitive default.

The changes seem good to me.


Writting a RUST wrapper for MoveIt

Is your feature request related to a problem? Please describe.
As Rust continues to grow in popularity, especially in systems programming and robotics, it would be great to have a Rust wrapper for MoveIt. Currently, integrating MoveIt into Rust-based projects is difficult, and a wrapper would simplify this process and allow seamless integration with Rust projects.
Describe the solution you'd like
I propose writing a Rust wrapper for MoveIt that exposes its core functionalities in a way that is idiomatic to Rust. This would allow Rust developers to easily integrate MoveIt into their projects while leveraging Rust's safety and concurrency features.
Describe alternatives you've considered

Manually integrating MoveIt with Rust using FFI (Foreign Function Interface), but this can be cumbersome and error-prone.
Relying on C++ as the primary language, but this makes it difficult for Rust projects to use MoveIt natively.

Additional context
This wrapper could serve as a bridge between MoveIt and the growing Rust ecosystem, allowing for safer and more efficient integration of robotics functionalities into Rust-based projects.
I am looking for collaboration with the people who are interested in this.

This is nothing to be considered for MoveIt1. Maybe the MoveIt2 team is interested in that.


Refactor the setup and publish scripts

https://www.notion.so/prismaio/Publish-script-ad31cc44abd646d4ba088f9c42d53f18
First PR: https://github.com/prisma/prisma/pull/10215

Next steps:

Make a plan to approach this large refactor
Timebox this task


In extreme cases, querying based on id results in empty query results.

https://github.com/ShiftLeftSecurity/overflowdb/blob/0af4b29ea057e92a32c9186a53f4fc38f3a35dcc/core/src/main/java/overflowdb/util/NodesList.java#L74
https://github.com/ShiftLeftSecurity/overflowdb/blob/0af4b29ea057e92a32c9186a53f4fc38f3a35dcc/core/src/main/java/overflowdb/util/NodesList.java#L37
If there are two threads, one is writing the database and the other is reading the database via id.
Then the reading thread can't observe the result of the writing thread.
@mpollmeier

Yes, that's what I would expect. There's currently no measures of any kind in place to guarantee read/write consistency and atomicity. Almost everything is optimized for fast reads.
We're working on a new storage engine which will be a bit more explicit about all this, and we will then also document these properties. The storage engine will be even more optimized for reads, but probably with better consistency constraints.


cloud_networks table doesn't need cidr

Cidr is used by OpenStack "subnet" and not by the parent item "network".
Therefore the cidr field can be removed from cloud_networks table.

@gildub cidr is used in amazon cloud_network

@Ladas, ok never mind then. Thanks


Fixed Change wrong project name.

@appleboy thank you for your contributions.
Can you please pull the latest master branch (v2.4.3) and confirm your last 2 PR are working correctly. Since I had to fix the conflict manually..
Try rebuilding your workspace container (with --no-cache) to see if you get no errors playing with xdebug and nvm..
Thanks

@Mahmoudz OK. I will check again.

It is working on v2.4.3 tag branch.

@appleboy Thank you man, you are awesome.


Adding GitHub page for repo

This keeps the latest assets in a directory called "Output".  The README.md file acts as a GitHub page along with the repo code.

Maybe I should add a change where the code outputs models to the 'Output' folder automatically?

It may be better to manually drop the assets here before we push to master to help keep GitHub’s history and size small.


Change label GO:0039648 modulation by virus of host protein ubiquitination

modulation by symbiont of host of protein ubiquitination
Change def from:  Any process in which a virus modulates the frequency, rate or extent of protein ubiquitination in the host organism. Ubiquitination is the process in which one or more ubiquitin groups are added to a protein.

to: Any process by which a symbiont increases or decreases ubiquitination of target proteins of a host organism.
@genegodbold

Hey @pgaudet, here are some examples from bacteria

Ank1U5 (OTBS0691) from Orientia tsutsugamushi, UniProt A5CD77: Ank1U5 localizes to the host nucleus where it mediates the ubiquitination and subsequent proteasomal degradation of host elongation factor 1 alpha. Direct binding of Ank1U5 to EF1alpha is observed. This has no significant effect on translation [PMID25166298].
AnkB (LegAU13; lpp2082) from Legionella pneumophila, UniProt Q5ZTL7: AnkB interacts specifically with the host E3 ubiquitin ligase TRIM21. The F-box domain of AnkB interacts with the host SCF1 E3 ubiquitin ligase that triggers the decoration of the Legionella containing vacuole (LCV) with K(48)-linked polyubiquitinated proteins that are targeted for proteasomal degradation. AnkB becomes rapidly polyubiquitinated within the host cell, and this modification is independent of the F-box domain of AnkB [PMID26483404]. AnkB is an effector protein of legionellae anchored to the cytosolic side of the legionellae containing vacuole (LCV). AnkB is translocated into the host cell via the Dot/Icm secretion system in an IcmSW-dependent manner and that the last three C-terminal amino acid residues are essential for translocation. AnkB mutant-containing phagosomes exclude late endosomal and lysosomal markers and their phagosomes are remodelled by the rough endoplasmic reticulum. Mutation of AnkB causes a severe growth defect in Legionellae in host cells [PMID18811729].
AvrA from Salmonella, UniProt O30621: AvrA is a deubiquitinase that acts on host IkappaBalpha and beta-catenin. AvrA blocks degradation of IkappaBalpha leading to the inhibition of NFkappaB and beta-catenin in epithelial cells to counter host immune signaling [PMID17690189]. This suppresses secretion of cytokines including IL-12, IFNgamma, and TNF [PMID20463922].  AvrA is allosterically activated by host inositol hexakisphosphate (IP6) which is absent from bacteria [PMID20430892].
Avirulence PtoB (AvrPtoB; HopAB2) from Pseudomonas syringae, UniProt Q8RSY1: AvrPtoB is a T3SS effector with E3 ubiquitin ligase activity that ubiquitinates the kinase domain of plant host CERK1 and thereby targets it for degradation in the host cell [PMID19249211].  AvrPtoB blocks all defense responses through this receptor which is critical for resistance to both fungal and bacterial pathogens [PMID19249211]. AvrPtoB targets host BAK1, a plasma-membrane localized receptor-like kinase involved in multiple immune signaling pathways that is also targeted by Pseudomonas syringae proteins AvrPto and HopF2 [PMID24237140].
Cell-cycle inhibiting factor (Cif) from E. coli, UniProt Q7WRZ5: Cif inhibits protein ubiquitination by deamidating Gln40 in both ubiquitin and the ubiquitin-like protein Nedd8. Deamidated ubiquitin is impaired in supporting the growth of ubiquitin chains. Deamidated Nedd8 abolishes the activity of neddylated E3 ubiquitin ligases of the Cullin type. Selective deamidation of Nedd8 by Cif is linked to EPEC infection-induced cell cycle arrest and actin stress fiber formation [PMID20688984].
Invasion plasmid antigen H1.4 (IpaH1.4) from Shigella, UniProtQ3YTD2: IpaH1.4 and IpaH2.5 are T3SS effectors of Shigella that interact directly with the multimeric host E3 ligase LUBAC that catalyzes linear ubiquitination of activated immune receptor signaling complexes via the HOIL-1L subunit. IpaH1.4 and IpaH2.5 thus direct the ubiquitination of host protein HOIP. HOIP ubiquitination leads to its proteasomal destruction which irreversibly inactivates linear ubiquitination. This in turn leads to the inhibition of NFkappaB activation by blocking its nuclear translocation in response to upstream immune signaling [PMID27572974].
Salmonella secreted effector L (SseL): SseL is a protease that serves as a deubiquitinase for Salmonella, reducing elimination of the bacteria by host cell xenophagy [PMID22719249].

There are more than 50 others that manipulate host ubiquitin dynamics (on/off) that I've got documented.

Fixed.


General Release work

A PR to include a bunch of miscellaneous tickets under the "General Release of the Authenticator" PR.

@timstackblock this PR includes all of the tickets so far in QA for the general release. Use this deploy preview to test them. Thanks!

Thanks @hstove


Cannot read property 'servers' of undefined

Since this morning, my application gets the following error when performing a speediest:
TypeError: Cannot read property 'servers' of undefined
    at gotServers (/myproject/node_modules/speedtest-net/index.js:522:29)
    at /myproject/node_modules/speedtest-net/index.js:48:16
    at /myproject/node_modules/speedtest-net/index.js:238:7
    at Parser.<anonymous> (/myproject/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:489:18)
    at emitOne (events.js:77:13)
    at Parser.emit (events.js:169:7)
    at Object.onclosetag (/myproject/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:447:26)
    at emit (/myproject/node_modules/speedtest-net/node_modules/xml2js/node_modules/sax/lib/sax.js:640:35)
    at emitNode (/myproject/node_modules/speedtest-net/node_modules/xml2js/node_modules/sax/lib/sax.js:645:5)
    at closeTag (/myproject/node_modules/speedtest-net/node_modules/xml2js/node_modules/sax/lib/sax.js:905:7)
    at Object.write (/myproject/node_modules/speedtest-net/node_modules/xml2js/node_modules/sax/lib/sax.js:1449:13)
    at Parser.exports.Parser.Parser.parseString (/myproject/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:508:31)
    at Parser.parseString (/myproject/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:7:59)
    at exports.parseString (/myproject/node_modules/speedtest-net/node_modules/xml2js/lib/xml2js.js:540:19)
    at /myproject/node_modules/speedtest-net/index.js:236:5
    at /myproject/node_modules/speedtest-net/index.js:48:16
    at IncomingMessage.<anonymous> (/myproject/node_modules/speedtest-net/index.js:110:7)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:905:12)
    at doNTCallback2 (node.js:441:9)
    at process._tickDomainCallback (node.js:396:17)
[root@foobar myproject]# vim /myproject/libs/Main.js

I changed the user agent and it works well for me. See if thew new version works for you as well.

It's still failing with the same error for me as of 1.2.6

Problem is that servers is null here:
 function gotServers(err, servers) {
    if (err) return self.emit('error', err);
    var s = servers.settings.servers[0].server;
   ...

So, it loads http://www.speedtest.net/speedtest-servers.php from the interwebs and then it pushes the result through some kind of XML detangler which I found on npm. It seems in your case it present with null. In my case it does, however, not. When I visit the link above I get some XML about what servers are where, for instance from. I can't know why you're not getting any servers, but I am suspicious that maybe you're calling it quite a bit and Ookla has taken your IP and kind of blocked it. You can visit that link in your browser and see what you get. If you get issues in your browser, then it's probably your IP that is being rejected.
To be clear, this module doesn't provide all those servers. That is being done by Ookla. And I don't know how Ookla feels about this module. It may attempt to block it. If it's successful, then it should stop working. One entity's success may be another's demise.
My advice is to not use it too often. Unless your connection speed varies wildly, or you swap providers like you swap socks, there should be no need to check it too often. Ookla would likely not notice you if you're a gentle user.
Maybe it's something else, which I can't know because as I stated above, it works just wonderfully for me. You could console.log the data available on line 235/236. That ought to be valid XML and if and when this is not the case, you may be lucky to get a detailed error, like "Too many requests" or "Please use the official Speedtest.net client". If you're not lucky you just get nothing. If you do get valid XML then something else is the matter and I might just be prodded into looking at it some more.
In the meantime, though I am willing, I am not able to help any further.

It looks like http://www.speedtest.net/speedtest-servers.php is return a 302 redirect now. Does the getHttp follow that redirect?
*   Trying <IP_ADDRESS>...
* Connected to www.speedtest.net (<IP_ADDRESS>) port 80 (#0)
> GET /speedtest-servers.php HTTP/1.1
> Host: www.speedtest.net
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Content-Type: text/html
< Date: Thu, 14 Jul 2016 23:42:54 GMT
< Location: http://c.speedtest.net/speedtest-servers-static.php?load=1
< Server: ECD (rhv/8107)
< Content-Length: 0```

If I do a `curl` with the provided URL, it works:
```curl -v http://c.speedtest.net/speedtest-servers-static.php?load=1```

Yeah, so it does follow the redirect, I think, probably: it works fine for me. I don't know what result is gotten by this module here by those who it does not work for, and me checking this doesn't help because it works just fine for me so I won't get any anomalies.
I suggest attempting to set { headers: { "user-agent" : "my own special user agent; feel free to be creative here; version v3.4.5.beta.carotene webkit blink bing bling bey marquee google firefox windows osx linux unix apple commodore msx pear mozilla 4/12 php visual basic.web" } }, because maybe this will prompt speedtest.net to return some servers considering the server doesn't recognise the UA as anything special (even though it's actually inredibly special, go figure).
Again, if someone were to be so kind as to do a simple console.log(data) here then that might be tremendously helpful and useful. Also, if someone that experiences the issue tries a manual UA setting, it would be great if they can report their results.
In the meantime I don't have any means of finding out what the problem is because I do not experience it.

I added a console.log(data) and data is an empty string. I added some logging in getHttp:
console.log(res.statusCode)
console.log(res.headers)

And this is what I got:
302
{ 'content-type': 'text/html',
  date: 'Fri, 15 Jul 2016 00:07:56 GMT',
  location: 'http://c.speedtest.net/speedtest-servers-static.php?load=1',
  server: 'ECD (rhv/8107)',
  'content-length': '0',
  connection: 'close' }

So, it's definitely not following the 302 redirect.

The node http library doesn't follow redirects. It looks like request is the most popular library that follows redirects by default.
https://github.com/request/request

Well, that is awesome news. Strange that it still works for me, because it does redirect in my browser. In any case, it should be a quick fix with this knowledge. If I don't find a PR soon then I will just go ahead and make the change myself. When I have a few minutes...

I still get this error.

Here's load=0.

Here's load=1.

Anybody have any ideas why load=0, which is what it redirects to by default, is blank?


Model as searching a minimal matching in a complete bipartite graph

We could also treat this as searching a maximal/minimal matching in a complete bipartite graph using this paper:
https://www.sciencedirect.com/science/article/pii/S0304397511010474

from typing import List, Tuple

def find_maximally_matchable_edges(bipartite_graph: List[Tuple[int, int]]) -> List[Tuple[int, int]]:
    """
    Given a bipartite graph represented as a list of tuples, where each tuple represents an edge between two nodes,
    this function returns a list of tuples that represent all maximally-matchable edges in the graph.
    """
    # First, we need to find a maximum matching in the bipartite graph.
    # We can use the Hopcroft-Karp algorithm to do this in O(E * sqrt(V)) time, where E is the number of edges in the
    # graph and V is the number of nodes.
    def hopcroft_karp(bipartite_graph: List[Tuple[int, int]]) -> List[Tuple[int, int]]:
        """
        Implementation of the Hopcroft-Karp algorithm for finding a maximum matching in a bipartite graph.
        """
        # Define some helper functions for the algorithm.
        def bfs() -> bool:
            queue = []
            for u in left:
                if matching[u] == nil:
                    distance[u] = 0
                    queue.append(u)
                else:
                    distance[u] = float('inf')
            distance[nil] = float('inf')
            while queue:
                u = queue.pop(0)
                if distance[u] < distance[nil]:
                    for v in graph[u]:
                        if distance[mapping[v]] == float('inf'):
                            distance[mapping[v]] = distance[u] + 1
                            queue.append(mapping[v])
            return distance[nil] != float('inf')

        def dfs(u: int) -> bool:
            if u != nil:
                for v in graph[u]:
                    if distance[mapping[v]] == distance[u] + 1 and dfs(mapping[v]):
                        mapping[v] = u
                        matching[u] = v
                        return True
                distance[u] = float('inf')
                return False
            return True

        # Initialize some variables.
        left = set()
        right = set()
        for u, v in bipartite_graph:
            left.add(u)
            right.add(v)
        nil = -1
        graph = {}
        for u in left:
            graph[u] = []
            for v in right:
                graph[u].append(v)
        matching = {u: nil for u in left}
        mapping = {v: nil for v in right}
        distance = {u: 0 for u in left.union({nil})}
        # Run the algorithm.
        while bfs():
            for u in left:
                if matching[u] == nil:
                    dfs(u)
        # Return the maximum matching.
        return [(u, matching[u]) for u in left if matching[u] != nil]

    # Next, we need to find all edges that are not part of the maximum matching but can be added to it without
    # violating the matching property.
    # We can do this by iterating over all edges in the graph and checking if the edge is not part of the maximum
    # matching and both endpoints of the edge are free (i.e., not part of the matching).
    maximum_matching = hopcroft_karp(bipartite_graph)
    free_left = set(u for u, v in maximum_matching if v is None)
    free_right = set(v for u, v in maximum_matching if v is not None)
    maximally_matchable_edges = []
    for u, v in bipartite_graph:
        if (u, v
    if (u, v) not in maximum_matching and u in free_left and v in free_right:
        # We can add this edge to the maximum matching without violating the matching property.
        # However, we also need to check if adding this edge would create a new maximum matching.
        # To do this, we temporarily remove the maximum matching edge that covers the same endpoint as the
        # current edge and see if we can find a new maximum matching that includes the current edge.
        if (u, None) in maximum_matching:
            maximum_matching.remove((u, None))
            new_matching = hopcroft_karp(maximum_matching + [(u, v)])
            if len(new_matching) == len(maximum_matching) + 1:
                # This edge is part of a new maximum matching, so it is maximally matchable.
                maximally_matchable_edges.append((u, v))
            maximum_matching.append((u, None))
        elif (None, v) in maximum_matching:
            maximum_matching.remove((None, v))
            new_matching = hopcroft_karp(maximum_matching + [(u, v)])
            if len(new_matching) == len(maximum_matching) + 1:
                # This edge is part of a new maximum matching, so it is maximally matchable.
                maximally_matchable_edges.append((u, v))
            maximum_matching.append((None, v))
return maximally_matchable_edges

# Example bipartite graph.
bipartite_graph = [(1, 'a'), (1, 'b'), (2, 'a'), (2, 'c'), (3, 'b'), (3, 'c')]

# Find all maximally-matchable edges.
maximally_matchable_edges = find_maximally_matchable_edges(bipartite_graph)

# Print the result.
print(maximally_matchable_edges)  # Output: [(1, 'a'), (2, 'c'), (3, 'b')]


Target of URI hasn't been generated 'rest_client.g.dart'

I'm unable to solve this and not able to het what it needs to solve
https://www.dropbox.com/s/qb48hm1bxnjab0k/issue.PNG?dl=0

Hi @abhi-cureore
First you need to move to core module using cd command. For ex: cd core.
The you need to run this.
flutter pub run build_runner build

Hii
Thanks for your reply
It would be very helpful if we connect on skype for resolve it.
i really like your structure and work and willing to follow.
whatsapp me on<PHONE_NUMBER>
or send your skype id
Thanks
On Fri, Oct 2, 2020 at 11:36 AM R Rifa Fauzi Komara <
<EMAIL_ADDRESS>wrote:

Hi @abhi-cureore https://github.com/abhi-cureore
First you need to move to core module using cd command. For ex: cd core.
The you need to run this.
flutter pub run build_runner build
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rrifafauzikomara/MovieApp/issues/1#issuecomment-702544002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHF35QZPYCGKN6DWJU5FBDSIVUXBANCNFSM4SBJNC6A
.

--
Abhishek Singh Thakur
Sr. Android Developer
Cure Ore
Flat 904, link road Tulsi Tower Shivaji nagar
Bhopal M.P
phone: +919039425059
mobile: +917974390840
skype: live:a0429f4ca984337e
<EMAIL_ADDRESS>

@abhi-cureore I update my answer. If you getting the error. Just re-open this issue and I will help you.

I have posted what i got in return after running your command
Please help to resolve this
Thanks
On Fri, Oct 2, 2020 at 12:26 PM R Rifa Fauzi Komara <
<EMAIL_ADDRESS>wrote:

@abhi-cureore https://github.com/abhi-cureore I update my answer. If
you getting the error. Just re-open this issue and I will help you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rrifafauzikomara/MovieApp/issues/1#issuecomment-702561686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARHF35SRRF5OEAB2U5IYORTSIV2QXANCNFSM4SBJNC6A
.

--
Abhishek Singh Thakur
Sr. Android Developer
Cure Ore
Flat 904, link road Tulsi Tower Shivaji nagar
Bhopal M.P
phone: +919039425059
mobile: +917974390840
skype: live:a0429f4ca984337e
<EMAIL_ADDRESS>

Remove dependency_overrides: analyzer: 0.39.14 entirely solves my problem


net: gptp: Fix pkt allocation with debugs enabled

Commit 44964c735ea ("net/gptp: Switch GPTP to new net_pkt API") changed
the callback used for allocation (from net_pkt_get_reserve_tx to
net_pkt_alloc_with_buffer), but for compilation with
CONFIG_NET_DEBUG_NET_PKT_ALLOC enabled, both callbacks are used
(the first pointer was just overwritten, causing MPU FAULT).
Here is an example:
uart:~$ ***** Booting Zephyr OS v1.14.0-rc1-135-ge9b962d0dc *****
[00:00:02.820,007] <inf> eth_sam_phy: common abilities: speed 100 Mb, full duplex
[00:00:02.825,238] <inf> net_config: Initializing network
[00:00:02.825,250] <inf> net_config: IPv4 address: <IP_ADDRESS>
***** MPU FAULT *****
  Data Access Violation
  MMFAR Address: 0x407021
***** Hardware exception *****
Current thread ID = 0x20400e88
Faulting instruction address = 0x40b542
Fatal fault in thread 0x20400e88! Aborting.
[00:00:02.930,033] <inf> net_config: IPv6 address: fe80::fec2:3dff:fe12:aad
[00:00:02.937,860] <inf> net_config: IPv6 address: fe80::fec2:3dff:fe12:aad
***** MPU FAULT *****
  Data Access Violation
  MMFAR Address: 0x407021
***** Hardware exception *****
Current thread ID = 0x2040283c
Faulting instruction address = 0x40b648
Fatal fault in thread 0x2040283c! Aborting.

Codecov Report

Merging #13366 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13366   +/-   ##
=======================================
  Coverage   48.64%   48.64%
=======================================
  Files         319      319
  Lines       46540    46540
  Branches    10757    10757
=======================================
  Hits        22638    22638
  Misses      19316    19316
  Partials     4586     4586

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 3b73511...6bb81c0. Read the comment docs.

recheck

Any idea why this CI test may be failing here and not in all the other PRs? It seems to fail every 6-7 attempts if I run it locally like this:
./scripts/sanitycheck --platform mps2_an385 -v -s tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs

Should I just keep re-running it until it succeeds in CI?


Document images built by CI and ART

https://issues.redhat.com/browse/DPTP-1851

/assign @jupierce

/assign @jupierce

@jupierce

Manage the CI build-root image using the upstream configuration file

Do you have an example?

@jupierce

Manage the CI build-root image using the upstream configuration file

Do you have an example?

Another question:
https://github.com/openshift/release/blob/ef71fc9bde95a081e96c61036ac092150eb371e1/ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.6.yaml#L27
Why 1.14 is used as build_root and 1.15 as the builder image?

Another question:
https://github.com/openshift/release/blob/ef71fc9bde95a081e96c61036ac092150eb371e1/ci-operator/config/openshift/cluster-etcd-operator/openshift-cluster-etcd-operator-release-4.6.yaml#L27
Why 1.14 is used as build_root and 1.15 as the builder image?

/lgtm cancel

/lgtm
/hold cancel
/woof

/hold
actually can we add a description field to the stuff at the top xref https://github.com/openshift/ci-docs/pull/80

/hold cancel

/test all

/lgtm


Updated readme about multiple value columns constructor

Codecov Report

Merging #86 into master will decrease coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   91.93%   91.65%   -0.28%
==========================================
  Files           7        7
  Lines        1103     1103
==========================================
- Hits         1014     1011       -3
- Misses         89       92       +3

Impacted Files
Coverage Δ

src/join.jl
87.74% <0%> (-1.19%)
: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 81143c0...1bb7d03. Read the comment docs.

Much appreciated! :+1:


Getting started documentation for SQL seems a bit thin

I tried to run the SQL sample and it isn't working. I imagine I forgot to do something, but I can't find what it is from the docs (yet, anyway).
Getting this kind of thing:
2018-02-01 11:11:36.135  INFO 20557 --- [           main] s.MySqlJdbcInfoProviderAutoConfiguration : Default MYSQL JdbcUrl provider. Connecting to jdbc:mysql://google/g150672af343b8e?cloudSqlInstance=cf-sandbox-dsyer:europe-west1:g150672af343b8e&socketFactory=com.google.cloud.sql.mysql.SocketFactory&useSSL=false with driver com.mysql.jdbc.Driver
2018-02-01 11:11:36.142  WARN 20557 --- [           main] o.s.c.g.a.s.GcpCloudSqlAutoConfiguration : spring.datasource.username is not specified. Setting default username.
2018-02-01 11:11:36.201  INFO 20557 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2018-02-01 11:11:36.307  INFO 20557 --- [           main] c.google.cloud.sql.mysql.SocketFactory   : Connecting to Cloud SQL instance [cf-sandbox-dsyer:europe-west1:g150672af343b8e].
2018-02-01 11:11:36.311  INFO 20557 --- [           main] c.g.cloud.sql.core.SslSocketFactory      : First Cloud SQL connection, generating RSA key pair.
2018-02-01 11:11:37.326  INFO 20557 --- [           main] c.g.cloud.sql.core.SslSocketFactory      : Obtaining ephemeral certificate for Cloud SQL instance [cf-sandbox-dsyer:europe-west1:g150672af343b8e].
2018-02-01 11:11:38.133  INFO 20557 --- [           main] c.g.cloud.sql.core.SslSocketFactory      : Connecting to Cloud SQL instance [cf-sandbox-dsyer:europe-west1:g150672af343b8e] on IP [<IP_ADDRESS>].
2018-02-01 11:11:39.354 ERROR 20557 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Exception during pool initialization.

java.sql.SQLException: Access denied for user<EMAIL_ADDRESS>(using password: NO)
...

I have done a gcloud auth application-default login and set the default project id in gcloud config. The database co-ordinates are provided in application.properties - I assume those are mandatory? I don't really know what the database-name is for. Do I have to create one in the GCP UI somewhere?

A database is indeed required. Checkout the readme on the Cloud SQL sample. In Step 3, it says to create a database.

I did all that actually (but this material needs to be in the user guide, or at least linked to, IMO). Still not working. Help.

@dsyer, I actually encountered the same issue today. You probably set a password for the root user. One thing you can do is, delete the root user in the Cloud Console UI, and then recreate it without a password.

Actually I did not set a password for the root user (don’t know what it would be so left it blank). I’ll have another look anyway. Maybe something to add to the guide?

No, you know what, I think you are right. I set it to a random value. A website asks me for a password. What else am I going to do? I didn’t keep a record so I’ll have to start again from scratch. I call that a UI fail, I’m afraid.

When you use no password for root the UI says

Without a root password, this instance will allow anyone to connect with full administrative privileges. Set a root password to ensure only authorized users have these privileges.

Seems like a legitimate concern. Maybe we need a better way to connect to a Spring Boot app. Would an explicit password work?

You should be able to specify the password using spring.datasource.password in application.properties.
The password is not strictly necessary when the instance is not exposed the internet. Access is controlled using an SSL certificates and built-in service accounts via the https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory.

I guess all that needs to be in the getting started section then, otherwise I don't think I would be able to run the sample. I don't really understand the "not exposed to the internet" bit either: if the sample app runs on my laptop, the database has to be exposed to the internet doesn't it?

I meant "no public IP exposed" for the MySQL instance.
As I understand, the connection is authenticated and SSL-tunneled through a proxy server.
See: https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory/blob/master/core/src/main/java/com/google/cloud/sql/core/SslSocketFactory.java

@lesv @jabubake Do we public docs explaining this?

https://cloud.google.com/sql/docs/mysql/sql-proxy#what_the_proxy_provides

This issue became a little bit confusing to me.
@dsyer would you mind posting here a list of improvements that you think our SQL documentation needs?
Thanks!

Suggestions:

copy/move the README in the SQL project to the user guide, or link to it prominently. It looks to me like only the MySQL starter has a README at the minute, so it makes sense to move it somewhere else I think.
warn the user that an empty password is needed (and that it generates a warning in the UI)
give explicit instructions about how to create a database and obtain its name
give explicit instructions about how to obtain the instance connection name (maybe give an example)


Parse game end header and close the bot automatically

At this moment, bot instances must be closed manually  once a game ends. We should parse a header, like much we do with day start and end headers, to let the bot know the game is over and start a nice exit sequence.

Done!


Add Multiple source (quality) for mp4 files

Hello,
I hope you add Multiple source (quality) for mp4 files.
Thanks

Thanks, I'll add this to the backlog as I've seen this feature before in other players.
Although I do think it's best to stick to adaptive formats (HLS / MPEG-DASH) in order to serve different qualities.

I hope you add this feature ASAP


Linux savegame path assumes default steam library path

Hi and thanks for this amazing tool.
I just noticed an issue and thought I'd report it.
On Linux helphaistos looks here for the savegames to patch them:
https://github.com/nbusseneau/hephaistos/blob/57c32959cbf030b012271cd393db4e7d576728c9/hephaistos/helpers.py#L129-L131
The issue is, that when using Proton steam stores the "Windows Data" (so the compatdata folder) not in the default steam library, but in the one of the game.
So for me this path is /media/path/to/my/SteamLibrary/steamapps/compatdata/1145360/pfx/drive_c/users/steamuser/Documents/Saved Games/Hades. Maybe a argument similar to --hades-dir could be used to specify the path (or alternatively use the path relative to the current path as we are already in /media/path/to/my/SteamLibrary/steamapps/common/Hades.
Also I am not entirely sure if --hades-dir works correctly or I am just doing something wrong, but I solved the issue of having to be inside the hades dir and the repostory dir (for python -m to work) by creating symlinks to all hephaistos subdirectories in the hades directory.
Apart from this the patch seems to be working perfectly.

Ah thanks, this was a wrong assumption on my part when reading this explanation page, but re-reading it again it does specify that as well:

Most games store saves and settings in "My Documents" folder.
Folders can can be found in <steam library folder>/steamapps/compatdata/<steamid of software>/pfx/drive_c/users/steamuser/My Documents/ (and so forth)

Using a relative path sounds like the best option to me.

It does look like --hades-dir is broken yea. Will also fix that.

I think this should be fixed by 69ef31842701c3fc50a451ea11b2cb9ff4dfb917 and 5dc2e5b4b09bbe1f086cf83666d4381993cdb924. Here's an early build so that you can confirm on your end ahead of a release:

Linux: hephaistos-linux.zip
Python: hephaistos-python.zip

You should now be able to store Hephaistos anywhere you like and use --hades-dir to point to the Hades directory (e.g. with python -m hephaistos --hades-dir foo if using the Python version).

Hi,
The --hades-dir issue seems to be solved (I ran it from another directory successfully) and the solution for the relative path is also looking good.
But I think there is a small bug in it:
Traceback (most recent call last):
  File "/home/lukas/git/hephaistos/hephaistos/cli.py", line 97, in __start
    args.dispatch(**vars(args))
  File "/home/lukas/git/hephaistos/hephaistos/cli.py", line 290, in handler
    self.handler(width, height, scaling, hud, custom_resolution, force=True)
  File "/home/lukas/git/hephaistos/hephaistos/cli.py", line 282, in handler
    patchers.patch_profile_sjsons()
  File "/home/lukas/git/hephaistos/hephaistos/patchers.py", line 746, in patch_profile_sjsons
    profile_sjsons = helpers.try_get_profile_sjson_files()
  File "/home/lukas/git/hephaistos/hephaistos/helpers.py", line 159, in try_get_profile_sjson_files
    TRY_SAVE[Platform.LINUX] = Path(config.hades_dir).joinpath(TRY_SAVE[Platform.LINUX])
  File "/usr/lib/python3.9/pathlib.py", line 972, in joinpath
    return self._make_child(args)
  File "/usr/lib/python3.9/pathlib.py", line 737, in _make_child
    drv, root, parts = self._parse_args(args)
  File "/usr/lib/python3.9/pathlib.py", line 691, in _parse_args
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not list

TRY_SAVE[Platform.LINUX] is a list of paths, but is used as if it was a single path
https://github.com/nbusseneau/hephaistos/blob/5dc2e5b4b09bbe1f086cf83666d4381993cdb924/hephaistos/helpers.py#L129-L133
https://github.com/nbusseneau/hephaistos/blob/5dc2e5b4b09bbe1f086cf83666d4381993cdb924/hephaistos/helpers.py#L158-L159

With this patch it works now perfectly fine for me (the str feels redundant with the next line, but keeps the types the same):
diff --git a/hephaistos/helpers.py b/hephaistos/helpers.py
index a9a252f..ae56feb 100644
--- a/hephaistos/helpers.py
+++ b/hephaistos/helpers.py
@@ -156,7 +156,7 @@ def try_get_profile_sjson_files() -> list[Path]:
             LOGGER.debug(e, exc_info=True)
     # If on Linux, compute save directory relative to Hades dir
     elif config.platform == Platform.LINUX:
-        TRY_SAVE[Platform.LINUX] = Path(config.hades_dir).joinpath(TRY_SAVE[Platform.LINUX])
+        TRY_SAVE[Platform.LINUX][0] = str(Path(config.hades_dir).joinpath(TRY_SAVE[Platform.LINUX][0]))
     save_dirs = [Path(item) for item in TRY_SAVE[config.platform]]
     for save_dir in save_dirs:
         if save_dir.exists():

Right, I forgot I used lists specifically because Windows might have multiple locations 🤦🏻 Fixed in d38307a401015f4a043199712a3d799f8e579b16 and refactored whole mechanism in 1dd3b6d2cc3eb399c00813fd1b2956471933b946.
New test build:

Linux: hephaistos-linux.zip
Python: hephaistos-python.zip

Indeed with 1dd3b6d2cc3eb399c00813fd1b2956471933b946 it now also works directly.
Thanks for everything!

Thanks for testing. Released in v1.6.3 :)


Check full version

Script only checked for major version and ignored minor version.  Now it checks both.

@BuffaloTrace  Thanks for the contribution! This should appear when the next release of the flashplayerplugin is available.


chore(deps): update dependency microsoft.extensions.azure to 1.7.6

This PR contains the following updates:

Package
Type
Update
Change

Microsoft.Extensions.Azure (source)
nuget
patch
1.7.5 -> 1.7.6

Release Notes

Azure/azure-sdk-for-net (Microsoft.Extensions.Azure)
v1.7.6
Compare Source
1.7.6 (2024-10-04)
Other Changes

Improved the efficiency of AzureEventSourceLogForwarder by eliminating message formatting. (#46202)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Branch automerge failure
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


ryujinx: remove package

This is not a PR I wanted to make, but sadly Ryujinx has been taken down upstream, and doesn't look like it's coming back. As per their official discord server:

The GitHub repo (and the entire org, in fact) is also no longer accessible: https://github.com/Ryujinx/Ryujinx/
Don't see a need to backport this to 24.05, because binary cache. Users customizing their builds (or one or more dependents) will find their build processes failing however, due to upstream being gone.
Since this doesn't appear to have been the result of a DMCA takedown, but rather a voluntary decision, for those who wish to continue building Ryujinx from source, I offer my self-hosted mirror repo here: https://git.naxdy.org/Mirror/Ryujinx - don't rely on this being around forever, though.
Closes https://github.com/NixOS/nixpkgs/issues/345758
Closes https://github.com/NixOS/nixpkgs/issues/325857
Closes https://github.com/NixOS/nixpkgs/issues/345410
Closes https://github.com/NixOS/nixpkgs/issues/187020
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[x] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Before some trigger-happy person presses the merge button, please have a look at the ongoing discussion in #345758 where the current maintainer of the package explicitly speaks against removal.

As above, please avoid merging until the issue has reached a generally acceptable consensus.

Closing due to https://github.com/NixOS/nixpkgs/pull/346694 being merged instead. Before reopening / opening a similar removal PR, refer to the discussion in https://github.com/NixOS/nixpkgs/issues/345758


getting error while uploading image

(node:20978) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): The "original" argument must be of type function
while trying to upload image after saving the product
node v8.9.4

This is a super old version of nodejs. Try upgrading to an LTE version like 12.18.4 or later.


Issue with includePath, it works randomly!

Error in plugin 'sass'
Message:
    ..\css\style.scss
Error: File to import not found or unreadable: includes/feed.scss
       Parent style sheet: D:/my_folder/app/raw_assets/css/style.scss
        on line 24 of ../css/style.scss
>> @import "includes/profile.scss";
[BS] 2 files changed (fonts.css, navbar.css)
//should be 10 files changed, not 2

When I hit the Ctrl+S key of my text editor, I get this error most of the times, but not always. Read again, when saving, not always the error is thrown :\
Also, it happens only when modifying the includes, not with the main scss file.
My gulp task:
scssOptions =
    errLogToConsole: true
    outputStyle: 'compressed'
    includePaths: [ 'raw_assets/css/includes', 'css/includes', 'includes' ] # I tried different paths, none of them is apparently correct..

gulp.task 'scss', ->
    gulp.src( srcPath )
      .pipe scss.sync(scssOptions).on('error', scss.logError) # Same error even if not using .sync()
      .pipe autoprefixer()
      .pipe gulp.dest(scssOutput)
      .pipe browserSync.reload({stream: true})

gulp.task 'scss-watch', ->
    gulp.watch srcPath, [ 'scss' ]

->
    gulp.start 'scss', 'scss-watch'

Folder structure:
| /raw_assets
     |___ /gulpfile
         |___ gulpfile.coffee
         |___ /folder of gulp tasks

    |___ /scss
        |___ /includes
            |___ various .scss includes files
        |___ style.scss

| / app
    |___ css
        |___ style.css

PS: I'm on win10 x64
gulp v. 3.9.1
gulp-sass v.2.3.2

+1 having the same issue

+1 having the same issue too, anyone with the way to solve this?
To explain further on my issue, the error will occurs roughly 50% of the time with a empty line break between styles (or at last row) in the scss file. The first time I CTRL + S to save, it will hit the error. However, on the 2nd save (without any changes), it can compile properly.

I am also experiencing same issue. When I went through the common issues where basically autosave:true solves it for Sublime Text. But, in my case it's Visual Studio Code on Windows.
Every time I had to make change or simple line break to main file (which imports all the partials) in order to get away with that. Next time when I make change to partial file, again I get the same error.

@technbuzz : I use VSCode too, have you found any solution?

@amit-coditas I moved from gulp-sass to gulp-ruby-sass. For windows I had to install Ruby and then gem install ruby. That worked for me.

You need to configure your editor to do atomic saves.

Thank you @xzyfer
Even if I'm not using gulp anymore, this could be useful in future or for other people 👍

I can't figure out how to fix this properly so I've just stuck a wait into my pipeline (which is pretty horrible).
https://www.npmjs.com/package/gulp-wait
.pipe(wait(500))

Switching to<EMAIL_ADDRESS>seems to have helped - I no longer need the hacky wait solution.


Add fall through comment for missing break in case statement

Just a small improvement, as gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 complains about missing breaks in case statements now:
privsep.c: In function ‘privsep_server_handle_req’:
privsep.c:314:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
   mkpath = 1;
   ~~~~~~~^~~
privsep.c:315:2: note: here
  case PRIVSEP_REQ_OPENFILE: {
  ^~~~

Sorry, this PR needs other commits be applied too. So I am closing it now.


masking vs selecting

Hi linopyers, I am wondering if I am using linopy correctly while creating constraints.
In many occasions I have to setup constraint that applies only to a subset of one dimension. For example there is a time dimension but constraint applies only to some dates. In that case I see 2 ways of constructing constraint:

select variables/linear expression by time dimension getting only those on which you would construct constraint. This approach is usually more explicit, simpler to understand and creates dense constraint
use masking in add_constraints, constraint is sparse because all constraint coordinates will be printed with masked out displayed as None

Are both approaches equally good? What are the pros and cons?

Hey, I would say that both approaches work equally good. The selection might be a bit cleaner and a bit more memory efficient, as no placeholders are required.

Thanks @FabianHofmann for confirming my taught

sure :) closing this


Issue list fields width and horizontal scroll

Hi,
in issue lists, when there are several columns with long text custom fields these columns are shown in a way that is not userfriendly (IMHO). You wan't see all columns in the same screen and have to horizontal scroll to see the next columns.
I attach two screenshots: one with PurpleMine2 and the second with Circle theme, so that you can see the difference. How can I achieve the Circle list layout (all columns in the same screen without horizontal scroll)?

Thanks in advance for your help!

Hmm after some investigation I ascertained that this is a bug - thank you for finding it!

Thank you very much for the quick workaround! Just one more detail: the "Assigned to" field is maintaining the old width, so it keeps pushing the list to the right. How can I change it to achieve the Circle view for this field?
Thank you very much!

I would prefer to leave "assigned to" column as it is, i.e. non-wrapping.
For your needs you can add the following style to
_custom-variables.scss:
tr.issue .assigned_to {
    white-space: normal;
}

I would prefer to leave "assigned to" column as it is, i.e. non-wrapping.
For your needs you can add the following style to _custom-variables.scss:
tr.issue .assigned_to {
    white-space: normal;
}

Thanks a lot!


Normal Torque keeps number of steps from heatmap when wizard changes

When we've created a heatmap with the wizard, and change back to a regular Torque map, all styles change normally, except for torque-frame-count, which is kept at 1 unless the user manually changes the number of steps.

@saleiva

Fixed in #2260


add badges to index

stars, follow, discussion, etc.

Can i work on this?

For sure! Shields.io is usually a good one to use

@hiirrxnn
Maybe just the GitHub specific ones from https://github.com/sparks-baird/xtal2png/blob/main/docs/index.md?
Note:
<script async defer src="https://buttons.github.io/buttons.js"></script>

needs to be added at the end of the file for this to work.
Open to other suggestions. Maybe tests and docs passing badges, too?

@hiirrxnn as an aside, I'm also curious to get your thoughts on the new options I'm implementing in the dev branch: https://honegumi.readthedocs.io/en/dev/.


Zoom issue after clicking an annotation

Hi,
First of all, thanks for the awesome work !
I am having issues with the zoom behaviour with Annotorious OpenSeadragon on an Angular app.
When I have the annotations loaded but haven't interacted with them yet, the zoom works perfectly. But as soon as I click on an annotation, the zoom stops working.
You can see the same behaviour in the example of the getting started page and here too.
Has anyone encountered something like this? Any way to fix or change this behaviour?
Regards.

Hi,
hm, I can't seem to reproduce the issue. I just tried both sample pages (Getting Started, Realtime demo), on Chrome + Firefox, and zoom seems to be working correctly, also when an annotation is selected (and after deselecting again). There does seem to be a new issue with touch/pinch on Firefox. (I'll investigate.) What browser/OS are you using?
Cheers,
Rainer

Hi,
Thank you for the reply.
I am using Chrome 98.0.4758.102, Firefox 97.0 and Safari 15.3 under Mac OS 12.2. All browsers with the same behaviour, using mouse and only using click to zoom in. Overlay buttons seems to work fine.
Cheers

Ah, understood, thanks. Yes, I think single-click zoom never really worked in any of the versions. I'll check what's necessary to support that behavior in the future.

Thanks for looking into this!


Add EXIF write support to PNG output.

Description
Stores any EXIF data from the given ImageSpec into the PNG eXIf chunk.
Tests
Checklist:

[x] I have read the contribution guidelines.
[ ] If this is more extensive than a small change to existing code, I
have previously submitted a Contributor License Agreement
(individual, and if there is any way my
employers might think my programming belongs to them, then also
corporate).
[x] I have updated the documentation, if applicable. Not applicable I think
[ ] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[x] My code follows the prevailing code style of this project.

If you think this contribution is valuable, could you give some guidance on:

whether a test should be added somewhere
whether a CLA is required for a change this small (I did do this on company time)

whether a test should be added somewhere -- yes, it would be helpful to test this. I think the best approach would be to augment testsuite/png/run.py to just write a simple small png with some Exif metadata, then print the metadata for the file you wrote and make sure it matches what you think you set? I can help you with this if you aren't quite sure what to do in those scripts.
whether a CLA is required for a change this small (I did do this on company time) -- that mostly depends on the arrangement you have with your company. For a change this small, the OIIO project doesn't insist on a CLA. But you know more about the relationship with your employers. If you think there could be any dispute and you want to get it in writing that it was ok for you to contribute this code, then by all means have them fill out a CLA (more for your safety than ours). But if you are confident that company policy is that you are free to make contributions to open source projects like this one, then we'll take it at face value and won't require a CLA.

I added a test to the png test suite as you suggested. Please let me know if you want this to be extended more.

It turns out that for many of our CI tests (which purposely span many versions of various dependencies), the ones running in CentOS7-based containers are using an older version of libpng that doesn't support this feature! So the new testsuite/png/ref/out.txt now no longer matches the output of those tests.
To fix it, restore the original out.txt and name it out-libpng15.txt (leaving out.txt being the correct output for the newer libpng varieties). The testsuite scripts will know that a test can pass if it matches any of the reference outputs.

CI is still failing, but I know why, it's simple. I'm going to merge this and then just immediately amend the fix myself.
Thanks for the patch!


1.9.0-rc1 : endpoint rename is required to support docker#15727

https://github.com/docker/docker/issues/15727

Closed by #712