set CARGO_BUILD_TARGET in bisect run

related to cross-rs/cross#805 and cross-rs/cross#669, this should help with some pitfalls when using cargo-bisect-rustc and a script while setting a target


Position Control Checklist

As the title says

[x] Test Path Planning for multiple robots
[x] Integration of Path Planning with the skills (GoToPos & InterfaceDrive) -> #776
[x] Implement Defense Area [& Field] Collisions
[ ] Nice to have: #784

Closed as the only relevant issue left is #784 and (not mandatory for now) the field collisions


Preparing the E2E environment

As an E2E environment during development, we will be able to check up to Handshake at IBC first.

[x] tendermint local network #13
[x] harmony local network #12
[x] relayer config #13
[x] test scripts for handshake #13

[ ] We will configure CI to complete E2E on github actions.


engine: detect minikube ip

Hello @maiamcc, @landism,
Please review the following commits I made in branch nicks/ch709/minikube:
778d9feb60854fb5b412ce773c9f334d4e69f5d9 (2018-10-30 18:17:08 -0400)
engine: detect minikube ip
a115596700b9d1ff2d85f693106f7775036fe45e (2018-10-30 17:41:40 -0400)
k8s: delete some dead code

(this is the k8s API call that minikube is making internally, and since we already are doing most of the k8s API work i went ahead and switched it to that)


Monitor our configuration and external dependencies

Value Statement
As a VANotify platform administrator
I want to be alerted if the app's configuration is preventing healthy behaviour
And to be alerted if an external dependency of the app becomes unavailable
So that I can address issues and ensure that we are delivering notifications
Acceptance Criteria
GIVEN an external dependency of the app is unavailable
(eg MPI, VA Profile, Pinpoint?, Govdelivery?
WHEN a request is made to /some_endpoint
THEN we respond with information concerning the unavailable dependency
GIVEN the provider_service is using a strategy that is not able to return a provider
WHEN a request is made to /some_endpoint
THEN we respond with information concerning the invalid strategy
GIVEN Datadog is monitoring our platform in some environment
THEN every 5 minutes?, Datadog queries /some_endpoint and asserts that the response is good
(using synthetic tests! datadog and terraform)
AND IF the response indicates that the app is unhealthy
THEN an alert is posted in slack
Checklist

[ ] Checklist item here

Assumptions

Additional Info/Resources

Out of Scope

Open Questions

We would probably need to talk more about what this entails and create additional tickets. We'll also have to talk to our partners to get their take on doing a check like this.

Closing out. Documentation exists.


[Machine Learning] Generating and Accessing QR Codes using Python

Topic Suggestion
[Machine Learning] Generating and Accessing QR Codes using Python
Proposed title of article
Your title should be descriptive of the article/tutorial. Be Specific.
Generating and Accessing QR Codes using Python
Proposed article introduction
We're looking for the first 2-3 paragraphs of your article that appropriately summarize what your article will be about.
We will use this writing snippet to help us assess the overall quality before approval so ensure it has been proofread, spellchecked and grammarchecked.
Quick response (QR) codes are a two-dimensional type of barcode, or scannable series, that can store a range of data, including web links, credit card info, contact information, and even freebies. QR codes are used to encode information in a format that only machines can understand.
Python has a wrapper called  QRCode that allow you to generate QR codes. It can generate QR codes for all sorts of data types, i.e., images, texts etc.
We will also leverage the popular OpenCV computer vision library to help us read and access the information on these generated QR code.
Key takeaways
What are the 3-5 most important things the reader should understand or be able to do after reading this article?
Use this area to get your ideas down on the bulk of your article or tutorial.
By the end of this tutorial, a reader will be able to understand:

How to generate QR codes.
How to read and access information using a QR code.
Use the QRCode python class to perform advanced tasks such as changing the background and the painting color of the QR code, performing error corrections, and changing QR box and border sizes.

Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
With the rise of apps like WeChat, AliPay, Mpesa, QR codes are being used to pay for bills and products as it saves a lot of time. I believe our readers need to have an idea how this is done and this tutorial aims to do just that. We will also accomplish this task with only a few lines of code and I believe this would help our readers learn how to build one themselves without writing a lot of boilerplate code.
References
Please list links to any published content/research that you intend to use to support/guide this article.

QR Code
OpenCV
Data Encryption With Quick Response (QR) Codes in Android

Let's wait until the PR is closed. Thanks

@WanjaMIKE Please reopen this topic issue. My PR has been published.

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic, it has to serve value to the larger developer community at large.
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

We would love to learn your thought process behind the solution you arrived at using these concepts and topics.

That way a developer could see them in action.
As mentioned above - we believe this topic is widely covered on other blog sites.
The best way for students to build a great portfolio is by building what does not exist and what can provide the most value.


Nativefier not found

I tried to run nativefier today and my windows said not found. Anyone know why this is happening and how I can fix this?

install yarn for Windows and clink for Windows
run clink as Administrator and run:

yarn global add nativefier


falco-driver-loader and stable docker images need /etc to be mounted

What to document
Since falco-driver-loader from current master tries to infer the driver target from various files in /etc, falcosecurity/falco:lastest and falcosecurity/falco-driver-loader images need the host /etc to be mounted to /host/etc inside the container (e.g -v /etc:/host/etc:ro).
We have to document this.
There's already another issue related to this: https://github.com/falcosecurity/falco/issues/1188#issuecomment-627312495
Furthermore, many installations and third-party integrations may be affected (eg. the helm chart).
helm chart? cc @nestorsalceda @bencer @nibalizer
contrib? cc @maxgio92

Thanks @leogr. For the contrib, I think the manifests are already up to date (except for the driver loader image which must be updated).
Details here.

I believe the current helm chart is really affected by this issue, see referenced issues above.

@leogr yes the /etc is mounted on /etc/host with helm value Values.ebpf.settings.mountEtcVolume = true  and i'm still seeing this error

@leogr yes the /etc is mounted on /etc/host with helm value Values.ebpf.settings.mountEtcVolume = true and i'm still seeing this error

Note that ebpf.settings.mountEtcVolume is not enough. Both .Values.ebpf.enabled and  .Values.ebpf.settings.mountEtcVolume have to be enabled (see https://github.com/helm/charts/blob/11465c8be7ad5bee3b08553038aa5695d444cafd/stable/falco/templates/daemonset.yaml#L118). But by doing so, `falco-driver-loader will load the eBPF probe instead of the kernel module.
Have you tried with both enabled?

yes both enabled.

yes both enabled.

Hey @usamaahmadkhan
at this point I'm not sure your issue is related to this. I will investigate more.

It seems to me all TODOs have been done :point_right:


Unsupported KotlinClassMetadata of type null after update to Kotlin 1.5.20

After Kotlin version was updated from 1.4.32 to 1.5.20 in an Android project, the Magnet throws an exception during Gradle build (that occurs in Magnet-generated class):
.../build/tmp/kapt3/stubs/main/.../.../.../.../.... . java:9 error:Unexpected compilation error, please file the bug at: https://github.com/beworker/magnet/issues. Message:
Unsupported KotlinClassMetadata of type null
public class .....
           ^

(irrelevant info was replaced with dots (...))

The fix is available in release 3.5 which is on the way.


RSpec/EmptyExampleGroup and CustomIncludeMethods with contexts

Hi!
RSpec/EmptyExampleGroup doesn't use CustomIncludeMethods with contexts. Here is an example with 1.44.1 version:
# frozen_string_literal: true

describe 'Object' do
  context 'with test' do
    example_request 'Remove' do
      expect(status).to eq 204
    end

    context 'with error' do
      example_request 'Update error' do
        expect(status).to eq 422
      end
    end
  end
end

RSpec/EmptyExampleGroup:
  CustomIncludeMethods:
    - example_request

spec/acceptance/test_spec.rb:9:5: C: RSpec/EmptyExampleGroup: Empty example group detected.
    context 'with error' do
    ^^^^^^^^^^^^^^^^^^^^

There is not problem with 1.43.2 version. Thanks!

Thanks for reporting!
CustomIncludeMethods were intended to facilitate the detection of aliases to it_behaves_like, not example group aliases.
It turns out it lacks support for such aliases being called with a block, like in your case.
There's a pull request fixing this https://github.com/rubocop-hq/rubocop-rspec/pull/1015, but we decided not to merge it. Feel free to point your Gemfile to that fork/branch if you like as a short-term solution.
However, with #956 soon to be merged, we don't plan and wouldn't recommend to invest effort into fixing this.
Along with it, we plan to drop the CustomIncludeMethods config option altogether, see https://github.com/rubocop-hq/rubocop-rspec/pull/1007.
If you don't have custom cops based on rubocop-rspec's code and would like this to be fixed ASAP along with 2.0 release, the best you can do is to check some recent pull request's edge-rubocop CI failure and send a pull request fixing at least some of them.
I'll keep this ticket open just in case.

#956 has been released in 2.0, so this should be fixed given that you configure your RSpec DSL aliases for RuboCop RSpec.
Please feel free to reopen if it won't affect how RSpec/EmptyExampleGroup behaves.

Forgot to mention that CustomIncludeMethods have been removed in #1007

Also, this is a duplicate of https://github.com/rubocop-hq/rubocop-rspec/issues/1006


Bump Kubevirt to 0.45.0

BLOCKED: wait for the release of SLES-based kubevirt images and then bump helm chart

Problem:
Bump KubeVirt to 0.45.0 for hot-unplug support
Solution:

Bump version (WIP) and helm chart (BLOCKED).

Update for API changes accordingly:

v1.PersistentVolumeClaimVolumeSource: new hotpluggable field
v1.DataVolumeSource: new hotpluggable field

By specifying those field to true, the volume in a VM turns to be hot-pluggable and  be unplugged at anytime, as well as be reattached after a VM restart.

Related Issue:
#283
Test plan:
After this upgrade, we can make a volume in a VM hotpluggable by setting spec.volumes.persistentvolumeclaim.hotpluggable to true. There are two things we can test:

A hotpluggable volume can be hotunplugged even after restart the VM.
A hotpluggable volume will be auto-reattached after a VM restart.

Note: This PR does not alter base templates. In theory, we can mark all PVC volumes source as hotpluggable including root-disk.

@weihanglo the suse image is available at 'registry.suse.com/harvester-beta' and all have the tag '0.45.0'

Got "is attempting to grant RBAC permissions not currently held" for following rules:
- apiGroups:
    - subresources.kubevirt.io
  resources:
    - virtualmachineinstances/guestosinfo
    - virtualmachineinstances/filesystemlist
    - virtualmachineinstances/userlist
  verbs:
    - get

Need to figure out why.

@weihanglo can u please check if the kubevirt have updated the subresoruce names using /apis/subresources.kubevirt.io/v1

@guangbochen Yep. KubeVirt already used API group subresources.kubevirt.io for a long time:

http://kubevirt.io/api-reference/v0.45.0/operations.html#_v1alpha3guestosinfo
https://github.com/kubevirt/kubevirt/blob/efcc11c/pkg/virt-api/rest/subresource.go

Does this cause the RBAC permission error?

May related to this change. Still investigating.

Yep, and since there is no official kubevirt chart so we have maintained the chart on our own via https://github.com/harvester/harvester/tree/master/deploy/charts/harvester/dependency_charts/kubevirt-operator, make sure the CRDs and template files are aligned with the new kubevirt releases by comparing its release assets https://github.com/kubevirt/kubevirt/releases/tag/v0.45.0, thanks.

Close in favor of #1336


Development branch

I have asked again for some feedback on metasyn (in terms of documentation). One thing that stood out was that the documentation is currently ahead of the code, so that it doesn't work correctly when you follow the new instructions with the old code (on PyPi). While we can make more releases, another solution would be to start using development branches. We would only merge to the main branch during a release. What are your thoughts?

Yes, I have been thinking exactly this for a few days now. We can do several things to organize our dev side:

#279
Have another look at simplifying our checks / lints: more ruff less other stuff
Maybe move to a fork way of working? So no branches on sodascience/metasyn except for the below proposal?
#281
#282

Proposal

have two branches: main and dev. (or prod and dev)
dev branch is basically what our main is currently
dev is supposed to be "quite stable", but some temporary bugs / stuff not working is allowed
main branch always works, not allowed to fail any tests.
main branch is always up-to-date with latest pypi release, latest docker, latest github release. Basically: pushing to main is equivalent to creating a new release (through Continuous Deployment / GH action)
main accepts only PRs from dev in principle, except for bugfixes
update to main triggers renewed CI/CD in plugin repos to check if they still work.
PRs to main need approval by either @qubixes or @vankesteren
ensure we have two strands of docs on readthedocs: stable (corresponding to our main branch) and dev (corresponding to our dev branch)

@vankesteren Yes, agree mostly with the proposal. One thing I would change:

The dev (or I would call it develop) branch should not fail any tests either.
Ideally PRs into dev would also have approval from a maintenance reviewer.

I'm fine with working in forks, it has been a while!

Yeah, just to keep the repo clean you know, so i dont have to go and delete stale branches every other week 😛

I don't think that would be my most important reason, but I suppose we should follow the leave-no-trace principle!

Let's do this as well with our optional dependencies:
https://github.com/asreview/asreview/blob/d84c41a78940649a910e77748012a1945535139e/pyproject.toml#L134C1-L156C2


doc: google_re2 for type type.matcher.v3.RegexMatcher is not required any more

Commit Message: Correction of a proto model to fix the actual state in envoy. The field was both required & deprecated. During execution, it was not required anymore.
Additional Description:
Risk Level: Low
Testing: None
Docs Changes: Correction of a proto model to fix the actual state in envoy. The field was both required & deprecated. During execution, it was not required anymore.
Release Notes: None
Platform Specific Features: None
Fixes https://github.com/envoyproxy/envoy/issues/26875

/retest

Please fix DCO and look at CI.
/wait

@davinkevin when you fix DCO if you also merge main it should fix the CI problems i think

Rebased and signed ✅

format diff is
diff --git a/api/envoy/type/matcher/v3/regex.proto b/api/envoy/type/matcher/v3/regex.proto
index c1fc749..10b3970 100644
--- a/api/envoy/type/matcher/v3/regex.proto
+++ b/api/envoy/type/matcher/v3/regex.proto
@@ -57,10 +57,8 @@ message RegexMatcher {

   oneof engine_type {
     // Google's RE2 regex engine.
-    GoogleRE2 google_re2 = 1 [
-      deprecated = true,
-      (envoy.annotations.deprecated_at_minor_version) = "3.0"
-    ];
+    GoogleRE2 google_re2 = 1
+        [deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"];
   }

ci should post these - but looks like i may have broken that

@davinkevin look like proto needs format fix, please https://dev.azure.com/cncf/envoy/_build/results?buildId=135304&view=logs&j=c95d62a5-6bb9-58f0-2a02-7575fd482a15&t=cbf2fcae-fb78-5fe6-095d-49113b477432&l=81
/wait

Updated, rebased and pushed again! I hope it's the one 😉

Fixed, I hope this one… is the good one! Sorry about this delay.
I've rebased too in the process 😇

/retest


RO-4051: Load COD references separately from CCDC/CSD references

Ticket: https://rcsbpdb.atlassian.net/browse/RO-4051
Depends on: https://github.com/rcsb/py-rcsb_exdb_assets/pull/129

Close with new, cleaner PR: https://github.com/rcsb/py-rcsb_utils_dictionary/pull/66


Port to Unity?

I think we've come to the point where a list would do good, I'll update this as we discuss.
Unity over Angular benefits:

Support for outlier cases of users (console/TV users that don't want to use a remote)

Angular over Unity:

Same language for front/back-end
Potential to run the same code for front/back-end
Significantly more experience in the community
No need to install apps on all your devices (though I found a section about web pages built with unit so maybe not?)
No large learning curve
Won't have to support a controller navigation layout - games take months to port controls between console and PC and still sometimes screw it up, think the Plex desktop app here, you can't even use your mouse!

@dantheman213 I would of linked you directly to the full specs and told you the section, however they require you to be a memeber of the DLNA community to view it so I couldn't.  However, if you don't believe me, give emby a try, switched over from Plex ~ 3 months ago, relatively painless and doesn't require you to kill your plex server even!  You can use their "Select a Player" section to select DLNA devices to play directly to, as it's describe in the Wiki page I linked earlier.

@admwx7 I'll check it out. Based on past experiences with DLNA though I don't have high hopes unless there's more going on with their service than just the DLNA protocol.

They key is that you just turn your DLNA device on and make sure it's got DLNA turned on with a valid video player installed (in the case of xbone).  Pretty much if your console can search the server for media then it should be able to get media pushed to it through the DLNA protocol.  After that you just use the web interface or your mobile app to do all the controlling, which I'm not a fan of using a controller for navigation to begin with so it's preferable for me.

@dantheman213 I believe what admwx7 was trying to portray before (correct me if I'm wrong), is that DLNA on the PS3/PS4 has no fancy interface, it is a file folder structure interface, however if you utilize the 'emby' app on your phone, and your PS3/PS4 is turned on and talking on your LAN, the DLNA media server (emby) will see the PS3/PS4 device, and on your mobile you can browse through the emby app all of your shows in the nice UI that you've wanted. Then when you find a show, you tell Emby to send the show to your PS3/PS4, the PS3/PS4 is listening on the network and gets the request from your Emby server on the LAN and starts streaming the show.
with @admwx7 last comment, it all clicked with what he was trying to explain before - seeing as I'm not as well versed with DLNA - I thought DLNA was rather a one way protocol in the sense that your PS3/PS4 can go onto a LAN and find a DLNA server like emby/plex/windows, and browse through the folders for your media, I didn't realize it has the capability of sending out requests from a DLNA server to devices and force them to stream content you've sent to that device via other devices aka mobile/PC.
For some people that may work just fine, they may rather use their mobile/tablet/PC to choose shows then send them to the PS3/PS4 etc. What @dantheman213 and some others want is a platform that scales it's UI across all devices. that one UI that's compatible across all devices can still have DLNA features.
I will say that both options are great, @dantheman213 approach is going to be far more complicated/less coders out there that are willing to contribute, but has the biggest payoffs potentially.
I'm not a great coder myself, I don't understand all the frameworks/libraries/platforms etc. and their best use cases, but I had figured from researching so much into react/flux(soon to be relay) and immutableJS along with webkit(rather utilize the gibbon netflix approach) and of course nodejs, would create the ultimate JS based multi platform scalable system with the largest developer base available out there in the open-source community.
Everyone's entitled to their opinions, we have a lot of great options that have been presented and I don't necessarily see any options laid out that have full on road-blocks for cross platform scaling. What I do see is the idea being forked and people going their own ways due to not agreeing with technologies chosen for this project (which is ok!), it's not ideal to have people split off instead of contributing to one project, but to each their own.
I'm a little worried personally about unity just because i'm not familiar at all with it, not a c#/.net programmer, nor have a lot of experience with the MVC model. I don't doubt that unity can complete this project - it's just how much work is it going to take to build? What is available in the unity world so that the project doesn't have to have every aspect built from scratch? is there a webkit/cordova style alternative SDK that will eliminate the need for a platform engine app to be built across all of these devices? etc.
If the building blocks are available in the unity world just like the building blocks are available in the JS world, then I see unity as a learning curve that developers will need to adapt to if they want to contribute to this project. But if tons of stuff has to be built for unity that already exists in the JS world, then  I see it has a detriment to the progress timeline of the project.

I actually created a repo to pursue this idea. Check out the other ticket at the bottom for more info..
https://github.com/dularion/streama/issues/20#issuecomment-127828295

https://github.com/dantheman213/ambrosia
If you want to get in on the action


Export Team Event Data

Allow a team to request all match data at the end of the event. Hosted or CSV file for debugging post event.

I'm not sure I want to do this, just because it's a greater risk for data leaks and really the FTA should review each match log before sharing it with the team. But I did add a CSV export button for individual logs a242ce8


Update RTMP URL after running?

I wonder if there was a chance to change the rtmp url address after run the program
is there a way use other rtmp address, not just the coded in address?

Yes, just create a text input field that has the RTMP path and a button to connect/disconnect

I wonder if there was a chance to change the rtmp url address after run the program
is there a way use other rtmp address, not just the coded in address?

Take user URL input in EditText and pass it to URL Variable !

Hepl me please^ How can write RTMP URL (what app/{stream-key}     need?)  for translate video from android (local ip1) to PC (local ip2) through WiFi (I can't connect to nginx-rtmp under Docker ) ?

@vit1967
You should be more clear about the Issue! what're you trying to do? what you have done till now !

@vit1967
You should be more clear about the Issue! what're you trying to do? what you have done till now !

Im my case problem was successfully resolved by change...
private val url = BuildConfig.STREAMING_URL
to
private val url = "rtmp://<IP_ADDRESS>:1935/live/s" //BuildConfig.STREAMING_URL
in MainActivity.kt
Thanks for the good code)) But keep it simple ;)

At the same time the question: I would also, in addition to the video, transmit "to the other side, through the nginx", also any messages. Is this possible using only nginx (and RTMP prot.)? Or do I have to hang a separate chat server for this?

@vit1967
you can also receive the video using ffmpeg library . write a command which will keep listening to a port number and play whenever there is a incoming stream.


Remove references to Sysdig

What would you like to be added:
Can we rename some of the Sysdig references in code for architectural vanity? We are trying to decouple this for vendor independence and this is confusing for users.
Why is this needed:
Clarify the separation of the technology

We can see work started https://github.com/falcosecurity/falco/pull/910 but still needs work.

I am working on a PR for this and can have something open during the Falco hackathon this week! Woo!

/milestone 0.19.0

There's anything more than what we have in this?
https://github.com/falcosecurity/falco/pull/922
I'm a bit confused about what you want to do.

#922 fixes the majority of those references btw :)

This is done. Closing


[FLINK-29348][table] DynamicFilteringEvent can be stored in the CoordinatorStore if it's received before the listener source coordinator is started.

What is the purpose of the change
This pull request fixes the but that the DPP(dynamic partition pruning) can not work with adaptive batch scheduler, since in such scenario the source coordinators may be not started before the DynamicFilteringEvent for DPP purpose is sent.
Brief change log

Stores the DynamicFilteringEvent in the CoordinatorStore if it's received before the listener source coordinator is started.
Add compute method in CoordinatorStore to support the feature.

Verifying this change
This change added tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run azure


x/pkgsite: Support pseudoversion semver-timestamp-commit_hash on about pages

What is the URL of the page with the issue?
https://pkg.go.dev/about#adding-a-package (if a doc bug)
<EMAIL_ADDRESS>(if a code bug)
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Screenshot

What did you do?
I visited the below pages, which have version info and a downloadable artifact like I expect:
<EMAIL_ADDRESS><EMAIL_ADDRESS>I also visited<EMAIL_ADDRESS>which does not have any information about this package version.
Note that v0.102.2-0.20220627142403-5be6d33a57cc is still a valid semver, and everything after the first dash is part of the semver "pre-release identifier": https://semver.org/#spec-item-9
What did you expect to see?
Package version info / other metadata should be displayed on<EMAIL_ADDRESS>The behavior should be the same as this page for the same package but a different version<EMAIL_ADDRESS>What did you see instead?
Oops! We couldn't find<EMAIL_ADDRESS>Check that you entered the URL correctly, try fetching it following the instructions here, or request to add<EMAIL_ADDRESS>to pkg.go.dev.
There is also a button labeled Request<EMAIL_ADDRESS>but clicking this does not solve the issue. The package is still not available on pkg.go.dev even after waiting.
Maybe this is expected and these pseudoversions are not supported on the pkg.go.dev about pages, even though they are present on the proxy.golang.org and the index.golang.org pages. In that case, I think that https://pkg.go.dev/about#adding-a-package should be updated with a note that explains this:
Adding a package
Data for the site is downloaded from proxy.golang.org. We monitor the Go Module Index regularly for new packages to add to pkg.go.dev. If you don’t see a package on pkg.go.dev, you can add it by doing one of the following (note):
Visiting that page on pkg.go.dev, and clicking the “Request” button. For example:
https://pkg.go.dev/example.com/my/module

Making a request to proxy.golang.org for the module version, to any endpoint specified by the [Module proxy protocol](https://pkg.go.dev/cmd/go/#hdr-Module_proxy_protocol). For example:
<EMAIL_ADDRESS>
(note): Note that pseudoversions of packages, like v0.0.0-20220315123456-abcdeffedcba, are not supported.

I see the pages are there now


[minor] replace poison with jason

Coverage remained the same at 78.571% when pulling 9229ab4615e1c7608dd4fbcacfd4015033dc4b90 on imax-iva:replace_poison_with_jason into 8b54c15ac7dfbaf1ef138f04468776f06676484e on Nebo15:master.


Virtual Only Meetings Should Not be Tied Physical Location

See https://github.com/code4recovery/12-step-meeting-list/issues/371. This is a similar issue in that virtual only meetings that never met at a brick and mortar are tied to the same location even though the only thing they have in common is that they have the same address because we needed to put county and state (or some approximate address).
In TSML UI, it doesn't list it as same location. Instead it lists all the meetings that are sharing the address, and this is a confusing display.
Is there a way to separate this? If not, what about if it's virtual only, then not even displaying these other meetings?
See https://sdi-staging.sussexaa.org/sdi-meetings/?meeting=daily-reflections-tuesday
And then what gets weird is if I select from the detail another meeting such as https://sdi-staging.sussexaa.org/sdi-meetings/?meeting=we-are-not-saints, I don't see any of the other meetings at that "location". Same goes for all other ones that are not part of the Daily Reflections Online Group. This is not true in TSML WP version. In the case, it still says there are xx meetings at this location.

Ok, I'm hoping I've solved this now. In addition to the colorful icons, there is new logic:

If the meeting meets in person, then other in-person meetings at the same location are listed in the location section
If the meeting meets online and belongs to a group, then other online meetings from that group are listed in the group section

Looks great. Thank you.


Recognize more fonts and train tesseract for different meme formats

Hi there,
I was wondering if it is possible for your wonderful script to recognize more fonts? I'm having the most problems with the font impact and was wondering if i can add more fonts for tesseract to recognize? Also can i train tesseract for different meme formats? And if so, how could i do this?
Hoping you can help me out,
Kind regards,
kevin

By different meme format you mean on image text meme, It does not render as I am taking white background rendering using OpenCV to separate meme and image. We could use other fonts though but it should be installed in the system, thus used Arial as it comes builtin

Yes, with different meme formats i mean for example like this one

Is it possible to train the OpenCv in your script? Or does it require some hardcoding?
And thank you for clarifying my issue with different font types on memes :)

I would have to hard code it to look for White Background. I would have to look into it.


Initial hello world sample extension

Closes #1
I cloned a sample hello world extension from here. From the command palette, calling the command 'Hello World' displays a popup with the message "Hello World!"

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


undefined utility lib symbols and linked Boost filesystem

Here are the cmake bugs I mentioned yesterday, which I believe are OS independent.

Whats the status of this dev branch? Should I be working off master or devel?
I want to edit your output to be an actual cif file rather than a cif.pqr file, which resembles more of a pdb format.

I used the dev branch only for major changes which might take a while to finish. The master is for the usual (small) stuff.
Concerning the output. Sure, PQR is a modified PDB (I couldn't find the exact definition, so it's a kind of best effort).
CIF output would be nice. I was just unsure about the best (standard) way of storing the charges. The CIF dictionary in wwPDB defines partial_charge only in the _chem_comp_atom category, not in _atom_site, which would fit the purpose.

So it sounds like my small tweaks to the cmake should have been merged to master instead?
I have been working with several other libraries to append their calculated values (partial charge and solvent accessible surface area) and we just append additional columns to the atom_site table.
I have a working version that outputs a complete cif file with appended tags to the atom_site category: _atom_site.chargeFW2_partial_charge and _atom_site.chargeFW2_radius.
Let me know if you would like a PR and to what branch.


in China hover: Warning, couldn't read the online plugin list

Sometimes this happens in China，Sometimes such problems do not happen

hover: Warning, couldn't read the online plugin list: Get "https://raw.githubusercontent.com/go-flutter-desktop/plugins/master/list.json": dial tcp <IP_ADDRESS>:443: connectex: No connection could be made because the target machine actively refused it.

hover: Warning, couldn't read the online plugin list: Get "https://raw.githubusercontent.com/go-flutter-desktop/plugins/master/list.json": net/http: TLS handshake timeout

Hmm, I guess the connection is firewalled sometimes... Needs investigation into how we can serve that file from within china, in the same way the flutter engine downloader can switch to china-based servers using $FLUTTER_STORAGE_BASE_URL

Hmm, I guess the connection is firewalled sometimes... Needs investigation into how we can serve that file from within china, in the same way the flutter engine downloader can switch to china-based servers using $FLUTTER_STORAGE_BASE_URL

ok


Include Go Report Card (code quality) in Readme.md

You can check an in-depth explanation of the Go Report Card here:
https://goreportcard.com/report/github.com/ojrac/opensimplex-go

I think I'd rather avoid badge clutter.

Ok.
Do you have some contribution guidelines?
I’d like to help with some documentation updates, performance optimisations for the Go implementation, benchmarks and possibly a seperate package that wraps on top of this one to add some extra parameters for configuration and customisation of the noise.

Thanks for your interest! Sorry for the short response; this read a little like someone spamming Github repos to advertise a pet project. Taking a second look, I think there's nothing wrong with adding some linter feedback.
Re: contribution guidelines, I don't have a lot of structure here -- this was initially just sharing some time-consuming work porting a Java sample. I'm unsure about how or whether to grow it, and a separate package that gives more customization sounds like a very good idea. (It might even be a better place for some of the "normalized" stuff that went in earlier.)
I don't have a lot of time to maintain this, but I'll do my best to not waste your time. Docs and benchmarks are high on my list of things I wish I had time for, and I appreciate the help making this more useful.


PCNT Example in the IDF is not working correctly (IDFGH-5743)

Environment

Development Kit:     custom

Module or chip used:  ESP32-PICO-V3

IDF version: v4.4-dev-2594-ga20df743f1 (but also V4.2 release)

Build System:   IDF

Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0

Operating System:   Linux

Problem Description
The upper and lower limits when configuring pcnt_config_t are not handled correctly
   pcnt_config_t dev_config = {
        .pulse_gpio_num = config->phase_a_gpio_num,
        .ctrl_gpio_num = config->phase_b_gpio_num,
        .channel = PCNT_CHANNEL_0,
        .unit = ec11->pcnt_unit,
        .pos_mode = PCNT_COUNT_DEC,
        .neg_mode = PCNT_COUNT_INC,
        .lctrl_mode = PCNT_MODE_REVERSE,
        .hctrl_mode = PCNT_MODE_KEEP,
        .counter_h_lim = EC11_PCNT_DEFAULT_HIGH_LIMIT,
        .counter_l_lim = EC11_PCNT_DEFAULT_LOW_LIMIT,
    };

Expected Behavior
Since PCNT_MODE_KEEP is being used when the counter reaches the upper or lower limits (counter_x_lim) the counter should not change and stay at the high limit.
Actual Behavior
But the output (below) shows this. It resets the value at high counter level (101) to zero when counter_h_limit is used.
And it does not honor the lower counter level (-1) and should stay there. In fact there is no lower limit. It completely ignores counter_l_lim.
Steps to reproduce

configure example rotary_encoder/components/rotary_encoder/src/rotary_encoder_pcnt_ec11.c
with your rotary encoder GPIO numbers and use these limits, for example.

#define EC11_PCNT_DEFAULT_HIGH_LIMIT (101)
#define EC11_PCNT_DEFAULT_LOW_LIMIT  (-1)

Expected behavior is that the counter values should stay between 0 and 100.
Debug Logs
I (316) example: Encoder value: 0
I (1316) example: Encoder value: 0
I (6316) example: Encoder value: 48
I (7316) example: Encoder value: 84
I (8316) example: Encoder value: 92
I (9316) example: Encoder value: 98
I (10316) example: Encoder value: 5
I (11316) example: Encoder value: 16
I (12316) example: Encoder value: -15
I (13316) example: Encoder value: -40
I (14316) example: Encoder value: -96
I (15316) example: Encoder value: -149
I (16316) example: Encoder value: -98
I (17316) example: Encoder value: -53
I (18316) example: Encoder value: -15
I (19316) example: Encoder value: 17
I (20316) example: Encoder value: 32
I (21316) example: Encoder value: 55
I (22316) example: Encoder value: 98
I (23316) example: Encoder value: 127
I (24316) example: Encoder value: 59
I (25316) example: Encoder value: 103
I (26316) example: Encoder value: 123

WORKAROUND:
define the limits like this:
#define EC11_PCNT_DEFAULT_HIGH_LIMIT (1)
#define EC11_PCNT_DEFAULT_LOW_LIMIT  (-1)

Then you get interrupts whenever increment or decrement of one count is being recognized.
Implement the interrupt routine like this, with your own global variable int rotary_value.
static void ec11_pcnt_overflow_handler(void *arg)
{
    if (status & PCNT_EVT_H_LIM) {
        rotary_value++;
    } else if (status & PCNT_EVT_L_LIM) {
        rotary_value--;
    }
}

Manage upper and lower limit in your application code and you can use the PCNT for your rotary encoder.
    // limit the values
    if( rotary_value > ROTARY_MAX_VALUE ) rotary_value = ROTARY_MAX_VALUE;
    if( rotary_value <= ROTARY_MIN_VALUE ) rotary_value = ROTARY_MIN_VALUE;

SUGGESTION FOR ESPRESSIF DEVELOPERS:
Since the HAL implementation of the PCNT is not available for normal mortals, just remove the values the PCNT manages, including the managing of the upper and lower limits, and just provide events for the users, so they can manage whatever their application needs. I bet it's simpler and more flexible.
CHEERS
Juergen

Since PCNT_MODE_KEEP is being used when the counter reaches the upper or lower limits (counter_x_lim) the counter should not change and stay at the high limit.

I don't think the hardware will act in this way. PCNT_MODE_KEEP is saying keep the current count mode instead of hold the count value.
If the limit value is reached, it will returns back to zero, it is a hardware behavior.

So, you mean, for a rotary encoder implementation, the original example is useless? Jumping back to zero at limit is not what a rotary encoder example would want, correct? Think of e.g. a volume control rotary button.
How would you propose to implement the example then?

you can make use of the threshold and/or limit interrupt, where you can handle the overflow or saturation by software. The original rotary example is useful for measuring DC motor speed as far as I can tell. See https://github.com/espressif/esp-idf/tree/master/examples/peripherals/mcpwm/mcpwm_brushed_dc_control

Thanks for reporting, feel free to reopen.

Facing the same challenge. I have to say that the API doesn't make a lot of sense to me either in terms of value proposition. If the range forbids 0 as a lower bound, always reset to 0 in both direction AND/OR doesn't allow to hold the counter value, then what is the point of configuring the range at all?


Feature Request: add builtin cache support

like https://github.com/actions/setup-node caching npm and yarn package
suggest a feature to cache installed package with install

@trim21 But setup-node has pnpm cache option
https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data

I would suggest reopening this; we are using a self-hosted runner and are not using setup-node because node is preinstalled. As such... we can't use setup-node's cache option.
Having to add THREE actions to use pnpm with caching is kinda ugly.
If I have time, I might open a PR for this. @trim21 would you mind reopening?

I would suggest reopening this; we are using a self-hosted runner and are not using setup-node because node is preinstalled. As such... we can't use setup-node's cache option.
Having to add THREE steps to use pnpm with caching is kinda ugly.
I'm looking into making a PR for this. @trim21 would you mind reopening?

Would also like to see this. I install pnpm as standalone and want to let it manage my node version. I don't need the setup-node action

setup-node doesn't really seem to work, I'm always getting pnpm cache is not found

setup-node doesn't really seem to work, I'm always getting pnpm cache is not found

you need to setup pnpm first

you need to setup pnpm first

@trim21 what does that mean? I'm following the docs and get the pnpm cache is not found message.
    - name: Checkout
      uses: actions/checkout@v4

    - uses: pnpm/action-setup@v4
      name: Install pnpm
      with:
        version: 9
        run_install: false

    - name: Install Node.js
      uses: actions/setup-node@v4
      with:
        node-version: 20
        cache: "pnpm"

My guess is you are referring to the install pnpm step, which I do, yet I still get the no cache message. Is there anything else that I am missing?

you need to setup pnpm first

@trim21 what does that mean? I'm following the docs and get the pnpm cache is not found message.
    - name: Checkout
      uses: actions/checkout@v4

    - uses: pnpm/action-setup@v4
      name: Install pnpm
      with:
        version: 9
        run_install: false

    - name: Install Node.js
      uses: actions/setup-node@v4
      with:
        node-version: 20
        cache: "pnpm"

My guess is you are referring to the install pnpm step, which I do, yet I still get the no cache message. Is there anything else that I am missing?

I'm using this in my ci
inputs:
  node-version:
    description: 'node version'
    required: false
    default: '^22.11.0'

name: 'Setup Node and run npm ci'
description: 'setup node env'
runs:
  using: 'composite'
  steps:
    - name: Setup Node
      uses: actions/setup-node@v4
      with:
        node-version: '${{ inputs.node-version }}'

    - run: |
        corepack enable
        corepack prepare --activate
        pnpm --version
      shell: bash
      name: install pnpm

    - uses: actions/cache@v4
      with:
        path: ~/.local/share/pnpm/store/
        key: ${{ runner.os }}-1-node${{ inputs.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
        restore-keys: |
          ${{ runner.os }}-1-node${{ inputs.node-version }}-

    - name: Install Dependencies
      run: pnpm install --frozen-lockfile
      shell: bash

you need to setup pnpm first

@trim21 what does that mean? I'm following the docs and get the pnpm cache is not found message.
    - name: Checkout
      uses: actions/checkout@v4

    - uses: pnpm/action-setup@v4
      name: Install pnpm
      with:
        version: 9
        run_install: false

    - name: Install Node.js
      uses: actions/setup-node@v4
      with:
        node-version: 20
        cache: "pnpm"

My guess is you are referring to the install pnpm step, which I do, yet I still get the no cache message. Is there anything else that I am missing?

This works for me, you can take a look:
https://github.com/jesec/flood/blob/80825db785efa4bd29eb2ec9218afdcdec39f031/.github/workflows/build.yml


scany thinks it's scanning into a primitive type

i have this code:
type Instance struct {
	Domain       string `sql:"domain"`
	URL          string `sql:"url"`
	ClientID     string `sql:"client_id"`
	ClientSecret string `sql:"client_secret"`
}

func GetInstance(domain string) (i *Instance, err error) {
	err = pgxscan.Get(context.Background(), pool, &i, "select * from instances where domain = $1", domain)
	if errors.Is(err, pgx.ErrNoRows) {
		err = InstanceNotFound
	}
	return
}

i get the error: scany: to scan into a primitive type, columns number must be exactly 1, got: 4
what am I doing wrong here? this error doesn't seem correct (a struct is not a primitive type), and i'm pretty sure i'm using similar code (just with a different struct) elsewhere

oh, I used pointers incorrectly. the fix was to use i Instance
still seems like an odd error message, tbh

Hi, @dev-kittens. Thanks for opening this issue. Yes, you are passing a pointer to a pointer. You need to remove the extra pointer.
BTW, I can see that you use sql struct tag, JFYI scany supports only db struct tag. Mapping won't work if you use sql word.


remove github streaming data demo

Description

Urgency

[ ] Blocker
[ ] High
[x] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

Also a really simple one. Only need one review


Revert to unattended-upgrade

There is a difference in behavior between unattended-upgrade and running apt upgrade. For this reason, I am switching this back to using unattended upgrade.
Since unattended-upgrade doesn't always upgrade all packages, I need to remove the packages that don't get upgraded from the return value.

@squirrelsc Ready for review


The /first link is broken.

The /first link should result in displaying Bob Monkhouse's quote.

Fixed with PR #10.


Create Output Tab

Output Tab should contain dynamic layouts for adding and removing sub output tabs.

#20 (point 4)

Sub tab structure should be like:

output types (comobobox)
We need to populate the requirements from the output formatters directory requirements based on user's selected output type

The layout of output tab as suggested by the @S-Hunt is depicted in figure below:

For each output type we read a list of required and optional values by calling cpf.output_formatters.Write*.Requirements() where * is one of the output types. This returns two lists. The first is the required parameters and the second is the optional parameters. The number of values in each of these lists can be gained by: len(cpf.output_formatters.Write*.Requirements()[0]) len(cpf.output_formatters.Write*.Requirements()[1])

Dynamic widgets have made supportive based on Required and Optional parameters as quoted above (textboxes are appearing based on list items either its empty .e.g., if empty no textbox appears and it will remain dynamic if no. of items in required and optional params will change in CPF CLI, the widgets acts accordingly as Simon wanted) but still refers to issue #20 point 4.

It's been completed here in half dynamic and half static manner due to variable declaration issues is CPF core.

Textboxes are created dynamically based on length of lists retrieved by len(cpf.output_formatters.Write*.Requirements()[0])
Storing and populating data to those textboxes is static due to variables' datatype management as its not a dictionary but these variables are separately being dumped into output_settings variable of settings class. In the nutshell, there is no link between list and its items


Missing the demo link into the read me.

I removed it because I thought it was useless. It's more a demo of the "IDE" rather than the auth. service.

A screenshot of the "IDE" should be added in the documentation though!

The queries page is the best demo of the server side.


What is the missing Secrets.swift file for?

For whatever reason, there is a dependency on a file that is not part of the repository. It is Secrets.swift, and the path to it is what I presume to be the repo owner's personal OneDrive.
What should this file contain @smittytone ?

Assorted URLs and things not intended for public consumption.


Add support for django-netjsonconfig 0.3

Add support for django-netjsonconfig 0.3 and release new version.

Done


Trouble downloading

Hey sorry to bother you I've been trying to download the extension for an hour now. When I try to look it up on the vs extensions it doesn't show up and when I try to download it manually by double clicking on the file I still can't get it to work. Is there any way I can download it still? I would love to your extension would bring me so much joy.

The extension is only for Visual Studio Code, not Visual Studio.


Apps won't open when custom resolution is set in Virtual Machine

Hyprland Version
v0.30.0
Bug or Regression?
Bug
Description
I wanna be clear that I'm very new to hyprland and will do everything I can to help, and am not an expert at all.
When I set a custom resolution in hyrland.conf no apps I've tested except kitty open.
highrr and highres work however:
highrr gives a slightly better resolution but still way too small and wrong aspect ratio.
highres gives way too big resolution.
When running xrandr all of these output normal xrandr output of available resolutions. However when doing with custom resolution it outputs only Screen 0: minimum 16 x 16, current 0 x 0, maximum 32767 x 32767
The error that shows when running apps through terminal is Gdk-CRITICAL **: 11:47:23.968: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
If I open the app then set the resolution the apps continues to work.
I've tried adding resolution through xrandr. Tried custom scale factors. in terms of the hyprland conf, I've singled it down to "1920x1080" bit itself. Adding @60 had no effect.
I will test natively on my home desktop when I get home and add if it also applies there when setting custom resolution.
Thanks in advance for any assistance!
How to reproduce
My system uses nixos on virtualbox with hyprland. Works fine (except preferred resolution is 400x300) unless I set custom resolution. My config is at https://github.com/eksno/nix-config.
set monitor=Virtual-1, 1920x1080, auto, auto in the conf
Crash reports, logs, images, videos
No response

Finally got it working using modeline. For anyone with the same issue run cvt x y for me being cvt 3440 1440 then implement the modeline shown removing spaces and such as shown in the documentation https://wiki.hyprland.org/Configuring/Monitors/#custom-modelines here


Documentation: backslash escaping in HTML

http://docs.openf2.org/container-development.html#other-options suggests:
data-f2-context="{\"hello\":\"world\"}"

However, HTML doesn't use backslashes for escaping, only entities.

Thanks, @pornel would you be willing to make this change in the source and submit a PR to 1.4.1-wip (#249)?


Fix breadcrumbs last sibling bug when deleting last sibling

Fixes #99
Uncomment the code in the Remove method to update the root IDs correctly. Ensure the Roots list is updated correctly in the Remove method

I think this will never be accepted..

I think this will never be accepted..

Yeah, this PR works for us. I hope this will get fixed with next version of the package to work with Unity 6.


Merge new features

This fixes #441 manually.

This adds a few features:

Support for Code39ExtendedMode in the options
Android switches to a faster camera implementation


removing deleteIfExistsDirThatWasAlreadyDeleted test since the response status code has changed

Description
Removing ShareApiTests.removedeleteIfExistsDirThatWasAlreadyDeleted since the response from calling deleteIfExistsWithResponse twice has changed from 404 to 202. Already asserted that the original API deleteIfExistsWithResponse works as expected, so we can safely remove this test.

/azp run java - storage - tests

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/check-enforcer override

Overriding check enforcer since pipelines are not running.


Revisit Planet::minimumMolecularWeight()

I'm not sure I've got that implemented correctly.  And the doubling/halving the weight in the initial search seems way too extreme.

There was a bug in the search.  That's fixed, and I've added a shortcut to return immediately if the upper limit is lower than atomic hydrogen.


Update ux-ui-designer-researcher.md

Updates Design Contractor position based on feedback from @srhhnry

@mrose914 @thekaveman Here's the application link: https://forms.clickup.com/8631512/f/87d6r-14154/EYTB48KL0KYX71LH1Q?Job Role=UX/UI Designer
Please use the full link as the last part,?Job%20Role=UX/UI%20Designer auto-fills a field in ClickUp


ADD ALGOL Hello World!

Add ALGOL Hello World

Add MATLAB Hello World! #1

Invalid

Removed MATLAB.m
ALGOL Hello World Still There, Requested Changes Done 💯

Removed Readme.txt

Hey @knightking100  can you please add hacktoberfest label to my pull request, i am not able to do so.


Frequent transport-level SqlClient exception on Linux Rocky 9.5 Minimal ISO - A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 35

Describe the bug
Running a simple C# .NET 8.0 Console program on a newly installed VMware VM running Rocky9.5 Minimal ISO with prerequisites
dotnet-runtime-8.0, aspnetcore-runtime-8.0 and mssql-server-selinux x86_64 16.0.4165.4-7 all installed via a script we see frequent
occurrences of the following exception.
Exception: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 35 - An internal exception was caught)
Note that the simple console program simply attempts to provide command text of increasing length to the SqlCommand ExecuteNonQuery() method.
Since it is not the first request which fails, the basic SqlClient -> SQL Server communication appears to be configured correctly.
I have attached a log of the execution of the console program on my Rocky9.5 VM - sqlclient_test_script_log_28-11-2024-17-29-11.log
Exception message:
Exception: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 35 - An internal exception was caught
Stack trace:
Stack    at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean isAsync, Int32 timeout, Boolean asyncWrite)
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at Mfb.SqlClientError.Program.TestGeneratedScript(SqlConnection connection, Int32 numIntProps)
   at Mfb.SqlClientError.Program.TestGeneratedScript(SqlConnection connection, Int32 numIntProps)
Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 35 - An internal exception was caught)
 ---> System.IO.IOException: Unable to read data from the transport connection: Connection reset by peer.
 ---> System.Net.Sockets.SocketException (104): Connection reset by peer
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.Read(Span`1 buffer)
   at Microsoft.Data.SqlClient.SNI.SslOverTdsStream.Read(Span`1 buffer)
   at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at Microsoft.Data.SqlClient.SNI.SNITCPHandle.Receive(SNIPacket& packet, Int32 timeoutInMilliseconds)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean isAsync, Int32 timeout, Boolean asyncWrite)
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery()

To reproduce

Install a new VWware VM with Rocky9.5 Minimal ISO.
VM configuration used was VMware VM with 8 CPUs, 8 Cores per Socket, 32 GB Memory, 100GB Hard Disk Thin Provisioned, EFI Boot
As part of the Linux installation, create a user 'administrator' and select the 'Make this user administrator' option. Ensure the VM has internet access to allow subsequent install of SQL Server, .NET etc.

Use the supplied SqlTest Visual Studio Solution to produce a release build and publish as a single file, self-contained linux-x64 executable for .NET8.0

Once installation is complete, log into the new VM using the administrator user.  Enter the command nmcli to determine the IP address allocated if using DHCP.
Copy the SqlTest executable built in step 2 along with the uploaded bash script sqlclient_test.sh to the home directory of the administrator user on the Rocky 9.5 VM

Run following commands from a terminal on the VM
chmod +x ./sqlclient_test.sh
./sqlclient_test.sh

This script performs the following
Installs dotnet-runtime-8.0, aspnetcore-runtime-8.0 and mssql-server-selinux x86_64 16.0.4165.4-7
Configures sa password on SQL Server installed to match that used in SqlTest executable
Opens the required firewall ports.
Runs SqlTest program in a loop.
Each execution of SqlTest creates a new DB MFB_TESTDB
Sends SQL requests of increasing length to attempt to create a table in that DB.
Deletes DB MFB_TESTDB if the program executes without error.

Results should be logged in a file in the administrator home directory sqlclient_test_script_log*.log

Attached
SqlTest.zip - Simple C# .NET8.0 Console solution using Sql Server System Administrator user to send text of increasing length to the SqlCommand ExecuteNonQuery() method
sqlclient_test.zip - Bash script to install dotnet-runtime-8.0, aspnetcore-runtime-8.0 and mssql-server-selinux x86_64 16.0.4165.4-7  and configure firewall ports
sqlclient_test_script_log_28-11-2024-17-29-11.log - Results of execution on my Rocky9.5 VM
sqlclient_test.zip
sqlclient_test_script_log_28-11-2024-17-29-11.log
SqlTest.zip
Expected behavior
Program should run without transport- error
Further technical details
Microsoft.Data.SqlClient version: (5.2.2)
.NET target: (.NET 8.0)
SQL Server version: (mssql-server-selinux x86_64 16.0.4165.4-7)
Operating system: (Rocky Linux 9.5 Minimal ISO running on VMware VM with 8 CPUs, 8 Cores per Socket, 32 GB Memory, 100GB Hard Disk Thin Provisioned, EFI Boot)
Additional context

Hi @mbozier Sorry for the delay in getting to back to you on this issue. We're currently in release mode so it will likely be a little while before I can dedicate time to looking into this. Technically Rocky Linux isn't officially supported for .NET framework, but I'm still going to look into this for you. Since Rocky is supposed to be bug-for-bug compatible with RHEL, I don't see any reason why we can't support it. (I'm also a Rocky Linux user, so I'd hope the same courtesy would be extended if I were in your situation). The repro situation looks really robust, thank you for that.
I'll let you know when I have another update 👍

Hi @benrr101 Many thanks for your response. Actually, we do believe this issue also happens in RHEL 9.5
To check this out, since I don't have a RHEL subscription, I downloaded RHEL 9.5 Binary DVD ISO and then installed packages for dotnet-runtime-8.0, aspnetcore-runtime-8.0 and mssql-server-selinux x86_64 16.0.4165.4-7 which I had pulled from the Rocky Repos.
Again, trying to install our product, which runs a number of SQL scripts as part of the installation, produced the same exception.
Other relevant information is that we have not seen this issue on Rocky Linux 9.4, only on Rocky Linux 9.5


error during download movie from youtube

Dears,
I have gotten some error messages during download from Youtube:
kindly your support/ advice to solved it please.
Signature extraction failed: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py",
line 771, in _decrypt_signature video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py",
line 663, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player
u'https://s.ytimg.com/yts/jsbin/player-en_US-vfl2sXoyn/base.js';
Thank you in advance for your reply.
Best regards,
aep99.

Sorry, we cannot help you without the full output of youtube-dl when called with -v. See our bug reporting guidelines for more information. In particular, this output will tell us whether you are using the newest version, 2015.12.10 as of writing. If you are not, please make sure to update to the newest version first.

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.


[Patterns] Tests validating as passing (Tracking Via Google Sheet)

Can we close this now?

Yep, we're looking good.


chore: Modified the method of querying the current config

Summary
I think the current way of determining whether to use webpack or rspack is not compatible with most scenarios. For example, in my scenario, I build the project through @rspack/core, but in the plugin, I use @rsdoctor/webpack-plugin.
Another note is that in this case, a compatible version of webpack in rspack will be used by default. For example, in<EMAIL_ADDRESS>webpackVersion is "5.75.0". When I saw "5.75.0" on rsdoctor, I was very confused.
Related Links

Thanks for your mr~ I will publish the new version on Friday.


Able to delete Tenant owner via Console User Page

Describe the issue:
When using the Console User Page, there is a delete option that allows users to delete a Tenant owner.

Not reproducible in the latest build.


travis: Add memcached cr to travis

Expanding e2e test to include the closing steps of the user guide

LGTM.
This is a good start for a basic e2e test.
The followup to this should be that we should actually poll and retry at the necessary points in our e2e test e.g

Wait until operator pod status is ready
Wait until the CR status.nodes field is updated with 3 pods
Wait until the CR status.nodes field is updated with 4 pods

Doing this in bash will get messy so we will need to move this test case into Go code and use client-go to interact with the k8s API.


Tweet cannot be published if it is too long

Describe the bug
If the generated tweet is too long it cannot be published and we receive an error from Twitter API.
To Reproduce
Steps to reproduce the behavior:

Generate a Content with long title and description
Try to publish it via Github API
See error

Expected behavior
The description of the tweet should be truncated to fit in the Tweet size. Ideally only the description should be truncated
Screenshots
None
Additional context
Maybe add some tests to replicate this issue

Hi, @ezeoleaf
I have submitted a PR for this issue. Can you please have a look into it?
Actually, I am new to both open source and golang community. So, feedbacks will be really appreciated.
Thank you.


Bridges and child endpoints. (CON-1221)

What is the plan to save/restore bridged devices with child endpoints? For example a thermostat with embedded sensors.  I restored the thermostat, fff30008. Then when it created the child sensor EPs ( fff30005, fff30005, fff30005). Then parent of the sensor EPs is the thermostat which of course does not contain an aggregator.
Should this error just be removed? Or should I create the child endpoints bypassing the bridge code?
I (2846) device: EnumeratedEP fff30008 0
I (2846) device: bridge_create_ep
I (2846) device: EnumeratedEP fff30005 0
I (2847) device: bridge_create_ep
I (2847) device: create_ep_by_dt  fff30005
I (2847) device: parent_endpointId dt fff30008 id 0 agg 1
E (2848) esp_matter_bridge: The device types of the parent endpoint must include aggregator
E (2848) esp_matter_bridge: Parent endpoint is invalid
E (2849) device: Failed to create the bridged device
I (2849) device: EnumeratedEP fff30006 0
I (2849) device: bridge_create_ep
I (2850) device: create_ep_by_dt  fff30006
I (2850) device: parent_endpointId dt fff30008 id 0 agg 1
E (2850) esp_matter_bridge: The device types of the parent endpoint must include aggregator
E (2851) esp_matter_bridge: Parent endpoint is invalid
E (2851) device: Failed to create the bridged device
I (2851) device: EnumeratedEP fff30007 0
I (2852) device: bridge_create_ep
I (2852) device: create_ep_by_dt  fff30007
I (2852) device: parent_endpointId dt fff30008 id 0 agg 1
E (2853) esp_matter_bridge: The device types of the parent endpoint must include aggregator
E (2853) esp_matter_bridge: Parent endpoint is invalid
E (2853) device: Failed to create the bridged device
I (2854) device: EnumeratedEP fff30002 1

I read through the spec and I believe child endpoints on bridged devices should not have the BridgedBasicInfo cluster. So I added my own code to dynamically make the child endpoint and set the parent.
static void create_child_ep(Ep_Base *ep, Ep_Base *parent) {
    descriptor::config_t descriptor_config;
    endpoint_t *endpoint = endpoint::create(node::get(), ENDPOINT_FLAG_NONE, ep);
    descriptor::create(endpoint, &descriptor_config, CLUSTER_FLAG_SERVER);
    ep->init_bridged(endpoint);
    set_parent_endpoint(endpoint, parent->getEndpoint());
}

Do you want to create the following the data model?
RootNode-----Aggregator------Thermostat-------Sensor1
                                           |     ...
                                           ---SensorN

Currently we don't have any plans on restoring the bridged endpoints with child endpoints.
If you wants to create the child endpoint for bridged endpoints, you can endpoint::create() and endpoint::set_parent_endpoint(). The esp_matter_bridge::create_device() is only for the bridged endpoints not the child endpoints of bridged endpoints.

It is that model. I think I have it working now by using endpoint::create() directly.


Encode header timestamps with nanoseconds

This is needed to make the hashes match.
The default implementation of ts-proto returns Date for the protobuf.Timestamp fields. This is nice to work with, but only has millisecond precision, not nanosecond. When we serialize this, the header is different than the signed header (we set 6 digits to 0). Thus, we cannot submit valid SignedHeader to ibc to update the client.
I found this on the ts-proto README:

With --ts_proto_opt=useDate=false, fields of type google.protobuf.Timestamp will not be mapped to type Date in the generated types.

Will try that.

Okay, when I pass this argument in, I get all kinds of compile errors:
In Header.encode:
src/codec/tendermint/types/types.ts:482:21 - error TS2345: Argument of type 'Timestamp' is not assignable to parameter of type 'Date'.
  Type 'Timestamp' is missing the following properties from type 'Date': toDateString, toTimeString, toLocaleDateString, toLocaleTimeString, and 37 more.

482         toTimestamp(message.time),
                        ~~~~~~~~~~~~

In Header.decode:
src/codec/tendermint/types/types.ts:521:11 - error TS2739: Type 'Date' is missing the following properties from type 'Timestamp': seconds, nanos

521           message.time = fromTimestamp(
              ~~~~~~~~~~~~

In Header.fromJSON:

src/codec/tendermint/types/types.ts:581:7 - error TS2322: Type 'Date' is not assignable to type 'Timestamp'.

581       message.time = fromJsonTimestamp(object.time);
          ~~~~~~~~~~~~

In Header.toJSON:

src/codec/tendermint/types/types.ts:581:7 - error TS2322: Type 'Date' is not assignable to type 'Timestamp'.

581       message.time = fromJsonTimestamp(object.time);
          ~~~~~~~~~~~~

And in Header.fromPartial:

src/codec/tendermint/types/types.ts:647:7 - error TS2322: Type '{ seconds?: Long | undefined; nanos?: number | undefined; }' is not assignable to type 'Timestamp'.
  Types of property 'seconds' are incompatible.
    Type 'Long | undefined' is not assignable to type 'Long'.
      Type 'undefined' is not assignable to type 'Long'.

647       message.time = object.time;
          ~~~~~~~~~~~~

This seems like a bug in ts-proto that we need to fix


Several command fixes

Fix quit/exit command.
Removed broken support for executing core register names as commands that print their value.
Allow semicolons that normally separate multiple commands in a single command line to be escaped. Mostly useful for system commands.
Code refactoring and cleanup.

/morph test

/morph test

/morph test


Reverse playback for file sequences is not as smooth as forward playback

Original ticket:
https://sourceforge.net/p/djv/bugs/112/

Fixed.


Uhm, how do I make this extension work?

I can't find any of the commands specified, and it doesn't seem to be doing anything all by itself.. any hints?
(using VSCode 1.66.2)

VSCode 1.60.0.
Enable it in settings.
The source code must contains tabs to see the effects.

Ah, cheers! Got it to work now. Pretty nice to look at, thanks.
Of course any and all formatters butcher things on-save, but that's not on you, haha

@isral

VSCode 1.60.0. Enable it in settings. The source code must contains tabs to see the effects.
Hey, I have it enabled in settings, the code contains tabs. Under which circumstances will it start to do something?

Requirements: "/", then space, then content, then TAB, then "/". I suggest editing the description to reflect this.

Already in the animated gif, check the tab mark before int fred and int wilma.

Also it doesn't align declarations (like this: test1 spaces = spaces "test1" asdasd spaces = spaces "asdasd") and colons.

This extension only modify tabs' visual length.

@isral

Already in the animated gif, check the tab mark before int fred and int wilma.

My suggestion is to add it in the text description since it's not really obvious to perceive the gif example as the hard requirements' display.


UI: Remove incorrect API calls when initializing the deploy VM page

Description
This PR is used to fix the error that an unknown API call appeared when initializing the deploy VM page.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6687 (SL-JID-2249)


Setup data on Interactor.

As i understand VIPER, the interaction is the only one data provider to the presenter, so the setup data should be injected onto it and retrieved by the presenter when showing the module.
Along with this and for not create another issue, I didn't´t get the key concept of DisplayData entity and on my work I'm omitting it.

Hi @buguibu, I'm not sure If I understood the first question. SetupView() is just a convenience method that I added in the presenter so you don't have write it if you don't want to. But this kind of entry point should be with really simple data. Thins like setupView(data: "James") or whatever. Then the presenter will implement there the logic to call the interactor and fetch the data that it needs.
Answer to the 2nd question:
DisplayData is just for static or really dummy data. Think for example in localized strings, colors, heights, widths, methods for calculating frames, things like that. It's very useful to keep your view really clean and simple. But, of course, we can think on  having a module without this dependency.

@ferranabello  thank for this issure, i know DisplayData in Viperit what can do.


Bad Magic Number on Python 3.6 - Heroku Deployment

Bexio API Python Client version: 0.1.4
Django version: 2.0.3
Python version: 3.6.4
Operating System: MacOS

Description
When deploying to Heroku I get a Bad magic number error when loading Bexiopy, and I can’t find any way to fix it. Both my localy installed python and Heroku run on version 3.6.4. I have tried deleting pyc files, deploying with and without them but that doesn’t change anything.
What I Did
Environment:

Request Method: GET
Request URL: https://oust-admin.herokuapp.com/bexiopy/auth/

Django Version: 2.0.3
Python Version: 3.6.4
Installed Applications:
['nested_admin',
 'admin_interface',
 'colorfield',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'whitenoise.runserver_nostatic',
 'django.contrib.staticfiles',
 'django_celery_beat',
 'django_celery_results',
 'import_export',
 'bexiopy.apps.BexiopyConfig',
 'geoposition',
 'django_extensions',
 'phonenumber_field',
 'raven.contrib.django.raven_compat',
 'database']
Installed Middleware:
('raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware',
 'raven.contrib.django.middleware.SentryMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:

File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  35.             response = get_response(request)

File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  128.                 response = self.process_exception_by_middleware(e, request)

File "/app/.heroku/python/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  126.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/app/.heroku/python/lib/python3.6/site-packages/django/views/generic/base.py" in view
  69.             return self.dispatch(request, *args, **kwargs)

File "/app/.heroku/python/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
  89.         return handler(request, *args, **kwargs)

File "/app/.heroku/python/lib/python3.6/site-packages/bexiopy/views.py" in get
  29.         client = Client()

File "/app/.heroku/python/lib/python3.6/site-packages/bexiopy/api.py" in __init__
  360.         self.load_access_token_from_file()

File "/app/.heroku/python/lib/python3.6/site-packages/bexiopy/api.py" in load_access_token_from_file
  611.             access_token = shelve.open(token_file)

File "/app/.heroku/python/lib/python3.6/shelve.py" in open
  243.     return DbfilenameShelf(filename, flag, protocol, writeback)

File "/app/.heroku/python/lib/python3.6/shelve.py" in __init__
  227.         Shelf.__init__(self, dbm.open(filename, flag), protocol, writeback)

File "/app/.heroku/python/lib/python3.6/dbm/__init__.py" in open
  94.     return mod.open(file, flag, mode)

Exception Type: error at /bexiopy/auth/
Exception Value: Bad magic number

Will take a look this weekend. I am guessing, one component is not compatible with py3.6.

Any idea if it's easy to make it compatible with Python 3.6 ?

I published a new version 0.1.5. Can you try that one please? It worked for me locally. You can now also visit the front page and use the link to authenticate. I adjusted that part in the docs.

Great thanks !
I don't think the Bad Magic Error was caused by a Python 3.6 issue. When I tested locally a .bxcred file was created and when pushing to Heroku I didn't remove it from git which caused the issue. Removing it solved this problem.
The other problem with Heroku is that it has an Ephemeral File system so storing the credentials in a shelve file doesn't work. If that can be of any use I adapted the client to store the credentials in JSON in the default Django storage, in my case set to Amazon S3 :
https://github.com/keranno/bexio-api-python-client
I don't know if that's the best solution to this problem but it seems to work :)
Thanks again for your help and the great client !

yeah I will have to find a better way to store the credentials. The Problem with AWS is that most people don't use AWS, so I need a more generic way of doing that. But glad it works now, I will push this repo to production this week for one of my clients, so it will be better tested in real world applications.
Can you send me a merge request with your changes so I can take a look and see if I can implement it?


Reproducing the scores reported by the IQN paper

Thank you for opensourcing such a great code!
I have questions about your IQN implementation, especially on how it can reproduce the scores reported by th paper.
First, your config file https://github.com/google/dopamine/blob/master/dopamine/agents/implicit_quantile/configs/implicit_quantile_icml.gin specifies N=N'=64. How did you choose these values?
Second, can the IQN implementation reproduce the scores reported by the paper? I ran it by myself against six games, but the results do not match the paper.
I used this command:
python3 -um dopamine.atari.train '--agent_name=implicit_quantile' '--base_dir=results' '--gin_files=dopamine/agents/implicit_quantile/configs/implicit_quantile_icml.gin' '--gin_bindings=AtariPreprocessing.terminal_on_life_loss=True' "--gin_bindings=Runner.game_name='Breakout'"

Here is the tensorboard plot I got:

Seeing Figure 7 of the IQN paper, they report the raw score of 342,016 for Asterix, 42,776 for Beam Rider, 734 for Breakout, 25,750 for Q*Bert, 30,140 for Seaquest, 28,888 for Space Invaders. Have you successfully reproduced scores on the same level? If yes, how? If no, are you aware of any differences of implementation or settings from DeepMind's?

hi, thank you for your support and reporting this!
it turns out there was a very subtle bug in the IQN implementation that was recently fixed here: https://github.com/google/dopamine/commit/2de70a421ad8615fedf2e215a274467c72232347
with that bug fix, we were able to reproduce the published results.
could you verify if you are running with that bug fix?
we are currently re-running the baseline results for IQN on all games and will be releasing these once they are done (should be by next week). i'll add a note in the "What's New" section when this is done.

Thank you. The plot I pasted above is before that commit. I'll try again with the current master branch.
What about my first question on where these values come from?
ImplicitQuantileAgent.num_tau_samples = 64
ImplicitQuantileAgent.num_tau_prime_samples = 64

see the line right before equation (4)  in the paper (n=64): https://arxiv.org/pdf/1806.06923.pdf

I mean N and N' in (3), not n in (4). ImplicitQuantileAgent.num_tau_samples and ImplicitQuantileAgent.num_tau_prime_samples correspond to N and N', respectively, correct?

ah yes, you're right. but look in the second-to-last paragraph of the same page, where they discuss varying N and N' in {1, 8, 32, 64}. Figure 2 compares the results. Although it suggests N' doesn't change much past 8, we decided to use the larger of these explored values.

I see. Thank you for clarifying it.

Does dopamine follow the up-to-30-noop evaluation used in the paper? I cannot find code that sends noop actions after reset.

hi,
we don't follow the up-to-30-noop evaluation protocol in dopamine. we have chosen to follow the recommendations in Machado et al., 2018 (https://arxiv.org/abs/1709.06009), which does not include that.

Because sticky actions are disabled by the config file and up-to-30-noop is not implemented, I suspect that the current evaluation protocol of implicit_quantile_icml.gin is more deterministic and thus easier than that of the IQN paper. Have you compared the scores of dopamine with and without up-to-30-noop?

I ran implicit_quantile_icml.gin again with the fix. The results are much better now, but on Breakout and Seaquest it didn't reached the paper scores yet. Any ideas?

BTW I sent Will Dabney an email asking the values of N and N' just a month ago, still don't have a reply. Anyone knows the values?

Hi, thanks for the thorough look at IQN! Hopefully by now you received the answer, but N and N' should be as in the implicit_quantile_icml.gin file.

N and N' should be as in the implicit_quantile_icml.gin file.

Thank you for the information!

Also, out of curiosity -- did you figure out what was wrong?

I haven't figure it out. The only difference of dopamine's IQN from the paper's I'm aware of is 30-noop, but I don't know how it affect scores. I would really appreciate it if you could share any other differences you are aware of.

I got a reply from Georg Ostrovski and confirmed that N=N'=64. He said the weight initialization was as below:

for all linear layers, all weights are drawn uniformly from [ -z, z ] , with z = 1 / sqrt ( num_inputs )
for all conv layers, all weights are drawn uniformly from [-z, z] , with z = 1 / sqrt ( num_channels * filter_size^2 )

Dopamine uses 2D convolutions with padding=SAME, which makes the number of activations after the three convolutions be 111164=7744, but it should be padding=VALID, thus 7764=3136 (confirmed by Georg Ostrovski).

Hi, I am also trying to reproduce the scores of IQN, but according to @psc-g  dopamine doesn't follow the 30-noop protocol. Does this mean that if I want to use C51, QR-DQN and IQN as baselines, I will have to redo all the experiments instead of using the scores reported in their paper?
I don't have a lot of resources so it is not likely that I can finish all of them before NeurIPS deadline. So I am wondering if you @muupan  figured out the affect of 30-noop yet? Were there significant differences between with and without 30-noop?

@cathera I haven't checked differences between with and without 30-noop.

 They were designed to discourage open loop policies like The Brute (discussed in the Machado et al., 2018 paper). With sticky actions (same paper), the 30-noop become less relevant.

@psc-g  @mgbellemare So what is the status of this issue here? The baseline scores of IQN at least for beamrider still don't match the paper. I was just about the open a duplicate issue here, therefore please let me paste the text that I have already written:
I have been especially interested in reproducing the atari scores of distributional algorithms (qrdqn / iqn) from the original papers / dqn zoo. I have selected one particular game, where the difference between qrdqn and iqn should be very obvious: BeamRider, see the following plot vom dqn_zoo (see https://github.com/deepmind/dqn_zoo/blob/master/plot_atari_individual.svg):

where the green line corresponds to IQN and the red one to QRDQN, the gray one is rainbow.
So far I tried exactly replicating the environment from dqn_zoo by registering the custom gym environments (https://github.com/deepmind/dqn_zoo/blob/master/dqn_zoo/gym_atari.py#L36) but so far have not been successful in reproducing the IQN score (I can reach the exact same qrdqn score with stable_baseline3's QRDQN and the same hyperparams as in the paper) and also from looking at your baseline plots here: https://google.github.io/dopamine/baselines/atari/plots.html IQN is nowhere near the results as in the paper / dqn_zoo's IQN for the beamrider game.
So I have a couple of questions:

Why is there such a large discrepancy between the IQN score of dopamine and dqn_zoo with regards to the beamrider game? I failed to figure out which gym config you use for your benchmark here, would also be highly appreciated if you could point me to the source.
Why are there such large discrepancies between the paper and the code repos in general? IQN paper proposes a score of 42,776 for beamrider, dqn_zoo's implementation gets between 20k and 30k but nowhere near over 40k and dopamine's IQN settles around 7k. Both in the IQN paper as well as in the QRDQN paper beamrider should be over 30k in case of QRDQN, but in dqn_zoo QRDQN gets stuck at around 10k (which I could confirm with different QRDQN implementations).

Generally I have a hard time figuring out, which score's I should rely on when benchmarking my own implementation (to verify it's correctness), so far I found dqn_zoo to be the most promising source, since it's gym config is easy to replicate (compared to xitari of the original papers, which does not follow gym and is therefore hard to use with other implementations) and seems to be closer to the paper than the openai atari configs (e.g. NoFrameskip-v4 versions paired with the common env wrappers, see https://github.com/openai/baselines/blob/master/baselines/common/atari_wrappers.py modulo the FireReset wrapper which Deepmind did not use according to https://github.com/openai/baselines/issues/240).

Nevermind about the question to point me to the source of the gym config, I figured it out: https://github.com/google/dopamine/blob/a2753dae222c75ae991758d4110a84bc01c3215f/dopamine/discrete_domains/atari_lib.py#L70, so it seems contrary to dqn_zoo your prefer the NoFrameskip-v4 version of the respective game (despite sticky-actions being default in the lib, you explicitly disble it in the gin files to match the paper). Still, I'd like to be able to reproduce the paper scores, help would be highly appreciated here.

Hi,
Does DQN Zoo use sticky actions? My understanding is no. The 7000 is with sticky actions, so that might explain the difference. (Maybe it's time someone ran a side-by-side comparison).
I can't explain the IQN paper vs DQN Zoo difference, although i would take DQN Zoo as the authoritative source.
Frame preprocessing (colour, cropping, etc.) can make differences that add up, unfortunately. If your agent is learning and achieving a score in the range of [Dopamine, DQN Zoo] I would assume you've mostly done things correctly. If you are trying to reproduce the algorithm perfectly - why not just use the DQN Zoo code?

FWIW I've been told (but not verified) that DQN Zoo uses terminal on life loss and a larger eval epsilon, both of which would result in different performance than e.g. the Dopamine implementation.

Thank you very much @mgbellemare for sharing your thoughts and giving some important hints.
Dopamine is indeed using a different config from the respective papers for the baselines plots (in case of iqn https://github.com/google/dopamine/blob/master/dopamine/agents/implicit_quantile/configs/implicit_quantile.gin instead of https://github.com/google/dopamine/blob/master/dopamine/agents/implicit_quantile/configs/implicit_quantile_icml.gin) that is different in the following sense:

some hyper-parameters for the agent are changed to be comparable to the rainbow paper
the sticky actions variant of the environment is used
no terminal on life loss condition

From what I understand the _icml.gin config is supposed to replicate the setup of the paper (which is also the config OP used to replicate the paper) with the only difference being the 30-noop protocol which should not make a lot of difference according to https://github.com/google/dopamine/issues/37#issuecomment-489609875.
I compared the _icml.gin config to the respective config of dqn_zoo (https://github.com/deepmind/dqn_zoo/blob/master/dqn_zoo/iqn/run_atari.py#L47 see lines 47 to 79) and they seem to be mostly identical however I noticed two differences:

dqn_zoo has exploration_epsilon_decay_frame_fraction=0.02 which should be 1 million frames, which corresponds to 250k steps, while implicit_quantile_icml.gin says RainbowAgent.epsilon_decay_period = 1000000 # agent steps. The papers talk about a 1 million frame decay, therefore the gin file should actually use RainbowAgent.epsilon_decay_period = 250000 (the same applies to dqn_nature.gin where this value is also not matching the publication), shouldn't it?
dqn_zoo says flags.DEFINE_integer('tau_samples_policy', 64, '') while dopamine uses ImplicitQuantileAgent.num_quantile_samples = 32, but from what I understand here, this time dopamine is in accordance with the paper and dqn_zoo is not.

It would be really great to have your feedback here.


[Bug Report] ttnn.reciprocal produces incorrect results for BFLOAT8_B

Describe the bug
ttnn.reciprocal produces incorrect results for BFLOAT8_B.

ttnn.reciprocal does not give inf when input is 0 but instead gives 1.7014118346046923e+38
When an input value is 0 in input_tensor(dtype=ttnn.bfloat8_b), the output is 1.7014118346046923e+38 and strangely the nearby values become 0 in the output. Please refer attached doc and screenshot below
Test results : link

To Reproduce
Steps to reproduce the behavior:
To be tested on a WH machine

checkout kalaivani/recip_bf8b
run pytest tests/ttnn/unit_tests/operations/eltwise/test_recip.py
or run the code below

import pytest
import torch
import ttnn
from tests.ttnn.utils_for_testing import assert_with_pcc
from tests.ttnn.unit_tests.operations.eltwise.backward.utility_funcs import data_gen_with_range, compare_pcc, data_gen_with_range_dtype

@pytest.mark.parametrize(
    "input_shapes",
    (
        (torch.Size([1, 1, 32, 32])),
    ),
)
def test_unary_composite_recip_ttnn(input_shapes, device):
    in_data1, input_tensor1 = data_gen_with_range_dtype(input_shapes, -3, 3, device, False, False, ttnn.bfloat8_b)

    output_tensor = ttnn.reciprocal(input_tensor1)
    output_tensor_rm = output_tensor.cpu().to(ttnn.ROW_MAJOR_LAYOUT).to_torch()

    golden_function = ttnn.get_golden_function(ttnn.reciprocal)
    golden_tensor = golden_function(in_data1)

    # for i in range(1):            # Batch size
    #     for j in range(1):        # Channels
    #         for k in range(32):   # Height
    #             for l in range(32):  # Width
    #                 print(f"input: {in_data1[i][j][k][l]} \t tt: {output_tensor_rm[i][j][k][l]} \t torch: {golden_tensor[i][j][k][l]} \n")

    comp_pass = compare_pcc([output_tensor], [golden_tensor], pcc=0.99)
    assert comp_pass

Expected behavior
The output should match torch result.
Screenshots
dtype=bfloat8_b

dtype=bfloat16

Please complete the following environment information:

OS: [e.g. Ubuntu 20.04]
Version of software (eg. commit)

Additional context
Add any other context about the problem here.

It looks like for bfloat8, the values are entirely wrong (always 0, even for obviously controversial inputs). Is that specific to this test configuration, or does the problem occur when a non-controversial input is tested in isolation?

Given that the numbers are the same between the 2 tests, this could be the problem of BFP8 quantization.
BFP8 format is format where consecutive 16 numbers share the same exponent, the shared exponent being the exponent of the biggest number. Tests with random numbers from uniform distributions could have consecutive numbers of different magnitude and smaller numbers could just get flushed to zero.
You should check groups of consecutive 16 numbers that include erroneous numbers and check if maximum number may be causing these numbers to get flushed to zero.
If you're seeing close numbers and still problems, then this is definitely something in the alley of LLKs and possibly HW issues.
Also, please check that outputs of data format const files: unpack_src/dst_formats.h, pack_src/dst_formats.h are properly propagating the formats of buffers you wanted.
Milos

Reassigning to @KalaivaniMCW based on Milos' comments. Can you please re-test with groups of 16 repeated inputs, per the comment above.

Deprioritizing accuracy issues per discussion with @ttmtrajkovic , also this is likely expected for the data type

@eyonland, @KalaivaniMCW,
The behaviour that you see is expected - inf number is absolutely dominating with exponent size in a group of 16, so other numbers are getting flushed to zero.
with block-fp format, 16 numbers share an exponent and it is not possible to treat any number within that group exclusively. The bfp format isn't good to use when nearby numbers could be so different, especially with reciprocal operation which could produce a huge range at the output.
Please handle these exceptions by modeling of output. number-by-number comparison with torch is not the right approach in this case.
Milos

This issue is only impacting backward ops that use bfloat8_b.  My position on this that training will likely not be done with bfloat8_b and so the eltwise ops for backward should NOT support bfloat8_b at all.   I would like to close this issue and deprecate all bfloat_8b dtypes for backward eltwise ops.

I see reciprocal as a generic mathematical op; that's maybe more relevant
to training, but should still support bfloat8_b with a documented caveat.
On Tue, Dec 24, 2024 at 12:42 AM Eyon Land @.***> wrote:

This issue is only impacting backward ops that use bfloat8_b. My position
on this that training will likely not be done with bfloat8_b and so the
eltwise ops for backward should NOT support bfloat8_b at all. I would like
to close this issue and deprecate all bfloat_8b dtypes for backward eltwise
ops.
—
Reply to this email directly, view it on GitHub
https://github.com/tenstorrent/tt-metal/issues/14672#issuecomment-2560682551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMVHPOO2TH6XLVGDQGXEQML2HDX2RAVCNFSM6AAAAABREOGCLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRQGY4DENJVGE
.
You are receiving this because you commented.Message ID:
@.***>


triage.perferSummaryView no longer works

Version and Platform (required):

Binary Ninja Version: 3.5

Bug Description:
triage.perferSummaryView should allow users to see the triage summary first instead of being navigated to main/entry_point. This is likely due to a navigation even coming in after the TriageView is selected as the "Best" view, causing it to navigate away. Most likely what needs to occur is if triage.perferSummaryView is enabled the navigation code should take this into account when deciding if it should switch views.
Things I tested:

disable uncheck ui.files.restore.viewState
uncheck ui.files.navigation.preferMain
with ui.files.restore.viewState checked switch to TriageView then close and reopen

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

Open settings check triage.perferSummaryView
Uncheck ui.files.restore.viewState
Open any file
See that you're not in TriageView

Expected Behavior:
When you have triage.perferSummaryView and no viewState to apply it should show TriageView

What happened is there is a Default Layout set, and it is getting applied.
You can use fix this by using one of the following:

Use command palette to "Delete Layout..." and type "default", or
Clear QSettings

We will be adding a "Delete Default Layout" in the next build after stable.


shellcheck

Apply various changes suggested by the ShellCheck util
http://www.shellcheck.net/; mainly quoting variable expansions and
removing Bashisms in scripts where the shebang says /bin/sh.
This may help running nixos-in-place from a directory with spaces in its
name.

cc @jeaye

Dec 21?! I'm not sure how I missed this; thanks for pinging me, @domenkozar. I'm 100% ok with the premise of this change, but I'll have to run it through a number of tests first.
I'll aim to get this in by the weekend; thanks for the PR.

Works on my VMs and supports having nixos-in-place cloned in a directory with spaces. Thanks!


std.file - fix for stricter @safe rules

needed for https://github.com/dlang/dmd/pull/5876

LGTM

Auto-merge toggled on