PyQt5 and Pip Error: module 'sipbuild.api' Attribute Error

I recently uninstalled Anaconda and replaced it with Miniforge3 for a separate project. I understand that is a requirement for running Tensorflow on a Macbook with an M1 Max chip, which only worked after the conda replacement. One undesirable from the replacement was needing to recreate all of my previous conda environments, including the one I used for CsoDIAq.
After creating a new environment (python==3.10.2) and downloading pip (conda install pip, pip==22.0.3), I then follow the instructions for installing CsoDIAq (running pip install <CsoDIAq directory>). At which point the download of PyQt5 (PyQt5==5.15.6) fails with the following error:

AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

From what I have found on stack overflow (see here), this error can occur based on the pip and PyQt5 versions in use. Using the "most recent" packages has not helped mitigate this issue, however. I have not found a good combination of package versions that have mitigated this issue, including using ones outlined as responses in the above stack overflow (when specified, which isn't often).
@jessegmeyerlab, could you share with me the python, pip and PyQt5 versions you use when running CsoDIAq? I'm thinking we can update the package to download the correct versions specifically, presuming that's the current problem.

@CCranney that would be great if we can update the download and install instruction thank you.
I am attaching the file I get from python -m pip freeze > requirements.txt
Pip version looks like 21.2.4 with python 3.9
csodiaq_requirements.txt

There we go - sadly downloading all appropriate package versions didn't help. I did some deeper investigation - the above stackoverflow was misleading, it turns out this is an Apple M1 chip issue. I followed the python environment instructions in this stackoverflow and the problem was resolved.

I should add this to the mac installation documentation

The 2.0 rewrite was written using an M1 Mac computer, and the update download instructions have resolved this.


Fixed bug key error "last_hidden_state"

What does this PR do?
Fixed Key Error "last_hidden_state" bug when generating the embeddings using optimized models.
Fixes # 1673

Nice, this indeed fixes the key error. thanks

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


Version 8.1: Bitcode bundle could not be generated

I'm unable to install Cuckoo via Carthage:
$ carthage bootstrap --platform iOS
*** No Cartfile.resolved found, updating dependencies
*** Fetching Cuckoo
*** Fetching Nimble
*** Fetching Quick
*** Checking out Nimble at "v5.1.1"
*** Checking out Quick at "v0.10.0"
*** Checking out Cuckoo at "0.8.0"
*** xcodebuild output can be found in /var/folders/k9/t9s8tdwd6cx04mj3y_1wpsw80000gn/T/carthage-xcodebuild.3dQ8eA.log
*** Building scheme "Cuckoo" in Cuckoo.xcworkspace
** BUILD FAILED **

The following build commands failed:
	Ld /Users/Salutis/Library/Developer/Xcode/DerivedData/Cuckoo-epnrnawxysrmoqcfotmbhmwuryps/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/armv7/Cuckoo normal armv7
	Ld /Users/Salutis/Library/Developer/Xcode/DerivedData/Cuckoo-epnrnawxysrmoqcfotmbhmwuryps/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/arm64/Cuckoo normal arm64
(2 failures)
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/Salutis/Documents/Salutis/PolyphonicPlayer/Carthage/Checkouts/Cuckoo/Cuckoo.xcworkspace -scheme Cuckoo -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	Ld /Users/Salutis/Library/Developer/Xcode/DerivedData/Cuckoo-epnrnawxysrmoqcfotmbhmwuryps/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/armv7/Cuckoo normal armv7
	Ld /Users/Salutis/Library/Developer/Xcode/DerivedData/Cuckoo-epnrnawxysrmoqcfotmbhmwuryps/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/arm64/Cuckoo normal arm64
(2 failures)

Tried this on a new (framework) Xcode project and the problem disappeared. Closing.

Hi, thanks for trying it on fresh project. I'm not sure what could be the culprit.

I've stumbled upon the very same issue using Carthage to integrate Cuckoo into an iOS application of mine.
This is my Cartfile.private:
github "Quick/Nimble"
github "SwiftKit/Cuckoo"

This is the integration command:
carthage update --platform iOS Cuckoo

And this is the relevant portion of the output:
*** Checking out Cuckoo at "0.8.0"
*** xcodebuild output can be found in /var/folders/8b/nbhjp77s5bxdztxlh9p2qvwh0000gp/T/carthage-xcodebuild.2znlbK.log
*** Building scheme "Cuckoo" in Cuckoo.xcworkspace
** BUILD FAILED **

The following build commands failed:
	Ld /Users/fellipe/Library/Developer/Xcode/DerivedData/Cuckoo-ffxvmaeioxmwjhfsesprzonrtwby/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/arm64/Cuckoo normal arm64
(1 failure)
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
ld: warning: Auto-Linking supplied '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd', bitcode bundle could not be generated because '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest.tbd' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/fellipe/Developer/Projects/brasilcoms-ios/Carthage/Checkouts/Cuckoo/Cuckoo.xcworkspace -scheme Cuckoo -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	Ld /Users/fellipe/Library/Developer/Xcode/DerivedData/Cuckoo-ffxvmaeioxmwjhfsesprzonrtwby/Build/Intermediates/Cuckoo.build/Release-iphoneos/Cuckoo.build/Objects-normal/arm64/Cuckoo normal arm64
(1 failure)


Floating point error - 0.3 displays as 0.30000000000000004

Expected Behaviour
Show "0.3" on the y-axis ticks
Actual Behaviour
Displays "0.30000000000000004" on the y-axis tick
Steps to Reproduce:

Use a dataset with values between 0.1 and 0.5 (for example first column in this)

Screenshot from this site: http://getantibody.github.io/ ; dataset is available in the repo linked above.
NOTE: Add a GIF/Screenshot if required.
Frappé Charts version: 0.0.8

I am not the owner/author of the website and have no affiliation to that.

@scmmishra This seems to be a js issue. Plain js increments produce the same results.
This is the result from firefox js console.
a = 0.1
a += 0.1
>0.2
a += 0.1
>0.300...004
a += 0.1
>0.4

Apparently this is more common than I thought about: https://0.30000000000000004.com/ - closing, since this is not a problem with the library.


Support for Chromecast with Google TV

Add support for Chromecast with Google TV. I was able to side load it on mine, but it crashes when I try to add path to the games. Otherwise navigating with Xbox controller or the Chromecast remote seems to be working just fine.
Thanks for your hard work!

I've bought Chromecast with Google TV to try Dai on TV. But android TV is missing SAF. Which is required by Dai. So the plan is hanged.

Another vote for this whenever it becomes possible. Great app!

But android TV is missing SAF. Which is required by Dai. So the plan is hanged.
Launchbox and Dig are both working although each with its flaws, so they clearly have workaround for the missing SAF. I really like yours best however, so crossing finger you figure things out!

Just installed the Android 12 update to Chromecast and it's even worse. Now I can't even add a platform as the Bottom button line with the 3 buttons (Index URI, Cancel and Import) is missing.

Just installed the Android 12 update to Chromecast and it's even worse. Now I can't even add a platform as the Bottom button line with the 3 buttons (Index URI, Cancel and Import) is missing.

Yes I’ve tried it. And I don’t even know why this is happening.

I'm not a dev. but it seems related to the same problem. I'm so eager to have Dai working on my chromecast. hope it helps

Any plans on using an external file/folder picker library to not depend on SAF?

@magneticchen Is there some sort of a workaround e.g. to copy already populated config files from a handheld where Daijishou works correctly to the Chromecast install dir? It really is a shame that a single step renders this excellent software unusable.

Is there still no solution to choose the game route? In xiomi's adnroid tv, this closing or crashing problem also occurs when choosing a route.

Another update: nowadays many emulators have upgraded their file API implementations to SAF. Which makes Android TV less plausible for frontends, since SAF is not supported on Android TV. Therefore not only file picker is missing, file.uri also is not supported.

To avoid wasting time, anticipations and efforts of everyone. I unfortunately declare that Android TV will not be supported by Dai.

No problem. Thanks for trying!

Matt

On Mar 13, 2023, at 6:35 PM, TapiocaFox @.***> wrote:

To avoid wasting time, anticipations and efforts of everyone. I unfortunately declare that Android TV will not be supported by Dai.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

Peccato veramente che non sia compatibile con google tv , qualcuno può  consigliarmi un'app simile ?


[Feature Request] external libraries support.

I've recently encountered a problem with bundled openvdb relying on deprecated tbb headers. Any chance for allowing building against external libs.
Suggested libs to "externalize" :

[x] openvdb
[ ] opensubdiv
[ ] opencolorio
[ ] expat
[ ] yamlcpp

Header only libraries:

[ ] eigen
[ ] nohlman-json
[ ] spdlog

I've concocted an example for openvdb, woks for luxcorerender_v2.5 against openvdg:9.0.0
Resolves #572

The build failed, apparently only for Windows but really for all platforms. I think the reason is that an external OpenVDB is not available here.
My opinion is that this could be accepted, but I would suggest to reverse the logic, so that if we do nothing, i.e. no additional symbol is defined, the build is done with the bundled OpenVDB. If someone has a separate OpenVDB, they can define the symbol to have it used.
Of course we can only support the bundled version if something does not work as expected.


Adding Openshift Template to contrib.

This template will be helpful for those who want to host Clair on Openshift.

Nice work! I think this would be a good addition to the contrib directory.
However, there is a lot that could be reused between the Helm chart and this. It's a burden to have to maintain Kubernetes manifests in two different places.
I suspect we could leverage helm template in order to generate both a vanilla and OpenShift deployment from one set of maintained templates.

Hi @jzelinskie, thanks for the feedback.
Helm charts are not as per OpenShift template standards where you handle everything using a single template file. In OpenShift, engineers just import/save template using one template only.
OpenShift has upstream version of Kubernetes objects such as DeploymentConfig and route. So, it won’t be possible to use OpenShift features (such as SSL termination) using standard Kubernetes objects in OpenShift.
I tried to use helm templates from contrib. But, it is quite complicated than this template.
My suggestion is to keep them separated.

Sorry for not making this clear: my suggestion was not that the OpenShift template be deployed as a Helm Chart, but rather that there is a build system for the Clair open source project that produces 2 artifacts: the OpenShift template and the Helm Chart. The point of doing so is to reduce the burden to maintain two sets of the very similar things. The Helm Chart has already had issues with not getting its config updated.


Manually list files in Node package.json to avoid MSBuild environment limits

This should fix #6141. Unfortunately, it means that the directory list in package.json has to be kept up to date manually, but not many changes should be required.

LGTM.


Fixed resource viewer image paths to use new lowerCamelCase

Resolves #850

This change is

Tom needed to change the name because web view menus are currently such that we're validating their namespace against their extension name. So web views must have the same name as the extension name now. I don't remember exactly why we went with lowerCamelCase, but Matt and I plan to discuss soon and figure out something we want to do about all this. There are many naming conventions in many places, and it's very awkward right now.


Optimization possible when validating deserialization

https://github.com/1c3t3a/rust-socketio/blob/cb107ba6770fabb109dce173b74ab36ebe039045/socketio/src/socket.rs#L105
Deserializing into a serde_json::Value just for the sake of validation can be optimized by deserializing into something like serde::IgnoredAny because its deserialization does not hold any data or allocations.
Since serde is not yet included as a dependency, the question is if it should be imported just to be able to access its IgnoredAny type or alternatively the type could be copy-pasted into its own module so serde doesn't need to be imported but a bunch of boilerplate code would be added.
I'd be happy to PR the optimization, am just not sure which option is preferred.

Actually, serde is already a transitive dependency at the very least because of rust_engineio so it should be fine to add it as a direct dependency.


[Enhancement] (nereids)implement showWaringErrorsCommand in nereids

showWaringErrors command is supported in legacy planner but not in nereids(new doris fe planner). you need implement the following showWaringErrors command in nereids:
unsupportedshowWaringErrorsStatement
SHOW (WARNINGS | ERRORS) limitClause?

@LiBinfeng-01 @starocean999 I will pick this up


Create Integration tests for API version conversion

Goal
Introduce KUTTL tests to verify the conversion webhooks work.
Technical Details
In #494, #531, and #569, we introduce webhooks to convert CRDs from v1alpha1 to v1alpha2.
We should create KUTTL tests that install the CRD in version v1alpha1 and assert on version v1alpha2.
This shall be done for:

[ ] KeptnApp
[ ] KeptnAppVersion
[ ] KeptnEvaluationProvider
[ ] KeptnWorkloadInstance

@thisthat I would like to work on this.

Hey @shardulsrivastava, thanks for volunteering. I see that a PR was already provided to fix this issue: https://github.com/keptn/lifecycle-toolkit/pull/581
You might want to provide your review and comments on it :)


Support for additional config options

AWS CLI seems to support other config options next to profiles. For example:
    [preview]
    cloudfront=true

(currently needed for http://docs.aws.amazon.com/cli/latest/reference/cloudfront/index.html)
I am opening this issue to discuss options for implementing this. I currently see two options: either a awscli::preview resource type, or maybe better: a general awscli::configsetting type. The latter might also be used to implement the current awscli::profile.
Any thoughts?

I like the awscli::config idea. Are you able to submit a PR?


xAPI repository versioning and change process

The xAPI repository versioning and change process is unclear. This has fallen out of issue: #145
What I think the issue is:

Recipes are developed in a kind of 'ad-hoc' way. I think this is to be expected, but has led to a situation with recipes in 3 states: 1. Those that are really early stages where Cetis has made a 'it might look like this' 2. Those that we know what the data/TSV will look like and are currently being worked on, for example attendance. Which is being worked on ready to test with the LRW 3. Those that are live, for example VLE recipes. I don't think it is clear what stage recipes are at other than they are labelled as draft if they are in stage 1 or 2. It also means there are tickets suggesting recipes that haven't been drafted up and are in a limbo: do we wait for the ticket creator to supply a draft or data, or should we make a stab in the dark?

As a knock on effect versioning and change process is unclear: What is the criteria to decide on a version and when have we have reached version 1.0 if the profile? I am not sure we are not know what the criteria is for these are.  I think this due to the ad-hoc way of writing recipes and using them live as and when they are needed. Tightening up the process might help.

Each recipe itself has a version independent of the profile version. Both versionings are independent of the UDD version. I think the criteria for versioning and change process to the recipes also need to be clear.

Suggestions:

Pruning of the repository: Remove stale branches, remove a branch after a merge.

Specifying the criteria for versioning on both recipes and the profile. Make versioning clear in documentation

Set release schedule for major releases (start of academic year/semester?) then institutions would have warning of new plugins or changes to required data as well as giving us a timeframe for rigours checking of the recipes.

A better way of labelling where a recipe is at in its lifecycle and a way of following this through with labels in the issue tracker?

Thoughts? Discuss Monday?

From Monday Call: Create 'release packages'. Anything that is in this package gets this label.
We have a master branch and development branch and then use development branches for feature development.
We have frozen version branches.
We skip numbers and go for 1.0 summer release.
Next task: Go through and figure out what is 1.0 developmental branch (vle, student app, attendence)

Repository now has master and 1.0 development branch. All other features that are not in scope for 1.0 are in their own feature development branches; tickets related to these features have been tagged with the branch name.


addPost() and getPost()

Why?

Because I see you're rewriting the entire system and I don't like where this is going. No explanation what it does, no docs. You can just make a fork without modding the original if you want. But I see no need to refactor it the way you are doing it.

@Blaxus I'm not leaving docs because my english is pretty bad. I'm rewriting the system in the right way: specs and S.O.L.I.D principles. Tests should explain what I'm doing.
What's the problem?

@pleiadi666 The problem is I'm not following S.O.L.I.D principles. I'm following KISS.
Here is my perspective. My Project, My Rules; Your project, Your rules.
You can make a S.O.L.I.D version if you want. So just make your own repository. I'm 100% sure there will be plenty of people interested in your version. But that doesn't mean I can't have my KISS version.
If your code does not follow the projects guidelines of my project. I will not merge your code.  I should have made that clear earlier.

OMG!  You are not follow KISS at all!

I don't care. My Project, My Rules. Make your own project.


Manually Running Enrichment

I'm running release 0.3.0 of the connector.
Manually running an enrichment on an indicator will create a new incident each time you run it, causing multiple incidents with the exact same details.

What version of OpenCTI are you running? I have never seen this. Incidents' uniqueness are based on the incident name and timestamp of last sighting. Are you absolutely sure that your incident is not caused by a new alert, modifying the "last seen" property of the sighting? If so, would you mind trying another OpenCTI version? That project moves fast and breaks a lot of things.

I'm going to close this due to lack of activity, but by all means feel free to re-open. If so, please help me investigating the issue by providing some details about your alerts and your environment.


search log for first successful redeem

[x] Search log for first redeem attempt if gas underpriced
[x] Optimize eth_getLogs rpc calls with smaller block range
[x] Add separate function for auto-redeem and successful-redeem

resolved suggestions and ready for review

Thanks @yahgwai, pushed a commit to fix the recommendations


SRV records and resolving server names for delegated servers

Summarized: To me it looks like the specs for server delegation is wrong to use the Host:  as http header instead of using the delegated hostname as retrieved by the SRV records. I would suggest to use the 'correct' host name, in other words Host:
If I am not mistaken this is what the specs for Resolving server names says when using SRV dns records, lets assume we want to delegate example.org to matrix.example.com.
Where example.org is running at <IP_ADDRESS> and matrix.example.com is at <IP_ADDRESS>
Lookup the SRV record _matrix._tcp.example.org. The SRV record might contain the value 0 0 443 matrix.example.com.
To me now there weird stuff happens: It will make an http request to the IP of matrix.example.com <IP_ADDRESS> with as Host header: example.org eg:
GET /_matrix/federation/v1/version HTTP/1.1
Host: example.org

However there might be a real possibility that <IP_ADDRESS> is not running example.org at all, and even worse (or better) it might not have the corresponding certificate for example.org because of security reasons it only has a certificate for matrix.example.com, actually I would assume that to be very normal and hopefully even a best practice.
Other srv records like for example _caldavs._tcp. and _submission._tcp or _xmpp-server._tcp al will use the certificate of the 'resolved' hostname. So the me it looks like the matrix specifications are doing something completely opposite to what to me seems normal.
I am aware there is the option to use https://<hostname>/.well-known/matrix/server however that option might not always be available, for instance if you don't or don't want to control the url / site running at the main domain.

DNS records are not secure, so an attacker could point SRV _matrix._tcp.example.org to evilhax0r.com.  By requiring that the certificate in this case matches example.org we ensure that the target server has been authorized (or at least make it harder for an attacker to spoof).
This has been discussed previously (see, e.g. https://github.com/matrix-org/matrix-doc/pull/1708/files#diff-8d4fae5db100d485c237cab1206908daR170-R191 )
Also to note, we are doing the same thing as at least XMPP.  From https://wiki.xmpp.org/web/Securing_XMPP,

Let's say you run an XMPP service for example.net (jids of user@example.net), you will need to order a certificate for with a subject or alt-name of example.net (not server.example.net) from your preferred cert provider.


monitoring models during training

I added a couple of line to monitor the convergence of the model during training:
logging_data = np.array([loss_tracker['generator'],loss_tracker['discriminator'],loss_tracker['convergence_measure']])
            logging_data = logging_data.T
            np.savetxt("convergence_measure.txt", logging_data, fmt='%.15e', header="            generator         discriminator   convergence_measure", comments='')

and I see what I'd more or less expect in the generator and discriminator columns, but the convergence_measure is always all zeros.
I see that you're appending zeros to the convergence_measure in the loss tracker in lines 158-160:
            loss_tracker['generator'].append(G_loss_)
            loss_tracker['discriminator'].append(D_loss_)
            loss_tracker['convergence_measure'].append(0)

Why is that? Is there a (better) way to access this info?

Nice! Looks like I forgot to actually add the convergence measure to the tracker and instead was adding zeroes for some reason... I think it should be fixed in https://github.com/artcg/BEGAN/commit/9cfa9980e7620897a398a58eb94e719ac0eb8eaa (can't test now since I am at work)

Thanks, that seemed to work just fine.
What would you recommend as a good way to print out some sample images every epoch?  Some combination of what you have in the if demo block and the if not args.train block seems about like what i'm after, but I want to make sure i'm not stepping the models through data for the sake of printing pictures that it otherwise needs to train on.  I'm unfamiliar with TF that the sess.run makes me nervous about pasting things around...

Good to hear! I don't think you should worry too much about the computation of running an extra batch of images to save for performance checking -- would be negligible compared to training time


Add RESOLUTION, BANDWIDTH, FRAME-RATE to HLS master playlist

Describe the feature
the HLS spec allows for the RESOLUTION attribute in the EXT-X-STREAM-INF as an option.
Eg. #EXT-X-STREAM-INF:BANDWIDTH=2246797,CODECS="avc1.428028,mp4a.40.2",RESOLUTION=1920x1080
My parsers for HLS use this as an easy way to get information, including dimensions from a stream vs probing frames directly with RTMP. Even though this is optional in rfc8216,  I rarely see it omitted by software that produce HLS via a transport conversion. You already have to get the codec information as a requirement..
I am not a go developer, however I can take a crack at it and submit a PR but any guidance would be helpful.

as an addendum. it seems that you are setting an arbitrary static value for BANDWIDTH = 200000bps
here which is more than likely not true of the actual calculated value of the bitrate of the stream.
Which is not what the RFC states as the intent for BANDWIDTH.
BANDWIDTH

      The value is a decimal-integer of bits per second.  It represents
      the peak segment bit rate of the Variant Stream.

      If all the Media Segments in a Variant Stream have already been
      created, the BANDWIDTH value MUST be the largest sum of peak
      segment bit rates that is produced by any playable combination of
      Renditions.  (For a Variant Stream with a single Media Playlist,
      this is just the peak segment bit rate of that Media Playlist.)
      An inaccurate value can cause playback stalls or prevent clients
      from playing the variant.

      If the Master Playlist is to be made available before all Media
      Segments in the presentation have been encoded, the BANDWIDTH
      value SHOULD be the BANDWIDTH value of a representative period of
      similar content, encoded using the same settings.

This is not a dig at you and the contributors, it just seems the hls implementation is not fully baked?

@scottf-tvw both the RESOLUTION and the BANDWIDTH attributes are two good enhancements that can be developed on.
Regarding the bandwidth attribute, developing it was impossible since a month ago, since bandwidth metrics were not available. Now bandwidth metrics are available for each path (and can be read with metrics or APIs), therefore implementing bandwidth shouldn't be much difficult.

RESOLUTION, FRAME-RATE and BANDWIDTH attributes are now filled correctly.


How to reproduce the performance result

Could you please add some guide on how to reproduce the performance result?
For example, how to reproduce the result on the MSRA dataset?
Thanks.

 Download the pretrained chinese bert and convert it to PyTorch version.

 Preprocess the MSRA dataset

l  Split sentences to avoid too much truncation. Especially in the  test phase, truncation will harm the scores.
l  Turn chunk level label to bert_token level label, for example:
n  希望工程/o -> 希/O 望/O工/O程/O
n  北京市/ns -> 北/B-NS京/I-NS市/I-NS
l  You can refer to ‘preprocess_msra.py’

 Just follow the ‘task_config.yaml’.

发件人<EMAIL_ADDRESS>发送时间: 2019年3月23日 17:17
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: [ericput/bert-ner] How to reproduce the performance result (#1)
Could you please add some guide on how to reproduce the performance result?
For example, how to reproduce the result on the MSRA dataset?
Thanks.
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ericput/bert-ner/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJy2y3BibuLOwweqf5KM_I2N-vKtR2wsks5vZfE6gaJpZM4cEz04.

I implemented a new version using BERT+CRF, If you think my version is good, give it a star please. @lxy444

I implemented a new version using BERT+CRF, If you think my version is good, give it a star please. @lxy444

OK, thanks.

Download the pretrained chinese bert and convert it to PyTorch version. 2. Preprocess the MSRA dataset l Split sentences to avoid too much truncation. Especially in the test phase, truncation will harm the scores. l Turn chunk level label to bert_token level label, for example: n 希望工程/o -> 希/O 望/O工/O程/O n 北京市/ns -> 北/B-NS京/I-NS市/I-NS l You can refer to ‘preprocess_msra.py’ 3. Just follow the ‘task_config.yaml’. 发件人<EMAIL_ADDRESS>发送时间: 2019年3月23日 17:17 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: [ericput/bert-ner] How to reproduce the performance result (#1) Could you please add some guide on how to reproduce the performance result? For example, how to reproduce the result on the MSRA dataset? Thanks. ― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#1>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJy2y3BibuLOwweqf5KM_I2N-vKtR2wsks5vZfE6gaJpZM4cEz04.

Thanks, I follow your instruction and after finished training, I got a prediction result file named "test.predict". I guess it should be the predicted label of the test data.
However, I don't see any evaluation metric performance, even in the training stage, there are not any accuracy output. How could I get the performance result?


error when trying to connect to the emulator: value: ""Error: getaddrinfo ENOTFOUND westeurope.api.cognitive.microsoft.com""

I run my bot locally. from the VS Code:
npm run start
I got:
restify listening to http://[::]:3980
Get the Emulator: https://aka.ms/botframework-emulator
To talk to your bot, open your '.bot' file in the Emulator
ApplicationInsights:CorrelationIdManager [
Error: getaddrinfo ENOTFOUND dc.services.visualstudio.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dc.services.visualstudio.com'
}
]
turnContext.activity.from.name  User
root
turnContext.activity.from.name  User
continue
ApplicationInsights:Sender [
'Ingestion endpoint could not be reached 5 consecutive times. There may be resulting telemetry loss. Most recent error:',
Error: getaddrinfo ENOTFOUND dc.services.visualstudio.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dc.services.visualstudio.com'
}
]
ApplicationInsights:Sender [
'Ingestion endpoint could not be reached 10 consecutive times. There may be resulting telemetry loss. Most recent error:',
Error: getaddrinfo ENOTFOUND dc.services.visualstudio.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:64:26) {
errno: 'ENOTFOUND',
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'dc.services.visualstudio.com'
}
]
Then I opened the Bot Emulator and send a "hallo" message to the bot. I got:
500: value: ""Error: getaddrinfo ENOTFOUND westeurope.api.cognitive.microsoft.com""
Bot config looks the following:
"name": "PLRS Bot",
"description": "",
"services": [
{
"type": "endpoint",
"appId": "xxx",
"appPassword": "xxx",
"endpoint": "http://localhost:3980/api/messages",
"id": "d703f7d0-dd38-11ea-a105-0b5bf03d00f0",
"name": "My Bot"
}
],
"padlock": "",
"version": "2.0",
"path": "mypath\My Bot.bot",
"overrides": null

@irinapskov, thank you for opening this issue. The issue you are describing appears to be unrelated to the emulator, and more likely a network issue on your end, as evidenced in errors attempting to resolve endpoint 'dc.services.visualstudio.com', which is outside of our domain of support.
If you have any product behavior, how-to, or general understanding questions, please use StackOverflow: https://stackoverflow.com/search?q=bot+framework


[IA-3394] [IA-3431] Add balanced persistent disk to compute + Galaxy modals

Description
Add balanced persistent disk to the compute modal and Galaxy modal select menu.
Note - Cromwell appears to not have this same selection.
Solution
Update the machines.js regionToPrices dict so pricing is available.
Add balanced disk to the pdTypes object.
Include balanced disk to the select menu for compute and Galaxy Modals.
Nice-to-have included fix - select menu will now automatically pop up or down based on available space. Previously, it was down, so users had to scroll to see all options with the addition of another disk type.
Testing
Manual testing only.
Selected the balanced persistent disk in all 3 offerings.
Viewed the updated cost on the UI after selecting balanced disk.
Created Jupyter, Galaxy, and Rstudio apps using balanced disk.
Reconnected to the balanced disk after deleting an env.

I still have to make a fix - when deleting an environment, the message "You will still incur charges for your persistent disk at a rate of unknown per month"

Appears this is a bug prior to my changes. Created a bug ticket since it will take a little more digging than initially expected.

reminder don't merge until leo release happens


Flutter/Dart coverage parser

Author the user story for this feature
As a user, I want to import data from my Flutter/Dart projects so I can analyze metrics using metrics web app.
Is your feature request related to a problem? Please describe.
Integrate Flutter/Dart projects with coverage.
Describe the solution you'd like
Add Flutter/Dart coverage parser that can be used with all ci_integrations.
Add the ability to choose coverage parser for the ci_integration tool (istanbul - codecov).
Additional context
Import code coverage from supported CI servers

Closed in favor https://github.com/platform-platform/monorepo/issues/729


Fixes #9557 The sample code for the ASP.NET Core SignalR does not work due to a path issue.

This addresses the issue #9557 that I was working on with @scottaddie.
Unfortunately, I experienced severe GitHub workflow issues, and the pull request was closed.

@scottaddie, all set!
I am experiencing some strange behavior if I do dotnet run vs F5, but I believe that it is a separate issue. I think it has something to do with referencing minified files that get built somewhere else.

Assuming you agree that is either user error, or at least a separate issue, I'm good to merge.

@dmorrison42 I'm not seeing that behavior when I run dotnet run. I suspect your ASPNETCORE_ENVIRONMENT variable is set to something other than Development. Because of that, the _Layout.cshtml file is attempting to load the minified files, which likely don't exist in your project.

@dmorrison42 Thank you for your patience and help with fixing this issue. Your changes will go live within the next 24 hours.


Load file from phone storage?

When I am trying load Html file from phone storage I got "Web page not available".
My Code:
String targetPath = "file:///storage/sdcard0/DcLms/Conjunction/index.html";
AdvancedWebView webView = (AdvancedWebView) findViewById(R.id.webView);
webView.loadUrl(targetPath);
Help me come out from this..!

Please make sure that your app has the required permissions for opening files on the external storage. If using the Android 6.0+ permissions API, make sure that the permissions are not only in AndroidManifest.xml but that they also have been granted when running the app.

Make sure that the external storage is actually available before trying to access a file on it:
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
    // ...
}

Replace the fully hard-coded path
String targetPath = "file:///storage/sdcard0/DcLms/Conjunction/index.html";

with the dynamically generated path
String targetPath = "file://" + Environment.getExternalStorageDirectory() + "/DcLms/Conjunction/index.html";

If you still cannot load the page, try printing your targetPath and check with a file manager on your device if that path is really correct. Apart from that, try loading a normal website from the internet and see if that works correctly, just to exclude any potential problems with the setup of the library.

Does that help?

I have executed same path using Android WebView,  it's working.
On Mar 1, 2017 8:37 PM, "Marco"<EMAIL_ADDRESS>wrote:

Please make sure that your app has the required permissions for
opening files on the external storage. If using the Android 6.0+
permissions API, make sure that the permissions are not only in
AndroidManifest.xml but that they also have been granted when running
the app.
2.
Make sure that the external storage is actually available before
trying to access a file on it:
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
// ...
}

Replace the fully hard-coded path
String targetPath = "file:///storage/sdcard0/DcLms/Conjunction/index.html";
with the dynamically generated path
String targetPath = "file://" + Environment.getExternalStorageDirectory() + "/DcLms/Conjunction/index.html";

If you still cannot load the page, try printing your targetPath and
check with a file manager on your device if that path is really correct.
Apart from that, try loading a normal website from the internet and see if
that works correctly, just to exclude any potential problems with the setup
of the library.
Does that help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/delight-im/Android-AdvancedWebView/issues/115#issuecomment-283365271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGRyRbN63KBt2JCw04-cXZ1GNLv7kT0Qks5rhYmQgaJpZM4MOK0D
.

That means if you replace AdvancedWebView with plain WebView, loading the file works flawlessly?
If so, try adding the following method call before loading any file into AdvancedWebView:
webView.getSettings().setAllowFileAccess(true);

I used plan WebView.  But not this
"webView.getSettings().setAllowFileAccess(true);".

Now I am not in office, I will text you tomorrow.

Thanks for your support.
On Mar 1, 2017 8:50 PM, "Marco"<EMAIL_ADDRESS>wrote:

That means if you replace AdvancedWebView with plain WebView, loading the
file works flawlessly?
If so, try adding the following method call before loading any file
into AdvancedWebView:
webView.getSettings().setAllowFileAccess(true);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/delight-im/Android-AdvancedWebView/issues/115#issuecomment-283369311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGRyRTrKrZ0w6NyoBtzrS3AK41cCItHGks5rhYypgaJpZM4MOK0D
.

Yeah, that extra line is only required for this library. Looking forward to your response.

Closing due to inactivity

I am trying to show file from local storage initially it was showing permissions denied but after adding "webView.getSettings().setAllowFileAccess(true);".  it shows blank webpage on webview. Please guide me.

@swapnilghadge2390 Can’t you place the file inside your assets folder and load from there as shown in the README? Apart from that, verify that your storage is actually mounted and readable. What does the path that getAbsolutePath returns look like?

Hi @ocram Thanks for reply. Sorry, i was trying to open .pdf file stored in local storage in webview, later i came to know we cant open .pdf file from local storage in webview, it should be uploaded somewhere on server. So we can use google doc to open it.


add show param to Viewer

Description
anyone mind if we add a show argument to the Viewer to pass to Window?  (to allow napari.Viewer(show=False)).  I actually just had a case where I wished it was there (wanted to add layers and stuff but didn't actually want the gui up yet).  I'm not adding a show method to Viewer in this PR, so to show later would be viewer.window.show()
Type of change

[x] New feature (non-breaking change which adds functionality)

How has this been tested?

[x] example: all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality

I like and need this too @tlambert03 ! Thank you for bringing up. Just a question: Can we come up with something like viewer.show()? it might be helpful for future direction with possible multiple viewers/windows i believe.

we could certainly add a method to Viewer that just called the self.window.show() method.  I don't see anything wrong with that (unless we want to be super protective of methods on Viewer)

unless we want to be super protective of methods on Viewer

We do! But this one makes sense to me, and it matches expectations from existing packages in the ecosystem, eg Figure.show in matplotlib.

I like this too! As you mentioned, being able to set up the viewer before showing it is useful. I also agree that it would be nice to have a Viewer.show() method.

it's all set to go if someone wants to approve it! :) (failing test is unrelated)

This is great, as is the viewer.show command. My only question is having added show to Viewer should we also add show to all our view_* commands as they have all the other Viewer args? If so maybe we should make an issue for it (could be a good first issue for someone new)

Fine by me... if this is the first PR that breaks that relationship between view_* and Viewer args, perhaps it would be nice to fix just on principle (though I do wonder just how long those signatures will eventually get!)  But not super high priority (IMO), and would be fine to sit as a good first issue...

(though I do wonder just how long those signatures will eventually get!)

Yeah that is a concern of mine, we might need to rethink this in light of other discussions like in #900, but for now it is the only one that breaks consistency. Also fine if you want to quickly get it done @tlambert03


0.0.1

Because we want to publish on pypi, we need to release (tag) a version ASAP.
@stegben @taweihuang Please provide the changelog of the current master, note that this changelog is for the users of this package, not developers.
For example,
New

implement LinUCB ( #10 )
implement UCB1 ( #10 )
implement EXP3 ( #10 )
implement EXP4P ( #10 )
implement LinThompSamp ( #10 )
provide unit test for each bandit algorithm  ( #10 )
simulation on fake data ( #10 )

I will update this list after your response.

Since it's the first version, maybe we only need one section 'New' to describe the functionality of this package?
more news:

implement EXP4P
implement LinThompson
provide simulation on fake data

New

implement LinUCB ( #10 )

implement UCB1 ( #10 )

implement EXP3 ( #10 )

implement EXP4P ( #10 )

implement LinThompSamp ( #10 )

provide unit test for each bandit algorithm  ( #10 )

simulation on fake data ( #10 )

I don't think LinThompSamp is an algorithm.
Why do we have this name?

The full name is Thompson Sampling for Contextual Bandits with Linear Payoffs.

released and published on pypi, though the dependency is not correctly set XD


feat(entities): enable updateEntities to delete

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/elf/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
It's impossible to conditionally delete an entity during the update
Discussion: https://github.com/ngneat/elf/discussions/279
What is the new behavior?
Returning DELETE_ENTITY from the updater or as the updater will remove that entity
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
This is WIP draft PR to discuss main points while changing the basic updateEntities mutation. The rest of update family will be changes after we agree on the main points.
The decisions for now:

use the word delete (not remove) because there is already public API mutation called delete
consider existing delete mutation as a primitive operation - meaning update will use it for removing rather than opposite or moving the shared remove functionality to some utility function
allow 1 extra JS Object copy in case if some entities should be removed during the update (considering the JS Object copy to be a "cheap" operation)
allow to pass DELETE_ENTITY as an argument too (not only as a result of a callback) (in that case the result will be equal to called delete directly and that will be cheaper, so it's the question first if such API flexibility is needed?) (if this will remain, with a simple comparison of the argument the call can be redirected to the delete and then it will have the same performance characteristic as the primitive operation)

Hi @NetanelBasal , this is a starting point to discuss the implementation of the DELETE_ENTITY feature, for you to check out the main updater and share your opinion, to agree on 1 function first and then I plan to change the rest accordingly.
For now I ran only the unit tests of the updateEntities mutation.

I elaborate a little bit on the API question. Basically if we want to allow
updateEntities(1, DELETE_ENTITY) === deleteEntities(1)

Meaning to have 2 ways to do exactly the same.
If YES then the API will be more flexible and kind of deductible (I guess a person would think - "if I can return DELETE_ENTITY from the callback then I can just pass it as an argument")
If NO then then API will be more minimalistic and helping to write the most expressive code, which is good in general, so I'm leaning to rather not allow that, because deleteEntities(1) is definitely more expressive than updateEntities(1, DELETE_ENTITY) :)

@zubko, thanks for the PR. Looking at it again, the semantics don't seem right.  Do you feel the same?

I'm thinking about a super power function, something like this:
mutateEntities(ids, entity => {
  if(condition) {
    return addEntities()
  }

  else {
    return updateEntities(3)
  }

  else {
    return removeEntities()
  }
})

Yeah, I agree, update word in general has the meaning that something would be kept. So then the deletion can be a bit of a surprise. And the update operation becomes not that primitive operation any more.
The idea of a new powerhouse function for these special needs is really neat :)
May I suggest the word edit? Because mutate word is already so much connected to changing something "in place". And edit can mean cutting and inserting in addition to changing :)
For example then it can be like:
    store.update(
      editEntities([1, 2], (todo, {remove, update}) =>
        todo.completed ? remove() : update({ ...todo, completed: true })
      ))
    );

... small problem - delete is a reserved word 😭 .. so remove then :)
The 2nd argument here are "actions" - what is possible to do with this entity. Maybe also some checks, like has. So if someone wants they can make their own upsert from that. (Or it can replace upsert eventually).
The question will be how to insert, somehow an ID should be passed as well then. Of course everything can become a function and then it all will be some kind of action:
    store.update(
      editEntities([1, 2], ({has, getId, insert, update}) =>
        has() ? update({completed: true}) : insert({ ...createTodo(getId()), completed: true})
      ))
    );

We can decide on the name later. If I understand you correctly, you want to create new functions such as update, insert, etc. Is there any reason not to use the mutation we already have?

Ok, I was in a mode of thinking to batch those edits together. Like if it would be called for an array of entities then to keep internally 3 data structures for update / remove / insert and then apply it together.
Considering that the existing mutations return the function which mutateEntities can use to run the request change your suggestion makes sense, if it's OK to copy the entities object & ids array for each entity edit, which should be alright for most cases.
And it's simpler. Maybe batch mutation can be added later if someone needs it.

We can still batch them using:
store.update(resultsOfMutateEntity)

I believe, the batching you mean is in terms of triggering the observers only once at the end of the whole operation, right?
The batching I mean is not to have to do the Object copy (like { ...prevEntities, [updatedId]: updatedEntity } ) for every update inside one mutation call. Although this is not a big deal.

Yes, this is a premature optimization for now.

Closing in favor of https://github.com/ngneat/elf/pull/285


Migrate backend to Go / Gin-Gonic (long-term)

Pretty self-explanatory, retain the same functionality but improve the processing time and reduce memory usage.
Should reduce running costs when site traffic increases.

Closed with #53


feat(masthead): add analytics trigger to megamenu

Related Ticket(s)
#4006
Description
This adds an id to top-level megamenu links for analytics purposes. Current implementation is Hotjar. Note, testing this feature will not work with adblockers enabled in the browser.
Changelog
New

megamenu top-level link ID
Hotjar trigger event added to megamenu top level links

Changed

update megamenu mock data to latest

Thank you for your quick change @kennylam! I know it's hard (esp. with React) and don't want to block this development upon my thoughts here, but I think it's better if we can avoid baking in the analytics feature here. Wondering if we can introduce onSelectMenuItem prop to <Masthead> so we can let our user call hj() with letting our user translate data-autoid to the ID analytics wants.

Thanks for the feedback @asudoh! Yes, we spoke separating this logic from the Masthead. This would be the ideal solution, but the tricky part is that the adopters in this case are not using the autoid as the identifier. But still I think you're right, let me chew on this and see if there's a better way to implement. Plus, you just reminded me that I left out the same triggers for MastheadLeftNav.

Hey @asudoh ! thank you for the thoughts, when @annawen1 and I were discussing this, we didn't want to have specific hotjar methods baked into here. But instead, create a generic dispatch event that they can create an event listener for. This way, this implementation can be used for other purposes other than hotjar.


Maintenance mode  (feature request)

Hi!.
At some point, maintenance mode is a must-have anyway.
I'd like to kickstart a brainstorm on the topic of how this functionality could be implemented.
My first idea is:

add a WordPress plugin that adds a custom settings field for maintenance mode, as boolean.
next app should query this custom settings field from WP (what would be the most efficient way to the query?)
if the setting is true then show a pre-rendered custom maintenance page

Constructive ideas are appreciated!

A concrete solution found in this article

hey @zr87 i wonder if it's worth pinging https://github.com/wp-graphql/wp-graphql to see if it's something queryable or that could be added


[Feature Request]: visual mode highlights selection matches

Configuration
require('illuminate').configure({
    delay = 150,
    providers = { 'regex' },
    under_cursor = false,
})

I only use the regex provider.
Description
In visual mode, vim-illuminate continues to highlight the word under the cursor. This doesn't make a lot of sense for visual mode, when the user may want to see partial word matches, e.g. where a prefix exists in a string that vim considers an entire word ("xxxyyy" where you want to find all instances of "xxx", for a contrived example). I've read #81 and #141 and, rather than disable the functionality in visual mode, I'd like it to be improved.

Value statement
This feature is a nicety that people who work with data, such as csv, text files, and JSON, may appreciate. I have often wanted this when I wanted to check if a long, human-unreadable string which contained multiple words had matches with other long and unreadable strings in the visible parts of a file.
Precedent
I do not and have never used VSCode other than experimentation, but it allows for highlighting all visually selected matches (see GIF). One Neovim plugin that I know of, aaron-p1/match-visual.nvim, provides similar functionality but, there is no way to turn off vim-illuminate in visual mode, so they conflict. Also, that plugin is fairly new, not popular as of now, and always highlights the match under cursor, effectively overriding the Visual highlight (vim-illuminate allows us to stop this with under_cursor = false, which I have in my config).

I'm not clear on what you are looking for. For your example, are you saying if you highlight the prefix xxx in the text xxxyyy, you want all other instances of xxx to be highlighted?

Yes. Whatever highlighted in visual mode should be highlighted elsewhere in the buffer, with a means to set how many characters must be highlighted before it starts I think.

That's out of scope for this plugin.


various things

I haven't tested this yet, it may make things worse... :)

I've barely even compiled it


CMS form data is not cleared from local storage after form is submitted

PHP Version
8.2
Shopware Version
<IP_ADDRESS>
Expected behaviour
When the CMS contact form is filled out and submitted, I expect that the local storage that preserves the entered information is cleared and not shown to me again when I reload the page.
Actual behaviour
Currently, when I enter information into the contact form and submit, the form data is not cleared from local storage. If I navigate to the contact form page again (or re-open the contact form modal, if its embedded in one), the data that I previously entered and that was successfully submitted is still there.
How to reproduce

Go to CMS contact form page / open CMS contact form modal
Enter all required information and click on the "submit" button
Navigate away from the page
Navigate to the form page / modal again
The submitted content is still there.

I believe the issue might have been introduced here, when support for the form-preserver plugin was added to the CMS contact form: https://github.com/shopware/shopware/commit/aaa738d7fb8e260f35388dbf2b2c54c90dc4eef3#diff-9ed3eaf8c4406035ef8cfe06470d5153e89e6e7c0b76b9f5c7337bce6361ee74R5
The form preserver plugin binds itself to the submit event of the underlying form:
https://github.com/shopware/shopware/blob/66e20695afc4e6fd7c48ac587e0acc81f9d04486/src/Storefront/Resources/app/storefront/src/plugin/forms/form-preserver.plugin.js#L232
However, the CMS form does an event.preventDefault() before it submits the data through AJAX:
https://github.com/shopware/shopware/blob/66e20695afc4e6fd7c48ac587e0acc81f9d04486/src/Storefront/Resources/app/storefront/src/plugin/forms/form-cms-handler.plugin.js#L62
My assumption is that when the form is submitted, the form-preserver plugin never hears about it and thus never clears the localstorage cache.

Maybe we can introduce an event, that other JS plugins can emit and the preserver plugin is listening to. so custom submit-like stuff could also be handled.

I think I might've found a way where we don't need a custom event: we can probably just use the native reset event on forms.
The AJAX form-cms-handler.plugin.js could trigger a form reset (this.el.reset()) after submission, which even makes some sense semantically... the form is submitted via AJAX, and then the form itself is reset.
The form-preserver.plugin.js can then just clear the local storage on both submit and reset (which kind-of makes sense in any case - if a form is reset, we probably don't want to keep the information in local storage, anyway).
This way, we'd keep both plugins nicely uncoupled - what do you think?

I am not the JS pro, but sounds reasonable for me :grin:
if you like, you can put that into a PR and let's see what our frontend guys think about that :slightly_smiling_face:

fixed with #3753


Lightning Pool Problem

Hello, I am new to this and may have screwed up. I  put in an ask offer for BTC in the lightning pull.  later, I was having problems opening lightning terminal, and I uninstalled it and reinstalled it.  Now, I can no longer see the BTC I deposited to the lightning pool.  Does this mean it is lost forever?

Hello @konaboy123, you can perform an account recovery using the grpc interface. More info here

Closing the issue assuming that the account recovery fixed the issue for you.
Feel free to reopen if that's not the case, @konaboy123.

Sorry for the late response.  I was traveling.  Yeah, I read the directions and you might as well have sent my hieroglyphics. I don't understand any command line stuff.  Do I just copy and paste those commands into the terminal?  I am running an umbrella, and access it via my Mac.  I can get to the terminal, but literally have no idea what the directions are trying to get me to do... so sorry for my ignorance.

Can you try following the steps described in this comment please? https://github.com/lightninglabs/lightning-terminal/issues/372#issuecomment-1136042794

@konaboy123 were you able to resolve the issue with the directions linked to above?

Same thing happened to me but thanks to Blackhathacker111 who helped me message him on telegram his telegram username is https://t.me/Blackhathacker111

Closing due to inactivity.


Add more documentation about event subscriptions.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Do not show NonNilCheck offenses as corrected when they have not been

When running rubocop -a, I had some offense from NonNilCheck show up as corrected when the source had not been changed. I have modified this cop to run corrections when the source has not been changed.

:+1:


[2023.7] Allow generic inference in standalone usage of WithCache type

WHY are these changes introduced?
When the WithCache type is used in a standalone fashion, the inferred return type of actionFn is lost and the result becomes unknown.
In a codebase I contribute to, we use createWithCache to create a generic withCache function that is passed to several other downstream functions. withCache in those functions is typed with WithCache from @shopify/hydrogen.
When withCache() is called downstream, the inferred return type of the actionFn() is lost and the result of withCache() becomes unknown.
I noticed this issue when upgrading from 2023.4.0 and found the breaking change in 808b8c47281a61fe1179477d799995a47e989fd7 when CreateWithCacheReturn was broken out into its own type in packages/hydrogen/src/with-cache.ts:40.  In 2023.4.0, the createWithCache_unstable function return type was defined inline with the function rather than being broken out and allowed the inference to work.
WHAT is this pull request doing?
The change in this PR allows the inference of the actionFn() return type to propagate through to the result of withCache().
HOW to test your changes?

Checklist

[x] I've read the Contributing Guidelines
[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)

Hey @wizardlyhel

The CLA is going through my company's processing stage at the moment and we will get that requirement resolved once available. Sorry for the delay.
The changeset has been generated and pushed here.

Closed - Replace by https://github.com/Shopify/hydrogen/pull/1363


How to pause program execution?

⭐ Proposed change
How do you pause the program execution? I'm looking for something similar to sleep(1000).
🤔 Rationale
I found a previous issue that mentions pausing the execution using 🍩⏲💈 but this does not seem to work for me even in the most basic tests:
🏁 🍇
  🍩⏲💈 1000000  💭 Wait one second
🍉

When I run emojicodec test.emojic I get:
test.emojic:3:1: 🚨 error: Unexpected token BlockEnd.
🍉⬆

test.emojic:3:1: 🚨 error: Unexpected end of program.
🍉⬆

This is just a class method call:
🏁 🍇
  ⏲🐇💈 1000000  ❗💭 Wait one second
🍉

See https://www.emojicode.org/docs/packages/s/1f9f5.html#s.class_1f9f5.type.23f2-s.vt_1f522 and https://www.emojicode.org/docs/reference/classes-valuetypes.html#methods


When using AsyncLLM engine, llm.get_tokenizer is not found

line 31, in build_vllm_logits_processor
regular_tokens = build_regular_tokens_list(tokenizer)
AttributeError: 'AsyncLLMEngine' object has no attribute 'get_tokenizer'
Instead of passing the entire LLM object, I would suggest just passing the tokenizer. This ensures compatibility with the variants of the vllm engine.
So:
build_vllm_logits_processor(tokenizer, parser)

Thanks for the report! Indeed build_vllm_logits_processor() expects a vllm.LLM as the parameter. In the async usecase, how would you pass the tokenizer?

vllm has a function get_tokenizer(). It's used in vllm in api_server.py

Hi @jpeig,
Have you been successfully to use AsyncLLMEngine with lm-format-enforcer? I have modifed code from fastchat and function "build_vllm_logits_processor", but get a weird result.
The model worker do generation continuously, and cannnot return anything. Also there are no any error messages.
Sample output:
INFO 12-05 11:51:12 llm_engine.py:624] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.1%, CPU KV cache usage: 0.0%
INFO 12-05 11:51:18 llm_engine.py:624] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 1.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.1%, CPU KV cache usage: 0.0%
INFO 12-05 11:51:23 llm_engine.py:624] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 1.3 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.1%, CPU KV cache usage: 0.0%
Here is my full code

Yes - got it to work. Just pass the tokenizer to the following modified function:
def build_vllm_logits_processor(tokenizer, character_level_parser: CharacterLevelParser, analyze: bool=False) -> VLLMLogitsProcessor:
    """Build the logits processor function that llama.cpp will use to filter the tokens generated by the model. The result
    can be passed in the logits_processor list that is sent to the call or generate() method of llama.cpp models."""
    regular_tokens = build_regular_tokens_list(tokenizer)
    token_enforcer = TokenEnforcer(regular_tokens, character_level_parser, tokenizer.decode, tokenizer.eos_token_id)
    return VLLMLogitsProcessor(token_enforcer, analyze)

To get the tokenizer in your code:
from vllm.transformers_utils.tokenizer import get_tokenizer
from vllm.engine.arg_utils import AsyncEngineArgs
from vllm.engine.async_llm_engine import AsyncLLMEngine

engine_args = AsyncEngineArgs.from_cli_args(args)
engine = AsyncLLMEngine.from_engine_args(engine_args)
engine_model_config = asyncio.run(engine.get_model_config())

tokenizer = get_tokenizer(
    engine_model_config.tokenizer,
    tokenizer_mode=engine_model_config.tokenizer_mode,
    trust_remote_code=engine_model_config.trust_remote_code)

I modified the interface to accept either the LLM or the tokenizer, so you won't need a custom build_vllm_logits_processor anymore.
Regarding dual GPU - I can't reproduce it on my side, can you put a breakpoint inside VLLMLogitsProcessor.__call__() and check if it even gets called in that case?

Sure, the following test is based on lm-format-enforcer==0.7.2
Breakpoint inside VLLMLogitsProcessor.call()
It actually breaks inside VLLMLogitsProcessor.call()

Dual GPU problem - dual case
Initialization
INFO 12-07 09:57:29 llm_engine.py:72] Initializing an LLM engine with config: model='/home/ccoe/ooba/text-generation-webui-1127/models/TheBloke_Mistral-7B-Instruct-v0.1-AWQ/', tokenizer='/home/ccoe/ooba/text-generation-webui-1127/models/TheBloke_Mistral-7B-Instruct-v0.1-AWQ/', tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.float16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=2, quantization=awq, seed=0)
Request
INFO 12-07 09:58:52 async_llm_engine.py:370] Received request 9423bc0ceec34735a2889ddc60800684: prompt: "[INST] Please give me information about Michael Jordan.
Output

Dual GPU problem - single case
Initialization
INFO 12-07 10:02:01 llm_engine.py:72] Initializing an LLM engine with config: model='/home/ccoe/ooba/text-generation-webui-1127/models/TheBloke_Mistral-7B-Instruct-v0.1-AWQ/', tokenizer='/home/ccoe/ooba/text-generation-webui-1127/models/TheBloke_Mistral-7B-Instruct-v0.1-AWQ/', tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.float16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=1, quantization=awq, seed=0)
Request
INFO 12-07 10:02:16 async_llm_engine.py:370] Received request 990e6c7b83ad46c8bf413426d39885e3: prompt: "[INST] Please give me information about Michael Jordan.
Output

This is probably due to the SamplingParams object being serialized/deserialized between process communications (via Ray, presumably), and the logits processor, being a stateful function, does not get correctly serialize it.
In order to solve it, we would need to be able to pass "logits processor instructions" in the network request of VLLM server.
I proposed something similar to huggingface-inference-server in https://github.com/huggingface/text-generation-inference/pull/1274, but did not get a response from the team yet so I didn't proceed with it.
If vLLM would be interested in adopting a similar solution, it would cause the LMFE to also work with server / multi GPU deployments.

Any progress on this? or any workarounds to make it work?

v0.9.4 was just released which should address this issue. Can you please try?

This should have been resolved in v0.9.4, please reopen if the issue persists.


Add try catch block around GetIdentityId during sync.

Handle exception leading to issue #406

Thanks for the pull request. This was released in version <IP_ADDRESS> of AWSSDK.CogntioSync


lstm training core dumped for INR symbol

@Shreeshrii   - Attempt to create training file with INR symbol ₹ - core dumped
Changed the eng.training_text $ to ₹. Then  using gentrain.sh shell created the lstm files for arial font.
You can see the missing properties for inr ₹ symbol. - error1.png
Then using pbtune tried to fine tune and failed. - error2.png
But when I give iterations 1 instead of 400 then it goes through. - pbtunewithsingle iteration.png
Attached the gentrain and pbtune shell dvripts and also the eng.taining_text file.

atttachment.zip

Training with tesstrain.sh is not supported here. Use the python scripts provided in this repo.
Apply the PR https://github.com/tesseract-ocr/tesstrain/pull/230 which has a script to run training for engINR also. See the attached log files from the finetuning run.
engINR.log1.txt
engINR.log.txt
engINR_0.110_287_1900.traineddata.zip


Rank sources

Allow the user to specify in their profile not only their ranks but also where it comes from, since there are huge gaps between KGS, EGF, AGA, Japan, etc ranks.

The problem you point out is definitely valid: even KGS / OGS ranks are pretty different. But I'm not sure I want to embrace the complexity of representing different rank sources... I like the simplicity of just claiming one rank, even if it involves a healthy serving of subjectivity.

Yes, I agree that claiming several can be quite complex, may be worth it, may be not. I also like the simplicity of having a single primary rank.
But, I think that at the very least the user should be allowd to state what is the source of the rank that they claim (  on ), since it would really help to ajust your expectations to the game and the comments.

I think the complexity arises when you think in terms of behavior. Right now your rank appears along your nickname in the comments. If the have 5+ ranks, what should appear? a mean of those? Should we let the user specify a "primary" rank? (but then, if you think one is your "correct" rank, why list all the others?)

Yeah, my concerns are exactly what @sphaso delineated. The problem @Ellyster points out is definitely a real one, and he's a good example as someone whose KGS rank is very different from his rank in Japan, etc. I just can't shake the feeling that it's not worth the extra information and complexity. There's so much simplicity gained in just saying, "What rank do you want to claim? What do you think of yourself as?"
Because, really, there's not too much staked on ranks on GoKibitz except a general idea of how seriously to take your advice. :smile: Which is important! And I do wonder sometimes how we'll handle the inevitable future scenario of someone trying to claim a dan rank who has no business doing so.


VMAuth's EmbeddedIngress should have a host parameter

Currently EmbeddedIngress does not allow specifying an ingress's host. Host will be added only if TlsHosts is defined (and source code proves that - https://github.com/VictoriaMetrics/operator/blob/87fe8c123363fa83024800a6168436637a151633/controllers/factory/vmauth.go#L408).
In our environment it is not possible to use https for vmauth's ingress and http is the only option, so it'll be great to have an ability to specify ingress host.

Included into v0.26.0 release


machine_benchmark does not work

It's expected fio benchmark will be skipped when set machine_benchmark to false. However it keeps running task "TASK [machine_benchmark : Benchmark randread iops of deploy_dir disk with fio command]".

Sorry, we don't provide way to disable fio test now. We've removed machine_benchmark in master branch.

I think you need to update documents at https://github.com/pingcap/docs/blob/master/op-guide/ansible-deployment.md#description-of-other-variables

Thanks. We've updated English docs.


Have pelican client write out debug file into a known location

When debugging pelican failures, multiple individuals have commented they stop using the URL-based transfers because they want the debug output.
Instead, the client should look at the .job.ad for a well-known attribute that specifies an output file to write into.  I believe (but need to check) that the URL-based transfers are done before CEDAR transfers, meaning that the debug log would be transferred out if written.

Hi Brian! Just looking into this today. I have a question, do you want me to use some sort of existing job classad to specify where the output file is written or would you like me to create a whole new job classad that would specify this location/file?

@joereuss12 - is this fixed by any of the recent PRs?  It's not associated with any yet I seem to recall it being done.

Yes, this should be done. Just wasn't sure if we wanted this to be kept open until it would work completely with condor but we did successfully implement the -l flag to specify an output file and that can also be read in through an environment variable. Do you want me to see if this works with condor before closing this issue or is it completed enough to close it now?


Updated resource type description in CLI / Maven plugin README

#69 introduced new type GLOBALIZEJS. #66 fixed some issues in XLIFF (1.2) support. Update the description in CLI / Maven plugin README

Already fixed by #71.


Include sphinx-copybutton with nextstrain-sphinx-theme

Description of proposed changes
This extension has been recently used in a few of Nextstrain's doc projects:

https://github.com/nextstrain/docs.nextstrain.org/commit/cc2e2a85c66e36591d83b34b7195b1eff18b3ce7
https://github.com/nextstrain/ncov/commit/650820252030f23267dd6ba8f5d207ff3cbf466a

Adding it to this package will make Nextstrain's doc projects more consistent going forwards.
Note: for this to work properly, this package must be used as an extension in addition to usage as a theme.
See eabffdf as an example.
Related issue(s)

Fixes #24

Testing
Tested locally, see PR preview.

@tsibley

If it's not added as an extension, does anything break? Or does the copy button ext simply not get loaded?

Nothing breaks from what I see. The extension just doesn't get loaded.

Can we set some defaults for sphinx_copybutton's settings so that, e.g., the prompt in this .. code-block:: console isn't copied?

Good idea! Done: 2ca2074b024cc0ed09eba16b8fcbf375578b0367

All of this is making me wish sphinx-copybutton used the same lexers used for highlighting, so that the prompt/continuation char stuff was specific to each code-block and automatic. As it stands, copybutton less robustly re-does at run time the same work as the highlighting does at build time!


Add self to maintainers

Hi all,
I've very much enjoyed working on Gitea and was hoping to make it official by requesting maintainership. :) Excited to see what the future holds for this project.
My merged PRs list
Cheers,
Phil

Thanks and welcome!
But I think there are two more things you should do before becoming a maintainer:

Read the CONTRIBUTING
 (😁I believe you will get it when you read the CONTRIBUTING)

👍 sounds good, wasn't sure what the cutoff was. Maybe this PR can be closed until later?

More than happy to leave it open if you'd like, and thanks for the great work you've done thus far!

Got my fourth today! https://github.com/go-gitea/gitea/pulls?q=is%3Apr+author%3Aphilip-peterson+is%3Amerged+

@philip-peterson please fix the merge conflicts. :tea:

Thank you all! Excited to join the team 😄

@techknowlogick Yes, it's philip#6132 , just sent you a message


Add missing 404 cache control headers

#1213

I'll wait to put this in. If the service is fine then maybe we don't actually need these, but it seems like we should be doing something here. maybe a shorter timeout.

#1213

I'll wait to put this in. If the service is fine then maybe we don't actually need these, but it seems like we should be doing something here. maybe a shorter timeout.

@texuf the client-side cache max-age for these are set to 5 seconds. that's a good timeout in my opinion. i think we can merge this


Example of fully functional bottom navigation bar for Android.

This is an example of implementing a working bottom navigation for Android using NS components. I haven't tried with iOS, but may be it should work.

Can you make it compatible with iOS? As of right now it crashes due to Android-specific code being executed.

Oops.. I would love to. Unfortunately I don't have a mac. Sorry. ☹

You don't need a Mac with the Playground :) just an iOS device. If you don't have one I'd be happy to help out. I think the main problem is line 14 of app.ts. If you can do two things:

Wrap that in a conditional to prevent it from running on iOS.
Show a dialog on iOS only notifying the user that it only works on Android.

I can test the app out for you on iOS.

@rdlauer Thanks a lot. I have added those lines, hope it will not crash anymore. :smiley:

It's close! The app no longer crashes, but the alert dialog does not show up. I don't think you can have any UI functionality in your app.ts. If you move that alert to the first view it should work though.

Absolutely. My bad, I didn't notice. Fixed now.

Thanks!


missing foreignSchema in schema.xml

I'm trying to import an existing pgsql database in my project but it gets a problem when running the sql:build, the error is Table "schema.yyy" contains a foreign key to nonexistent table "schema.zzz". This means that foreign-table zzz is looked up into the same schema and this is wrong.
I would expect that propel were going to look into the other schemas, but this is not happening.
I looked at the generated schema.xml and the problem is that at the <foreign-key does not have a reference to the other schema: ´`  it works when I add foreignSchema="other_schema", in this case the foreign key will be looked into other_schema.zzz
Since the DB is very big, this cannot be done manually. Can you please have a look at this issue?

Propel doesn't inspect the whole database and find the foreignTableautomatically in another schema. What if you have that same table name in different schemas? It's too ambiguous. Also this would need to happen during the build, introducing database calls with it, which is not how the build works. So you only solution is to define for each foreignKey the foreignSchema attribute.

When using reverse on a huge DB is not possible to set manually the foreignSchem and I also don't agree with you that the name would be ambiguos: if two tables have the same name but in different schemas there is no ambiguity. Have a look here: https://github.com/propelorm/Propel2/pull/1326

I agree, it not ambiguous in the database's world, but in Propel's. Propel simply can't know which table you mean in the foreignKey. Also the reverse feature is not meant to be used repeatedly, especially not if you have a big database. Sorry, but I don't see a way to make this use case solid workable, this would actually be way out of scope of an ORM.

In this case I would like to see somewhere in the documentation that the reverse feature is not adapt for big databases (what is big, btw?).
But I repeat, with the MR I linked before, it works.


Address npm dependency vulnerabilities in dashboard

PR: https://github.com/NationalSecurityAgency/skills-service/pull/758

:+1:


we need TAXONOMY "id" in the " get /stats/organisms"

now the return results is like this:
"[
{
"value": "2519",
"name": "Total"
},
{
"value": "676",
"name": "Homo sapiens"
}
]
we need the TAXONOMY "id" added in each object,like this:
[
{
"value": "2519",
"name": "Total"
"id"      :""
},
{
"value": "676",
"name": "Homo sapiens"
"id":"9606"
}
]

Close, code committed


[aes] Provide the initial key in two shares for security hardening

This PR is related the masking of the cipher core (first-order masking = two-share implementation) and contains the part of the implementation that is NOT transparent to software and DV. I thus decided to factor that out into a separate PR.
The PR contains a single commit that modifies the design such that the initial key has to be provided in two shares via two separate sets of CSRs (KEY_SHARE0 + KEY_SHARE1). The actual key used for encryption and passed to the currently unmasked cipher core is obtained by combining/XORing the two shares in hardware.
The aes_test executed on the Verilator model passes but I still need to adapt actual DV. Nevertheless I wanted to give especially software people the chance to have a look without getting lost in the actual masking PR of the cipher core.

Note that even if the cipher core itself wasn't masked, it can be beneficial to provide the key in two shares as this way the actual key is not exposed directly on the bus during configuration.

LG, would love to hear from @moidx and the security team to see how this aligns with our overall goals for hardware hardening.

I will give an update on that in today's security workgroup meeting.

Update: Also adapted the DV infrastructure. DV sees the two separate shares rather than just transparently expanding the key to two shares when writing it to the registers via TL-UL. We probably need this to test corner case where just one share is updated and stuff like that. @rasmus-madsen , it would be great if you could have a look, too.

@vogelpi I would like to hold back on this until the issue I am currently seeing is fully debugged.
to make sure this does not mask it in anyway

LGTM
but we are seeing a few issues on AES that I think we should root cause first.
so if possible delay the merge a day or two

Thanks for your feedback @rasmus-madsen . I agree, we should first fix the other issue. I am looking into it now.

Update: rebased on top of #3051, this still needs approval from a committer. Security (Chris) and DV (Rasmus) approved this PR already.

Thanks @tjaychen for approving this. Merging it finally :-)


Add highschool Leman Manhattan Preparatory School domain

School website: https://lemanmanhattan.org/

@Maxssho13 First stage of verification passed, official domain is lemanmanhattan.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Error in Blocklist

While generating a new xml file for wdac usage, the current blocked drivers list gives an error:
Merge-CIPolicy : "Incorrectly formatted document: there must be one node with ID = ID_ALLOW_ALL_1"
At line:1 char:1
+ Merge-CIPolicy -OutputFilePath .\Merged.xml -PolicyPaths .\DefaultWin ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Merge-CIPolicy], CIPolicyException
    + FullyQualifiedErrorId : Microsoft.SecureBoot.UserConfig.CIPolicyException,Microsoft.SecureBoot.UserConfig.MergeCIPolicy

Command used:
Merge-CIPolicy -OutputFilePath .\Merged.xml -PolicyPaths .\DefaultWindows_Audit.xml, .\MicrosoftDriverBlockList.xml
My Solution, remove line 714
<FileRuleRef RuleID="ID_ALLOW_ALL_1" />
and remove line 1047
<FileRuleRef RuleID="ID_ALLOW_ALL_2" />
My own analysis is that there are no references to the FileRuleRef RuleID's.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e8740b8-c1f2-4b88-3d4d-66cdbf20215f
Version Independent ID: 7986a684-b35d-06bd-be30-dfca9923cb9c
Content: Microsoft recommended driver block rules (Windows) - Windows security
Content Source: windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules.md
Product: m365-security
GitHub Login: @jgeurten
Microsoft Alias: dansimp

Need to add the following 2 lines to the policy

assigning this to @valemieux

Save to xml in temp location
convertfrom-cipolicy <path_to_xml> ./test.bin
Validate that the bin properly converted

Fixed in https://github.com/MicrosoftDocs/windows-itpro-docs/commit/12990a47d4f266f22774fa156917324c93389d04, so we can probably close this ticket

Thank you!


CODE_OF_CONDUCT and CONTRIBUTING added #8 #9

used Contributor Covenant, version 1.3.0

Hello @shalithasuranga ,
Can you make the contribution guide a bit more comprehensive by covering the other aspects?


Tiny styling fix for CHANGELOG

Coverage remained the same at 100.0% when pulling c5c84eb0c3e14eb61600a6d2acebcd280ffebcd0 on ixti:patch-1 into 539ba8f279a9af1e0d97dbb44b5be4310c890066 on GlobalNamesArchitecture:master.

Thanks!


Add elevation to peak features

Peaks have an elevation value available in OSM, we should include that in tiles for labeling and later calculating tile_kind_rank values. Example in Marin.
We should force it to be an int number, watch for string values.

Working :)


Flexible Field Handling

This library is not suitable for use in a production-ready environment. Whenever a new field appears in init_data, both validation and data parsing immediately break. I believe the library should be redesigned to handle new fields introduced by Telegram gracefully. Instead of returning objects, it should return a parsed dictionary with fields, leaving out validation (which it generally shouldn’t be responsible for).

You’re right; this library isn’t production-ready yet. I’m currently working on version 1, which brings many changes to address these issues and fix the design flaws. In the new version, the validation logic for init_data is completely separated from parsing, and validation is implemented based on Telegram’s official guidelines to ensure it always works as expected.
Regarding the poor design of the current version, I agree with you; this has been a key focus for improvement in v1. I’m planning to release it either tonight or tomorrow night.


Can not render map to invisible container

When adding map to a div element that is invisible rendering fails.

Div container with display:none
Add map to container
Change div to display:block
Map is not rendered correctly

http://leafletjs.com/reference.html#map-invalidatesize

See also http://playground-leaflet.rhcloud.com/cug/edit?html,output


Feature Request: Allow rings to be less than 1, and even negative values

I used to use a module called Token Auras, which was similar to this module. I used Token Auras to create an aura on tokens that represented their controlled space, since we play on gridless maps and it's easy to let your token overlap another's, especially with different token art sizes. Having the translucent circle of black under each token let players clear see where they could move without intersecting others, where they would have to spend difficult terrain for moving through other tokens, and etc. However, that module seems to be abandoned by its author.
I was pointed to this module which is very well done and I love the added bones of the token ring being hidden by fog of war and overlapping tiles. But, I can't set the ring to less than 1, meaning I can't use this module to clearly show a token's controlled space.
At 1, it's simply too big for this use case.

If I could set the ring to 0, or even negative numbers for tokens that are Small or Tiny for dnd5e, I could use this module. I don't know how hard that would be, I would just appreciate the feature. Right now, this is the only module that does anything remotely similar to what Token Auras did.
Also, I can't use Dynamic Token Rings, because I can't control the size of the ring, and it always ends up being this small circle under the token.

Thanks if you can add this feature!

Negative values probably wouldn't work for cones, and there would need to be a caveat that for circles negative values would only work up to the size of the token (2.49ft for a medium creature).
A radius of 0.01<1 is certainly possible, just means unlocking the input validation.

I've gone over it in a dev branch, and it seems to work OK in both circle and cone modes.
Will be available in the next release.


Error on ide-helper:generate on Laravel 5.7 with v2.5.0

When trying to generate a helper file I get the following output:
A new helper file was written to _ide_helper.php
Unexpected no document on Illuminate\Database\Eloquent\Model
Content did not change <?php

namespace Illuminate\Database\Eloquent;

use Exception;
use ArrayAccess;
use JsonSerializable;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Contracts\Support\Jsonable;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Traits\ForwardsCalls;
use Illuminate\Contracts\Routing\UrlRoutable;
use Illuminate\Contracts\Queue\QueueableEntity;
use Illuminate\Database\Eloquent\Relations\Pivot;
use Illuminate\Contracts\Queue\QueueableCollection;
use Illuminate\Database\Query\Builder as QueryBuilder;
use Illuminate\Database\ConnectionResolverInterface as Resolver;

abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable

(cut output, full output here:https://pastebin.com/M3dDzQ51)

Same as #695 and #689

I think the code from this fix has been removed:
https://github.com/barryvdh/laravel-ide-helper/issues/623

Yup. Brand new fresh L5.7 or L5.6 install, adding this package and running ide-helper:generate throws up the big red error.

Yeah i had to revert to 2.4.3

+1 on Laravel 5.7 and 2.5.0
reverting to 2.4.3 didn't help

It’s not unique to 5.7 though.
Three options:

remove the :generate command from composer.json and any other scripts (forfeiting it’s use)
roll back to older Laravel version where the docblock was removed from the Model class
use an older version of this pkg where the Model docblock was briefly ignored

https://github.com/barryvdh/laravel-ide-helper/issues/623#issuecomment-363728595 explains that this error happens because Model does not have a docblock.
Until we have a proper solution, a temporary fix is manually adding a docblock to Illuminate\Database\Eloquent\Model, like this:

/**
 * Class Model
 *
 * @package Illuminate\Database\Eloquent
 */
abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable
{

I tried to fix this with https://github.com/barryvdh/laravel-ide-helper/pull/624 but it got reverted with https://github.com/barryvdh/laravel-ide-helper/pull/626. Someone could make a Fork to make this package at least work again... I understand that you don't want Composer packages to change other packages, but there is no other way atm.

I'm on 5.6.38 . and reverted to 2.4.3 and it's working:
"barryvdh/laravel-ide-helper": "2.4.3",

I'm done with this stuff. I've created a fork.
It can be used as follows:
Add the new repository to your composer.json file:
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/iPaat/laravel-ide-helper"
    }
]

Change dependency to:
"require-dev": {
    "barryvdh/laravel-ide-helper": "dev-fixed",
}

@iPaat would you please do a pull request for your branch. I have tested it and it does appear to fix this issue.
hopefully @barryvdh can merge it in soon.

Writing something into the vendor folder should be avoided at all costs. Even if it's a comment.

It feels like not writing to vendor files makes sense, but what are actual reasons not to do it? As far as i can tell writing a docblock to a vendor file is helpful and harmless

Hold my beer:
composer update

It's a matter of principles. If you never used composer update, cool, but again, vendor folder is inmutable. This should be fixed inside the package, and avoid any modification to other packages.

@SjorsO because if you do a composer update and the file within the vendor folder changes, it would overwrite your changes.

@barryvdh pretty sure this was fixed with https://github.com/barryvdh/laravel-ide-helper/pull/624 and no recent reports => vote for closing :}


Fix test error report by passing check=True to subprocess.run

Checking if compiled model exists or not is not reliable.

Jenkins Linux s390x Build #10655 [push] Fix test error report by... started at 09:58

Jenkins Linux ppc64le Build #9702 [push] Fix test error report by... started at 10:01

Jenkins Linux amd64 Build #10644 [push] Fix test error report by... passed after 1 hr 23 min

Jenkins Linux ppc64le Build #9702 [push] Fix test error report by... passed after 1 hr 58 min


https doesnt work out of the box

I tried the mysql configuration, and exposed port 80 as 8000.
I get the message "Please use https."
It would be nice with an easier out of the box https experience.
(I have an OC instance running already using the default Fedora distro packaging so I could probably manage to set https up. I'm just trying to help the default experience of the docker-compose setup.)

this might be part of the OC instance config.
l3iggs/docker-owncloud says: "SSL (HTTPS) encryption works out-of-the-box"
-> Can you contribute the changes necessary to the docker file?

The below compose fragment seems to work for me.
You only need to export the https port (as 8443 in my case)
and use one of the ssl generation methods mentioned in the l3iggs/owncloud docs.
the cert self generation method is okay for a quick test.
owncloud:
image: l3iggs/owncloud
restart: always
ports:
- "8000:80"
- "8443:443"
links:
- mysql
environment:
VIRTUAL_HOST: myhost.mydomain,www.myhost.mydomain
START_MYSQL: 'false'
TARGET_SUBDIR: /
DO_SSL_SELF_GENERATION: true
SUBJECT: /C=SE/L=Stockholm/O=ORGANIZATION/OU=UNIT/CN=localhost
volumes:
# requires proper authorizations, see rights.sh
# https://github.com/l3iggs/docker-owncloud/wiki/Store-your-data-outside-of-the-container
- ./owncloud/volumes/data:/usr/share/webapps/owncloud/data
- ./owncloud/volumes/config:/etc/webapps/owncloud/config

Thanks! I have updated the compose scripts.


PI4 mirror connect to two HDMI screens, the second screen x11 display range is smaller than the first one

Hi all,
sorry to bother you again.
I use  meta-raspberrypi  commit e1014d41ef459af807f95cb7ff9105f077bc6daa in yocto    for  pi4 64bit on pi4 hardware version 1.4.
for my application. I connect  2  same screens liliput 15.6" ( I tested 2 advantech  screens ,same issue) at same time. the first hdmi port display works well that the x11 diplay edge is almost at the frame hardware edge , but the second hdmi port display range is a little smaller than the first one, the display is not full,there is a gap . I hope the two screens display are same as mirror.
see attached picture.

so I tested like that, if I ONLY  connect 1 screen individually. the two ports work well. the display no gap.
but at same time, I connected 2 screens . the issue happened.
I used image 2022-09-22-raspios-bullseye-arm64.img.xz  from raspberry  company to test.
there is no error, the 2 display ranges are same. but the dispalys are not mirror. the first one has menu. I tried to set mirror dispplay, but can not be successful. anyway, image   2022-09-22-raspios-bullseye-arm64.img.xz shows the two HDMI ports can work well.
the below is my /etc/X11/xorg.conf.d/10-monitor.conf . the config file is correct. I think.
any help?
thank you so much.
cat 10-monitor.conf
Section "Monitor"
Identifier "HDMI-1"
	Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

EndSection
Section "Screen"
Identifier "Screen0"
Device "HDMI-1"
Monitor "HDMI-1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080_60.00"
EndSubSection
EndSection
Section "Monitor"
Identifier "HDMI-2"
	Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

EndSection
Section "Screen"
Identifier "Screen2"
Device "HDMI-2"
Monitor "HDMI-2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080_60.00"
EndSubSection
EndSection

Hi all,
I just build a few days ago, updated  meta-raspberrypi  commit 93dadf336ce11e3ed3ba75c7638b57fad60d6fdb (HEAD -> master, origin/master, origin/HEAD)
Author: Martin Jansa<EMAIL_ADDRESS>Date:   Mon Nov 7 12:52:06 2022 +0100
the issues are same. the default x11 settings(some where  to set??)  make hdmi-2 as extension  to display not mirror. but the display is still smaller than the hdmi-1.
I added file  /etc/X11/xorg.conf.d/10-monitor.conf as upper, it changes to mirror, but the issue is still there.
any help?
the issue is  x11 setting or somewhere ???


Spawned app instance uses ruby-lsp's bundler context instead of the app's bundler context

When ruby-lsp-rails spawns the Rails instance using rails runner, it passes on the bundler context of the ruby-lsp bundle instead of the application bundle.
This leads to issues when application code references Bundler.root or BUNDLE_GEMFILE expecting to get a path to the application root, but instead gets a path to the .ruby-lsp dir.
For a minimal repro, you can try this:
rails new --minimal --edge rails_lsp_test
cd rails_lsp_test
# Access a file based on the Bundler root
echo 'File.read(Bundler.root.join("config/application.rb"))' > config/initializers/access_bundler_root.rb

Running rails s will start the application just fine, however opening the app's dir in an editor with ruby-lsp configured will lead to the ruby-lsp-rails failing to initialize the server with this error:
Ruby LSP Rails booting server
Ruby LSP Rails failed to initialize server: /Users/alex.plescan/Code/experiments/rails_lsp_test/config/initializers/access_bundler_root.rb:1:in `read': No such file or directory @ rb_sysopen - /Users/alex.plescan/Code/experiments/rails_lsp_test/.ruby-lsp/config/application.rb (Errno::ENOENT)
from /Users/alex.plescan/Code/experiments/rails_lsp_test/config/initializers/access_bundler_root.rb:1:in `<top (required)>'
...
Server dependent features will not be available

In my case, I've monkey-patched runner_client.rb to set ENV['BUNDLE_GEMFILE'] to my app's Gemfile and have verified that after that, things work fine.
If you agree this is an issue that should be addressed and I'm not doing anything silly, I can look at opening a PR implementing a proper fix.
(versions: ruby-lsp-rails 0.3.5, ruby-lsp 0.16.4)

Thank you for the bug report! This is indeed a bug, which is reported in #336. We're looking into fixing, but thank you for offering the contribution!
I'll close this issue to keep discussions centralized in the other one.